Skip to content

Typed dictionaries

Index > EC2 > Typed dictionaries

Auto-generated documentation for EC2 type annotations stubs module mypy-boto3-ec2.

AcceleratorCountRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceleratorCountRequestTypeDef

def get_value() -> AcceleratorCountRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class AcceleratorCountRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

AcceleratorCountTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceleratorCountTypeDef

def get_value() -> AcceleratorCountTypeDef:
    return {
        "Min": ...,
    }
Definition
class AcceleratorCountTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

AcceleratorTotalMemoryMiBRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceleratorTotalMemoryMiBRequestTypeDef

def get_value() -> AcceleratorTotalMemoryMiBRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class AcceleratorTotalMemoryMiBRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

AcceleratorTotalMemoryMiBTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceleratorTotalMemoryMiBTypeDef

def get_value() -> AcceleratorTotalMemoryMiBTypeDef:
    return {
        "Min": ...,
    }
Definition
class AcceleratorTotalMemoryMiBTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

AddressTransferTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AddressTransferTypeDef

def get_value() -> AddressTransferTypeDef:
    return {
        "PublicIp": ...,
    }
Definition
class AddressTransferTypeDef(TypedDict):
    PublicIp: NotRequired[str],
    AllocationId: NotRequired[str],
    TransferAccountId: NotRequired[str],
    TransferOfferExpirationTimestamp: NotRequired[datetime],
    TransferOfferAcceptedTimestamp: NotRequired[datetime],
    AddressTransferStatus: NotRequired[AddressTransferStatusType],  # (1)
  1. See AddressTransferStatusType

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

TargetConfigurationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TargetConfigurationRequestTypeDef

def get_value() -> TargetConfigurationRequestTypeDef:
    return {
        "OfferingId": ...,
    }
Definition
class TargetConfigurationRequestTypeDef(TypedDict):
    OfferingId: str,
    InstanceCount: NotRequired[int],

AcceptTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef

def get_value() -> AcceptTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class AcceptTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    TransitGatewayAttachmentId: NotRequired[str],
    SubnetIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],

AcceptTransitGatewayPeeringAttachmentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptTransitGatewayPeeringAttachmentRequestRequestTypeDef

def get_value() -> AcceptTransitGatewayPeeringAttachmentRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class AcceptTransitGatewayPeeringAttachmentRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

AcceptTransitGatewayVpcAttachmentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptTransitGatewayVpcAttachmentRequestRequestTypeDef

def get_value() -> AcceptTransitGatewayVpcAttachmentRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class AcceptTransitGatewayVpcAttachmentRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

AcceptVpcEndpointConnectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptVpcEndpointConnectionsRequestRequestTypeDef

def get_value() -> AcceptVpcEndpointConnectionsRequestRequestTypeDef:
    return {
        "ServiceId": ...,
        "VpcEndpointIds": ...,
    }
Definition
class AcceptVpcEndpointConnectionsRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    VpcEndpointIds: Sequence[str],
    DryRun: NotRequired[bool],

AcceptVpcPeeringConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptVpcPeeringConnectionRequestRequestTypeDef

def get_value() -> AcceptVpcPeeringConnectionRequestRequestTypeDef:
    return {
        "VpcPeeringConnectionId": ...,
    }
Definition
class AcceptVpcPeeringConnectionRequestRequestTypeDef(TypedDict):
    VpcPeeringConnectionId: str,
    DryRun: NotRequired[bool],

AcceptVpcPeeringConnectionRequestVpcPeeringConnectionAcceptTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptVpcPeeringConnectionRequestVpcPeeringConnectionAcceptTypeDef

def get_value() -> AcceptVpcPeeringConnectionRequestVpcPeeringConnectionAcceptTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class AcceptVpcPeeringConnectionRequestVpcPeeringConnectionAcceptTypeDef(TypedDict):
    DryRun: NotRequired[bool],

AccountAttributeValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AccountAttributeValueTypeDef

def get_value() -> AccountAttributeValueTypeDef:
    return {
        "AttributeValue": ...,
    }
Definition
class AccountAttributeValueTypeDef(TypedDict):
    AttributeValue: NotRequired[str],

ActiveInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ActiveInstanceTypeDef

def get_value() -> ActiveInstanceTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class ActiveInstanceTypeDef(TypedDict):
    InstanceId: NotRequired[str],
    InstanceType: NotRequired[str],
    SpotInstanceRequestId: NotRequired[str],
    InstanceHealth: NotRequired[InstanceHealthStatusType],  # (1)
  1. See InstanceHealthStatusType

AddIpamOperatingRegionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AddIpamOperatingRegionTypeDef

def get_value() -> AddIpamOperatingRegionTypeDef:
    return {
        "RegionName": ...,
    }
Definition
class AddIpamOperatingRegionTypeDef(TypedDict):
    RegionName: NotRequired[str],

AddPrefixListEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AddPrefixListEntryTypeDef

def get_value() -> AddPrefixListEntryTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class AddPrefixListEntryTypeDef(TypedDict):
    Cidr: str,
    Description: NotRequired[str],

AddedPrincipalTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AddedPrincipalTypeDef

def get_value() -> AddedPrincipalTypeDef:
    return {
        "PrincipalType": ...,
    }
Definition
class AddedPrincipalTypeDef(TypedDict):
    PrincipalType: NotRequired[PrincipalTypeType],  # (1)
    Principal: NotRequired[str],
    ServicePermissionId: NotRequired[str],
    ServiceId: NotRequired[str],
  1. See PrincipalTypeType

AnalysisComponentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AnalysisComponentTypeDef

def get_value() -> AnalysisComponentTypeDef:
    return {
        "Id": ...,
    }
Definition
class AnalysisComponentTypeDef(TypedDict):
    Id: NotRequired[str],
    Arn: NotRequired[str],
    Name: NotRequired[str],

PtrUpdateStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PtrUpdateStatusTypeDef

def get_value() -> PtrUpdateStatusTypeDef:
    return {
        "Value": ...,
    }
Definition
class PtrUpdateStatusTypeDef(TypedDict):
    Value: NotRequired[str],
    Status: NotRequired[str],
    Reason: NotRequired[str],

TagTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

AdvertiseByoipCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AdvertiseByoipCidrRequestRequestTypeDef

def get_value() -> AdvertiseByoipCidrRequestRequestTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class AdvertiseByoipCidrRequestRequestTypeDef(TypedDict):
    Cidr: str,
    DryRun: NotRequired[bool],

ByoipCidrTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ByoipCidrTypeDef

def get_value() -> ByoipCidrTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class ByoipCidrTypeDef(TypedDict):
    Cidr: NotRequired[str],
    Description: NotRequired[str],
    StatusMessage: NotRequired[str],
    State: NotRequired[ByoipCidrStateType],  # (1)
  1. See ByoipCidrStateType

AllocateIpamPoolCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AllocateIpamPoolCidrRequestRequestTypeDef

def get_value() -> AllocateIpamPoolCidrRequestRequestTypeDef:
    return {
        "IpamPoolId": ...,
    }
Definition
class AllocateIpamPoolCidrRequestRequestTypeDef(TypedDict):
    IpamPoolId: str,
    DryRun: NotRequired[bool],
    Cidr: NotRequired[str],
    NetmaskLength: NotRequired[int],
    ClientToken: NotRequired[str],
    Description: NotRequired[str],
    PreviewNextCidr: NotRequired[bool],
    DisallowedCidrs: NotRequired[Sequence[str]],

IpamPoolAllocationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamPoolAllocationTypeDef

def get_value() -> IpamPoolAllocationTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class IpamPoolAllocationTypeDef(TypedDict):
    Cidr: NotRequired[str],
    IpamPoolAllocationId: NotRequired[str],
    Description: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[IpamPoolAllocationResourceTypeType],  # (1)
    ResourceRegion: NotRequired[str],
    ResourceOwner: NotRequired[str],
  1. See IpamPoolAllocationResourceTypeType

AlternatePathHintTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AlternatePathHintTypeDef

def get_value() -> AlternatePathHintTypeDef:
    return {
        "ComponentId": ...,
    }
Definition
class AlternatePathHintTypeDef(TypedDict):
    ComponentId: NotRequired[str],
    ComponentArn: NotRequired[str],

PortRangeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PortRangeTypeDef

def get_value() -> PortRangeTypeDef:
    return {
        "From": ...,
    }
Definition
class PortRangeTypeDef(TypedDict):
    From: NotRequired[int],
    To: NotRequired[int],

AnalysisLoadBalancerListenerTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AnalysisLoadBalancerListenerTypeDef

def get_value() -> AnalysisLoadBalancerListenerTypeDef:
    return {
        "LoadBalancerPort": ...,
    }
Definition
class AnalysisLoadBalancerListenerTypeDef(TypedDict):
    LoadBalancerPort: NotRequired[int],
    InstancePort: NotRequired[int],

AnalysisRouteTableRouteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AnalysisRouteTableRouteTypeDef

def get_value() -> AnalysisRouteTableRouteTypeDef:
    return {
        "DestinationCidr": ...,
    }
Definition
class AnalysisRouteTableRouteTypeDef(TypedDict):
    DestinationCidr: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    EgressOnlyInternetGatewayId: NotRequired[str],
    GatewayId: NotRequired[str],
    InstanceId: NotRequired[str],
    NatGatewayId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    Origin: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    VpcPeeringConnectionId: NotRequired[str],
    State: NotRequired[str],

ApplySecurityGroupsToClientVpnTargetNetworkRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ApplySecurityGroupsToClientVpnTargetNetworkRequestRequestTypeDef

def get_value() -> ApplySecurityGroupsToClientVpnTargetNetworkRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "VpcId": ...,
        "SecurityGroupIds": ...,
    }
Definition
class ApplySecurityGroupsToClientVpnTargetNetworkRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    VpcId: str,
    SecurityGroupIds: Sequence[str],
    DryRun: NotRequired[bool],

AssignIpv6AddressesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssignIpv6AddressesRequestRequestTypeDef

def get_value() -> AssignIpv6AddressesRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class AssignIpv6AddressesRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[Sequence[str]],
    Ipv6PrefixCount: NotRequired[int],
    Ipv6Prefixes: NotRequired[Sequence[str]],

AssignPrivateIpAddressesRequestNetworkInterfaceAssignPrivateIpAddressesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssignPrivateIpAddressesRequestNetworkInterfaceAssignPrivateIpAddressesTypeDef

def get_value() -> AssignPrivateIpAddressesRequestNetworkInterfaceAssignPrivateIpAddressesTypeDef:
    return {
        "AllowReassignment": ...,
    }
Definition
class AssignPrivateIpAddressesRequestNetworkInterfaceAssignPrivateIpAddressesTypeDef(TypedDict):
    AllowReassignment: NotRequired[bool],
    PrivateIpAddresses: NotRequired[Sequence[str]],
    SecondaryPrivateIpAddressCount: NotRequired[int],
    Ipv4Prefixes: NotRequired[Sequence[str]],
    Ipv4PrefixCount: NotRequired[int],

AssignPrivateIpAddressesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssignPrivateIpAddressesRequestRequestTypeDef

def get_value() -> AssignPrivateIpAddressesRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class AssignPrivateIpAddressesRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    AllowReassignment: NotRequired[bool],
    PrivateIpAddresses: NotRequired[Sequence[str]],
    SecondaryPrivateIpAddressCount: NotRequired[int],
    Ipv4Prefixes: NotRequired[Sequence[str]],
    Ipv4PrefixCount: NotRequired[int],

AssignedPrivateIpAddressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssignedPrivateIpAddressTypeDef

def get_value() -> AssignedPrivateIpAddressTypeDef:
    return {
        "PrivateIpAddress": ...,
    }
Definition
class AssignedPrivateIpAddressTypeDef(TypedDict):
    PrivateIpAddress: NotRequired[str],

Ipv4PrefixSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv4PrefixSpecificationTypeDef

def get_value() -> Ipv4PrefixSpecificationTypeDef:
    return {
        "Ipv4Prefix": ...,
    }
Definition
class Ipv4PrefixSpecificationTypeDef(TypedDict):
    Ipv4Prefix: NotRequired[str],

AssignPrivateNatGatewayAddressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssignPrivateNatGatewayAddressRequestRequestTypeDef

def get_value() -> AssignPrivateNatGatewayAddressRequestRequestTypeDef:
    return {
        "NatGatewayId": ...,
    }
Definition
class AssignPrivateNatGatewayAddressRequestRequestTypeDef(TypedDict):
    NatGatewayId: str,
    PrivateIpAddresses: NotRequired[Sequence[str]],
    PrivateIpAddressCount: NotRequired[int],
    DryRun: NotRequired[bool],

NatGatewayAddressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NatGatewayAddressTypeDef

def get_value() -> NatGatewayAddressTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class NatGatewayAddressTypeDef(TypedDict):
    AllocationId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    PrivateIp: NotRequired[str],
    PublicIp: NotRequired[str],
    AssociationId: NotRequired[str],
    IsPrimary: NotRequired[bool],
    FailureMessage: NotRequired[str],
    Status: NotRequired[NatGatewayAddressStatusType],  # (1)
  1. See NatGatewayAddressStatusType

AssociateAddressRequestClassicAddressAssociateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateAddressRequestClassicAddressAssociateTypeDef

def get_value() -> AssociateAddressRequestClassicAddressAssociateTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class AssociateAddressRequestClassicAddressAssociateTypeDef(TypedDict):
    AllocationId: NotRequired[str],
    InstanceId: NotRequired[str],
    AllowReassociation: NotRequired[bool],
    DryRun: NotRequired[bool],
    NetworkInterfaceId: NotRequired[str],
    PrivateIpAddress: NotRequired[str],

AssociateAddressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateAddressRequestRequestTypeDef

def get_value() -> AssociateAddressRequestRequestTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class AssociateAddressRequestRequestTypeDef(TypedDict):
    AllocationId: NotRequired[str],
    InstanceId: NotRequired[str],
    PublicIp: NotRequired[str],
    AllowReassociation: NotRequired[bool],
    DryRun: NotRequired[bool],
    NetworkInterfaceId: NotRequired[str],
    PrivateIpAddress: NotRequired[str],

AssociateAddressRequestVpcAddressAssociateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateAddressRequestVpcAddressAssociateTypeDef

def get_value() -> AssociateAddressRequestVpcAddressAssociateTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class AssociateAddressRequestVpcAddressAssociateTypeDef(TypedDict):
    InstanceId: NotRequired[str],
    PublicIp: NotRequired[str],
    AllowReassociation: NotRequired[bool],
    DryRun: NotRequired[bool],
    NetworkInterfaceId: NotRequired[str],
    PrivateIpAddress: NotRequired[str],

AssociateClientVpnTargetNetworkRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateClientVpnTargetNetworkRequestRequestTypeDef

def get_value() -> AssociateClientVpnTargetNetworkRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "SubnetId": ...,
    }
Definition
class AssociateClientVpnTargetNetworkRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    SubnetId: str,
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

AssociationStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociationStatusTypeDef

def get_value() -> AssociationStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class AssociationStatusTypeDef(TypedDict):
    Code: NotRequired[AssociationStatusCodeType],  # (1)
    Message: NotRequired[str],
  1. See AssociationStatusCodeType

AssociateDhcpOptionsRequestDhcpOptionsAssociateWithVpcTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateDhcpOptionsRequestDhcpOptionsAssociateWithVpcTypeDef

def get_value() -> AssociateDhcpOptionsRequestDhcpOptionsAssociateWithVpcTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class AssociateDhcpOptionsRequestDhcpOptionsAssociateWithVpcTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],

AssociateDhcpOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateDhcpOptionsRequestRequestTypeDef

def get_value() -> AssociateDhcpOptionsRequestRequestTypeDef:
    return {
        "DhcpOptionsId": ...,
        "VpcId": ...,
    }
Definition
class AssociateDhcpOptionsRequestRequestTypeDef(TypedDict):
    DhcpOptionsId: str,
    VpcId: str,
    DryRun: NotRequired[bool],

AssociateDhcpOptionsRequestVpcAssociateDhcpOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateDhcpOptionsRequestVpcAssociateDhcpOptionsTypeDef

def get_value() -> AssociateDhcpOptionsRequestVpcAssociateDhcpOptionsTypeDef:
    return {
        "DhcpOptionsId": ...,
    }
Definition
class AssociateDhcpOptionsRequestVpcAssociateDhcpOptionsTypeDef(TypedDict):
    DhcpOptionsId: str,
    DryRun: NotRequired[bool],

AssociateEnclaveCertificateIamRoleRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateEnclaveCertificateIamRoleRequestRequestTypeDef

def get_value() -> AssociateEnclaveCertificateIamRoleRequestRequestTypeDef:
    return {
        "CertificateArn": ...,
        "RoleArn": ...,
    }
Definition
class AssociateEnclaveCertificateIamRoleRequestRequestTypeDef(TypedDict):
    CertificateArn: str,
    RoleArn: str,
    DryRun: NotRequired[bool],

IamInstanceProfileSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IamInstanceProfileSpecificationTypeDef

def get_value() -> IamInstanceProfileSpecificationTypeDef:
    return {
        "Arn": ...,
    }
Definition
class IamInstanceProfileSpecificationTypeDef(TypedDict):
    Arn: NotRequired[str],
    Name: NotRequired[str],

AssociateNatGatewayAddressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateNatGatewayAddressRequestRequestTypeDef

def get_value() -> AssociateNatGatewayAddressRequestRequestTypeDef:
    return {
        "NatGatewayId": ...,
        "AllocationIds": ...,
    }
Definition
class AssociateNatGatewayAddressRequestRequestTypeDef(TypedDict):
    NatGatewayId: str,
    AllocationIds: Sequence[str],
    PrivateIpAddresses: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],

AssociateRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateRouteTableRequestRequestTypeDef

def get_value() -> AssociateRouteTableRequestRequestTypeDef:
    return {
        "RouteTableId": ...,
    }
Definition
class AssociateRouteTableRequestRequestTypeDef(TypedDict):
    RouteTableId: str,
    DryRun: NotRequired[bool],
    SubnetId: NotRequired[str],
    GatewayId: NotRequired[str],

AssociateRouteTableRequestRouteTableAssociateWithSubnetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateRouteTableRequestRouteTableAssociateWithSubnetTypeDef

def get_value() -> AssociateRouteTableRequestRouteTableAssociateWithSubnetTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class AssociateRouteTableRequestRouteTableAssociateWithSubnetTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    SubnetId: NotRequired[str],
    GatewayId: NotRequired[str],

RouteTableAssociationStateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RouteTableAssociationStateTypeDef

def get_value() -> RouteTableAssociationStateTypeDef:
    return {
        "State": ...,
    }
Definition
class RouteTableAssociationStateTypeDef(TypedDict):
    State: NotRequired[RouteTableAssociationStateCodeType],  # (1)
    StatusMessage: NotRequired[str],
  1. See RouteTableAssociationStateCodeType

AssociateSubnetCidrBlockRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateSubnetCidrBlockRequestRequestTypeDef

def get_value() -> AssociateSubnetCidrBlockRequestRequestTypeDef:
    return {
        "Ipv6CidrBlock": ...,
        "SubnetId": ...,
    }
Definition
class AssociateSubnetCidrBlockRequestRequestTypeDef(TypedDict):
    Ipv6CidrBlock: str,
    SubnetId: str,

AssociateTransitGatewayMulticastDomainRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateTransitGatewayMulticastDomainRequestRequestTypeDef

def get_value() -> AssociateTransitGatewayMulticastDomainRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
        "TransitGatewayAttachmentId": ...,
        "SubnetIds": ...,
    }
Definition
class AssociateTransitGatewayMulticastDomainRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: str,
    TransitGatewayAttachmentId: str,
    SubnetIds: Sequence[str],
    DryRun: NotRequired[bool],

AssociateTransitGatewayPolicyTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateTransitGatewayPolicyTableRequestRequestTypeDef

def get_value() -> AssociateTransitGatewayPolicyTableRequestRequestTypeDef:
    return {
        "TransitGatewayPolicyTableId": ...,
        "TransitGatewayAttachmentId": ...,
    }
Definition
class AssociateTransitGatewayPolicyTableRequestRequestTypeDef(TypedDict):
    TransitGatewayPolicyTableId: str,
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

TransitGatewayPolicyTableAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPolicyTableAssociationTypeDef

def get_value() -> TransitGatewayPolicyTableAssociationTypeDef:
    return {
        "TransitGatewayPolicyTableId": ...,
    }
Definition
class TransitGatewayPolicyTableAssociationTypeDef(TypedDict):
    TransitGatewayPolicyTableId: NotRequired[str],
    TransitGatewayAttachmentId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    State: NotRequired[TransitGatewayAssociationStateType],  # (2)
  1. See TransitGatewayAttachmentResourceTypeType
  2. See TransitGatewayAssociationStateType

AssociateTransitGatewayRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateTransitGatewayRouteTableRequestRequestTypeDef

def get_value() -> AssociateTransitGatewayRouteTableRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
        "TransitGatewayAttachmentId": ...,
    }
Definition
class AssociateTransitGatewayRouteTableRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

TransitGatewayAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayAssociationTypeDef

def get_value() -> TransitGatewayAssociationTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class TransitGatewayAssociationTypeDef(TypedDict):
    TransitGatewayRouteTableId: NotRequired[str],
    TransitGatewayAttachmentId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    State: NotRequired[TransitGatewayAssociationStateType],  # (2)
  1. See TransitGatewayAttachmentResourceTypeType
  2. See TransitGatewayAssociationStateType

AssociateTrunkInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateTrunkInterfaceRequestRequestTypeDef

def get_value() -> AssociateTrunkInterfaceRequestRequestTypeDef:
    return {
        "BranchInterfaceId": ...,
        "TrunkInterfaceId": ...,
    }
Definition
class AssociateTrunkInterfaceRequestRequestTypeDef(TypedDict):
    BranchInterfaceId: str,
    TrunkInterfaceId: str,
    VlanId: NotRequired[int],
    GreKey: NotRequired[int],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

AssociateVpcCidrBlockRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateVpcCidrBlockRequestRequestTypeDef

def get_value() -> AssociateVpcCidrBlockRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class AssociateVpcCidrBlockRequestRequestTypeDef(TypedDict):
    VpcId: str,
    AmazonProvidedIpv6CidrBlock: NotRequired[bool],
    CidrBlock: NotRequired[str],
    Ipv6CidrBlockNetworkBorderGroup: NotRequired[str],
    Ipv6Pool: NotRequired[str],
    Ipv6CidrBlock: NotRequired[str],
    Ipv4IpamPoolId: NotRequired[str],
    Ipv4NetmaskLength: NotRequired[int],
    Ipv6IpamPoolId: NotRequired[str],
    Ipv6NetmaskLength: NotRequired[int],

AssociatedRoleTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociatedRoleTypeDef

def get_value() -> AssociatedRoleTypeDef:
    return {
        "AssociatedRoleArn": ...,
    }
Definition
class AssociatedRoleTypeDef(TypedDict):
    AssociatedRoleArn: NotRequired[str],
    CertificateS3BucketName: NotRequired[str],
    CertificateS3ObjectKey: NotRequired[str],
    EncryptionKmsKeyId: NotRequired[str],

AssociatedTargetNetworkTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociatedTargetNetworkTypeDef

def get_value() -> AssociatedTargetNetworkTypeDef:
    return {
        "NetworkId": ...,
    }
Definition
class AssociatedTargetNetworkTypeDef(TypedDict):
    NetworkId: NotRequired[str],
    NetworkType: NotRequired[AssociatedNetworkTypeType],  # (1)
  1. See AssociatedNetworkTypeType

AthenaIntegrationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AthenaIntegrationTypeDef

def get_value() -> AthenaIntegrationTypeDef:
    return {
        "IntegrationResultS3DestinationArn": ...,
        "PartitionLoadFrequency": ...,
    }
Definition
class AthenaIntegrationTypeDef(TypedDict):
    IntegrationResultS3DestinationArn: str,
    PartitionLoadFrequency: PartitionLoadFrequencyType,  # (1)
    PartitionStartDate: NotRequired[Union[datetime, str]],
    PartitionEndDate: NotRequired[Union[datetime, str]],
  1. See PartitionLoadFrequencyType

AttachClassicLinkVpcRequestInstanceAttachClassicLinkVpcTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachClassicLinkVpcRequestInstanceAttachClassicLinkVpcTypeDef

def get_value() -> AttachClassicLinkVpcRequestInstanceAttachClassicLinkVpcTypeDef:
    return {
        "Groups": ...,
        "VpcId": ...,
    }
Definition
class AttachClassicLinkVpcRequestInstanceAttachClassicLinkVpcTypeDef(TypedDict):
    Groups: Sequence[str],
    VpcId: str,
    DryRun: NotRequired[bool],

AttachClassicLinkVpcRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachClassicLinkVpcRequestRequestTypeDef

def get_value() -> AttachClassicLinkVpcRequestRequestTypeDef:
    return {
        "Groups": ...,
        "InstanceId": ...,
        "VpcId": ...,
    }
Definition
class AttachClassicLinkVpcRequestRequestTypeDef(TypedDict):
    Groups: Sequence[str],
    InstanceId: str,
    VpcId: str,
    DryRun: NotRequired[bool],

AttachClassicLinkVpcRequestVpcAttachClassicLinkInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachClassicLinkVpcRequestVpcAttachClassicLinkInstanceTypeDef

def get_value() -> AttachClassicLinkVpcRequestVpcAttachClassicLinkInstanceTypeDef:
    return {
        "Groups": ...,
        "InstanceId": ...,
    }
Definition
class AttachClassicLinkVpcRequestVpcAttachClassicLinkInstanceTypeDef(TypedDict):
    Groups: Sequence[str],
    InstanceId: str,
    DryRun: NotRequired[bool],

AttachInternetGatewayRequestInternetGatewayAttachToVpcTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachInternetGatewayRequestInternetGatewayAttachToVpcTypeDef

def get_value() -> AttachInternetGatewayRequestInternetGatewayAttachToVpcTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class AttachInternetGatewayRequestInternetGatewayAttachToVpcTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],

AttachInternetGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachInternetGatewayRequestRequestTypeDef

def get_value() -> AttachInternetGatewayRequestRequestTypeDef:
    return {
        "InternetGatewayId": ...,
        "VpcId": ...,
    }
Definition
class AttachInternetGatewayRequestRequestTypeDef(TypedDict):
    InternetGatewayId: str,
    VpcId: str,
    DryRun: NotRequired[bool],

AttachInternetGatewayRequestVpcAttachInternetGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachInternetGatewayRequestVpcAttachInternetGatewayTypeDef

def get_value() -> AttachInternetGatewayRequestVpcAttachInternetGatewayTypeDef:
    return {
        "InternetGatewayId": ...,
    }
Definition
class AttachInternetGatewayRequestVpcAttachInternetGatewayTypeDef(TypedDict):
    InternetGatewayId: str,
    DryRun: NotRequired[bool],

AttachVerifiedAccessTrustProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachVerifiedAccessTrustProviderRequestRequestTypeDef

def get_value() -> AttachVerifiedAccessTrustProviderRequestRequestTypeDef:
    return {
        "VerifiedAccessInstanceId": ...,
        "VerifiedAccessTrustProviderId": ...,
    }
Definition
class AttachVerifiedAccessTrustProviderRequestRequestTypeDef(TypedDict):
    VerifiedAccessInstanceId: str,
    VerifiedAccessTrustProviderId: str,
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

AttachVolumeRequestInstanceAttachVolumeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachVolumeRequestInstanceAttachVolumeTypeDef

def get_value() -> AttachVolumeRequestInstanceAttachVolumeTypeDef:
    return {
        "Device": ...,
        "VolumeId": ...,
    }
Definition
class AttachVolumeRequestInstanceAttachVolumeTypeDef(TypedDict):
    Device: str,
    VolumeId: str,
    DryRun: NotRequired[bool],

AttachVolumeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachVolumeRequestRequestTypeDef

def get_value() -> AttachVolumeRequestRequestTypeDef:
    return {
        "Device": ...,
        "InstanceId": ...,
        "VolumeId": ...,
    }
Definition
class AttachVolumeRequestRequestTypeDef(TypedDict):
    Device: str,
    InstanceId: str,
    VolumeId: str,
    DryRun: NotRequired[bool],

AttachVolumeRequestVolumeAttachToInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachVolumeRequestVolumeAttachToInstanceTypeDef

def get_value() -> AttachVolumeRequestVolumeAttachToInstanceTypeDef:
    return {
        "Device": ...,
        "InstanceId": ...,
    }
Definition
class AttachVolumeRequestVolumeAttachToInstanceTypeDef(TypedDict):
    Device: str,
    InstanceId: str,
    DryRun: NotRequired[bool],

AttachVpnGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachVpnGatewayRequestRequestTypeDef

def get_value() -> AttachVpnGatewayRequestRequestTypeDef:
    return {
        "VpcId": ...,
        "VpnGatewayId": ...,
    }
Definition
class AttachVpnGatewayRequestRequestTypeDef(TypedDict):
    VpcId: str,
    VpnGatewayId: str,
    DryRun: NotRequired[bool],

VpcAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcAttachmentTypeDef

def get_value() -> VpcAttachmentTypeDef:
    return {
        "State": ...,
    }
Definition
class VpcAttachmentTypeDef(TypedDict):
    State: NotRequired[AttachmentStatusType],  # (1)
    VpcId: NotRequired[str],
  1. See AttachmentStatusType

AttachmentEnaSrdUdpSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachmentEnaSrdUdpSpecificationTypeDef

def get_value() -> AttachmentEnaSrdUdpSpecificationTypeDef:
    return {
        "EnaSrdUdpEnabled": ...,
    }
Definition
class AttachmentEnaSrdUdpSpecificationTypeDef(TypedDict):
    EnaSrdUdpEnabled: NotRequired[bool],

AttributeBooleanValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttributeBooleanValueTypeDef

def get_value() -> AttributeBooleanValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class AttributeBooleanValueTypeDef(TypedDict):
    Value: NotRequired[bool],

AttributeValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttributeValueTypeDef

def get_value() -> AttributeValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class AttributeValueTypeDef(TypedDict):
    Value: NotRequired[str],

ClientVpnAuthorizationRuleStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnAuthorizationRuleStatusTypeDef

def get_value() -> ClientVpnAuthorizationRuleStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class ClientVpnAuthorizationRuleStatusTypeDef(TypedDict):
    Code: NotRequired[ClientVpnAuthorizationRuleStatusCodeType],  # (1)
    Message: NotRequired[str],
  1. See ClientVpnAuthorizationRuleStatusCodeType

AuthorizeClientVpnIngressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AuthorizeClientVpnIngressRequestRequestTypeDef

def get_value() -> AuthorizeClientVpnIngressRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "TargetNetworkCidr": ...,
    }
Definition
class AuthorizeClientVpnIngressRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    TargetNetworkCidr: str,
    AccessGroupId: NotRequired[str],
    AuthorizeAllGroups: NotRequired[bool],
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

AvailabilityZoneMessageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AvailabilityZoneMessageTypeDef

def get_value() -> AvailabilityZoneMessageTypeDef:
    return {
        "Message": ...,
    }
Definition
class AvailabilityZoneMessageTypeDef(TypedDict):
    Message: NotRequired[str],

InstanceCapacityTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceCapacityTypeDef

def get_value() -> InstanceCapacityTypeDef:
    return {
        "AvailableCapacity": ...,
    }
Definition
class InstanceCapacityTypeDef(TypedDict):
    AvailableCapacity: NotRequired[int],
    InstanceType: NotRequired[str],
    TotalCapacity: NotRequired[int],

BaselineEbsBandwidthMbpsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import BaselineEbsBandwidthMbpsRequestTypeDef

def get_value() -> BaselineEbsBandwidthMbpsRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class BaselineEbsBandwidthMbpsRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

BaselineEbsBandwidthMbpsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import BaselineEbsBandwidthMbpsTypeDef

def get_value() -> BaselineEbsBandwidthMbpsTypeDef:
    return {
        "Min": ...,
    }
Definition
class BaselineEbsBandwidthMbpsTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

BlobAttributeValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import BlobAttributeValueTypeDef

def get_value() -> BlobAttributeValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class BlobAttributeValueTypeDef(TypedDict):
    Value: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],

EbsBlockDeviceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EbsBlockDeviceTypeDef

def get_value() -> EbsBlockDeviceTypeDef:
    return {
        "DeleteOnTermination": ...,
    }
Definition
class EbsBlockDeviceTypeDef(TypedDict):
    DeleteOnTermination: NotRequired[bool],
    Iops: NotRequired[int],
    SnapshotId: NotRequired[str],
    VolumeSize: NotRequired[int],
    VolumeType: NotRequired[VolumeTypeType],  # (1)
    KmsKeyId: NotRequired[str],
    Throughput: NotRequired[int],
    OutpostArn: NotRequired[str],
    Encrypted: NotRequired[bool],
  1. See VolumeTypeType

BundleTaskErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import BundleTaskErrorTypeDef

def get_value() -> BundleTaskErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class BundleTaskErrorTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],

CancelBundleTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelBundleTaskRequestRequestTypeDef

def get_value() -> CancelBundleTaskRequestRequestTypeDef:
    return {
        "BundleId": ...,
    }
Definition
class CancelBundleTaskRequestRequestTypeDef(TypedDict):
    BundleId: str,
    DryRun: NotRequired[bool],

CancelCapacityReservationFleetErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelCapacityReservationFleetErrorTypeDef

def get_value() -> CancelCapacityReservationFleetErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class CancelCapacityReservationFleetErrorTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],

CancelCapacityReservationFleetsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelCapacityReservationFleetsRequestRequestTypeDef

def get_value() -> CancelCapacityReservationFleetsRequestRequestTypeDef:
    return {
        "CapacityReservationFleetIds": ...,
    }
Definition
class CancelCapacityReservationFleetsRequestRequestTypeDef(TypedDict):
    CapacityReservationFleetIds: Sequence[str],
    DryRun: NotRequired[bool],

CapacityReservationFleetCancellationStateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationFleetCancellationStateTypeDef

def get_value() -> CapacityReservationFleetCancellationStateTypeDef:
    return {
        "CurrentFleetState": ...,
    }
Definition
class CapacityReservationFleetCancellationStateTypeDef(TypedDict):
    CurrentFleetState: NotRequired[CapacityReservationFleetStateType],  # (1)
    PreviousFleetState: NotRequired[CapacityReservationFleetStateType],  # (1)
    CapacityReservationFleetId: NotRequired[str],
  1. See CapacityReservationFleetStateType
  2. See CapacityReservationFleetStateType

CancelCapacityReservationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelCapacityReservationRequestRequestTypeDef

def get_value() -> CancelCapacityReservationRequestRequestTypeDef:
    return {
        "CapacityReservationId": ...,
    }
Definition
class CancelCapacityReservationRequestRequestTypeDef(TypedDict):
    CapacityReservationId: str,
    DryRun: NotRequired[bool],

CancelConversionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelConversionRequestRequestTypeDef

def get_value() -> CancelConversionRequestRequestTypeDef:
    return {
        "ConversionTaskId": ...,
    }
Definition
class CancelConversionRequestRequestTypeDef(TypedDict):
    ConversionTaskId: str,
    DryRun: NotRequired[bool],
    ReasonMessage: NotRequired[str],

CancelExportTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelExportTaskRequestRequestTypeDef

def get_value() -> CancelExportTaskRequestRequestTypeDef:
    return {
        "ExportTaskId": ...,
    }
Definition
class CancelExportTaskRequestRequestTypeDef(TypedDict):
    ExportTaskId: str,

CancelImageLaunchPermissionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelImageLaunchPermissionRequestRequestTypeDef

def get_value() -> CancelImageLaunchPermissionRequestRequestTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class CancelImageLaunchPermissionRequestRequestTypeDef(TypedDict):
    ImageId: str,
    DryRun: NotRequired[bool],

CancelImportTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelImportTaskRequestRequestTypeDef

def get_value() -> CancelImportTaskRequestRequestTypeDef:
    return {
        "CancelReason": ...,
    }
Definition
class CancelImportTaskRequestRequestTypeDef(TypedDict):
    CancelReason: NotRequired[str],
    DryRun: NotRequired[bool],
    ImportTaskId: NotRequired[str],

CancelReservedInstancesListingRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelReservedInstancesListingRequestRequestTypeDef

def get_value() -> CancelReservedInstancesListingRequestRequestTypeDef:
    return {
        "ReservedInstancesListingId": ...,
    }
Definition
class CancelReservedInstancesListingRequestRequestTypeDef(TypedDict):
    ReservedInstancesListingId: str,

CancelSpotFleetRequestsErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelSpotFleetRequestsErrorTypeDef

def get_value() -> CancelSpotFleetRequestsErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class CancelSpotFleetRequestsErrorTypeDef(TypedDict):
    Code: NotRequired[CancelBatchErrorCodeType],  # (1)
    Message: NotRequired[str],
  1. See CancelBatchErrorCodeType

CancelSpotFleetRequestsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelSpotFleetRequestsRequestRequestTypeDef

def get_value() -> CancelSpotFleetRequestsRequestRequestTypeDef:
    return {
        "SpotFleetRequestIds": ...,
        "TerminateInstances": ...,
    }
Definition
class CancelSpotFleetRequestsRequestRequestTypeDef(TypedDict):
    SpotFleetRequestIds: Sequence[str],
    TerminateInstances: bool,
    DryRun: NotRequired[bool],

CancelSpotFleetRequestsSuccessItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelSpotFleetRequestsSuccessItemTypeDef

def get_value() -> CancelSpotFleetRequestsSuccessItemTypeDef:
    return {
        "CurrentSpotFleetRequestState": ...,
    }
Definition
class CancelSpotFleetRequestsSuccessItemTypeDef(TypedDict):
    CurrentSpotFleetRequestState: NotRequired[BatchStateType],  # (1)
    PreviousSpotFleetRequestState: NotRequired[BatchStateType],  # (1)
    SpotFleetRequestId: NotRequired[str],
  1. See BatchStateType
  2. See BatchStateType

CancelSpotInstanceRequestsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelSpotInstanceRequestsRequestRequestTypeDef

def get_value() -> CancelSpotInstanceRequestsRequestRequestTypeDef:
    return {
        "SpotInstanceRequestIds": ...,
    }
Definition
class CancelSpotInstanceRequestsRequestRequestTypeDef(TypedDict):
    SpotInstanceRequestIds: Sequence[str],
    DryRun: NotRequired[bool],

CancelledSpotInstanceRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelledSpotInstanceRequestTypeDef

def get_value() -> CancelledSpotInstanceRequestTypeDef:
    return {
        "SpotInstanceRequestId": ...,
    }
Definition
class CancelledSpotInstanceRequestTypeDef(TypedDict):
    SpotInstanceRequestId: NotRequired[str],
    State: NotRequired[CancelSpotInstanceRequestStateType],  # (1)
  1. See CancelSpotInstanceRequestStateType

CapacityAllocationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityAllocationTypeDef

def get_value() -> CapacityAllocationTypeDef:
    return {
        "AllocationType": ...,
    }
Definition
class CapacityAllocationTypeDef(TypedDict):
    AllocationType: NotRequired[AllocationTypeType],  # (1)
    Count: NotRequired[int],
  1. See AllocationTypeType

FleetCapacityReservationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetCapacityReservationTypeDef

def get_value() -> FleetCapacityReservationTypeDef:
    return {
        "CapacityReservationId": ...,
    }
Definition
class FleetCapacityReservationTypeDef(TypedDict):
    CapacityReservationId: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    InstancePlatform: NotRequired[CapacityReservationInstancePlatformType],  # (2)
    AvailabilityZone: NotRequired[str],
    TotalInstanceCount: NotRequired[int],
    FulfilledCapacity: NotRequired[float],
    EbsOptimized: NotRequired[bool],
    CreateDate: NotRequired[datetime],
    Weight: NotRequired[float],
    Priority: NotRequired[int],
  1. See InstanceTypeType
  2. See CapacityReservationInstancePlatformType

CapacityReservationGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationGroupTypeDef

def get_value() -> CapacityReservationGroupTypeDef:
    return {
        "GroupArn": ...,
    }
Definition
class CapacityReservationGroupTypeDef(TypedDict):
    GroupArn: NotRequired[str],
    OwnerId: NotRequired[str],

CapacityReservationOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationOptionsRequestTypeDef

def get_value() -> CapacityReservationOptionsRequestTypeDef:
    return {
        "UsageStrategy": ...,
    }
Definition
class CapacityReservationOptionsRequestTypeDef(TypedDict):
    UsageStrategy: NotRequired[FleetCapacityReservationUsageStrategyType],  # (1)
  1. See FleetCapacityReservationUsageStrategyType

CapacityReservationOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationOptionsTypeDef

def get_value() -> CapacityReservationOptionsTypeDef:
    return {
        "UsageStrategy": ...,
    }
Definition
class CapacityReservationOptionsTypeDef(TypedDict):
    UsageStrategy: NotRequired[FleetCapacityReservationUsageStrategyType],  # (1)
  1. See FleetCapacityReservationUsageStrategyType

CapacityReservationTargetResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationTargetResponseTypeDef

def get_value() -> CapacityReservationTargetResponseTypeDef:
    return {
        "CapacityReservationId": ...,
    }
Definition
class CapacityReservationTargetResponseTypeDef(TypedDict):
    CapacityReservationId: NotRequired[str],
    CapacityReservationResourceGroupArn: NotRequired[str],

CapacityReservationTargetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationTargetTypeDef

def get_value() -> CapacityReservationTargetTypeDef:
    return {
        "CapacityReservationId": ...,
    }
Definition
class CapacityReservationTargetTypeDef(TypedDict):
    CapacityReservationId: NotRequired[str],
    CapacityReservationResourceGroupArn: NotRequired[str],

CertificateAuthenticationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CertificateAuthenticationRequestTypeDef

def get_value() -> CertificateAuthenticationRequestTypeDef:
    return {
        "ClientRootCertificateChainArn": ...,
    }
Definition
class CertificateAuthenticationRequestTypeDef(TypedDict):
    ClientRootCertificateChainArn: NotRequired[str],

CertificateAuthenticationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CertificateAuthenticationTypeDef

def get_value() -> CertificateAuthenticationTypeDef:
    return {
        "ClientRootCertificateChain": ...,
    }
Definition
class CertificateAuthenticationTypeDef(TypedDict):
    ClientRootCertificateChain: NotRequired[str],

CidrAuthorizationContextTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CidrAuthorizationContextTypeDef

def get_value() -> CidrAuthorizationContextTypeDef:
    return {
        "Message": ...,
        "Signature": ...,
    }
Definition
class CidrAuthorizationContextTypeDef(TypedDict):
    Message: str,
    Signature: str,

CidrBlockTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CidrBlockTypeDef

def get_value() -> CidrBlockTypeDef:
    return {
        "CidrBlock": ...,
    }
Definition
class CidrBlockTypeDef(TypedDict):
    CidrBlock: NotRequired[str],

ClassicLinkDnsSupportTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClassicLinkDnsSupportTypeDef

def get_value() -> ClassicLinkDnsSupportTypeDef:
    return {
        "ClassicLinkDnsSupported": ...,
    }
Definition
class ClassicLinkDnsSupportTypeDef(TypedDict):
    ClassicLinkDnsSupported: NotRequired[bool],
    VpcId: NotRequired[str],

GroupIdentifierTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GroupIdentifierTypeDef

def get_value() -> GroupIdentifierTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class GroupIdentifierTypeDef(TypedDict):
    GroupName: NotRequired[str],
    GroupId: NotRequired[str],

ClassicLoadBalancerTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClassicLoadBalancerTypeDef

def get_value() -> ClassicLoadBalancerTypeDef:
    return {
        "Name": ...,
    }
Definition
class ClassicLoadBalancerTypeDef(TypedDict):
    Name: NotRequired[str],

ClientCertificateRevocationListStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientCertificateRevocationListStatusTypeDef

def get_value() -> ClientCertificateRevocationListStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class ClientCertificateRevocationListStatusTypeDef(TypedDict):
    Code: NotRequired[ClientCertificateRevocationListStatusCodeType],  # (1)
    Message: NotRequired[str],
  1. See ClientCertificateRevocationListStatusCodeType

ClientConnectOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientConnectOptionsTypeDef

def get_value() -> ClientConnectOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class ClientConnectOptionsTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    LambdaFunctionArn: NotRequired[str],

ClientVpnEndpointAttributeStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnEndpointAttributeStatusTypeDef

def get_value() -> ClientVpnEndpointAttributeStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class ClientVpnEndpointAttributeStatusTypeDef(TypedDict):
    Code: NotRequired[ClientVpnEndpointAttributeStatusCodeType],  # (1)
    Message: NotRequired[str],
  1. See ClientVpnEndpointAttributeStatusCodeType

ClientDataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientDataTypeDef

def get_value() -> ClientDataTypeDef:
    return {
        "Comment": ...,
    }
Definition
class ClientDataTypeDef(TypedDict):
    Comment: NotRequired[str],
    UploadEnd: NotRequired[Union[datetime, str]],
    UploadSize: NotRequired[float],
    UploadStart: NotRequired[Union[datetime, str]],

ClientLoginBannerOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientLoginBannerOptionsTypeDef

def get_value() -> ClientLoginBannerOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class ClientLoginBannerOptionsTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    BannerText: NotRequired[str],

ClientLoginBannerResponseOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientLoginBannerResponseOptionsTypeDef

def get_value() -> ClientLoginBannerResponseOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class ClientLoginBannerResponseOptionsTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    BannerText: NotRequired[str],

DirectoryServiceAuthenticationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DirectoryServiceAuthenticationRequestTypeDef

def get_value() -> DirectoryServiceAuthenticationRequestTypeDef:
    return {
        "DirectoryId": ...,
    }
Definition
class DirectoryServiceAuthenticationRequestTypeDef(TypedDict):
    DirectoryId: NotRequired[str],

FederatedAuthenticationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FederatedAuthenticationRequestTypeDef

def get_value() -> FederatedAuthenticationRequestTypeDef:
    return {
        "SAMLProviderArn": ...,
    }
Definition
class FederatedAuthenticationRequestTypeDef(TypedDict):
    SAMLProviderArn: NotRequired[str],
    SelfServiceSAMLProviderArn: NotRequired[str],

DirectoryServiceAuthenticationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DirectoryServiceAuthenticationTypeDef

def get_value() -> DirectoryServiceAuthenticationTypeDef:
    return {
        "DirectoryId": ...,
    }
Definition
class DirectoryServiceAuthenticationTypeDef(TypedDict):
    DirectoryId: NotRequired[str],

FederatedAuthenticationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FederatedAuthenticationTypeDef

def get_value() -> FederatedAuthenticationTypeDef:
    return {
        "SamlProviderArn": ...,
    }
Definition
class FederatedAuthenticationTypeDef(TypedDict):
    SamlProviderArn: NotRequired[str],
    SelfServiceSamlProviderArn: NotRequired[str],

ClientVpnConnectionStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnConnectionStatusTypeDef

def get_value() -> ClientVpnConnectionStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class ClientVpnConnectionStatusTypeDef(TypedDict):
    Code: NotRequired[ClientVpnConnectionStatusCodeType],  # (1)
    Message: NotRequired[str],
  1. See ClientVpnConnectionStatusCodeType

ClientVpnEndpointStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnEndpointStatusTypeDef

def get_value() -> ClientVpnEndpointStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class ClientVpnEndpointStatusTypeDef(TypedDict):
    Code: NotRequired[ClientVpnEndpointStatusCodeType],  # (1)
    Message: NotRequired[str],
  1. See ClientVpnEndpointStatusCodeType

ConnectionLogResponseOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ConnectionLogResponseOptionsTypeDef

def get_value() -> ConnectionLogResponseOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class ConnectionLogResponseOptionsTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    CloudwatchLogGroup: NotRequired[str],
    CloudwatchLogStream: NotRequired[str],

ClientVpnRouteStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnRouteStatusTypeDef

def get_value() -> ClientVpnRouteStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class ClientVpnRouteStatusTypeDef(TypedDict):
    Code: NotRequired[ClientVpnRouteStatusCodeType],  # (1)
    Message: NotRequired[str],
  1. See ClientVpnRouteStatusCodeType

CloudWatchLogOptionsSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CloudWatchLogOptionsSpecificationTypeDef

def get_value() -> CloudWatchLogOptionsSpecificationTypeDef:
    return {
        "LogEnabled": ...,
    }
Definition
class CloudWatchLogOptionsSpecificationTypeDef(TypedDict):
    LogEnabled: NotRequired[bool],
    LogGroupArn: NotRequired[str],
    LogOutputFormat: NotRequired[str],

CloudWatchLogOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CloudWatchLogOptionsTypeDef

def get_value() -> CloudWatchLogOptionsTypeDef:
    return {
        "LogEnabled": ...,
    }
Definition
class CloudWatchLogOptionsTypeDef(TypedDict):
    LogEnabled: NotRequired[bool],
    LogGroupArn: NotRequired[str],
    LogOutputFormat: NotRequired[str],

CoipAddressUsageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CoipAddressUsageTypeDef

def get_value() -> CoipAddressUsageTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class CoipAddressUsageTypeDef(TypedDict):
    AllocationId: NotRequired[str],
    AwsAccountId: NotRequired[str],
    AwsService: NotRequired[str],
    CoIp: NotRequired[str],

CoipCidrTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CoipCidrTypeDef

def get_value() -> CoipCidrTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class CoipCidrTypeDef(TypedDict):
    Cidr: NotRequired[str],
    CoipPoolId: NotRequired[str],
    LocalGatewayRouteTableId: NotRequired[str],

ConfirmProductInstanceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ConfirmProductInstanceRequestRequestTypeDef

def get_value() -> ConfirmProductInstanceRequestRequestTypeDef:
    return {
        "InstanceId": ...,
        "ProductCode": ...,
    }
Definition
class ConfirmProductInstanceRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    ProductCode: str,
    DryRun: NotRequired[bool],

ConnectionLogOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ConnectionLogOptionsTypeDef

def get_value() -> ConnectionLogOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class ConnectionLogOptionsTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    CloudwatchLogGroup: NotRequired[str],
    CloudwatchLogStream: NotRequired[str],

ConnectionNotificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ConnectionNotificationTypeDef

def get_value() -> ConnectionNotificationTypeDef:
    return {
        "ConnectionNotificationId": ...,
    }
Definition
class ConnectionNotificationTypeDef(TypedDict):
    ConnectionNotificationId: NotRequired[str],
    ServiceId: NotRequired[str],
    VpcEndpointId: NotRequired[str],
    ConnectionNotificationType: NotRequired[ConnectionNotificationTypeType],  # (1)
    ConnectionNotificationArn: NotRequired[str],
    ConnectionEvents: NotRequired[List[str]],
    ConnectionNotificationState: NotRequired[ConnectionNotificationStateType],  # (2)
  1. See ConnectionNotificationTypeType
  2. See ConnectionNotificationStateType

CopyFpgaImageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CopyFpgaImageRequestRequestTypeDef

def get_value() -> CopyFpgaImageRequestRequestTypeDef:
    return {
        "SourceFpgaImageId": ...,
        "SourceRegion": ...,
    }
Definition
class CopyFpgaImageRequestRequestTypeDef(TypedDict):
    SourceFpgaImageId: str,
    SourceRegion: str,
    DryRun: NotRequired[bool],
    Description: NotRequired[str],
    Name: NotRequired[str],
    ClientToken: NotRequired[str],

CopyImageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CopyImageRequestRequestTypeDef

def get_value() -> CopyImageRequestRequestTypeDef:
    return {
        "Name": ...,
        "SourceImageId": ...,
        "SourceRegion": ...,
    }
Definition
class CopyImageRequestRequestTypeDef(TypedDict):
    Name: str,
    SourceImageId: str,
    SourceRegion: str,
    ClientToken: NotRequired[str],
    Description: NotRequired[str],
    Encrypted: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    DestinationOutpostArn: NotRequired[str],
    DryRun: NotRequired[bool],
    CopyImageTags: NotRequired[bool],

CpuOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CpuOptionsRequestTypeDef

def get_value() -> CpuOptionsRequestTypeDef:
    return {
        "CoreCount": ...,
    }
Definition
class CpuOptionsRequestTypeDef(TypedDict):
    CoreCount: NotRequired[int],
    ThreadsPerCore: NotRequired[int],

CpuOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CpuOptionsTypeDef

def get_value() -> CpuOptionsTypeDef:
    return {
        "CoreCount": ...,
    }
Definition
class CpuOptionsTypeDef(TypedDict):
    CoreCount: NotRequired[int],
    ThreadsPerCore: NotRequired[int],

ReservationFleetInstanceSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservationFleetInstanceSpecificationTypeDef

def get_value() -> ReservationFleetInstanceSpecificationTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class ReservationFleetInstanceSpecificationTypeDef(TypedDict):
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    InstancePlatform: NotRequired[CapacityReservationInstancePlatformType],  # (2)
    Weight: NotRequired[float],
    AvailabilityZone: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    EbsOptimized: NotRequired[bool],
    Priority: NotRequired[int],
  1. See InstanceTypeType
  2. See CapacityReservationInstancePlatformType

CreateClientVpnRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateClientVpnRouteRequestRequestTypeDef

def get_value() -> CreateClientVpnRouteRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "DestinationCidrBlock": ...,
        "TargetVpcSubnetId": ...,
    }
Definition
class CreateClientVpnRouteRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    DestinationCidrBlock: str,
    TargetVpcSubnetId: str,
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

CreateCoipCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCoipCidrRequestRequestTypeDef

def get_value() -> CreateCoipCidrRequestRequestTypeDef:
    return {
        "Cidr": ...,
        "CoipPoolId": ...,
    }
Definition
class CreateCoipCidrRequestRequestTypeDef(TypedDict):
    Cidr: str,
    CoipPoolId: str,
    DryRun: NotRequired[bool],

CreateDefaultSubnetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateDefaultSubnetRequestRequestTypeDef

def get_value() -> CreateDefaultSubnetRequestRequestTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class CreateDefaultSubnetRequestRequestTypeDef(TypedDict):
    AvailabilityZone: str,
    DryRun: NotRequired[bool],
    Ipv6Native: NotRequired[bool],

CreateDefaultVpcRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateDefaultVpcRequestRequestTypeDef

def get_value() -> CreateDefaultVpcRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreateDefaultVpcRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

NewDhcpConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NewDhcpConfigurationTypeDef

def get_value() -> NewDhcpConfigurationTypeDef:
    return {
        "Key": ...,
    }
Definition
class NewDhcpConfigurationTypeDef(TypedDict):
    Key: NotRequired[str],
    Values: NotRequired[Sequence[str]],

TargetCapacitySpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TargetCapacitySpecificationRequestTypeDef

def get_value() -> TargetCapacitySpecificationRequestTypeDef:
    return {
        "TotalTargetCapacity": ...,
    }
Definition
class TargetCapacitySpecificationRequestTypeDef(TypedDict):
    TotalTargetCapacity: int,
    OnDemandTargetCapacity: NotRequired[int],
    SpotTargetCapacity: NotRequired[int],
    DefaultTargetCapacityType: NotRequired[DefaultTargetCapacityTypeType],  # (1)
    TargetCapacityUnitType: NotRequired[TargetCapacityUnitTypeType],  # (2)
  1. See DefaultTargetCapacityTypeType
  2. See TargetCapacityUnitTypeType

DestinationOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DestinationOptionsRequestTypeDef

def get_value() -> DestinationOptionsRequestTypeDef:
    return {
        "FileFormat": ...,
    }
Definition
class DestinationOptionsRequestTypeDef(TypedDict):
    FileFormat: NotRequired[DestinationFileFormatType],  # (1)
    HiveCompatiblePartitions: NotRequired[bool],
    PerHourPartition: NotRequired[bool],
  1. See DestinationFileFormatType

StorageLocationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StorageLocationTypeDef

def get_value() -> StorageLocationTypeDef:
    return {
        "Bucket": ...,
    }
Definition
class StorageLocationTypeDef(TypedDict):
    Bucket: NotRequired[str],
    Key: NotRequired[str],

InstanceEventWindowTimeRangeRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceEventWindowTimeRangeRequestTypeDef

def get_value() -> InstanceEventWindowTimeRangeRequestTypeDef:
    return {
        "StartWeekDay": ...,
    }
Definition
class InstanceEventWindowTimeRangeRequestTypeDef(TypedDict):
    StartWeekDay: NotRequired[WeekDayType],  # (1)
    StartHour: NotRequired[int],
    EndWeekDay: NotRequired[WeekDayType],  # (1)
    EndHour: NotRequired[int],
  1. See WeekDayType
  2. See WeekDayType

ExportToS3TaskSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportToS3TaskSpecificationTypeDef

def get_value() -> ExportToS3TaskSpecificationTypeDef:
    return {
        "ContainerFormat": ...,
    }
Definition
class ExportToS3TaskSpecificationTypeDef(TypedDict):
    ContainerFormat: NotRequired[ContainerFormatType],  # (1)
    DiskImageFormat: NotRequired[DiskImageFormatType],  # (2)
    S3Bucket: NotRequired[str],
    S3Prefix: NotRequired[str],
  1. See ContainerFormatType
  2. See DiskImageFormatType

RequestIpamResourceTagTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RequestIpamResourceTagTypeDef

def get_value() -> RequestIpamResourceTagTypeDef:
    return {
        "Key": ...,
    }
Definition
class RequestIpamResourceTagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

CreateLocalGatewayRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLocalGatewayRouteRequestRequestTypeDef

def get_value() -> CreateLocalGatewayRouteRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
    }
Definition
class CreateLocalGatewayRouteRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableId: str,
    DestinationCidrBlock: NotRequired[str],
    LocalGatewayVirtualInterfaceGroupId: NotRequired[str],
    DryRun: NotRequired[bool],
    NetworkInterfaceId: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],

LocalGatewayRouteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LocalGatewayRouteTypeDef

def get_value() -> LocalGatewayRouteTypeDef:
    return {
        "DestinationCidrBlock": ...,
    }
Definition
class LocalGatewayRouteTypeDef(TypedDict):
    DestinationCidrBlock: NotRequired[str],
    LocalGatewayVirtualInterfaceGroupId: NotRequired[str],
    Type: NotRequired[LocalGatewayRouteTypeType],  # (1)
    State: NotRequired[LocalGatewayRouteStateType],  # (2)
    LocalGatewayRouteTableId: NotRequired[str],
    LocalGatewayRouteTableArn: NotRequired[str],
    OwnerId: NotRequired[str],
    SubnetId: NotRequired[str],
    CoipPoolId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
  1. See LocalGatewayRouteTypeType
  2. See LocalGatewayRouteStateType

IcmpTypeCodeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IcmpTypeCodeTypeDef

def get_value() -> IcmpTypeCodeTypeDef:
    return {
        "Code": ...,
    }
Definition
class IcmpTypeCodeTypeDef(TypedDict):
    Code: NotRequired[int],
    Type: NotRequired[int],

CreateNetworkInterfacePermissionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInterfacePermissionRequestRequestTypeDef

def get_value() -> CreateNetworkInterfacePermissionRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
        "Permission": ...,
    }
Definition
class CreateNetworkInterfacePermissionRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    Permission: InterfacePermissionTypeType,  # (1)
    AwsAccountId: NotRequired[str],
    AwsService: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See InterfacePermissionTypeType

InstanceIpv6AddressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceIpv6AddressTypeDef

def get_value() -> InstanceIpv6AddressTypeDef:
    return {
        "Ipv6Address": ...,
    }
Definition
class InstanceIpv6AddressTypeDef(TypedDict):
    Ipv6Address: NotRequired[str],

Ipv4PrefixSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv4PrefixSpecificationRequestTypeDef

def get_value() -> Ipv4PrefixSpecificationRequestTypeDef:
    return {
        "Ipv4Prefix": ...,
    }
Definition
class Ipv4PrefixSpecificationRequestTypeDef(TypedDict):
    Ipv4Prefix: NotRequired[str],

Ipv6PrefixSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv6PrefixSpecificationRequestTypeDef

def get_value() -> Ipv6PrefixSpecificationRequestTypeDef:
    return {
        "Ipv6Prefix": ...,
    }
Definition
class Ipv6PrefixSpecificationRequestTypeDef(TypedDict):
    Ipv6Prefix: NotRequired[str],

PrivateIpAddressSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrivateIpAddressSpecificationTypeDef

def get_value() -> PrivateIpAddressSpecificationTypeDef:
    return {
        "Primary": ...,
    }
Definition
class PrivateIpAddressSpecificationTypeDef(TypedDict):
    Primary: NotRequired[bool],
    PrivateIpAddress: NotRequired[str],

PriceScheduleSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PriceScheduleSpecificationTypeDef

def get_value() -> PriceScheduleSpecificationTypeDef:
    return {
        "CurrencyCode": ...,
    }
Definition
class PriceScheduleSpecificationTypeDef(TypedDict):
    CurrencyCode: NotRequired[CurrencyCodeValuesType],  # (1)
    Price: NotRequired[float],
    Term: NotRequired[int],
  1. See CurrencyCodeValuesType

CreateRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateRouteRequestRequestTypeDef

def get_value() -> CreateRouteRequestRequestTypeDef:
    return {
        "RouteTableId": ...,
    }
Definition
class CreateRouteRequestRequestTypeDef(TypedDict):
    RouteTableId: str,
    DestinationCidrBlock: NotRequired[str],
    DestinationIpv6CidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    DryRun: NotRequired[bool],
    VpcEndpointId: NotRequired[str],
    EgressOnlyInternetGatewayId: NotRequired[str],
    GatewayId: NotRequired[str],
    InstanceId: NotRequired[str],
    NatGatewayId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    LocalGatewayId: NotRequired[str],
    CarrierGatewayId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    VpcPeeringConnectionId: NotRequired[str],
    CoreNetworkArn: NotRequired[str],

CreateRouteRequestRouteTableCreateRouteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateRouteRequestRouteTableCreateRouteTypeDef

def get_value() -> CreateRouteRequestRouteTableCreateRouteTypeDef:
    return {
        "DestinationCidrBlock": ...,
    }
Definition
class CreateRouteRequestRouteTableCreateRouteTypeDef(TypedDict):
    DestinationCidrBlock: NotRequired[str],
    DestinationIpv6CidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    DryRun: NotRequired[bool],
    VpcEndpointId: NotRequired[str],
    EgressOnlyInternetGatewayId: NotRequired[str],
    GatewayId: NotRequired[str],
    InstanceId: NotRequired[str],
    NatGatewayId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    LocalGatewayId: NotRequired[str],
    CarrierGatewayId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    VpcPeeringConnectionId: NotRequired[str],
    CoreNetworkArn: NotRequired[str],

InstanceSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceSpecificationTypeDef

def get_value() -> InstanceSpecificationTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class InstanceSpecificationTypeDef(TypedDict):
    InstanceId: str,
    ExcludeBootVolume: NotRequired[bool],
    ExcludeDataVolumeIds: NotRequired[Sequence[str]],

CreateSpotDatafeedSubscriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSpotDatafeedSubscriptionRequestRequestTypeDef

def get_value() -> CreateSpotDatafeedSubscriptionRequestRequestTypeDef:
    return {
        "Bucket": ...,
    }
Definition
class CreateSpotDatafeedSubscriptionRequestRequestTypeDef(TypedDict):
    Bucket: str,
    DryRun: NotRequired[bool],
    Prefix: NotRequired[str],

S3ObjectTagTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import S3ObjectTagTypeDef

def get_value() -> S3ObjectTagTypeDef:
    return {
        "Key": ...,
    }
Definition
class S3ObjectTagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

TrafficMirrorPortRangeRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TrafficMirrorPortRangeRequestTypeDef

def get_value() -> TrafficMirrorPortRangeRequestTypeDef:
    return {
        "FromPort": ...,
    }
Definition
class TrafficMirrorPortRangeRequestTypeDef(TypedDict):
    FromPort: NotRequired[int],
    ToPort: NotRequired[int],

TransitGatewayConnectRequestBgpOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayConnectRequestBgpOptionsTypeDef

def get_value() -> TransitGatewayConnectRequestBgpOptionsTypeDef:
    return {
        "PeerAsn": ...,
    }
Definition
class TransitGatewayConnectRequestBgpOptionsTypeDef(TypedDict):
    PeerAsn: NotRequired[int],

CreateTransitGatewayConnectRequestOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayConnectRequestOptionsTypeDef

def get_value() -> CreateTransitGatewayConnectRequestOptionsTypeDef:
    return {
        "Protocol": ...,
    }
Definition
class CreateTransitGatewayConnectRequestOptionsTypeDef(TypedDict):
    Protocol: ProtocolValueType,  # (1)
  1. See ProtocolValueType

CreateTransitGatewayMulticastDomainRequestOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayMulticastDomainRequestOptionsTypeDef

def get_value() -> CreateTransitGatewayMulticastDomainRequestOptionsTypeDef:
    return {
        "Igmpv2Support": ...,
    }
Definition
class CreateTransitGatewayMulticastDomainRequestOptionsTypeDef(TypedDict):
    Igmpv2Support: NotRequired[Igmpv2SupportValueType],  # (1)
    StaticSourcesSupport: NotRequired[StaticSourcesSupportValueType],  # (2)
    AutoAcceptSharedAssociations: NotRequired[AutoAcceptSharedAssociationsValueType],  # (3)
  1. See Igmpv2SupportValueType
  2. See StaticSourcesSupportValueType
  3. See AutoAcceptSharedAssociationsValueType

CreateTransitGatewayPeeringAttachmentRequestOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayPeeringAttachmentRequestOptionsTypeDef

def get_value() -> CreateTransitGatewayPeeringAttachmentRequestOptionsTypeDef:
    return {
        "DynamicRouting": ...,
    }
Definition
class CreateTransitGatewayPeeringAttachmentRequestOptionsTypeDef(TypedDict):
    DynamicRouting: NotRequired[DynamicRoutingValueType],  # (1)
  1. See DynamicRoutingValueType

CreateTransitGatewayPrefixListReferenceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayPrefixListReferenceRequestRequestTypeDef

def get_value() -> CreateTransitGatewayPrefixListReferenceRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
        "PrefixListId": ...,
    }
Definition
class CreateTransitGatewayPrefixListReferenceRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    PrefixListId: str,
    TransitGatewayAttachmentId: NotRequired[str],
    Blackhole: NotRequired[bool],
    DryRun: NotRequired[bool],

TransitGatewayRequestOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayRequestOptionsTypeDef

def get_value() -> TransitGatewayRequestOptionsTypeDef:
    return {
        "AmazonSideAsn": ...,
    }
Definition
class TransitGatewayRequestOptionsTypeDef(TypedDict):
    AmazonSideAsn: NotRequired[int],
    AutoAcceptSharedAttachments: NotRequired[AutoAcceptSharedAttachmentsValueType],  # (1)
    DefaultRouteTableAssociation: NotRequired[DefaultRouteTableAssociationValueType],  # (2)
    DefaultRouteTablePropagation: NotRequired[DefaultRouteTablePropagationValueType],  # (3)
    VpnEcmpSupport: NotRequired[VpnEcmpSupportValueType],  # (4)
    DnsSupport: NotRequired[DnsSupportValueType],  # (5)
    MulticastSupport: NotRequired[MulticastSupportValueType],  # (6)
    TransitGatewayCidrBlocks: NotRequired[Sequence[str]],
  1. See AutoAcceptSharedAttachmentsValueType
  2. See DefaultRouteTableAssociationValueType
  3. See DefaultRouteTablePropagationValueType
  4. See VpnEcmpSupportValueType
  5. See DnsSupportValueType
  6. See MulticastSupportValueType

CreateTransitGatewayRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayRouteRequestRequestTypeDef

def get_value() -> CreateTransitGatewayRouteRequestRequestTypeDef:
    return {
        "DestinationCidrBlock": ...,
        "TransitGatewayRouteTableId": ...,
    }
Definition
class CreateTransitGatewayRouteRequestRequestTypeDef(TypedDict):
    DestinationCidrBlock: str,
    TransitGatewayRouteTableId: str,
    TransitGatewayAttachmentId: NotRequired[str],
    Blackhole: NotRequired[bool],
    DryRun: NotRequired[bool],

CreateTransitGatewayVpcAttachmentRequestOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayVpcAttachmentRequestOptionsTypeDef

def get_value() -> CreateTransitGatewayVpcAttachmentRequestOptionsTypeDef:
    return {
        "DnsSupport": ...,
    }
Definition
class CreateTransitGatewayVpcAttachmentRequestOptionsTypeDef(TypedDict):
    DnsSupport: NotRequired[DnsSupportValueType],  # (1)
    Ipv6Support: NotRequired[Ipv6SupportValueType],  # (2)
    ApplianceModeSupport: NotRequired[ApplianceModeSupportValueType],  # (3)
  1. See DnsSupportValueType
  2. See Ipv6SupportValueType
  3. See ApplianceModeSupportValueType

CreateVerifiedAccessEndpointEniOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessEndpointEniOptionsTypeDef

def get_value() -> CreateVerifiedAccessEndpointEniOptionsTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class CreateVerifiedAccessEndpointEniOptionsTypeDef(TypedDict):
    NetworkInterfaceId: NotRequired[str],
    Protocol: NotRequired[VerifiedAccessEndpointProtocolType],  # (1)
    Port: NotRequired[int],
  1. See VerifiedAccessEndpointProtocolType

CreateVerifiedAccessEndpointLoadBalancerOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessEndpointLoadBalancerOptionsTypeDef

def get_value() -> CreateVerifiedAccessEndpointLoadBalancerOptionsTypeDef:
    return {
        "Protocol": ...,
    }
Definition
class CreateVerifiedAccessEndpointLoadBalancerOptionsTypeDef(TypedDict):
    Protocol: NotRequired[VerifiedAccessEndpointProtocolType],  # (1)
    Port: NotRequired[int],
    LoadBalancerArn: NotRequired[str],
    SubnetIds: NotRequired[Sequence[str]],
  1. See VerifiedAccessEndpointProtocolType

CreateVerifiedAccessTrustProviderDeviceOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessTrustProviderDeviceOptionsTypeDef

def get_value() -> CreateVerifiedAccessTrustProviderDeviceOptionsTypeDef:
    return {
        "TenantId": ...,
    }
Definition
class CreateVerifiedAccessTrustProviderDeviceOptionsTypeDef(TypedDict):
    TenantId: NotRequired[str],

CreateVerifiedAccessTrustProviderOidcOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessTrustProviderOidcOptionsTypeDef

def get_value() -> CreateVerifiedAccessTrustProviderOidcOptionsTypeDef:
    return {
        "Issuer": ...,
    }
Definition
class CreateVerifiedAccessTrustProviderOidcOptionsTypeDef(TypedDict):
    Issuer: NotRequired[str],
    AuthorizationEndpoint: NotRequired[str],
    TokenEndpoint: NotRequired[str],
    UserInfoEndpoint: NotRequired[str],
    ClientId: NotRequired[str],
    ClientSecret: NotRequired[str],
    Scope: NotRequired[str],

CreateVolumePermissionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVolumePermissionTypeDef

def get_value() -> CreateVolumePermissionTypeDef:
    return {
        "Group": ...,
    }
Definition
class CreateVolumePermissionTypeDef(TypedDict):
    Group: NotRequired[PermissionGroupType],  # (1)
    UserId: NotRequired[str],
  1. See PermissionGroupType

CreateVpcEndpointConnectionNotificationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcEndpointConnectionNotificationRequestRequestTypeDef

def get_value() -> CreateVpcEndpointConnectionNotificationRequestRequestTypeDef:
    return {
        "ConnectionNotificationArn": ...,
        "ConnectionEvents": ...,
    }
Definition
class CreateVpcEndpointConnectionNotificationRequestRequestTypeDef(TypedDict):
    ConnectionNotificationArn: str,
    ConnectionEvents: Sequence[str],
    DryRun: NotRequired[bool],
    ServiceId: NotRequired[str],
    VpcEndpointId: NotRequired[str],
    ClientToken: NotRequired[str],

DnsOptionsSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DnsOptionsSpecificationTypeDef

def get_value() -> DnsOptionsSpecificationTypeDef:
    return {
        "DnsRecordIpType": ...,
    }
Definition
class DnsOptionsSpecificationTypeDef(TypedDict):
    DnsRecordIpType: NotRequired[DnsRecordIpTypeType],  # (1)
  1. See DnsRecordIpTypeType

CreateVpnConnectionRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpnConnectionRouteRequestRequestTypeDef

def get_value() -> CreateVpnConnectionRouteRequestRequestTypeDef:
    return {
        "DestinationCidrBlock": ...,
        "VpnConnectionId": ...,
    }
Definition
class CreateVpnConnectionRouteRequestRequestTypeDef(TypedDict):
    DestinationCidrBlock: str,
    VpnConnectionId: str,

CreditSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreditSpecificationRequestTypeDef

def get_value() -> CreditSpecificationRequestTypeDef:
    return {
        "CpuCredits": ...,
    }
Definition
class CreditSpecificationRequestTypeDef(TypedDict):
    CpuCredits: str,

CreditSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreditSpecificationTypeDef

def get_value() -> CreditSpecificationTypeDef:
    return {
        "CpuCredits": ...,
    }
Definition
class CreditSpecificationTypeDef(TypedDict):
    CpuCredits: NotRequired[str],

DataQueryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DataQueryTypeDef

def get_value() -> DataQueryTypeDef:
    return {
        "Id": ...,
    }
Definition
class DataQueryTypeDef(TypedDict):
    Id: NotRequired[str],
    Source: NotRequired[str],
    Destination: NotRequired[str],
    Metric: NotRequired[MetricTypeType],  # (1)
    Statistic: NotRequired[StatisticTypeType],  # (2)
    Period: NotRequired[PeriodTypeType],  # (3)
  1. See MetricTypeType
  2. See StatisticTypeType
  3. See PeriodTypeType

MetricPointTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MetricPointTypeDef

def get_value() -> MetricPointTypeDef:
    return {
        "StartDate": ...,
    }
Definition
class MetricPointTypeDef(TypedDict):
    StartDate: NotRequired[datetime],
    EndDate: NotRequired[datetime],
    Value: NotRequired[float],
    Status: NotRequired[str],

DeleteCarrierGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteCarrierGatewayRequestRequestTypeDef

def get_value() -> DeleteCarrierGatewayRequestRequestTypeDef:
    return {
        "CarrierGatewayId": ...,
    }
Definition
class DeleteCarrierGatewayRequestRequestTypeDef(TypedDict):
    CarrierGatewayId: str,
    DryRun: NotRequired[bool],

DeleteClientVpnEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteClientVpnEndpointRequestRequestTypeDef

def get_value() -> DeleteClientVpnEndpointRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class DeleteClientVpnEndpointRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    DryRun: NotRequired[bool],

DeleteClientVpnRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteClientVpnRouteRequestRequestTypeDef

def get_value() -> DeleteClientVpnRouteRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "DestinationCidrBlock": ...,
    }
Definition
class DeleteClientVpnRouteRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    DestinationCidrBlock: str,
    TargetVpcSubnetId: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteCoipCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteCoipCidrRequestRequestTypeDef

def get_value() -> DeleteCoipCidrRequestRequestTypeDef:
    return {
        "Cidr": ...,
        "CoipPoolId": ...,
    }
Definition
class DeleteCoipCidrRequestRequestTypeDef(TypedDict):
    Cidr: str,
    CoipPoolId: str,
    DryRun: NotRequired[bool],

DeleteCoipPoolRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteCoipPoolRequestRequestTypeDef

def get_value() -> DeleteCoipPoolRequestRequestTypeDef:
    return {
        "CoipPoolId": ...,
    }
Definition
class DeleteCoipPoolRequestRequestTypeDef(TypedDict):
    CoipPoolId: str,
    DryRun: NotRequired[bool],

DeleteCustomerGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteCustomerGatewayRequestRequestTypeDef

def get_value() -> DeleteCustomerGatewayRequestRequestTypeDef:
    return {
        "CustomerGatewayId": ...,
    }
Definition
class DeleteCustomerGatewayRequestRequestTypeDef(TypedDict):
    CustomerGatewayId: str,
    DryRun: NotRequired[bool],

DeleteDhcpOptionsRequestDhcpOptionsDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteDhcpOptionsRequestDhcpOptionsDeleteTypeDef

def get_value() -> DeleteDhcpOptionsRequestDhcpOptionsDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteDhcpOptionsRequestDhcpOptionsDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteDhcpOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteDhcpOptionsRequestRequestTypeDef

def get_value() -> DeleteDhcpOptionsRequestRequestTypeDef:
    return {
        "DhcpOptionsId": ...,
    }
Definition
class DeleteDhcpOptionsRequestRequestTypeDef(TypedDict):
    DhcpOptionsId: str,
    DryRun: NotRequired[bool],

DeleteEgressOnlyInternetGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteEgressOnlyInternetGatewayRequestRequestTypeDef

def get_value() -> DeleteEgressOnlyInternetGatewayRequestRequestTypeDef:
    return {
        "EgressOnlyInternetGatewayId": ...,
    }
Definition
class DeleteEgressOnlyInternetGatewayRequestRequestTypeDef(TypedDict):
    EgressOnlyInternetGatewayId: str,
    DryRun: NotRequired[bool],

DeleteFleetErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteFleetErrorTypeDef

def get_value() -> DeleteFleetErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class DeleteFleetErrorTypeDef(TypedDict):
    Code: NotRequired[DeleteFleetErrorCodeType],  # (1)
    Message: NotRequired[str],
  1. See DeleteFleetErrorCodeType

DeleteFleetSuccessItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteFleetSuccessItemTypeDef

def get_value() -> DeleteFleetSuccessItemTypeDef:
    return {
        "CurrentFleetState": ...,
    }
Definition
class DeleteFleetSuccessItemTypeDef(TypedDict):
    CurrentFleetState: NotRequired[FleetStateCodeType],  # (1)
    PreviousFleetState: NotRequired[FleetStateCodeType],  # (1)
    FleetId: NotRequired[str],
  1. See FleetStateCodeType
  2. See FleetStateCodeType

DeleteFleetsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteFleetsRequestRequestTypeDef

def get_value() -> DeleteFleetsRequestRequestTypeDef:
    return {
        "FleetIds": ...,
        "TerminateInstances": ...,
    }
Definition
class DeleteFleetsRequestRequestTypeDef(TypedDict):
    FleetIds: Sequence[str],
    TerminateInstances: bool,
    DryRun: NotRequired[bool],

DeleteFlowLogsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteFlowLogsRequestRequestTypeDef

def get_value() -> DeleteFlowLogsRequestRequestTypeDef:
    return {
        "FlowLogIds": ...,
    }
Definition
class DeleteFlowLogsRequestRequestTypeDef(TypedDict):
    FlowLogIds: Sequence[str],
    DryRun: NotRequired[bool],

DeleteFpgaImageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteFpgaImageRequestRequestTypeDef

def get_value() -> DeleteFpgaImageRequestRequestTypeDef:
    return {
        "FpgaImageId": ...,
    }
Definition
class DeleteFpgaImageRequestRequestTypeDef(TypedDict):
    FpgaImageId: str,
    DryRun: NotRequired[bool],

DeleteInstanceEventWindowRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteInstanceEventWindowRequestRequestTypeDef

def get_value() -> DeleteInstanceEventWindowRequestRequestTypeDef:
    return {
        "InstanceEventWindowId": ...,
    }
Definition
class DeleteInstanceEventWindowRequestRequestTypeDef(TypedDict):
    InstanceEventWindowId: str,
    DryRun: NotRequired[bool],
    ForceDelete: NotRequired[bool],

InstanceEventWindowStateChangeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceEventWindowStateChangeTypeDef

def get_value() -> InstanceEventWindowStateChangeTypeDef:
    return {
        "InstanceEventWindowId": ...,
    }
Definition
class InstanceEventWindowStateChangeTypeDef(TypedDict):
    InstanceEventWindowId: NotRequired[str],
    State: NotRequired[InstanceEventWindowStateType],  # (1)
  1. See InstanceEventWindowStateType

DeleteInternetGatewayRequestInternetGatewayDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteInternetGatewayRequestInternetGatewayDeleteTypeDef

def get_value() -> DeleteInternetGatewayRequestInternetGatewayDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteInternetGatewayRequestInternetGatewayDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteInternetGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteInternetGatewayRequestRequestTypeDef

def get_value() -> DeleteInternetGatewayRequestRequestTypeDef:
    return {
        "InternetGatewayId": ...,
    }
Definition
class DeleteInternetGatewayRequestRequestTypeDef(TypedDict):
    InternetGatewayId: str,
    DryRun: NotRequired[bool],

DeleteIpamPoolRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteIpamPoolRequestRequestTypeDef

def get_value() -> DeleteIpamPoolRequestRequestTypeDef:
    return {
        "IpamPoolId": ...,
    }
Definition
class DeleteIpamPoolRequestRequestTypeDef(TypedDict):
    IpamPoolId: str,
    DryRun: NotRequired[bool],

DeleteIpamRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteIpamRequestRequestTypeDef

def get_value() -> DeleteIpamRequestRequestTypeDef:
    return {
        "IpamId": ...,
    }
Definition
class DeleteIpamRequestRequestTypeDef(TypedDict):
    IpamId: str,
    DryRun: NotRequired[bool],
    Cascade: NotRequired[bool],

DeleteIpamResourceDiscoveryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteIpamResourceDiscoveryRequestRequestTypeDef

def get_value() -> DeleteIpamResourceDiscoveryRequestRequestTypeDef:
    return {
        "IpamResourceDiscoveryId": ...,
    }
Definition
class DeleteIpamResourceDiscoveryRequestRequestTypeDef(TypedDict):
    IpamResourceDiscoveryId: str,
    DryRun: NotRequired[bool],

DeleteIpamScopeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteIpamScopeRequestRequestTypeDef

def get_value() -> DeleteIpamScopeRequestRequestTypeDef:
    return {
        "IpamScopeId": ...,
    }
Definition
class DeleteIpamScopeRequestRequestTypeDef(TypedDict):
    IpamScopeId: str,
    DryRun: NotRequired[bool],

DeleteKeyPairRequestKeyPairDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteKeyPairRequestKeyPairDeleteTypeDef

def get_value() -> DeleteKeyPairRequestKeyPairDeleteTypeDef:
    return {
        "KeyPairId": ...,
    }
Definition
class DeleteKeyPairRequestKeyPairDeleteTypeDef(TypedDict):
    KeyPairId: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteKeyPairRequestKeyPairInfoDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteKeyPairRequestKeyPairInfoDeleteTypeDef

def get_value() -> DeleteKeyPairRequestKeyPairInfoDeleteTypeDef:
    return {
        "KeyPairId": ...,
    }
Definition
class DeleteKeyPairRequestKeyPairInfoDeleteTypeDef(TypedDict):
    KeyPairId: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteKeyPairRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteKeyPairRequestRequestTypeDef

def get_value() -> DeleteKeyPairRequestRequestTypeDef:
    return {
        "KeyName": ...,
    }
Definition
class DeleteKeyPairRequestRequestTypeDef(TypedDict):
    KeyName: NotRequired[str],
    KeyPairId: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteLaunchTemplateRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLaunchTemplateRequestRequestTypeDef

def get_value() -> DeleteLaunchTemplateRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteLaunchTemplateRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],

DeleteLaunchTemplateVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLaunchTemplateVersionsRequestRequestTypeDef

def get_value() -> DeleteLaunchTemplateVersionsRequestRequestTypeDef:
    return {
        "Versions": ...,
    }
Definition
class DeleteLaunchTemplateVersionsRequestRequestTypeDef(TypedDict):
    Versions: Sequence[str],
    DryRun: NotRequired[bool],
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],

ResponseErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResponseErrorTypeDef

def get_value() -> ResponseErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class ResponseErrorTypeDef(TypedDict):
    Code: NotRequired[LaunchTemplateErrorCodeType],  # (1)
    Message: NotRequired[str],
  1. See LaunchTemplateErrorCodeType

DeleteLaunchTemplateVersionsResponseSuccessItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLaunchTemplateVersionsResponseSuccessItemTypeDef

def get_value() -> DeleteLaunchTemplateVersionsResponseSuccessItemTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
Definition
class DeleteLaunchTemplateVersionsResponseSuccessItemTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    VersionNumber: NotRequired[int],

DeleteLocalGatewayRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLocalGatewayRouteRequestRequestTypeDef

def get_value() -> DeleteLocalGatewayRouteRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
    }
Definition
class DeleteLocalGatewayRouteRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableId: str,
    DestinationCidrBlock: NotRequired[str],
    DryRun: NotRequired[bool],
    DestinationPrefixListId: NotRequired[str],

DeleteLocalGatewayRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLocalGatewayRouteTableRequestRequestTypeDef

def get_value() -> DeleteLocalGatewayRouteTableRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
    }
Definition
class DeleteLocalGatewayRouteTableRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableId: str,
    DryRun: NotRequired[bool],

DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestRequestTypeDef

def get_value() -> DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableVirtualInterfaceGroupAssociationId": ...,
    }
Definition
class DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableVirtualInterfaceGroupAssociationId: str,
    DryRun: NotRequired[bool],

DeleteLocalGatewayRouteTableVpcAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLocalGatewayRouteTableVpcAssociationRequestRequestTypeDef

def get_value() -> DeleteLocalGatewayRouteTableVpcAssociationRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableVpcAssociationId": ...,
    }
Definition
class DeleteLocalGatewayRouteTableVpcAssociationRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableVpcAssociationId: str,
    DryRun: NotRequired[bool],

DeleteManagedPrefixListRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteManagedPrefixListRequestRequestTypeDef

def get_value() -> DeleteManagedPrefixListRequestRequestTypeDef:
    return {
        "PrefixListId": ...,
    }
Definition
class DeleteManagedPrefixListRequestRequestTypeDef(TypedDict):
    PrefixListId: str,
    DryRun: NotRequired[bool],

DeleteNatGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNatGatewayRequestRequestTypeDef

def get_value() -> DeleteNatGatewayRequestRequestTypeDef:
    return {
        "NatGatewayId": ...,
    }
Definition
class DeleteNatGatewayRequestRequestTypeDef(TypedDict):
    NatGatewayId: str,
    DryRun: NotRequired[bool],

DeleteNetworkAclEntryRequestNetworkAclDeleteEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkAclEntryRequestNetworkAclDeleteEntryTypeDef

def get_value() -> DeleteNetworkAclEntryRequestNetworkAclDeleteEntryTypeDef:
    return {
        "Egress": ...,
        "RuleNumber": ...,
    }
Definition
class DeleteNetworkAclEntryRequestNetworkAclDeleteEntryTypeDef(TypedDict):
    Egress: bool,
    RuleNumber: int,
    DryRun: NotRequired[bool],

DeleteNetworkAclEntryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkAclEntryRequestRequestTypeDef

def get_value() -> DeleteNetworkAclEntryRequestRequestTypeDef:
    return {
        "Egress": ...,
        "NetworkAclId": ...,
        "RuleNumber": ...,
    }
Definition
class DeleteNetworkAclEntryRequestRequestTypeDef(TypedDict):
    Egress: bool,
    NetworkAclId: str,
    RuleNumber: int,
    DryRun: NotRequired[bool],

DeleteNetworkAclRequestNetworkAclDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkAclRequestNetworkAclDeleteTypeDef

def get_value() -> DeleteNetworkAclRequestNetworkAclDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteNetworkAclRequestNetworkAclDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteNetworkAclRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkAclRequestRequestTypeDef

def get_value() -> DeleteNetworkAclRequestRequestTypeDef:
    return {
        "NetworkAclId": ...,
    }
Definition
class DeleteNetworkAclRequestRequestTypeDef(TypedDict):
    NetworkAclId: str,
    DryRun: NotRequired[bool],

DeleteNetworkInsightsAccessScopeAnalysisRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInsightsAccessScopeAnalysisRequestRequestTypeDef

def get_value() -> DeleteNetworkInsightsAccessScopeAnalysisRequestRequestTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalysisId": ...,
    }
Definition
class DeleteNetworkInsightsAccessScopeAnalysisRequestRequestTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalysisId: str,
    DryRun: NotRequired[bool],

DeleteNetworkInsightsAccessScopeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInsightsAccessScopeRequestRequestTypeDef

def get_value() -> DeleteNetworkInsightsAccessScopeRequestRequestTypeDef:
    return {
        "NetworkInsightsAccessScopeId": ...,
    }
Definition
class DeleteNetworkInsightsAccessScopeRequestRequestTypeDef(TypedDict):
    NetworkInsightsAccessScopeId: str,
    DryRun: NotRequired[bool],

DeleteNetworkInsightsAnalysisRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInsightsAnalysisRequestRequestTypeDef

def get_value() -> DeleteNetworkInsightsAnalysisRequestRequestTypeDef:
    return {
        "NetworkInsightsAnalysisId": ...,
    }
Definition
class DeleteNetworkInsightsAnalysisRequestRequestTypeDef(TypedDict):
    NetworkInsightsAnalysisId: str,
    DryRun: NotRequired[bool],

DeleteNetworkInsightsPathRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInsightsPathRequestRequestTypeDef

def get_value() -> DeleteNetworkInsightsPathRequestRequestTypeDef:
    return {
        "NetworkInsightsPathId": ...,
    }
Definition
class DeleteNetworkInsightsPathRequestRequestTypeDef(TypedDict):
    NetworkInsightsPathId: str,
    DryRun: NotRequired[bool],

DeleteNetworkInterfacePermissionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInterfacePermissionRequestRequestTypeDef

def get_value() -> DeleteNetworkInterfacePermissionRequestRequestTypeDef:
    return {
        "NetworkInterfacePermissionId": ...,
    }
Definition
class DeleteNetworkInterfacePermissionRequestRequestTypeDef(TypedDict):
    NetworkInterfacePermissionId: str,
    Force: NotRequired[bool],
    DryRun: NotRequired[bool],

DeleteNetworkInterfaceRequestNetworkInterfaceDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInterfaceRequestNetworkInterfaceDeleteTypeDef

def get_value() -> DeleteNetworkInterfaceRequestNetworkInterfaceDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteNetworkInterfaceRequestNetworkInterfaceDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteNetworkInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInterfaceRequestRequestTypeDef

def get_value() -> DeleteNetworkInterfaceRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class DeleteNetworkInterfaceRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    DryRun: NotRequired[bool],

DeletePlacementGroupRequestPlacementGroupDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeletePlacementGroupRequestPlacementGroupDeleteTypeDef

def get_value() -> DeletePlacementGroupRequestPlacementGroupDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeletePlacementGroupRequestPlacementGroupDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeletePlacementGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeletePlacementGroupRequestRequestTypeDef

def get_value() -> DeletePlacementGroupRequestRequestTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class DeletePlacementGroupRequestRequestTypeDef(TypedDict):
    GroupName: str,
    DryRun: NotRequired[bool],

DeletePublicIpv4PoolRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeletePublicIpv4PoolRequestRequestTypeDef

def get_value() -> DeletePublicIpv4PoolRequestRequestTypeDef:
    return {
        "PoolId": ...,
    }
Definition
class DeletePublicIpv4PoolRequestRequestTypeDef(TypedDict):
    PoolId: str,
    DryRun: NotRequired[bool],

DeleteQueuedReservedInstancesErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteQueuedReservedInstancesErrorTypeDef

def get_value() -> DeleteQueuedReservedInstancesErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class DeleteQueuedReservedInstancesErrorTypeDef(TypedDict):
    Code: NotRequired[DeleteQueuedReservedInstancesErrorCodeType],  # (1)
    Message: NotRequired[str],
  1. See DeleteQueuedReservedInstancesErrorCodeType

DeleteQueuedReservedInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteQueuedReservedInstancesRequestRequestTypeDef

def get_value() -> DeleteQueuedReservedInstancesRequestRequestTypeDef:
    return {
        "ReservedInstancesIds": ...,
    }
Definition
class DeleteQueuedReservedInstancesRequestRequestTypeDef(TypedDict):
    ReservedInstancesIds: Sequence[str],
    DryRun: NotRequired[bool],

SuccessfulQueuedPurchaseDeletionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SuccessfulQueuedPurchaseDeletionTypeDef

def get_value() -> SuccessfulQueuedPurchaseDeletionTypeDef:
    return {
        "ReservedInstancesId": ...,
    }
Definition
class SuccessfulQueuedPurchaseDeletionTypeDef(TypedDict):
    ReservedInstancesId: NotRequired[str],

DeleteRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteRouteRequestRequestTypeDef

def get_value() -> DeleteRouteRequestRequestTypeDef:
    return {
        "RouteTableId": ...,
    }
Definition
class DeleteRouteRequestRequestTypeDef(TypedDict):
    RouteTableId: str,
    DestinationCidrBlock: NotRequired[str],
    DestinationIpv6CidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteRouteRequestRouteDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteRouteRequestRouteDeleteTypeDef

def get_value() -> DeleteRouteRequestRouteDeleteTypeDef:
    return {
        "DestinationIpv6CidrBlock": ...,
    }
Definition
class DeleteRouteRequestRouteDeleteTypeDef(TypedDict):
    DestinationIpv6CidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteRouteTableRequestRequestTypeDef

def get_value() -> DeleteRouteTableRequestRequestTypeDef:
    return {
        "RouteTableId": ...,
    }
Definition
class DeleteRouteTableRequestRequestTypeDef(TypedDict):
    RouteTableId: str,
    DryRun: NotRequired[bool],

DeleteRouteTableRequestRouteTableDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteRouteTableRequestRouteTableDeleteTypeDef

def get_value() -> DeleteRouteTableRequestRouteTableDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteRouteTableRequestRouteTableDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteSecurityGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteSecurityGroupRequestRequestTypeDef

def get_value() -> DeleteSecurityGroupRequestRequestTypeDef:
    return {
        "GroupId": ...,
    }
Definition
class DeleteSecurityGroupRequestRequestTypeDef(TypedDict):
    GroupId: NotRequired[str],
    GroupName: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteSecurityGroupRequestSecurityGroupDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteSecurityGroupRequestSecurityGroupDeleteTypeDef

def get_value() -> DeleteSecurityGroupRequestSecurityGroupDeleteTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class DeleteSecurityGroupRequestSecurityGroupDeleteTypeDef(TypedDict):
    GroupName: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteSnapshotRequestRequestTypeDef

def get_value() -> DeleteSnapshotRequestRequestTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class DeleteSnapshotRequestRequestTypeDef(TypedDict):
    SnapshotId: str,
    DryRun: NotRequired[bool],

DeleteSnapshotRequestSnapshotDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteSnapshotRequestSnapshotDeleteTypeDef

def get_value() -> DeleteSnapshotRequestSnapshotDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteSnapshotRequestSnapshotDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteSpotDatafeedSubscriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteSpotDatafeedSubscriptionRequestRequestTypeDef

def get_value() -> DeleteSpotDatafeedSubscriptionRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteSpotDatafeedSubscriptionRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteSubnetCidrReservationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteSubnetCidrReservationRequestRequestTypeDef

def get_value() -> DeleteSubnetCidrReservationRequestRequestTypeDef:
    return {
        "SubnetCidrReservationId": ...,
    }
Definition
class DeleteSubnetCidrReservationRequestRequestTypeDef(TypedDict):
    SubnetCidrReservationId: str,
    DryRun: NotRequired[bool],

DeleteSubnetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteSubnetRequestRequestTypeDef

def get_value() -> DeleteSubnetRequestRequestTypeDef:
    return {
        "SubnetId": ...,
    }
Definition
class DeleteSubnetRequestRequestTypeDef(TypedDict):
    SubnetId: str,
    DryRun: NotRequired[bool],

DeleteSubnetRequestSubnetDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteSubnetRequestSubnetDeleteTypeDef

def get_value() -> DeleteSubnetRequestSubnetDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteSubnetRequestSubnetDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteTagsRequestTagDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTagsRequestTagDeleteTypeDef

def get_value() -> DeleteTagsRequestTagDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteTagsRequestTagDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteTrafficMirrorFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTrafficMirrorFilterRequestRequestTypeDef

def get_value() -> DeleteTrafficMirrorFilterRequestRequestTypeDef:
    return {
        "TrafficMirrorFilterId": ...,
    }
Definition
class DeleteTrafficMirrorFilterRequestRequestTypeDef(TypedDict):
    TrafficMirrorFilterId: str,
    DryRun: NotRequired[bool],

DeleteTrafficMirrorFilterRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTrafficMirrorFilterRuleRequestRequestTypeDef

def get_value() -> DeleteTrafficMirrorFilterRuleRequestRequestTypeDef:
    return {
        "TrafficMirrorFilterRuleId": ...,
    }
Definition
class DeleteTrafficMirrorFilterRuleRequestRequestTypeDef(TypedDict):
    TrafficMirrorFilterRuleId: str,
    DryRun: NotRequired[bool],

DeleteTrafficMirrorSessionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTrafficMirrorSessionRequestRequestTypeDef

def get_value() -> DeleteTrafficMirrorSessionRequestRequestTypeDef:
    return {
        "TrafficMirrorSessionId": ...,
    }
Definition
class DeleteTrafficMirrorSessionRequestRequestTypeDef(TypedDict):
    TrafficMirrorSessionId: str,
    DryRun: NotRequired[bool],

DeleteTrafficMirrorTargetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTrafficMirrorTargetRequestRequestTypeDef

def get_value() -> DeleteTrafficMirrorTargetRequestRequestTypeDef:
    return {
        "TrafficMirrorTargetId": ...,
    }
Definition
class DeleteTrafficMirrorTargetRequestRequestTypeDef(TypedDict):
    TrafficMirrorTargetId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayConnectPeerRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayConnectPeerRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayConnectPeerRequestRequestTypeDef:
    return {
        "TransitGatewayConnectPeerId": ...,
    }
Definition
class DeleteTransitGatewayConnectPeerRequestRequestTypeDef(TypedDict):
    TransitGatewayConnectPeerId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayConnectRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayConnectRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayConnectRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class DeleteTransitGatewayConnectRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayMulticastDomainRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayMulticastDomainRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayMulticastDomainRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class DeleteTransitGatewayMulticastDomainRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayPeeringAttachmentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayPeeringAttachmentRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayPeeringAttachmentRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class DeleteTransitGatewayPeeringAttachmentRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayPolicyTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayPolicyTableRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayPolicyTableRequestRequestTypeDef:
    return {
        "TransitGatewayPolicyTableId": ...,
    }
Definition
class DeleteTransitGatewayPolicyTableRequestRequestTypeDef(TypedDict):
    TransitGatewayPolicyTableId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayPrefixListReferenceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayPrefixListReferenceRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayPrefixListReferenceRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
        "PrefixListId": ...,
    }
Definition
class DeleteTransitGatewayPrefixListReferenceRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    PrefixListId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayRequestRequestTypeDef:
    return {
        "TransitGatewayId": ...,
    }
Definition
class DeleteTransitGatewayRequestRequestTypeDef(TypedDict):
    TransitGatewayId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayRouteRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayRouteRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
        "DestinationCidrBlock": ...,
    }
Definition
class DeleteTransitGatewayRouteRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    DestinationCidrBlock: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayRouteTableAnnouncementRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayRouteTableAnnouncementRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayRouteTableAnnouncementRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableAnnouncementId": ...,
    }
Definition
class DeleteTransitGatewayRouteTableAnnouncementRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableAnnouncementId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayRouteTableRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayRouteTableRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class DeleteTransitGatewayRouteTableRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    DryRun: NotRequired[bool],

DeleteTransitGatewayVpcAttachmentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayVpcAttachmentRequestRequestTypeDef

def get_value() -> DeleteTransitGatewayVpcAttachmentRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class DeleteTransitGatewayVpcAttachmentRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

DeleteVerifiedAccessEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVerifiedAccessEndpointRequestRequestTypeDef

def get_value() -> DeleteVerifiedAccessEndpointRequestRequestTypeDef:
    return {
        "VerifiedAccessEndpointId": ...,
    }
Definition
class DeleteVerifiedAccessEndpointRequestRequestTypeDef(TypedDict):
    VerifiedAccessEndpointId: str,
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteVerifiedAccessGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVerifiedAccessGroupRequestRequestTypeDef

def get_value() -> DeleteVerifiedAccessGroupRequestRequestTypeDef:
    return {
        "VerifiedAccessGroupId": ...,
    }
Definition
class DeleteVerifiedAccessGroupRequestRequestTypeDef(TypedDict):
    VerifiedAccessGroupId: str,
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

DeleteVerifiedAccessInstanceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVerifiedAccessInstanceRequestRequestTypeDef

def get_value() -> DeleteVerifiedAccessInstanceRequestRequestTypeDef:
    return {
        "VerifiedAccessInstanceId": ...,
    }
Definition
class DeleteVerifiedAccessInstanceRequestRequestTypeDef(TypedDict):
    VerifiedAccessInstanceId: str,
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],

DeleteVerifiedAccessTrustProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVerifiedAccessTrustProviderRequestRequestTypeDef

def get_value() -> DeleteVerifiedAccessTrustProviderRequestRequestTypeDef:
    return {
        "VerifiedAccessTrustProviderId": ...,
    }
Definition
class DeleteVerifiedAccessTrustProviderRequestRequestTypeDef(TypedDict):
    VerifiedAccessTrustProviderId: str,
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],

DeleteVolumeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVolumeRequestRequestTypeDef

def get_value() -> DeleteVolumeRequestRequestTypeDef:
    return {
        "VolumeId": ...,
    }
Definition
class DeleteVolumeRequestRequestTypeDef(TypedDict):
    VolumeId: str,
    DryRun: NotRequired[bool],

DeleteVolumeRequestVolumeDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVolumeRequestVolumeDeleteTypeDef

def get_value() -> DeleteVolumeRequestVolumeDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteVolumeRequestVolumeDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteVpcEndpointConnectionNotificationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcEndpointConnectionNotificationsRequestRequestTypeDef

def get_value() -> DeleteVpcEndpointConnectionNotificationsRequestRequestTypeDef:
    return {
        "ConnectionNotificationIds": ...,
    }
Definition
class DeleteVpcEndpointConnectionNotificationsRequestRequestTypeDef(TypedDict):
    ConnectionNotificationIds: Sequence[str],
    DryRun: NotRequired[bool],

DeleteVpcEndpointServiceConfigurationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcEndpointServiceConfigurationsRequestRequestTypeDef

def get_value() -> DeleteVpcEndpointServiceConfigurationsRequestRequestTypeDef:
    return {
        "ServiceIds": ...,
    }
Definition
class DeleteVpcEndpointServiceConfigurationsRequestRequestTypeDef(TypedDict):
    ServiceIds: Sequence[str],
    DryRun: NotRequired[bool],

DeleteVpcEndpointsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcEndpointsRequestRequestTypeDef

def get_value() -> DeleteVpcEndpointsRequestRequestTypeDef:
    return {
        "VpcEndpointIds": ...,
    }
Definition
class DeleteVpcEndpointsRequestRequestTypeDef(TypedDict):
    VpcEndpointIds: Sequence[str],
    DryRun: NotRequired[bool],

DeleteVpcPeeringConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcPeeringConnectionRequestRequestTypeDef

def get_value() -> DeleteVpcPeeringConnectionRequestRequestTypeDef:
    return {
        "VpcPeeringConnectionId": ...,
    }
Definition
class DeleteVpcPeeringConnectionRequestRequestTypeDef(TypedDict):
    VpcPeeringConnectionId: str,
    DryRun: NotRequired[bool],

DeleteVpcPeeringConnectionRequestVpcPeeringConnectionDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcPeeringConnectionRequestVpcPeeringConnectionDeleteTypeDef

def get_value() -> DeleteVpcPeeringConnectionRequestVpcPeeringConnectionDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteVpcPeeringConnectionRequestVpcPeeringConnectionDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteVpcRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcRequestRequestTypeDef

def get_value() -> DeleteVpcRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class DeleteVpcRequestRequestTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],

DeleteVpcRequestVpcDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcRequestVpcDeleteTypeDef

def get_value() -> DeleteVpcRequestVpcDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeleteVpcRequestVpcDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeleteVpnConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpnConnectionRequestRequestTypeDef

def get_value() -> DeleteVpnConnectionRequestRequestTypeDef:
    return {
        "VpnConnectionId": ...,
    }
Definition
class DeleteVpnConnectionRequestRequestTypeDef(TypedDict):
    VpnConnectionId: str,
    DryRun: NotRequired[bool],

DeleteVpnConnectionRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpnConnectionRouteRequestRequestTypeDef

def get_value() -> DeleteVpnConnectionRouteRequestRequestTypeDef:
    return {
        "DestinationCidrBlock": ...,
        "VpnConnectionId": ...,
    }
Definition
class DeleteVpnConnectionRouteRequestRequestTypeDef(TypedDict):
    DestinationCidrBlock: str,
    VpnConnectionId: str,

DeleteVpnGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpnGatewayRequestRequestTypeDef

def get_value() -> DeleteVpnGatewayRequestRequestTypeDef:
    return {
        "VpnGatewayId": ...,
    }
Definition
class DeleteVpnGatewayRequestRequestTypeDef(TypedDict):
    VpnGatewayId: str,
    DryRun: NotRequired[bool],

DeprovisionByoipCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeprovisionByoipCidrRequestRequestTypeDef

def get_value() -> DeprovisionByoipCidrRequestRequestTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class DeprovisionByoipCidrRequestRequestTypeDef(TypedDict):
    Cidr: str,
    DryRun: NotRequired[bool],

DeprovisionIpamPoolCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeprovisionIpamPoolCidrRequestRequestTypeDef

def get_value() -> DeprovisionIpamPoolCidrRequestRequestTypeDef:
    return {
        "IpamPoolId": ...,
    }
Definition
class DeprovisionIpamPoolCidrRequestRequestTypeDef(TypedDict):
    IpamPoolId: str,
    DryRun: NotRequired[bool],
    Cidr: NotRequired[str],

DeprovisionPublicIpv4PoolCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeprovisionPublicIpv4PoolCidrRequestRequestTypeDef

def get_value() -> DeprovisionPublicIpv4PoolCidrRequestRequestTypeDef:
    return {
        "PoolId": ...,
        "Cidr": ...,
    }
Definition
class DeprovisionPublicIpv4PoolCidrRequestRequestTypeDef(TypedDict):
    PoolId: str,
    Cidr: str,
    DryRun: NotRequired[bool],

DeregisterImageRequestImageDeregisterTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeregisterImageRequestImageDeregisterTypeDef

def get_value() -> DeregisterImageRequestImageDeregisterTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeregisterImageRequestImageDeregisterTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DeregisterImageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeregisterImageRequestRequestTypeDef

def get_value() -> DeregisterImageRequestRequestTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class DeregisterImageRequestRequestTypeDef(TypedDict):
    ImageId: str,
    DryRun: NotRequired[bool],

DeregisterInstanceTagAttributeRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeregisterInstanceTagAttributeRequestTypeDef

def get_value() -> DeregisterInstanceTagAttributeRequestTypeDef:
    return {
        "IncludeAllTagsOfInstance": ...,
    }
Definition
class DeregisterInstanceTagAttributeRequestTypeDef(TypedDict):
    IncludeAllTagsOfInstance: NotRequired[bool],
    InstanceTagKeys: NotRequired[Sequence[str]],

InstanceTagNotificationAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceTagNotificationAttributeTypeDef

def get_value() -> InstanceTagNotificationAttributeTypeDef:
    return {
        "InstanceTagKeys": ...,
    }
Definition
class InstanceTagNotificationAttributeTypeDef(TypedDict):
    InstanceTagKeys: NotRequired[List[str]],
    IncludeAllTagsOfInstance: NotRequired[bool],

DeregisterTransitGatewayMulticastGroupMembersRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeregisterTransitGatewayMulticastGroupMembersRequestRequestTypeDef

def get_value() -> DeregisterTransitGatewayMulticastGroupMembersRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class DeregisterTransitGatewayMulticastGroupMembersRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    GroupIpAddress: NotRequired[str],
    NetworkInterfaceIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],

TransitGatewayMulticastDeregisteredGroupMembersTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayMulticastDeregisteredGroupMembersTypeDef

def get_value() -> TransitGatewayMulticastDeregisteredGroupMembersTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class TransitGatewayMulticastDeregisteredGroupMembersTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    DeregisteredNetworkInterfaceIds: NotRequired[List[str]],
    GroupIpAddress: NotRequired[str],

DeregisterTransitGatewayMulticastGroupSourcesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeregisterTransitGatewayMulticastGroupSourcesRequestRequestTypeDef

def get_value() -> DeregisterTransitGatewayMulticastGroupSourcesRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class DeregisterTransitGatewayMulticastGroupSourcesRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    GroupIpAddress: NotRequired[str],
    NetworkInterfaceIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],

TransitGatewayMulticastDeregisteredGroupSourcesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayMulticastDeregisteredGroupSourcesTypeDef

def get_value() -> TransitGatewayMulticastDeregisteredGroupSourcesTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class TransitGatewayMulticastDeregisteredGroupSourcesTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    DeregisteredNetworkInterfaceIds: NotRequired[List[str]],
    GroupIpAddress: NotRequired[str],

DescribeAccountAttributesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAccountAttributesRequestRequestTypeDef

def get_value() -> DescribeAccountAttributesRequestRequestTypeDef:
    return {
        "AttributeNames": ...,
    }
Definition
class DescribeAccountAttributesRequestRequestTypeDef(TypedDict):
    AttributeNames: NotRequired[Sequence[AccountAttributeNameType]],  # (1)
    DryRun: NotRequired[bool],
  1. See AccountAttributeNameType

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeAddressTransfersRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAddressTransfersRequestRequestTypeDef

def get_value() -> DescribeAddressTransfersRequestRequestTypeDef:
    return {
        "AllocationIds": ...,
    }
Definition
class DescribeAddressTransfersRequestRequestTypeDef(TypedDict):
    AllocationIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],

DescribeAddressesAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAddressesAttributeRequestRequestTypeDef

def get_value() -> DescribeAddressesAttributeRequestRequestTypeDef:
    return {
        "AllocationIds": ...,
    }
Definition
class DescribeAddressesAttributeRequestRequestTypeDef(TypedDict):
    AllocationIds: NotRequired[Sequence[str]],
    Attribute: NotRequired[AddressAttributeNameType],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],
  1. See AddressAttributeNameType

FilterTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FilterTypeDef

def get_value() -> FilterTypeDef:
    return {
        "Name": ...,
    }
Definition
class FilterTypeDef(TypedDict):
    Name: NotRequired[str],
    Values: NotRequired[Sequence[str]],

DescribeAggregateIdFormatRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAggregateIdFormatRequestRequestTypeDef

def get_value() -> DescribeAggregateIdFormatRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeAggregateIdFormatRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

IdFormatTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IdFormatTypeDef

def get_value() -> IdFormatTypeDef:
    return {
        "Deadline": ...,
    }
Definition
class IdFormatTypeDef(TypedDict):
    Deadline: NotRequired[datetime],
    Resource: NotRequired[str],
    UseLongIds: NotRequired[bool],

SubscriptionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SubscriptionTypeDef

def get_value() -> SubscriptionTypeDef:
    return {
        "Source": ...,
    }
Definition
class SubscriptionTypeDef(TypedDict):
    Source: NotRequired[str],
    Destination: NotRequired[str],
    Metric: NotRequired[MetricTypeType],  # (1)
    Statistic: NotRequired[StatisticTypeType],  # (2)
    Period: NotRequired[PeriodTypeType],  # (3)
  1. See MetricTypeType
  2. See StatisticTypeType
  3. See PeriodTypeType

WaiterConfigTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
Definition
class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeByoipCidrsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeByoipCidrsRequestRequestTypeDef

def get_value() -> DescribeByoipCidrsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class DescribeByoipCidrsRequestRequestTypeDef(TypedDict):
    MaxResults: int,
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],

DescribeConversionTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeConversionTasksRequestRequestTypeDef

def get_value() -> DescribeConversionTasksRequestRequestTypeDef:
    return {
        "ConversionTaskIds": ...,
    }
Definition
class DescribeConversionTasksRequestRequestTypeDef(TypedDict):
    ConversionTaskIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],

FastLaunchLaunchTemplateSpecificationResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FastLaunchLaunchTemplateSpecificationResponseTypeDef

def get_value() -> FastLaunchLaunchTemplateSpecificationResponseTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
Definition
class FastLaunchLaunchTemplateSpecificationResponseTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    Version: NotRequired[str],

FastLaunchSnapshotConfigurationResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FastLaunchSnapshotConfigurationResponseTypeDef

def get_value() -> FastLaunchSnapshotConfigurationResponseTypeDef:
    return {
        "TargetResourceCount": ...,
    }
Definition
class FastLaunchSnapshotConfigurationResponseTypeDef(TypedDict):
    TargetResourceCount: NotRequired[int],

DescribeFastSnapshotRestoreSuccessItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFastSnapshotRestoreSuccessItemTypeDef

def get_value() -> DescribeFastSnapshotRestoreSuccessItemTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class DescribeFastSnapshotRestoreSuccessItemTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    State: NotRequired[FastSnapshotRestoreStateCodeType],  # (1)
    StateTransitionReason: NotRequired[str],
    OwnerId: NotRequired[str],
    OwnerAlias: NotRequired[str],
    EnablingTime: NotRequired[datetime],
    OptimizingTime: NotRequired[datetime],
    EnabledTime: NotRequired[datetime],
    DisablingTime: NotRequired[datetime],
    DisabledTime: NotRequired[datetime],
  1. See FastSnapshotRestoreStateCodeType

DescribeFleetHistoryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFleetHistoryRequestRequestTypeDef

def get_value() -> DescribeFleetHistoryRequestRequestTypeDef:
    return {
        "FleetId": ...,
        "StartTime": ...,
    }
Definition
class DescribeFleetHistoryRequestRequestTypeDef(TypedDict):
    FleetId: str,
    StartTime: Union[datetime, str],
    DryRun: NotRequired[bool],
    EventType: NotRequired[FleetEventTypeType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FleetEventTypeType

DescribeFpgaImageAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFpgaImageAttributeRequestRequestTypeDef

def get_value() -> DescribeFpgaImageAttributeRequestRequestTypeDef:
    return {
        "FpgaImageId": ...,
        "Attribute": ...,
    }
Definition
class DescribeFpgaImageAttributeRequestRequestTypeDef(TypedDict):
    FpgaImageId: str,
    Attribute: FpgaImageAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See FpgaImageAttributeNameType

HostOfferingTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HostOfferingTypeDef

def get_value() -> HostOfferingTypeDef:
    return {
        "CurrencyCode": ...,
    }
Definition
class HostOfferingTypeDef(TypedDict):
    CurrencyCode: NotRequired[CurrencyCodeValuesType],  # (1)
    Duration: NotRequired[int],
    HourlyPrice: NotRequired[str],
    InstanceFamily: NotRequired[str],
    OfferingId: NotRequired[str],
    PaymentOption: NotRequired[PaymentOptionType],  # (2)
    UpfrontPrice: NotRequired[str],
  1. See CurrencyCodeValuesType
  2. See PaymentOptionType

DescribeIdFormatRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIdFormatRequestRequestTypeDef

def get_value() -> DescribeIdFormatRequestRequestTypeDef:
    return {
        "Resource": ...,
    }
Definition
class DescribeIdFormatRequestRequestTypeDef(TypedDict):
    Resource: NotRequired[str],

DescribeIdentityIdFormatRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIdentityIdFormatRequestRequestTypeDef

def get_value() -> DescribeIdentityIdFormatRequestRequestTypeDef:
    return {
        "PrincipalArn": ...,
    }
Definition
class DescribeIdentityIdFormatRequestRequestTypeDef(TypedDict):
    PrincipalArn: str,
    Resource: NotRequired[str],

DescribeImageAttributeRequestImageDescribeAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImageAttributeRequestImageDescribeAttributeTypeDef

def get_value() -> DescribeImageAttributeRequestImageDescribeAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class DescribeImageAttributeRequestImageDescribeAttributeTypeDef(TypedDict):
    Attribute: ImageAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See ImageAttributeNameType

DescribeImageAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImageAttributeRequestRequestTypeDef

def get_value() -> DescribeImageAttributeRequestRequestTypeDef:
    return {
        "Attribute": ...,
        "ImageId": ...,
    }
Definition
class DescribeImageAttributeRequestRequestTypeDef(TypedDict):
    Attribute: ImageAttributeNameType,  # (1)
    ImageId: str,
    DryRun: NotRequired[bool],
  1. See ImageAttributeNameType

DescribeInstanceAttributeRequestInstanceDescribeAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceAttributeRequestInstanceDescribeAttributeTypeDef

def get_value() -> DescribeInstanceAttributeRequestInstanceDescribeAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class DescribeInstanceAttributeRequestInstanceDescribeAttributeTypeDef(TypedDict):
    Attribute: InstanceAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See InstanceAttributeNameType

DescribeInstanceAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceAttributeRequestRequestTypeDef

def get_value() -> DescribeInstanceAttributeRequestRequestTypeDef:
    return {
        "Attribute": ...,
        "InstanceId": ...,
    }
Definition
class DescribeInstanceAttributeRequestRequestTypeDef(TypedDict):
    Attribute: InstanceAttributeNameType,  # (1)
    InstanceId: str,
    DryRun: NotRequired[bool],
  1. See InstanceAttributeNameType

InstanceCreditSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceCreditSpecificationTypeDef

def get_value() -> InstanceCreditSpecificationTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class InstanceCreditSpecificationTypeDef(TypedDict):
    InstanceId: NotRequired[str],
    CpuCredits: NotRequired[str],

DescribeInstanceEventNotificationAttributesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceEventNotificationAttributesRequestRequestTypeDef

def get_value() -> DescribeInstanceEventNotificationAttributesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeInstanceEventNotificationAttributesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

InstanceTypeOfferingTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceTypeOfferingTypeDef

def get_value() -> InstanceTypeOfferingTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class InstanceTypeOfferingTypeDef(TypedDict):
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    LocationType: NotRequired[LocationTypeType],  # (2)
    Location: NotRequired[str],
  1. See InstanceTypeType
  2. See LocationTypeType

MovingAddressStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MovingAddressStatusTypeDef

def get_value() -> MovingAddressStatusTypeDef:
    return {
        "MoveStatus": ...,
    }
Definition
class MovingAddressStatusTypeDef(TypedDict):
    MoveStatus: NotRequired[MoveStatusType],  # (1)
    PublicIp: NotRequired[str],
  1. See MoveStatusType

DescribeNetworkInterfaceAttributeRequestNetworkInterfaceDescribeAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfaceAttributeRequestNetworkInterfaceDescribeAttributeTypeDef

def get_value() -> DescribeNetworkInterfaceAttributeRequestNetworkInterfaceDescribeAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class DescribeNetworkInterfaceAttributeRequestNetworkInterfaceDescribeAttributeTypeDef(TypedDict):
    Attribute: NotRequired[NetworkInterfaceAttributeType],  # (1)
    DryRun: NotRequired[bool],
  1. See NetworkInterfaceAttributeType

DescribeNetworkInterfaceAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfaceAttributeRequestRequestTypeDef

def get_value() -> DescribeNetworkInterfaceAttributeRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class DescribeNetworkInterfaceAttributeRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    Attribute: NotRequired[NetworkInterfaceAttributeType],  # (1)
    DryRun: NotRequired[bool],
  1. See NetworkInterfaceAttributeType

PrefixListTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrefixListTypeDef

def get_value() -> PrefixListTypeDef:
    return {
        "Cidrs": ...,
    }
Definition
class PrefixListTypeDef(TypedDict):
    Cidrs: NotRequired[List[str]],
    PrefixListId: NotRequired[str],
    PrefixListName: NotRequired[str],

DescribePrincipalIdFormatRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePrincipalIdFormatRequestRequestTypeDef

def get_value() -> DescribePrincipalIdFormatRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribePrincipalIdFormatRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Resources: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

RegionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegionTypeDef

def get_value() -> RegionTypeDef:
    return {
        "Endpoint": ...,
    }
Definition
class RegionTypeDef(TypedDict):
    Endpoint: NotRequired[str],
    RegionName: NotRequired[str],
    OptInStatus: NotRequired[str],

ScheduledInstanceRecurrenceRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstanceRecurrenceRequestTypeDef

def get_value() -> ScheduledInstanceRecurrenceRequestTypeDef:
    return {
        "Frequency": ...,
    }
Definition
class ScheduledInstanceRecurrenceRequestTypeDef(TypedDict):
    Frequency: NotRequired[str],
    Interval: NotRequired[int],
    OccurrenceDays: NotRequired[Sequence[int]],
    OccurrenceRelativeToEnd: NotRequired[bool],
    OccurrenceUnit: NotRequired[str],

SlotDateTimeRangeRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SlotDateTimeRangeRequestTypeDef

def get_value() -> SlotDateTimeRangeRequestTypeDef:
    return {
        "EarliestTime": ...,
        "LatestTime": ...,
    }
Definition
class SlotDateTimeRangeRequestTypeDef(TypedDict):
    EarliestTime: Union[datetime, str],
    LatestTime: Union[datetime, str],

SlotStartTimeRangeRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SlotStartTimeRangeRequestTypeDef

def get_value() -> SlotStartTimeRangeRequestTypeDef:
    return {
        "EarliestTime": ...,
    }
Definition
class SlotStartTimeRangeRequestTypeDef(TypedDict):
    EarliestTime: NotRequired[Union[datetime, str]],
    LatestTime: NotRequired[Union[datetime, str]],

DescribeSecurityGroupReferencesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSecurityGroupReferencesRequestRequestTypeDef

def get_value() -> DescribeSecurityGroupReferencesRequestRequestTypeDef:
    return {
        "GroupId": ...,
    }
Definition
class DescribeSecurityGroupReferencesRequestRequestTypeDef(TypedDict):
    GroupId: Sequence[str],
    DryRun: NotRequired[bool],

SecurityGroupReferenceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SecurityGroupReferenceTypeDef

def get_value() -> SecurityGroupReferenceTypeDef:
    return {
        "GroupId": ...,
    }
Definition
class SecurityGroupReferenceTypeDef(TypedDict):
    GroupId: NotRequired[str],
    ReferencingVpcId: NotRequired[str],
    VpcPeeringConnectionId: NotRequired[str],

DescribeSnapshotAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotAttributeRequestRequestTypeDef

def get_value() -> DescribeSnapshotAttributeRequestRequestTypeDef:
    return {
        "Attribute": ...,
        "SnapshotId": ...,
    }
Definition
class DescribeSnapshotAttributeRequestRequestTypeDef(TypedDict):
    Attribute: SnapshotAttributeNameType,  # (1)
    SnapshotId: str,
    DryRun: NotRequired[bool],
  1. See SnapshotAttributeNameType

DescribeSnapshotAttributeRequestSnapshotDescribeAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotAttributeRequestSnapshotDescribeAttributeTypeDef

def get_value() -> DescribeSnapshotAttributeRequestSnapshotDescribeAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class DescribeSnapshotAttributeRequestSnapshotDescribeAttributeTypeDef(TypedDict):
    Attribute: SnapshotAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See SnapshotAttributeNameType

ProductCodeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ProductCodeTypeDef

def get_value() -> ProductCodeTypeDef:
    return {
        "ProductCodeId": ...,
    }
Definition
class ProductCodeTypeDef(TypedDict):
    ProductCodeId: NotRequired[str],
    ProductCodeType: NotRequired[ProductCodeValuesType],  # (1)
  1. See ProductCodeValuesType

DescribeSpotDatafeedSubscriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotDatafeedSubscriptionRequestRequestTypeDef

def get_value() -> DescribeSpotDatafeedSubscriptionRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeSpotDatafeedSubscriptionRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DescribeSpotFleetInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotFleetInstancesRequestRequestTypeDef

def get_value() -> DescribeSpotFleetInstancesRequestRequestTypeDef:
    return {
        "SpotFleetRequestId": ...,
    }
Definition
class DescribeSpotFleetInstancesRequestRequestTypeDef(TypedDict):
    SpotFleetRequestId: str,
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

DescribeSpotFleetRequestHistoryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotFleetRequestHistoryRequestRequestTypeDef

def get_value() -> DescribeSpotFleetRequestHistoryRequestRequestTypeDef:
    return {
        "SpotFleetRequestId": ...,
        "StartTime": ...,
    }
Definition
class DescribeSpotFleetRequestHistoryRequestRequestTypeDef(TypedDict):
    SpotFleetRequestId: str,
    StartTime: Union[datetime, str],
    DryRun: NotRequired[bool],
    EventType: NotRequired[EventTypeType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See EventTypeType

DescribeSpotFleetRequestsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotFleetRequestsRequestRequestTypeDef

def get_value() -> DescribeSpotFleetRequestsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeSpotFleetRequestsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    SpotFleetRequestIds: NotRequired[Sequence[str]],

SpotPriceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotPriceTypeDef

def get_value() -> SpotPriceTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class SpotPriceTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    ProductDescription: NotRequired[RIProductDescriptionType],  # (2)
    SpotPrice: NotRequired[str],
    Timestamp: NotRequired[datetime],
  1. See InstanceTypeType
  2. See RIProductDescriptionType

DescribeStaleSecurityGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeStaleSecurityGroupsRequestRequestTypeDef

def get_value() -> DescribeStaleSecurityGroupsRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class DescribeStaleSecurityGroupsRequestRequestTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

StoreImageTaskResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StoreImageTaskResultTypeDef

def get_value() -> StoreImageTaskResultTypeDef:
    return {
        "AmiId": ...,
    }
Definition
class StoreImageTaskResultTypeDef(TypedDict):
    AmiId: NotRequired[str],
    TaskStartTime: NotRequired[datetime],
    Bucket: NotRequired[str],
    S3objectKey: NotRequired[str],
    ProgressPercentage: NotRequired[int],
    StoreTaskState: NotRequired[str],
    StoreTaskFailureReason: NotRequired[str],

TagDescriptionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TagDescriptionTypeDef

def get_value() -> TagDescriptionTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagDescriptionTypeDef(TypedDict):
    Key: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[ResourceTypeType],  # (1)
    Value: NotRequired[str],
  1. See ResourceTypeType

DescribeVolumeAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumeAttributeRequestRequestTypeDef

def get_value() -> DescribeVolumeAttributeRequestRequestTypeDef:
    return {
        "Attribute": ...,
        "VolumeId": ...,
    }
Definition
class DescribeVolumeAttributeRequestRequestTypeDef(TypedDict):
    Attribute: VolumeAttributeNameType,  # (1)
    VolumeId: str,
    DryRun: NotRequired[bool],
  1. See VolumeAttributeNameType

DescribeVolumeAttributeRequestVolumeDescribeAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumeAttributeRequestVolumeDescribeAttributeTypeDef

def get_value() -> DescribeVolumeAttributeRequestVolumeDescribeAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class DescribeVolumeAttributeRequestVolumeDescribeAttributeTypeDef(TypedDict):
    Attribute: VolumeAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See VolumeAttributeNameType

VolumeModificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeModificationTypeDef

def get_value() -> VolumeModificationTypeDef:
    return {
        "VolumeId": ...,
    }
Definition
class VolumeModificationTypeDef(TypedDict):
    VolumeId: NotRequired[str],
    ModificationState: NotRequired[VolumeModificationStateType],  # (1)
    StatusMessage: NotRequired[str],
    TargetSize: NotRequired[int],
    TargetIops: NotRequired[int],
    TargetVolumeType: NotRequired[VolumeTypeType],  # (2)
    TargetThroughput: NotRequired[int],
    TargetMultiAttachEnabled: NotRequired[bool],
    OriginalSize: NotRequired[int],
    OriginalIops: NotRequired[int],
    OriginalVolumeType: NotRequired[VolumeTypeType],  # (2)
    OriginalThroughput: NotRequired[int],
    OriginalMultiAttachEnabled: NotRequired[bool],
    Progress: NotRequired[int],
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
  1. See VolumeModificationStateType
  2. See VolumeTypeType
  3. See VolumeTypeType

DescribeVpcAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcAttributeRequestRequestTypeDef

def get_value() -> DescribeVpcAttributeRequestRequestTypeDef:
    return {
        "Attribute": ...,
        "VpcId": ...,
    }
Definition
class DescribeVpcAttributeRequestRequestTypeDef(TypedDict):
    Attribute: VpcAttributeNameType,  # (1)
    VpcId: str,
    DryRun: NotRequired[bool],
  1. See VpcAttributeNameType

DescribeVpcAttributeRequestVpcDescribeAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcAttributeRequestVpcDescribeAttributeTypeDef

def get_value() -> DescribeVpcAttributeRequestVpcDescribeAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class DescribeVpcAttributeRequestVpcDescribeAttributeTypeDef(TypedDict):
    Attribute: VpcAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See VpcAttributeNameType

DescribeVpcClassicLinkDnsSupportRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcClassicLinkDnsSupportRequestRequestTypeDef

def get_value() -> DescribeVpcClassicLinkDnsSupportRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class DescribeVpcClassicLinkDnsSupportRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    VpcIds: NotRequired[Sequence[str]],

DestinationOptionsResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DestinationOptionsResponseTypeDef

def get_value() -> DestinationOptionsResponseTypeDef:
    return {
        "FileFormat": ...,
    }
Definition
class DestinationOptionsResponseTypeDef(TypedDict):
    FileFormat: NotRequired[DestinationFileFormatType],  # (1)
    HiveCompatiblePartitions: NotRequired[bool],
    PerHourPartition: NotRequired[bool],
  1. See DestinationFileFormatType

DetachClassicLinkVpcRequestInstanceDetachClassicLinkVpcTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachClassicLinkVpcRequestInstanceDetachClassicLinkVpcTypeDef

def get_value() -> DetachClassicLinkVpcRequestInstanceDetachClassicLinkVpcTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class DetachClassicLinkVpcRequestInstanceDetachClassicLinkVpcTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],

DetachClassicLinkVpcRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachClassicLinkVpcRequestRequestTypeDef

def get_value() -> DetachClassicLinkVpcRequestRequestTypeDef:
    return {
        "InstanceId": ...,
        "VpcId": ...,
    }
Definition
class DetachClassicLinkVpcRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    VpcId: str,
    DryRun: NotRequired[bool],

DetachClassicLinkVpcRequestVpcDetachClassicLinkInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachClassicLinkVpcRequestVpcDetachClassicLinkInstanceTypeDef

def get_value() -> DetachClassicLinkVpcRequestVpcDetachClassicLinkInstanceTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class DetachClassicLinkVpcRequestVpcDetachClassicLinkInstanceTypeDef(TypedDict):
    InstanceId: str,
    DryRun: NotRequired[bool],

DetachInternetGatewayRequestInternetGatewayDetachFromVpcTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachInternetGatewayRequestInternetGatewayDetachFromVpcTypeDef

def get_value() -> DetachInternetGatewayRequestInternetGatewayDetachFromVpcTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class DetachInternetGatewayRequestInternetGatewayDetachFromVpcTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],

DetachInternetGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachInternetGatewayRequestRequestTypeDef

def get_value() -> DetachInternetGatewayRequestRequestTypeDef:
    return {
        "InternetGatewayId": ...,
        "VpcId": ...,
    }
Definition
class DetachInternetGatewayRequestRequestTypeDef(TypedDict):
    InternetGatewayId: str,
    VpcId: str,
    DryRun: NotRequired[bool],

DetachInternetGatewayRequestVpcDetachInternetGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachInternetGatewayRequestVpcDetachInternetGatewayTypeDef

def get_value() -> DetachInternetGatewayRequestVpcDetachInternetGatewayTypeDef:
    return {
        "InternetGatewayId": ...,
    }
Definition
class DetachInternetGatewayRequestVpcDetachInternetGatewayTypeDef(TypedDict):
    InternetGatewayId: str,
    DryRun: NotRequired[bool],

DetachNetworkInterfaceRequestNetworkInterfaceDetachTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachNetworkInterfaceRequestNetworkInterfaceDetachTypeDef

def get_value() -> DetachNetworkInterfaceRequestNetworkInterfaceDetachTypeDef:
    return {
        "AttachmentId": ...,
    }
Definition
class DetachNetworkInterfaceRequestNetworkInterfaceDetachTypeDef(TypedDict):
    AttachmentId: str,
    DryRun: NotRequired[bool],
    Force: NotRequired[bool],

DetachNetworkInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachNetworkInterfaceRequestRequestTypeDef

def get_value() -> DetachNetworkInterfaceRequestRequestTypeDef:
    return {
        "AttachmentId": ...,
    }
Definition
class DetachNetworkInterfaceRequestRequestTypeDef(TypedDict):
    AttachmentId: str,
    DryRun: NotRequired[bool],
    Force: NotRequired[bool],

DetachVerifiedAccessTrustProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachVerifiedAccessTrustProviderRequestRequestTypeDef

def get_value() -> DetachVerifiedAccessTrustProviderRequestRequestTypeDef:
    return {
        "VerifiedAccessInstanceId": ...,
        "VerifiedAccessTrustProviderId": ...,
    }
Definition
class DetachVerifiedAccessTrustProviderRequestRequestTypeDef(TypedDict):
    VerifiedAccessInstanceId: str,
    VerifiedAccessTrustProviderId: str,
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

DetachVolumeRequestInstanceDetachVolumeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachVolumeRequestInstanceDetachVolumeTypeDef

def get_value() -> DetachVolumeRequestInstanceDetachVolumeTypeDef:
    return {
        "VolumeId": ...,
    }
Definition
class DetachVolumeRequestInstanceDetachVolumeTypeDef(TypedDict):
    VolumeId: str,
    Device: NotRequired[str],
    Force: NotRequired[bool],
    DryRun: NotRequired[bool],

DetachVolumeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachVolumeRequestRequestTypeDef

def get_value() -> DetachVolumeRequestRequestTypeDef:
    return {
        "VolumeId": ...,
    }
Definition
class DetachVolumeRequestRequestTypeDef(TypedDict):
    VolumeId: str,
    Device: NotRequired[str],
    Force: NotRequired[bool],
    InstanceId: NotRequired[str],
    DryRun: NotRequired[bool],

DetachVolumeRequestVolumeDetachFromInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachVolumeRequestVolumeDetachFromInstanceTypeDef

def get_value() -> DetachVolumeRequestVolumeDetachFromInstanceTypeDef:
    return {
        "Device": ...,
    }
Definition
class DetachVolumeRequestVolumeDetachFromInstanceTypeDef(TypedDict):
    Device: NotRequired[str],
    Force: NotRequired[bool],
    InstanceId: NotRequired[str],
    DryRun: NotRequired[bool],

DetachVpnGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachVpnGatewayRequestRequestTypeDef

def get_value() -> DetachVpnGatewayRequestRequestTypeDef:
    return {
        "VpcId": ...,
        "VpnGatewayId": ...,
    }
Definition
class DetachVpnGatewayRequestRequestTypeDef(TypedDict):
    VpcId: str,
    VpnGatewayId: str,
    DryRun: NotRequired[bool],

DeviceOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeviceOptionsTypeDef

def get_value() -> DeviceOptionsTypeDef:
    return {
        "TenantId": ...,
    }
Definition
class DeviceOptionsTypeDef(TypedDict):
    TenantId: NotRequired[str],

DisableAddressTransferRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableAddressTransferRequestRequestTypeDef

def get_value() -> DisableAddressTransferRequestRequestTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class DisableAddressTransferRequestRequestTypeDef(TypedDict):
    AllocationId: str,
    DryRun: NotRequired[bool],

DisableAwsNetworkPerformanceMetricSubscriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableAwsNetworkPerformanceMetricSubscriptionRequestRequestTypeDef

def get_value() -> DisableAwsNetworkPerformanceMetricSubscriptionRequestRequestTypeDef:
    return {
        "Source": ...,
    }
Definition
class DisableAwsNetworkPerformanceMetricSubscriptionRequestRequestTypeDef(TypedDict):
    Source: NotRequired[str],
    Destination: NotRequired[str],
    Metric: NotRequired[MetricTypeType],  # (1)
    Statistic: NotRequired[StatisticTypeType],  # (2)
    DryRun: NotRequired[bool],
  1. See MetricTypeType
  2. See StatisticTypeType

DisableEbsEncryptionByDefaultRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableEbsEncryptionByDefaultRequestRequestTypeDef

def get_value() -> DisableEbsEncryptionByDefaultRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DisableEbsEncryptionByDefaultRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DisableFastLaunchRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableFastLaunchRequestRequestTypeDef

def get_value() -> DisableFastLaunchRequestRequestTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class DisableFastLaunchRequestRequestTypeDef(TypedDict):
    ImageId: str,
    Force: NotRequired[bool],
    DryRun: NotRequired[bool],

DisableFastSnapshotRestoreStateErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableFastSnapshotRestoreStateErrorTypeDef

def get_value() -> DisableFastSnapshotRestoreStateErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class DisableFastSnapshotRestoreStateErrorTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],

DisableFastSnapshotRestoreSuccessItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableFastSnapshotRestoreSuccessItemTypeDef

def get_value() -> DisableFastSnapshotRestoreSuccessItemTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class DisableFastSnapshotRestoreSuccessItemTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    State: NotRequired[FastSnapshotRestoreStateCodeType],  # (1)
    StateTransitionReason: NotRequired[str],
    OwnerId: NotRequired[str],
    OwnerAlias: NotRequired[str],
    EnablingTime: NotRequired[datetime],
    OptimizingTime: NotRequired[datetime],
    EnabledTime: NotRequired[datetime],
    DisablingTime: NotRequired[datetime],
    DisabledTime: NotRequired[datetime],
  1. See FastSnapshotRestoreStateCodeType

DisableFastSnapshotRestoresRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableFastSnapshotRestoresRequestRequestTypeDef

def get_value() -> DisableFastSnapshotRestoresRequestRequestTypeDef:
    return {
        "AvailabilityZones": ...,
        "SourceSnapshotIds": ...,
    }
Definition
class DisableFastSnapshotRestoresRequestRequestTypeDef(TypedDict):
    AvailabilityZones: Sequence[str],
    SourceSnapshotIds: Sequence[str],
    DryRun: NotRequired[bool],

DisableImageDeprecationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableImageDeprecationRequestRequestTypeDef

def get_value() -> DisableImageDeprecationRequestRequestTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class DisableImageDeprecationRequestRequestTypeDef(TypedDict):
    ImageId: str,
    DryRun: NotRequired[bool],

DisableIpamOrganizationAdminAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableIpamOrganizationAdminAccountRequestRequestTypeDef

def get_value() -> DisableIpamOrganizationAdminAccountRequestRequestTypeDef:
    return {
        "DelegatedAdminAccountId": ...,
    }
Definition
class DisableIpamOrganizationAdminAccountRequestRequestTypeDef(TypedDict):
    DelegatedAdminAccountId: str,
    DryRun: NotRequired[bool],

DisableSerialConsoleAccessRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableSerialConsoleAccessRequestRequestTypeDef

def get_value() -> DisableSerialConsoleAccessRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DisableSerialConsoleAccessRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DisableTransitGatewayRouteTablePropagationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableTransitGatewayRouteTablePropagationRequestRequestTypeDef

def get_value() -> DisableTransitGatewayRouteTablePropagationRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class DisableTransitGatewayRouteTablePropagationRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    TransitGatewayAttachmentId: NotRequired[str],
    DryRun: NotRequired[bool],
    TransitGatewayRouteTableAnnouncementId: NotRequired[str],

TransitGatewayPropagationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPropagationTypeDef

def get_value() -> TransitGatewayPropagationTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayPropagationTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    TransitGatewayRouteTableId: NotRequired[str],
    State: NotRequired[TransitGatewayPropagationStateType],  # (2)
    TransitGatewayRouteTableAnnouncementId: NotRequired[str],
  1. See TransitGatewayAttachmentResourceTypeType
  2. See TransitGatewayPropagationStateType

DisableVgwRoutePropagationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableVgwRoutePropagationRequestRequestTypeDef

def get_value() -> DisableVgwRoutePropagationRequestRequestTypeDef:
    return {
        "GatewayId": ...,
        "RouteTableId": ...,
    }
Definition
class DisableVgwRoutePropagationRequestRequestTypeDef(TypedDict):
    GatewayId: str,
    RouteTableId: str,
    DryRun: NotRequired[bool],

DisableVpcClassicLinkDnsSupportRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableVpcClassicLinkDnsSupportRequestRequestTypeDef

def get_value() -> DisableVpcClassicLinkDnsSupportRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class DisableVpcClassicLinkDnsSupportRequestRequestTypeDef(TypedDict):
    VpcId: NotRequired[str],

DisableVpcClassicLinkRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableVpcClassicLinkRequestRequestTypeDef

def get_value() -> DisableVpcClassicLinkRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class DisableVpcClassicLinkRequestRequestTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],

DisableVpcClassicLinkRequestVpcDisableClassicLinkTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableVpcClassicLinkRequestVpcDisableClassicLinkTypeDef

def get_value() -> DisableVpcClassicLinkRequestVpcDisableClassicLinkTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DisableVpcClassicLinkRequestVpcDisableClassicLinkTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DisassociateAddressRequestClassicAddressDisassociateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateAddressRequestClassicAddressDisassociateTypeDef

def get_value() -> DisassociateAddressRequestClassicAddressDisassociateTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class DisassociateAddressRequestClassicAddressDisassociateTypeDef(TypedDict):
    AssociationId: NotRequired[str],
    PublicIp: NotRequired[str],
    DryRun: NotRequired[bool],

DisassociateAddressRequestNetworkInterfaceAssociationDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateAddressRequestNetworkInterfaceAssociationDeleteTypeDef

def get_value() -> DisassociateAddressRequestNetworkInterfaceAssociationDeleteTypeDef:
    return {
        "PublicIp": ...,
    }
Definition
class DisassociateAddressRequestNetworkInterfaceAssociationDeleteTypeDef(TypedDict):
    PublicIp: NotRequired[str],
    DryRun: NotRequired[bool],

DisassociateAddressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateAddressRequestRequestTypeDef

def get_value() -> DisassociateAddressRequestRequestTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class DisassociateAddressRequestRequestTypeDef(TypedDict):
    AssociationId: NotRequired[str],
    PublicIp: NotRequired[str],
    DryRun: NotRequired[bool],

DisassociateClientVpnTargetNetworkRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateClientVpnTargetNetworkRequestRequestTypeDef

def get_value() -> DisassociateClientVpnTargetNetworkRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "AssociationId": ...,
    }
Definition
class DisassociateClientVpnTargetNetworkRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    AssociationId: str,
    DryRun: NotRequired[bool],

DisassociateEnclaveCertificateIamRoleRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateEnclaveCertificateIamRoleRequestRequestTypeDef

def get_value() -> DisassociateEnclaveCertificateIamRoleRequestRequestTypeDef:
    return {
        "CertificateArn": ...,
        "RoleArn": ...,
    }
Definition
class DisassociateEnclaveCertificateIamRoleRequestRequestTypeDef(TypedDict):
    CertificateArn: str,
    RoleArn: str,
    DryRun: NotRequired[bool],

DisassociateIamInstanceProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateIamInstanceProfileRequestRequestTypeDef

def get_value() -> DisassociateIamInstanceProfileRequestRequestTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class DisassociateIamInstanceProfileRequestRequestTypeDef(TypedDict):
    AssociationId: str,

DisassociateIpamResourceDiscoveryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateIpamResourceDiscoveryRequestRequestTypeDef

def get_value() -> DisassociateIpamResourceDiscoveryRequestRequestTypeDef:
    return {
        "IpamResourceDiscoveryAssociationId": ...,
    }
Definition
class DisassociateIpamResourceDiscoveryRequestRequestTypeDef(TypedDict):
    IpamResourceDiscoveryAssociationId: str,
    DryRun: NotRequired[bool],

DisassociateNatGatewayAddressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateNatGatewayAddressRequestRequestTypeDef

def get_value() -> DisassociateNatGatewayAddressRequestRequestTypeDef:
    return {
        "NatGatewayId": ...,
        "AssociationIds": ...,
    }
Definition
class DisassociateNatGatewayAddressRequestRequestTypeDef(TypedDict):
    NatGatewayId: str,
    AssociationIds: Sequence[str],
    MaxDrainDurationSeconds: NotRequired[int],
    DryRun: NotRequired[bool],

DisassociateRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateRouteTableRequestRequestTypeDef

def get_value() -> DisassociateRouteTableRequestRequestTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class DisassociateRouteTableRequestRequestTypeDef(TypedDict):
    AssociationId: str,
    DryRun: NotRequired[bool],

DisassociateRouteTableRequestRouteTableAssociationDeleteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateRouteTableRequestRouteTableAssociationDeleteTypeDef

def get_value() -> DisassociateRouteTableRequestRouteTableAssociationDeleteTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DisassociateRouteTableRequestRouteTableAssociationDeleteTypeDef(TypedDict):
    DryRun: NotRequired[bool],

DisassociateRouteTableRequestServiceResourceDisassociateRouteTableTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateRouteTableRequestServiceResourceDisassociateRouteTableTypeDef

def get_value() -> DisassociateRouteTableRequestServiceResourceDisassociateRouteTableTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class DisassociateRouteTableRequestServiceResourceDisassociateRouteTableTypeDef(TypedDict):
    AssociationId: str,
    DryRun: NotRequired[bool],

DisassociateSubnetCidrBlockRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateSubnetCidrBlockRequestRequestTypeDef

def get_value() -> DisassociateSubnetCidrBlockRequestRequestTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class DisassociateSubnetCidrBlockRequestRequestTypeDef(TypedDict):
    AssociationId: str,

DisassociateTransitGatewayMulticastDomainRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateTransitGatewayMulticastDomainRequestRequestTypeDef

def get_value() -> DisassociateTransitGatewayMulticastDomainRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
        "TransitGatewayAttachmentId": ...,
        "SubnetIds": ...,
    }
Definition
class DisassociateTransitGatewayMulticastDomainRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: str,
    TransitGatewayAttachmentId: str,
    SubnetIds: Sequence[str],
    DryRun: NotRequired[bool],

DisassociateTransitGatewayPolicyTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateTransitGatewayPolicyTableRequestRequestTypeDef

def get_value() -> DisassociateTransitGatewayPolicyTableRequestRequestTypeDef:
    return {
        "TransitGatewayPolicyTableId": ...,
        "TransitGatewayAttachmentId": ...,
    }
Definition
class DisassociateTransitGatewayPolicyTableRequestRequestTypeDef(TypedDict):
    TransitGatewayPolicyTableId: str,
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

DisassociateTransitGatewayRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateTransitGatewayRouteTableRequestRequestTypeDef

def get_value() -> DisassociateTransitGatewayRouteTableRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
        "TransitGatewayAttachmentId": ...,
    }
Definition
class DisassociateTransitGatewayRouteTableRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

DisassociateTrunkInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateTrunkInterfaceRequestRequestTypeDef

def get_value() -> DisassociateTrunkInterfaceRequestRequestTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class DisassociateTrunkInterfaceRequestRequestTypeDef(TypedDict):
    AssociationId: str,
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

DisassociateVpcCidrBlockRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateVpcCidrBlockRequestRequestTypeDef

def get_value() -> DisassociateVpcCidrBlockRequestRequestTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class DisassociateVpcCidrBlockRequestRequestTypeDef(TypedDict):
    AssociationId: str,

DiskImageDescriptionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DiskImageDescriptionTypeDef

def get_value() -> DiskImageDescriptionTypeDef:
    return {
        "Checksum": ...,
    }
Definition
class DiskImageDescriptionTypeDef(TypedDict):
    Checksum: NotRequired[str],
    Format: NotRequired[DiskImageFormatType],  # (1)
    ImportManifestUrl: NotRequired[str],
    Size: NotRequired[int],
  1. See DiskImageFormatType

DiskImageDetailTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DiskImageDetailTypeDef

def get_value() -> DiskImageDetailTypeDef:
    return {
        "Bytes": ...,
        "Format": ...,
        "ImportManifestUrl": ...,
    }
Definition
class DiskImageDetailTypeDef(TypedDict):
    Bytes: int,
    Format: DiskImageFormatType,  # (1)
    ImportManifestUrl: str,
  1. See DiskImageFormatType

VolumeDetailTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeDetailTypeDef

def get_value() -> VolumeDetailTypeDef:
    return {
        "Size": ...,
    }
Definition
class VolumeDetailTypeDef(TypedDict):
    Size: int,

DiskImageVolumeDescriptionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DiskImageVolumeDescriptionTypeDef

def get_value() -> DiskImageVolumeDescriptionTypeDef:
    return {
        "Id": ...,
    }
Definition
class DiskImageVolumeDescriptionTypeDef(TypedDict):
    Id: NotRequired[str],
    Size: NotRequired[int],

DiskInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DiskInfoTypeDef

def get_value() -> DiskInfoTypeDef:
    return {
        "SizeInGB": ...,
    }
Definition
class DiskInfoTypeDef(TypedDict):
    SizeInGB: NotRequired[int],
    Count: NotRequired[int],
    Type: NotRequired[DiskTypeType],  # (1)
  1. See DiskTypeType

DnsEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DnsEntryTypeDef

def get_value() -> DnsEntryTypeDef:
    return {
        "DnsName": ...,
    }
Definition
class DnsEntryTypeDef(TypedDict):
    DnsName: NotRequired[str],
    HostedZoneId: NotRequired[str],

DnsOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DnsOptionsTypeDef

def get_value() -> DnsOptionsTypeDef:
    return {
        "DnsRecordIpType": ...,
    }
Definition
class DnsOptionsTypeDef(TypedDict):
    DnsRecordIpType: NotRequired[DnsRecordIpTypeType],  # (1)
  1. See DnsRecordIpTypeType

DnsServersOptionsModifyStructureTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DnsServersOptionsModifyStructureTypeDef

def get_value() -> DnsServersOptionsModifyStructureTypeDef:
    return {
        "CustomDnsServers": ...,
    }
Definition
class DnsServersOptionsModifyStructureTypeDef(TypedDict):
    CustomDnsServers: NotRequired[Sequence[str]],
    Enabled: NotRequired[bool],

EbsOptimizedInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EbsOptimizedInfoTypeDef

def get_value() -> EbsOptimizedInfoTypeDef:
    return {
        "BaselineBandwidthInMbps": ...,
    }
Definition
class EbsOptimizedInfoTypeDef(TypedDict):
    BaselineBandwidthInMbps: NotRequired[int],
    BaselineThroughputInMBps: NotRequired[float],
    BaselineIops: NotRequired[int],
    MaximumBandwidthInMbps: NotRequired[int],
    MaximumThroughputInMBps: NotRequired[float],
    MaximumIops: NotRequired[int],

EbsInstanceBlockDeviceSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EbsInstanceBlockDeviceSpecificationTypeDef

def get_value() -> EbsInstanceBlockDeviceSpecificationTypeDef:
    return {
        "DeleteOnTermination": ...,
    }
Definition
class EbsInstanceBlockDeviceSpecificationTypeDef(TypedDict):
    DeleteOnTermination: NotRequired[bool],
    VolumeId: NotRequired[str],

EbsInstanceBlockDeviceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EbsInstanceBlockDeviceTypeDef

def get_value() -> EbsInstanceBlockDeviceTypeDef:
    return {
        "AttachTime": ...,
    }
Definition
class EbsInstanceBlockDeviceTypeDef(TypedDict):
    AttachTime: NotRequired[datetime],
    DeleteOnTermination: NotRequired[bool],
    Status: NotRequired[AttachmentStatusType],  # (1)
    VolumeId: NotRequired[str],
  1. See AttachmentStatusType

EfaInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EfaInfoTypeDef

def get_value() -> EfaInfoTypeDef:
    return {
        "MaximumEfaInterfaces": ...,
    }
Definition
class EfaInfoTypeDef(TypedDict):
    MaximumEfaInterfaces: NotRequired[int],

InternetGatewayAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InternetGatewayAttachmentTypeDef

def get_value() -> InternetGatewayAttachmentTypeDef:
    return {
        "State": ...,
    }
Definition
class InternetGatewayAttachmentTypeDef(TypedDict):
    State: NotRequired[AttachmentStatusType],  # (1)
    VpcId: NotRequired[str],
  1. See AttachmentStatusType

ElasticGpuAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ElasticGpuAssociationTypeDef

def get_value() -> ElasticGpuAssociationTypeDef:
    return {
        "ElasticGpuId": ...,
    }
Definition
class ElasticGpuAssociationTypeDef(TypedDict):
    ElasticGpuId: NotRequired[str],
    ElasticGpuAssociationId: NotRequired[str],
    ElasticGpuAssociationState: NotRequired[str],
    ElasticGpuAssociationTime: NotRequired[str],

ElasticGpuHealthTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ElasticGpuHealthTypeDef

def get_value() -> ElasticGpuHealthTypeDef:
    return {
        "Status": ...,
    }
Definition
class ElasticGpuHealthTypeDef(TypedDict):
    Status: NotRequired[ElasticGpuStatusType],  # (1)
  1. See ElasticGpuStatusType

ElasticGpuSpecificationResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ElasticGpuSpecificationResponseTypeDef

def get_value() -> ElasticGpuSpecificationResponseTypeDef:
    return {
        "Type": ...,
    }
Definition
class ElasticGpuSpecificationResponseTypeDef(TypedDict):
    Type: NotRequired[str],

ElasticGpuSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ElasticGpuSpecificationTypeDef

def get_value() -> ElasticGpuSpecificationTypeDef:
    return {
        "Type": ...,
    }
Definition
class ElasticGpuSpecificationTypeDef(TypedDict):
    Type: str,

ElasticInferenceAcceleratorAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ElasticInferenceAcceleratorAssociationTypeDef

def get_value() -> ElasticInferenceAcceleratorAssociationTypeDef:
    return {
        "ElasticInferenceAcceleratorArn": ...,
    }
Definition
class ElasticInferenceAcceleratorAssociationTypeDef(TypedDict):
    ElasticInferenceAcceleratorArn: NotRequired[str],
    ElasticInferenceAcceleratorAssociationId: NotRequired[str],
    ElasticInferenceAcceleratorAssociationState: NotRequired[str],
    ElasticInferenceAcceleratorAssociationTime: NotRequired[datetime],

ElasticInferenceAcceleratorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ElasticInferenceAcceleratorTypeDef

def get_value() -> ElasticInferenceAcceleratorTypeDef:
    return {
        "Type": ...,
    }
Definition
class ElasticInferenceAcceleratorTypeDef(TypedDict):
    Type: str,
    Count: NotRequired[int],

EnaSrdUdpSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnaSrdUdpSpecificationTypeDef

def get_value() -> EnaSrdUdpSpecificationTypeDef:
    return {
        "EnaSrdUdpEnabled": ...,
    }
Definition
class EnaSrdUdpSpecificationTypeDef(TypedDict):
    EnaSrdUdpEnabled: NotRequired[bool],

EnableAddressTransferRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableAddressTransferRequestRequestTypeDef

def get_value() -> EnableAddressTransferRequestRequestTypeDef:
    return {
        "AllocationId": ...,
        "TransferAccountId": ...,
    }
Definition
class EnableAddressTransferRequestRequestTypeDef(TypedDict):
    AllocationId: str,
    TransferAccountId: str,
    DryRun: NotRequired[bool],

EnableAwsNetworkPerformanceMetricSubscriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableAwsNetworkPerformanceMetricSubscriptionRequestRequestTypeDef

def get_value() -> EnableAwsNetworkPerformanceMetricSubscriptionRequestRequestTypeDef:
    return {
        "Source": ...,
    }
Definition
class EnableAwsNetworkPerformanceMetricSubscriptionRequestRequestTypeDef(TypedDict):
    Source: NotRequired[str],
    Destination: NotRequired[str],
    Metric: NotRequired[MetricTypeType],  # (1)
    Statistic: NotRequired[StatisticTypeType],  # (2)
    DryRun: NotRequired[bool],
  1. See MetricTypeType
  2. See StatisticTypeType

EnableEbsEncryptionByDefaultRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableEbsEncryptionByDefaultRequestRequestTypeDef

def get_value() -> EnableEbsEncryptionByDefaultRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class EnableEbsEncryptionByDefaultRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

FastLaunchLaunchTemplateSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FastLaunchLaunchTemplateSpecificationRequestTypeDef

def get_value() -> FastLaunchLaunchTemplateSpecificationRequestTypeDef:
    return {
        "Version": ...,
    }
Definition
class FastLaunchLaunchTemplateSpecificationRequestTypeDef(TypedDict):
    Version: str,
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],

FastLaunchSnapshotConfigurationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FastLaunchSnapshotConfigurationRequestTypeDef

def get_value() -> FastLaunchSnapshotConfigurationRequestTypeDef:
    return {
        "TargetResourceCount": ...,
    }
Definition
class FastLaunchSnapshotConfigurationRequestTypeDef(TypedDict):
    TargetResourceCount: NotRequired[int],

EnableFastSnapshotRestoreStateErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableFastSnapshotRestoreStateErrorTypeDef

def get_value() -> EnableFastSnapshotRestoreStateErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class EnableFastSnapshotRestoreStateErrorTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],

EnableFastSnapshotRestoreSuccessItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableFastSnapshotRestoreSuccessItemTypeDef

def get_value() -> EnableFastSnapshotRestoreSuccessItemTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class EnableFastSnapshotRestoreSuccessItemTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    State: NotRequired[FastSnapshotRestoreStateCodeType],  # (1)
    StateTransitionReason: NotRequired[str],
    OwnerId: NotRequired[str],
    OwnerAlias: NotRequired[str],
    EnablingTime: NotRequired[datetime],
    OptimizingTime: NotRequired[datetime],
    EnabledTime: NotRequired[datetime],
    DisablingTime: NotRequired[datetime],
    DisabledTime: NotRequired[datetime],
  1. See FastSnapshotRestoreStateCodeType

EnableFastSnapshotRestoresRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableFastSnapshotRestoresRequestRequestTypeDef

def get_value() -> EnableFastSnapshotRestoresRequestRequestTypeDef:
    return {
        "AvailabilityZones": ...,
        "SourceSnapshotIds": ...,
    }
Definition
class EnableFastSnapshotRestoresRequestRequestTypeDef(TypedDict):
    AvailabilityZones: Sequence[str],
    SourceSnapshotIds: Sequence[str],
    DryRun: NotRequired[bool],

EnableImageDeprecationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableImageDeprecationRequestRequestTypeDef

def get_value() -> EnableImageDeprecationRequestRequestTypeDef:
    return {
        "ImageId": ...,
        "DeprecateAt": ...,
    }
Definition
class EnableImageDeprecationRequestRequestTypeDef(TypedDict):
    ImageId: str,
    DeprecateAt: Union[datetime, str],
    DryRun: NotRequired[bool],

EnableIpamOrganizationAdminAccountRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableIpamOrganizationAdminAccountRequestRequestTypeDef

def get_value() -> EnableIpamOrganizationAdminAccountRequestRequestTypeDef:
    return {
        "DelegatedAdminAccountId": ...,
    }
Definition
class EnableIpamOrganizationAdminAccountRequestRequestTypeDef(TypedDict):
    DelegatedAdminAccountId: str,
    DryRun: NotRequired[bool],

EnableReachabilityAnalyzerOrganizationSharingRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableReachabilityAnalyzerOrganizationSharingRequestRequestTypeDef

def get_value() -> EnableReachabilityAnalyzerOrganizationSharingRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class EnableReachabilityAnalyzerOrganizationSharingRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

EnableSerialConsoleAccessRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableSerialConsoleAccessRequestRequestTypeDef

def get_value() -> EnableSerialConsoleAccessRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class EnableSerialConsoleAccessRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

EnableTransitGatewayRouteTablePropagationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableTransitGatewayRouteTablePropagationRequestRequestTypeDef

def get_value() -> EnableTransitGatewayRouteTablePropagationRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class EnableTransitGatewayRouteTablePropagationRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    TransitGatewayAttachmentId: NotRequired[str],
    DryRun: NotRequired[bool],
    TransitGatewayRouteTableAnnouncementId: NotRequired[str],

EnableVgwRoutePropagationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableVgwRoutePropagationRequestRequestTypeDef

def get_value() -> EnableVgwRoutePropagationRequestRequestTypeDef:
    return {
        "GatewayId": ...,
        "RouteTableId": ...,
    }
Definition
class EnableVgwRoutePropagationRequestRequestTypeDef(TypedDict):
    GatewayId: str,
    RouteTableId: str,
    DryRun: NotRequired[bool],

EnableVolumeIORequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableVolumeIORequestRequestTypeDef

def get_value() -> EnableVolumeIORequestRequestTypeDef:
    return {
        "VolumeId": ...,
    }
Definition
class EnableVolumeIORequestRequestTypeDef(TypedDict):
    VolumeId: str,
    DryRun: NotRequired[bool],

EnableVolumeIORequestVolumeEnableIoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableVolumeIORequestVolumeEnableIoTypeDef

def get_value() -> EnableVolumeIORequestVolumeEnableIoTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class EnableVolumeIORequestVolumeEnableIoTypeDef(TypedDict):
    DryRun: NotRequired[bool],

EnableVpcClassicLinkDnsSupportRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableVpcClassicLinkDnsSupportRequestRequestTypeDef

def get_value() -> EnableVpcClassicLinkDnsSupportRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class EnableVpcClassicLinkDnsSupportRequestRequestTypeDef(TypedDict):
    VpcId: NotRequired[str],

EnableVpcClassicLinkRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableVpcClassicLinkRequestRequestTypeDef

def get_value() -> EnableVpcClassicLinkRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class EnableVpcClassicLinkRequestRequestTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],

EnableVpcClassicLinkRequestVpcEnableClassicLinkTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableVpcClassicLinkRequestVpcEnableClassicLinkTypeDef

def get_value() -> EnableVpcClassicLinkRequestVpcEnableClassicLinkTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class EnableVpcClassicLinkRequestVpcEnableClassicLinkTypeDef(TypedDict):
    DryRun: NotRequired[bool],

EnclaveOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnclaveOptionsRequestTypeDef

def get_value() -> EnclaveOptionsRequestTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class EnclaveOptionsRequestTypeDef(TypedDict):
    Enabled: NotRequired[bool],

EnclaveOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnclaveOptionsTypeDef

def get_value() -> EnclaveOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class EnclaveOptionsTypeDef(TypedDict):
    Enabled: NotRequired[bool],

EventInformationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EventInformationTypeDef

def get_value() -> EventInformationTypeDef:
    return {
        "EventDescription": ...,
    }
Definition
class EventInformationTypeDef(TypedDict):
    EventDescription: NotRequired[str],
    EventSubType: NotRequired[str],
    InstanceId: NotRequired[str],

TransitGatewayRouteTableRouteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayRouteTableRouteTypeDef

def get_value() -> TransitGatewayRouteTableRouteTypeDef:
    return {
        "DestinationCidr": ...,
    }
Definition
class TransitGatewayRouteTableRouteTypeDef(TypedDict):
    DestinationCidr: NotRequired[str],
    State: NotRequired[str],
    RouteOrigin: NotRequired[str],
    PrefixListId: NotRequired[str],
    AttachmentId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[str],

ExportClientVpnClientCertificateRevocationListRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportClientVpnClientCertificateRevocationListRequestRequestTypeDef

def get_value() -> ExportClientVpnClientCertificateRevocationListRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class ExportClientVpnClientCertificateRevocationListRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    DryRun: NotRequired[bool],

ExportClientVpnClientConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportClientVpnClientConfigurationRequestRequestTypeDef

def get_value() -> ExportClientVpnClientConfigurationRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class ExportClientVpnClientConfigurationRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    DryRun: NotRequired[bool],

ExportTaskS3LocationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportTaskS3LocationRequestTypeDef

def get_value() -> ExportTaskS3LocationRequestTypeDef:
    return {
        "S3Bucket": ...,
    }
Definition
class ExportTaskS3LocationRequestTypeDef(TypedDict):
    S3Bucket: str,
    S3Prefix: NotRequired[str],

ExportTaskS3LocationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportTaskS3LocationTypeDef

def get_value() -> ExportTaskS3LocationTypeDef:
    return {
        "S3Bucket": ...,
    }
Definition
class ExportTaskS3LocationTypeDef(TypedDict):
    S3Bucket: NotRequired[str],
    S3Prefix: NotRequired[str],

ExportToS3TaskTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportToS3TaskTypeDef

def get_value() -> ExportToS3TaskTypeDef:
    return {
        "ContainerFormat": ...,
    }
Definition
class ExportToS3TaskTypeDef(TypedDict):
    ContainerFormat: NotRequired[ContainerFormatType],  # (1)
    DiskImageFormat: NotRequired[DiskImageFormatType],  # (2)
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],
  1. See ContainerFormatType
  2. See DiskImageFormatType

InstanceExportDetailsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceExportDetailsTypeDef

def get_value() -> InstanceExportDetailsTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class InstanceExportDetailsTypeDef(TypedDict):
    InstanceId: NotRequired[str],
    TargetEnvironment: NotRequired[ExportEnvironmentType],  # (1)
  1. See ExportEnvironmentType

TargetCapacitySpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TargetCapacitySpecificationTypeDef

def get_value() -> TargetCapacitySpecificationTypeDef:
    return {
        "TotalTargetCapacity": ...,
    }
Definition
class TargetCapacitySpecificationTypeDef(TypedDict):
    TotalTargetCapacity: NotRequired[int],
    OnDemandTargetCapacity: NotRequired[int],
    SpotTargetCapacity: NotRequired[int],
    DefaultTargetCapacityType: NotRequired[DefaultTargetCapacityTypeType],  # (1)
    TargetCapacityUnitType: NotRequired[TargetCapacityUnitTypeType],  # (2)
  1. See DefaultTargetCapacityTypeType
  2. See TargetCapacityUnitTypeType

FleetLaunchTemplateSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetLaunchTemplateSpecificationRequestTypeDef

def get_value() -> FleetLaunchTemplateSpecificationRequestTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
Definition
class FleetLaunchTemplateSpecificationRequestTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    Version: NotRequired[str],

FleetLaunchTemplateSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetLaunchTemplateSpecificationTypeDef

def get_value() -> FleetLaunchTemplateSpecificationTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
Definition
class FleetLaunchTemplateSpecificationTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    Version: NotRequired[str],

PlacementTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PlacementTypeDef

def get_value() -> PlacementTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class PlacementTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    Affinity: NotRequired[str],
    GroupName: NotRequired[str],
    PartitionNumber: NotRequired[int],
    HostId: NotRequired[str],
    Tenancy: NotRequired[TenancyType],  # (1)
    SpreadDomain: NotRequired[str],
    HostResourceGroupArn: NotRequired[str],
    GroupId: NotRequired[str],
  1. See TenancyType

PlacementResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PlacementResponseTypeDef

def get_value() -> PlacementResponseTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class PlacementResponseTypeDef(TypedDict):
    GroupName: NotRequired[str],

FleetSpotCapacityRebalanceRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetSpotCapacityRebalanceRequestTypeDef

def get_value() -> FleetSpotCapacityRebalanceRequestTypeDef:
    return {
        "ReplacementStrategy": ...,
    }
Definition
class FleetSpotCapacityRebalanceRequestTypeDef(TypedDict):
    ReplacementStrategy: NotRequired[FleetReplacementStrategyType],  # (1)
    TerminationDelay: NotRequired[int],
  1. See FleetReplacementStrategyType

FleetSpotCapacityRebalanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetSpotCapacityRebalanceTypeDef

def get_value() -> FleetSpotCapacityRebalanceTypeDef:
    return {
        "ReplacementStrategy": ...,
    }
Definition
class FleetSpotCapacityRebalanceTypeDef(TypedDict):
    ReplacementStrategy: NotRequired[FleetReplacementStrategyType],  # (1)
    TerminationDelay: NotRequired[int],
  1. See FleetReplacementStrategyType

FpgaDeviceMemoryInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FpgaDeviceMemoryInfoTypeDef

def get_value() -> FpgaDeviceMemoryInfoTypeDef:
    return {
        "SizeInMiB": ...,
    }
Definition
class FpgaDeviceMemoryInfoTypeDef(TypedDict):
    SizeInMiB: NotRequired[int],

LoadPermissionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LoadPermissionTypeDef

def get_value() -> LoadPermissionTypeDef:
    return {
        "UserId": ...,
    }
Definition
class LoadPermissionTypeDef(TypedDict):
    UserId: NotRequired[str],
    Group: NotRequired[PermissionGroupType],  # (1)
  1. See PermissionGroupType

FpgaImageStateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FpgaImageStateTypeDef

def get_value() -> FpgaImageStateTypeDef:
    return {
        "Code": ...,
    }
Definition
class FpgaImageStateTypeDef(TypedDict):
    Code: NotRequired[FpgaImageStateCodeType],  # (1)
    Message: NotRequired[str],
  1. See FpgaImageStateCodeType

PciIdTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PciIdTypeDef

def get_value() -> PciIdTypeDef:
    return {
        "DeviceId": ...,
    }
Definition
class PciIdTypeDef(TypedDict):
    DeviceId: NotRequired[str],
    VendorId: NotRequired[str],
    SubsystemId: NotRequired[str],
    SubsystemVendorId: NotRequired[str],

GetAssociatedEnclaveCertificateIamRolesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetAssociatedEnclaveCertificateIamRolesRequestRequestTypeDef

def get_value() -> GetAssociatedEnclaveCertificateIamRolesRequestRequestTypeDef:
    return {
        "CertificateArn": ...,
    }
Definition
class GetAssociatedEnclaveCertificateIamRolesRequestRequestTypeDef(TypedDict):
    CertificateArn: str,
    DryRun: NotRequired[bool],

GetAssociatedIpv6PoolCidrsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetAssociatedIpv6PoolCidrsRequestRequestTypeDef

def get_value() -> GetAssociatedIpv6PoolCidrsRequestRequestTypeDef:
    return {
        "PoolId": ...,
    }
Definition
class GetAssociatedIpv6PoolCidrsRequestRequestTypeDef(TypedDict):
    PoolId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],

Ipv6CidrAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv6CidrAssociationTypeDef

def get_value() -> Ipv6CidrAssociationTypeDef:
    return {
        "Ipv6Cidr": ...,
    }
Definition
class Ipv6CidrAssociationTypeDef(TypedDict):
    Ipv6Cidr: NotRequired[str],
    AssociatedResource: NotRequired[str],

GetCapacityReservationUsageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetCapacityReservationUsageRequestRequestTypeDef

def get_value() -> GetCapacityReservationUsageRequestRequestTypeDef:
    return {
        "CapacityReservationId": ...,
    }
Definition
class GetCapacityReservationUsageRequestRequestTypeDef(TypedDict):
    CapacityReservationId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],

InstanceUsageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceUsageTypeDef

def get_value() -> InstanceUsageTypeDef:
    return {
        "AccountId": ...,
    }
Definition
class InstanceUsageTypeDef(TypedDict):
    AccountId: NotRequired[str],
    UsedInstanceCount: NotRequired[int],

GetConsoleOutputRequestInstanceConsoleOutputTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetConsoleOutputRequestInstanceConsoleOutputTypeDef

def get_value() -> GetConsoleOutputRequestInstanceConsoleOutputTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class GetConsoleOutputRequestInstanceConsoleOutputTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Latest: NotRequired[bool],

GetConsoleOutputRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetConsoleOutputRequestRequestTypeDef

def get_value() -> GetConsoleOutputRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class GetConsoleOutputRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    DryRun: NotRequired[bool],
    Latest: NotRequired[bool],

GetConsoleScreenshotRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetConsoleScreenshotRequestRequestTypeDef

def get_value() -> GetConsoleScreenshotRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class GetConsoleScreenshotRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    DryRun: NotRequired[bool],
    WakeUp: NotRequired[bool],

GetDefaultCreditSpecificationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetDefaultCreditSpecificationRequestRequestTypeDef

def get_value() -> GetDefaultCreditSpecificationRequestRequestTypeDef:
    return {
        "InstanceFamily": ...,
    }
Definition
class GetDefaultCreditSpecificationRequestRequestTypeDef(TypedDict):
    InstanceFamily: UnlimitedSupportedInstanceFamilyType,  # (1)
    DryRun: NotRequired[bool],
  1. See UnlimitedSupportedInstanceFamilyType

InstanceFamilyCreditSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceFamilyCreditSpecificationTypeDef

def get_value() -> InstanceFamilyCreditSpecificationTypeDef:
    return {
        "InstanceFamily": ...,
    }
Definition
class InstanceFamilyCreditSpecificationTypeDef(TypedDict):
    InstanceFamily: NotRequired[UnlimitedSupportedInstanceFamilyType],  # (1)
    CpuCredits: NotRequired[str],
  1. See UnlimitedSupportedInstanceFamilyType

GetEbsDefaultKmsKeyIdRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetEbsDefaultKmsKeyIdRequestRequestTypeDef

def get_value() -> GetEbsDefaultKmsKeyIdRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class GetEbsDefaultKmsKeyIdRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

GetEbsEncryptionByDefaultRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetEbsEncryptionByDefaultRequestRequestTypeDef

def get_value() -> GetEbsEncryptionByDefaultRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class GetEbsEncryptionByDefaultRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

GetGroupsForCapacityReservationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetGroupsForCapacityReservationRequestRequestTypeDef

def get_value() -> GetGroupsForCapacityReservationRequestRequestTypeDef:
    return {
        "CapacityReservationId": ...,
    }
Definition
class GetGroupsForCapacityReservationRequestRequestTypeDef(TypedDict):
    CapacityReservationId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],

GetHostReservationPurchasePreviewRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetHostReservationPurchasePreviewRequestRequestTypeDef

def get_value() -> GetHostReservationPurchasePreviewRequestRequestTypeDef:
    return {
        "HostIdSet": ...,
        "OfferingId": ...,
    }
Definition
class GetHostReservationPurchasePreviewRequestRequestTypeDef(TypedDict):
    HostIdSet: Sequence[str],
    OfferingId: str,

PurchaseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PurchaseTypeDef

def get_value() -> PurchaseTypeDef:
    return {
        "CurrencyCode": ...,
    }
Definition
class PurchaseTypeDef(TypedDict):
    CurrencyCode: NotRequired[CurrencyCodeValuesType],  # (1)
    Duration: NotRequired[int],
    HostIdSet: NotRequired[List[str]],
    HostReservationId: NotRequired[str],
    HourlyPrice: NotRequired[str],
    InstanceFamily: NotRequired[str],
    PaymentOption: NotRequired[PaymentOptionType],  # (2)
    UpfrontPrice: NotRequired[str],
  1. See CurrencyCodeValuesType
  2. See PaymentOptionType

InstanceTypeInfoFromInstanceRequirementsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceTypeInfoFromInstanceRequirementsTypeDef

def get_value() -> InstanceTypeInfoFromInstanceRequirementsTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class InstanceTypeInfoFromInstanceRequirementsTypeDef(TypedDict):
    InstanceType: NotRequired[str],

GetInstanceUefiDataRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetInstanceUefiDataRequestRequestTypeDef

def get_value() -> GetInstanceUefiDataRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class GetInstanceUefiDataRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    DryRun: NotRequired[bool],

GetIpamAddressHistoryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamAddressHistoryRequestRequestTypeDef

def get_value() -> GetIpamAddressHistoryRequestRequestTypeDef:
    return {
        "Cidr": ...,
        "IpamScopeId": ...,
    }
Definition
class GetIpamAddressHistoryRequestRequestTypeDef(TypedDict):
    Cidr: str,
    IpamScopeId: str,
    DryRun: NotRequired[bool],
    VpcId: NotRequired[str],
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

IpamAddressHistoryRecordTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamAddressHistoryRecordTypeDef

def get_value() -> IpamAddressHistoryRecordTypeDef:
    return {
        "ResourceOwnerId": ...,
    }
Definition
class IpamAddressHistoryRecordTypeDef(TypedDict):
    ResourceOwnerId: NotRequired[str],
    ResourceRegion: NotRequired[str],
    ResourceType: NotRequired[IpamAddressHistoryResourceTypeType],  # (1)
    ResourceId: NotRequired[str],
    ResourceCidr: NotRequired[str],
    ResourceName: NotRequired[str],
    ResourceComplianceStatus: NotRequired[IpamComplianceStatusType],  # (2)
    ResourceOverlapStatus: NotRequired[IpamOverlapStatusType],  # (3)
    VpcId: NotRequired[str],
    SampledStartTime: NotRequired[datetime],
    SampledEndTime: NotRequired[datetime],
  1. See IpamAddressHistoryResourceTypeType
  2. See IpamComplianceStatusType
  3. See IpamOverlapStatusType

GetLaunchTemplateDataRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetLaunchTemplateDataRequestRequestTypeDef

def get_value() -> GetLaunchTemplateDataRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class GetLaunchTemplateDataRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    DryRun: NotRequired[bool],

GetManagedPrefixListAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetManagedPrefixListAssociationsRequestRequestTypeDef

def get_value() -> GetManagedPrefixListAssociationsRequestRequestTypeDef:
    return {
        "PrefixListId": ...,
    }
Definition
class GetManagedPrefixListAssociationsRequestRequestTypeDef(TypedDict):
    PrefixListId: str,
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

PrefixListAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrefixListAssociationTypeDef

def get_value() -> PrefixListAssociationTypeDef:
    return {
        "ResourceId": ...,
    }
Definition
class PrefixListAssociationTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    ResourceOwner: NotRequired[str],

GetManagedPrefixListEntriesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetManagedPrefixListEntriesRequestRequestTypeDef

def get_value() -> GetManagedPrefixListEntriesRequestRequestTypeDef:
    return {
        "PrefixListId": ...,
    }
Definition
class GetManagedPrefixListEntriesRequestRequestTypeDef(TypedDict):
    PrefixListId: str,
    DryRun: NotRequired[bool],
    TargetVersion: NotRequired[int],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

PrefixListEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrefixListEntryTypeDef

def get_value() -> PrefixListEntryTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class PrefixListEntryTypeDef(TypedDict):
    Cidr: NotRequired[str],
    Description: NotRequired[str],

GetNetworkInsightsAccessScopeAnalysisFindingsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetNetworkInsightsAccessScopeAnalysisFindingsRequestRequestTypeDef

def get_value() -> GetNetworkInsightsAccessScopeAnalysisFindingsRequestRequestTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalysisId": ...,
    }
Definition
class GetNetworkInsightsAccessScopeAnalysisFindingsRequestRequestTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalysisId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],

GetNetworkInsightsAccessScopeContentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetNetworkInsightsAccessScopeContentRequestRequestTypeDef

def get_value() -> GetNetworkInsightsAccessScopeContentRequestRequestTypeDef:
    return {
        "NetworkInsightsAccessScopeId": ...,
    }
Definition
class GetNetworkInsightsAccessScopeContentRequestRequestTypeDef(TypedDict):
    NetworkInsightsAccessScopeId: str,
    DryRun: NotRequired[bool],

GetPasswordDataRequestInstancePasswordDataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetPasswordDataRequestInstancePasswordDataTypeDef

def get_value() -> GetPasswordDataRequestInstancePasswordDataTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class GetPasswordDataRequestInstancePasswordDataTypeDef(TypedDict):
    DryRun: NotRequired[bool],

GetPasswordDataRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetPasswordDataRequestRequestTypeDef

def get_value() -> GetPasswordDataRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class GetPasswordDataRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    DryRun: NotRequired[bool],

ReservationValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservationValueTypeDef

def get_value() -> ReservationValueTypeDef:
    return {
        "HourlyPrice": ...,
    }
Definition
class ReservationValueTypeDef(TypedDict):
    HourlyPrice: NotRequired[str],
    RemainingTotalValue: NotRequired[str],
    RemainingUpfrontValue: NotRequired[str],

GetSerialConsoleAccessStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetSerialConsoleAccessStatusRequestRequestTypeDef

def get_value() -> GetSerialConsoleAccessStatusRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class GetSerialConsoleAccessStatusRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

SpotPlacementScoreTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotPlacementScoreTypeDef

def get_value() -> SpotPlacementScoreTypeDef:
    return {
        "Region": ...,
    }
Definition
class SpotPlacementScoreTypeDef(TypedDict):
    Region: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    Score: NotRequired[int],

TransitGatewayAttachmentPropagationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayAttachmentPropagationTypeDef

def get_value() -> TransitGatewayAttachmentPropagationTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class TransitGatewayAttachmentPropagationTypeDef(TypedDict):
    TransitGatewayRouteTableId: NotRequired[str],
    State: NotRequired[TransitGatewayPropagationStateType],  # (1)
  1. See TransitGatewayPropagationStateType

TransitGatewayRouteTableAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayRouteTableAssociationTypeDef

def get_value() -> TransitGatewayRouteTableAssociationTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayRouteTableAssociationTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    State: NotRequired[TransitGatewayAssociationStateType],  # (2)
  1. See TransitGatewayAttachmentResourceTypeType
  2. See TransitGatewayAssociationStateType

TransitGatewayRouteTablePropagationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayRouteTablePropagationTypeDef

def get_value() -> TransitGatewayRouteTablePropagationTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayRouteTablePropagationTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    State: NotRequired[TransitGatewayPropagationStateType],  # (2)
    TransitGatewayRouteTableAnnouncementId: NotRequired[str],
  1. See TransitGatewayAttachmentResourceTypeType
  2. See TransitGatewayPropagationStateType

GetVerifiedAccessEndpointPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetVerifiedAccessEndpointPolicyRequestRequestTypeDef

def get_value() -> GetVerifiedAccessEndpointPolicyRequestRequestTypeDef:
    return {
        "VerifiedAccessEndpointId": ...,
    }
Definition
class GetVerifiedAccessEndpointPolicyRequestRequestTypeDef(TypedDict):
    VerifiedAccessEndpointId: str,
    DryRun: NotRequired[bool],

GetVerifiedAccessGroupPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetVerifiedAccessGroupPolicyRequestRequestTypeDef

def get_value() -> GetVerifiedAccessGroupPolicyRequestRequestTypeDef:
    return {
        "VerifiedAccessGroupId": ...,
    }
Definition
class GetVerifiedAccessGroupPolicyRequestRequestTypeDef(TypedDict):
    VerifiedAccessGroupId: str,
    DryRun: NotRequired[bool],

GetVpnConnectionDeviceSampleConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetVpnConnectionDeviceSampleConfigurationRequestRequestTypeDef

def get_value() -> GetVpnConnectionDeviceSampleConfigurationRequestRequestTypeDef:
    return {
        "VpnConnectionId": ...,
        "VpnConnectionDeviceTypeId": ...,
    }
Definition
class GetVpnConnectionDeviceSampleConfigurationRequestRequestTypeDef(TypedDict):
    VpnConnectionId: str,
    VpnConnectionDeviceTypeId: str,
    InternetKeyExchangeVersion: NotRequired[str],
    DryRun: NotRequired[bool],

GetVpnConnectionDeviceTypesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetVpnConnectionDeviceTypesRequestRequestTypeDef

def get_value() -> GetVpnConnectionDeviceTypesRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class GetVpnConnectionDeviceTypesRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],

VpnConnectionDeviceTypeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpnConnectionDeviceTypeTypeDef

def get_value() -> VpnConnectionDeviceTypeTypeDef:
    return {
        "VpnConnectionDeviceTypeId": ...,
    }
Definition
class VpnConnectionDeviceTypeTypeDef(TypedDict):
    VpnConnectionDeviceTypeId: NotRequired[str],
    Vendor: NotRequired[str],
    Platform: NotRequired[str],
    Software: NotRequired[str],

GpuDeviceMemoryInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GpuDeviceMemoryInfoTypeDef

def get_value() -> GpuDeviceMemoryInfoTypeDef:
    return {
        "SizeInMiB": ...,
    }
Definition
class GpuDeviceMemoryInfoTypeDef(TypedDict):
    SizeInMiB: NotRequired[int],

HibernationOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HibernationOptionsRequestTypeDef

def get_value() -> HibernationOptionsRequestTypeDef:
    return {
        "Configured": ...,
    }
Definition
class HibernationOptionsRequestTypeDef(TypedDict):
    Configured: NotRequired[bool],

HibernationOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HibernationOptionsTypeDef

def get_value() -> HibernationOptionsTypeDef:
    return {
        "Configured": ...,
    }
Definition
class HibernationOptionsTypeDef(TypedDict):
    Configured: NotRequired[bool],

HostInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HostInstanceTypeDef

def get_value() -> HostInstanceTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class HostInstanceTypeDef(TypedDict):
    InstanceId: NotRequired[str],
    InstanceType: NotRequired[str],
    OwnerId: NotRequired[str],

HostPropertiesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HostPropertiesTypeDef

def get_value() -> HostPropertiesTypeDef:
    return {
        "Cores": ...,
    }
Definition
class HostPropertiesTypeDef(TypedDict):
    Cores: NotRequired[int],
    InstanceType: NotRequired[str],
    InstanceFamily: NotRequired[str],
    Sockets: NotRequired[int],
    TotalVCpus: NotRequired[int],

IKEVersionsListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IKEVersionsListValueTypeDef

def get_value() -> IKEVersionsListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class IKEVersionsListValueTypeDef(TypedDict):
    Value: NotRequired[str],

IKEVersionsRequestListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IKEVersionsRequestListValueTypeDef

def get_value() -> IKEVersionsRequestListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class IKEVersionsRequestListValueTypeDef(TypedDict):
    Value: NotRequired[str],

IamInstanceProfileTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IamInstanceProfileTypeDef

def get_value() -> IamInstanceProfileTypeDef:
    return {
        "Arn": ...,
    }
Definition
class IamInstanceProfileTypeDef(TypedDict):
    Arn: NotRequired[str],
    Id: NotRequired[str],

LaunchPermissionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchPermissionTypeDef

def get_value() -> LaunchPermissionTypeDef:
    return {
        "Group": ...,
    }
Definition
class LaunchPermissionTypeDef(TypedDict):
    Group: NotRequired[PermissionGroupType],  # (1)
    UserId: NotRequired[str],
    OrganizationArn: NotRequired[str],
    OrganizationalUnitArn: NotRequired[str],
  1. See PermissionGroupType

UserBucketTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UserBucketTypeDef

def get_value() -> UserBucketTypeDef:
    return {
        "S3Bucket": ...,
    }
Definition
class UserBucketTypeDef(TypedDict):
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],

ImageRecycleBinInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImageRecycleBinInfoTypeDef

def get_value() -> ImageRecycleBinInfoTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class ImageRecycleBinInfoTypeDef(TypedDict):
    ImageId: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    RecycleBinEnterTime: NotRequired[datetime],
    RecycleBinExitTime: NotRequired[datetime],

StateReasonTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StateReasonTypeDef

def get_value() -> StateReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class StateReasonTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],

ImportClientVpnClientCertificateRevocationListRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportClientVpnClientCertificateRevocationListRequestRequestTypeDef

def get_value() -> ImportClientVpnClientCertificateRevocationListRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "CertificateRevocationList": ...,
    }
Definition
class ImportClientVpnClientCertificateRevocationListRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    CertificateRevocationList: str,
    DryRun: NotRequired[bool],

ImportImageLicenseConfigurationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportImageLicenseConfigurationRequestTypeDef

def get_value() -> ImportImageLicenseConfigurationRequestTypeDef:
    return {
        "LicenseConfigurationArn": ...,
    }
Definition
class ImportImageLicenseConfigurationRequestTypeDef(TypedDict):
    LicenseConfigurationArn: NotRequired[str],

ImportImageLicenseConfigurationResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportImageLicenseConfigurationResponseTypeDef

def get_value() -> ImportImageLicenseConfigurationResponseTypeDef:
    return {
        "LicenseConfigurationArn": ...,
    }
Definition
class ImportImageLicenseConfigurationResponseTypeDef(TypedDict):
    LicenseConfigurationArn: NotRequired[str],

UserDataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UserDataTypeDef

def get_value() -> UserDataTypeDef:
    return {
        "Data": ...,
    }
Definition
class UserDataTypeDef(TypedDict):
    Data: NotRequired[str],

InferenceDeviceInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InferenceDeviceInfoTypeDef

def get_value() -> InferenceDeviceInfoTypeDef:
    return {
        "Count": ...,
    }
Definition
class InferenceDeviceInfoTypeDef(TypedDict):
    Count: NotRequired[int],
    Name: NotRequired[str],
    Manufacturer: NotRequired[str],

InstanceCountTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceCountTypeDef

def get_value() -> InstanceCountTypeDef:
    return {
        "InstanceCount": ...,
    }
Definition
class InstanceCountTypeDef(TypedDict):
    InstanceCount: NotRequired[int],
    State: NotRequired[ListingStateType],  # (1)
  1. See ListingStateType

InstanceCreditSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceCreditSpecificationRequestTypeDef

def get_value() -> InstanceCreditSpecificationRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class InstanceCreditSpecificationRequestTypeDef(TypedDict):
    InstanceId: str,
    CpuCredits: NotRequired[str],

InstanceEventWindowTimeRangeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceEventWindowTimeRangeTypeDef

def get_value() -> InstanceEventWindowTimeRangeTypeDef:
    return {
        "StartWeekDay": ...,
    }
Definition
class InstanceEventWindowTimeRangeTypeDef(TypedDict):
    StartWeekDay: NotRequired[WeekDayType],  # (1)
    StartHour: NotRequired[int],
    EndWeekDay: NotRequired[WeekDayType],  # (1)
    EndHour: NotRequired[int],
  1. See WeekDayType
  2. See WeekDayType

InstanceIpv4PrefixTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceIpv4PrefixTypeDef

def get_value() -> InstanceIpv4PrefixTypeDef:
    return {
        "Ipv4Prefix": ...,
    }
Definition
class InstanceIpv4PrefixTypeDef(TypedDict):
    Ipv4Prefix: NotRequired[str],

InstanceIpv6AddressRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceIpv6AddressRequestTypeDef

def get_value() -> InstanceIpv6AddressRequestTypeDef:
    return {
        "Ipv6Address": ...,
    }
Definition
class InstanceIpv6AddressRequestTypeDef(TypedDict):
    Ipv6Address: NotRequired[str],

InstanceIpv6PrefixTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceIpv6PrefixTypeDef

def get_value() -> InstanceIpv6PrefixTypeDef:
    return {
        "Ipv6Prefix": ...,
    }
Definition
class InstanceIpv6PrefixTypeDef(TypedDict):
    Ipv6Prefix: NotRequired[str],

InstanceMaintenanceOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceMaintenanceOptionsRequestTypeDef

def get_value() -> InstanceMaintenanceOptionsRequestTypeDef:
    return {
        "AutoRecovery": ...,
    }
Definition
class InstanceMaintenanceOptionsRequestTypeDef(TypedDict):
    AutoRecovery: NotRequired[InstanceAutoRecoveryStateType],  # (1)
  1. See InstanceAutoRecoveryStateType

InstanceMaintenanceOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceMaintenanceOptionsTypeDef

def get_value() -> InstanceMaintenanceOptionsTypeDef:
    return {
        "AutoRecovery": ...,
    }
Definition
class InstanceMaintenanceOptionsTypeDef(TypedDict):
    AutoRecovery: NotRequired[InstanceAutoRecoveryStateType],  # (1)
  1. See InstanceAutoRecoveryStateType

SpotMarketOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotMarketOptionsTypeDef

def get_value() -> SpotMarketOptionsTypeDef:
    return {
        "MaxPrice": ...,
    }
Definition
class SpotMarketOptionsTypeDef(TypedDict):
    MaxPrice: NotRequired[str],
    SpotInstanceType: NotRequired[SpotInstanceTypeType],  # (1)
    BlockDurationMinutes: NotRequired[int],
    ValidUntil: NotRequired[Union[datetime, str]],
    InstanceInterruptionBehavior: NotRequired[InstanceInterruptionBehaviorType],  # (2)
  1. See SpotInstanceTypeType
  2. See InstanceInterruptionBehaviorType

InstanceMetadataOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceMetadataOptionsRequestTypeDef

def get_value() -> InstanceMetadataOptionsRequestTypeDef:
    return {
        "HttpTokens": ...,
    }
Definition
class InstanceMetadataOptionsRequestTypeDef(TypedDict):
    HttpTokens: NotRequired[HttpTokensStateType],  # (1)
    HttpPutResponseHopLimit: NotRequired[int],
    HttpEndpoint: NotRequired[InstanceMetadataEndpointStateType],  # (2)
    HttpProtocolIpv6: NotRequired[InstanceMetadataProtocolStateType],  # (3)
    InstanceMetadataTags: NotRequired[InstanceMetadataTagsStateType],  # (4)
  1. See HttpTokensStateType
  2. See InstanceMetadataEndpointStateType
  3. See InstanceMetadataProtocolStateType
  4. See InstanceMetadataTagsStateType

InstanceMetadataOptionsResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceMetadataOptionsResponseTypeDef

def get_value() -> InstanceMetadataOptionsResponseTypeDef:
    return {
        "State": ...,
    }
Definition
class InstanceMetadataOptionsResponseTypeDef(TypedDict):
    State: NotRequired[InstanceMetadataOptionsStateType],  # (1)
    HttpTokens: NotRequired[HttpTokensStateType],  # (2)
    HttpPutResponseHopLimit: NotRequired[int],
    HttpEndpoint: NotRequired[InstanceMetadataEndpointStateType],  # (3)
    HttpProtocolIpv6: NotRequired[InstanceMetadataProtocolStateType],  # (4)
    InstanceMetadataTags: NotRequired[InstanceMetadataTagsStateType],  # (5)
  1. See InstanceMetadataOptionsStateType
  2. See HttpTokensStateType
  3. See InstanceMetadataEndpointStateType
  4. See InstanceMetadataProtocolStateType
  5. See InstanceMetadataTagsStateType

MonitoringTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MonitoringTypeDef

def get_value() -> MonitoringTypeDef:
    return {
        "State": ...,
    }
Definition
class MonitoringTypeDef(TypedDict):
    State: NotRequired[MonitoringStateType],  # (1)
  1. See MonitoringStateType

InstanceNetworkInterfaceAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceNetworkInterfaceAssociationTypeDef

def get_value() -> InstanceNetworkInterfaceAssociationTypeDef:
    return {
        "CarrierIp": ...,
    }
Definition
class InstanceNetworkInterfaceAssociationTypeDef(TypedDict):
    CarrierIp: NotRequired[str],
    CustomerOwnedIp: NotRequired[str],
    IpOwnerId: NotRequired[str],
    PublicDnsName: NotRequired[str],
    PublicIp: NotRequired[str],

InstanceNetworkInterfaceAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceNetworkInterfaceAttachmentTypeDef

def get_value() -> InstanceNetworkInterfaceAttachmentTypeDef:
    return {
        "AttachTime": ...,
    }
Definition
class InstanceNetworkInterfaceAttachmentTypeDef(TypedDict):
    AttachTime: NotRequired[datetime],
    AttachmentId: NotRequired[str],
    DeleteOnTermination: NotRequired[bool],
    DeviceIndex: NotRequired[int],
    Status: NotRequired[AttachmentStatusType],  # (1)
    NetworkCardIndex: NotRequired[int],
  1. See AttachmentStatusType

MemoryGiBPerVCpuRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MemoryGiBPerVCpuRequestTypeDef

def get_value() -> MemoryGiBPerVCpuRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class MemoryGiBPerVCpuRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

MemoryMiBRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MemoryMiBRequestTypeDef

def get_value() -> MemoryMiBRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class MemoryMiBRequestTypeDef(TypedDict):
    Min: int,
    Max: NotRequired[int],

NetworkBandwidthGbpsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkBandwidthGbpsRequestTypeDef

def get_value() -> NetworkBandwidthGbpsRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class NetworkBandwidthGbpsRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

NetworkInterfaceCountRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfaceCountRequestTypeDef

def get_value() -> NetworkInterfaceCountRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class NetworkInterfaceCountRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

TotalLocalStorageGBRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TotalLocalStorageGBRequestTypeDef

def get_value() -> TotalLocalStorageGBRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class TotalLocalStorageGBRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

VCpuCountRangeRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VCpuCountRangeRequestTypeDef

def get_value() -> VCpuCountRangeRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class VCpuCountRangeRequestTypeDef(TypedDict):
    Min: int,
    Max: NotRequired[int],

MemoryGiBPerVCpuTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MemoryGiBPerVCpuTypeDef

def get_value() -> MemoryGiBPerVCpuTypeDef:
    return {
        "Min": ...,
    }
Definition
class MemoryGiBPerVCpuTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

MemoryMiBTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MemoryMiBTypeDef

def get_value() -> MemoryMiBTypeDef:
    return {
        "Min": ...,
    }
Definition
class MemoryMiBTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

NetworkBandwidthGbpsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkBandwidthGbpsTypeDef

def get_value() -> NetworkBandwidthGbpsTypeDef:
    return {
        "Min": ...,
    }
Definition
class NetworkBandwidthGbpsTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

NetworkInterfaceCountTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfaceCountTypeDef

def get_value() -> NetworkInterfaceCountTypeDef:
    return {
        "Min": ...,
    }
Definition
class NetworkInterfaceCountTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

TotalLocalStorageGBTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TotalLocalStorageGBTypeDef

def get_value() -> TotalLocalStorageGBTypeDef:
    return {
        "Min": ...,
    }
Definition
class TotalLocalStorageGBTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

VCpuCountRangeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VCpuCountRangeTypeDef

def get_value() -> VCpuCountRangeTypeDef:
    return {
        "Min": ...,
    }
Definition
class VCpuCountRangeTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

InstanceStateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceStateTypeDef

def get_value() -> InstanceStateTypeDef:
    return {
        "Code": ...,
    }
Definition
class InstanceStateTypeDef(TypedDict):
    Code: NotRequired[int],
    Name: NotRequired[InstanceStateNameType],  # (1)
  1. See InstanceStateNameType

InstanceStatusDetailsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceStatusDetailsTypeDef

def get_value() -> InstanceStatusDetailsTypeDef:
    return {
        "ImpairedSince": ...,
    }
Definition
class InstanceStatusDetailsTypeDef(TypedDict):
    ImpairedSince: NotRequired[datetime],
    Name: NotRequired[StatusNameType],  # (1)
    Status: NotRequired[StatusTypeType],  # (2)
  1. See StatusNameType
  2. See StatusTypeType

InstanceStatusEventTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceStatusEventTypeDef

def get_value() -> InstanceStatusEventTypeDef:
    return {
        "InstanceEventId": ...,
    }
Definition
class InstanceStatusEventTypeDef(TypedDict):
    InstanceEventId: NotRequired[str],
    Code: NotRequired[EventCodeType],  # (1)
    Description: NotRequired[str],
    NotAfter: NotRequired[datetime],
    NotBefore: NotRequired[datetime],
    NotBeforeDeadline: NotRequired[datetime],
  1. See EventCodeType

LicenseConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LicenseConfigurationTypeDef

def get_value() -> LicenseConfigurationTypeDef:
    return {
        "LicenseConfigurationArn": ...,
    }
Definition
class LicenseConfigurationTypeDef(TypedDict):
    LicenseConfigurationArn: NotRequired[str],

PrivateDnsNameOptionsResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrivateDnsNameOptionsResponseTypeDef

def get_value() -> PrivateDnsNameOptionsResponseTypeDef:
    return {
        "HostnameType": ...,
    }
Definition
class PrivateDnsNameOptionsResponseTypeDef(TypedDict):
    HostnameType: NotRequired[HostnameTypeType],  # (1)
    EnableResourceNameDnsARecord: NotRequired[bool],
    EnableResourceNameDnsAAAARecord: NotRequired[bool],
  1. See HostnameTypeType

MemoryInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MemoryInfoTypeDef

def get_value() -> MemoryInfoTypeDef:
    return {
        "SizeInMiB": ...,
    }
Definition
class MemoryInfoTypeDef(TypedDict):
    SizeInMiB: NotRequired[int],

PlacementGroupInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PlacementGroupInfoTypeDef

def get_value() -> PlacementGroupInfoTypeDef:
    return {
        "SupportedStrategies": ...,
    }
Definition
class PlacementGroupInfoTypeDef(TypedDict):
    SupportedStrategies: NotRequired[List[PlacementGroupStrategyType]],  # (1)
  1. See PlacementGroupStrategyType

ProcessorInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ProcessorInfoTypeDef

def get_value() -> ProcessorInfoTypeDef:
    return {
        "SupportedArchitectures": ...,
    }
Definition
class ProcessorInfoTypeDef(TypedDict):
    SupportedArchitectures: NotRequired[List[ArchitectureTypeType]],  # (1)
    SustainedClockSpeedInGhz: NotRequired[float],
  1. See ArchitectureTypeType

VCpuInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VCpuInfoTypeDef

def get_value() -> VCpuInfoTypeDef:
    return {
        "DefaultVCpus": ...,
    }
Definition
class VCpuInfoTypeDef(TypedDict):
    DefaultVCpus: NotRequired[int],
    DefaultCores: NotRequired[int],
    DefaultThreadsPerCore: NotRequired[int],
    ValidCores: NotRequired[List[int]],
    ValidThreadsPerCore: NotRequired[List[int]],

IpRangeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpRangeTypeDef

def get_value() -> IpRangeTypeDef:
    return {
        "CidrIp": ...,
    }
Definition
class IpRangeTypeDef(TypedDict):
    CidrIp: NotRequired[str],
    Description: NotRequired[str],

Ipv6RangeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv6RangeTypeDef

def get_value() -> Ipv6RangeTypeDef:
    return {
        "CidrIpv6": ...,
    }
Definition
class Ipv6RangeTypeDef(TypedDict):
    CidrIpv6: NotRequired[str],
    Description: NotRequired[str],

PrefixListIdTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrefixListIdTypeDef

def get_value() -> PrefixListIdTypeDef:
    return {
        "Description": ...,
    }
Definition
class PrefixListIdTypeDef(TypedDict):
    Description: NotRequired[str],
    PrefixListId: NotRequired[str],

UserIdGroupPairTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UserIdGroupPairTypeDef

def get_value() -> UserIdGroupPairTypeDef:
    return {
        "Description": ...,
    }
Definition
class UserIdGroupPairTypeDef(TypedDict):
    Description: NotRequired[str],
    GroupId: NotRequired[str],
    GroupName: NotRequired[str],
    PeeringStatus: NotRequired[str],
    UserId: NotRequired[str],
    VpcId: NotRequired[str],
    VpcPeeringConnectionId: NotRequired[str],

IpamCidrAuthorizationContextTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamCidrAuthorizationContextTypeDef

def get_value() -> IpamCidrAuthorizationContextTypeDef:
    return {
        "Message": ...,
    }
Definition
class IpamCidrAuthorizationContextTypeDef(TypedDict):
    Message: NotRequired[str],
    Signature: NotRequired[str],

IpamDiscoveryFailureReasonTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamDiscoveryFailureReasonTypeDef

def get_value() -> IpamDiscoveryFailureReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class IpamDiscoveryFailureReasonTypeDef(TypedDict):
    Code: NotRequired[IpamDiscoveryFailureCodeType],  # (1)
    Message: NotRequired[str],
  1. See IpamDiscoveryFailureCodeType

IpamResourceTagTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamResourceTagTypeDef

def get_value() -> IpamResourceTagTypeDef:
    return {
        "Key": ...,
    }
Definition
class IpamResourceTagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

IpamOperatingRegionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamOperatingRegionTypeDef

def get_value() -> IpamOperatingRegionTypeDef:
    return {
        "RegionName": ...,
    }
Definition
class IpamOperatingRegionTypeDef(TypedDict):
    RegionName: NotRequired[str],

IpamPoolCidrFailureReasonTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamPoolCidrFailureReasonTypeDef

def get_value() -> IpamPoolCidrFailureReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class IpamPoolCidrFailureReasonTypeDef(TypedDict):
    Code: NotRequired[IpamPoolCidrFailureCodeType],  # (1)
    Message: NotRequired[str],
  1. See IpamPoolCidrFailureCodeType

Ipv4PrefixSpecificationResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv4PrefixSpecificationResponseTypeDef

def get_value() -> Ipv4PrefixSpecificationResponseTypeDef:
    return {
        "Ipv4Prefix": ...,
    }
Definition
class Ipv4PrefixSpecificationResponseTypeDef(TypedDict):
    Ipv4Prefix: NotRequired[str],

Ipv6CidrBlockTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv6CidrBlockTypeDef

def get_value() -> Ipv6CidrBlockTypeDef:
    return {
        "Ipv6CidrBlock": ...,
    }
Definition
class Ipv6CidrBlockTypeDef(TypedDict):
    Ipv6CidrBlock: NotRequired[str],

PoolCidrBlockTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PoolCidrBlockTypeDef

def get_value() -> PoolCidrBlockTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class PoolCidrBlockTypeDef(TypedDict):
    Cidr: NotRequired[str],

Ipv6PrefixSpecificationResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv6PrefixSpecificationResponseTypeDef

def get_value() -> Ipv6PrefixSpecificationResponseTypeDef:
    return {
        "Ipv6Prefix": ...,
    }
Definition
class Ipv6PrefixSpecificationResponseTypeDef(TypedDict):
    Ipv6Prefix: NotRequired[str],

Ipv6PrefixSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv6PrefixSpecificationTypeDef

def get_value() -> Ipv6PrefixSpecificationTypeDef:
    return {
        "Ipv6Prefix": ...,
    }
Definition
class Ipv6PrefixSpecificationTypeDef(TypedDict):
    Ipv6Prefix: NotRequired[str],

LastErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LastErrorTypeDef

def get_value() -> LastErrorTypeDef:
    return {
        "Message": ...,
    }
Definition
class LastErrorTypeDef(TypedDict):
    Message: NotRequired[str],
    Code: NotRequired[str],

RunInstancesMonitoringEnabledTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RunInstancesMonitoringEnabledTypeDef

def get_value() -> RunInstancesMonitoringEnabledTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class RunInstancesMonitoringEnabledTypeDef(TypedDict):
    Enabled: bool,

SpotPlacementTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotPlacementTypeDef

def get_value() -> SpotPlacementTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class SpotPlacementTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    GroupName: NotRequired[str],
    Tenancy: NotRequired[TenancyType],  # (1)
  1. See TenancyType

LaunchTemplateEbsBlockDeviceRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateEbsBlockDeviceRequestTypeDef

def get_value() -> LaunchTemplateEbsBlockDeviceRequestTypeDef:
    return {
        "Encrypted": ...,
    }
Definition
class LaunchTemplateEbsBlockDeviceRequestTypeDef(TypedDict):
    Encrypted: NotRequired[bool],
    DeleteOnTermination: NotRequired[bool],
    Iops: NotRequired[int],
    KmsKeyId: NotRequired[str],
    SnapshotId: NotRequired[str],
    VolumeSize: NotRequired[int],
    VolumeType: NotRequired[VolumeTypeType],  # (1)
    Throughput: NotRequired[int],
  1. See VolumeTypeType

LaunchTemplateEbsBlockDeviceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateEbsBlockDeviceTypeDef

def get_value() -> LaunchTemplateEbsBlockDeviceTypeDef:
    return {
        "Encrypted": ...,
    }
Definition
class LaunchTemplateEbsBlockDeviceTypeDef(TypedDict):
    Encrypted: NotRequired[bool],
    DeleteOnTermination: NotRequired[bool],
    Iops: NotRequired[int],
    KmsKeyId: NotRequired[str],
    SnapshotId: NotRequired[str],
    VolumeSize: NotRequired[int],
    VolumeType: NotRequired[VolumeTypeType],  # (1)
    Throughput: NotRequired[int],
  1. See VolumeTypeType

LaunchTemplateCpuOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateCpuOptionsRequestTypeDef

def get_value() -> LaunchTemplateCpuOptionsRequestTypeDef:
    return {
        "CoreCount": ...,
    }
Definition
class LaunchTemplateCpuOptionsRequestTypeDef(TypedDict):
    CoreCount: NotRequired[int],
    ThreadsPerCore: NotRequired[int],

LaunchTemplateCpuOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateCpuOptionsTypeDef

def get_value() -> LaunchTemplateCpuOptionsTypeDef:
    return {
        "CoreCount": ...,
    }
Definition
class LaunchTemplateCpuOptionsTypeDef(TypedDict):
    CoreCount: NotRequired[int],
    ThreadsPerCore: NotRequired[int],

LaunchTemplateElasticInferenceAcceleratorResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateElasticInferenceAcceleratorResponseTypeDef

def get_value() -> LaunchTemplateElasticInferenceAcceleratorResponseTypeDef:
    return {
        "Type": ...,
    }
Definition
class LaunchTemplateElasticInferenceAcceleratorResponseTypeDef(TypedDict):
    Type: NotRequired[str],
    Count: NotRequired[int],

LaunchTemplateElasticInferenceAcceleratorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateElasticInferenceAcceleratorTypeDef

def get_value() -> LaunchTemplateElasticInferenceAcceleratorTypeDef:
    return {
        "Type": ...,
    }
Definition
class LaunchTemplateElasticInferenceAcceleratorTypeDef(TypedDict):
    Type: str,
    Count: NotRequired[int],

LaunchTemplateEnclaveOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateEnclaveOptionsRequestTypeDef

def get_value() -> LaunchTemplateEnclaveOptionsRequestTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class LaunchTemplateEnclaveOptionsRequestTypeDef(TypedDict):
    Enabled: NotRequired[bool],

LaunchTemplateEnclaveOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateEnclaveOptionsTypeDef

def get_value() -> LaunchTemplateEnclaveOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class LaunchTemplateEnclaveOptionsTypeDef(TypedDict):
    Enabled: NotRequired[bool],

LaunchTemplateHibernationOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateHibernationOptionsRequestTypeDef

def get_value() -> LaunchTemplateHibernationOptionsRequestTypeDef:
    return {
        "Configured": ...,
    }
Definition
class LaunchTemplateHibernationOptionsRequestTypeDef(TypedDict):
    Configured: NotRequired[bool],

LaunchTemplateHibernationOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateHibernationOptionsTypeDef

def get_value() -> LaunchTemplateHibernationOptionsTypeDef:
    return {
        "Configured": ...,
    }
Definition
class LaunchTemplateHibernationOptionsTypeDef(TypedDict):
    Configured: NotRequired[bool],

LaunchTemplateIamInstanceProfileSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateIamInstanceProfileSpecificationRequestTypeDef

def get_value() -> LaunchTemplateIamInstanceProfileSpecificationRequestTypeDef:
    return {
        "Arn": ...,
    }
Definition
class LaunchTemplateIamInstanceProfileSpecificationRequestTypeDef(TypedDict):
    Arn: NotRequired[str],
    Name: NotRequired[str],

LaunchTemplateIamInstanceProfileSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateIamInstanceProfileSpecificationTypeDef

def get_value() -> LaunchTemplateIamInstanceProfileSpecificationTypeDef:
    return {
        "Arn": ...,
    }
Definition
class LaunchTemplateIamInstanceProfileSpecificationTypeDef(TypedDict):
    Arn: NotRequired[str],
    Name: NotRequired[str],

LaunchTemplateInstanceMaintenanceOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateInstanceMaintenanceOptionsRequestTypeDef

def get_value() -> LaunchTemplateInstanceMaintenanceOptionsRequestTypeDef:
    return {
        "AutoRecovery": ...,
    }
Definition
class LaunchTemplateInstanceMaintenanceOptionsRequestTypeDef(TypedDict):
    AutoRecovery: NotRequired[LaunchTemplateAutoRecoveryStateType],  # (1)
  1. See LaunchTemplateAutoRecoveryStateType

LaunchTemplateInstanceMaintenanceOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateInstanceMaintenanceOptionsTypeDef

def get_value() -> LaunchTemplateInstanceMaintenanceOptionsTypeDef:
    return {
        "AutoRecovery": ...,
    }
Definition
class LaunchTemplateInstanceMaintenanceOptionsTypeDef(TypedDict):
    AutoRecovery: NotRequired[LaunchTemplateAutoRecoveryStateType],  # (1)
  1. See LaunchTemplateAutoRecoveryStateType

LaunchTemplateSpotMarketOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateSpotMarketOptionsRequestTypeDef

def get_value() -> LaunchTemplateSpotMarketOptionsRequestTypeDef:
    return {
        "MaxPrice": ...,
    }
Definition
class LaunchTemplateSpotMarketOptionsRequestTypeDef(TypedDict):
    MaxPrice: NotRequired[str],
    SpotInstanceType: NotRequired[SpotInstanceTypeType],  # (1)
    BlockDurationMinutes: NotRequired[int],
    ValidUntil: NotRequired[Union[datetime, str]],
    InstanceInterruptionBehavior: NotRequired[InstanceInterruptionBehaviorType],  # (2)
  1. See SpotInstanceTypeType
  2. See InstanceInterruptionBehaviorType

LaunchTemplateSpotMarketOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateSpotMarketOptionsTypeDef

def get_value() -> LaunchTemplateSpotMarketOptionsTypeDef:
    return {
        "MaxPrice": ...,
    }
Definition
class LaunchTemplateSpotMarketOptionsTypeDef(TypedDict):
    MaxPrice: NotRequired[str],
    SpotInstanceType: NotRequired[SpotInstanceTypeType],  # (1)
    BlockDurationMinutes: NotRequired[int],
    ValidUntil: NotRequired[datetime],
    InstanceInterruptionBehavior: NotRequired[InstanceInterruptionBehaviorType],  # (2)
  1. See SpotInstanceTypeType
  2. See InstanceInterruptionBehaviorType

LaunchTemplateInstanceMetadataOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateInstanceMetadataOptionsRequestTypeDef

def get_value() -> LaunchTemplateInstanceMetadataOptionsRequestTypeDef:
    return {
        "HttpTokens": ...,
    }
Definition
class LaunchTemplateInstanceMetadataOptionsRequestTypeDef(TypedDict):
    HttpTokens: NotRequired[LaunchTemplateHttpTokensStateType],  # (1)
    HttpPutResponseHopLimit: NotRequired[int],
    HttpEndpoint: NotRequired[LaunchTemplateInstanceMetadataEndpointStateType],  # (2)
    HttpProtocolIpv6: NotRequired[LaunchTemplateInstanceMetadataProtocolIpv6Type],  # (3)
    InstanceMetadataTags: NotRequired[LaunchTemplateInstanceMetadataTagsStateType],  # (4)
  1. See LaunchTemplateHttpTokensStateType
  2. See LaunchTemplateInstanceMetadataEndpointStateType
  3. See LaunchTemplateInstanceMetadataProtocolIpv6Type
  4. See LaunchTemplateInstanceMetadataTagsStateType

LaunchTemplateInstanceMetadataOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateInstanceMetadataOptionsTypeDef

def get_value() -> LaunchTemplateInstanceMetadataOptionsTypeDef:
    return {
        "State": ...,
    }
Definition
class LaunchTemplateInstanceMetadataOptionsTypeDef(TypedDict):
    State: NotRequired[LaunchTemplateInstanceMetadataOptionsStateType],  # (1)
    HttpTokens: NotRequired[LaunchTemplateHttpTokensStateType],  # (2)
    HttpPutResponseHopLimit: NotRequired[int],
    HttpEndpoint: NotRequired[LaunchTemplateInstanceMetadataEndpointStateType],  # (3)
    HttpProtocolIpv6: NotRequired[LaunchTemplateInstanceMetadataProtocolIpv6Type],  # (4)
    InstanceMetadataTags: NotRequired[LaunchTemplateInstanceMetadataTagsStateType],  # (5)
  1. See LaunchTemplateInstanceMetadataOptionsStateType
  2. See LaunchTemplateHttpTokensStateType
  3. See LaunchTemplateInstanceMetadataEndpointStateType
  4. See LaunchTemplateInstanceMetadataProtocolIpv6Type
  5. See LaunchTemplateInstanceMetadataTagsStateType

LaunchTemplateLicenseConfigurationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateLicenseConfigurationRequestTypeDef

def get_value() -> LaunchTemplateLicenseConfigurationRequestTypeDef:
    return {
        "LicenseConfigurationArn": ...,
    }
Definition
class LaunchTemplateLicenseConfigurationRequestTypeDef(TypedDict):
    LicenseConfigurationArn: NotRequired[str],

LaunchTemplateLicenseConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateLicenseConfigurationTypeDef

def get_value() -> LaunchTemplateLicenseConfigurationTypeDef:
    return {
        "LicenseConfigurationArn": ...,
    }
Definition
class LaunchTemplateLicenseConfigurationTypeDef(TypedDict):
    LicenseConfigurationArn: NotRequired[str],

LaunchTemplatePlacementRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplatePlacementRequestTypeDef

def get_value() -> LaunchTemplatePlacementRequestTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class LaunchTemplatePlacementRequestTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    Affinity: NotRequired[str],
    GroupName: NotRequired[str],
    HostId: NotRequired[str],
    Tenancy: NotRequired[TenancyType],  # (1)
    SpreadDomain: NotRequired[str],
    HostResourceGroupArn: NotRequired[str],
    PartitionNumber: NotRequired[int],
    GroupId: NotRequired[str],
  1. See TenancyType

LaunchTemplatePlacementTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplatePlacementTypeDef

def get_value() -> LaunchTemplatePlacementTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class LaunchTemplatePlacementTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    Affinity: NotRequired[str],
    GroupName: NotRequired[str],
    HostId: NotRequired[str],
    Tenancy: NotRequired[TenancyType],  # (1)
    SpreadDomain: NotRequired[str],
    HostResourceGroupArn: NotRequired[str],
    PartitionNumber: NotRequired[int],
    GroupId: NotRequired[str],
  1. See TenancyType

LaunchTemplatePrivateDnsNameOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplatePrivateDnsNameOptionsRequestTypeDef

def get_value() -> LaunchTemplatePrivateDnsNameOptionsRequestTypeDef:
    return {
        "HostnameType": ...,
    }
Definition
class LaunchTemplatePrivateDnsNameOptionsRequestTypeDef(TypedDict):
    HostnameType: NotRequired[HostnameTypeType],  # (1)
    EnableResourceNameDnsARecord: NotRequired[bool],
    EnableResourceNameDnsAAAARecord: NotRequired[bool],
  1. See HostnameTypeType

LaunchTemplatePrivateDnsNameOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplatePrivateDnsNameOptionsTypeDef

def get_value() -> LaunchTemplatePrivateDnsNameOptionsTypeDef:
    return {
        "HostnameType": ...,
    }
Definition
class LaunchTemplatePrivateDnsNameOptionsTypeDef(TypedDict):
    HostnameType: NotRequired[HostnameTypeType],  # (1)
    EnableResourceNameDnsARecord: NotRequired[bool],
    EnableResourceNameDnsAAAARecord: NotRequired[bool],
  1. See HostnameTypeType

LaunchTemplateSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateSpecificationTypeDef

def get_value() -> LaunchTemplateSpecificationTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
Definition
class LaunchTemplateSpecificationTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    Version: NotRequired[str],

LaunchTemplatesMonitoringRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplatesMonitoringRequestTypeDef

def get_value() -> LaunchTemplatesMonitoringRequestTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class LaunchTemplatesMonitoringRequestTypeDef(TypedDict):
    Enabled: NotRequired[bool],

LaunchTemplatesMonitoringTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplatesMonitoringTypeDef

def get_value() -> LaunchTemplatesMonitoringTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class LaunchTemplatesMonitoringTypeDef(TypedDict):
    Enabled: NotRequired[bool],

LicenseConfigurationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LicenseConfigurationRequestTypeDef

def get_value() -> LicenseConfigurationRequestTypeDef:
    return {
        "LicenseConfigurationArn": ...,
    }
Definition
class LicenseConfigurationRequestTypeDef(TypedDict):
    LicenseConfigurationArn: NotRequired[str],

ListImagesInRecycleBinRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ListImagesInRecycleBinRequestRequestTypeDef

def get_value() -> ListImagesInRecycleBinRequestRequestTypeDef:
    return {
        "ImageIds": ...,
    }
Definition
class ListImagesInRecycleBinRequestRequestTypeDef(TypedDict):
    ImageIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],

ListSnapshotsInRecycleBinRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ListSnapshotsInRecycleBinRequestRequestTypeDef

def get_value() -> ListSnapshotsInRecycleBinRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class ListSnapshotsInRecycleBinRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    SnapshotIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],

SnapshotRecycleBinInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SnapshotRecycleBinInfoTypeDef

def get_value() -> SnapshotRecycleBinInfoTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class SnapshotRecycleBinInfoTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    RecycleBinEnterTime: NotRequired[datetime],
    RecycleBinExitTime: NotRequired[datetime],
    Description: NotRequired[str],
    VolumeId: NotRequired[str],

LoadPermissionRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LoadPermissionRequestTypeDef

def get_value() -> LoadPermissionRequestTypeDef:
    return {
        "Group": ...,
    }
Definition
class LoadPermissionRequestTypeDef(TypedDict):
    Group: NotRequired[PermissionGroupType],  # (1)
    UserId: NotRequired[str],
  1. See PermissionGroupType

ModifyAddressAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyAddressAttributeRequestRequestTypeDef

def get_value() -> ModifyAddressAttributeRequestRequestTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class ModifyAddressAttributeRequestRequestTypeDef(TypedDict):
    AllocationId: str,
    DomainName: NotRequired[str],
    DryRun: NotRequired[bool],

ModifyAvailabilityZoneGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyAvailabilityZoneGroupRequestRequestTypeDef

def get_value() -> ModifyAvailabilityZoneGroupRequestRequestTypeDef:
    return {
        "GroupName": ...,
        "OptInStatus": ...,
    }
Definition
class ModifyAvailabilityZoneGroupRequestRequestTypeDef(TypedDict):
    GroupName: str,
    OptInStatus: ModifyAvailabilityZoneOptInStatusType,  # (1)
    DryRun: NotRequired[bool],
  1. See ModifyAvailabilityZoneOptInStatusType

ModifyCapacityReservationFleetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyCapacityReservationFleetRequestRequestTypeDef

def get_value() -> ModifyCapacityReservationFleetRequestRequestTypeDef:
    return {
        "CapacityReservationFleetId": ...,
    }
Definition
class ModifyCapacityReservationFleetRequestRequestTypeDef(TypedDict):
    CapacityReservationFleetId: str,
    TotalTargetCapacity: NotRequired[int],
    EndDate: NotRequired[Union[datetime, str]],
    DryRun: NotRequired[bool],
    RemoveEndDate: NotRequired[bool],

ModifyCapacityReservationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyCapacityReservationRequestRequestTypeDef

def get_value() -> ModifyCapacityReservationRequestRequestTypeDef:
    return {
        "CapacityReservationId": ...,
    }
Definition
class ModifyCapacityReservationRequestRequestTypeDef(TypedDict):
    CapacityReservationId: str,
    InstanceCount: NotRequired[int],
    EndDate: NotRequired[Union[datetime, str]],
    EndDateType: NotRequired[EndDateTypeType],  # (1)
    Accept: NotRequired[bool],
    DryRun: NotRequired[bool],
    AdditionalInfo: NotRequired[str],
  1. See EndDateTypeType

ModifyDefaultCreditSpecificationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyDefaultCreditSpecificationRequestRequestTypeDef

def get_value() -> ModifyDefaultCreditSpecificationRequestRequestTypeDef:
    return {
        "InstanceFamily": ...,
        "CpuCredits": ...,
    }
Definition
class ModifyDefaultCreditSpecificationRequestRequestTypeDef(TypedDict):
    InstanceFamily: UnlimitedSupportedInstanceFamilyType,  # (1)
    CpuCredits: str,
    DryRun: NotRequired[bool],
  1. See UnlimitedSupportedInstanceFamilyType

ModifyEbsDefaultKmsKeyIdRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyEbsDefaultKmsKeyIdRequestRequestTypeDef

def get_value() -> ModifyEbsDefaultKmsKeyIdRequestRequestTypeDef:
    return {
        "KmsKeyId": ...,
    }
Definition
class ModifyEbsDefaultKmsKeyIdRequestRequestTypeDef(TypedDict):
    KmsKeyId: str,
    DryRun: NotRequired[bool],

ModifyHostsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyHostsRequestRequestTypeDef

def get_value() -> ModifyHostsRequestRequestTypeDef:
    return {
        "HostIds": ...,
    }
Definition
class ModifyHostsRequestRequestTypeDef(TypedDict):
    HostIds: Sequence[str],
    AutoPlacement: NotRequired[AutoPlacementType],  # (1)
    HostRecovery: NotRequired[HostRecoveryType],  # (2)
    InstanceType: NotRequired[str],
    InstanceFamily: NotRequired[str],
    HostMaintenance: NotRequired[HostMaintenanceType],  # (3)
  1. See AutoPlacementType
  2. See HostRecoveryType
  3. See HostMaintenanceType

ModifyIdFormatRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIdFormatRequestRequestTypeDef

def get_value() -> ModifyIdFormatRequestRequestTypeDef:
    return {
        "Resource": ...,
        "UseLongIds": ...,
    }
Definition
class ModifyIdFormatRequestRequestTypeDef(TypedDict):
    Resource: str,
    UseLongIds: bool,

ModifyIdentityIdFormatRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIdentityIdFormatRequestRequestTypeDef

def get_value() -> ModifyIdentityIdFormatRequestRequestTypeDef:
    return {
        "PrincipalArn": ...,
        "Resource": ...,
        "UseLongIds": ...,
    }
Definition
class ModifyIdentityIdFormatRequestRequestTypeDef(TypedDict):
    PrincipalArn: str,
    Resource: str,
    UseLongIds: bool,

SuccessfulInstanceCreditSpecificationItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SuccessfulInstanceCreditSpecificationItemTypeDef

def get_value() -> SuccessfulInstanceCreditSpecificationItemTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class SuccessfulInstanceCreditSpecificationItemTypeDef(TypedDict):
    InstanceId: NotRequired[str],

ModifyInstanceEventStartTimeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceEventStartTimeRequestRequestTypeDef

def get_value() -> ModifyInstanceEventStartTimeRequestRequestTypeDef:
    return {
        "InstanceId": ...,
        "InstanceEventId": ...,
        "NotBefore": ...,
    }
Definition
class ModifyInstanceEventStartTimeRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    InstanceEventId: str,
    NotBefore: Union[datetime, str],
    DryRun: NotRequired[bool],

ModifyInstanceMaintenanceOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceMaintenanceOptionsRequestRequestTypeDef

def get_value() -> ModifyInstanceMaintenanceOptionsRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class ModifyInstanceMaintenanceOptionsRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    AutoRecovery: NotRequired[InstanceAutoRecoveryStateType],  # (1)
    DryRun: NotRequired[bool],
  1. See InstanceAutoRecoveryStateType

ModifyInstanceMetadataOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceMetadataOptionsRequestRequestTypeDef

def get_value() -> ModifyInstanceMetadataOptionsRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class ModifyInstanceMetadataOptionsRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    HttpTokens: NotRequired[HttpTokensStateType],  # (1)
    HttpPutResponseHopLimit: NotRequired[int],
    HttpEndpoint: NotRequired[InstanceMetadataEndpointStateType],  # (2)
    DryRun: NotRequired[bool],
    HttpProtocolIpv6: NotRequired[InstanceMetadataProtocolStateType],  # (3)
    InstanceMetadataTags: NotRequired[InstanceMetadataTagsStateType],  # (4)
  1. See HttpTokensStateType
  2. See InstanceMetadataEndpointStateType
  3. See InstanceMetadataProtocolStateType
  4. See InstanceMetadataTagsStateType

ModifyInstancePlacementRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstancePlacementRequestRequestTypeDef

def get_value() -> ModifyInstancePlacementRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class ModifyInstancePlacementRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    Affinity: NotRequired[AffinityType],  # (1)
    GroupName: NotRequired[str],
    HostId: NotRequired[str],
    Tenancy: NotRequired[HostTenancyType],  # (2)
    PartitionNumber: NotRequired[int],
    HostResourceGroupArn: NotRequired[str],
    GroupId: NotRequired[str],
  1. See AffinityType
  2. See HostTenancyType

RemoveIpamOperatingRegionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RemoveIpamOperatingRegionTypeDef

def get_value() -> RemoveIpamOperatingRegionTypeDef:
    return {
        "RegionName": ...,
    }
Definition
class RemoveIpamOperatingRegionTypeDef(TypedDict):
    RegionName: NotRequired[str],

ModifyIpamResourceCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamResourceCidrRequestRequestTypeDef

def get_value() -> ModifyIpamResourceCidrRequestRequestTypeDef:
    return {
        "ResourceId": ...,
        "ResourceCidr": ...,
        "ResourceRegion": ...,
        "CurrentIpamScopeId": ...,
        "Monitored": ...,
    }
Definition
class ModifyIpamResourceCidrRequestRequestTypeDef(TypedDict):
    ResourceId: str,
    ResourceCidr: str,
    ResourceRegion: str,
    CurrentIpamScopeId: str,
    Monitored: bool,
    DryRun: NotRequired[bool],
    DestinationIpamScopeId: NotRequired[str],

ModifyIpamScopeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamScopeRequestRequestTypeDef

def get_value() -> ModifyIpamScopeRequestRequestTypeDef:
    return {
        "IpamScopeId": ...,
    }
Definition
class ModifyIpamScopeRequestRequestTypeDef(TypedDict):
    IpamScopeId: str,
    DryRun: NotRequired[bool],
    Description: NotRequired[str],

ModifyLaunchTemplateRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyLaunchTemplateRequestRequestTypeDef

def get_value() -> ModifyLaunchTemplateRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class ModifyLaunchTemplateRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    DefaultVersion: NotRequired[str],

ModifyLocalGatewayRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyLocalGatewayRouteRequestRequestTypeDef

def get_value() -> ModifyLocalGatewayRouteRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
    }
Definition
class ModifyLocalGatewayRouteRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableId: str,
    DestinationCidrBlock: NotRequired[str],
    LocalGatewayVirtualInterfaceGroupId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    DryRun: NotRequired[bool],
    DestinationPrefixListId: NotRequired[str],

RemovePrefixListEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RemovePrefixListEntryTypeDef

def get_value() -> RemovePrefixListEntryTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class RemovePrefixListEntryTypeDef(TypedDict):
    Cidr: str,

NetworkInterfaceAttachmentChangesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfaceAttachmentChangesTypeDef

def get_value() -> NetworkInterfaceAttachmentChangesTypeDef:
    return {
        "AttachmentId": ...,
    }
Definition
class NetworkInterfaceAttachmentChangesTypeDef(TypedDict):
    AttachmentId: NotRequired[str],
    DeleteOnTermination: NotRequired[bool],

ModifyPrivateDnsNameOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyPrivateDnsNameOptionsRequestRequestTypeDef

def get_value() -> ModifyPrivateDnsNameOptionsRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class ModifyPrivateDnsNameOptionsRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    DryRun: NotRequired[bool],
    PrivateDnsHostnameType: NotRequired[HostnameTypeType],  # (1)
    EnableResourceNameDnsARecord: NotRequired[bool],
    EnableResourceNameDnsAAAARecord: NotRequired[bool],
  1. See HostnameTypeType

ReservedInstancesConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservedInstancesConfigurationTypeDef

def get_value() -> ReservedInstancesConfigurationTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class ReservedInstancesConfigurationTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    InstanceCount: NotRequired[int],
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    Platform: NotRequired[str],
    Scope: NotRequired[scopeType],  # (2)
  1. See InstanceTypeType
  2. See scopeType

ModifySnapshotTierRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifySnapshotTierRequestRequestTypeDef

def get_value() -> ModifySnapshotTierRequestRequestTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class ModifySnapshotTierRequestRequestTypeDef(TypedDict):
    SnapshotId: str,
    StorageTier: NotRequired[TargetStorageTierType],  # (1)
    DryRun: NotRequired[bool],
  1. See TargetStorageTierType

ModifyTrafficMirrorFilterNetworkServicesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTrafficMirrorFilterNetworkServicesRequestRequestTypeDef

def get_value() -> ModifyTrafficMirrorFilterNetworkServicesRequestRequestTypeDef:
    return {
        "TrafficMirrorFilterId": ...,
    }
Definition
class ModifyTrafficMirrorFilterNetworkServicesRequestRequestTypeDef(TypedDict):
    TrafficMirrorFilterId: str,
    AddNetworkServices: NotRequired[Sequence[TrafficMirrorNetworkServiceType]],  # (1)
    RemoveNetworkServices: NotRequired[Sequence[TrafficMirrorNetworkServiceType]],  # (1)
    DryRun: NotRequired[bool],
  1. See TrafficMirrorNetworkServiceType
  2. See TrafficMirrorNetworkServiceType

ModifyTrafficMirrorSessionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTrafficMirrorSessionRequestRequestTypeDef

def get_value() -> ModifyTrafficMirrorSessionRequestRequestTypeDef:
    return {
        "TrafficMirrorSessionId": ...,
    }
Definition
class ModifyTrafficMirrorSessionRequestRequestTypeDef(TypedDict):
    TrafficMirrorSessionId: str,
    TrafficMirrorTargetId: NotRequired[str],
    TrafficMirrorFilterId: NotRequired[str],
    PacketLength: NotRequired[int],
    SessionNumber: NotRequired[int],
    VirtualNetworkId: NotRequired[int],
    Description: NotRequired[str],
    RemoveFields: NotRequired[Sequence[TrafficMirrorSessionFieldType]],  # (1)
    DryRun: NotRequired[bool],
  1. See TrafficMirrorSessionFieldType

ModifyTransitGatewayOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTransitGatewayOptionsTypeDef

def get_value() -> ModifyTransitGatewayOptionsTypeDef:
    return {
        "AddTransitGatewayCidrBlocks": ...,
    }
Definition
class ModifyTransitGatewayOptionsTypeDef(TypedDict):
    AddTransitGatewayCidrBlocks: NotRequired[Sequence[str]],
    RemoveTransitGatewayCidrBlocks: NotRequired[Sequence[str]],
    VpnEcmpSupport: NotRequired[VpnEcmpSupportValueType],  # (1)
    DnsSupport: NotRequired[DnsSupportValueType],  # (2)
    AutoAcceptSharedAttachments: NotRequired[AutoAcceptSharedAttachmentsValueType],  # (3)
    DefaultRouteTableAssociation: NotRequired[DefaultRouteTableAssociationValueType],  # (4)
    AssociationDefaultRouteTableId: NotRequired[str],
    DefaultRouteTablePropagation: NotRequired[DefaultRouteTablePropagationValueType],  # (5)
    PropagationDefaultRouteTableId: NotRequired[str],
    AmazonSideAsn: NotRequired[int],
  1. See VpnEcmpSupportValueType
  2. See DnsSupportValueType
  3. See AutoAcceptSharedAttachmentsValueType
  4. See DefaultRouteTableAssociationValueType
  5. See DefaultRouteTablePropagationValueType

ModifyTransitGatewayPrefixListReferenceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTransitGatewayPrefixListReferenceRequestRequestTypeDef

def get_value() -> ModifyTransitGatewayPrefixListReferenceRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
        "PrefixListId": ...,
    }
Definition
class ModifyTransitGatewayPrefixListReferenceRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    PrefixListId: str,
    TransitGatewayAttachmentId: NotRequired[str],
    Blackhole: NotRequired[bool],
    DryRun: NotRequired[bool],

ModifyTransitGatewayVpcAttachmentRequestOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTransitGatewayVpcAttachmentRequestOptionsTypeDef

def get_value() -> ModifyTransitGatewayVpcAttachmentRequestOptionsTypeDef:
    return {
        "DnsSupport": ...,
    }
Definition
class ModifyTransitGatewayVpcAttachmentRequestOptionsTypeDef(TypedDict):
    DnsSupport: NotRequired[DnsSupportValueType],  # (1)
    Ipv6Support: NotRequired[Ipv6SupportValueType],  # (2)
    ApplianceModeSupport: NotRequired[ApplianceModeSupportValueType],  # (3)
  1. See DnsSupportValueType
  2. See Ipv6SupportValueType
  3. See ApplianceModeSupportValueType

ModifyVerifiedAccessEndpointEniOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessEndpointEniOptionsTypeDef

def get_value() -> ModifyVerifiedAccessEndpointEniOptionsTypeDef:
    return {
        "Protocol": ...,
    }
Definition
class ModifyVerifiedAccessEndpointEniOptionsTypeDef(TypedDict):
    Protocol: NotRequired[VerifiedAccessEndpointProtocolType],  # (1)
    Port: NotRequired[int],
  1. See VerifiedAccessEndpointProtocolType

ModifyVerifiedAccessEndpointLoadBalancerOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessEndpointLoadBalancerOptionsTypeDef

def get_value() -> ModifyVerifiedAccessEndpointLoadBalancerOptionsTypeDef:
    return {
        "SubnetIds": ...,
    }
Definition
class ModifyVerifiedAccessEndpointLoadBalancerOptionsTypeDef(TypedDict):
    SubnetIds: NotRequired[Sequence[str]],
    Protocol: NotRequired[VerifiedAccessEndpointProtocolType],  # (1)
    Port: NotRequired[int],
  1. See VerifiedAccessEndpointProtocolType

ModifyVerifiedAccessEndpointPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessEndpointPolicyRequestRequestTypeDef

def get_value() -> ModifyVerifiedAccessEndpointPolicyRequestRequestTypeDef:
    return {
        "VerifiedAccessEndpointId": ...,
        "PolicyEnabled": ...,
    }
Definition
class ModifyVerifiedAccessEndpointPolicyRequestRequestTypeDef(TypedDict):
    VerifiedAccessEndpointId: str,
    PolicyEnabled: bool,
    PolicyDocument: NotRequired[str],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

ModifyVerifiedAccessGroupPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessGroupPolicyRequestRequestTypeDef

def get_value() -> ModifyVerifiedAccessGroupPolicyRequestRequestTypeDef:
    return {
        "VerifiedAccessGroupId": ...,
        "PolicyEnabled": ...,
    }
Definition
class ModifyVerifiedAccessGroupPolicyRequestRequestTypeDef(TypedDict):
    VerifiedAccessGroupId: str,
    PolicyEnabled: bool,
    PolicyDocument: NotRequired[str],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

ModifyVerifiedAccessGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessGroupRequestRequestTypeDef

def get_value() -> ModifyVerifiedAccessGroupRequestRequestTypeDef:
    return {
        "VerifiedAccessGroupId": ...,
    }
Definition
class ModifyVerifiedAccessGroupRequestRequestTypeDef(TypedDict):
    VerifiedAccessGroupId: str,
    VerifiedAccessInstanceId: NotRequired[str],
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],

ModifyVerifiedAccessInstanceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessInstanceRequestRequestTypeDef

def get_value() -> ModifyVerifiedAccessInstanceRequestRequestTypeDef:
    return {
        "VerifiedAccessInstanceId": ...,
    }
Definition
class ModifyVerifiedAccessInstanceRequestRequestTypeDef(TypedDict):
    VerifiedAccessInstanceId: str,
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],

ModifyVerifiedAccessTrustProviderOidcOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessTrustProviderOidcOptionsTypeDef

def get_value() -> ModifyVerifiedAccessTrustProviderOidcOptionsTypeDef:
    return {
        "Scope": ...,
    }
Definition
class ModifyVerifiedAccessTrustProviderOidcOptionsTypeDef(TypedDict):
    Scope: NotRequired[str],

ModifyVolumeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVolumeRequestRequestTypeDef

def get_value() -> ModifyVolumeRequestRequestTypeDef:
    return {
        "VolumeId": ...,
    }
Definition
class ModifyVolumeRequestRequestTypeDef(TypedDict):
    VolumeId: str,
    DryRun: NotRequired[bool],
    Size: NotRequired[int],
    VolumeType: NotRequired[VolumeTypeType],  # (1)
    Iops: NotRequired[int],
    Throughput: NotRequired[int],
    MultiAttachEnabled: NotRequired[bool],
  1. See VolumeTypeType

ModifyVpcEndpointConnectionNotificationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointConnectionNotificationRequestRequestTypeDef

def get_value() -> ModifyVpcEndpointConnectionNotificationRequestRequestTypeDef:
    return {
        "ConnectionNotificationId": ...,
    }
Definition
class ModifyVpcEndpointConnectionNotificationRequestRequestTypeDef(TypedDict):
    ConnectionNotificationId: str,
    DryRun: NotRequired[bool],
    ConnectionNotificationArn: NotRequired[str],
    ConnectionEvents: NotRequired[Sequence[str]],

ModifyVpcEndpointServiceConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointServiceConfigurationRequestRequestTypeDef

def get_value() -> ModifyVpcEndpointServiceConfigurationRequestRequestTypeDef:
    return {
        "ServiceId": ...,
    }
Definition
class ModifyVpcEndpointServiceConfigurationRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    DryRun: NotRequired[bool],
    PrivateDnsName: NotRequired[str],
    RemovePrivateDnsName: NotRequired[bool],
    AcceptanceRequired: NotRequired[bool],
    AddNetworkLoadBalancerArns: NotRequired[Sequence[str]],
    RemoveNetworkLoadBalancerArns: NotRequired[Sequence[str]],
    AddGatewayLoadBalancerArns: NotRequired[Sequence[str]],
    RemoveGatewayLoadBalancerArns: NotRequired[Sequence[str]],
    AddSupportedIpAddressTypes: NotRequired[Sequence[str]],
    RemoveSupportedIpAddressTypes: NotRequired[Sequence[str]],

ModifyVpcEndpointServicePayerResponsibilityRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointServicePayerResponsibilityRequestRequestTypeDef

def get_value() -> ModifyVpcEndpointServicePayerResponsibilityRequestRequestTypeDef:
    return {
        "ServiceId": ...,
        "PayerResponsibility": ...,
    }
Definition
class ModifyVpcEndpointServicePayerResponsibilityRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    PayerResponsibility: PayerResponsibilityType,  # (1)
    DryRun: NotRequired[bool],
  1. See PayerResponsibilityType

ModifyVpcEndpointServicePermissionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointServicePermissionsRequestRequestTypeDef

def get_value() -> ModifyVpcEndpointServicePermissionsRequestRequestTypeDef:
    return {
        "ServiceId": ...,
    }
Definition
class ModifyVpcEndpointServicePermissionsRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    DryRun: NotRequired[bool],
    AddAllowedPrincipals: NotRequired[Sequence[str]],
    RemoveAllowedPrincipals: NotRequired[Sequence[str]],

PeeringConnectionOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PeeringConnectionOptionsRequestTypeDef

def get_value() -> PeeringConnectionOptionsRequestTypeDef:
    return {
        "AllowDnsResolutionFromRemoteVpc": ...,
    }
Definition
class PeeringConnectionOptionsRequestTypeDef(TypedDict):
    AllowDnsResolutionFromRemoteVpc: NotRequired[bool],
    AllowEgressFromLocalClassicLinkToRemoteVpc: NotRequired[bool],
    AllowEgressFromLocalVpcToRemoteClassicLink: NotRequired[bool],

PeeringConnectionOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PeeringConnectionOptionsTypeDef

def get_value() -> PeeringConnectionOptionsTypeDef:
    return {
        "AllowDnsResolutionFromRemoteVpc": ...,
    }
Definition
class PeeringConnectionOptionsTypeDef(TypedDict):
    AllowDnsResolutionFromRemoteVpc: NotRequired[bool],
    AllowEgressFromLocalClassicLinkToRemoteVpc: NotRequired[bool],
    AllowEgressFromLocalVpcToRemoteClassicLink: NotRequired[bool],

ModifyVpcTenancyRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcTenancyRequestRequestTypeDef

def get_value() -> ModifyVpcTenancyRequestRequestTypeDef:
    return {
        "VpcId": ...,
        "InstanceTenancy": ...,
    }
Definition
class ModifyVpcTenancyRequestRequestTypeDef(TypedDict):
    VpcId: str,
    InstanceTenancy: VpcTenancyType,  # (1)
    DryRun: NotRequired[bool],
  1. See VpcTenancyType

ModifyVpnConnectionOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpnConnectionOptionsRequestRequestTypeDef

def get_value() -> ModifyVpnConnectionOptionsRequestRequestTypeDef:
    return {
        "VpnConnectionId": ...,
    }
Definition
class ModifyVpnConnectionOptionsRequestRequestTypeDef(TypedDict):
    VpnConnectionId: str,
    LocalIpv4NetworkCidr: NotRequired[str],
    RemoteIpv4NetworkCidr: NotRequired[str],
    LocalIpv6NetworkCidr: NotRequired[str],
    RemoteIpv6NetworkCidr: NotRequired[str],
    DryRun: NotRequired[bool],

ModifyVpnConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpnConnectionRequestRequestTypeDef

def get_value() -> ModifyVpnConnectionRequestRequestTypeDef:
    return {
        "VpnConnectionId": ...,
    }
Definition
class ModifyVpnConnectionRequestRequestTypeDef(TypedDict):
    VpnConnectionId: str,
    TransitGatewayId: NotRequired[str],
    CustomerGatewayId: NotRequired[str],
    VpnGatewayId: NotRequired[str],
    DryRun: NotRequired[bool],

ModifyVpnTunnelCertificateRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpnTunnelCertificateRequestRequestTypeDef

def get_value() -> ModifyVpnTunnelCertificateRequestRequestTypeDef:
    return {
        "VpnConnectionId": ...,
        "VpnTunnelOutsideIpAddress": ...,
    }
Definition
class ModifyVpnTunnelCertificateRequestRequestTypeDef(TypedDict):
    VpnConnectionId: str,
    VpnTunnelOutsideIpAddress: str,
    DryRun: NotRequired[bool],

Phase1DHGroupNumbersRequestListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase1DHGroupNumbersRequestListValueTypeDef

def get_value() -> Phase1DHGroupNumbersRequestListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase1DHGroupNumbersRequestListValueTypeDef(TypedDict):
    Value: NotRequired[int],

Phase1EncryptionAlgorithmsRequestListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase1EncryptionAlgorithmsRequestListValueTypeDef

def get_value() -> Phase1EncryptionAlgorithmsRequestListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase1EncryptionAlgorithmsRequestListValueTypeDef(TypedDict):
    Value: NotRequired[str],

Phase1IntegrityAlgorithmsRequestListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase1IntegrityAlgorithmsRequestListValueTypeDef

def get_value() -> Phase1IntegrityAlgorithmsRequestListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase1IntegrityAlgorithmsRequestListValueTypeDef(TypedDict):
    Value: NotRequired[str],

Phase2DHGroupNumbersRequestListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase2DHGroupNumbersRequestListValueTypeDef

def get_value() -> Phase2DHGroupNumbersRequestListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase2DHGroupNumbersRequestListValueTypeDef(TypedDict):
    Value: NotRequired[int],

Phase2EncryptionAlgorithmsRequestListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase2EncryptionAlgorithmsRequestListValueTypeDef

def get_value() -> Phase2EncryptionAlgorithmsRequestListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase2EncryptionAlgorithmsRequestListValueTypeDef(TypedDict):
    Value: NotRequired[str],

Phase2IntegrityAlgorithmsRequestListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase2IntegrityAlgorithmsRequestListValueTypeDef

def get_value() -> Phase2IntegrityAlgorithmsRequestListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase2IntegrityAlgorithmsRequestListValueTypeDef(TypedDict):
    Value: NotRequired[str],

MonitorInstancesRequestInstanceMonitorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MonitorInstancesRequestInstanceMonitorTypeDef

def get_value() -> MonitorInstancesRequestInstanceMonitorTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class MonitorInstancesRequestInstanceMonitorTypeDef(TypedDict):
    DryRun: NotRequired[bool],

MonitorInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MonitorInstancesRequestRequestTypeDef

def get_value() -> MonitorInstancesRequestRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class MonitorInstancesRequestRequestTypeDef(TypedDict):
    InstanceIds: Sequence[str],
    DryRun: NotRequired[bool],

MoveAddressToVpcRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MoveAddressToVpcRequestRequestTypeDef

def get_value() -> MoveAddressToVpcRequestRequestTypeDef:
    return {
        "PublicIp": ...,
    }
Definition
class MoveAddressToVpcRequestRequestTypeDef(TypedDict):
    PublicIp: str,
    DryRun: NotRequired[bool],

MoveByoipCidrToIpamRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MoveByoipCidrToIpamRequestRequestTypeDef

def get_value() -> MoveByoipCidrToIpamRequestRequestTypeDef:
    return {
        "Cidr": ...,
        "IpamPoolId": ...,
        "IpamPoolOwner": ...,
    }
Definition
class MoveByoipCidrToIpamRequestRequestTypeDef(TypedDict):
    Cidr: str,
    IpamPoolId: str,
    IpamPoolOwner: str,
    DryRun: NotRequired[bool],

ProvisionedBandwidthTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ProvisionedBandwidthTypeDef

def get_value() -> ProvisionedBandwidthTypeDef:
    return {
        "ProvisionTime": ...,
    }
Definition
class ProvisionedBandwidthTypeDef(TypedDict):
    ProvisionTime: NotRequired[datetime],
    Provisioned: NotRequired[str],
    RequestTime: NotRequired[datetime],
    Requested: NotRequired[str],
    Status: NotRequired[str],

NetworkAclAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkAclAssociationTypeDef

def get_value() -> NetworkAclAssociationTypeDef:
    return {
        "NetworkAclAssociationId": ...,
    }
Definition
class NetworkAclAssociationTypeDef(TypedDict):
    NetworkAclAssociationId: NotRequired[str],
    NetworkAclId: NotRequired[str],
    SubnetId: NotRequired[str],

NetworkCardInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkCardInfoTypeDef

def get_value() -> NetworkCardInfoTypeDef:
    return {
        "NetworkCardIndex": ...,
    }
Definition
class NetworkCardInfoTypeDef(TypedDict):
    NetworkCardIndex: NotRequired[int],
    NetworkPerformance: NotRequired[str],
    MaximumNetworkInterfaces: NotRequired[int],

NetworkInterfaceAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfaceAssociationTypeDef

def get_value() -> NetworkInterfaceAssociationTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class NetworkInterfaceAssociationTypeDef(TypedDict):
    AllocationId: NotRequired[str],
    AssociationId: NotRequired[str],
    IpOwnerId: NotRequired[str],
    PublicDnsName: NotRequired[str],
    PublicIp: NotRequired[str],
    CustomerOwnedIp: NotRequired[str],
    CarrierIp: NotRequired[str],

NetworkInterfaceIpv6AddressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfaceIpv6AddressTypeDef

def get_value() -> NetworkInterfaceIpv6AddressTypeDef:
    return {
        "Ipv6Address": ...,
    }
Definition
class NetworkInterfaceIpv6AddressTypeDef(TypedDict):
    Ipv6Address: NotRequired[str],

NetworkInterfacePermissionStateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfacePermissionStateTypeDef

def get_value() -> NetworkInterfacePermissionStateTypeDef:
    return {
        "State": ...,
    }
Definition
class NetworkInterfacePermissionStateTypeDef(TypedDict):
    State: NotRequired[NetworkInterfacePermissionStateCodeType],  # (1)
    StatusMessage: NotRequired[str],
  1. See NetworkInterfacePermissionStateCodeType

OidcOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import OidcOptionsTypeDef

def get_value() -> OidcOptionsTypeDef:
    return {
        "Issuer": ...,
    }
Definition
class OidcOptionsTypeDef(TypedDict):
    Issuer: NotRequired[str],
    AuthorizationEndpoint: NotRequired[str],
    TokenEndpoint: NotRequired[str],
    UserInfoEndpoint: NotRequired[str],
    ClientId: NotRequired[str],
    ClientSecret: NotRequired[str],
    Scope: NotRequired[str],

PacketHeaderStatementRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PacketHeaderStatementRequestTypeDef

def get_value() -> PacketHeaderStatementRequestTypeDef:
    return {
        "SourceAddresses": ...,
    }
Definition
class PacketHeaderStatementRequestTypeDef(TypedDict):
    SourceAddresses: NotRequired[Sequence[str]],
    DestinationAddresses: NotRequired[Sequence[str]],
    SourcePorts: NotRequired[Sequence[str]],
    DestinationPorts: NotRequired[Sequence[str]],
    SourcePrefixLists: NotRequired[Sequence[str]],
    DestinationPrefixLists: NotRequired[Sequence[str]],
    Protocols: NotRequired[Sequence[ProtocolType]],  # (1)
  1. See ProtocolType

PacketHeaderStatementTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PacketHeaderStatementTypeDef

def get_value() -> PacketHeaderStatementTypeDef:
    return {
        "SourceAddresses": ...,
    }
Definition
class PacketHeaderStatementTypeDef(TypedDict):
    SourceAddresses: NotRequired[List[str]],
    DestinationAddresses: NotRequired[List[str]],
    SourcePorts: NotRequired[List[str]],
    DestinationPorts: NotRequired[List[str]],
    SourcePrefixLists: NotRequired[List[str]],
    DestinationPrefixLists: NotRequired[List[str]],
    Protocols: NotRequired[List[ProtocolType]],  # (1)
  1. See ProtocolType

ResourceStatementRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResourceStatementRequestTypeDef

def get_value() -> ResourceStatementRequestTypeDef:
    return {
        "Resources": ...,
    }
Definition
class ResourceStatementRequestTypeDef(TypedDict):
    Resources: NotRequired[Sequence[str]],
    ResourceTypes: NotRequired[Sequence[str]],

ResourceStatementTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResourceStatementTypeDef

def get_value() -> ResourceStatementTypeDef:
    return {
        "Resources": ...,
    }
Definition
class ResourceStatementTypeDef(TypedDict):
    Resources: NotRequired[List[str]],
    ResourceTypes: NotRequired[List[str]],

PeeringAttachmentStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PeeringAttachmentStatusTypeDef

def get_value() -> PeeringAttachmentStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class PeeringAttachmentStatusTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],

PeeringTgwInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PeeringTgwInfoTypeDef

def get_value() -> PeeringTgwInfoTypeDef:
    return {
        "TransitGatewayId": ...,
    }
Definition
class PeeringTgwInfoTypeDef(TypedDict):
    TransitGatewayId: NotRequired[str],
    CoreNetworkId: NotRequired[str],
    OwnerId: NotRequired[str],
    Region: NotRequired[str],

Phase1DHGroupNumbersListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase1DHGroupNumbersListValueTypeDef

def get_value() -> Phase1DHGroupNumbersListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase1DHGroupNumbersListValueTypeDef(TypedDict):
    Value: NotRequired[int],

Phase1EncryptionAlgorithmsListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase1EncryptionAlgorithmsListValueTypeDef

def get_value() -> Phase1EncryptionAlgorithmsListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase1EncryptionAlgorithmsListValueTypeDef(TypedDict):
    Value: NotRequired[str],

Phase1IntegrityAlgorithmsListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase1IntegrityAlgorithmsListValueTypeDef

def get_value() -> Phase1IntegrityAlgorithmsListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase1IntegrityAlgorithmsListValueTypeDef(TypedDict):
    Value: NotRequired[str],

Phase2DHGroupNumbersListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase2DHGroupNumbersListValueTypeDef

def get_value() -> Phase2DHGroupNumbersListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase2DHGroupNumbersListValueTypeDef(TypedDict):
    Value: NotRequired[int],

Phase2EncryptionAlgorithmsListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase2EncryptionAlgorithmsListValueTypeDef

def get_value() -> Phase2EncryptionAlgorithmsListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase2EncryptionAlgorithmsListValueTypeDef(TypedDict):
    Value: NotRequired[str],

Phase2IntegrityAlgorithmsListValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Phase2IntegrityAlgorithmsListValueTypeDef

def get_value() -> Phase2IntegrityAlgorithmsListValueTypeDef:
    return {
        "Value": ...,
    }
Definition
class Phase2IntegrityAlgorithmsListValueTypeDef(TypedDict):
    Value: NotRequired[str],

PriceScheduleTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PriceScheduleTypeDef

def get_value() -> PriceScheduleTypeDef:
    return {
        "Active": ...,
    }
Definition
class PriceScheduleTypeDef(TypedDict):
    Active: NotRequired[bool],
    CurrencyCode: NotRequired[CurrencyCodeValuesType],  # (1)
    Price: NotRequired[float],
    Term: NotRequired[int],
  1. See CurrencyCodeValuesType

PricingDetailTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PricingDetailTypeDef

def get_value() -> PricingDetailTypeDef:
    return {
        "Count": ...,
    }
Definition
class PricingDetailTypeDef(TypedDict):
    Count: NotRequired[int],
    Price: NotRequired[float],

PrivateDnsDetailsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrivateDnsDetailsTypeDef

def get_value() -> PrivateDnsDetailsTypeDef:
    return {
        "PrivateDnsName": ...,
    }
Definition
class PrivateDnsDetailsTypeDef(TypedDict):
    PrivateDnsName: NotRequired[str],

PrivateDnsNameConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrivateDnsNameConfigurationTypeDef

def get_value() -> PrivateDnsNameConfigurationTypeDef:
    return {
        "State": ...,
    }
Definition
class PrivateDnsNameConfigurationTypeDef(TypedDict):
    State: NotRequired[DnsNameStateType],  # (1)
    Type: NotRequired[str],
    Value: NotRequired[str],
    Name: NotRequired[str],
  1. See DnsNameStateType

PrivateDnsNameOptionsOnLaunchTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrivateDnsNameOptionsOnLaunchTypeDef

def get_value() -> PrivateDnsNameOptionsOnLaunchTypeDef:
    return {
        "HostnameType": ...,
    }
Definition
class PrivateDnsNameOptionsOnLaunchTypeDef(TypedDict):
    HostnameType: NotRequired[HostnameTypeType],  # (1)
    EnableResourceNameDnsARecord: NotRequired[bool],
    EnableResourceNameDnsAAAARecord: NotRequired[bool],
  1. See HostnameTypeType

PrivateDnsNameOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrivateDnsNameOptionsRequestTypeDef

def get_value() -> PrivateDnsNameOptionsRequestTypeDef:
    return {
        "HostnameType": ...,
    }
Definition
class PrivateDnsNameOptionsRequestTypeDef(TypedDict):
    HostnameType: NotRequired[HostnameTypeType],  # (1)
    EnableResourceNameDnsARecord: NotRequired[bool],
    EnableResourceNameDnsAAAARecord: NotRequired[bool],
  1. See HostnameTypeType

PropagatingVgwTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PropagatingVgwTypeDef

def get_value() -> PropagatingVgwTypeDef:
    return {
        "GatewayId": ...,
    }
Definition
class PropagatingVgwTypeDef(TypedDict):
    GatewayId: NotRequired[str],

ProvisionPublicIpv4PoolCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ProvisionPublicIpv4PoolCidrRequestRequestTypeDef

def get_value() -> ProvisionPublicIpv4PoolCidrRequestRequestTypeDef:
    return {
        "IpamPoolId": ...,
        "PoolId": ...,
        "NetmaskLength": ...,
    }
Definition
class ProvisionPublicIpv4PoolCidrRequestRequestTypeDef(TypedDict):
    IpamPoolId: str,
    PoolId: str,
    NetmaskLength: int,
    DryRun: NotRequired[bool],

PublicIpv4PoolRangeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PublicIpv4PoolRangeTypeDef

def get_value() -> PublicIpv4PoolRangeTypeDef:
    return {
        "FirstAddress": ...,
    }
Definition
class PublicIpv4PoolRangeTypeDef(TypedDict):
    FirstAddress: NotRequired[str],
    LastAddress: NotRequired[str],
    AddressCount: NotRequired[int],
    AvailableAddressCount: NotRequired[int],

PurchaseRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PurchaseRequestTypeDef

def get_value() -> PurchaseRequestTypeDef:
    return {
        "InstanceCount": ...,
        "PurchaseToken": ...,
    }
Definition
class PurchaseRequestTypeDef(TypedDict):
    InstanceCount: int,
    PurchaseToken: str,

ReservedInstanceLimitPriceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservedInstanceLimitPriceTypeDef

def get_value() -> ReservedInstanceLimitPriceTypeDef:
    return {
        "Amount": ...,
    }
Definition
class ReservedInstanceLimitPriceTypeDef(TypedDict):
    Amount: NotRequired[float],
    CurrencyCode: NotRequired[CurrencyCodeValuesType],  # (1)
  1. See CurrencyCodeValuesType

RebootInstancesRequestInstanceRebootTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RebootInstancesRequestInstanceRebootTypeDef

def get_value() -> RebootInstancesRequestInstanceRebootTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class RebootInstancesRequestInstanceRebootTypeDef(TypedDict):
    DryRun: NotRequired[bool],

RebootInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RebootInstancesRequestRequestTypeDef

def get_value() -> RebootInstancesRequestRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class RebootInstancesRequestRequestTypeDef(TypedDict):
    InstanceIds: Sequence[str],
    DryRun: NotRequired[bool],

RecurringChargeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RecurringChargeTypeDef

def get_value() -> RecurringChargeTypeDef:
    return {
        "Amount": ...,
    }
Definition
class RecurringChargeTypeDef(TypedDict):
    Amount: NotRequired[float],
    Frequency: NotRequired[RecurringChargeFrequencyType],  # (1)
  1. See RecurringChargeFrequencyType

ReferencedSecurityGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReferencedSecurityGroupTypeDef

def get_value() -> ReferencedSecurityGroupTypeDef:
    return {
        "GroupId": ...,
    }
Definition
class ReferencedSecurityGroupTypeDef(TypedDict):
    GroupId: NotRequired[str],
    PeeringStatus: NotRequired[str],
    UserId: NotRequired[str],
    VpcId: NotRequired[str],
    VpcPeeringConnectionId: NotRequired[str],

RegisterInstanceTagAttributeRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterInstanceTagAttributeRequestTypeDef

def get_value() -> RegisterInstanceTagAttributeRequestTypeDef:
    return {
        "IncludeAllTagsOfInstance": ...,
    }
Definition
class RegisterInstanceTagAttributeRequestTypeDef(TypedDict):
    IncludeAllTagsOfInstance: NotRequired[bool],
    InstanceTagKeys: NotRequired[Sequence[str]],

RegisterTransitGatewayMulticastGroupMembersRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterTransitGatewayMulticastGroupMembersRequestRequestTypeDef

def get_value() -> RegisterTransitGatewayMulticastGroupMembersRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
        "NetworkInterfaceIds": ...,
    }
Definition
class RegisterTransitGatewayMulticastGroupMembersRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: str,
    NetworkInterfaceIds: Sequence[str],
    GroupIpAddress: NotRequired[str],
    DryRun: NotRequired[bool],

TransitGatewayMulticastRegisteredGroupMembersTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayMulticastRegisteredGroupMembersTypeDef

def get_value() -> TransitGatewayMulticastRegisteredGroupMembersTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class TransitGatewayMulticastRegisteredGroupMembersTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    RegisteredNetworkInterfaceIds: NotRequired[List[str]],
    GroupIpAddress: NotRequired[str],

RegisterTransitGatewayMulticastGroupSourcesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterTransitGatewayMulticastGroupSourcesRequestRequestTypeDef

def get_value() -> RegisterTransitGatewayMulticastGroupSourcesRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
        "NetworkInterfaceIds": ...,
    }
Definition
class RegisterTransitGatewayMulticastGroupSourcesRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: str,
    NetworkInterfaceIds: Sequence[str],
    GroupIpAddress: NotRequired[str],
    DryRun: NotRequired[bool],

TransitGatewayMulticastRegisteredGroupSourcesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayMulticastRegisteredGroupSourcesTypeDef

def get_value() -> TransitGatewayMulticastRegisteredGroupSourcesTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class TransitGatewayMulticastRegisteredGroupSourcesTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    RegisteredNetworkInterfaceIds: NotRequired[List[str]],
    GroupIpAddress: NotRequired[str],

RejectTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef

def get_value() -> RejectTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class RejectTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    TransitGatewayAttachmentId: NotRequired[str],
    SubnetIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],

RejectTransitGatewayPeeringAttachmentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectTransitGatewayPeeringAttachmentRequestRequestTypeDef

def get_value() -> RejectTransitGatewayPeeringAttachmentRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class RejectTransitGatewayPeeringAttachmentRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

RejectTransitGatewayVpcAttachmentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectTransitGatewayVpcAttachmentRequestRequestTypeDef

def get_value() -> RejectTransitGatewayVpcAttachmentRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class RejectTransitGatewayVpcAttachmentRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    DryRun: NotRequired[bool],

RejectVpcEndpointConnectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectVpcEndpointConnectionsRequestRequestTypeDef

def get_value() -> RejectVpcEndpointConnectionsRequestRequestTypeDef:
    return {
        "ServiceId": ...,
        "VpcEndpointIds": ...,
    }
Definition
class RejectVpcEndpointConnectionsRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    VpcEndpointIds: Sequence[str],
    DryRun: NotRequired[bool],

RejectVpcPeeringConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectVpcPeeringConnectionRequestRequestTypeDef

def get_value() -> RejectVpcPeeringConnectionRequestRequestTypeDef:
    return {
        "VpcPeeringConnectionId": ...,
    }
Definition
class RejectVpcPeeringConnectionRequestRequestTypeDef(TypedDict):
    VpcPeeringConnectionId: str,
    DryRun: NotRequired[bool],

RejectVpcPeeringConnectionRequestVpcPeeringConnectionRejectTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectVpcPeeringConnectionRequestVpcPeeringConnectionRejectTypeDef

def get_value() -> RejectVpcPeeringConnectionRequestVpcPeeringConnectionRejectTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class RejectVpcPeeringConnectionRequestVpcPeeringConnectionRejectTypeDef(TypedDict):
    DryRun: NotRequired[bool],

ReleaseAddressRequestClassicAddressReleaseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReleaseAddressRequestClassicAddressReleaseTypeDef

def get_value() -> ReleaseAddressRequestClassicAddressReleaseTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class ReleaseAddressRequestClassicAddressReleaseTypeDef(TypedDict):
    AllocationId: NotRequired[str],
    PublicIp: NotRequired[str],
    NetworkBorderGroup: NotRequired[str],
    DryRun: NotRequired[bool],

ReleaseAddressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReleaseAddressRequestRequestTypeDef

def get_value() -> ReleaseAddressRequestRequestTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class ReleaseAddressRequestRequestTypeDef(TypedDict):
    AllocationId: NotRequired[str],
    PublicIp: NotRequired[str],
    NetworkBorderGroup: NotRequired[str],
    DryRun: NotRequired[bool],

ReleaseAddressRequestVpcAddressReleaseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReleaseAddressRequestVpcAddressReleaseTypeDef

def get_value() -> ReleaseAddressRequestVpcAddressReleaseTypeDef:
    return {
        "AllocationId": ...,
    }
Definition
class ReleaseAddressRequestVpcAddressReleaseTypeDef(TypedDict):
    AllocationId: NotRequired[str],
    PublicIp: NotRequired[str],
    NetworkBorderGroup: NotRequired[str],
    DryRun: NotRequired[bool],

ReleaseHostsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReleaseHostsRequestRequestTypeDef

def get_value() -> ReleaseHostsRequestRequestTypeDef:
    return {
        "HostIds": ...,
    }
Definition
class ReleaseHostsRequestRequestTypeDef(TypedDict):
    HostIds: Sequence[str],

ReleaseIpamPoolAllocationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReleaseIpamPoolAllocationRequestRequestTypeDef

def get_value() -> ReleaseIpamPoolAllocationRequestRequestTypeDef:
    return {
        "IpamPoolId": ...,
        "Cidr": ...,
        "IpamPoolAllocationId": ...,
    }
Definition
class ReleaseIpamPoolAllocationRequestRequestTypeDef(TypedDict):
    IpamPoolId: str,
    Cidr: str,
    IpamPoolAllocationId: str,
    DryRun: NotRequired[bool],

ReplaceNetworkAclAssociationRequestNetworkAclReplaceAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceNetworkAclAssociationRequestNetworkAclReplaceAssociationTypeDef

def get_value() -> ReplaceNetworkAclAssociationRequestNetworkAclReplaceAssociationTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class ReplaceNetworkAclAssociationRequestNetworkAclReplaceAssociationTypeDef(TypedDict):
    AssociationId: str,
    DryRun: NotRequired[bool],

ReplaceNetworkAclAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceNetworkAclAssociationRequestRequestTypeDef

def get_value() -> ReplaceNetworkAclAssociationRequestRequestTypeDef:
    return {
        "AssociationId": ...,
        "NetworkAclId": ...,
    }
Definition
class ReplaceNetworkAclAssociationRequestRequestTypeDef(TypedDict):
    AssociationId: str,
    NetworkAclId: str,
    DryRun: NotRequired[bool],

ReplaceRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceRouteRequestRequestTypeDef

def get_value() -> ReplaceRouteRequestRequestTypeDef:
    return {
        "RouteTableId": ...,
    }
Definition
class ReplaceRouteRequestRequestTypeDef(TypedDict):
    RouteTableId: str,
    DestinationCidrBlock: NotRequired[str],
    DestinationIpv6CidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    DryRun: NotRequired[bool],
    VpcEndpointId: NotRequired[str],
    EgressOnlyInternetGatewayId: NotRequired[str],
    GatewayId: NotRequired[str],
    InstanceId: NotRequired[str],
    LocalTarget: NotRequired[bool],
    NatGatewayId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    LocalGatewayId: NotRequired[str],
    CarrierGatewayId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    VpcPeeringConnectionId: NotRequired[str],
    CoreNetworkArn: NotRequired[str],

ReplaceRouteRequestRouteReplaceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceRouteRequestRouteReplaceTypeDef

def get_value() -> ReplaceRouteRequestRouteReplaceTypeDef:
    return {
        "DestinationIpv6CidrBlock": ...,
    }
Definition
class ReplaceRouteRequestRouteReplaceTypeDef(TypedDict):
    DestinationIpv6CidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    DryRun: NotRequired[bool],
    VpcEndpointId: NotRequired[str],
    EgressOnlyInternetGatewayId: NotRequired[str],
    GatewayId: NotRequired[str],
    InstanceId: NotRequired[str],
    LocalTarget: NotRequired[bool],
    NatGatewayId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    LocalGatewayId: NotRequired[str],
    CarrierGatewayId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    VpcPeeringConnectionId: NotRequired[str],
    CoreNetworkArn: NotRequired[str],

ReplaceRouteTableAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceRouteTableAssociationRequestRequestTypeDef

def get_value() -> ReplaceRouteTableAssociationRequestRequestTypeDef:
    return {
        "AssociationId": ...,
        "RouteTableId": ...,
    }
Definition
class ReplaceRouteTableAssociationRequestRequestTypeDef(TypedDict):
    AssociationId: str,
    RouteTableId: str,
    DryRun: NotRequired[bool],

ReplaceRouteTableAssociationRequestRouteTableAssociationReplaceSubnetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceRouteTableAssociationRequestRouteTableAssociationReplaceSubnetTypeDef

def get_value() -> ReplaceRouteTableAssociationRequestRouteTableAssociationReplaceSubnetTypeDef:
    return {
        "RouteTableId": ...,
    }
Definition
class ReplaceRouteTableAssociationRequestRouteTableAssociationReplaceSubnetTypeDef(TypedDict):
    RouteTableId: str,
    DryRun: NotRequired[bool],

ReplaceTransitGatewayRouteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceTransitGatewayRouteRequestRequestTypeDef

def get_value() -> ReplaceTransitGatewayRouteRequestRequestTypeDef:
    return {
        "DestinationCidrBlock": ...,
        "TransitGatewayRouteTableId": ...,
    }
Definition
class ReplaceTransitGatewayRouteRequestRequestTypeDef(TypedDict):
    DestinationCidrBlock: str,
    TransitGatewayRouteTableId: str,
    TransitGatewayAttachmentId: NotRequired[str],
    Blackhole: NotRequired[bool],
    DryRun: NotRequired[bool],

ReportInstanceStatusRequestInstanceReportStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReportInstanceStatusRequestInstanceReportStatusTypeDef

def get_value() -> ReportInstanceStatusRequestInstanceReportStatusTypeDef:
    return {
        "ReasonCodes": ...,
        "Status": ...,
    }
Definition
class ReportInstanceStatusRequestInstanceReportStatusTypeDef(TypedDict):
    ReasonCodes: Sequence[ReportInstanceReasonCodesType],  # (1)
    Status: ReportStatusTypeType,  # (2)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    EndTime: NotRequired[Union[datetime, str]],
    StartTime: NotRequired[Union[datetime, str]],
  1. See ReportInstanceReasonCodesType
  2. See ReportStatusTypeType

ReportInstanceStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReportInstanceStatusRequestRequestTypeDef

def get_value() -> ReportInstanceStatusRequestRequestTypeDef:
    return {
        "Instances": ...,
        "ReasonCodes": ...,
        "Status": ...,
    }
Definition
class ReportInstanceStatusRequestRequestTypeDef(TypedDict):
    Instances: Sequence[str],
    ReasonCodes: Sequence[ReportInstanceReasonCodesType],  # (1)
    Status: ReportStatusTypeType,  # (2)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    EndTime: NotRequired[Union[datetime, str]],
    StartTime: NotRequired[Union[datetime, str]],
  1. See ReportInstanceReasonCodesType
  2. See ReportStatusTypeType

ReservedInstancesIdTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservedInstancesIdTypeDef

def get_value() -> ReservedInstancesIdTypeDef:
    return {
        "ReservedInstancesId": ...,
    }
Definition
class ReservedInstancesIdTypeDef(TypedDict):
    ReservedInstancesId: NotRequired[str],

ResetAddressAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetAddressAttributeRequestRequestTypeDef

def get_value() -> ResetAddressAttributeRequestRequestTypeDef:
    return {
        "AllocationId": ...,
        "Attribute": ...,
    }
Definition
class ResetAddressAttributeRequestRequestTypeDef(TypedDict):
    AllocationId: str,
    Attribute: AddressAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See AddressAttributeNameType

ResetEbsDefaultKmsKeyIdRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetEbsDefaultKmsKeyIdRequestRequestTypeDef

def get_value() -> ResetEbsDefaultKmsKeyIdRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class ResetEbsDefaultKmsKeyIdRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],

ResetFpgaImageAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetFpgaImageAttributeRequestRequestTypeDef

def get_value() -> ResetFpgaImageAttributeRequestRequestTypeDef:
    return {
        "FpgaImageId": ...,
    }
Definition
class ResetFpgaImageAttributeRequestRequestTypeDef(TypedDict):
    FpgaImageId: str,
    DryRun: NotRequired[bool],
    Attribute: NotRequired[ResetFpgaImageAttributeNameType],  # (1)
  1. See ResetFpgaImageAttributeNameType

ResetImageAttributeRequestImageResetAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetImageAttributeRequestImageResetAttributeTypeDef

def get_value() -> ResetImageAttributeRequestImageResetAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class ResetImageAttributeRequestImageResetAttributeTypeDef(TypedDict):
    Attribute: ResetImageAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See ResetImageAttributeNameType

ResetImageAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetImageAttributeRequestRequestTypeDef

def get_value() -> ResetImageAttributeRequestRequestTypeDef:
    return {
        "Attribute": ...,
        "ImageId": ...,
    }
Definition
class ResetImageAttributeRequestRequestTypeDef(TypedDict):
    Attribute: ResetImageAttributeNameType,  # (1)
    ImageId: str,
    DryRun: NotRequired[bool],
  1. See ResetImageAttributeNameType

ResetInstanceAttributeRequestInstanceResetAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetInstanceAttributeRequestInstanceResetAttributeTypeDef

def get_value() -> ResetInstanceAttributeRequestInstanceResetAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class ResetInstanceAttributeRequestInstanceResetAttributeTypeDef(TypedDict):
    Attribute: InstanceAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See InstanceAttributeNameType

ResetInstanceAttributeRequestInstanceResetKernelTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetInstanceAttributeRequestInstanceResetKernelTypeDef

def get_value() -> ResetInstanceAttributeRequestInstanceResetKernelTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class ResetInstanceAttributeRequestInstanceResetKernelTypeDef(TypedDict):
    Attribute: NotRequired[InstanceAttributeNameType],  # (1)
    DryRun: NotRequired[bool],
  1. See InstanceAttributeNameType

ResetInstanceAttributeRequestInstanceResetRamdiskTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetInstanceAttributeRequestInstanceResetRamdiskTypeDef

def get_value() -> ResetInstanceAttributeRequestInstanceResetRamdiskTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class ResetInstanceAttributeRequestInstanceResetRamdiskTypeDef(TypedDict):
    Attribute: NotRequired[InstanceAttributeNameType],  # (1)
    DryRun: NotRequired[bool],
  1. See InstanceAttributeNameType

ResetInstanceAttributeRequestInstanceResetSourceDestCheckTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetInstanceAttributeRequestInstanceResetSourceDestCheckTypeDef

def get_value() -> ResetInstanceAttributeRequestInstanceResetSourceDestCheckTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class ResetInstanceAttributeRequestInstanceResetSourceDestCheckTypeDef(TypedDict):
    Attribute: NotRequired[InstanceAttributeNameType],  # (1)
    DryRun: NotRequired[bool],
  1. See InstanceAttributeNameType

ResetInstanceAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetInstanceAttributeRequestRequestTypeDef

def get_value() -> ResetInstanceAttributeRequestRequestTypeDef:
    return {
        "Attribute": ...,
        "InstanceId": ...,
    }
Definition
class ResetInstanceAttributeRequestRequestTypeDef(TypedDict):
    Attribute: InstanceAttributeNameType,  # (1)
    InstanceId: str,
    DryRun: NotRequired[bool],
  1. See InstanceAttributeNameType

ResetNetworkInterfaceAttributeRequestNetworkInterfaceResetAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetNetworkInterfaceAttributeRequestNetworkInterfaceResetAttributeTypeDef

def get_value() -> ResetNetworkInterfaceAttributeRequestNetworkInterfaceResetAttributeTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class ResetNetworkInterfaceAttributeRequestNetworkInterfaceResetAttributeTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    SourceDestCheck: NotRequired[str],

ResetNetworkInterfaceAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetNetworkInterfaceAttributeRequestRequestTypeDef

def get_value() -> ResetNetworkInterfaceAttributeRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class ResetNetworkInterfaceAttributeRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    DryRun: NotRequired[bool],
    SourceDestCheck: NotRequired[str],

ResetSnapshotAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetSnapshotAttributeRequestRequestTypeDef

def get_value() -> ResetSnapshotAttributeRequestRequestTypeDef:
    return {
        "Attribute": ...,
        "SnapshotId": ...,
    }
Definition
class ResetSnapshotAttributeRequestRequestTypeDef(TypedDict):
    Attribute: SnapshotAttributeNameType,  # (1)
    SnapshotId: str,
    DryRun: NotRequired[bool],
  1. See SnapshotAttributeNameType

ResetSnapshotAttributeRequestSnapshotResetAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetSnapshotAttributeRequestSnapshotResetAttributeTypeDef

def get_value() -> ResetSnapshotAttributeRequestSnapshotResetAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class ResetSnapshotAttributeRequestSnapshotResetAttributeTypeDef(TypedDict):
    Attribute: SnapshotAttributeNameType,  # (1)
    DryRun: NotRequired[bool],
  1. See SnapshotAttributeNameType

RestoreAddressToClassicRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreAddressToClassicRequestRequestTypeDef

def get_value() -> RestoreAddressToClassicRequestRequestTypeDef:
    return {
        "PublicIp": ...,
    }
Definition
class RestoreAddressToClassicRequestRequestTypeDef(TypedDict):
    PublicIp: str,
    DryRun: NotRequired[bool],

RestoreImageFromRecycleBinRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreImageFromRecycleBinRequestRequestTypeDef

def get_value() -> RestoreImageFromRecycleBinRequestRequestTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class RestoreImageFromRecycleBinRequestRequestTypeDef(TypedDict):
    ImageId: str,
    DryRun: NotRequired[bool],

RestoreManagedPrefixListVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreManagedPrefixListVersionRequestRequestTypeDef

def get_value() -> RestoreManagedPrefixListVersionRequestRequestTypeDef:
    return {
        "PrefixListId": ...,
        "PreviousVersion": ...,
        "CurrentVersion": ...,
    }
Definition
class RestoreManagedPrefixListVersionRequestRequestTypeDef(TypedDict):
    PrefixListId: str,
    PreviousVersion: int,
    CurrentVersion: int,
    DryRun: NotRequired[bool],

RestoreSnapshotFromRecycleBinRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreSnapshotFromRecycleBinRequestRequestTypeDef

def get_value() -> RestoreSnapshotFromRecycleBinRequestRequestTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class RestoreSnapshotFromRecycleBinRequestRequestTypeDef(TypedDict):
    SnapshotId: str,
    DryRun: NotRequired[bool],

RestoreSnapshotTierRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreSnapshotTierRequestRequestTypeDef

def get_value() -> RestoreSnapshotTierRequestRequestTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class RestoreSnapshotTierRequestRequestTypeDef(TypedDict):
    SnapshotId: str,
    TemporaryRestoreDays: NotRequired[int],
    PermanentRestore: NotRequired[bool],
    DryRun: NotRequired[bool],

RevokeClientVpnIngressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RevokeClientVpnIngressRequestRequestTypeDef

def get_value() -> RevokeClientVpnIngressRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "TargetNetworkCidr": ...,
    }
Definition
class RevokeClientVpnIngressRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    TargetNetworkCidr: str,
    AccessGroupId: NotRequired[str],
    RevokeAllGroups: NotRequired[bool],
    DryRun: NotRequired[bool],

RouteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RouteTypeDef

def get_value() -> RouteTypeDef:
    return {
        "DestinationCidrBlock": ...,
    }
Definition
class RouteTypeDef(TypedDict):
    DestinationCidrBlock: NotRequired[str],
    DestinationIpv6CidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    EgressOnlyInternetGatewayId: NotRequired[str],
    GatewayId: NotRequired[str],
    InstanceId: NotRequired[str],
    InstanceOwnerId: NotRequired[str],
    NatGatewayId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    LocalGatewayId: NotRequired[str],
    CarrierGatewayId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    Origin: NotRequired[RouteOriginType],  # (1)
    State: NotRequired[RouteStateType],  # (2)
    VpcPeeringConnectionId: NotRequired[str],
    CoreNetworkArn: NotRequired[str],
  1. See RouteOriginType
  2. See RouteStateType

S3StorageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import S3StorageTypeDef

def get_value() -> S3StorageTypeDef:
    return {
        "AWSAccessKeyId": ...,
    }
Definition
class S3StorageTypeDef(TypedDict):
    AWSAccessKeyId: NotRequired[str],
    Bucket: NotRequired[str],
    Prefix: NotRequired[str],
    UploadPolicy: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    UploadPolicySignature: NotRequired[str],

ScheduledInstanceRecurrenceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstanceRecurrenceTypeDef

def get_value() -> ScheduledInstanceRecurrenceTypeDef:
    return {
        "Frequency": ...,
    }
Definition
class ScheduledInstanceRecurrenceTypeDef(TypedDict):
    Frequency: NotRequired[str],
    Interval: NotRequired[int],
    OccurrenceDaySet: NotRequired[List[int]],
    OccurrenceRelativeToEnd: NotRequired[bool],
    OccurrenceUnit: NotRequired[str],

ScheduledInstancesEbsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstancesEbsTypeDef

def get_value() -> ScheduledInstancesEbsTypeDef:
    return {
        "DeleteOnTermination": ...,
    }
Definition
class ScheduledInstancesEbsTypeDef(TypedDict):
    DeleteOnTermination: NotRequired[bool],
    Encrypted: NotRequired[bool],
    Iops: NotRequired[int],
    SnapshotId: NotRequired[str],
    VolumeSize: NotRequired[int],
    VolumeType: NotRequired[str],

ScheduledInstancesIamInstanceProfileTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstancesIamInstanceProfileTypeDef

def get_value() -> ScheduledInstancesIamInstanceProfileTypeDef:
    return {
        "Arn": ...,
    }
Definition
class ScheduledInstancesIamInstanceProfileTypeDef(TypedDict):
    Arn: NotRequired[str],
    Name: NotRequired[str],

ScheduledInstancesIpv6AddressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstancesIpv6AddressTypeDef

def get_value() -> ScheduledInstancesIpv6AddressTypeDef:
    return {
        "Ipv6Address": ...,
    }
Definition
class ScheduledInstancesIpv6AddressTypeDef(TypedDict):
    Ipv6Address: NotRequired[str],

ScheduledInstancesMonitoringTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstancesMonitoringTypeDef

def get_value() -> ScheduledInstancesMonitoringTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class ScheduledInstancesMonitoringTypeDef(TypedDict):
    Enabled: NotRequired[bool],

ScheduledInstancesPlacementTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstancesPlacementTypeDef

def get_value() -> ScheduledInstancesPlacementTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class ScheduledInstancesPlacementTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    GroupName: NotRequired[str],

ScheduledInstancesPrivateIpAddressConfigTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstancesPrivateIpAddressConfigTypeDef

def get_value() -> ScheduledInstancesPrivateIpAddressConfigTypeDef:
    return {
        "Primary": ...,
    }
Definition
class ScheduledInstancesPrivateIpAddressConfigTypeDef(TypedDict):
    Primary: NotRequired[bool],
    PrivateIpAddress: NotRequired[str],

TransitGatewayMulticastGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayMulticastGroupTypeDef

def get_value() -> TransitGatewayMulticastGroupTypeDef:
    return {
        "GroupIpAddress": ...,
    }
Definition
class TransitGatewayMulticastGroupTypeDef(TypedDict):
    GroupIpAddress: NotRequired[str],
    TransitGatewayAttachmentId: NotRequired[str],
    SubnetId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    ResourceOwnerId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    GroupMember: NotRequired[bool],
    GroupSource: NotRequired[bool],
    MemberType: NotRequired[MembershipTypeType],  # (2)
    SourceType: NotRequired[MembershipTypeType],  # (2)
  1. See TransitGatewayAttachmentResourceTypeType
  2. See MembershipTypeType
  3. See MembershipTypeType

SecurityGroupIdentifierTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SecurityGroupIdentifierTypeDef

def get_value() -> SecurityGroupIdentifierTypeDef:
    return {
        "GroupId": ...,
    }
Definition
class SecurityGroupIdentifierTypeDef(TypedDict):
    GroupId: NotRequired[str],
    GroupName: NotRequired[str],

SecurityGroupRuleDescriptionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SecurityGroupRuleDescriptionTypeDef

def get_value() -> SecurityGroupRuleDescriptionTypeDef:
    return {
        "SecurityGroupRuleId": ...,
    }
Definition
class SecurityGroupRuleDescriptionTypeDef(TypedDict):
    SecurityGroupRuleId: NotRequired[str],
    Description: NotRequired[str],

SecurityGroupRuleRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SecurityGroupRuleRequestTypeDef

def get_value() -> SecurityGroupRuleRequestTypeDef:
    return {
        "IpProtocol": ...,
    }
Definition
class SecurityGroupRuleRequestTypeDef(TypedDict):
    IpProtocol: NotRequired[str],
    FromPort: NotRequired[int],
    ToPort: NotRequired[int],
    CidrIpv4: NotRequired[str],
    CidrIpv6: NotRequired[str],
    PrefixListId: NotRequired[str],
    ReferencedGroupId: NotRequired[str],
    Description: NotRequired[str],

SendDiagnosticInterruptRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SendDiagnosticInterruptRequestRequestTypeDef

def get_value() -> SendDiagnosticInterruptRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class SendDiagnosticInterruptRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    DryRun: NotRequired[bool],

ServiceTypeDetailTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceTypeDetailTypeDef

def get_value() -> ServiceTypeDetailTypeDef:
    return {
        "ServiceType": ...,
    }
Definition
class ServiceTypeDetailTypeDef(TypedDict):
    ServiceType: NotRequired[ServiceTypeType],  # (1)
  1. See ServiceTypeType

ServiceResourceClassicAddressRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceClassicAddressRequestTypeDef

def get_value() -> ServiceResourceClassicAddressRequestTypeDef:
    return {
        "public_ip": ...,
    }
Definition
class ServiceResourceClassicAddressRequestTypeDef(TypedDict):
    public_ip: str,

ServiceResourceDhcpOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceDhcpOptionsRequestTypeDef

def get_value() -> ServiceResourceDhcpOptionsRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceDhcpOptionsRequestTypeDef(TypedDict):
    id: str,

ServiceResourceImageRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceImageRequestTypeDef

def get_value() -> ServiceResourceImageRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceImageRequestTypeDef(TypedDict):
    id: str,

ServiceResourceInstanceRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceInstanceRequestTypeDef

def get_value() -> ServiceResourceInstanceRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceInstanceRequestTypeDef(TypedDict):
    id: str,

ServiceResourceInternetGatewayRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceInternetGatewayRequestTypeDef

def get_value() -> ServiceResourceInternetGatewayRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceInternetGatewayRequestTypeDef(TypedDict):
    id: str,

ServiceResourceKeyPairRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceKeyPairRequestTypeDef

def get_value() -> ServiceResourceKeyPairRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class ServiceResourceKeyPairRequestTypeDef(TypedDict):
    name: str,

ServiceResourceNetworkAclRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceNetworkAclRequestTypeDef

def get_value() -> ServiceResourceNetworkAclRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceNetworkAclRequestTypeDef(TypedDict):
    id: str,

ServiceResourceNetworkInterfaceAssociationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceNetworkInterfaceAssociationRequestTypeDef

def get_value() -> ServiceResourceNetworkInterfaceAssociationRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceNetworkInterfaceAssociationRequestTypeDef(TypedDict):
    id: str,

ServiceResourceNetworkInterfaceRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceNetworkInterfaceRequestTypeDef

def get_value() -> ServiceResourceNetworkInterfaceRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceNetworkInterfaceRequestTypeDef(TypedDict):
    id: str,

ServiceResourcePlacementGroupRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourcePlacementGroupRequestTypeDef

def get_value() -> ServiceResourcePlacementGroupRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class ServiceResourcePlacementGroupRequestTypeDef(TypedDict):
    name: str,

ServiceResourceRouteRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceRouteRequestTypeDef

def get_value() -> ServiceResourceRouteRequestTypeDef:
    return {
        "route_table_id": ...,
        "destination_cidr_block": ...,
    }
Definition
class ServiceResourceRouteRequestTypeDef(TypedDict):
    route_table_id: str,
    destination_cidr_block: str,

ServiceResourceRouteTableAssociationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceRouteTableAssociationRequestTypeDef

def get_value() -> ServiceResourceRouteTableAssociationRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceRouteTableAssociationRequestTypeDef(TypedDict):
    id: str,

ServiceResourceRouteTableRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceRouteTableRequestTypeDef

def get_value() -> ServiceResourceRouteTableRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceRouteTableRequestTypeDef(TypedDict):
    id: str,

ServiceResourceSecurityGroupRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceSecurityGroupRequestTypeDef

def get_value() -> ServiceResourceSecurityGroupRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceSecurityGroupRequestTypeDef(TypedDict):
    id: str,

ServiceResourceSnapshotRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceSnapshotRequestTypeDef

def get_value() -> ServiceResourceSnapshotRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceSnapshotRequestTypeDef(TypedDict):
    id: str,

ServiceResourceSubnetRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceSubnetRequestTypeDef

def get_value() -> ServiceResourceSubnetRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceSubnetRequestTypeDef(TypedDict):
    id: str,

ServiceResourceTagRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceTagRequestTypeDef

def get_value() -> ServiceResourceTagRequestTypeDef:
    return {
        "resource_id": ...,
        "key": ...,
        "value": ...,
    }
Definition
class ServiceResourceTagRequestTypeDef(TypedDict):
    resource_id: str,
    key: str,
    value: str,

ServiceResourceVolumeRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceVolumeRequestTypeDef

def get_value() -> ServiceResourceVolumeRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceVolumeRequestTypeDef(TypedDict):
    id: str,

ServiceResourceVpcAddressRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceVpcAddressRequestTypeDef

def get_value() -> ServiceResourceVpcAddressRequestTypeDef:
    return {
        "allocation_id": ...,
    }
Definition
class ServiceResourceVpcAddressRequestTypeDef(TypedDict):
    allocation_id: str,

ServiceResourceVpcPeeringConnectionRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceVpcPeeringConnectionRequestTypeDef

def get_value() -> ServiceResourceVpcPeeringConnectionRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceVpcPeeringConnectionRequestTypeDef(TypedDict):
    id: str,

ServiceResourceVpcRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceResourceVpcRequestTypeDef

def get_value() -> ServiceResourceVpcRequestTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceResourceVpcRequestTypeDef(TypedDict):
    id: str,

UserBucketDetailsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UserBucketDetailsTypeDef

def get_value() -> UserBucketDetailsTypeDef:
    return {
        "S3Bucket": ...,
    }
Definition
class UserBucketDetailsTypeDef(TypedDict):
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],

SpotCapacityRebalanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotCapacityRebalanceTypeDef

def get_value() -> SpotCapacityRebalanceTypeDef:
    return {
        "ReplacementStrategy": ...,
    }
Definition
class SpotCapacityRebalanceTypeDef(TypedDict):
    ReplacementStrategy: NotRequired[ReplacementStrategyType],  # (1)
    TerminationDelay: NotRequired[int],
  1. See ReplacementStrategyType

SpotInstanceStateFaultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotInstanceStateFaultTypeDef

def get_value() -> SpotInstanceStateFaultTypeDef:
    return {
        "Code": ...,
    }
Definition
class SpotInstanceStateFaultTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],

SpotFleetMonitoringTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotFleetMonitoringTypeDef

def get_value() -> SpotFleetMonitoringTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class SpotFleetMonitoringTypeDef(TypedDict):
    Enabled: NotRequired[bool],

SpotInstanceStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotInstanceStatusTypeDef

def get_value() -> SpotInstanceStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class SpotInstanceStatusTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],
    UpdateTime: NotRequired[datetime],

StartInstancesRequestInstanceStartTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StartInstancesRequestInstanceStartTypeDef

def get_value() -> StartInstancesRequestInstanceStartTypeDef:
    return {
        "AdditionalInfo": ...,
    }
Definition
class StartInstancesRequestInstanceStartTypeDef(TypedDict):
    AdditionalInfo: NotRequired[str],
    DryRun: NotRequired[bool],

StartInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StartInstancesRequestRequestTypeDef

def get_value() -> StartInstancesRequestRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class StartInstancesRequestRequestTypeDef(TypedDict):
    InstanceIds: Sequence[str],
    AdditionalInfo: NotRequired[str],
    DryRun: NotRequired[bool],

StartVpcEndpointServicePrivateDnsVerificationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StartVpcEndpointServicePrivateDnsVerificationRequestRequestTypeDef

def get_value() -> StartVpcEndpointServicePrivateDnsVerificationRequestRequestTypeDef:
    return {
        "ServiceId": ...,
    }
Definition
class StartVpcEndpointServicePrivateDnsVerificationRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    DryRun: NotRequired[bool],

StopInstancesRequestInstanceStopTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StopInstancesRequestInstanceStopTypeDef

def get_value() -> StopInstancesRequestInstanceStopTypeDef:
    return {
        "Hibernate": ...,
    }
Definition
class StopInstancesRequestInstanceStopTypeDef(TypedDict):
    Hibernate: NotRequired[bool],
    DryRun: NotRequired[bool],
    Force: NotRequired[bool],

StopInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StopInstancesRequestRequestTypeDef

def get_value() -> StopInstancesRequestRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class StopInstancesRequestRequestTypeDef(TypedDict):
    InstanceIds: Sequence[str],
    Hibernate: NotRequired[bool],
    DryRun: NotRequired[bool],
    Force: NotRequired[bool],

SubnetAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SubnetAssociationTypeDef

def get_value() -> SubnetAssociationTypeDef:
    return {
        "SubnetId": ...,
    }
Definition
class SubnetAssociationTypeDef(TypedDict):
    SubnetId: NotRequired[str],
    State: NotRequired[TransitGatewayMulitcastDomainAssociationStateType],  # (1)
  1. See TransitGatewayMulitcastDomainAssociationStateType

SubnetCidrBlockStateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SubnetCidrBlockStateTypeDef

def get_value() -> SubnetCidrBlockStateTypeDef:
    return {
        "State": ...,
    }
Definition
class SubnetCidrBlockStateTypeDef(TypedDict):
    State: NotRequired[SubnetCidrBlockStateCodeType],  # (1)
    StatusMessage: NotRequired[str],
  1. See SubnetCidrBlockStateCodeType

TargetConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TargetConfigurationTypeDef

def get_value() -> TargetConfigurationTypeDef:
    return {
        "InstanceCount": ...,
    }
Definition
class TargetConfigurationTypeDef(TypedDict):
    InstanceCount: NotRequired[int],
    OfferingId: NotRequired[str],

TargetGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TargetGroupTypeDef

def get_value() -> TargetGroupTypeDef:
    return {
        "Arn": ...,
    }
Definition
class TargetGroupTypeDef(TypedDict):
    Arn: NotRequired[str],

TerminateClientVpnConnectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TerminateClientVpnConnectionsRequestRequestTypeDef

def get_value() -> TerminateClientVpnConnectionsRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class TerminateClientVpnConnectionsRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    ConnectionId: NotRequired[str],
    Username: NotRequired[str],
    DryRun: NotRequired[bool],

TerminateInstancesRequestInstanceTerminateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TerminateInstancesRequestInstanceTerminateTypeDef

def get_value() -> TerminateInstancesRequestInstanceTerminateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class TerminateInstancesRequestInstanceTerminateTypeDef(TypedDict):
    DryRun: NotRequired[bool],

TerminateInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TerminateInstancesRequestRequestTypeDef

def get_value() -> TerminateInstancesRequestRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class TerminateInstancesRequestRequestTypeDef(TypedDict):
    InstanceIds: Sequence[str],
    DryRun: NotRequired[bool],

TrafficMirrorPortRangeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TrafficMirrorPortRangeTypeDef

def get_value() -> TrafficMirrorPortRangeTypeDef:
    return {
        "FromPort": ...,
    }
Definition
class TrafficMirrorPortRangeTypeDef(TypedDict):
    FromPort: NotRequired[int],
    ToPort: NotRequired[int],

TransitGatewayAttachmentAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayAttachmentAssociationTypeDef

def get_value() -> TransitGatewayAttachmentAssociationTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class TransitGatewayAttachmentAssociationTypeDef(TypedDict):
    TransitGatewayRouteTableId: NotRequired[str],
    State: NotRequired[TransitGatewayAssociationStateType],  # (1)
  1. See TransitGatewayAssociationStateType

TransitGatewayAttachmentBgpConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayAttachmentBgpConfigurationTypeDef

def get_value() -> TransitGatewayAttachmentBgpConfigurationTypeDef:
    return {
        "TransitGatewayAsn": ...,
    }
Definition
class TransitGatewayAttachmentBgpConfigurationTypeDef(TypedDict):
    TransitGatewayAsn: NotRequired[int],
    PeerAsn: NotRequired[int],
    TransitGatewayAddress: NotRequired[str],
    PeerAddress: NotRequired[str],
    BgpStatus: NotRequired[BgpStatusType],  # (1)
  1. See BgpStatusType

TransitGatewayConnectOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayConnectOptionsTypeDef

def get_value() -> TransitGatewayConnectOptionsTypeDef:
    return {
        "Protocol": ...,
    }
Definition
class TransitGatewayConnectOptionsTypeDef(TypedDict):
    Protocol: NotRequired[ProtocolValueType],  # (1)
  1. See ProtocolValueType

TransitGatewayMulticastDomainOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayMulticastDomainOptionsTypeDef

def get_value() -> TransitGatewayMulticastDomainOptionsTypeDef:
    return {
        "Igmpv2Support": ...,
    }
Definition
class TransitGatewayMulticastDomainOptionsTypeDef(TypedDict):
    Igmpv2Support: NotRequired[Igmpv2SupportValueType],  # (1)
    StaticSourcesSupport: NotRequired[StaticSourcesSupportValueType],  # (2)
    AutoAcceptSharedAssociations: NotRequired[AutoAcceptSharedAssociationsValueType],  # (3)
  1. See Igmpv2SupportValueType
  2. See StaticSourcesSupportValueType
  3. See AutoAcceptSharedAssociationsValueType

TransitGatewayOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayOptionsTypeDef

def get_value() -> TransitGatewayOptionsTypeDef:
    return {
        "AmazonSideAsn": ...,
    }
Definition
class TransitGatewayOptionsTypeDef(TypedDict):
    AmazonSideAsn: NotRequired[int],
    TransitGatewayCidrBlocks: NotRequired[List[str]],
    AutoAcceptSharedAttachments: NotRequired[AutoAcceptSharedAttachmentsValueType],  # (1)
    DefaultRouteTableAssociation: NotRequired[DefaultRouteTableAssociationValueType],  # (2)
    AssociationDefaultRouteTableId: NotRequired[str],
    DefaultRouteTablePropagation: NotRequired[DefaultRouteTablePropagationValueType],  # (3)
    PropagationDefaultRouteTableId: NotRequired[str],
    VpnEcmpSupport: NotRequired[VpnEcmpSupportValueType],  # (4)
    DnsSupport: NotRequired[DnsSupportValueType],  # (5)
    MulticastSupport: NotRequired[MulticastSupportValueType],  # (6)
  1. See AutoAcceptSharedAttachmentsValueType
  2. See DefaultRouteTableAssociationValueType
  3. See DefaultRouteTablePropagationValueType
  4. See VpnEcmpSupportValueType
  5. See DnsSupportValueType
  6. See MulticastSupportValueType

TransitGatewayPeeringAttachmentOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPeeringAttachmentOptionsTypeDef

def get_value() -> TransitGatewayPeeringAttachmentOptionsTypeDef:
    return {
        "DynamicRouting": ...,
    }
Definition
class TransitGatewayPeeringAttachmentOptionsTypeDef(TypedDict):
    DynamicRouting: NotRequired[DynamicRoutingValueType],  # (1)
  1. See DynamicRoutingValueType

TransitGatewayPolicyRuleMetaDataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPolicyRuleMetaDataTypeDef

def get_value() -> TransitGatewayPolicyRuleMetaDataTypeDef:
    return {
        "MetaDataKey": ...,
    }
Definition
class TransitGatewayPolicyRuleMetaDataTypeDef(TypedDict):
    MetaDataKey: NotRequired[str],
    MetaDataValue: NotRequired[str],

TransitGatewayPrefixListAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPrefixListAttachmentTypeDef

def get_value() -> TransitGatewayPrefixListAttachmentTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayPrefixListAttachmentTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    ResourceId: NotRequired[str],
  1. See TransitGatewayAttachmentResourceTypeType

TransitGatewayRouteAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayRouteAttachmentTypeDef

def get_value() -> TransitGatewayRouteAttachmentTypeDef:
    return {
        "ResourceId": ...,
    }
Definition
class TransitGatewayRouteAttachmentTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    TransitGatewayAttachmentId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
  1. See TransitGatewayAttachmentResourceTypeType

TransitGatewayVpcAttachmentOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayVpcAttachmentOptionsTypeDef

def get_value() -> TransitGatewayVpcAttachmentOptionsTypeDef:
    return {
        "DnsSupport": ...,
    }
Definition
class TransitGatewayVpcAttachmentOptionsTypeDef(TypedDict):
    DnsSupport: NotRequired[DnsSupportValueType],  # (1)
    Ipv6Support: NotRequired[Ipv6SupportValueType],  # (2)
    ApplianceModeSupport: NotRequired[ApplianceModeSupportValueType],  # (3)
  1. See DnsSupportValueType
  2. See Ipv6SupportValueType
  3. See ApplianceModeSupportValueType

UnassignIpv6AddressesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnassignIpv6AddressesRequestRequestTypeDef

def get_value() -> UnassignIpv6AddressesRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class UnassignIpv6AddressesRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    Ipv6Addresses: NotRequired[Sequence[str]],
    Ipv6Prefixes: NotRequired[Sequence[str]],

UnassignPrivateIpAddressesRequestNetworkInterfaceUnassignPrivateIpAddressesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnassignPrivateIpAddressesRequestNetworkInterfaceUnassignPrivateIpAddressesTypeDef

def get_value() -> UnassignPrivateIpAddressesRequestNetworkInterfaceUnassignPrivateIpAddressesTypeDef:
    return {
        "PrivateIpAddresses": ...,
    }
Definition
class UnassignPrivateIpAddressesRequestNetworkInterfaceUnassignPrivateIpAddressesTypeDef(TypedDict):
    PrivateIpAddresses: NotRequired[Sequence[str]],
    Ipv4Prefixes: NotRequired[Sequence[str]],

UnassignPrivateIpAddressesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnassignPrivateIpAddressesRequestRequestTypeDef

def get_value() -> UnassignPrivateIpAddressesRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class UnassignPrivateIpAddressesRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    PrivateIpAddresses: NotRequired[Sequence[str]],
    Ipv4Prefixes: NotRequired[Sequence[str]],

UnassignPrivateNatGatewayAddressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnassignPrivateNatGatewayAddressRequestRequestTypeDef

def get_value() -> UnassignPrivateNatGatewayAddressRequestRequestTypeDef:
    return {
        "NatGatewayId": ...,
        "PrivateIpAddresses": ...,
    }
Definition
class UnassignPrivateNatGatewayAddressRequestRequestTypeDef(TypedDict):
    NatGatewayId: str,
    PrivateIpAddresses: Sequence[str],
    MaxDrainDurationSeconds: NotRequired[int],
    DryRun: NotRequired[bool],

UnmonitorInstancesRequestInstanceUnmonitorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnmonitorInstancesRequestInstanceUnmonitorTypeDef

def get_value() -> UnmonitorInstancesRequestInstanceUnmonitorTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class UnmonitorInstancesRequestInstanceUnmonitorTypeDef(TypedDict):
    DryRun: NotRequired[bool],

UnmonitorInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnmonitorInstancesRequestRequestTypeDef

def get_value() -> UnmonitorInstancesRequestRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class UnmonitorInstancesRequestRequestTypeDef(TypedDict):
    InstanceIds: Sequence[str],
    DryRun: NotRequired[bool],

UnsuccessfulInstanceCreditSpecificationItemErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnsuccessfulInstanceCreditSpecificationItemErrorTypeDef

def get_value() -> UnsuccessfulInstanceCreditSpecificationItemErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class UnsuccessfulInstanceCreditSpecificationItemErrorTypeDef(TypedDict):
    Code: NotRequired[UnsuccessfulInstanceCreditSpecificationErrorCodeType],  # (1)
    Message: NotRequired[str],
  1. See UnsuccessfulInstanceCreditSpecificationErrorCodeType

UnsuccessfulItemErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnsuccessfulItemErrorTypeDef

def get_value() -> UnsuccessfulItemErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class UnsuccessfulItemErrorTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],

ValidationErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ValidationErrorTypeDef

def get_value() -> ValidationErrorTypeDef:
    return {
        "Code": ...,
    }
Definition
class ValidationErrorTypeDef(TypedDict):
    Code: NotRequired[str],
    Message: NotRequired[str],

VerifiedAccessEndpointEniOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessEndpointEniOptionsTypeDef

def get_value() -> VerifiedAccessEndpointEniOptionsTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class VerifiedAccessEndpointEniOptionsTypeDef(TypedDict):
    NetworkInterfaceId: NotRequired[str],
    Protocol: NotRequired[VerifiedAccessEndpointProtocolType],  # (1)
    Port: NotRequired[int],
  1. See VerifiedAccessEndpointProtocolType

VerifiedAccessEndpointLoadBalancerOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessEndpointLoadBalancerOptionsTypeDef

def get_value() -> VerifiedAccessEndpointLoadBalancerOptionsTypeDef:
    return {
        "Protocol": ...,
    }
Definition
class VerifiedAccessEndpointLoadBalancerOptionsTypeDef(TypedDict):
    Protocol: NotRequired[VerifiedAccessEndpointProtocolType],  # (1)
    Port: NotRequired[int],
    LoadBalancerArn: NotRequired[str],
    SubnetIds: NotRequired[List[str]],
  1. See VerifiedAccessEndpointProtocolType

VerifiedAccessEndpointStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessEndpointStatusTypeDef

def get_value() -> VerifiedAccessEndpointStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class VerifiedAccessEndpointStatusTypeDef(TypedDict):
    Code: NotRequired[VerifiedAccessEndpointStatusCodeType],  # (1)
    Message: NotRequired[str],
  1. See VerifiedAccessEndpointStatusCodeType

VerifiedAccessTrustProviderCondensedTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessTrustProviderCondensedTypeDef

def get_value() -> VerifiedAccessTrustProviderCondensedTypeDef:
    return {
        "VerifiedAccessTrustProviderId": ...,
    }
Definition
class VerifiedAccessTrustProviderCondensedTypeDef(TypedDict):
    VerifiedAccessTrustProviderId: NotRequired[str],
    Description: NotRequired[str],
    TrustProviderType: NotRequired[TrustProviderTypeType],  # (1)
    UserTrustProviderType: NotRequired[UserTrustProviderTypeType],  # (2)
    DeviceTrustProviderType: NotRequired[DeviceTrustProviderTypeType],  # (3)
  1. See TrustProviderTypeType
  2. See UserTrustProviderTypeType
  3. See DeviceTrustProviderTypeType

VerifiedAccessLogCloudWatchLogsDestinationOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessLogCloudWatchLogsDestinationOptionsTypeDef

def get_value() -> VerifiedAccessLogCloudWatchLogsDestinationOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class VerifiedAccessLogCloudWatchLogsDestinationOptionsTypeDef(TypedDict):
    Enabled: bool,
    LogGroup: NotRequired[str],

VerifiedAccessLogDeliveryStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessLogDeliveryStatusTypeDef

def get_value() -> VerifiedAccessLogDeliveryStatusTypeDef:
    return {
        "Code": ...,
    }
Definition
class VerifiedAccessLogDeliveryStatusTypeDef(TypedDict):
    Code: NotRequired[VerifiedAccessLogDeliveryStatusCodeType],  # (1)
    Message: NotRequired[str],
  1. See VerifiedAccessLogDeliveryStatusCodeType

VerifiedAccessLogKinesisDataFirehoseDestinationOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessLogKinesisDataFirehoseDestinationOptionsTypeDef

def get_value() -> VerifiedAccessLogKinesisDataFirehoseDestinationOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class VerifiedAccessLogKinesisDataFirehoseDestinationOptionsTypeDef(TypedDict):
    Enabled: bool,
    DeliveryStream: NotRequired[str],

VerifiedAccessLogS3DestinationOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessLogS3DestinationOptionsTypeDef

def get_value() -> VerifiedAccessLogS3DestinationOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class VerifiedAccessLogS3DestinationOptionsTypeDef(TypedDict):
    Enabled: bool,
    BucketName: NotRequired[str],
    Prefix: NotRequired[str],
    BucketOwner: NotRequired[str],

VgwTelemetryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VgwTelemetryTypeDef

def get_value() -> VgwTelemetryTypeDef:
    return {
        "AcceptedRouteCount": ...,
    }
Definition
class VgwTelemetryTypeDef(TypedDict):
    AcceptedRouteCount: NotRequired[int],
    LastStatusChange: NotRequired[datetime],
    OutsideIpAddress: NotRequired[str],
    Status: NotRequired[TelemetryStatusType],  # (1)
    StatusMessage: NotRequired[str],
    CertificateArn: NotRequired[str],
  1. See TelemetryStatusType

VolumeAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeAttachmentTypeDef

def get_value() -> VolumeAttachmentTypeDef:
    return {
        "AttachTime": ...,
    }
Definition
class VolumeAttachmentTypeDef(TypedDict):
    AttachTime: NotRequired[datetime],
    Device: NotRequired[str],
    InstanceId: NotRequired[str],
    State: NotRequired[VolumeAttachmentStateType],  # (1)
    VolumeId: NotRequired[str],
    DeleteOnTermination: NotRequired[bool],
  1. See VolumeAttachmentStateType

VolumeStatusActionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeStatusActionTypeDef

def get_value() -> VolumeStatusActionTypeDef:
    return {
        "Code": ...,
    }
Definition
class VolumeStatusActionTypeDef(TypedDict):
    Code: NotRequired[str],
    Description: NotRequired[str],
    EventId: NotRequired[str],
    EventType: NotRequired[str],

VolumeStatusAttachmentStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeStatusAttachmentStatusTypeDef

def get_value() -> VolumeStatusAttachmentStatusTypeDef:
    return {
        "IoPerformance": ...,
    }
Definition
class VolumeStatusAttachmentStatusTypeDef(TypedDict):
    IoPerformance: NotRequired[str],
    InstanceId: NotRequired[str],

VolumeStatusDetailsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeStatusDetailsTypeDef

def get_value() -> VolumeStatusDetailsTypeDef:
    return {
        "Name": ...,
    }
Definition
class VolumeStatusDetailsTypeDef(TypedDict):
    Name: NotRequired[VolumeStatusNameType],  # (1)
    Status: NotRequired[str],
  1. See VolumeStatusNameType

VolumeStatusEventTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeStatusEventTypeDef

def get_value() -> VolumeStatusEventTypeDef:
    return {
        "Description": ...,
    }
Definition
class VolumeStatusEventTypeDef(TypedDict):
    Description: NotRequired[str],
    EventId: NotRequired[str],
    EventType: NotRequired[str],
    NotAfter: NotRequired[datetime],
    NotBefore: NotRequired[datetime],
    InstanceId: NotRequired[str],

VpcCidrBlockStateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcCidrBlockStateTypeDef

def get_value() -> VpcCidrBlockStateTypeDef:
    return {
        "State": ...,
    }
Definition
class VpcCidrBlockStateTypeDef(TypedDict):
    State: NotRequired[VpcCidrBlockStateCodeType],  # (1)
    StatusMessage: NotRequired[str],
  1. See VpcCidrBlockStateCodeType

VpcPeeringConnectionOptionsDescriptionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcPeeringConnectionOptionsDescriptionTypeDef

def get_value() -> VpcPeeringConnectionOptionsDescriptionTypeDef:
    return {
        "AllowDnsResolutionFromRemoteVpc": ...,
    }
Definition
class VpcPeeringConnectionOptionsDescriptionTypeDef(TypedDict):
    AllowDnsResolutionFromRemoteVpc: NotRequired[bool],
    AllowEgressFromLocalClassicLinkToRemoteVpc: NotRequired[bool],
    AllowEgressFromLocalVpcToRemoteClassicLink: NotRequired[bool],

VpcPeeringConnectionStateReasonTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcPeeringConnectionStateReasonTypeDef

def get_value() -> VpcPeeringConnectionStateReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class VpcPeeringConnectionStateReasonTypeDef(TypedDict):
    Code: NotRequired[VpcPeeringConnectionStateReasonCodeType],  # (1)
    Message: NotRequired[str],
  1. See VpcPeeringConnectionStateReasonCodeType

VpnStaticRouteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpnStaticRouteTypeDef

def get_value() -> VpnStaticRouteTypeDef:
    return {
        "DestinationCidrBlock": ...,
    }
Definition
class VpnStaticRouteTypeDef(TypedDict):
    DestinationCidrBlock: NotRequired[str],
    Source: NotRequired[VpnStaticRouteSourceType],  # (1)
    State: NotRequired[VpnStateType],  # (2)
  1. See VpnStaticRouteSourceType
  2. See VpnStateType

WithdrawByoipCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import WithdrawByoipCidrRequestRequestTypeDef

def get_value() -> WithdrawByoipCidrRequestRequestTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class WithdrawByoipCidrRequestRequestTypeDef(TypedDict):
    Cidr: str,
    DryRun: NotRequired[bool],

AcceptAddressTransferResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptAddressTransferResultTypeDef

def get_value() -> AcceptAddressTransferResultTypeDef:
    return {
        "AddressTransfer": ...,
        "ResponseMetadata": ...,
    }
Definition
class AcceptAddressTransferResultTypeDef(TypedDict):
    AddressTransfer: AddressTransferTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AddressTransferTypeDef
  2. See ResponseMetadataTypeDef

AcceptReservedInstancesExchangeQuoteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptReservedInstancesExchangeQuoteResultTypeDef

def get_value() -> AcceptReservedInstancesExchangeQuoteResultTypeDef:
    return {
        "ExchangeId": ...,
        "ResponseMetadata": ...,
    }
Definition
class AcceptReservedInstancesExchangeQuoteResultTypeDef(TypedDict):
    ExchangeId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AllocateAddressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AllocateAddressResultTypeDef

def get_value() -> AllocateAddressResultTypeDef:
    return {
        "PublicIp": ...,
        "AllocationId": ...,
        "PublicIpv4Pool": ...,
        "NetworkBorderGroup": ...,
        "Domain": ...,
        "CustomerOwnedIp": ...,
        "CustomerOwnedIpv4Pool": ...,
        "CarrierIp": ...,
        "ResponseMetadata": ...,
    }
Definition
class AllocateAddressResultTypeDef(TypedDict):
    PublicIp: str,
    AllocationId: str,
    PublicIpv4Pool: str,
    NetworkBorderGroup: str,
    Domain: DomainTypeType,  # (1)
    CustomerOwnedIp: str,
    CustomerOwnedIpv4Pool: str,
    CarrierIp: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainTypeType
  2. See ResponseMetadataTypeDef

AllocateHostsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AllocateHostsResultTypeDef

def get_value() -> AllocateHostsResultTypeDef:
    return {
        "HostIds": ...,
        "ResponseMetadata": ...,
    }
Definition
class AllocateHostsResultTypeDef(TypedDict):
    HostIds: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ApplySecurityGroupsToClientVpnTargetNetworkResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ApplySecurityGroupsToClientVpnTargetNetworkResultTypeDef

def get_value() -> ApplySecurityGroupsToClientVpnTargetNetworkResultTypeDef:
    return {
        "SecurityGroupIds": ...,
        "ResponseMetadata": ...,
    }
Definition
class ApplySecurityGroupsToClientVpnTargetNetworkResultTypeDef(TypedDict):
    SecurityGroupIds: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AssignIpv6AddressesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssignIpv6AddressesResultTypeDef

def get_value() -> AssignIpv6AddressesResultTypeDef:
    return {
        "AssignedIpv6Addresses": ...,
        "AssignedIpv6Prefixes": ...,
        "NetworkInterfaceId": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssignIpv6AddressesResultTypeDef(TypedDict):
    AssignedIpv6Addresses: List[str],
    AssignedIpv6Prefixes: List[str],
    NetworkInterfaceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AssociateAddressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateAddressResultTypeDef

def get_value() -> AssociateAddressResultTypeDef:
    return {
        "AssociationId": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateAddressResultTypeDef(TypedDict):
    AssociationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AssociateEnclaveCertificateIamRoleResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateEnclaveCertificateIamRoleResultTypeDef

def get_value() -> AssociateEnclaveCertificateIamRoleResultTypeDef:
    return {
        "CertificateS3BucketName": ...,
        "CertificateS3ObjectKey": ...,
        "EncryptionKmsKeyId": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateEnclaveCertificateIamRoleResultTypeDef(TypedDict):
    CertificateS3BucketName: str,
    CertificateS3ObjectKey: str,
    EncryptionKmsKeyId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AttachClassicLinkVpcResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachClassicLinkVpcResultTypeDef

def get_value() -> AttachClassicLinkVpcResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class AttachClassicLinkVpcResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AttachNetworkInterfaceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachNetworkInterfaceResultTypeDef

def get_value() -> AttachNetworkInterfaceResultTypeDef:
    return {
        "AttachmentId": ...,
        "NetworkCardIndex": ...,
        "ResponseMetadata": ...,
    }
Definition
class AttachNetworkInterfaceResultTypeDef(TypedDict):
    AttachmentId: str,
    NetworkCardIndex: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CancelCapacityReservationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelCapacityReservationResultTypeDef

def get_value() -> CancelCapacityReservationResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelCapacityReservationResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CancelImageLaunchPermissionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelImageLaunchPermissionResultTypeDef

def get_value() -> CancelImageLaunchPermissionResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelImageLaunchPermissionResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CancelImportTaskResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelImportTaskResultTypeDef

def get_value() -> CancelImportTaskResultTypeDef:
    return {
        "ImportTaskId": ...,
        "PreviousState": ...,
        "State": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelImportTaskResultTypeDef(TypedDict):
    ImportTaskId: str,
    PreviousState: str,
    State: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ConfirmProductInstanceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ConfirmProductInstanceResultTypeDef

def get_value() -> ConfirmProductInstanceResultTypeDef:
    return {
        "OwnerId": ...,
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConfirmProductInstanceResultTypeDef(TypedDict):
    OwnerId: str,
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CopyFpgaImageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CopyFpgaImageResultTypeDef

def get_value() -> CopyFpgaImageResultTypeDef:
    return {
        "FpgaImageId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CopyFpgaImageResultTypeDef(TypedDict):
    FpgaImageId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CopyImageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CopyImageResultTypeDef

def get_value() -> CopyImageResultTypeDef:
    return {
        "ImageId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CopyImageResultTypeDef(TypedDict):
    ImageId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CpuOptionsResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CpuOptionsResponseMetadataTypeDef

def get_value() -> CpuOptionsResponseMetadataTypeDef:
    return {
        "CoreCount": ...,
        "ThreadsPerCore": ...,
        "ResponseMetadata": ...,
    }
Definition
class CpuOptionsResponseMetadataTypeDef(TypedDict):
    CoreCount: int,
    ThreadsPerCore: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateFpgaImageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateFpgaImageResultTypeDef

def get_value() -> CreateFpgaImageResultTypeDef:
    return {
        "FpgaImageId": ...,
        "FpgaImageGlobalId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateFpgaImageResultTypeDef(TypedDict):
    FpgaImageId: str,
    FpgaImageGlobalId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateImageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateImageResultTypeDef

def get_value() -> CreateImageResultTypeDef:
    return {
        "ImageId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateImageResultTypeDef(TypedDict):
    ImageId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreatePublicIpv4PoolResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreatePublicIpv4PoolResultTypeDef

def get_value() -> CreatePublicIpv4PoolResultTypeDef:
    return {
        "PoolId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreatePublicIpv4PoolResultTypeDef(TypedDict):
    PoolId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateRestoreImageTaskResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateRestoreImageTaskResultTypeDef

def get_value() -> CreateRestoreImageTaskResultTypeDef:
    return {
        "ImageId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateRestoreImageTaskResultTypeDef(TypedDict):
    ImageId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateRouteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateRouteResultTypeDef

def get_value() -> CreateRouteResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateRouteResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateStoreImageTaskResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateStoreImageTaskResultTypeDef

def get_value() -> CreateStoreImageTaskResultTypeDef:
    return {
        "ObjectKey": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateStoreImageTaskResultTypeDef(TypedDict):
    ObjectKey: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteEgressOnlyInternetGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteEgressOnlyInternetGatewayResultTypeDef

def get_value() -> DeleteEgressOnlyInternetGatewayResultTypeDef:
    return {
        "ReturnCode": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteEgressOnlyInternetGatewayResultTypeDef(TypedDict):
    ReturnCode: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteFpgaImageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteFpgaImageResultTypeDef

def get_value() -> DeleteFpgaImageResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteFpgaImageResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteNatGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNatGatewayResultTypeDef

def get_value() -> DeleteNatGatewayResultTypeDef:
    return {
        "NatGatewayId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteNatGatewayResultTypeDef(TypedDict):
    NatGatewayId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteNetworkInsightsAccessScopeAnalysisResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInsightsAccessScopeAnalysisResultTypeDef

def get_value() -> DeleteNetworkInsightsAccessScopeAnalysisResultTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalysisId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteNetworkInsightsAccessScopeAnalysisResultTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalysisId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteNetworkInsightsAccessScopeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInsightsAccessScopeResultTypeDef

def get_value() -> DeleteNetworkInsightsAccessScopeResultTypeDef:
    return {
        "NetworkInsightsAccessScopeId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteNetworkInsightsAccessScopeResultTypeDef(TypedDict):
    NetworkInsightsAccessScopeId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteNetworkInsightsAnalysisResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInsightsAnalysisResultTypeDef

def get_value() -> DeleteNetworkInsightsAnalysisResultTypeDef:
    return {
        "NetworkInsightsAnalysisId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteNetworkInsightsAnalysisResultTypeDef(TypedDict):
    NetworkInsightsAnalysisId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteNetworkInsightsPathResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInsightsPathResultTypeDef

def get_value() -> DeleteNetworkInsightsPathResultTypeDef:
    return {
        "NetworkInsightsPathId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteNetworkInsightsPathResultTypeDef(TypedDict):
    NetworkInsightsPathId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteNetworkInterfacePermissionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteNetworkInterfacePermissionResultTypeDef

def get_value() -> DeleteNetworkInterfacePermissionResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteNetworkInterfacePermissionResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeletePublicIpv4PoolResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeletePublicIpv4PoolResultTypeDef

def get_value() -> DeletePublicIpv4PoolResultTypeDef:
    return {
        "ReturnValue": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeletePublicIpv4PoolResultTypeDef(TypedDict):
    ReturnValue: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteTrafficMirrorFilterResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTrafficMirrorFilterResultTypeDef

def get_value() -> DeleteTrafficMirrorFilterResultTypeDef:
    return {
        "TrafficMirrorFilterId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTrafficMirrorFilterResultTypeDef(TypedDict):
    TrafficMirrorFilterId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteTrafficMirrorFilterRuleResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTrafficMirrorFilterRuleResultTypeDef

def get_value() -> DeleteTrafficMirrorFilterRuleResultTypeDef:
    return {
        "TrafficMirrorFilterRuleId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTrafficMirrorFilterRuleResultTypeDef(TypedDict):
    TrafficMirrorFilterRuleId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteTrafficMirrorSessionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTrafficMirrorSessionResultTypeDef

def get_value() -> DeleteTrafficMirrorSessionResultTypeDef:
    return {
        "TrafficMirrorSessionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTrafficMirrorSessionResultTypeDef(TypedDict):
    TrafficMirrorSessionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteTrafficMirrorTargetResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTrafficMirrorTargetResultTypeDef

def get_value() -> DeleteTrafficMirrorTargetResultTypeDef:
    return {
        "TrafficMirrorTargetId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTrafficMirrorTargetResultTypeDef(TypedDict):
    TrafficMirrorTargetId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteVpcPeeringConnectionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcPeeringConnectionResultTypeDef

def get_value() -> DeleteVpcPeeringConnectionResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteVpcPeeringConnectionResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeprovisionPublicIpv4PoolCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeprovisionPublicIpv4PoolCidrResultTypeDef

def get_value() -> DeprovisionPublicIpv4PoolCidrResultTypeDef:
    return {
        "PoolId": ...,
        "DeprovisionedAddresses": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeprovisionPublicIpv4PoolCidrResultTypeDef(TypedDict):
    PoolId: str,
    DeprovisionedAddresses: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAddressTransfersResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAddressTransfersResultTypeDef

def get_value() -> DescribeAddressTransfersResultTypeDef:
    return {
        "AddressTransfers": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAddressTransfersResultTypeDef(TypedDict):
    AddressTransfers: List[AddressTransferTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AddressTransferTypeDef
  2. See ResponseMetadataTypeDef

DetachClassicLinkVpcResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachClassicLinkVpcResultTypeDef

def get_value() -> DetachClassicLinkVpcResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class DetachClassicLinkVpcResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisableAddressTransferResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableAddressTransferResultTypeDef

def get_value() -> DisableAddressTransferResultTypeDef:
    return {
        "AddressTransfer": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableAddressTransferResultTypeDef(TypedDict):
    AddressTransfer: AddressTransferTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AddressTransferTypeDef
  2. See ResponseMetadataTypeDef

DisableAwsNetworkPerformanceMetricSubscriptionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableAwsNetworkPerformanceMetricSubscriptionResultTypeDef

def get_value() -> DisableAwsNetworkPerformanceMetricSubscriptionResultTypeDef:
    return {
        "Output": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableAwsNetworkPerformanceMetricSubscriptionResultTypeDef(TypedDict):
    Output: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisableEbsEncryptionByDefaultResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableEbsEncryptionByDefaultResultTypeDef

def get_value() -> DisableEbsEncryptionByDefaultResultTypeDef:
    return {
        "EbsEncryptionByDefault": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableEbsEncryptionByDefaultResultTypeDef(TypedDict):
    EbsEncryptionByDefault: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisableImageDeprecationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableImageDeprecationResultTypeDef

def get_value() -> DisableImageDeprecationResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableImageDeprecationResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisableIpamOrganizationAdminAccountResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableIpamOrganizationAdminAccountResultTypeDef

def get_value() -> DisableIpamOrganizationAdminAccountResultTypeDef:
    return {
        "Success": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableIpamOrganizationAdminAccountResultTypeDef(TypedDict):
    Success: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisableSerialConsoleAccessResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableSerialConsoleAccessResultTypeDef

def get_value() -> DisableSerialConsoleAccessResultTypeDef:
    return {
        "SerialConsoleAccessEnabled": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableSerialConsoleAccessResultTypeDef(TypedDict):
    SerialConsoleAccessEnabled: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisableVpcClassicLinkDnsSupportResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableVpcClassicLinkDnsSupportResultTypeDef

def get_value() -> DisableVpcClassicLinkDnsSupportResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableVpcClassicLinkDnsSupportResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisableVpcClassicLinkResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableVpcClassicLinkResultTypeDef

def get_value() -> DisableVpcClassicLinkResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableVpcClassicLinkResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisassociateEnclaveCertificateIamRoleResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateEnclaveCertificateIamRoleResultTypeDef

def get_value() -> DisassociateEnclaveCertificateIamRoleResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateEnclaveCertificateIamRoleResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DisassociateTrunkInterfaceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateTrunkInterfaceResultTypeDef

def get_value() -> DisassociateTrunkInterfaceResultTypeDef:
    return {
        "Return": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateTrunkInterfaceResultTypeDef(TypedDict):
    Return: bool,
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnableAddressTransferResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableAddressTransferResultTypeDef

def get_value() -> EnableAddressTransferResultTypeDef:
    return {
        "AddressTransfer": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableAddressTransferResultTypeDef(TypedDict):
    AddressTransfer: AddressTransferTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AddressTransferTypeDef
  2. See ResponseMetadataTypeDef

EnableAwsNetworkPerformanceMetricSubscriptionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableAwsNetworkPerformanceMetricSubscriptionResultTypeDef

def get_value() -> EnableAwsNetworkPerformanceMetricSubscriptionResultTypeDef:
    return {
        "Output": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableAwsNetworkPerformanceMetricSubscriptionResultTypeDef(TypedDict):
    Output: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnableEbsEncryptionByDefaultResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableEbsEncryptionByDefaultResultTypeDef

def get_value() -> EnableEbsEncryptionByDefaultResultTypeDef:
    return {
        "EbsEncryptionByDefault": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableEbsEncryptionByDefaultResultTypeDef(TypedDict):
    EbsEncryptionByDefault: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnableImageDeprecationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableImageDeprecationResultTypeDef

def get_value() -> EnableImageDeprecationResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableImageDeprecationResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnableIpamOrganizationAdminAccountResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableIpamOrganizationAdminAccountResultTypeDef

def get_value() -> EnableIpamOrganizationAdminAccountResultTypeDef:
    return {
        "Success": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableIpamOrganizationAdminAccountResultTypeDef(TypedDict):
    Success: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnableReachabilityAnalyzerOrganizationSharingResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableReachabilityAnalyzerOrganizationSharingResultTypeDef

def get_value() -> EnableReachabilityAnalyzerOrganizationSharingResultTypeDef:
    return {
        "ReturnValue": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableReachabilityAnalyzerOrganizationSharingResultTypeDef(TypedDict):
    ReturnValue: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnableSerialConsoleAccessResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableSerialConsoleAccessResultTypeDef

def get_value() -> EnableSerialConsoleAccessResultTypeDef:
    return {
        "SerialConsoleAccessEnabled": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableSerialConsoleAccessResultTypeDef(TypedDict):
    SerialConsoleAccessEnabled: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnableVpcClassicLinkDnsSupportResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableVpcClassicLinkDnsSupportResultTypeDef

def get_value() -> EnableVpcClassicLinkDnsSupportResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableVpcClassicLinkDnsSupportResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnableVpcClassicLinkResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableVpcClassicLinkResultTypeDef

def get_value() -> EnableVpcClassicLinkResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableVpcClassicLinkResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnclaveOptionsResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnclaveOptionsResponseMetadataTypeDef

def get_value() -> EnclaveOptionsResponseMetadataTypeDef:
    return {
        "Enabled": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnclaveOptionsResponseMetadataTypeDef(TypedDict):
    Enabled: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ExportClientVpnClientConfigurationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportClientVpnClientConfigurationResultTypeDef

def get_value() -> ExportClientVpnClientConfigurationResultTypeDef:
    return {
        "ClientConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class ExportClientVpnClientConfigurationResultTypeDef(TypedDict):
    ClientConfiguration: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ExportTransitGatewayRoutesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportTransitGatewayRoutesResultTypeDef

def get_value() -> ExportTransitGatewayRoutesResultTypeDef:
    return {
        "S3Location": ...,
        "ResponseMetadata": ...,
    }
Definition
class ExportTransitGatewayRoutesResultTypeDef(TypedDict):
    S3Location: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetConsoleOutputResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetConsoleOutputResultTypeDef

def get_value() -> GetConsoleOutputResultTypeDef:
    return {
        "InstanceId": ...,
        "Output": ...,
        "Timestamp": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetConsoleOutputResultTypeDef(TypedDict):
    InstanceId: str,
    Output: str,
    Timestamp: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetConsoleScreenshotResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetConsoleScreenshotResultTypeDef

def get_value() -> GetConsoleScreenshotResultTypeDef:
    return {
        "ImageData": ...,
        "InstanceId": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetConsoleScreenshotResultTypeDef(TypedDict):
    ImageData: str,
    InstanceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetEbsDefaultKmsKeyIdResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetEbsDefaultKmsKeyIdResultTypeDef

def get_value() -> GetEbsDefaultKmsKeyIdResultTypeDef:
    return {
        "KmsKeyId": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetEbsDefaultKmsKeyIdResultTypeDef(TypedDict):
    KmsKeyId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetEbsEncryptionByDefaultResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetEbsEncryptionByDefaultResultTypeDef

def get_value() -> GetEbsEncryptionByDefaultResultTypeDef:
    return {
        "EbsEncryptionByDefault": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetEbsEncryptionByDefaultResultTypeDef(TypedDict):
    EbsEncryptionByDefault: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetFlowLogsIntegrationTemplateResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetFlowLogsIntegrationTemplateResultTypeDef

def get_value() -> GetFlowLogsIntegrationTemplateResultTypeDef:
    return {
        "Result": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetFlowLogsIntegrationTemplateResultTypeDef(TypedDict):
    Result: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetInstanceUefiDataResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetInstanceUefiDataResultTypeDef

def get_value() -> GetInstanceUefiDataResultTypeDef:
    return {
        "InstanceId": ...,
        "UefiData": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetInstanceUefiDataResultTypeDef(TypedDict):
    InstanceId: str,
    UefiData: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetPasswordDataResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetPasswordDataResultTypeDef

def get_value() -> GetPasswordDataResultTypeDef:
    return {
        "InstanceId": ...,
        "PasswordData": ...,
        "Timestamp": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetPasswordDataResultTypeDef(TypedDict):
    InstanceId: str,
    PasswordData: str,
    Timestamp: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetSerialConsoleAccessStatusResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetSerialConsoleAccessStatusResultTypeDef

def get_value() -> GetSerialConsoleAccessStatusResultTypeDef:
    return {
        "SerialConsoleAccessEnabled": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSerialConsoleAccessStatusResultTypeDef(TypedDict):
    SerialConsoleAccessEnabled: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetVerifiedAccessEndpointPolicyResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetVerifiedAccessEndpointPolicyResultTypeDef

def get_value() -> GetVerifiedAccessEndpointPolicyResultTypeDef:
    return {
        "PolicyEnabled": ...,
        "PolicyDocument": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetVerifiedAccessEndpointPolicyResultTypeDef(TypedDict):
    PolicyEnabled: bool,
    PolicyDocument: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetVerifiedAccessGroupPolicyResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetVerifiedAccessGroupPolicyResultTypeDef

def get_value() -> GetVerifiedAccessGroupPolicyResultTypeDef:
    return {
        "PolicyEnabled": ...,
        "PolicyDocument": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetVerifiedAccessGroupPolicyResultTypeDef(TypedDict):
    PolicyEnabled: bool,
    PolicyDocument: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetVpnConnectionDeviceSampleConfigurationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetVpnConnectionDeviceSampleConfigurationResultTypeDef

def get_value() -> GetVpnConnectionDeviceSampleConfigurationResultTypeDef:
    return {
        "VpnConnectionDeviceSampleConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetVpnConnectionDeviceSampleConfigurationResultTypeDef(TypedDict):
    VpnConnectionDeviceSampleConfiguration: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

HibernationOptionsResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HibernationOptionsResponseMetadataTypeDef

def get_value() -> HibernationOptionsResponseMetadataTypeDef:
    return {
        "Configured": ...,
        "ResponseMetadata": ...,
    }
Definition
class HibernationOptionsResponseMetadataTypeDef(TypedDict):
    Configured: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

IamInstanceProfileResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IamInstanceProfileResponseMetadataTypeDef

def get_value() -> IamInstanceProfileResponseMetadataTypeDef:
    return {
        "Arn": ...,
        "Id": ...,
        "ResponseMetadata": ...,
    }
Definition
class IamInstanceProfileResponseMetadataTypeDef(TypedDict):
    Arn: str,
    Id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ImportClientVpnClientCertificateRevocationListResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportClientVpnClientCertificateRevocationListResultTypeDef

def get_value() -> ImportClientVpnClientCertificateRevocationListResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ImportClientVpnClientCertificateRevocationListResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

InstanceMaintenanceOptionsResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceMaintenanceOptionsResponseMetadataTypeDef

def get_value() -> InstanceMaintenanceOptionsResponseMetadataTypeDef:
    return {
        "AutoRecovery": ...,
        "ResponseMetadata": ...,
    }
Definition
class InstanceMaintenanceOptionsResponseMetadataTypeDef(TypedDict):
    AutoRecovery: InstanceAutoRecoveryStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceAutoRecoveryStateType
  2. See ResponseMetadataTypeDef

InstanceMetadataOptionsResponseResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceMetadataOptionsResponseResponseMetadataTypeDef

def get_value() -> InstanceMetadataOptionsResponseResponseMetadataTypeDef:
    return {
        "State": ...,
        "HttpTokens": ...,
        "HttpPutResponseHopLimit": ...,
        "HttpEndpoint": ...,
        "HttpProtocolIpv6": ...,
        "InstanceMetadataTags": ...,
        "ResponseMetadata": ...,
    }
Definition
class InstanceMetadataOptionsResponseResponseMetadataTypeDef(TypedDict):
    State: InstanceMetadataOptionsStateType,  # (1)
    HttpTokens: HttpTokensStateType,  # (2)
    HttpPutResponseHopLimit: int,
    HttpEndpoint: InstanceMetadataEndpointStateType,  # (3)
    HttpProtocolIpv6: InstanceMetadataProtocolStateType,  # (4)
    InstanceMetadataTags: InstanceMetadataTagsStateType,  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See InstanceMetadataOptionsStateType
  2. See HttpTokensStateType
  3. See InstanceMetadataEndpointStateType
  4. See InstanceMetadataProtocolStateType
  5. See InstanceMetadataTagsStateType
  6. See ResponseMetadataTypeDef

InstanceStateResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceStateResponseMetadataTypeDef

def get_value() -> InstanceStateResponseMetadataTypeDef:
    return {
        "Code": ...,
        "Name": ...,
        "ResponseMetadata": ...,
    }
Definition
class InstanceStateResponseMetadataTypeDef(TypedDict):
    Code: int,
    Name: InstanceStateNameType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceStateNameType
  2. See ResponseMetadataTypeDef

ModifyAvailabilityZoneGroupResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyAvailabilityZoneGroupResultTypeDef

def get_value() -> ModifyAvailabilityZoneGroupResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyAvailabilityZoneGroupResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyCapacityReservationFleetResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyCapacityReservationFleetResultTypeDef

def get_value() -> ModifyCapacityReservationFleetResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyCapacityReservationFleetResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyCapacityReservationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyCapacityReservationResultTypeDef

def get_value() -> ModifyCapacityReservationResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyCapacityReservationResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyClientVpnEndpointResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyClientVpnEndpointResultTypeDef

def get_value() -> ModifyClientVpnEndpointResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyClientVpnEndpointResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyEbsDefaultKmsKeyIdResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyEbsDefaultKmsKeyIdResultTypeDef

def get_value() -> ModifyEbsDefaultKmsKeyIdResultTypeDef:
    return {
        "KmsKeyId": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyEbsDefaultKmsKeyIdResultTypeDef(TypedDict):
    KmsKeyId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyFleetResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyFleetResultTypeDef

def get_value() -> ModifyFleetResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyFleetResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyInstanceCapacityReservationAttributesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceCapacityReservationAttributesResultTypeDef

def get_value() -> ModifyInstanceCapacityReservationAttributesResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyInstanceCapacityReservationAttributesResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyInstanceMaintenanceOptionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceMaintenanceOptionsResultTypeDef

def get_value() -> ModifyInstanceMaintenanceOptionsResultTypeDef:
    return {
        "InstanceId": ...,
        "AutoRecovery": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyInstanceMaintenanceOptionsResultTypeDef(TypedDict):
    InstanceId: str,
    AutoRecovery: InstanceAutoRecoveryStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceAutoRecoveryStateType
  2. See ResponseMetadataTypeDef

ModifyInstancePlacementResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstancePlacementResultTypeDef

def get_value() -> ModifyInstancePlacementResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyInstancePlacementResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyPrivateDnsNameOptionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyPrivateDnsNameOptionsResultTypeDef

def get_value() -> ModifyPrivateDnsNameOptionsResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyPrivateDnsNameOptionsResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyReservedInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyReservedInstancesResultTypeDef

def get_value() -> ModifyReservedInstancesResultTypeDef:
    return {
        "ReservedInstancesModificationId": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyReservedInstancesResultTypeDef(TypedDict):
    ReservedInstancesModificationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifySecurityGroupRulesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifySecurityGroupRulesResultTypeDef

def get_value() -> ModifySecurityGroupRulesResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifySecurityGroupRulesResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifySnapshotTierResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifySnapshotTierResultTypeDef

def get_value() -> ModifySnapshotTierResultTypeDef:
    return {
        "SnapshotId": ...,
        "TieringStartTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifySnapshotTierResultTypeDef(TypedDict):
    SnapshotId: str,
    TieringStartTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifySpotFleetRequestResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifySpotFleetRequestResponseTypeDef

def get_value() -> ModifySpotFleetRequestResponseTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifySpotFleetRequestResponseTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyVerifiedAccessEndpointPolicyResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessEndpointPolicyResultTypeDef

def get_value() -> ModifyVerifiedAccessEndpointPolicyResultTypeDef:
    return {
        "PolicyEnabled": ...,
        "PolicyDocument": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVerifiedAccessEndpointPolicyResultTypeDef(TypedDict):
    PolicyEnabled: bool,
    PolicyDocument: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyVerifiedAccessGroupPolicyResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessGroupPolicyResultTypeDef

def get_value() -> ModifyVerifiedAccessGroupPolicyResultTypeDef:
    return {
        "PolicyEnabled": ...,
        "PolicyDocument": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVerifiedAccessGroupPolicyResultTypeDef(TypedDict):
    PolicyEnabled: bool,
    PolicyDocument: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyVpcEndpointConnectionNotificationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointConnectionNotificationResultTypeDef

def get_value() -> ModifyVpcEndpointConnectionNotificationResultTypeDef:
    return {
        "ReturnValue": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpcEndpointConnectionNotificationResultTypeDef(TypedDict):
    ReturnValue: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyVpcEndpointResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointResultTypeDef

def get_value() -> ModifyVpcEndpointResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpcEndpointResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyVpcEndpointServiceConfigurationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointServiceConfigurationResultTypeDef

def get_value() -> ModifyVpcEndpointServiceConfigurationResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpcEndpointServiceConfigurationResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyVpcEndpointServicePayerResponsibilityResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointServicePayerResponsibilityResultTypeDef

def get_value() -> ModifyVpcEndpointServicePayerResponsibilityResultTypeDef:
    return {
        "ReturnValue": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpcEndpointServicePayerResponsibilityResultTypeDef(TypedDict):
    ReturnValue: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ModifyVpcTenancyResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcTenancyResultTypeDef

def get_value() -> ModifyVpcTenancyResultTypeDef:
    return {
        "ReturnValue": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpcTenancyResultTypeDef(TypedDict):
    ReturnValue: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

MonitoringResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MonitoringResponseMetadataTypeDef

def get_value() -> MonitoringResponseMetadataTypeDef:
    return {
        "State": ...,
        "ResponseMetadata": ...,
    }
Definition
class MonitoringResponseMetadataTypeDef(TypedDict):
    State: MonitoringStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MonitoringStateType
  2. See ResponseMetadataTypeDef

MoveAddressToVpcResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MoveAddressToVpcResultTypeDef

def get_value() -> MoveAddressToVpcResultTypeDef:
    return {
        "AllocationId": ...,
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class MoveAddressToVpcResultTypeDef(TypedDict):
    AllocationId: str,
    Status: StatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StatusType
  2. See ResponseMetadataTypeDef

NetworkInterfaceAssociationResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfaceAssociationResponseMetadataTypeDef

def get_value() -> NetworkInterfaceAssociationResponseMetadataTypeDef:
    return {
        "AllocationId": ...,
        "AssociationId": ...,
        "IpOwnerId": ...,
        "PublicDnsName": ...,
        "PublicIp": ...,
        "CustomerOwnedIp": ...,
        "CarrierIp": ...,
        "ResponseMetadata": ...,
    }
Definition
class NetworkInterfaceAssociationResponseMetadataTypeDef(TypedDict):
    AllocationId: str,
    AssociationId: str,
    IpOwnerId: str,
    PublicDnsName: str,
    PublicIp: str,
    CustomerOwnedIp: str,
    CarrierIp: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PlacementResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PlacementResponseMetadataTypeDef

def get_value() -> PlacementResponseMetadataTypeDef:
    return {
        "AvailabilityZone": ...,
        "Affinity": ...,
        "GroupName": ...,
        "PartitionNumber": ...,
        "HostId": ...,
        "Tenancy": ...,
        "SpreadDomain": ...,
        "HostResourceGroupArn": ...,
        "GroupId": ...,
        "ResponseMetadata": ...,
    }
Definition
class PlacementResponseMetadataTypeDef(TypedDict):
    AvailabilityZone: str,
    Affinity: str,
    GroupName: str,
    PartitionNumber: int,
    HostId: str,
    Tenancy: TenancyType,  # (1)
    SpreadDomain: str,
    HostResourceGroupArn: str,
    GroupId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TenancyType
  2. See ResponseMetadataTypeDef

PrivateDnsNameOptionsOnLaunchResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrivateDnsNameOptionsOnLaunchResponseMetadataTypeDef

def get_value() -> PrivateDnsNameOptionsOnLaunchResponseMetadataTypeDef:
    return {
        "HostnameType": ...,
        "EnableResourceNameDnsARecord": ...,
        "EnableResourceNameDnsAAAARecord": ...,
        "ResponseMetadata": ...,
    }
Definition
class PrivateDnsNameOptionsOnLaunchResponseMetadataTypeDef(TypedDict):
    HostnameType: HostnameTypeType,  # (1)
    EnableResourceNameDnsARecord: bool,
    EnableResourceNameDnsAAAARecord: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HostnameTypeType
  2. See ResponseMetadataTypeDef

PrivateDnsNameOptionsResponseResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrivateDnsNameOptionsResponseResponseMetadataTypeDef

def get_value() -> PrivateDnsNameOptionsResponseResponseMetadataTypeDef:
    return {
        "HostnameType": ...,
        "EnableResourceNameDnsARecord": ...,
        "EnableResourceNameDnsAAAARecord": ...,
        "ResponseMetadata": ...,
    }
Definition
class PrivateDnsNameOptionsResponseResponseMetadataTypeDef(TypedDict):
    HostnameType: HostnameTypeType,  # (1)
    EnableResourceNameDnsARecord: bool,
    EnableResourceNameDnsAAAARecord: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HostnameTypeType
  2. See ResponseMetadataTypeDef

PurchaseReservedInstancesOfferingResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PurchaseReservedInstancesOfferingResultTypeDef

def get_value() -> PurchaseReservedInstancesOfferingResultTypeDef:
    return {
        "ReservedInstancesId": ...,
        "ResponseMetadata": ...,
    }
Definition
class PurchaseReservedInstancesOfferingResultTypeDef(TypedDict):
    ReservedInstancesId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RegisterImageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterImageResultTypeDef

def get_value() -> RegisterImageResultTypeDef:
    return {
        "ImageId": ...,
        "ResponseMetadata": ...,
    }
Definition
class RegisterImageResultTypeDef(TypedDict):
    ImageId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RejectVpcPeeringConnectionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectVpcPeeringConnectionResultTypeDef

def get_value() -> RejectVpcPeeringConnectionResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class RejectVpcPeeringConnectionResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ReleaseIpamPoolAllocationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReleaseIpamPoolAllocationResultTypeDef

def get_value() -> ReleaseIpamPoolAllocationResultTypeDef:
    return {
        "Success": ...,
        "ResponseMetadata": ...,
    }
Definition
class ReleaseIpamPoolAllocationResultTypeDef(TypedDict):
    Success: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ReplaceNetworkAclAssociationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceNetworkAclAssociationResultTypeDef

def get_value() -> ReplaceNetworkAclAssociationResultTypeDef:
    return {
        "NewAssociationId": ...,
        "ResponseMetadata": ...,
    }
Definition
class ReplaceNetworkAclAssociationResultTypeDef(TypedDict):
    NewAssociationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RequestSpotFleetResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RequestSpotFleetResponseTypeDef

def get_value() -> RequestSpotFleetResponseTypeDef:
    return {
        "SpotFleetRequestId": ...,
        "ResponseMetadata": ...,
    }
Definition
class RequestSpotFleetResponseTypeDef(TypedDict):
    SpotFleetRequestId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ResetEbsDefaultKmsKeyIdResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetEbsDefaultKmsKeyIdResultTypeDef

def get_value() -> ResetEbsDefaultKmsKeyIdResultTypeDef:
    return {
        "KmsKeyId": ...,
        "ResponseMetadata": ...,
    }
Definition
class ResetEbsDefaultKmsKeyIdResultTypeDef(TypedDict):
    KmsKeyId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ResetFpgaImageAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetFpgaImageAttributeResultTypeDef

def get_value() -> ResetFpgaImageAttributeResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class ResetFpgaImageAttributeResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RestoreAddressToClassicResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreAddressToClassicResultTypeDef

def get_value() -> RestoreAddressToClassicResultTypeDef:
    return {
        "PublicIp": ...,
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class RestoreAddressToClassicResultTypeDef(TypedDict):
    PublicIp: str,
    Status: StatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StatusType
  2. See ResponseMetadataTypeDef

RestoreImageFromRecycleBinResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreImageFromRecycleBinResultTypeDef

def get_value() -> RestoreImageFromRecycleBinResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class RestoreImageFromRecycleBinResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RestoreSnapshotFromRecycleBinResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreSnapshotFromRecycleBinResultTypeDef

def get_value() -> RestoreSnapshotFromRecycleBinResultTypeDef:
    return {
        "SnapshotId": ...,
        "OutpostArn": ...,
        "Description": ...,
        "Encrypted": ...,
        "OwnerId": ...,
        "Progress": ...,
        "StartTime": ...,
        "State": ...,
        "VolumeId": ...,
        "VolumeSize": ...,
        "ResponseMetadata": ...,
    }
Definition
class RestoreSnapshotFromRecycleBinResultTypeDef(TypedDict):
    SnapshotId: str,
    OutpostArn: str,
    Description: str,
    Encrypted: bool,
    OwnerId: str,
    Progress: str,
    StartTime: datetime,
    State: SnapshotStateType,  # (1)
    VolumeId: str,
    VolumeSize: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SnapshotStateType
  2. See ResponseMetadataTypeDef

RestoreSnapshotTierResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreSnapshotTierResultTypeDef

def get_value() -> RestoreSnapshotTierResultTypeDef:
    return {
        "SnapshotId": ...,
        "RestoreStartTime": ...,
        "RestoreDuration": ...,
        "IsPermanentRestore": ...,
        "ResponseMetadata": ...,
    }
Definition
class RestoreSnapshotTierResultTypeDef(TypedDict):
    SnapshotId: str,
    RestoreStartTime: datetime,
    RestoreDuration: int,
    IsPermanentRestore: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RouteTableAssociationStateResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RouteTableAssociationStateResponseMetadataTypeDef

def get_value() -> RouteTableAssociationStateResponseMetadataTypeDef:
    return {
        "State": ...,
        "StatusMessage": ...,
        "ResponseMetadata": ...,
    }
Definition
class RouteTableAssociationStateResponseMetadataTypeDef(TypedDict):
    State: RouteTableAssociationStateCodeType,  # (1)
    StatusMessage: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RouteTableAssociationStateCodeType
  2. See ResponseMetadataTypeDef

RunScheduledInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RunScheduledInstancesResultTypeDef

def get_value() -> RunScheduledInstancesResultTypeDef:
    return {
        "InstanceIdSet": ...,
        "ResponseMetadata": ...,
    }
Definition
class RunScheduledInstancesResultTypeDef(TypedDict):
    InstanceIdSet: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartVpcEndpointServicePrivateDnsVerificationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StartVpcEndpointServicePrivateDnsVerificationResultTypeDef

def get_value() -> StartVpcEndpointServicePrivateDnsVerificationResultTypeDef:
    return {
        "ReturnValue": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartVpcEndpointServicePrivateDnsVerificationResultTypeDef(TypedDict):
    ReturnValue: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StateReasonResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StateReasonResponseMetadataTypeDef

def get_value() -> StateReasonResponseMetadataTypeDef:
    return {
        "Code": ...,
        "Message": ...,
        "ResponseMetadata": ...,
    }
Definition
class StateReasonResponseMetadataTypeDef(TypedDict):
    Code: str,
    Message: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UnassignIpv6AddressesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnassignIpv6AddressesResultTypeDef

def get_value() -> UnassignIpv6AddressesResultTypeDef:
    return {
        "NetworkInterfaceId": ...,
        "UnassignedIpv6Addresses": ...,
        "UnassignedIpv6Prefixes": ...,
        "ResponseMetadata": ...,
    }
Definition
class UnassignIpv6AddressesResultTypeDef(TypedDict):
    NetworkInterfaceId: str,
    UnassignedIpv6Addresses: List[str],
    UnassignedIpv6Prefixes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateSecurityGroupRuleDescriptionsEgressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UpdateSecurityGroupRuleDescriptionsEgressResultTypeDef

def get_value() -> UpdateSecurityGroupRuleDescriptionsEgressResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateSecurityGroupRuleDescriptionsEgressResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateSecurityGroupRuleDescriptionsIngressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UpdateSecurityGroupRuleDescriptionsIngressResultTypeDef

def get_value() -> UpdateSecurityGroupRuleDescriptionsIngressResultTypeDef:
    return {
        "Return": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateSecurityGroupRuleDescriptionsIngressResultTypeDef(TypedDict):
    Return: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

VolumeAttachmentResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeAttachmentResponseMetadataTypeDef

def get_value() -> VolumeAttachmentResponseMetadataTypeDef:
    return {
        "AttachTime": ...,
        "Device": ...,
        "InstanceId": ...,
        "State": ...,
        "VolumeId": ...,
        "DeleteOnTermination": ...,
        "ResponseMetadata": ...,
    }
Definition
class VolumeAttachmentResponseMetadataTypeDef(TypedDict):
    AttachTime: datetime,
    Device: str,
    InstanceId: str,
    State: VolumeAttachmentStateType,  # (1)
    VolumeId: str,
    DeleteOnTermination: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VolumeAttachmentStateType
  2. See ResponseMetadataTypeDef

VpcPeeringConnectionStateReasonResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcPeeringConnectionStateReasonResponseMetadataTypeDef

def get_value() -> VpcPeeringConnectionStateReasonResponseMetadataTypeDef:
    return {
        "Code": ...,
        "Message": ...,
        "ResponseMetadata": ...,
    }
Definition
class VpcPeeringConnectionStateReasonResponseMetadataTypeDef(TypedDict):
    Code: VpcPeeringConnectionStateReasonCodeType,  # (1)
    Message: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcPeeringConnectionStateReasonCodeType
  2. See ResponseMetadataTypeDef

AcceptReservedInstancesExchangeQuoteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptReservedInstancesExchangeQuoteRequestRequestTypeDef

def get_value() -> AcceptReservedInstancesExchangeQuoteRequestRequestTypeDef:
    return {
        "ReservedInstanceIds": ...,
    }
Definition
class AcceptReservedInstancesExchangeQuoteRequestRequestTypeDef(TypedDict):
    ReservedInstanceIds: Sequence[str],
    DryRun: NotRequired[bool],
    TargetConfigurations: NotRequired[Sequence[TargetConfigurationRequestTypeDef]],  # (1)
  1. See TargetConfigurationRequestTypeDef

GetReservedInstancesExchangeQuoteRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetReservedInstancesExchangeQuoteRequestRequestTypeDef

def get_value() -> GetReservedInstancesExchangeQuoteRequestRequestTypeDef:
    return {
        "ReservedInstanceIds": ...,
    }
Definition
class GetReservedInstancesExchangeQuoteRequestRequestTypeDef(TypedDict):
    ReservedInstanceIds: Sequence[str],
    DryRun: NotRequired[bool],
    TargetConfigurations: NotRequired[Sequence[TargetConfigurationRequestTypeDef]],  # (1)
  1. See TargetConfigurationRequestTypeDef

AccountAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AccountAttributeTypeDef

def get_value() -> AccountAttributeTypeDef:
    return {
        "AttributeName": ...,
    }
Definition
class AccountAttributeTypeDef(TypedDict):
    AttributeName: NotRequired[str],
    AttributeValues: NotRequired[List[AccountAttributeValueTypeDef]],  # (1)
  1. See AccountAttributeValueTypeDef

DescribeFleetInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFleetInstancesResultTypeDef

def get_value() -> DescribeFleetInstancesResultTypeDef:
    return {
        "ActiveInstances": ...,
        "NextToken": ...,
        "FleetId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFleetInstancesResultTypeDef(TypedDict):
    ActiveInstances: List[ActiveInstanceTypeDef],  # (1)
    NextToken: str,
    FleetId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActiveInstanceTypeDef
  2. See ResponseMetadataTypeDef

DescribeSpotFleetInstancesResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotFleetInstancesResponseTypeDef

def get_value() -> DescribeSpotFleetInstancesResponseTypeDef:
    return {
        "ActiveInstances": ...,
        "NextToken": ...,
        "SpotFleetRequestId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSpotFleetInstancesResponseTypeDef(TypedDict):
    ActiveInstances: List[ActiveInstanceTypeDef],  # (1)
    NextToken: str,
    SpotFleetRequestId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActiveInstanceTypeDef
  2. See ResponseMetadataTypeDef

ModifyVpcEndpointServicePermissionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointServicePermissionsResultTypeDef

def get_value() -> ModifyVpcEndpointServicePermissionsResultTypeDef:
    return {
        "AddedPrincipals": ...,
        "ReturnValue": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpcEndpointServicePermissionsResultTypeDef(TypedDict):
    AddedPrincipals: List[AddedPrincipalTypeDef],  # (1)
    ReturnValue: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AddedPrincipalTypeDef
  2. See ResponseMetadataTypeDef

AdditionalDetailTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AdditionalDetailTypeDef

def get_value() -> AdditionalDetailTypeDef:
    return {
        "AdditionalDetailType": ...,
    }
Definition
class AdditionalDetailTypeDef(TypedDict):
    AdditionalDetailType: NotRequired[str],
    Component: NotRequired[AnalysisComponentTypeDef],  # (1)
  1. See AnalysisComponentTypeDef

AnalysisLoadBalancerTargetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AnalysisLoadBalancerTargetTypeDef

def get_value() -> AnalysisLoadBalancerTargetTypeDef:
    return {
        "Address": ...,
    }
Definition
class AnalysisLoadBalancerTargetTypeDef(TypedDict):
    Address: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    Instance: NotRequired[AnalysisComponentTypeDef],  # (1)
    Port: NotRequired[int],
  1. See AnalysisComponentTypeDef

AddressAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AddressAttributeTypeDef

def get_value() -> AddressAttributeTypeDef:
    return {
        "PublicIp": ...,
    }
Definition
class AddressAttributeTypeDef(TypedDict):
    PublicIp: NotRequired[str],
    AllocationId: NotRequired[str],
    PtrRecord: NotRequired[str],
    PtrRecordUpdate: NotRequired[PtrUpdateStatusTypeDef],  # (1)
  1. See PtrUpdateStatusTypeDef

AddressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AddressTypeDef

def get_value() -> AddressTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class AddressTypeDef(TypedDict):
    InstanceId: NotRequired[str],
    PublicIp: NotRequired[str],
    AllocationId: NotRequired[str],
    AssociationId: NotRequired[str],
    Domain: NotRequired[DomainTypeType],  # (1)
    NetworkInterfaceId: NotRequired[str],
    NetworkInterfaceOwnerId: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    PublicIpv4Pool: NotRequired[str],
    NetworkBorderGroup: NotRequired[str],
    CustomerOwnedIp: NotRequired[str],
    CustomerOwnedIpv4Pool: NotRequired[str],
    CarrierIp: NotRequired[str],
  1. See DomainTypeType
  2. See TagTypeDef

AllowedPrincipalTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AllowedPrincipalTypeDef

def get_value() -> AllowedPrincipalTypeDef:
    return {
        "PrincipalType": ...,
    }
Definition
class AllowedPrincipalTypeDef(TypedDict):
    PrincipalType: NotRequired[PrincipalTypeType],  # (1)
    Principal: NotRequired[str],
    ServicePermissionId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    ServiceId: NotRequired[str],
  1. See PrincipalTypeType
  2. See TagTypeDef

CarrierGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CarrierGatewayTypeDef

def get_value() -> CarrierGatewayTypeDef:
    return {
        "CarrierGatewayId": ...,
    }
Definition
class CarrierGatewayTypeDef(TypedDict):
    CarrierGatewayId: NotRequired[str],
    VpcId: NotRequired[str],
    State: NotRequired[CarrierGatewayStateType],  # (1)
    OwnerId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See CarrierGatewayStateType
  2. See TagTypeDef

CoipPoolTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CoipPoolTypeDef

def get_value() -> CoipPoolTypeDef:
    return {
        "PoolId": ...,
    }
Definition
class CoipPoolTypeDef(TypedDict):
    PoolId: NotRequired[str],
    PoolCidrs: NotRequired[List[str]],
    LocalGatewayRouteTableId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
    PoolArn: NotRequired[str],
  1. See TagTypeDef

CopySnapshotResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CopySnapshotResultTypeDef

def get_value() -> CopySnapshotResultTypeDef:
    return {
        "SnapshotId": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class CopySnapshotResultTypeDef(TypedDict):
    SnapshotId: str,
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

CreateSecurityGroupResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSecurityGroupResultTypeDef

def get_value() -> CreateSecurityGroupResultTypeDef:
    return {
        "GroupId": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateSecurityGroupResultTypeDef(TypedDict):
    GroupId: str,
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

CreateTagsRequestDhcpOptionsCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestDhcpOptionsCreateTagsTypeDef

def get_value() -> CreateTagsRequestDhcpOptionsCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestDhcpOptionsCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestImageCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestImageCreateTagsTypeDef

def get_value() -> CreateTagsRequestImageCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestImageCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestInstanceCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestInstanceCreateTagsTypeDef

def get_value() -> CreateTagsRequestInstanceCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestInstanceCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestInternetGatewayCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestInternetGatewayCreateTagsTypeDef

def get_value() -> CreateTagsRequestInternetGatewayCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestInternetGatewayCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestNetworkAclCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestNetworkAclCreateTagsTypeDef

def get_value() -> CreateTagsRequestNetworkAclCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestNetworkAclCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestNetworkInterfaceCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestNetworkInterfaceCreateTagsTypeDef

def get_value() -> CreateTagsRequestNetworkInterfaceCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestNetworkInterfaceCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestRequestTypeDef

def get_value() -> CreateTagsRequestRequestTypeDef:
    return {
        "Resources": ...,
        "Tags": ...,
    }
Definition
class CreateTagsRequestRequestTypeDef(TypedDict):
    Resources: Sequence[Any],
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestRouteTableCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestRouteTableCreateTagsTypeDef

def get_value() -> CreateTagsRequestRouteTableCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestRouteTableCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestSecurityGroupCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestSecurityGroupCreateTagsTypeDef

def get_value() -> CreateTagsRequestSecurityGroupCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestSecurityGroupCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestServiceResourceCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestServiceResourceCreateTagsTypeDef

def get_value() -> CreateTagsRequestServiceResourceCreateTagsTypeDef:
    return {
        "Resources": ...,
        "Tags": ...,
    }
Definition
class CreateTagsRequestServiceResourceCreateTagsTypeDef(TypedDict):
    Resources: Sequence[str],
    Tags: Sequence[TagTypeDef],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestSnapshotCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestSnapshotCreateTagsTypeDef

def get_value() -> CreateTagsRequestSnapshotCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestSnapshotCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestSubnetCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestSubnetCreateTagsTypeDef

def get_value() -> CreateTagsRequestSubnetCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestSubnetCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestVolumeCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestVolumeCreateTagsTypeDef

def get_value() -> CreateTagsRequestVolumeCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestVolumeCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CreateTagsRequestVpcCreateTagsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTagsRequestVpcCreateTagsTypeDef

def get_value() -> CreateTagsRequestVpcCreateTagsTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateTagsRequestVpcCreateTagsTypeDef(TypedDict):
    Tags: Optional[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

CustomerGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CustomerGatewayTypeDef

def get_value() -> CustomerGatewayTypeDef:
    return {
        "BgpAsn": ...,
    }
Definition
class CustomerGatewayTypeDef(TypedDict):
    BgpAsn: NotRequired[str],
    CustomerGatewayId: NotRequired[str],
    IpAddress: NotRequired[str],
    CertificateArn: NotRequired[str],
    State: NotRequired[str],
    Type: NotRequired[str],
    DeviceName: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

DeleteTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTagsRequestRequestTypeDef

def get_value() -> DeleteTagsRequestRequestTypeDef:
    return {
        "Resources": ...,
    }
Definition
class DeleteTagsRequestRequestTypeDef(TypedDict):
    Resources: Sequence[Any],
    DryRun: NotRequired[bool],
    Tags: NotRequired[Optional[Sequence[TagTypeDef]]],  # (1)
  1. See TagTypeDef

HostReservationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HostReservationTypeDef

def get_value() -> HostReservationTypeDef:
    return {
        "Count": ...,
    }
Definition
class HostReservationTypeDef(TypedDict):
    Count: NotRequired[int],
    CurrencyCode: NotRequired[CurrencyCodeValuesType],  # (1)
    Duration: NotRequired[int],
    End: NotRequired[datetime],
    HostIdSet: NotRequired[List[str]],
    HostReservationId: NotRequired[str],
    HourlyPrice: NotRequired[str],
    InstanceFamily: NotRequired[str],
    OfferingId: NotRequired[str],
    PaymentOption: NotRequired[PaymentOptionType],  # (2)
    Start: NotRequired[datetime],
    State: NotRequired[ReservationStateType],  # (3)
    UpfrontPrice: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See CurrencyCodeValuesType
  2. See PaymentOptionType
  3. See ReservationStateType
  4. See TagTypeDef

ImportKeyPairResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportKeyPairResultTypeDef

def get_value() -> ImportKeyPairResultTypeDef:
    return {
        "KeyFingerprint": ...,
        "KeyName": ...,
        "KeyPairId": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ImportKeyPairResultTypeDef(TypedDict):
    KeyFingerprint: str,
    KeyName: str,
    KeyPairId: str,
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

InstanceDeleteTagsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceDeleteTagsRequestTypeDef

def get_value() -> InstanceDeleteTagsRequestTypeDef:
    return {
        "Tags": ...,
    }
Definition
class InstanceDeleteTagsRequestTypeDef(TypedDict):
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagTypeDef

InstanceEventWindowAssociationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceEventWindowAssociationRequestTypeDef

def get_value() -> InstanceEventWindowAssociationRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class InstanceEventWindowAssociationRequestTypeDef(TypedDict):
    InstanceIds: NotRequired[Sequence[str]],
    InstanceTags: NotRequired[Sequence[TagTypeDef]],  # (1)
    DedicatedHostIds: NotRequired[Sequence[str]],
  1. See TagTypeDef

InstanceEventWindowAssociationTargetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceEventWindowAssociationTargetTypeDef

def get_value() -> InstanceEventWindowAssociationTargetTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class InstanceEventWindowAssociationTargetTypeDef(TypedDict):
    InstanceIds: NotRequired[List[str]],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
    DedicatedHostIds: NotRequired[List[str]],
  1. See TagTypeDef

InstanceEventWindowDisassociationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceEventWindowDisassociationRequestTypeDef

def get_value() -> InstanceEventWindowDisassociationRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class InstanceEventWindowDisassociationRequestTypeDef(TypedDict):
    InstanceIds: NotRequired[Sequence[str]],
    InstanceTags: NotRequired[Sequence[TagTypeDef]],  # (1)
    DedicatedHostIds: NotRequired[Sequence[str]],
  1. See TagTypeDef

IpamResourceDiscoveryAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamResourceDiscoveryAssociationTypeDef

def get_value() -> IpamResourceDiscoveryAssociationTypeDef:
    return {
        "OwnerId": ...,
    }
Definition
class IpamResourceDiscoveryAssociationTypeDef(TypedDict):
    OwnerId: NotRequired[str],
    IpamResourceDiscoveryAssociationId: NotRequired[str],
    IpamResourceDiscoveryAssociationArn: NotRequired[str],
    IpamResourceDiscoveryId: NotRequired[str],
    IpamId: NotRequired[str],
    IpamArn: NotRequired[str],
    IpamRegion: NotRequired[str],
    IsDefault: NotRequired[bool],
    ResourceDiscoveryStatus: NotRequired[IpamAssociatedResourceDiscoveryStatusType],  # (1)
    State: NotRequired[IpamResourceDiscoveryAssociationStateType],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See IpamAssociatedResourceDiscoveryStatusType
  2. See IpamResourceDiscoveryAssociationStateType
  3. See TagTypeDef

IpamScopeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamScopeTypeDef

def get_value() -> IpamScopeTypeDef:
    return {
        "OwnerId": ...,
    }
Definition
class IpamScopeTypeDef(TypedDict):
    OwnerId: NotRequired[str],
    IpamScopeId: NotRequired[str],
    IpamScopeArn: NotRequired[str],
    IpamArn: NotRequired[str],
    IpamRegion: NotRequired[str],
    IpamScopeType: NotRequired[IpamScopeTypeType],  # (1)
    IsDefault: NotRequired[bool],
    Description: NotRequired[str],
    PoolCount: NotRequired[int],
    State: NotRequired[IpamScopeStateType],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See IpamScopeTypeType
  2. See IpamScopeStateType
  3. See TagTypeDef

KeyPairInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import KeyPairInfoTypeDef

def get_value() -> KeyPairInfoTypeDef:
    return {
        "KeyPairId": ...,
    }
Definition
class KeyPairInfoTypeDef(TypedDict):
    KeyPairId: NotRequired[str],
    KeyFingerprint: NotRequired[str],
    KeyName: NotRequired[str],
    KeyType: NotRequired[KeyTypeType],  # (1)
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    PublicKey: NotRequired[str],
    CreateTime: NotRequired[datetime],
  1. See KeyTypeType
  2. See TagTypeDef

KeyPairTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import KeyPairTypeDef

def get_value() -> KeyPairTypeDef:
    return {
        "KeyFingerprint": ...,
        "KeyMaterial": ...,
        "KeyName": ...,
        "KeyPairId": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class KeyPairTypeDef(TypedDict):
    KeyFingerprint: str,
    KeyMaterial: str,
    KeyName: str,
    KeyPairId: str,
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

LaunchTemplateTagSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateTagSpecificationRequestTypeDef

def get_value() -> LaunchTemplateTagSpecificationRequestTypeDef:
    return {
        "ResourceType": ...,
    }
Definition
class LaunchTemplateTagSpecificationRequestTypeDef(TypedDict):
    ResourceType: NotRequired[ResourceTypeType],  # (1)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ResourceTypeType
  2. See TagTypeDef

LaunchTemplateTagSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateTagSpecificationTypeDef

def get_value() -> LaunchTemplateTagSpecificationTypeDef:
    return {
        "ResourceType": ...,
    }
Definition
class LaunchTemplateTagSpecificationTypeDef(TypedDict):
    ResourceType: NotRequired[ResourceTypeType],  # (1)
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See ResourceTypeType
  2. See TagTypeDef

LaunchTemplateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateTypeDef

def get_value() -> LaunchTemplateTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
Definition
class LaunchTemplateTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    CreateTime: NotRequired[datetime],
    CreatedBy: NotRequired[str],
    DefaultVersionNumber: NotRequired[int],
    LatestVersionNumber: NotRequired[int],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef

def get_value() -> LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef:
    return {
        "LocalGatewayRouteTableVirtualInterfaceGroupAssociationId": ...,
    }
Definition
class LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef(TypedDict):
    LocalGatewayRouteTableVirtualInterfaceGroupAssociationId: NotRequired[str],
    LocalGatewayVirtualInterfaceGroupId: NotRequired[str],
    LocalGatewayId: NotRequired[str],
    LocalGatewayRouteTableId: NotRequired[str],
    LocalGatewayRouteTableArn: NotRequired[str],
    OwnerId: NotRequired[str],
    State: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

LocalGatewayRouteTableVpcAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LocalGatewayRouteTableVpcAssociationTypeDef

def get_value() -> LocalGatewayRouteTableVpcAssociationTypeDef:
    return {
        "LocalGatewayRouteTableVpcAssociationId": ...,
    }
Definition
class LocalGatewayRouteTableVpcAssociationTypeDef(TypedDict):
    LocalGatewayRouteTableVpcAssociationId: NotRequired[str],
    LocalGatewayRouteTableId: NotRequired[str],
    LocalGatewayRouteTableArn: NotRequired[str],
    LocalGatewayId: NotRequired[str],
    VpcId: NotRequired[str],
    OwnerId: NotRequired[str],
    State: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

LocalGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LocalGatewayTypeDef

def get_value() -> LocalGatewayTypeDef:
    return {
        "LocalGatewayId": ...,
    }
Definition
class LocalGatewayTypeDef(TypedDict):
    LocalGatewayId: NotRequired[str],
    OutpostArn: NotRequired[str],
    OwnerId: NotRequired[str],
    State: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

LocalGatewayVirtualInterfaceGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LocalGatewayVirtualInterfaceGroupTypeDef

def get_value() -> LocalGatewayVirtualInterfaceGroupTypeDef:
    return {
        "LocalGatewayVirtualInterfaceGroupId": ...,
    }
Definition
class LocalGatewayVirtualInterfaceGroupTypeDef(TypedDict):
    LocalGatewayVirtualInterfaceGroupId: NotRequired[str],
    LocalGatewayVirtualInterfaceIds: NotRequired[List[str]],
    LocalGatewayId: NotRequired[str],
    OwnerId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

LocalGatewayVirtualInterfaceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LocalGatewayVirtualInterfaceTypeDef

def get_value() -> LocalGatewayVirtualInterfaceTypeDef:
    return {
        "LocalGatewayVirtualInterfaceId": ...,
    }
Definition
class LocalGatewayVirtualInterfaceTypeDef(TypedDict):
    LocalGatewayVirtualInterfaceId: NotRequired[str],
    LocalGatewayId: NotRequired[str],
    Vlan: NotRequired[int],
    LocalAddress: NotRequired[str],
    PeerAddress: NotRequired[str],
    LocalBgpAsn: NotRequired[int],
    PeerBgpAsn: NotRequired[int],
    OwnerId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

ManagedPrefixListTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ManagedPrefixListTypeDef

def get_value() -> ManagedPrefixListTypeDef:
    return {
        "PrefixListId": ...,
    }
Definition
class ManagedPrefixListTypeDef(TypedDict):
    PrefixListId: NotRequired[str],
    AddressFamily: NotRequired[str],
    State: NotRequired[PrefixListStateType],  # (1)
    StateMessage: NotRequired[str],
    PrefixListArn: NotRequired[str],
    PrefixListName: NotRequired[str],
    MaxEntries: NotRequired[int],
    Version: NotRequired[int],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    OwnerId: NotRequired[str],
  1. See PrefixListStateType
  2. See TagTypeDef

NetworkInsightsAccessScopeAnalysisTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInsightsAccessScopeAnalysisTypeDef

def get_value() -> NetworkInsightsAccessScopeAnalysisTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalysisId": ...,
    }
Definition
class NetworkInsightsAccessScopeAnalysisTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalysisId: NotRequired[str],
    NetworkInsightsAccessScopeAnalysisArn: NotRequired[str],
    NetworkInsightsAccessScopeId: NotRequired[str],
    Status: NotRequired[AnalysisStatusType],  # (1)
    StatusMessage: NotRequired[str],
    WarningMessage: NotRequired[str],
    StartDate: NotRequired[datetime],
    EndDate: NotRequired[datetime],
    FindingsFound: NotRequired[FindingsFoundType],  # (2)
    AnalyzedEniCount: NotRequired[int],
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See AnalysisStatusType
  2. See FindingsFoundType
  3. See TagTypeDef

NetworkInsightsAccessScopeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInsightsAccessScopeTypeDef

def get_value() -> NetworkInsightsAccessScopeTypeDef:
    return {
        "NetworkInsightsAccessScopeId": ...,
    }
Definition
class NetworkInsightsAccessScopeTypeDef(TypedDict):
    NetworkInsightsAccessScopeId: NotRequired[str],
    NetworkInsightsAccessScopeArn: NotRequired[str],
    CreatedDate: NotRequired[datetime],
    UpdatedDate: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

NetworkInsightsPathTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInsightsPathTypeDef

def get_value() -> NetworkInsightsPathTypeDef:
    return {
        "NetworkInsightsPathId": ...,
    }
Definition
class NetworkInsightsPathTypeDef(TypedDict):
    NetworkInsightsPathId: NotRequired[str],
    NetworkInsightsPathArn: NotRequired[str],
    CreatedDate: NotRequired[datetime],
    Source: NotRequired[str],
    Destination: NotRequired[str],
    SourceArn: NotRequired[str],
    DestinationArn: NotRequired[str],
    SourceIp: NotRequired[str],
    DestinationIp: NotRequired[str],
    Protocol: NotRequired[ProtocolType],  # (1)
    DestinationPort: NotRequired[int],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See ProtocolType
  2. See TagTypeDef

PlacementGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PlacementGroupTypeDef

def get_value() -> PlacementGroupTypeDef:
    return {
        "GroupName": ...,
    }
Definition
class PlacementGroupTypeDef(TypedDict):
    GroupName: NotRequired[str],
    State: NotRequired[PlacementGroupStateType],  # (1)
    Strategy: NotRequired[PlacementStrategyType],  # (2)
    PartitionCount: NotRequired[int],
    GroupId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (3)
    GroupArn: NotRequired[str],
    SpreadLevel: NotRequired[SpreadLevelType],  # (4)
  1. See PlacementGroupStateType
  2. See PlacementStrategyType
  3. See TagTypeDef
  4. See SpreadLevelType

ReplaceRootVolumeTaskTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceRootVolumeTaskTypeDef

def get_value() -> ReplaceRootVolumeTaskTypeDef:
    return {
        "ReplaceRootVolumeTaskId": ...,
    }
Definition
class ReplaceRootVolumeTaskTypeDef(TypedDict):
    ReplaceRootVolumeTaskId: NotRequired[str],
    InstanceId: NotRequired[str],
    TaskState: NotRequired[ReplaceRootVolumeTaskStateType],  # (1)
    StartTime: NotRequired[str],
    CompleteTime: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    ImageId: NotRequired[str],
    SnapshotId: NotRequired[str],
    DeleteReplacedRootVolume: NotRequired[bool],
  1. See ReplaceRootVolumeTaskStateType
  2. See TagTypeDef

SnapshotInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SnapshotInfoTypeDef

def get_value() -> SnapshotInfoTypeDef:
    return {
        "Description": ...,
    }
Definition
class SnapshotInfoTypeDef(TypedDict):
    Description: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
    Encrypted: NotRequired[bool],
    VolumeId: NotRequired[str],
    State: NotRequired[SnapshotStateType],  # (2)
    VolumeSize: NotRequired[int],
    StartTime: NotRequired[datetime],
    Progress: NotRequired[str],
    OwnerId: NotRequired[str],
    SnapshotId: NotRequired[str],
    OutpostArn: NotRequired[str],
  1. See TagTypeDef
  2. See SnapshotStateType

SnapshotResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SnapshotResponseMetadataTypeDef

def get_value() -> SnapshotResponseMetadataTypeDef:
    return {
        "DataEncryptionKeyId": ...,
        "Description": ...,
        "Encrypted": ...,
        "KmsKeyId": ...,
        "OwnerId": ...,
        "Progress": ...,
        "SnapshotId": ...,
        "StartTime": ...,
        "State": ...,
        "StateMessage": ...,
        "VolumeId": ...,
        "VolumeSize": ...,
        "OwnerAlias": ...,
        "OutpostArn": ...,
        "Tags": ...,
        "StorageTier": ...,
        "RestoreExpiryTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class SnapshotResponseMetadataTypeDef(TypedDict):
    DataEncryptionKeyId: str,
    Description: str,
    Encrypted: bool,
    KmsKeyId: str,
    OwnerId: str,
    Progress: str,
    SnapshotId: str,
    StartTime: datetime,
    State: SnapshotStateType,  # (1)
    StateMessage: str,
    VolumeId: str,
    VolumeSize: int,
    OwnerAlias: str,
    OutpostArn: str,
    Tags: List[TagTypeDef],  # (2)
    StorageTier: StorageTierType,  # (3)
    RestoreExpiryTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See SnapshotStateType
  2. See TagTypeDef
  3. See StorageTierType
  4. See ResponseMetadataTypeDef

SnapshotTierStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SnapshotTierStatusTypeDef

def get_value() -> SnapshotTierStatusTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class SnapshotTierStatusTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    VolumeId: NotRequired[str],
    Status: NotRequired[SnapshotStateType],  # (1)
    OwnerId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    StorageTier: NotRequired[StorageTierType],  # (3)
    LastTieringStartTime: NotRequired[datetime],
    LastTieringProgress: NotRequired[int],
    LastTieringOperationStatus: NotRequired[TieringOperationStatusType],  # (4)
    LastTieringOperationStatusDetail: NotRequired[str],
    ArchivalCompleteTime: NotRequired[datetime],
    RestoreExpiryTime: NotRequired[datetime],
  1. See SnapshotStateType
  2. See TagTypeDef
  3. See StorageTierType
  4. See TieringOperationStatusType

SnapshotTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SnapshotTypeDef

def get_value() -> SnapshotTypeDef:
    return {
        "DataEncryptionKeyId": ...,
    }
Definition
class SnapshotTypeDef(TypedDict):
    DataEncryptionKeyId: NotRequired[str],
    Description: NotRequired[str],
    Encrypted: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    OwnerId: NotRequired[str],
    Progress: NotRequired[str],
    SnapshotId: NotRequired[str],
    StartTime: NotRequired[datetime],
    State: NotRequired[SnapshotStateType],  # (1)
    StateMessage: NotRequired[str],
    VolumeId: NotRequired[str],
    VolumeSize: NotRequired[int],
    OwnerAlias: NotRequired[str],
    OutpostArn: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    StorageTier: NotRequired[StorageTierType],  # (3)
    RestoreExpiryTime: NotRequired[datetime],
  1. See SnapshotStateType
  2. See TagTypeDef
  3. See StorageTierType

SpotFleetTagSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotFleetTagSpecificationTypeDef

def get_value() -> SpotFleetTagSpecificationTypeDef:
    return {
        "ResourceType": ...,
    }
Definition
class SpotFleetTagSpecificationTypeDef(TypedDict):
    ResourceType: NotRequired[ResourceTypeType],  # (1)
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See ResourceTypeType
  2. See TagTypeDef

SubnetCidrReservationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SubnetCidrReservationTypeDef

def get_value() -> SubnetCidrReservationTypeDef:
    return {
        "SubnetCidrReservationId": ...,
    }
Definition
class SubnetCidrReservationTypeDef(TypedDict):
    SubnetCidrReservationId: NotRequired[str],
    SubnetId: NotRequired[str],
    Cidr: NotRequired[str],
    ReservationType: NotRequired[SubnetCidrReservationTypeType],  # (1)
    OwnerId: NotRequired[str],
    Description: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See SubnetCidrReservationTypeType
  2. See TagTypeDef

TagSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TagSpecificationTypeDef

def get_value() -> TagSpecificationTypeDef:
    return {
        "ResourceType": ...,
    }
Definition
class TagSpecificationTypeDef(TypedDict):
    ResourceType: NotRequired[ResourceTypeType],  # (1)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ResourceTypeType
  2. See TagTypeDef

TrafficMirrorSessionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TrafficMirrorSessionTypeDef

def get_value() -> TrafficMirrorSessionTypeDef:
    return {
        "TrafficMirrorSessionId": ...,
    }
Definition
class TrafficMirrorSessionTypeDef(TypedDict):
    TrafficMirrorSessionId: NotRequired[str],
    TrafficMirrorTargetId: NotRequired[str],
    TrafficMirrorFilterId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    OwnerId: NotRequired[str],
    PacketLength: NotRequired[int],
    SessionNumber: NotRequired[int],
    VirtualNetworkId: NotRequired[int],
    Description: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

TrafficMirrorTargetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TrafficMirrorTargetTypeDef

def get_value() -> TrafficMirrorTargetTypeDef:
    return {
        "TrafficMirrorTargetId": ...,
    }
Definition
class TrafficMirrorTargetTypeDef(TypedDict):
    TrafficMirrorTargetId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    NetworkLoadBalancerArn: NotRequired[str],
    Type: NotRequired[TrafficMirrorTargetTypeType],  # (1)
    Description: NotRequired[str],
    OwnerId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    GatewayLoadBalancerEndpointId: NotRequired[str],
  1. See TrafficMirrorTargetTypeType
  2. See TagTypeDef

TransitGatewayPolicyTableTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPolicyTableTypeDef

def get_value() -> TransitGatewayPolicyTableTypeDef:
    return {
        "TransitGatewayPolicyTableId": ...,
    }
Definition
class TransitGatewayPolicyTableTypeDef(TypedDict):
    TransitGatewayPolicyTableId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    State: NotRequired[TransitGatewayPolicyTableStateType],  # (1)
    CreationTime: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See TransitGatewayPolicyTableStateType
  2. See TagTypeDef

TransitGatewayRouteTableAnnouncementTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayRouteTableAnnouncementTypeDef

def get_value() -> TransitGatewayRouteTableAnnouncementTypeDef:
    return {
        "TransitGatewayRouteTableAnnouncementId": ...,
    }
Definition
class TransitGatewayRouteTableAnnouncementTypeDef(TypedDict):
    TransitGatewayRouteTableAnnouncementId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    CoreNetworkId: NotRequired[str],
    PeerTransitGatewayId: NotRequired[str],
    PeerCoreNetworkId: NotRequired[str],
    PeeringAttachmentId: NotRequired[str],
    AnnouncementDirection: NotRequired[TransitGatewayRouteTableAnnouncementDirectionType],  # (1)
    TransitGatewayRouteTableId: NotRequired[str],
    State: NotRequired[TransitGatewayRouteTableAnnouncementStateType],  # (2)
    CreationTime: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See TransitGatewayRouteTableAnnouncementDirectionType
  2. See TransitGatewayRouteTableAnnouncementStateType
  3. See TagTypeDef

TransitGatewayRouteTableTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayRouteTableTypeDef

def get_value() -> TransitGatewayRouteTableTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class TransitGatewayRouteTableTypeDef(TypedDict):
    TransitGatewayRouteTableId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    State: NotRequired[TransitGatewayRouteTableStateType],  # (1)
    DefaultAssociationRouteTable: NotRequired[bool],
    DefaultPropagationRouteTable: NotRequired[bool],
    CreationTime: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See TransitGatewayRouteTableStateType
  2. See TagTypeDef

TrunkInterfaceAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TrunkInterfaceAssociationTypeDef

def get_value() -> TrunkInterfaceAssociationTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class TrunkInterfaceAssociationTypeDef(TypedDict):
    AssociationId: NotRequired[str],
    BranchInterfaceId: NotRequired[str],
    TrunkInterfaceId: NotRequired[str],
    InterfaceProtocol: NotRequired[InterfaceProtocolTypeType],  # (1)
    VlanId: NotRequired[int],
    GreKey: NotRequired[int],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See InterfaceProtocolTypeType
  2. See TagTypeDef

VerifiedAccessGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessGroupTypeDef

def get_value() -> VerifiedAccessGroupTypeDef:
    return {
        "VerifiedAccessGroupId": ...,
    }
Definition
class VerifiedAccessGroupTypeDef(TypedDict):
    VerifiedAccessGroupId: NotRequired[str],
    VerifiedAccessInstanceId: NotRequired[str],
    Description: NotRequired[str],
    Owner: NotRequired[str],
    VerifiedAccessGroupArn: NotRequired[str],
    CreationTime: NotRequired[str],
    LastUpdatedTime: NotRequired[str],
    DeletionTime: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

VpcClassicLinkTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcClassicLinkTypeDef

def get_value() -> VpcClassicLinkTypeDef:
    return {
        "ClassicLinkEnabled": ...,
    }
Definition
class VpcClassicLinkTypeDef(TypedDict):
    ClassicLinkEnabled: NotRequired[bool],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
    VpcId: NotRequired[str],
  1. See TagTypeDef

AdvertiseByoipCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AdvertiseByoipCidrResultTypeDef

def get_value() -> AdvertiseByoipCidrResultTypeDef:
    return {
        "ByoipCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class AdvertiseByoipCidrResultTypeDef(TypedDict):
    ByoipCidr: ByoipCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByoipCidrTypeDef
  2. See ResponseMetadataTypeDef

DeprovisionByoipCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeprovisionByoipCidrResultTypeDef

def get_value() -> DeprovisionByoipCidrResultTypeDef:
    return {
        "ByoipCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeprovisionByoipCidrResultTypeDef(TypedDict):
    ByoipCidr: ByoipCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByoipCidrTypeDef
  2. See ResponseMetadataTypeDef

DescribeByoipCidrsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeByoipCidrsResultTypeDef

def get_value() -> DescribeByoipCidrsResultTypeDef:
    return {
        "ByoipCidrs": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeByoipCidrsResultTypeDef(TypedDict):
    ByoipCidrs: List[ByoipCidrTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByoipCidrTypeDef
  2. See ResponseMetadataTypeDef

MoveByoipCidrToIpamResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MoveByoipCidrToIpamResultTypeDef

def get_value() -> MoveByoipCidrToIpamResultTypeDef:
    return {
        "ByoipCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class MoveByoipCidrToIpamResultTypeDef(TypedDict):
    ByoipCidr: ByoipCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByoipCidrTypeDef
  2. See ResponseMetadataTypeDef

ProvisionByoipCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ProvisionByoipCidrResultTypeDef

def get_value() -> ProvisionByoipCidrResultTypeDef:
    return {
        "ByoipCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class ProvisionByoipCidrResultTypeDef(TypedDict):
    ByoipCidr: ByoipCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByoipCidrTypeDef
  2. See ResponseMetadataTypeDef

WithdrawByoipCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import WithdrawByoipCidrResultTypeDef

def get_value() -> WithdrawByoipCidrResultTypeDef:
    return {
        "ByoipCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class WithdrawByoipCidrResultTypeDef(TypedDict):
    ByoipCidr: ByoipCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ByoipCidrTypeDef
  2. See ResponseMetadataTypeDef

AllocateIpamPoolCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AllocateIpamPoolCidrResultTypeDef

def get_value() -> AllocateIpamPoolCidrResultTypeDef:
    return {
        "IpamPoolAllocation": ...,
        "ResponseMetadata": ...,
    }
Definition
class AllocateIpamPoolCidrResultTypeDef(TypedDict):
    IpamPoolAllocation: IpamPoolAllocationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamPoolAllocationTypeDef
  2. See ResponseMetadataTypeDef

GetIpamPoolAllocationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamPoolAllocationsResultTypeDef

def get_value() -> GetIpamPoolAllocationsResultTypeDef:
    return {
        "IpamPoolAllocations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetIpamPoolAllocationsResultTypeDef(TypedDict):
    IpamPoolAllocations: List[IpamPoolAllocationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamPoolAllocationTypeDef
  2. See ResponseMetadataTypeDef

AnalysisAclRuleTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AnalysisAclRuleTypeDef

def get_value() -> AnalysisAclRuleTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class AnalysisAclRuleTypeDef(TypedDict):
    Cidr: NotRequired[str],
    Egress: NotRequired[bool],
    PortRange: NotRequired[PortRangeTypeDef],  # (1)
    Protocol: NotRequired[str],
    RuleAction: NotRequired[str],
    RuleNumber: NotRequired[int],
  1. See PortRangeTypeDef

AnalysisPacketHeaderTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AnalysisPacketHeaderTypeDef

def get_value() -> AnalysisPacketHeaderTypeDef:
    return {
        "DestinationAddresses": ...,
    }
Definition
class AnalysisPacketHeaderTypeDef(TypedDict):
    DestinationAddresses: NotRequired[List[str]],
    DestinationPortRanges: NotRequired[List[PortRangeTypeDef]],  # (1)
    Protocol: NotRequired[str],
    SourceAddresses: NotRequired[List[str]],
    SourcePortRanges: NotRequired[List[PortRangeTypeDef]],  # (1)
  1. See PortRangeTypeDef
  2. See PortRangeTypeDef

AnalysisSecurityGroupRuleTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AnalysisSecurityGroupRuleTypeDef

def get_value() -> AnalysisSecurityGroupRuleTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class AnalysisSecurityGroupRuleTypeDef(TypedDict):
    Cidr: NotRequired[str],
    Direction: NotRequired[str],
    SecurityGroupId: NotRequired[str],
    PortRange: NotRequired[PortRangeTypeDef],  # (1)
    PrefixListId: NotRequired[str],
    Protocol: NotRequired[str],
  1. See PortRangeTypeDef

AssignPrivateIpAddressesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssignPrivateIpAddressesResultTypeDef

def get_value() -> AssignPrivateIpAddressesResultTypeDef:
    return {
        "NetworkInterfaceId": ...,
        "AssignedPrivateIpAddresses": ...,
        "AssignedIpv4Prefixes": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssignPrivateIpAddressesResultTypeDef(TypedDict):
    NetworkInterfaceId: str,
    AssignedPrivateIpAddresses: List[AssignedPrivateIpAddressTypeDef],  # (1)
    AssignedIpv4Prefixes: List[Ipv4PrefixSpecificationTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AssignedPrivateIpAddressTypeDef
  2. See Ipv4PrefixSpecificationTypeDef
  3. See ResponseMetadataTypeDef

AssignPrivateNatGatewayAddressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssignPrivateNatGatewayAddressResultTypeDef

def get_value() -> AssignPrivateNatGatewayAddressResultTypeDef:
    return {
        "NatGatewayId": ...,
        "NatGatewayAddresses": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssignPrivateNatGatewayAddressResultTypeDef(TypedDict):
    NatGatewayId: str,
    NatGatewayAddresses: List[NatGatewayAddressTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NatGatewayAddressTypeDef
  2. See ResponseMetadataTypeDef

AssociateNatGatewayAddressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateNatGatewayAddressResultTypeDef

def get_value() -> AssociateNatGatewayAddressResultTypeDef:
    return {
        "NatGatewayId": ...,
        "NatGatewayAddresses": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateNatGatewayAddressResultTypeDef(TypedDict):
    NatGatewayId: str,
    NatGatewayAddresses: List[NatGatewayAddressTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NatGatewayAddressTypeDef
  2. See ResponseMetadataTypeDef

DisassociateNatGatewayAddressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateNatGatewayAddressResultTypeDef

def get_value() -> DisassociateNatGatewayAddressResultTypeDef:
    return {
        "NatGatewayId": ...,
        "NatGatewayAddresses": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateNatGatewayAddressResultTypeDef(TypedDict):
    NatGatewayId: str,
    NatGatewayAddresses: List[NatGatewayAddressTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NatGatewayAddressTypeDef
  2. See ResponseMetadataTypeDef

UnassignPrivateNatGatewayAddressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnassignPrivateNatGatewayAddressResultTypeDef

def get_value() -> UnassignPrivateNatGatewayAddressResultTypeDef:
    return {
        "NatGatewayId": ...,
        "NatGatewayAddresses": ...,
        "ResponseMetadata": ...,
    }
Definition
class UnassignPrivateNatGatewayAddressResultTypeDef(TypedDict):
    NatGatewayId: str,
    NatGatewayAddresses: List[NatGatewayAddressTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NatGatewayAddressTypeDef
  2. See ResponseMetadataTypeDef

AssociateClientVpnTargetNetworkResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateClientVpnTargetNetworkResultTypeDef

def get_value() -> AssociateClientVpnTargetNetworkResultTypeDef:
    return {
        "AssociationId": ...,
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateClientVpnTargetNetworkResultTypeDef(TypedDict):
    AssociationId: str,
    Status: AssociationStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AssociationStatusTypeDef
  2. See ResponseMetadataTypeDef

DisassociateClientVpnTargetNetworkResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateClientVpnTargetNetworkResultTypeDef

def get_value() -> DisassociateClientVpnTargetNetworkResultTypeDef:
    return {
        "AssociationId": ...,
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateClientVpnTargetNetworkResultTypeDef(TypedDict):
    AssociationId: str,
    Status: AssociationStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AssociationStatusTypeDef
  2. See ResponseMetadataTypeDef

TargetNetworkTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TargetNetworkTypeDef

def get_value() -> TargetNetworkTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class TargetNetworkTypeDef(TypedDict):
    AssociationId: NotRequired[str],
    VpcId: NotRequired[str],
    TargetNetworkId: NotRequired[str],
    ClientVpnEndpointId: NotRequired[str],
    Status: NotRequired[AssociationStatusTypeDef],  # (1)
    SecurityGroups: NotRequired[List[str]],
  1. See AssociationStatusTypeDef

AssociateIamInstanceProfileRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateIamInstanceProfileRequestRequestTypeDef

def get_value() -> AssociateIamInstanceProfileRequestRequestTypeDef:
    return {
        "IamInstanceProfile": ...,
        "InstanceId": ...,
    }
Definition
class AssociateIamInstanceProfileRequestRequestTypeDef(TypedDict):
    IamInstanceProfile: IamInstanceProfileSpecificationTypeDef,  # (1)
    InstanceId: str,
  1. See IamInstanceProfileSpecificationTypeDef

ReplaceIamInstanceProfileAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceIamInstanceProfileAssociationRequestRequestTypeDef

def get_value() -> ReplaceIamInstanceProfileAssociationRequestRequestTypeDef:
    return {
        "IamInstanceProfile": ...,
        "AssociationId": ...,
    }
Definition
class ReplaceIamInstanceProfileAssociationRequestRequestTypeDef(TypedDict):
    IamInstanceProfile: IamInstanceProfileSpecificationTypeDef,  # (1)
    AssociationId: str,
  1. See IamInstanceProfileSpecificationTypeDef

AssociateRouteTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateRouteTableResultTypeDef

def get_value() -> AssociateRouteTableResultTypeDef:
    return {
        "AssociationId": ...,
        "AssociationState": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateRouteTableResultTypeDef(TypedDict):
    AssociationId: str,
    AssociationState: RouteTableAssociationStateTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RouteTableAssociationStateTypeDef
  2. See ResponseMetadataTypeDef

ReplaceRouteTableAssociationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceRouteTableAssociationResultTypeDef

def get_value() -> ReplaceRouteTableAssociationResultTypeDef:
    return {
        "NewAssociationId": ...,
        "AssociationState": ...,
        "ResponseMetadata": ...,
    }
Definition
class ReplaceRouteTableAssociationResultTypeDef(TypedDict):
    NewAssociationId: str,
    AssociationState: RouteTableAssociationStateTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RouteTableAssociationStateTypeDef
  2. See ResponseMetadataTypeDef

RouteTableAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RouteTableAssociationTypeDef

def get_value() -> RouteTableAssociationTypeDef:
    return {
        "Main": ...,
    }
Definition
class RouteTableAssociationTypeDef(TypedDict):
    Main: NotRequired[bool],
    RouteTableAssociationId: NotRequired[str],
    RouteTableId: NotRequired[str],
    SubnetId: NotRequired[str],
    GatewayId: NotRequired[str],
    AssociationState: NotRequired[RouteTableAssociationStateTypeDef],  # (1)
  1. See RouteTableAssociationStateTypeDef

AssociateTransitGatewayPolicyTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateTransitGatewayPolicyTableResultTypeDef

def get_value() -> AssociateTransitGatewayPolicyTableResultTypeDef:
    return {
        "Association": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateTransitGatewayPolicyTableResultTypeDef(TypedDict):
    Association: TransitGatewayPolicyTableAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPolicyTableAssociationTypeDef
  2. See ResponseMetadataTypeDef

DisassociateTransitGatewayPolicyTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateTransitGatewayPolicyTableResultTypeDef

def get_value() -> DisassociateTransitGatewayPolicyTableResultTypeDef:
    return {
        "Association": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateTransitGatewayPolicyTableResultTypeDef(TypedDict):
    Association: TransitGatewayPolicyTableAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPolicyTableAssociationTypeDef
  2. See ResponseMetadataTypeDef

GetTransitGatewayPolicyTableAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayPolicyTableAssociationsResultTypeDef

def get_value() -> GetTransitGatewayPolicyTableAssociationsResultTypeDef:
    return {
        "Associations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTransitGatewayPolicyTableAssociationsResultTypeDef(TypedDict):
    Associations: List[TransitGatewayPolicyTableAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPolicyTableAssociationTypeDef
  2. See ResponseMetadataTypeDef

AssociateTransitGatewayRouteTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateTransitGatewayRouteTableResultTypeDef

def get_value() -> AssociateTransitGatewayRouteTableResultTypeDef:
    return {
        "Association": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateTransitGatewayRouteTableResultTypeDef(TypedDict):
    Association: TransitGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

DisassociateTransitGatewayRouteTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateTransitGatewayRouteTableResultTypeDef

def get_value() -> DisassociateTransitGatewayRouteTableResultTypeDef:
    return {
        "Association": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateTransitGatewayRouteTableResultTypeDef(TypedDict):
    Association: TransitGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

GetAssociatedEnclaveCertificateIamRolesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetAssociatedEnclaveCertificateIamRolesResultTypeDef

def get_value() -> GetAssociatedEnclaveCertificateIamRolesResultTypeDef:
    return {
        "AssociatedRoles": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAssociatedEnclaveCertificateIamRolesResultTypeDef(TypedDict):
    AssociatedRoles: List[AssociatedRoleTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AssociatedRoleTypeDef
  2. See ResponseMetadataTypeDef

IntegrateServicesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IntegrateServicesTypeDef

def get_value() -> IntegrateServicesTypeDef:
    return {
        "AthenaIntegrations": ...,
    }
Definition
class IntegrateServicesTypeDef(TypedDict):
    AthenaIntegrations: NotRequired[Sequence[AthenaIntegrationTypeDef]],  # (1)
  1. See AthenaIntegrationTypeDef

AttachVpnGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachVpnGatewayResultTypeDef

def get_value() -> AttachVpnGatewayResultTypeDef:
    return {
        "VpcAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class AttachVpnGatewayResultTypeDef(TypedDict):
    VpcAttachment: VpcAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcAttachmentTypeDef
  2. See ResponseMetadataTypeDef

VpnGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpnGatewayTypeDef

def get_value() -> VpnGatewayTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class VpnGatewayTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    State: NotRequired[VpnStateType],  # (1)
    Type: NotRequired[GatewayTypeType],  # (2)
    VpcAttachments: NotRequired[List[VpcAttachmentTypeDef]],  # (3)
    VpnGatewayId: NotRequired[str],
    AmazonSideAsn: NotRequired[int],
    Tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See VpnStateType
  2. See GatewayTypeType
  3. See VpcAttachmentTypeDef
  4. See TagTypeDef

AttachmentEnaSrdSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachmentEnaSrdSpecificationTypeDef

def get_value() -> AttachmentEnaSrdSpecificationTypeDef:
    return {
        "EnaSrdEnabled": ...,
    }
Definition
class AttachmentEnaSrdSpecificationTypeDef(TypedDict):
    EnaSrdEnabled: NotRequired[bool],
    EnaSrdUdpSpecification: NotRequired[AttachmentEnaSrdUdpSpecificationTypeDef],  # (1)
  1. See AttachmentEnaSrdUdpSpecificationTypeDef

DescribeVpcAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcAttributeResultTypeDef

def get_value() -> DescribeVpcAttributeResultTypeDef:
    return {
        "VpcId": ...,
        "EnableDnsHostnames": ...,
        "EnableDnsSupport": ...,
        "EnableNetworkAddressUsageMetrics": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcAttributeResultTypeDef(TypedDict):
    VpcId: str,
    EnableDnsHostnames: AttributeBooleanValueTypeDef,  # (1)
    EnableDnsSupport: AttributeBooleanValueTypeDef,  # (1)
    EnableNetworkAddressUsageMetrics: AttributeBooleanValueTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See AttributeBooleanValueTypeDef
  2. See AttributeBooleanValueTypeDef
  3. See AttributeBooleanValueTypeDef
  4. See ResponseMetadataTypeDef

ModifySubnetAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifySubnetAttributeRequestRequestTypeDef

def get_value() -> ModifySubnetAttributeRequestRequestTypeDef:
    return {
        "SubnetId": ...,
    }
Definition
class ModifySubnetAttributeRequestRequestTypeDef(TypedDict):
    SubnetId: str,
    AssignIpv6AddressOnCreation: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    MapPublicIpOnLaunch: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    MapCustomerOwnedIpOnLaunch: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    CustomerOwnedIpv4Pool: NotRequired[str],
    EnableDns64: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    PrivateDnsHostnameTypeOnLaunch: NotRequired[HostnameTypeType],  # (5)
    EnableResourceNameDnsARecordOnLaunch: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    EnableResourceNameDnsAAAARecordOnLaunch: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    EnableLniAtDeviceIndex: NotRequired[int],
    DisableLniAtDeviceIndex: NotRequired[AttributeBooleanValueTypeDef],  # (1)
  1. See AttributeBooleanValueTypeDef
  2. See AttributeBooleanValueTypeDef
  3. See AttributeBooleanValueTypeDef
  4. See AttributeBooleanValueTypeDef
  5. See HostnameTypeType
  6. See AttributeBooleanValueTypeDef
  7. See AttributeBooleanValueTypeDef
  8. See AttributeBooleanValueTypeDef

ModifyVolumeAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVolumeAttributeRequestRequestTypeDef

def get_value() -> ModifyVolumeAttributeRequestRequestTypeDef:
    return {
        "VolumeId": ...,
    }
Definition
class ModifyVolumeAttributeRequestRequestTypeDef(TypedDict):
    VolumeId: str,
    AutoEnableIO: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    DryRun: NotRequired[bool],
  1. See AttributeBooleanValueTypeDef

ModifyVolumeAttributeRequestVolumeModifyAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVolumeAttributeRequestVolumeModifyAttributeTypeDef

def get_value() -> ModifyVolumeAttributeRequestVolumeModifyAttributeTypeDef:
    return {
        "AutoEnableIO": ...,
    }
Definition
class ModifyVolumeAttributeRequestVolumeModifyAttributeTypeDef(TypedDict):
    AutoEnableIO: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    DryRun: NotRequired[bool],
  1. See AttributeBooleanValueTypeDef

ModifyVpcAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcAttributeRequestRequestTypeDef

def get_value() -> ModifyVpcAttributeRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class ModifyVpcAttributeRequestRequestTypeDef(TypedDict):
    VpcId: str,
    EnableDnsHostnames: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    EnableDnsSupport: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    EnableNetworkAddressUsageMetrics: NotRequired[AttributeBooleanValueTypeDef],  # (1)
  1. See AttributeBooleanValueTypeDef
  2. See AttributeBooleanValueTypeDef
  3. See AttributeBooleanValueTypeDef

ModifyVpcAttributeRequestVpcModifyAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcAttributeRequestVpcModifyAttributeTypeDef

def get_value() -> ModifyVpcAttributeRequestVpcModifyAttributeTypeDef:
    return {
        "EnableDnsHostnames": ...,
    }
Definition
class ModifyVpcAttributeRequestVpcModifyAttributeTypeDef(TypedDict):
    EnableDnsHostnames: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    EnableDnsSupport: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    EnableNetworkAddressUsageMetrics: NotRequired[AttributeBooleanValueTypeDef],  # (1)
  1. See AttributeBooleanValueTypeDef
  2. See AttributeBooleanValueTypeDef
  3. See AttributeBooleanValueTypeDef

DhcpConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DhcpConfigurationTypeDef

def get_value() -> DhcpConfigurationTypeDef:
    return {
        "Key": ...,
    }
Definition
class DhcpConfigurationTypeDef(TypedDict):
    Key: NotRequired[str],
    Values: NotRequired[List[AttributeValueTypeDef]],  # (1)
  1. See AttributeValueTypeDef

AuthorizationRuleTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AuthorizationRuleTypeDef

def get_value() -> AuthorizationRuleTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class AuthorizationRuleTypeDef(TypedDict):
    ClientVpnEndpointId: NotRequired[str],
    Description: NotRequired[str],
    GroupId: NotRequired[str],
    AccessAll: NotRequired[bool],
    DestinationCidr: NotRequired[str],
    Status: NotRequired[ClientVpnAuthorizationRuleStatusTypeDef],  # (1)
  1. See ClientVpnAuthorizationRuleStatusTypeDef

AuthorizeClientVpnIngressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AuthorizeClientVpnIngressResultTypeDef

def get_value() -> AuthorizeClientVpnIngressResultTypeDef:
    return {
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class AuthorizeClientVpnIngressResultTypeDef(TypedDict):
    Status: ClientVpnAuthorizationRuleStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientVpnAuthorizationRuleStatusTypeDef
  2. See ResponseMetadataTypeDef

RevokeClientVpnIngressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RevokeClientVpnIngressResultTypeDef

def get_value() -> RevokeClientVpnIngressResultTypeDef:
    return {
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class RevokeClientVpnIngressResultTypeDef(TypedDict):
    Status: ClientVpnAuthorizationRuleStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientVpnAuthorizationRuleStatusTypeDef
  2. See ResponseMetadataTypeDef

AvailabilityZoneTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AvailabilityZoneTypeDef

def get_value() -> AvailabilityZoneTypeDef:
    return {
        "State": ...,
    }
Definition
class AvailabilityZoneTypeDef(TypedDict):
    State: NotRequired[AvailabilityZoneStateType],  # (1)
    OptInStatus: NotRequired[AvailabilityZoneOptInStatusType],  # (2)
    Messages: NotRequired[List[AvailabilityZoneMessageTypeDef]],  # (3)
    RegionName: NotRequired[str],
    ZoneName: NotRequired[str],
    ZoneId: NotRequired[str],
    GroupName: NotRequired[str],
    NetworkBorderGroup: NotRequired[str],
    ZoneType: NotRequired[str],
    ParentZoneName: NotRequired[str],
    ParentZoneId: NotRequired[str],
  1. See AvailabilityZoneStateType
  2. See AvailabilityZoneOptInStatusType
  3. See AvailabilityZoneMessageTypeDef

AvailableCapacityTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AvailableCapacityTypeDef

def get_value() -> AvailableCapacityTypeDef:
    return {
        "AvailableInstanceCapacity": ...,
    }
Definition
class AvailableCapacityTypeDef(TypedDict):
    AvailableInstanceCapacity: NotRequired[List[InstanceCapacityTypeDef]],  # (1)
    AvailableVCpus: NotRequired[int],
  1. See InstanceCapacityTypeDef

BlockDeviceMappingTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import BlockDeviceMappingTypeDef

def get_value() -> BlockDeviceMappingTypeDef:
    return {
        "DeviceName": ...,
    }
Definition
class BlockDeviceMappingTypeDef(TypedDict):
    DeviceName: NotRequired[str],
    VirtualName: NotRequired[str],
    Ebs: NotRequired[EbsBlockDeviceTypeDef],  # (1)
    NoDevice: NotRequired[str],
  1. See EbsBlockDeviceTypeDef

FailedCapacityReservationFleetCancellationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FailedCapacityReservationFleetCancellationResultTypeDef

def get_value() -> FailedCapacityReservationFleetCancellationResultTypeDef:
    return {
        "CapacityReservationFleetId": ...,
    }
Definition
class FailedCapacityReservationFleetCancellationResultTypeDef(TypedDict):
    CapacityReservationFleetId: NotRequired[str],
    CancelCapacityReservationFleetError: NotRequired[CancelCapacityReservationFleetErrorTypeDef],  # (1)
  1. See CancelCapacityReservationFleetErrorTypeDef

CancelSpotFleetRequestsErrorItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelSpotFleetRequestsErrorItemTypeDef

def get_value() -> CancelSpotFleetRequestsErrorItemTypeDef:
    return {
        "Error": ...,
    }
Definition
class CancelSpotFleetRequestsErrorItemTypeDef(TypedDict):
    Error: NotRequired[CancelSpotFleetRequestsErrorTypeDef],  # (1)
    SpotFleetRequestId: NotRequired[str],
  1. See CancelSpotFleetRequestsErrorTypeDef

CancelSpotInstanceRequestsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelSpotInstanceRequestsResultTypeDef

def get_value() -> CancelSpotInstanceRequestsResultTypeDef:
    return {
        "CancelledSpotInstanceRequests": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelSpotInstanceRequestsResultTypeDef(TypedDict):
    CancelledSpotInstanceRequests: List[CancelledSpotInstanceRequestTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CancelledSpotInstanceRequestTypeDef
  2. See ResponseMetadataTypeDef

CapacityReservationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationTypeDef

def get_value() -> CapacityReservationTypeDef:
    return {
        "CapacityReservationId": ...,
    }
Definition
class CapacityReservationTypeDef(TypedDict):
    CapacityReservationId: NotRequired[str],
    OwnerId: NotRequired[str],
    CapacityReservationArn: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    InstanceType: NotRequired[str],
    InstancePlatform: NotRequired[CapacityReservationInstancePlatformType],  # (1)
    AvailabilityZone: NotRequired[str],
    Tenancy: NotRequired[CapacityReservationTenancyType],  # (2)
    TotalInstanceCount: NotRequired[int],
    AvailableInstanceCount: NotRequired[int],
    EbsOptimized: NotRequired[bool],
    EphemeralStorage: NotRequired[bool],
    State: NotRequired[CapacityReservationStateType],  # (3)
    StartDate: NotRequired[datetime],
    EndDate: NotRequired[datetime],
    EndDateType: NotRequired[EndDateTypeType],  # (4)
    InstanceMatchCriteria: NotRequired[InstanceMatchCriteriaType],  # (5)
    CreateDate: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (6)
    OutpostArn: NotRequired[str],
    CapacityReservationFleetId: NotRequired[str],
    PlacementGroupArn: NotRequired[str],
    CapacityAllocations: NotRequired[List[CapacityAllocationTypeDef]],  # (7)
  1. See CapacityReservationInstancePlatformType
  2. See CapacityReservationTenancyType
  3. See CapacityReservationStateType
  4. See EndDateTypeType
  5. See InstanceMatchCriteriaType
  6. See TagTypeDef
  7. See CapacityAllocationTypeDef

CapacityReservationFleetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationFleetTypeDef

def get_value() -> CapacityReservationFleetTypeDef:
    return {
        "CapacityReservationFleetId": ...,
    }
Definition
class CapacityReservationFleetTypeDef(TypedDict):
    CapacityReservationFleetId: NotRequired[str],
    CapacityReservationFleetArn: NotRequired[str],
    State: NotRequired[CapacityReservationFleetStateType],  # (1)
    TotalTargetCapacity: NotRequired[int],
    TotalFulfilledCapacity: NotRequired[float],
    Tenancy: NotRequired[FleetCapacityReservationTenancyType],  # (2)
    EndDate: NotRequired[datetime],
    CreateTime: NotRequired[datetime],
    InstanceMatchCriteria: NotRequired[FleetInstanceMatchCriteriaType],  # (3)
    AllocationStrategy: NotRequired[str],
    InstanceTypeSpecifications: NotRequired[List[FleetCapacityReservationTypeDef]],  # (4)
    Tags: NotRequired[List[TagTypeDef]],  # (5)
  1. See CapacityReservationFleetStateType
  2. See FleetCapacityReservationTenancyType
  3. See FleetInstanceMatchCriteriaType
  4. See FleetCapacityReservationTypeDef
  5. See TagTypeDef

CreateCapacityReservationFleetResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCapacityReservationFleetResultTypeDef

def get_value() -> CreateCapacityReservationFleetResultTypeDef:
    return {
        "CapacityReservationFleetId": ...,
        "State": ...,
        "TotalTargetCapacity": ...,
        "TotalFulfilledCapacity": ...,
        "InstanceMatchCriteria": ...,
        "AllocationStrategy": ...,
        "CreateTime": ...,
        "EndDate": ...,
        "Tenancy": ...,
        "FleetCapacityReservations": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCapacityReservationFleetResultTypeDef(TypedDict):
    CapacityReservationFleetId: str,
    State: CapacityReservationFleetStateType,  # (1)
    TotalTargetCapacity: int,
    TotalFulfilledCapacity: float,
    InstanceMatchCriteria: FleetInstanceMatchCriteriaType,  # (2)
    AllocationStrategy: str,
    CreateTime: datetime,
    EndDate: datetime,
    Tenancy: FleetCapacityReservationTenancyType,  # (3)
    FleetCapacityReservations: List[FleetCapacityReservationTypeDef],  # (4)
    Tags: List[TagTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See CapacityReservationFleetStateType
  2. See FleetInstanceMatchCriteriaType
  3. See FleetCapacityReservationTenancyType
  4. See FleetCapacityReservationTypeDef
  5. See TagTypeDef
  6. See ResponseMetadataTypeDef

GetGroupsForCapacityReservationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetGroupsForCapacityReservationResultTypeDef

def get_value() -> GetGroupsForCapacityReservationResultTypeDef:
    return {
        "NextToken": ...,
        "CapacityReservationGroups": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetGroupsForCapacityReservationResultTypeDef(TypedDict):
    NextToken: str,
    CapacityReservationGroups: List[CapacityReservationGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityReservationGroupTypeDef
  2. See ResponseMetadataTypeDef

OnDemandOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import OnDemandOptionsRequestTypeDef

def get_value() -> OnDemandOptionsRequestTypeDef:
    return {
        "AllocationStrategy": ...,
    }
Definition
class OnDemandOptionsRequestTypeDef(TypedDict):
    AllocationStrategy: NotRequired[FleetOnDemandAllocationStrategyType],  # (1)
    CapacityReservationOptions: NotRequired[CapacityReservationOptionsRequestTypeDef],  # (2)
    SingleInstanceType: NotRequired[bool],
    SingleAvailabilityZone: NotRequired[bool],
    MinTargetCapacity: NotRequired[int],
    MaxTotalPrice: NotRequired[str],
  1. See FleetOnDemandAllocationStrategyType
  2. See CapacityReservationOptionsRequestTypeDef

OnDemandOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import OnDemandOptionsTypeDef

def get_value() -> OnDemandOptionsTypeDef:
    return {
        "AllocationStrategy": ...,
    }
Definition
class OnDemandOptionsTypeDef(TypedDict):
    AllocationStrategy: NotRequired[FleetOnDemandAllocationStrategyType],  # (1)
    CapacityReservationOptions: NotRequired[CapacityReservationOptionsTypeDef],  # (2)
    SingleInstanceType: NotRequired[bool],
    SingleAvailabilityZone: NotRequired[bool],
    MinTargetCapacity: NotRequired[int],
    MaxTotalPrice: NotRequired[str],
  1. See FleetOnDemandAllocationStrategyType
  2. See CapacityReservationOptionsTypeDef

CapacityReservationSpecificationResponseResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationSpecificationResponseResponseMetadataTypeDef

def get_value() -> CapacityReservationSpecificationResponseResponseMetadataTypeDef:
    return {
        "CapacityReservationPreference": ...,
        "CapacityReservationTarget": ...,
        "ResponseMetadata": ...,
    }
Definition
class CapacityReservationSpecificationResponseResponseMetadataTypeDef(TypedDict):
    CapacityReservationPreference: CapacityReservationPreferenceType,  # (1)
    CapacityReservationTarget: CapacityReservationTargetResponseTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CapacityReservationPreferenceType
  2. See CapacityReservationTargetResponseTypeDef
  3. See ResponseMetadataTypeDef

CapacityReservationSpecificationResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationSpecificationResponseTypeDef

def get_value() -> CapacityReservationSpecificationResponseTypeDef:
    return {
        "CapacityReservationPreference": ...,
    }
Definition
class CapacityReservationSpecificationResponseTypeDef(TypedDict):
    CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType],  # (1)
    CapacityReservationTarget: NotRequired[CapacityReservationTargetResponseTypeDef],  # (2)
  1. See CapacityReservationPreferenceType
  2. See CapacityReservationTargetResponseTypeDef

LaunchTemplateCapacityReservationSpecificationResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateCapacityReservationSpecificationResponseTypeDef

def get_value() -> LaunchTemplateCapacityReservationSpecificationResponseTypeDef:
    return {
        "CapacityReservationPreference": ...,
    }
Definition
class LaunchTemplateCapacityReservationSpecificationResponseTypeDef(TypedDict):
    CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType],  # (1)
    CapacityReservationTarget: NotRequired[CapacityReservationTargetResponseTypeDef],  # (2)
  1. See CapacityReservationPreferenceType
  2. See CapacityReservationTargetResponseTypeDef

CapacityReservationSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CapacityReservationSpecificationTypeDef

def get_value() -> CapacityReservationSpecificationTypeDef:
    return {
        "CapacityReservationPreference": ...,
    }
Definition
class CapacityReservationSpecificationTypeDef(TypedDict):
    CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType],  # (1)
    CapacityReservationTarget: NotRequired[CapacityReservationTargetTypeDef],  # (2)
  1. See CapacityReservationPreferenceType
  2. See CapacityReservationTargetTypeDef

LaunchTemplateCapacityReservationSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateCapacityReservationSpecificationRequestTypeDef

def get_value() -> LaunchTemplateCapacityReservationSpecificationRequestTypeDef:
    return {
        "CapacityReservationPreference": ...,
    }
Definition
class LaunchTemplateCapacityReservationSpecificationRequestTypeDef(TypedDict):
    CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType],  # (1)
    CapacityReservationTarget: NotRequired[CapacityReservationTargetTypeDef],  # (2)
  1. See CapacityReservationPreferenceType
  2. See CapacityReservationTargetTypeDef

DescribeVpcClassicLinkDnsSupportResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcClassicLinkDnsSupportResultTypeDef

def get_value() -> DescribeVpcClassicLinkDnsSupportResultTypeDef:
    return {
        "NextToken": ...,
        "Vpcs": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcClassicLinkDnsSupportResultTypeDef(TypedDict):
    NextToken: str,
    Vpcs: List[ClassicLinkDnsSupportTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClassicLinkDnsSupportTypeDef
  2. See ResponseMetadataTypeDef

ClassicLinkInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClassicLinkInstanceTypeDef

def get_value() -> ClassicLinkInstanceTypeDef:
    return {
        "Groups": ...,
    }
Definition
class ClassicLinkInstanceTypeDef(TypedDict):
    Groups: NotRequired[List[GroupIdentifierTypeDef]],  # (1)
    InstanceId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    VpcId: NotRequired[str],
  1. See GroupIdentifierTypeDef
  2. See TagTypeDef

ClassicLoadBalancersConfigTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClassicLoadBalancersConfigTypeDef

def get_value() -> ClassicLoadBalancersConfigTypeDef:
    return {
        "ClassicLoadBalancers": ...,
    }
Definition
class ClassicLoadBalancersConfigTypeDef(TypedDict):
    ClassicLoadBalancers: NotRequired[List[ClassicLoadBalancerTypeDef]],  # (1)
  1. See ClassicLoadBalancerTypeDef

ExportClientVpnClientCertificateRevocationListResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportClientVpnClientCertificateRevocationListResultTypeDef

def get_value() -> ExportClientVpnClientCertificateRevocationListResultTypeDef:
    return {
        "CertificateRevocationList": ...,
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class ExportClientVpnClientCertificateRevocationListResultTypeDef(TypedDict):
    CertificateRevocationList: str,
    Status: ClientCertificateRevocationListStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientCertificateRevocationListStatusTypeDef
  2. See ResponseMetadataTypeDef

ClientConnectResponseOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientConnectResponseOptionsTypeDef

def get_value() -> ClientConnectResponseOptionsTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class ClientConnectResponseOptionsTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    LambdaFunctionArn: NotRequired[str],
    Status: NotRequired[ClientVpnEndpointAttributeStatusTypeDef],  # (1)
  1. See ClientVpnEndpointAttributeStatusTypeDef

ClientVpnAuthenticationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnAuthenticationRequestTypeDef

def get_value() -> ClientVpnAuthenticationRequestTypeDef:
    return {
        "Type": ...,
    }
Definition
class ClientVpnAuthenticationRequestTypeDef(TypedDict):
    Type: NotRequired[ClientVpnAuthenticationTypeType],  # (1)
    ActiveDirectory: NotRequired[DirectoryServiceAuthenticationRequestTypeDef],  # (2)
    MutualAuthentication: NotRequired[CertificateAuthenticationRequestTypeDef],  # (3)
    FederatedAuthentication: NotRequired[FederatedAuthenticationRequestTypeDef],  # (4)
  1. See ClientVpnAuthenticationTypeType
  2. See DirectoryServiceAuthenticationRequestTypeDef
  3. See CertificateAuthenticationRequestTypeDef
  4. See FederatedAuthenticationRequestTypeDef

ClientVpnAuthenticationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnAuthenticationTypeDef

def get_value() -> ClientVpnAuthenticationTypeDef:
    return {
        "Type": ...,
    }
Definition
class ClientVpnAuthenticationTypeDef(TypedDict):
    Type: NotRequired[ClientVpnAuthenticationTypeType],  # (1)
    ActiveDirectory: NotRequired[DirectoryServiceAuthenticationTypeDef],  # (2)
    MutualAuthentication: NotRequired[CertificateAuthenticationTypeDef],  # (3)
    FederatedAuthentication: NotRequired[FederatedAuthenticationTypeDef],  # (4)
  1. See ClientVpnAuthenticationTypeType
  2. See DirectoryServiceAuthenticationTypeDef
  3. See CertificateAuthenticationTypeDef
  4. See FederatedAuthenticationTypeDef

ClientVpnConnectionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnConnectionTypeDef

def get_value() -> ClientVpnConnectionTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class ClientVpnConnectionTypeDef(TypedDict):
    ClientVpnEndpointId: NotRequired[str],
    Timestamp: NotRequired[str],
    ConnectionId: NotRequired[str],
    Username: NotRequired[str],
    ConnectionEstablishedTime: NotRequired[str],
    IngressBytes: NotRequired[str],
    EgressBytes: NotRequired[str],
    IngressPackets: NotRequired[str],
    EgressPackets: NotRequired[str],
    ClientIp: NotRequired[str],
    CommonName: NotRequired[str],
    Status: NotRequired[ClientVpnConnectionStatusTypeDef],  # (1)
    ConnectionEndTime: NotRequired[str],
    PostureComplianceStatuses: NotRequired[List[str]],
  1. See ClientVpnConnectionStatusTypeDef

TerminateConnectionStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TerminateConnectionStatusTypeDef

def get_value() -> TerminateConnectionStatusTypeDef:
    return {
        "ConnectionId": ...,
    }
Definition
class TerminateConnectionStatusTypeDef(TypedDict):
    ConnectionId: NotRequired[str],
    PreviousStatus: NotRequired[ClientVpnConnectionStatusTypeDef],  # (1)
    CurrentStatus: NotRequired[ClientVpnConnectionStatusTypeDef],  # (1)
  1. See ClientVpnConnectionStatusTypeDef
  2. See ClientVpnConnectionStatusTypeDef

CreateClientVpnEndpointResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateClientVpnEndpointResultTypeDef

def get_value() -> CreateClientVpnEndpointResultTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "Status": ...,
        "DnsName": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateClientVpnEndpointResultTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    Status: ClientVpnEndpointStatusTypeDef,  # (1)
    DnsName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientVpnEndpointStatusTypeDef
  2. See ResponseMetadataTypeDef

DeleteClientVpnEndpointResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteClientVpnEndpointResultTypeDef

def get_value() -> DeleteClientVpnEndpointResultTypeDef:
    return {
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteClientVpnEndpointResultTypeDef(TypedDict):
    Status: ClientVpnEndpointStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientVpnEndpointStatusTypeDef
  2. See ResponseMetadataTypeDef

ClientVpnRouteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnRouteTypeDef

def get_value() -> ClientVpnRouteTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class ClientVpnRouteTypeDef(TypedDict):
    ClientVpnEndpointId: NotRequired[str],
    DestinationCidr: NotRequired[str],
    TargetSubnet: NotRequired[str],
    Type: NotRequired[str],
    Origin: NotRequired[str],
    Status: NotRequired[ClientVpnRouteStatusTypeDef],  # (1)
    Description: NotRequired[str],
  1. See ClientVpnRouteStatusTypeDef

CreateClientVpnRouteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateClientVpnRouteResultTypeDef

def get_value() -> CreateClientVpnRouteResultTypeDef:
    return {
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateClientVpnRouteResultTypeDef(TypedDict):
    Status: ClientVpnRouteStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientVpnRouteStatusTypeDef
  2. See ResponseMetadataTypeDef

DeleteClientVpnRouteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteClientVpnRouteResultTypeDef

def get_value() -> DeleteClientVpnRouteResultTypeDef:
    return {
        "Status": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteClientVpnRouteResultTypeDef(TypedDict):
    Status: ClientVpnRouteStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientVpnRouteStatusTypeDef
  2. See ResponseMetadataTypeDef

VpnTunnelLogOptionsSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpnTunnelLogOptionsSpecificationTypeDef

def get_value() -> VpnTunnelLogOptionsSpecificationTypeDef:
    return {
        "CloudWatchLogOptions": ...,
    }
Definition
class VpnTunnelLogOptionsSpecificationTypeDef(TypedDict):
    CloudWatchLogOptions: NotRequired[CloudWatchLogOptionsSpecificationTypeDef],  # (1)
  1. See CloudWatchLogOptionsSpecificationTypeDef

VpnTunnelLogOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpnTunnelLogOptionsTypeDef

def get_value() -> VpnTunnelLogOptionsTypeDef:
    return {
        "CloudWatchLogOptions": ...,
    }
Definition
class VpnTunnelLogOptionsTypeDef(TypedDict):
    CloudWatchLogOptions: NotRequired[CloudWatchLogOptionsTypeDef],  # (1)
  1. See CloudWatchLogOptionsTypeDef

GetCoipPoolUsageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetCoipPoolUsageResultTypeDef

def get_value() -> GetCoipPoolUsageResultTypeDef:
    return {
        "CoipPoolId": ...,
        "CoipAddressUsages": ...,
        "LocalGatewayRouteTableId": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetCoipPoolUsageResultTypeDef(TypedDict):
    CoipPoolId: str,
    CoipAddressUsages: List[CoipAddressUsageTypeDef],  # (1)
    LocalGatewayRouteTableId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CoipAddressUsageTypeDef
  2. See ResponseMetadataTypeDef

CreateCoipCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCoipCidrResultTypeDef

def get_value() -> CreateCoipCidrResultTypeDef:
    return {
        "CoipCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCoipCidrResultTypeDef(TypedDict):
    CoipCidr: CoipCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CoipCidrTypeDef
  2. See ResponseMetadataTypeDef

DeleteCoipCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteCoipCidrResultTypeDef

def get_value() -> DeleteCoipCidrResultTypeDef:
    return {
        "CoipCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteCoipCidrResultTypeDef(TypedDict):
    CoipCidr: CoipCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CoipCidrTypeDef
  2. See ResponseMetadataTypeDef

CreateVpcEndpointConnectionNotificationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcEndpointConnectionNotificationResultTypeDef

def get_value() -> CreateVpcEndpointConnectionNotificationResultTypeDef:
    return {
        "ConnectionNotification": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVpcEndpointConnectionNotificationResultTypeDef(TypedDict):
    ConnectionNotification: ConnectionNotificationTypeDef,  # (1)
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConnectionNotificationTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpcEndpointConnectionNotificationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointConnectionNotificationsResultTypeDef

def get_value() -> DescribeVpcEndpointConnectionNotificationsResultTypeDef:
    return {
        "ConnectionNotificationSet": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcEndpointConnectionNotificationsResultTypeDef(TypedDict):
    ConnectionNotificationSet: List[ConnectionNotificationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConnectionNotificationTypeDef
  2. See ResponseMetadataTypeDef

ModifyInstanceEventWindowRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceEventWindowRequestRequestTypeDef

def get_value() -> ModifyInstanceEventWindowRequestRequestTypeDef:
    return {
        "InstanceEventWindowId": ...,
    }
Definition
class ModifyInstanceEventWindowRequestRequestTypeDef(TypedDict):
    InstanceEventWindowId: str,
    DryRun: NotRequired[bool],
    Name: NotRequired[str],
    TimeRanges: NotRequired[Sequence[InstanceEventWindowTimeRangeRequestTypeDef]],  # (1)
    CronExpression: NotRequired[str],
  1. See InstanceEventWindowTimeRangeRequestTypeDef

ModifyIpamPoolRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamPoolRequestRequestTypeDef

def get_value() -> ModifyIpamPoolRequestRequestTypeDef:
    return {
        "IpamPoolId": ...,
    }
Definition
class ModifyIpamPoolRequestRequestTypeDef(TypedDict):
    IpamPoolId: str,
    DryRun: NotRequired[bool],
    Description: NotRequired[str],
    AutoImport: NotRequired[bool],
    AllocationMinNetmaskLength: NotRequired[int],
    AllocationMaxNetmaskLength: NotRequired[int],
    AllocationDefaultNetmaskLength: NotRequired[int],
    ClearAllocationDefaultNetmaskLength: NotRequired[bool],
    AddAllocationResourceTags: NotRequired[Sequence[RequestIpamResourceTagTypeDef]],  # (1)
    RemoveAllocationResourceTags: NotRequired[Sequence[RequestIpamResourceTagTypeDef]],  # (1)
  1. See RequestIpamResourceTagTypeDef
  2. See RequestIpamResourceTagTypeDef

CreateLocalGatewayRouteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLocalGatewayRouteResultTypeDef

def get_value() -> CreateLocalGatewayRouteResultTypeDef:
    return {
        "Route": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocalGatewayRouteResultTypeDef(TypedDict):
    Route: LocalGatewayRouteTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTypeDef
  2. See ResponseMetadataTypeDef

DeleteLocalGatewayRouteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLocalGatewayRouteResultTypeDef

def get_value() -> DeleteLocalGatewayRouteResultTypeDef:
    return {
        "Route": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteLocalGatewayRouteResultTypeDef(TypedDict):
    Route: LocalGatewayRouteTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTypeDef
  2. See ResponseMetadataTypeDef

ModifyLocalGatewayRouteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyLocalGatewayRouteResultTypeDef

def get_value() -> ModifyLocalGatewayRouteResultTypeDef:
    return {
        "Route": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyLocalGatewayRouteResultTypeDef(TypedDict):
    Route: LocalGatewayRouteTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTypeDef
  2. See ResponseMetadataTypeDef

SearchLocalGatewayRoutesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SearchLocalGatewayRoutesResultTypeDef

def get_value() -> SearchLocalGatewayRoutesResultTypeDef:
    return {
        "Routes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class SearchLocalGatewayRoutesResultTypeDef(TypedDict):
    Routes: List[LocalGatewayRouteTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTypeDef
  2. See ResponseMetadataTypeDef

CreateNetworkAclEntryRequestNetworkAclCreateEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkAclEntryRequestNetworkAclCreateEntryTypeDef

def get_value() -> CreateNetworkAclEntryRequestNetworkAclCreateEntryTypeDef:
    return {
        "Egress": ...,
        "Protocol": ...,
        "RuleAction": ...,
        "RuleNumber": ...,
    }
Definition
class CreateNetworkAclEntryRequestNetworkAclCreateEntryTypeDef(TypedDict):
    Egress: bool,
    Protocol: str,
    RuleAction: RuleActionType,  # (1)
    RuleNumber: int,
    CidrBlock: NotRequired[str],
    DryRun: NotRequired[bool],
    IcmpTypeCode: NotRequired[IcmpTypeCodeTypeDef],  # (2)
    Ipv6CidrBlock: NotRequired[str],
    PortRange: NotRequired[PortRangeTypeDef],  # (3)
  1. See RuleActionType
  2. See IcmpTypeCodeTypeDef
  3. See PortRangeTypeDef

CreateNetworkAclEntryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkAclEntryRequestRequestTypeDef

def get_value() -> CreateNetworkAclEntryRequestRequestTypeDef:
    return {
        "Egress": ...,
        "NetworkAclId": ...,
        "Protocol": ...,
        "RuleAction": ...,
        "RuleNumber": ...,
    }
Definition
class CreateNetworkAclEntryRequestRequestTypeDef(TypedDict):
    Egress: bool,
    NetworkAclId: str,
    Protocol: str,
    RuleAction: RuleActionType,  # (1)
    RuleNumber: int,
    CidrBlock: NotRequired[str],
    DryRun: NotRequired[bool],
    IcmpTypeCode: NotRequired[IcmpTypeCodeTypeDef],  # (2)
    Ipv6CidrBlock: NotRequired[str],
    PortRange: NotRequired[PortRangeTypeDef],  # (3)
  1. See RuleActionType
  2. See IcmpTypeCodeTypeDef
  3. See PortRangeTypeDef

NetworkAclEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkAclEntryTypeDef

def get_value() -> NetworkAclEntryTypeDef:
    return {
        "CidrBlock": ...,
    }
Definition
class NetworkAclEntryTypeDef(TypedDict):
    CidrBlock: NotRequired[str],
    Egress: NotRequired[bool],
    IcmpTypeCode: NotRequired[IcmpTypeCodeTypeDef],  # (1)
    Ipv6CidrBlock: NotRequired[str],
    PortRange: NotRequired[PortRangeTypeDef],  # (2)
    Protocol: NotRequired[str],
    RuleAction: NotRequired[RuleActionType],  # (3)
    RuleNumber: NotRequired[int],
  1. See IcmpTypeCodeTypeDef
  2. See PortRangeTypeDef
  3. See RuleActionType

ReplaceNetworkAclEntryRequestNetworkAclReplaceEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceNetworkAclEntryRequestNetworkAclReplaceEntryTypeDef

def get_value() -> ReplaceNetworkAclEntryRequestNetworkAclReplaceEntryTypeDef:
    return {
        "Egress": ...,
        "Protocol": ...,
        "RuleAction": ...,
        "RuleNumber": ...,
    }
Definition
class ReplaceNetworkAclEntryRequestNetworkAclReplaceEntryTypeDef(TypedDict):
    Egress: bool,
    Protocol: str,
    RuleAction: RuleActionType,  # (1)
    RuleNumber: int,
    CidrBlock: NotRequired[str],
    DryRun: NotRequired[bool],
    IcmpTypeCode: NotRequired[IcmpTypeCodeTypeDef],  # (2)
    Ipv6CidrBlock: NotRequired[str],
    PortRange: NotRequired[PortRangeTypeDef],  # (3)
  1. See RuleActionType
  2. See IcmpTypeCodeTypeDef
  3. See PortRangeTypeDef

ReplaceNetworkAclEntryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceNetworkAclEntryRequestRequestTypeDef

def get_value() -> ReplaceNetworkAclEntryRequestRequestTypeDef:
    return {
        "Egress": ...,
        "NetworkAclId": ...,
        "Protocol": ...,
        "RuleAction": ...,
        "RuleNumber": ...,
    }
Definition
class ReplaceNetworkAclEntryRequestRequestTypeDef(TypedDict):
    Egress: bool,
    NetworkAclId: str,
    Protocol: str,
    RuleAction: RuleActionType,  # (1)
    RuleNumber: int,
    CidrBlock: NotRequired[str],
    DryRun: NotRequired[bool],
    IcmpTypeCode: NotRequired[IcmpTypeCodeTypeDef],  # (2)
    Ipv6CidrBlock: NotRequired[str],
    PortRange: NotRequired[PortRangeTypeDef],  # (3)
  1. See RuleActionType
  2. See IcmpTypeCodeTypeDef
  3. See PortRangeTypeDef

InstanceNetworkInterfaceSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceNetworkInterfaceSpecificationTypeDef

def get_value() -> InstanceNetworkInterfaceSpecificationTypeDef:
    return {
        "AssociatePublicIpAddress": ...,
    }
Definition
class InstanceNetworkInterfaceSpecificationTypeDef(TypedDict):
    AssociatePublicIpAddress: NotRequired[bool],
    DeleteOnTermination: NotRequired[bool],
    Description: NotRequired[str],
    DeviceIndex: NotRequired[int],
    Groups: NotRequired[List[str]],
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[List[InstanceIpv6AddressTypeDef]],  # (1)
    NetworkInterfaceId: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddresses: NotRequired[List[PrivateIpAddressSpecificationTypeDef]],  # (2)
    SecondaryPrivateIpAddressCount: NotRequired[int],
    SubnetId: NotRequired[str],
    AssociateCarrierIpAddress: NotRequired[bool],
    InterfaceType: NotRequired[str],
    NetworkCardIndex: NotRequired[int],
    Ipv4Prefixes: NotRequired[List[Ipv4PrefixSpecificationRequestTypeDef]],  # (3)
    Ipv4PrefixCount: NotRequired[int],
    Ipv6Prefixes: NotRequired[List[Ipv6PrefixSpecificationRequestTypeDef]],  # (4)
    Ipv6PrefixCount: NotRequired[int],
  1. See InstanceIpv6AddressTypeDef
  2. See PrivateIpAddressSpecificationTypeDef
  3. See Ipv4PrefixSpecificationRequestTypeDef
  4. See Ipv6PrefixSpecificationRequestTypeDef

CreateReservedInstancesListingRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateReservedInstancesListingRequestRequestTypeDef

def get_value() -> CreateReservedInstancesListingRequestRequestTypeDef:
    return {
        "ClientToken": ...,
        "InstanceCount": ...,
        "PriceSchedules": ...,
        "ReservedInstancesId": ...,
    }
Definition
class CreateReservedInstancesListingRequestRequestTypeDef(TypedDict):
    ClientToken: str,
    InstanceCount: int,
    PriceSchedules: Sequence[PriceScheduleSpecificationTypeDef],  # (1)
    ReservedInstancesId: str,
  1. See PriceScheduleSpecificationTypeDef

CreateStoreImageTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateStoreImageTaskRequestRequestTypeDef

def get_value() -> CreateStoreImageTaskRequestRequestTypeDef:
    return {
        "ImageId": ...,
        "Bucket": ...,
    }
Definition
class CreateStoreImageTaskRequestRequestTypeDef(TypedDict):
    ImageId: str,
    Bucket: str,
    S3ObjectTags: NotRequired[Sequence[S3ObjectTagTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See S3ObjectTagTypeDef

CreateTrafficMirrorFilterRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTrafficMirrorFilterRuleRequestRequestTypeDef

def get_value() -> CreateTrafficMirrorFilterRuleRequestRequestTypeDef:
    return {
        "TrafficMirrorFilterId": ...,
        "TrafficDirection": ...,
        "RuleNumber": ...,
        "RuleAction": ...,
        "DestinationCidrBlock": ...,
        "SourceCidrBlock": ...,
    }
Definition
class CreateTrafficMirrorFilterRuleRequestRequestTypeDef(TypedDict):
    TrafficMirrorFilterId: str,
    TrafficDirection: TrafficDirectionType,  # (1)
    RuleNumber: int,
    RuleAction: TrafficMirrorRuleActionType,  # (2)
    DestinationCidrBlock: str,
    SourceCidrBlock: str,
    DestinationPortRange: NotRequired[TrafficMirrorPortRangeRequestTypeDef],  # (3)
    SourcePortRange: NotRequired[TrafficMirrorPortRangeRequestTypeDef],  # (3)
    Protocol: NotRequired[int],
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
  1. See TrafficDirectionType
  2. See TrafficMirrorRuleActionType
  3. See TrafficMirrorPortRangeRequestTypeDef
  4. See TrafficMirrorPortRangeRequestTypeDef

ModifyTrafficMirrorFilterRuleRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTrafficMirrorFilterRuleRequestRequestTypeDef

def get_value() -> ModifyTrafficMirrorFilterRuleRequestRequestTypeDef:
    return {
        "TrafficMirrorFilterRuleId": ...,
    }
Definition
class ModifyTrafficMirrorFilterRuleRequestRequestTypeDef(TypedDict):
    TrafficMirrorFilterRuleId: str,
    TrafficDirection: NotRequired[TrafficDirectionType],  # (1)
    RuleNumber: NotRequired[int],
    RuleAction: NotRequired[TrafficMirrorRuleActionType],  # (2)
    DestinationPortRange: NotRequired[TrafficMirrorPortRangeRequestTypeDef],  # (3)
    SourcePortRange: NotRequired[TrafficMirrorPortRangeRequestTypeDef],  # (3)
    Protocol: NotRequired[int],
    DestinationCidrBlock: NotRequired[str],
    SourceCidrBlock: NotRequired[str],
    Description: NotRequired[str],
    RemoveFields: NotRequired[Sequence[TrafficMirrorFilterRuleFieldType]],  # (5)
    DryRun: NotRequired[bool],
  1. See TrafficDirectionType
  2. See TrafficMirrorRuleActionType
  3. See TrafficMirrorPortRangeRequestTypeDef
  4. See TrafficMirrorPortRangeRequestTypeDef
  5. See TrafficMirrorFilterRuleFieldType

CreateVolumePermissionModificationsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVolumePermissionModificationsTypeDef

def get_value() -> CreateVolumePermissionModificationsTypeDef:
    return {
        "Add": ...,
    }
Definition
class CreateVolumePermissionModificationsTypeDef(TypedDict):
    Add: NotRequired[Sequence[CreateVolumePermissionTypeDef]],  # (1)
    Remove: NotRequired[Sequence[CreateVolumePermissionTypeDef]],  # (1)
  1. See CreateVolumePermissionTypeDef
  2. See CreateVolumePermissionTypeDef

ModifyVpcEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcEndpointRequestRequestTypeDef

def get_value() -> ModifyVpcEndpointRequestRequestTypeDef:
    return {
        "VpcEndpointId": ...,
    }
Definition
class ModifyVpcEndpointRequestRequestTypeDef(TypedDict):
    VpcEndpointId: str,
    DryRun: NotRequired[bool],
    ResetPolicy: NotRequired[bool],
    PolicyDocument: NotRequired[str],
    AddRouteTableIds: NotRequired[Sequence[str]],
    RemoveRouteTableIds: NotRequired[Sequence[str]],
    AddSubnetIds: NotRequired[Sequence[str]],
    RemoveSubnetIds: NotRequired[Sequence[str]],
    AddSecurityGroupIds: NotRequired[Sequence[str]],
    RemoveSecurityGroupIds: NotRequired[Sequence[str]],
    IpAddressType: NotRequired[IpAddressTypeType],  # (1)
    DnsOptions: NotRequired[DnsOptionsSpecificationTypeDef],  # (2)
    PrivateDnsEnabled: NotRequired[bool],
  1. See IpAddressTypeType
  2. See DnsOptionsSpecificationTypeDef

GetAwsNetworkPerformanceDataRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetAwsNetworkPerformanceDataRequestRequestTypeDef

def get_value() -> GetAwsNetworkPerformanceDataRequestRequestTypeDef:
    return {
        "DataQueries": ...,
    }
Definition
class GetAwsNetworkPerformanceDataRequestRequestTypeDef(TypedDict):
    DataQueries: NotRequired[Sequence[DataQueryTypeDef]],  # (1)
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See DataQueryTypeDef

DataResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DataResponseTypeDef

def get_value() -> DataResponseTypeDef:
    return {
        "Id": ...,
    }
Definition
class DataResponseTypeDef(TypedDict):
    Id: NotRequired[str],
    Source: NotRequired[str],
    Destination: NotRequired[str],
    Metric: NotRequired[MetricTypeType],  # (1)
    Statistic: NotRequired[StatisticTypeType],  # (2)
    Period: NotRequired[PeriodTypeType],  # (3)
    MetricPoints: NotRequired[List[MetricPointTypeDef]],  # (4)
  1. See MetricTypeType
  2. See StatisticTypeType
  3. See PeriodTypeType
  4. See MetricPointTypeDef

DeleteFleetErrorItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteFleetErrorItemTypeDef

def get_value() -> DeleteFleetErrorItemTypeDef:
    return {
        "Error": ...,
    }
Definition
class DeleteFleetErrorItemTypeDef(TypedDict):
    Error: NotRequired[DeleteFleetErrorTypeDef],  # (1)
    FleetId: NotRequired[str],
  1. See DeleteFleetErrorTypeDef

DeleteInstanceEventWindowResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteInstanceEventWindowResultTypeDef

def get_value() -> DeleteInstanceEventWindowResultTypeDef:
    return {
        "InstanceEventWindowState": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteInstanceEventWindowResultTypeDef(TypedDict):
    InstanceEventWindowState: InstanceEventWindowStateChangeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceEventWindowStateChangeTypeDef
  2. See ResponseMetadataTypeDef

DeleteLaunchTemplateVersionsResponseErrorItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLaunchTemplateVersionsResponseErrorItemTypeDef

def get_value() -> DeleteLaunchTemplateVersionsResponseErrorItemTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
Definition
class DeleteLaunchTemplateVersionsResponseErrorItemTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    VersionNumber: NotRequired[int],
    ResponseError: NotRequired[ResponseErrorTypeDef],  # (1)
  1. See ResponseErrorTypeDef

FailedQueuedPurchaseDeletionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FailedQueuedPurchaseDeletionTypeDef

def get_value() -> FailedQueuedPurchaseDeletionTypeDef:
    return {
        "Error": ...,
    }
Definition
class FailedQueuedPurchaseDeletionTypeDef(TypedDict):
    Error: NotRequired[DeleteQueuedReservedInstancesErrorTypeDef],  # (1)
    ReservedInstancesId: NotRequired[str],
  1. See DeleteQueuedReservedInstancesErrorTypeDef

DeregisterInstanceEventNotificationAttributesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeregisterInstanceEventNotificationAttributesRequestRequestTypeDef

def get_value() -> DeregisterInstanceEventNotificationAttributesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DeregisterInstanceEventNotificationAttributesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    InstanceTagAttribute: NotRequired[DeregisterInstanceTagAttributeRequestTypeDef],  # (1)
  1. See DeregisterInstanceTagAttributeRequestTypeDef

DeregisterInstanceEventNotificationAttributesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeregisterInstanceEventNotificationAttributesResultTypeDef

def get_value() -> DeregisterInstanceEventNotificationAttributesResultTypeDef:
    return {
        "InstanceTagAttribute": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeregisterInstanceEventNotificationAttributesResultTypeDef(TypedDict):
    InstanceTagAttribute: InstanceTagNotificationAttributeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceTagNotificationAttributeTypeDef
  2. See ResponseMetadataTypeDef

DescribeInstanceEventNotificationAttributesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceEventNotificationAttributesResultTypeDef

def get_value() -> DescribeInstanceEventNotificationAttributesResultTypeDef:
    return {
        "InstanceTagAttribute": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInstanceEventNotificationAttributesResultTypeDef(TypedDict):
    InstanceTagAttribute: InstanceTagNotificationAttributeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceTagNotificationAttributeTypeDef
  2. See ResponseMetadataTypeDef

RegisterInstanceEventNotificationAttributesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterInstanceEventNotificationAttributesResultTypeDef

def get_value() -> RegisterInstanceEventNotificationAttributesResultTypeDef:
    return {
        "InstanceTagAttribute": ...,
        "ResponseMetadata": ...,
    }
Definition
class RegisterInstanceEventNotificationAttributesResultTypeDef(TypedDict):
    InstanceTagAttribute: InstanceTagNotificationAttributeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceTagNotificationAttributeTypeDef
  2. See ResponseMetadataTypeDef

DeregisterTransitGatewayMulticastGroupMembersResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeregisterTransitGatewayMulticastGroupMembersResultTypeDef

def get_value() -> DeregisterTransitGatewayMulticastGroupMembersResultTypeDef:
    return {
        "DeregisteredMulticastGroupMembers": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeregisterTransitGatewayMulticastGroupMembersResultTypeDef(TypedDict):
    DeregisteredMulticastGroupMembers: TransitGatewayMulticastDeregisteredGroupMembersTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDeregisteredGroupMembersTypeDef
  2. See ResponseMetadataTypeDef

DeregisterTransitGatewayMulticastGroupSourcesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeregisterTransitGatewayMulticastGroupSourcesResultTypeDef

def get_value() -> DeregisterTransitGatewayMulticastGroupSourcesResultTypeDef:
    return {
        "DeregisteredMulticastGroupSources": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeregisterTransitGatewayMulticastGroupSourcesResultTypeDef(TypedDict):
    DeregisteredMulticastGroupSources: TransitGatewayMulticastDeregisteredGroupSourcesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDeregisteredGroupSourcesTypeDef
  2. See ResponseMetadataTypeDef

DescribeAddressTransfersRequestDescribeAddressTransfersPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAddressTransfersRequestDescribeAddressTransfersPaginateTypeDef

def get_value() -> DescribeAddressTransfersRequestDescribeAddressTransfersPaginateTypeDef:
    return {
        "AllocationIds": ...,
    }
Definition
class DescribeAddressTransfersRequestDescribeAddressTransfersPaginateTypeDef(TypedDict):
    AllocationIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeAddressesAttributeRequestDescribeAddressesAttributePaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAddressesAttributeRequestDescribeAddressesAttributePaginateTypeDef

def get_value() -> DescribeAddressesAttributeRequestDescribeAddressesAttributePaginateTypeDef:
    return {
        "AllocationIds": ...,
    }
Definition
class DescribeAddressesAttributeRequestDescribeAddressesAttributePaginateTypeDef(TypedDict):
    AllocationIds: NotRequired[Sequence[str]],
    Attribute: NotRequired[AddressAttributeNameType],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See AddressAttributeNameType
  2. See PaginatorConfigTypeDef

DescribeByoipCidrsRequestDescribeByoipCidrsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeByoipCidrsRequestDescribeByoipCidrsPaginateTypeDef

def get_value() -> DescribeByoipCidrsRequestDescribeByoipCidrsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeByoipCidrsRequestDescribeByoipCidrsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribePrincipalIdFormatRequestDescribePrincipalIdFormatPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePrincipalIdFormatRequestDescribePrincipalIdFormatPaginateTypeDef

def get_value() -> DescribePrincipalIdFormatRequestDescribePrincipalIdFormatPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribePrincipalIdFormatRequestDescribePrincipalIdFormatPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Resources: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeSpotFleetInstancesRequestDescribeSpotFleetInstancesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotFleetInstancesRequestDescribeSpotFleetInstancesPaginateTypeDef

def get_value() -> DescribeSpotFleetInstancesRequestDescribeSpotFleetInstancesPaginateTypeDef:
    return {
        "SpotFleetRequestId": ...,
    }
Definition
class DescribeSpotFleetInstancesRequestDescribeSpotFleetInstancesPaginateTypeDef(TypedDict):
    SpotFleetRequestId: str,
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeSpotFleetRequestsRequestDescribeSpotFleetRequestsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotFleetRequestsRequestDescribeSpotFleetRequestsPaginateTypeDef

def get_value() -> DescribeSpotFleetRequestsRequestDescribeSpotFleetRequestsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeSpotFleetRequestsRequestDescribeSpotFleetRequestsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    SpotFleetRequestIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeStaleSecurityGroupsRequestDescribeStaleSecurityGroupsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeStaleSecurityGroupsRequestDescribeStaleSecurityGroupsPaginateTypeDef

def get_value() -> DescribeStaleSecurityGroupsRequestDescribeStaleSecurityGroupsPaginateTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class DescribeStaleSecurityGroupsRequestDescribeStaleSecurityGroupsPaginateTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeVpcClassicLinkDnsSupportRequestDescribeVpcClassicLinkDnsSupportPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcClassicLinkDnsSupportRequestDescribeVpcClassicLinkDnsSupportPaginateTypeDef

def get_value() -> DescribeVpcClassicLinkDnsSupportRequestDescribeVpcClassicLinkDnsSupportPaginateTypeDef:
    return {
        "VpcIds": ...,
    }
Definition
class DescribeVpcClassicLinkDnsSupportRequestDescribeVpcClassicLinkDnsSupportPaginateTypeDef(TypedDict):
    VpcIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetAssociatedIpv6PoolCidrsRequestGetAssociatedIpv6PoolCidrsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetAssociatedIpv6PoolCidrsRequestGetAssociatedIpv6PoolCidrsPaginateTypeDef

def get_value() -> GetAssociatedIpv6PoolCidrsRequestGetAssociatedIpv6PoolCidrsPaginateTypeDef:
    return {
        "PoolId": ...,
    }
Definition
class GetAssociatedIpv6PoolCidrsRequestGetAssociatedIpv6PoolCidrsPaginateTypeDef(TypedDict):
    PoolId: str,
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetAwsNetworkPerformanceDataRequestGetAwsNetworkPerformanceDataPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetAwsNetworkPerformanceDataRequestGetAwsNetworkPerformanceDataPaginateTypeDef

def get_value() -> GetAwsNetworkPerformanceDataRequestGetAwsNetworkPerformanceDataPaginateTypeDef:
    return {
        "DataQueries": ...,
    }
Definition
class GetAwsNetworkPerformanceDataRequestGetAwsNetworkPerformanceDataPaginateTypeDef(TypedDict):
    DataQueries: NotRequired[Sequence[DataQueryTypeDef]],  # (1)
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See DataQueryTypeDef
  2. See PaginatorConfigTypeDef

GetGroupsForCapacityReservationRequestGetGroupsForCapacityReservationPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetGroupsForCapacityReservationRequestGetGroupsForCapacityReservationPaginateTypeDef

def get_value() -> GetGroupsForCapacityReservationRequestGetGroupsForCapacityReservationPaginateTypeDef:
    return {
        "CapacityReservationId": ...,
    }
Definition
class GetGroupsForCapacityReservationRequestGetGroupsForCapacityReservationPaginateTypeDef(TypedDict):
    CapacityReservationId: str,
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetIpamAddressHistoryRequestGetIpamAddressHistoryPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamAddressHistoryRequestGetIpamAddressHistoryPaginateTypeDef

def get_value() -> GetIpamAddressHistoryRequestGetIpamAddressHistoryPaginateTypeDef:
    return {
        "Cidr": ...,
        "IpamScopeId": ...,
    }
Definition
class GetIpamAddressHistoryRequestGetIpamAddressHistoryPaginateTypeDef(TypedDict):
    Cidr: str,
    IpamScopeId: str,
    DryRun: NotRequired[bool],
    VpcId: NotRequired[str],
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetManagedPrefixListAssociationsRequestGetManagedPrefixListAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetManagedPrefixListAssociationsRequestGetManagedPrefixListAssociationsPaginateTypeDef

def get_value() -> GetManagedPrefixListAssociationsRequestGetManagedPrefixListAssociationsPaginateTypeDef:
    return {
        "PrefixListId": ...,
    }
Definition
class GetManagedPrefixListAssociationsRequestGetManagedPrefixListAssociationsPaginateTypeDef(TypedDict):
    PrefixListId: str,
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetManagedPrefixListEntriesRequestGetManagedPrefixListEntriesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetManagedPrefixListEntriesRequestGetManagedPrefixListEntriesPaginateTypeDef

def get_value() -> GetManagedPrefixListEntriesRequestGetManagedPrefixListEntriesPaginateTypeDef:
    return {
        "PrefixListId": ...,
    }
Definition
class GetManagedPrefixListEntriesRequestGetManagedPrefixListEntriesPaginateTypeDef(TypedDict):
    PrefixListId: str,
    DryRun: NotRequired[bool],
    TargetVersion: NotRequired[int],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetVpnConnectionDeviceTypesRequestGetVpnConnectionDeviceTypesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetVpnConnectionDeviceTypesRequestGetVpnConnectionDeviceTypesPaginateTypeDef

def get_value() -> GetVpnConnectionDeviceTypesRequestGetVpnConnectionDeviceTypesPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class GetVpnConnectionDeviceTypesRequestGetVpnConnectionDeviceTypesPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListImagesInRecycleBinRequestListImagesInRecycleBinPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ListImagesInRecycleBinRequestListImagesInRecycleBinPaginateTypeDef

def get_value() -> ListImagesInRecycleBinRequestListImagesInRecycleBinPaginateTypeDef:
    return {
        "ImageIds": ...,
    }
Definition
class ListImagesInRecycleBinRequestListImagesInRecycleBinPaginateTypeDef(TypedDict):
    ImageIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSnapshotsInRecycleBinRequestListSnapshotsInRecycleBinPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ListSnapshotsInRecycleBinRequestListSnapshotsInRecycleBinPaginateTypeDef

def get_value() -> ListSnapshotsInRecycleBinRequestListSnapshotsInRecycleBinPaginateTypeDef:
    return {
        "SnapshotIds": ...,
    }
Definition
class ListSnapshotsInRecycleBinRequestListSnapshotsInRecycleBinPaginateTypeDef(TypedDict):
    SnapshotIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeAddressesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAddressesRequestRequestTypeDef

def get_value() -> DescribeAddressesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeAddressesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PublicIps: NotRequired[Sequence[str]],
    AllocationIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeAvailabilityZonesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAvailabilityZonesRequestRequestTypeDef

def get_value() -> DescribeAvailabilityZonesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeAvailabilityZonesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ZoneNames: NotRequired[Sequence[str]],
    ZoneIds: NotRequired[Sequence[str]],
    AllAvailabilityZones: NotRequired[bool],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeAwsNetworkPerformanceMetricSubscriptionsRequestDescribeAwsNetworkPerformanceMetricSubscriptionsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAwsNetworkPerformanceMetricSubscriptionsRequestDescribeAwsNetworkPerformanceMetricSubscriptionsPaginateTypeDef

def get_value() -> DescribeAwsNetworkPerformanceMetricSubscriptionsRequestDescribeAwsNetworkPerformanceMetricSubscriptionsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeAwsNetworkPerformanceMetricSubscriptionsRequestDescribeAwsNetworkPerformanceMetricSubscriptionsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeAwsNetworkPerformanceMetricSubscriptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAwsNetworkPerformanceMetricSubscriptionsRequestRequestTypeDef

def get_value() -> DescribeAwsNetworkPerformanceMetricSubscriptionsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class DescribeAwsNetworkPerformanceMetricSubscriptionsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeBundleTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeBundleTasksRequestRequestTypeDef

def get_value() -> DescribeBundleTasksRequestRequestTypeDef:
    return {
        "BundleIds": ...,
    }
Definition
class DescribeBundleTasksRequestRequestTypeDef(TypedDict):
    BundleIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeCapacityReservationFleetsRequestDescribeCapacityReservationFleetsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCapacityReservationFleetsRequestDescribeCapacityReservationFleetsPaginateTypeDef

def get_value() -> DescribeCapacityReservationFleetsRequestDescribeCapacityReservationFleetsPaginateTypeDef:
    return {
        "CapacityReservationFleetIds": ...,
    }
Definition
class DescribeCapacityReservationFleetsRequestDescribeCapacityReservationFleetsPaginateTypeDef(TypedDict):
    CapacityReservationFleetIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeCapacityReservationFleetsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCapacityReservationFleetsRequestRequestTypeDef

def get_value() -> DescribeCapacityReservationFleetsRequestRequestTypeDef:
    return {
        "CapacityReservationFleetIds": ...,
    }
Definition
class DescribeCapacityReservationFleetsRequestRequestTypeDef(TypedDict):
    CapacityReservationFleetIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeCapacityReservationsRequestDescribeCapacityReservationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCapacityReservationsRequestDescribeCapacityReservationsPaginateTypeDef

def get_value() -> DescribeCapacityReservationsRequestDescribeCapacityReservationsPaginateTypeDef:
    return {
        "CapacityReservationIds": ...,
    }
Definition
class DescribeCapacityReservationsRequestDescribeCapacityReservationsPaginateTypeDef(TypedDict):
    CapacityReservationIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeCapacityReservationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCapacityReservationsRequestRequestTypeDef

def get_value() -> DescribeCapacityReservationsRequestRequestTypeDef:
    return {
        "CapacityReservationIds": ...,
    }
Definition
class DescribeCapacityReservationsRequestRequestTypeDef(TypedDict):
    CapacityReservationIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeCarrierGatewaysRequestDescribeCarrierGatewaysPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCarrierGatewaysRequestDescribeCarrierGatewaysPaginateTypeDef

def get_value() -> DescribeCarrierGatewaysRequestDescribeCarrierGatewaysPaginateTypeDef:
    return {
        "CarrierGatewayIds": ...,
    }
Definition
class DescribeCarrierGatewaysRequestDescribeCarrierGatewaysPaginateTypeDef(TypedDict):
    CarrierGatewayIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeCarrierGatewaysRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCarrierGatewaysRequestRequestTypeDef

def get_value() -> DescribeCarrierGatewaysRequestRequestTypeDef:
    return {
        "CarrierGatewayIds": ...,
    }
Definition
class DescribeCarrierGatewaysRequestRequestTypeDef(TypedDict):
    CarrierGatewayIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeClassicLinkInstancesRequestDescribeClassicLinkInstancesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClassicLinkInstancesRequestDescribeClassicLinkInstancesPaginateTypeDef

def get_value() -> DescribeClassicLinkInstancesRequestDescribeClassicLinkInstancesPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeClassicLinkInstancesRequestDescribeClassicLinkInstancesPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    InstanceIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeClassicLinkInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClassicLinkInstancesRequestRequestTypeDef

def get_value() -> DescribeClassicLinkInstancesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeClassicLinkInstancesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    InstanceIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeClientVpnAuthorizationRulesRequestDescribeClientVpnAuthorizationRulesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnAuthorizationRulesRequestDescribeClientVpnAuthorizationRulesPaginateTypeDef

def get_value() -> DescribeClientVpnAuthorizationRulesRequestDescribeClientVpnAuthorizationRulesPaginateTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class DescribeClientVpnAuthorizationRulesRequestDescribeClientVpnAuthorizationRulesPaginateTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeClientVpnAuthorizationRulesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnAuthorizationRulesRequestRequestTypeDef

def get_value() -> DescribeClientVpnAuthorizationRulesRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class DescribeClientVpnAuthorizationRulesRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeClientVpnConnectionsRequestDescribeClientVpnConnectionsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnConnectionsRequestDescribeClientVpnConnectionsPaginateTypeDef

def get_value() -> DescribeClientVpnConnectionsRequestDescribeClientVpnConnectionsPaginateTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class DescribeClientVpnConnectionsRequestDescribeClientVpnConnectionsPaginateTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeClientVpnConnectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnConnectionsRequestRequestTypeDef

def get_value() -> DescribeClientVpnConnectionsRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class DescribeClientVpnConnectionsRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeClientVpnEndpointsRequestDescribeClientVpnEndpointsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnEndpointsRequestDescribeClientVpnEndpointsPaginateTypeDef

def get_value() -> DescribeClientVpnEndpointsRequestDescribeClientVpnEndpointsPaginateTypeDef:
    return {
        "ClientVpnEndpointIds": ...,
    }
Definition
class DescribeClientVpnEndpointsRequestDescribeClientVpnEndpointsPaginateTypeDef(TypedDict):
    ClientVpnEndpointIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeClientVpnEndpointsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnEndpointsRequestRequestTypeDef

def get_value() -> DescribeClientVpnEndpointsRequestRequestTypeDef:
    return {
        "ClientVpnEndpointIds": ...,
    }
Definition
class DescribeClientVpnEndpointsRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeClientVpnRoutesRequestDescribeClientVpnRoutesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnRoutesRequestDescribeClientVpnRoutesPaginateTypeDef

def get_value() -> DescribeClientVpnRoutesRequestDescribeClientVpnRoutesPaginateTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class DescribeClientVpnRoutesRequestDescribeClientVpnRoutesPaginateTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeClientVpnRoutesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnRoutesRequestRequestTypeDef

def get_value() -> DescribeClientVpnRoutesRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class DescribeClientVpnRoutesRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeClientVpnTargetNetworksRequestDescribeClientVpnTargetNetworksPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnTargetNetworksRequestDescribeClientVpnTargetNetworksPaginateTypeDef

def get_value() -> DescribeClientVpnTargetNetworksRequestDescribeClientVpnTargetNetworksPaginateTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class DescribeClientVpnTargetNetworksRequestDescribeClientVpnTargetNetworksPaginateTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    AssociationIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeClientVpnTargetNetworksRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnTargetNetworksRequestRequestTypeDef

def get_value() -> DescribeClientVpnTargetNetworksRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class DescribeClientVpnTargetNetworksRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    AssociationIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeCoipPoolsRequestDescribeCoipPoolsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCoipPoolsRequestDescribeCoipPoolsPaginateTypeDef

def get_value() -> DescribeCoipPoolsRequestDescribeCoipPoolsPaginateTypeDef:
    return {
        "PoolIds": ...,
    }
Definition
class DescribeCoipPoolsRequestDescribeCoipPoolsPaginateTypeDef(TypedDict):
    PoolIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeCoipPoolsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCoipPoolsRequestRequestTypeDef

def get_value() -> DescribeCoipPoolsRequestRequestTypeDef:
    return {
        "PoolIds": ...,
    }
Definition
class DescribeCoipPoolsRequestRequestTypeDef(TypedDict):
    PoolIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeCustomerGatewaysRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCustomerGatewaysRequestRequestTypeDef

def get_value() -> DescribeCustomerGatewaysRequestRequestTypeDef:
    return {
        "CustomerGatewayIds": ...,
    }
Definition
class DescribeCustomerGatewaysRequestRequestTypeDef(TypedDict):
    CustomerGatewayIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeDhcpOptionsRequestDescribeDhcpOptionsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeDhcpOptionsRequestDescribeDhcpOptionsPaginateTypeDef

def get_value() -> DescribeDhcpOptionsRequestDescribeDhcpOptionsPaginateTypeDef:
    return {
        "DhcpOptionsIds": ...,
    }
Definition
class DescribeDhcpOptionsRequestDescribeDhcpOptionsPaginateTypeDef(TypedDict):
    DhcpOptionsIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeDhcpOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeDhcpOptionsRequestRequestTypeDef

def get_value() -> DescribeDhcpOptionsRequestRequestTypeDef:
    return {
        "DhcpOptionsIds": ...,
    }
Definition
class DescribeDhcpOptionsRequestRequestTypeDef(TypedDict):
    DhcpOptionsIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeEgressOnlyInternetGatewaysRequestDescribeEgressOnlyInternetGatewaysPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeEgressOnlyInternetGatewaysRequestDescribeEgressOnlyInternetGatewaysPaginateTypeDef

def get_value() -> DescribeEgressOnlyInternetGatewaysRequestDescribeEgressOnlyInternetGatewaysPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeEgressOnlyInternetGatewaysRequestDescribeEgressOnlyInternetGatewaysPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    EgressOnlyInternetGatewayIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeEgressOnlyInternetGatewaysRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeEgressOnlyInternetGatewaysRequestRequestTypeDef

def get_value() -> DescribeEgressOnlyInternetGatewaysRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeEgressOnlyInternetGatewaysRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    EgressOnlyInternetGatewayIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeElasticGpusRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeElasticGpusRequestRequestTypeDef

def get_value() -> DescribeElasticGpusRequestRequestTypeDef:
    return {
        "ElasticGpuIds": ...,
    }
Definition
class DescribeElasticGpusRequestRequestTypeDef(TypedDict):
    ElasticGpuIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeExportImageTasksRequestDescribeExportImageTasksPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeExportImageTasksRequestDescribeExportImageTasksPaginateTypeDef

def get_value() -> DescribeExportImageTasksRequestDescribeExportImageTasksPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeExportImageTasksRequestDescribeExportImageTasksPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ExportImageTaskIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeExportImageTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeExportImageTasksRequestRequestTypeDef

def get_value() -> DescribeExportImageTasksRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeExportImageTasksRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ExportImageTaskIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeExportTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeExportTasksRequestRequestTypeDef

def get_value() -> DescribeExportTasksRequestRequestTypeDef:
    return {
        "ExportTaskIds": ...,
    }
Definition
class DescribeExportTasksRequestRequestTypeDef(TypedDict):
    ExportTaskIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeFastLaunchImagesRequestDescribeFastLaunchImagesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFastLaunchImagesRequestDescribeFastLaunchImagesPaginateTypeDef

def get_value() -> DescribeFastLaunchImagesRequestDescribeFastLaunchImagesPaginateTypeDef:
    return {
        "ImageIds": ...,
    }
Definition
class DescribeFastLaunchImagesRequestDescribeFastLaunchImagesPaginateTypeDef(TypedDict):
    ImageIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeFastLaunchImagesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFastLaunchImagesRequestRequestTypeDef

def get_value() -> DescribeFastLaunchImagesRequestRequestTypeDef:
    return {
        "ImageIds": ...,
    }
Definition
class DescribeFastLaunchImagesRequestRequestTypeDef(TypedDict):
    ImageIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeFastSnapshotRestoresRequestDescribeFastSnapshotRestoresPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFastSnapshotRestoresRequestDescribeFastSnapshotRestoresPaginateTypeDef

def get_value() -> DescribeFastSnapshotRestoresRequestDescribeFastSnapshotRestoresPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeFastSnapshotRestoresRequestDescribeFastSnapshotRestoresPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeFastSnapshotRestoresRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFastSnapshotRestoresRequestRequestTypeDef

def get_value() -> DescribeFastSnapshotRestoresRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeFastSnapshotRestoresRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeFleetInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFleetInstancesRequestRequestTypeDef

def get_value() -> DescribeFleetInstancesRequestRequestTypeDef:
    return {
        "FleetId": ...,
    }
Definition
class DescribeFleetInstancesRequestRequestTypeDef(TypedDict):
    FleetId: str,
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeFleetsRequestDescribeFleetsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFleetsRequestDescribeFleetsPaginateTypeDef

def get_value() -> DescribeFleetsRequestDescribeFleetsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeFleetsRequestDescribeFleetsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    FleetIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeFleetsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFleetsRequestRequestTypeDef

def get_value() -> DescribeFleetsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeFleetsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    FleetIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeFlowLogsRequestDescribeFlowLogsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFlowLogsRequestDescribeFlowLogsPaginateTypeDef

def get_value() -> DescribeFlowLogsRequestDescribeFlowLogsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeFlowLogsRequestDescribeFlowLogsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    FlowLogIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeFlowLogsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFlowLogsRequestRequestTypeDef

def get_value() -> DescribeFlowLogsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeFlowLogsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    FlowLogIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeFpgaImagesRequestDescribeFpgaImagesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFpgaImagesRequestDescribeFpgaImagesPaginateTypeDef

def get_value() -> DescribeFpgaImagesRequestDescribeFpgaImagesPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeFpgaImagesRequestDescribeFpgaImagesPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    FpgaImageIds: NotRequired[Sequence[str]],
    Owners: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeFpgaImagesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFpgaImagesRequestRequestTypeDef

def get_value() -> DescribeFpgaImagesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeFpgaImagesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    FpgaImageIds: NotRequired[Sequence[str]],
    Owners: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeHostReservationOfferingsRequestDescribeHostReservationOfferingsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeHostReservationOfferingsRequestDescribeHostReservationOfferingsPaginateTypeDef

def get_value() -> DescribeHostReservationOfferingsRequestDescribeHostReservationOfferingsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeHostReservationOfferingsRequestDescribeHostReservationOfferingsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxDuration: NotRequired[int],
    MinDuration: NotRequired[int],
    OfferingId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeHostReservationOfferingsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeHostReservationOfferingsRequestRequestTypeDef

def get_value() -> DescribeHostReservationOfferingsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeHostReservationOfferingsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxDuration: NotRequired[int],
    MaxResults: NotRequired[int],
    MinDuration: NotRequired[int],
    NextToken: NotRequired[str],
    OfferingId: NotRequired[str],
  1. See FilterTypeDef

DescribeHostReservationsRequestDescribeHostReservationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeHostReservationsRequestDescribeHostReservationsPaginateTypeDef

def get_value() -> DescribeHostReservationsRequestDescribeHostReservationsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeHostReservationsRequestDescribeHostReservationsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    HostReservationIdSet: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeHostReservationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeHostReservationsRequestRequestTypeDef

def get_value() -> DescribeHostReservationsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeHostReservationsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    HostReservationIdSet: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeHostsRequestDescribeHostsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeHostsRequestDescribeHostsPaginateTypeDef

def get_value() -> DescribeHostsRequestDescribeHostsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeHostsRequestDescribeHostsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    HostIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeHostsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeHostsRequestRequestTypeDef

def get_value() -> DescribeHostsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeHostsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    HostIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeIamInstanceProfileAssociationsRequestDescribeIamInstanceProfileAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIamInstanceProfileAssociationsRequestDescribeIamInstanceProfileAssociationsPaginateTypeDef

def get_value() -> DescribeIamInstanceProfileAssociationsRequestDescribeIamInstanceProfileAssociationsPaginateTypeDef:
    return {
        "AssociationIds": ...,
    }
Definition
class DescribeIamInstanceProfileAssociationsRequestDescribeIamInstanceProfileAssociationsPaginateTypeDef(TypedDict):
    AssociationIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeIamInstanceProfileAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIamInstanceProfileAssociationsRequestRequestTypeDef

def get_value() -> DescribeIamInstanceProfileAssociationsRequestRequestTypeDef:
    return {
        "AssociationIds": ...,
    }
Definition
class DescribeIamInstanceProfileAssociationsRequestRequestTypeDef(TypedDict):
    AssociationIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeImagesRequestDescribeImagesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImagesRequestDescribeImagesPaginateTypeDef

def get_value() -> DescribeImagesRequestDescribeImagesPaginateTypeDef:
    return {
        "ExecutableUsers": ...,
    }
Definition
class DescribeImagesRequestDescribeImagesPaginateTypeDef(TypedDict):
    ExecutableUsers: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ImageIds: NotRequired[Sequence[str]],
    Owners: NotRequired[Sequence[str]],
    IncludeDeprecated: NotRequired[bool],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeImagesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImagesRequestRequestTypeDef

def get_value() -> DescribeImagesRequestRequestTypeDef:
    return {
        "ExecutableUsers": ...,
    }
Definition
class DescribeImagesRequestRequestTypeDef(TypedDict):
    ExecutableUsers: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ImageIds: NotRequired[Sequence[str]],
    Owners: NotRequired[Sequence[str]],
    IncludeDeprecated: NotRequired[bool],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeImportImageTasksRequestDescribeImportImageTasksPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImportImageTasksRequestDescribeImportImageTasksPaginateTypeDef

def get_value() -> DescribeImportImageTasksRequestDescribeImportImageTasksPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeImportImageTasksRequestDescribeImportImageTasksPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ImportTaskIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeImportImageTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImportImageTasksRequestRequestTypeDef

def get_value() -> DescribeImportImageTasksRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeImportImageTasksRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ImportTaskIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeImportSnapshotTasksRequestDescribeImportSnapshotTasksPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImportSnapshotTasksRequestDescribeImportSnapshotTasksPaginateTypeDef

def get_value() -> DescribeImportSnapshotTasksRequestDescribeImportSnapshotTasksPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeImportSnapshotTasksRequestDescribeImportSnapshotTasksPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ImportTaskIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeImportSnapshotTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImportSnapshotTasksRequestRequestTypeDef

def get_value() -> DescribeImportSnapshotTasksRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeImportSnapshotTasksRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ImportTaskIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeInstanceCreditSpecificationsRequestDescribeInstanceCreditSpecificationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceCreditSpecificationsRequestDescribeInstanceCreditSpecificationsPaginateTypeDef

def get_value() -> DescribeInstanceCreditSpecificationsRequestDescribeInstanceCreditSpecificationsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeInstanceCreditSpecificationsRequestDescribeInstanceCreditSpecificationsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeInstanceCreditSpecificationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceCreditSpecificationsRequestRequestTypeDef

def get_value() -> DescribeInstanceCreditSpecificationsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeInstanceCreditSpecificationsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeInstanceEventWindowsRequestDescribeInstanceEventWindowsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceEventWindowsRequestDescribeInstanceEventWindowsPaginateTypeDef

def get_value() -> DescribeInstanceEventWindowsRequestDescribeInstanceEventWindowsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeInstanceEventWindowsRequestDescribeInstanceEventWindowsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    InstanceEventWindowIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeInstanceEventWindowsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceEventWindowsRequestRequestTypeDef

def get_value() -> DescribeInstanceEventWindowsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeInstanceEventWindowsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    InstanceEventWindowIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeInstanceStatusRequestDescribeInstanceStatusPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceStatusRequestDescribeInstanceStatusPaginateTypeDef

def get_value() -> DescribeInstanceStatusRequestDescribeInstanceStatusPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstanceStatusRequestDescribeInstanceStatusPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    IncludeAllInstances: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeInstanceStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceStatusRequestRequestTypeDef

def get_value() -> DescribeInstanceStatusRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstanceStatusRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
    IncludeAllInstances: NotRequired[bool],
  1. See FilterTypeDef

DescribeInstanceTypeOfferingsRequestDescribeInstanceTypeOfferingsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceTypeOfferingsRequestDescribeInstanceTypeOfferingsPaginateTypeDef

def get_value() -> DescribeInstanceTypeOfferingsRequestDescribeInstanceTypeOfferingsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeInstanceTypeOfferingsRequestDescribeInstanceTypeOfferingsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    LocationType: NotRequired[LocationTypeType],  # (1)
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See LocationTypeType
  2. See FilterTypeDef
  3. See PaginatorConfigTypeDef

DescribeInstanceTypeOfferingsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceTypeOfferingsRequestRequestTypeDef

def get_value() -> DescribeInstanceTypeOfferingsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeInstanceTypeOfferingsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    LocationType: NotRequired[LocationTypeType],  # (1)
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See LocationTypeType
  2. See FilterTypeDef

DescribeInstanceTypesRequestDescribeInstanceTypesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceTypesRequestDescribeInstanceTypesPaginateTypeDef

def get_value() -> DescribeInstanceTypesRequestDescribeInstanceTypesPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeInstanceTypesRequestDescribeInstanceTypesPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    InstanceTypes: NotRequired[Sequence[InstanceTypeType]],  # (1)
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See InstanceTypeType
  2. See FilterTypeDef
  3. See PaginatorConfigTypeDef

DescribeInstanceTypesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceTypesRequestRequestTypeDef

def get_value() -> DescribeInstanceTypesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeInstanceTypesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    InstanceTypes: NotRequired[Sequence[InstanceTypeType]],  # (1)
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See InstanceTypeType
  2. See FilterTypeDef

DescribeInstancesRequestDescribeInstancesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstancesRequestDescribeInstancesPaginateTypeDef

def get_value() -> DescribeInstancesRequestDescribeInstancesPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstancesRequestDescribeInstancesPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstancesRequestRequestTypeDef

def get_value() -> DescribeInstancesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstancesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeInternetGatewaysRequestDescribeInternetGatewaysPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInternetGatewaysRequestDescribeInternetGatewaysPaginateTypeDef

def get_value() -> DescribeInternetGatewaysRequestDescribeInternetGatewaysPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInternetGatewaysRequestDescribeInternetGatewaysPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    InternetGatewayIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeInternetGatewaysRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInternetGatewaysRequestRequestTypeDef

def get_value() -> DescribeInternetGatewaysRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInternetGatewaysRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    InternetGatewayIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeIpamPoolsRequestDescribeIpamPoolsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamPoolsRequestDescribeIpamPoolsPaginateTypeDef

def get_value() -> DescribeIpamPoolsRequestDescribeIpamPoolsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamPoolsRequestDescribeIpamPoolsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    IpamPoolIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeIpamPoolsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamPoolsRequestRequestTypeDef

def get_value() -> DescribeIpamPoolsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamPoolsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    IpamPoolIds: NotRequired[Sequence[str]],
  1. See FilterTypeDef

DescribeIpamResourceDiscoveriesRequestDescribeIpamResourceDiscoveriesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamResourceDiscoveriesRequestDescribeIpamResourceDiscoveriesPaginateTypeDef

def get_value() -> DescribeIpamResourceDiscoveriesRequestDescribeIpamResourceDiscoveriesPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamResourceDiscoveriesRequestDescribeIpamResourceDiscoveriesPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    IpamResourceDiscoveryIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeIpamResourceDiscoveriesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamResourceDiscoveriesRequestRequestTypeDef

def get_value() -> DescribeIpamResourceDiscoveriesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamResourceDiscoveriesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    IpamResourceDiscoveryIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeIpamResourceDiscoveryAssociationsRequestDescribeIpamResourceDiscoveryAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamResourceDiscoveryAssociationsRequestDescribeIpamResourceDiscoveryAssociationsPaginateTypeDef

def get_value() -> DescribeIpamResourceDiscoveryAssociationsRequestDescribeIpamResourceDiscoveryAssociationsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamResourceDiscoveryAssociationsRequestDescribeIpamResourceDiscoveryAssociationsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    IpamResourceDiscoveryAssociationIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeIpamResourceDiscoveryAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamResourceDiscoveryAssociationsRequestRequestTypeDef

def get_value() -> DescribeIpamResourceDiscoveryAssociationsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamResourceDiscoveryAssociationsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    IpamResourceDiscoveryAssociationIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeIpamScopesRequestDescribeIpamScopesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamScopesRequestDescribeIpamScopesPaginateTypeDef

def get_value() -> DescribeIpamScopesRequestDescribeIpamScopesPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamScopesRequestDescribeIpamScopesPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    IpamScopeIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeIpamScopesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamScopesRequestRequestTypeDef

def get_value() -> DescribeIpamScopesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamScopesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    IpamScopeIds: NotRequired[Sequence[str]],
  1. See FilterTypeDef

DescribeIpamsRequestDescribeIpamsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamsRequestDescribeIpamsPaginateTypeDef

def get_value() -> DescribeIpamsRequestDescribeIpamsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamsRequestDescribeIpamsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    IpamIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeIpamsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamsRequestRequestTypeDef

def get_value() -> DescribeIpamsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeIpamsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    IpamIds: NotRequired[Sequence[str]],
  1. See FilterTypeDef

DescribeIpv6PoolsRequestDescribeIpv6PoolsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpv6PoolsRequestDescribeIpv6PoolsPaginateTypeDef

def get_value() -> DescribeIpv6PoolsRequestDescribeIpv6PoolsPaginateTypeDef:
    return {
        "PoolIds": ...,
    }
Definition
class DescribeIpv6PoolsRequestDescribeIpv6PoolsPaginateTypeDef(TypedDict):
    PoolIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeIpv6PoolsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpv6PoolsRequestRequestTypeDef

def get_value() -> DescribeIpv6PoolsRequestRequestTypeDef:
    return {
        "PoolIds": ...,
    }
Definition
class DescribeIpv6PoolsRequestRequestTypeDef(TypedDict):
    PoolIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeKeyPairsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeKeyPairsRequestRequestTypeDef

def get_value() -> DescribeKeyPairsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeKeyPairsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    KeyNames: NotRequired[Sequence[str]],
    KeyPairIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    IncludePublicKey: NotRequired[bool],
  1. See FilterTypeDef

DescribeLaunchTemplateVersionsRequestDescribeLaunchTemplateVersionsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLaunchTemplateVersionsRequestDescribeLaunchTemplateVersionsPaginateTypeDef

def get_value() -> DescribeLaunchTemplateVersionsRequestDescribeLaunchTemplateVersionsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeLaunchTemplateVersionsRequestDescribeLaunchTemplateVersionsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    Versions: NotRequired[Sequence[str]],
    MinVersion: NotRequired[str],
    MaxVersion: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ResolveAlias: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeLaunchTemplateVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLaunchTemplateVersionsRequestRequestTypeDef

def get_value() -> DescribeLaunchTemplateVersionsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeLaunchTemplateVersionsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    Versions: NotRequired[Sequence[str]],
    MinVersion: NotRequired[str],
    MaxVersion: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ResolveAlias: NotRequired[bool],
  1. See FilterTypeDef

DescribeLaunchTemplatesRequestDescribeLaunchTemplatesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLaunchTemplatesRequestDescribeLaunchTemplatesPaginateTypeDef

def get_value() -> DescribeLaunchTemplatesRequestDescribeLaunchTemplatesPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeLaunchTemplatesRequestDescribeLaunchTemplatesPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    LaunchTemplateIds: NotRequired[Sequence[str]],
    LaunchTemplateNames: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeLaunchTemplatesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLaunchTemplatesRequestRequestTypeDef

def get_value() -> DescribeLaunchTemplatesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeLaunchTemplatesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    LaunchTemplateIds: NotRequired[Sequence[str]],
    LaunchTemplateNames: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginateTypeDef

def get_value() -> DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginateTypeDef:
    return {
        "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds": ...,
    }
Definition
class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginateTypeDef(TypedDict):
    LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestRequestTypeDef

def get_value() -> DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds": ...,
    }
Definition
class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeLocalGatewayRouteTableVpcAssociationsRequestDescribeLocalGatewayRouteTableVpcAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayRouteTableVpcAssociationsRequestDescribeLocalGatewayRouteTableVpcAssociationsPaginateTypeDef

def get_value() -> DescribeLocalGatewayRouteTableVpcAssociationsRequestDescribeLocalGatewayRouteTableVpcAssociationsPaginateTypeDef:
    return {
        "LocalGatewayRouteTableVpcAssociationIds": ...,
    }
Definition
class DescribeLocalGatewayRouteTableVpcAssociationsRequestDescribeLocalGatewayRouteTableVpcAssociationsPaginateTypeDef(TypedDict):
    LocalGatewayRouteTableVpcAssociationIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeLocalGatewayRouteTableVpcAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayRouteTableVpcAssociationsRequestRequestTypeDef

def get_value() -> DescribeLocalGatewayRouteTableVpcAssociationsRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableVpcAssociationIds": ...,
    }
Definition
class DescribeLocalGatewayRouteTableVpcAssociationsRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableVpcAssociationIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeLocalGatewayRouteTablesRequestDescribeLocalGatewayRouteTablesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayRouteTablesRequestDescribeLocalGatewayRouteTablesPaginateTypeDef

def get_value() -> DescribeLocalGatewayRouteTablesRequestDescribeLocalGatewayRouteTablesPaginateTypeDef:
    return {
        "LocalGatewayRouteTableIds": ...,
    }
Definition
class DescribeLocalGatewayRouteTablesRequestDescribeLocalGatewayRouteTablesPaginateTypeDef(TypedDict):
    LocalGatewayRouteTableIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeLocalGatewayRouteTablesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayRouteTablesRequestRequestTypeDef

def get_value() -> DescribeLocalGatewayRouteTablesRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableIds": ...,
    }
Definition
class DescribeLocalGatewayRouteTablesRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeLocalGatewayVirtualInterfaceGroupsRequestDescribeLocalGatewayVirtualInterfaceGroupsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayVirtualInterfaceGroupsRequestDescribeLocalGatewayVirtualInterfaceGroupsPaginateTypeDef

def get_value() -> DescribeLocalGatewayVirtualInterfaceGroupsRequestDescribeLocalGatewayVirtualInterfaceGroupsPaginateTypeDef:
    return {
        "LocalGatewayVirtualInterfaceGroupIds": ...,
    }
Definition
class DescribeLocalGatewayVirtualInterfaceGroupsRequestDescribeLocalGatewayVirtualInterfaceGroupsPaginateTypeDef(TypedDict):
    LocalGatewayVirtualInterfaceGroupIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeLocalGatewayVirtualInterfaceGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayVirtualInterfaceGroupsRequestRequestTypeDef

def get_value() -> DescribeLocalGatewayVirtualInterfaceGroupsRequestRequestTypeDef:
    return {
        "LocalGatewayVirtualInterfaceGroupIds": ...,
    }
Definition
class DescribeLocalGatewayVirtualInterfaceGroupsRequestRequestTypeDef(TypedDict):
    LocalGatewayVirtualInterfaceGroupIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeLocalGatewayVirtualInterfacesRequestDescribeLocalGatewayVirtualInterfacesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayVirtualInterfacesRequestDescribeLocalGatewayVirtualInterfacesPaginateTypeDef

def get_value() -> DescribeLocalGatewayVirtualInterfacesRequestDescribeLocalGatewayVirtualInterfacesPaginateTypeDef:
    return {
        "LocalGatewayVirtualInterfaceIds": ...,
    }
Definition
class DescribeLocalGatewayVirtualInterfacesRequestDescribeLocalGatewayVirtualInterfacesPaginateTypeDef(TypedDict):
    LocalGatewayVirtualInterfaceIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeLocalGatewayVirtualInterfacesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayVirtualInterfacesRequestRequestTypeDef

def get_value() -> DescribeLocalGatewayVirtualInterfacesRequestRequestTypeDef:
    return {
        "LocalGatewayVirtualInterfaceIds": ...,
    }
Definition
class DescribeLocalGatewayVirtualInterfacesRequestRequestTypeDef(TypedDict):
    LocalGatewayVirtualInterfaceIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeLocalGatewaysRequestDescribeLocalGatewaysPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewaysRequestDescribeLocalGatewaysPaginateTypeDef

def get_value() -> DescribeLocalGatewaysRequestDescribeLocalGatewaysPaginateTypeDef:
    return {
        "LocalGatewayIds": ...,
    }
Definition
class DescribeLocalGatewaysRequestDescribeLocalGatewaysPaginateTypeDef(TypedDict):
    LocalGatewayIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeLocalGatewaysRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewaysRequestRequestTypeDef

def get_value() -> DescribeLocalGatewaysRequestRequestTypeDef:
    return {
        "LocalGatewayIds": ...,
    }
Definition
class DescribeLocalGatewaysRequestRequestTypeDef(TypedDict):
    LocalGatewayIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeManagedPrefixListsRequestDescribeManagedPrefixListsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeManagedPrefixListsRequestDescribeManagedPrefixListsPaginateTypeDef

def get_value() -> DescribeManagedPrefixListsRequestDescribeManagedPrefixListsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeManagedPrefixListsRequestDescribeManagedPrefixListsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PrefixListIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeManagedPrefixListsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeManagedPrefixListsRequestRequestTypeDef

def get_value() -> DescribeManagedPrefixListsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeManagedPrefixListsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    PrefixListIds: NotRequired[Sequence[str]],
  1. See FilterTypeDef

DescribeMovingAddressesRequestDescribeMovingAddressesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeMovingAddressesRequestDescribeMovingAddressesPaginateTypeDef

def get_value() -> DescribeMovingAddressesRequestDescribeMovingAddressesPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeMovingAddressesRequestDescribeMovingAddressesPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PublicIps: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeMovingAddressesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeMovingAddressesRequestRequestTypeDef

def get_value() -> DescribeMovingAddressesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeMovingAddressesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    PublicIps: NotRequired[Sequence[str]],
  1. See FilterTypeDef

DescribeNatGatewaysRequestDescribeNatGatewaysPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNatGatewaysRequestDescribeNatGatewaysPaginateTypeDef

def get_value() -> DescribeNatGatewaysRequestDescribeNatGatewaysPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeNatGatewaysRequestDescribeNatGatewaysPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NatGatewayIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeNatGatewaysRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNatGatewaysRequestRequestTypeDef

def get_value() -> DescribeNatGatewaysRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeNatGatewaysRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NatGatewayIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeNetworkAclsRequestDescribeNetworkAclsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkAclsRequestDescribeNetworkAclsPaginateTypeDef

def get_value() -> DescribeNetworkAclsRequestDescribeNetworkAclsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeNetworkAclsRequestDescribeNetworkAclsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    NetworkAclIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeNetworkAclsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkAclsRequestRequestTypeDef

def get_value() -> DescribeNetworkAclsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeNetworkAclsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    NetworkAclIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeNetworkInsightsAccessScopeAnalysesRequestDescribeNetworkInsightsAccessScopeAnalysesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsAccessScopeAnalysesRequestDescribeNetworkInsightsAccessScopeAnalysesPaginateTypeDef

def get_value() -> DescribeNetworkInsightsAccessScopeAnalysesRequestDescribeNetworkInsightsAccessScopeAnalysesPaginateTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalysisIds": ...,
    }
Definition
class DescribeNetworkInsightsAccessScopeAnalysesRequestDescribeNetworkInsightsAccessScopeAnalysesPaginateTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalysisIds: NotRequired[Sequence[str]],
    NetworkInsightsAccessScopeId: NotRequired[str],
    AnalysisStartTimeBegin: NotRequired[Union[datetime, str]],
    AnalysisStartTimeEnd: NotRequired[Union[datetime, str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeNetworkInsightsAccessScopeAnalysesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsAccessScopeAnalysesRequestRequestTypeDef

def get_value() -> DescribeNetworkInsightsAccessScopeAnalysesRequestRequestTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalysisIds": ...,
    }
Definition
class DescribeNetworkInsightsAccessScopeAnalysesRequestRequestTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalysisIds: NotRequired[Sequence[str]],
    NetworkInsightsAccessScopeId: NotRequired[str],
    AnalysisStartTimeBegin: NotRequired[Union[datetime, str]],
    AnalysisStartTimeEnd: NotRequired[Union[datetime, str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeNetworkInsightsAccessScopesRequestDescribeNetworkInsightsAccessScopesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsAccessScopesRequestDescribeNetworkInsightsAccessScopesPaginateTypeDef

def get_value() -> DescribeNetworkInsightsAccessScopesRequestDescribeNetworkInsightsAccessScopesPaginateTypeDef:
    return {
        "NetworkInsightsAccessScopeIds": ...,
    }
Definition
class DescribeNetworkInsightsAccessScopesRequestDescribeNetworkInsightsAccessScopesPaginateTypeDef(TypedDict):
    NetworkInsightsAccessScopeIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeNetworkInsightsAccessScopesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsAccessScopesRequestRequestTypeDef

def get_value() -> DescribeNetworkInsightsAccessScopesRequestRequestTypeDef:
    return {
        "NetworkInsightsAccessScopeIds": ...,
    }
Definition
class DescribeNetworkInsightsAccessScopesRequestRequestTypeDef(TypedDict):
    NetworkInsightsAccessScopeIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeNetworkInsightsAnalysesRequestDescribeNetworkInsightsAnalysesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsAnalysesRequestDescribeNetworkInsightsAnalysesPaginateTypeDef

def get_value() -> DescribeNetworkInsightsAnalysesRequestDescribeNetworkInsightsAnalysesPaginateTypeDef:
    return {
        "NetworkInsightsAnalysisIds": ...,
    }
Definition
class DescribeNetworkInsightsAnalysesRequestDescribeNetworkInsightsAnalysesPaginateTypeDef(TypedDict):
    NetworkInsightsAnalysisIds: NotRequired[Sequence[str]],
    NetworkInsightsPathId: NotRequired[str],
    AnalysisStartTime: NotRequired[Union[datetime, str]],
    AnalysisEndTime: NotRequired[Union[datetime, str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeNetworkInsightsAnalysesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsAnalysesRequestRequestTypeDef

def get_value() -> DescribeNetworkInsightsAnalysesRequestRequestTypeDef:
    return {
        "NetworkInsightsAnalysisIds": ...,
    }
Definition
class DescribeNetworkInsightsAnalysesRequestRequestTypeDef(TypedDict):
    NetworkInsightsAnalysisIds: NotRequired[Sequence[str]],
    NetworkInsightsPathId: NotRequired[str],
    AnalysisStartTime: NotRequired[Union[datetime, str]],
    AnalysisEndTime: NotRequired[Union[datetime, str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeNetworkInsightsPathsRequestDescribeNetworkInsightsPathsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsPathsRequestDescribeNetworkInsightsPathsPaginateTypeDef

def get_value() -> DescribeNetworkInsightsPathsRequestDescribeNetworkInsightsPathsPaginateTypeDef:
    return {
        "NetworkInsightsPathIds": ...,
    }
Definition
class DescribeNetworkInsightsPathsRequestDescribeNetworkInsightsPathsPaginateTypeDef(TypedDict):
    NetworkInsightsPathIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeNetworkInsightsPathsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsPathsRequestRequestTypeDef

def get_value() -> DescribeNetworkInsightsPathsRequestRequestTypeDef:
    return {
        "NetworkInsightsPathIds": ...,
    }
Definition
class DescribeNetworkInsightsPathsRequestRequestTypeDef(TypedDict):
    NetworkInsightsPathIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeNetworkInterfacePermissionsRequestDescribeNetworkInterfacePermissionsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfacePermissionsRequestDescribeNetworkInterfacePermissionsPaginateTypeDef

def get_value() -> DescribeNetworkInterfacePermissionsRequestDescribeNetworkInterfacePermissionsPaginateTypeDef:
    return {
        "NetworkInterfacePermissionIds": ...,
    }
Definition
class DescribeNetworkInterfacePermissionsRequestDescribeNetworkInterfacePermissionsPaginateTypeDef(TypedDict):
    NetworkInterfacePermissionIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeNetworkInterfacePermissionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfacePermissionsRequestRequestTypeDef

def get_value() -> DescribeNetworkInterfacePermissionsRequestRequestTypeDef:
    return {
        "NetworkInterfacePermissionIds": ...,
    }
Definition
class DescribeNetworkInterfacePermissionsRequestRequestTypeDef(TypedDict):
    NetworkInterfacePermissionIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeNetworkInterfacesRequestDescribeNetworkInterfacesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfacesRequestDescribeNetworkInterfacesPaginateTypeDef

def get_value() -> DescribeNetworkInterfacesRequestDescribeNetworkInterfacesPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeNetworkInterfacesRequestDescribeNetworkInterfacesPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    NetworkInterfaceIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeNetworkInterfacesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfacesRequestRequestTypeDef

def get_value() -> DescribeNetworkInterfacesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeNetworkInterfacesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    NetworkInterfaceIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribePlacementGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePlacementGroupsRequestRequestTypeDef

def get_value() -> DescribePlacementGroupsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribePlacementGroupsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    GroupNames: NotRequired[Sequence[str]],
    GroupIds: NotRequired[Sequence[str]],
  1. See FilterTypeDef

DescribePrefixListsRequestDescribePrefixListsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePrefixListsRequestDescribePrefixListsPaginateTypeDef

def get_value() -> DescribePrefixListsRequestDescribePrefixListsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribePrefixListsRequestDescribePrefixListsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PrefixListIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribePrefixListsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePrefixListsRequestRequestTypeDef

def get_value() -> DescribePrefixListsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribePrefixListsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    PrefixListIds: NotRequired[Sequence[str]],
  1. See FilterTypeDef

DescribePublicIpv4PoolsRequestDescribePublicIpv4PoolsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePublicIpv4PoolsRequestDescribePublicIpv4PoolsPaginateTypeDef

def get_value() -> DescribePublicIpv4PoolsRequestDescribePublicIpv4PoolsPaginateTypeDef:
    return {
        "PoolIds": ...,
    }
Definition
class DescribePublicIpv4PoolsRequestDescribePublicIpv4PoolsPaginateTypeDef(TypedDict):
    PoolIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribePublicIpv4PoolsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePublicIpv4PoolsRequestRequestTypeDef

def get_value() -> DescribePublicIpv4PoolsRequestRequestTypeDef:
    return {
        "PoolIds": ...,
    }
Definition
class DescribePublicIpv4PoolsRequestRequestTypeDef(TypedDict):
    PoolIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeRegionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeRegionsRequestRequestTypeDef

def get_value() -> DescribeRegionsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeRegionsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    RegionNames: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    AllRegions: NotRequired[bool],
  1. See FilterTypeDef

DescribeReplaceRootVolumeTasksRequestDescribeReplaceRootVolumeTasksPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReplaceRootVolumeTasksRequestDescribeReplaceRootVolumeTasksPaginateTypeDef

def get_value() -> DescribeReplaceRootVolumeTasksRequestDescribeReplaceRootVolumeTasksPaginateTypeDef:
    return {
        "ReplaceRootVolumeTaskIds": ...,
    }
Definition
class DescribeReplaceRootVolumeTasksRequestDescribeReplaceRootVolumeTasksPaginateTypeDef(TypedDict):
    ReplaceRootVolumeTaskIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeReplaceRootVolumeTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReplaceRootVolumeTasksRequestRequestTypeDef

def get_value() -> DescribeReplaceRootVolumeTasksRequestRequestTypeDef:
    return {
        "ReplaceRootVolumeTaskIds": ...,
    }
Definition
class DescribeReplaceRootVolumeTasksRequestRequestTypeDef(TypedDict):
    ReplaceRootVolumeTaskIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeReservedInstancesListingsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesListingsRequestRequestTypeDef

def get_value() -> DescribeReservedInstancesListingsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeReservedInstancesListingsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ReservedInstancesId: NotRequired[str],
    ReservedInstancesListingId: NotRequired[str],
  1. See FilterTypeDef

DescribeReservedInstancesModificationsRequestDescribeReservedInstancesModificationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesModificationsRequestDescribeReservedInstancesModificationsPaginateTypeDef

def get_value() -> DescribeReservedInstancesModificationsRequestDescribeReservedInstancesModificationsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeReservedInstancesModificationsRequestDescribeReservedInstancesModificationsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ReservedInstancesModificationIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeReservedInstancesModificationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesModificationsRequestRequestTypeDef

def get_value() -> DescribeReservedInstancesModificationsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeReservedInstancesModificationsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ReservedInstancesModificationIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeReservedInstancesOfferingsRequestDescribeReservedInstancesOfferingsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesOfferingsRequestDescribeReservedInstancesOfferingsPaginateTypeDef

def get_value() -> DescribeReservedInstancesOfferingsRequestDescribeReservedInstancesOfferingsPaginateTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class DescribeReservedInstancesOfferingsRequestDescribeReservedInstancesOfferingsPaginateTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    IncludeMarketplace: NotRequired[bool],
    InstanceType: NotRequired[InstanceTypeType],  # (2)
    MaxDuration: NotRequired[int],
    MaxInstanceCount: NotRequired[int],
    MinDuration: NotRequired[int],
    OfferingClass: NotRequired[OfferingClassTypeType],  # (3)
    ProductDescription: NotRequired[RIProductDescriptionType],  # (4)
    ReservedInstancesOfferingIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    InstanceTenancy: NotRequired[TenancyType],  # (5)
    OfferingType: NotRequired[OfferingTypeValuesType],  # (6)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (7)
  1. See FilterTypeDef
  2. See InstanceTypeType
  3. See OfferingClassTypeType
  4. See RIProductDescriptionType
  5. See TenancyType
  6. See OfferingTypeValuesType
  7. See PaginatorConfigTypeDef

DescribeReservedInstancesOfferingsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesOfferingsRequestRequestTypeDef

def get_value() -> DescribeReservedInstancesOfferingsRequestRequestTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class DescribeReservedInstancesOfferingsRequestRequestTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    IncludeMarketplace: NotRequired[bool],
    InstanceType: NotRequired[InstanceTypeType],  # (2)
    MaxDuration: NotRequired[int],
    MaxInstanceCount: NotRequired[int],
    MinDuration: NotRequired[int],
    OfferingClass: NotRequired[OfferingClassTypeType],  # (3)
    ProductDescription: NotRequired[RIProductDescriptionType],  # (4)
    ReservedInstancesOfferingIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    InstanceTenancy: NotRequired[TenancyType],  # (5)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    OfferingType: NotRequired[OfferingTypeValuesType],  # (6)
  1. See FilterTypeDef
  2. See InstanceTypeType
  3. See OfferingClassTypeType
  4. See RIProductDescriptionType
  5. See TenancyType
  6. See OfferingTypeValuesType

DescribeReservedInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesRequestRequestTypeDef

def get_value() -> DescribeReservedInstancesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeReservedInstancesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    OfferingClass: NotRequired[OfferingClassTypeType],  # (2)
    ReservedInstancesIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    OfferingType: NotRequired[OfferingTypeValuesType],  # (3)
  1. See FilterTypeDef
  2. See OfferingClassTypeType
  3. See OfferingTypeValuesType

DescribeRouteTablesRequestDescribeRouteTablesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeRouteTablesRequestDescribeRouteTablesPaginateTypeDef

def get_value() -> DescribeRouteTablesRequestDescribeRouteTablesPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeRouteTablesRequestDescribeRouteTablesPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    RouteTableIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeRouteTablesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeRouteTablesRequestRequestTypeDef

def get_value() -> DescribeRouteTablesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeRouteTablesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    RouteTableIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeSecurityGroupRulesRequestDescribeSecurityGroupRulesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSecurityGroupRulesRequestDescribeSecurityGroupRulesPaginateTypeDef

def get_value() -> DescribeSecurityGroupRulesRequestDescribeSecurityGroupRulesPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSecurityGroupRulesRequestDescribeSecurityGroupRulesPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    SecurityGroupRuleIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeSecurityGroupRulesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSecurityGroupRulesRequestRequestTypeDef

def get_value() -> DescribeSecurityGroupRulesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSecurityGroupRulesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    SecurityGroupRuleIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeSecurityGroupsRequestDescribeSecurityGroupsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSecurityGroupsRequestDescribeSecurityGroupsPaginateTypeDef

def get_value() -> DescribeSecurityGroupsRequestDescribeSecurityGroupsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSecurityGroupsRequestDescribeSecurityGroupsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    GroupIds: NotRequired[Sequence[str]],
    GroupNames: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeSecurityGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSecurityGroupsRequestRequestTypeDef

def get_value() -> DescribeSecurityGroupsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSecurityGroupsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    GroupIds: NotRequired[Sequence[str]],
    GroupNames: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeSnapshotTierStatusRequestDescribeSnapshotTierStatusPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotTierStatusRequestDescribeSnapshotTierStatusPaginateTypeDef

def get_value() -> DescribeSnapshotTierStatusRequestDescribeSnapshotTierStatusPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSnapshotTierStatusRequestDescribeSnapshotTierStatusPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeSnapshotTierStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotTierStatusRequestRequestTypeDef

def get_value() -> DescribeSnapshotTierStatusRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSnapshotTierStatusRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeSnapshotsRequestDescribeSnapshotsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotsRequestDescribeSnapshotsPaginateTypeDef

def get_value() -> DescribeSnapshotsRequestDescribeSnapshotsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSnapshotsRequestDescribeSnapshotsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    OwnerIds: NotRequired[Sequence[str]],
    RestorableByUserIds: NotRequired[Sequence[str]],
    SnapshotIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeSnapshotsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotsRequestRequestTypeDef

def get_value() -> DescribeSnapshotsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSnapshotsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    OwnerIds: NotRequired[Sequence[str]],
    RestorableByUserIds: NotRequired[Sequence[str]],
    SnapshotIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeSpotInstanceRequestsRequestDescribeSpotInstanceRequestsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotInstanceRequestsRequestDescribeSpotInstanceRequestsPaginateTypeDef

def get_value() -> DescribeSpotInstanceRequestsRequestDescribeSpotInstanceRequestsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSpotInstanceRequestsRequestDescribeSpotInstanceRequestsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    SpotInstanceRequestIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeSpotInstanceRequestsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotInstanceRequestsRequestRequestTypeDef

def get_value() -> DescribeSpotInstanceRequestsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSpotInstanceRequestsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    SpotInstanceRequestIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeSpotPriceHistoryRequestDescribeSpotPriceHistoryPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotPriceHistoryRequestDescribeSpotPriceHistoryPaginateTypeDef

def get_value() -> DescribeSpotPriceHistoryRequestDescribeSpotPriceHistoryPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSpotPriceHistoryRequestDescribeSpotPriceHistoryPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    AvailabilityZone: NotRequired[str],
    DryRun: NotRequired[bool],
    EndTime: NotRequired[Union[datetime, str]],
    InstanceTypes: NotRequired[Sequence[InstanceTypeType]],  # (2)
    ProductDescriptions: NotRequired[Sequence[str]],
    StartTime: NotRequired[Union[datetime, str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See FilterTypeDef
  2. See InstanceTypeType
  3. See PaginatorConfigTypeDef

DescribeSpotPriceHistoryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotPriceHistoryRequestRequestTypeDef

def get_value() -> DescribeSpotPriceHistoryRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSpotPriceHistoryRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    AvailabilityZone: NotRequired[str],
    DryRun: NotRequired[bool],
    EndTime: NotRequired[Union[datetime, str]],
    InstanceTypes: NotRequired[Sequence[InstanceTypeType]],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    ProductDescriptions: NotRequired[Sequence[str]],
    StartTime: NotRequired[Union[datetime, str]],
  1. See FilterTypeDef
  2. See InstanceTypeType

DescribeStoreImageTasksRequestDescribeStoreImageTasksPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeStoreImageTasksRequestDescribeStoreImageTasksPaginateTypeDef

def get_value() -> DescribeStoreImageTasksRequestDescribeStoreImageTasksPaginateTypeDef:
    return {
        "ImageIds": ...,
    }
Definition
class DescribeStoreImageTasksRequestDescribeStoreImageTasksPaginateTypeDef(TypedDict):
    ImageIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeStoreImageTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeStoreImageTasksRequestRequestTypeDef

def get_value() -> DescribeStoreImageTasksRequestRequestTypeDef:
    return {
        "ImageIds": ...,
    }
Definition
class DescribeStoreImageTasksRequestRequestTypeDef(TypedDict):
    ImageIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeSubnetsRequestDescribeSubnetsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSubnetsRequestDescribeSubnetsPaginateTypeDef

def get_value() -> DescribeSubnetsRequestDescribeSubnetsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSubnetsRequestDescribeSubnetsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    SubnetIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeSubnetsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSubnetsRequestRequestTypeDef

def get_value() -> DescribeSubnetsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSubnetsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    SubnetIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeTagsRequestDescribeTagsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTagsRequestDescribeTagsPaginateTypeDef

def get_value() -> DescribeTagsRequestDescribeTagsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeTagsRequestDescribeTagsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTagsRequestRequestTypeDef

def get_value() -> DescribeTagsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeTagsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeTrafficMirrorFiltersRequestDescribeTrafficMirrorFiltersPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrafficMirrorFiltersRequestDescribeTrafficMirrorFiltersPaginateTypeDef

def get_value() -> DescribeTrafficMirrorFiltersRequestDescribeTrafficMirrorFiltersPaginateTypeDef:
    return {
        "TrafficMirrorFilterIds": ...,
    }
Definition
class DescribeTrafficMirrorFiltersRequestDescribeTrafficMirrorFiltersPaginateTypeDef(TypedDict):
    TrafficMirrorFilterIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTrafficMirrorFiltersRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrafficMirrorFiltersRequestRequestTypeDef

def get_value() -> DescribeTrafficMirrorFiltersRequestRequestTypeDef:
    return {
        "TrafficMirrorFilterIds": ...,
    }
Definition
class DescribeTrafficMirrorFiltersRequestRequestTypeDef(TypedDict):
    TrafficMirrorFilterIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeTrafficMirrorSessionsRequestDescribeTrafficMirrorSessionsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrafficMirrorSessionsRequestDescribeTrafficMirrorSessionsPaginateTypeDef

def get_value() -> DescribeTrafficMirrorSessionsRequestDescribeTrafficMirrorSessionsPaginateTypeDef:
    return {
        "TrafficMirrorSessionIds": ...,
    }
Definition
class DescribeTrafficMirrorSessionsRequestDescribeTrafficMirrorSessionsPaginateTypeDef(TypedDict):
    TrafficMirrorSessionIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTrafficMirrorSessionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrafficMirrorSessionsRequestRequestTypeDef

def get_value() -> DescribeTrafficMirrorSessionsRequestRequestTypeDef:
    return {
        "TrafficMirrorSessionIds": ...,
    }
Definition
class DescribeTrafficMirrorSessionsRequestRequestTypeDef(TypedDict):
    TrafficMirrorSessionIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeTrafficMirrorTargetsRequestDescribeTrafficMirrorTargetsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrafficMirrorTargetsRequestDescribeTrafficMirrorTargetsPaginateTypeDef

def get_value() -> DescribeTrafficMirrorTargetsRequestDescribeTrafficMirrorTargetsPaginateTypeDef:
    return {
        "TrafficMirrorTargetIds": ...,
    }
Definition
class DescribeTrafficMirrorTargetsRequestDescribeTrafficMirrorTargetsPaginateTypeDef(TypedDict):
    TrafficMirrorTargetIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTrafficMirrorTargetsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrafficMirrorTargetsRequestRequestTypeDef

def get_value() -> DescribeTrafficMirrorTargetsRequestRequestTypeDef:
    return {
        "TrafficMirrorTargetIds": ...,
    }
Definition
class DescribeTrafficMirrorTargetsRequestRequestTypeDef(TypedDict):
    TrafficMirrorTargetIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeTransitGatewayAttachmentsRequestDescribeTransitGatewayAttachmentsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayAttachmentsRequestDescribeTransitGatewayAttachmentsPaginateTypeDef

def get_value() -> DescribeTransitGatewayAttachmentsRequestDescribeTransitGatewayAttachmentsPaginateTypeDef:
    return {
        "TransitGatewayAttachmentIds": ...,
    }
Definition
class DescribeTransitGatewayAttachmentsRequestDescribeTransitGatewayAttachmentsPaginateTypeDef(TypedDict):
    TransitGatewayAttachmentIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewayAttachmentsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayAttachmentsRequestRequestTypeDef

def get_value() -> DescribeTransitGatewayAttachmentsRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentIds": ...,
    }
Definition
class DescribeTransitGatewayAttachmentsRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTransitGatewayConnectPeersRequestDescribeTransitGatewayConnectPeersPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayConnectPeersRequestDescribeTransitGatewayConnectPeersPaginateTypeDef

def get_value() -> DescribeTransitGatewayConnectPeersRequestDescribeTransitGatewayConnectPeersPaginateTypeDef:
    return {
        "TransitGatewayConnectPeerIds": ...,
    }
Definition
class DescribeTransitGatewayConnectPeersRequestDescribeTransitGatewayConnectPeersPaginateTypeDef(TypedDict):
    TransitGatewayConnectPeerIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewayConnectPeersRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayConnectPeersRequestRequestTypeDef

def get_value() -> DescribeTransitGatewayConnectPeersRequestRequestTypeDef:
    return {
        "TransitGatewayConnectPeerIds": ...,
    }
Definition
class DescribeTransitGatewayConnectPeersRequestRequestTypeDef(TypedDict):
    TransitGatewayConnectPeerIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTransitGatewayConnectsRequestDescribeTransitGatewayConnectsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayConnectsRequestDescribeTransitGatewayConnectsPaginateTypeDef

def get_value() -> DescribeTransitGatewayConnectsRequestDescribeTransitGatewayConnectsPaginateTypeDef:
    return {
        "TransitGatewayAttachmentIds": ...,
    }
Definition
class DescribeTransitGatewayConnectsRequestDescribeTransitGatewayConnectsPaginateTypeDef(TypedDict):
    TransitGatewayAttachmentIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewayConnectsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayConnectsRequestRequestTypeDef

def get_value() -> DescribeTransitGatewayConnectsRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentIds": ...,
    }
Definition
class DescribeTransitGatewayConnectsRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTransitGatewayMulticastDomainsRequestDescribeTransitGatewayMulticastDomainsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayMulticastDomainsRequestDescribeTransitGatewayMulticastDomainsPaginateTypeDef

def get_value() -> DescribeTransitGatewayMulticastDomainsRequestDescribeTransitGatewayMulticastDomainsPaginateTypeDef:
    return {
        "TransitGatewayMulticastDomainIds": ...,
    }
Definition
class DescribeTransitGatewayMulticastDomainsRequestDescribeTransitGatewayMulticastDomainsPaginateTypeDef(TypedDict):
    TransitGatewayMulticastDomainIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewayMulticastDomainsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayMulticastDomainsRequestRequestTypeDef

def get_value() -> DescribeTransitGatewayMulticastDomainsRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainIds": ...,
    }
Definition
class DescribeTransitGatewayMulticastDomainsRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTransitGatewayPeeringAttachmentsRequestDescribeTransitGatewayPeeringAttachmentsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayPeeringAttachmentsRequestDescribeTransitGatewayPeeringAttachmentsPaginateTypeDef

def get_value() -> DescribeTransitGatewayPeeringAttachmentsRequestDescribeTransitGatewayPeeringAttachmentsPaginateTypeDef:
    return {
        "TransitGatewayAttachmentIds": ...,
    }
Definition
class DescribeTransitGatewayPeeringAttachmentsRequestDescribeTransitGatewayPeeringAttachmentsPaginateTypeDef(TypedDict):
    TransitGatewayAttachmentIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewayPeeringAttachmentsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayPeeringAttachmentsRequestRequestTypeDef

def get_value() -> DescribeTransitGatewayPeeringAttachmentsRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentIds": ...,
    }
Definition
class DescribeTransitGatewayPeeringAttachmentsRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTransitGatewayPolicyTablesRequestDescribeTransitGatewayPolicyTablesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayPolicyTablesRequestDescribeTransitGatewayPolicyTablesPaginateTypeDef

def get_value() -> DescribeTransitGatewayPolicyTablesRequestDescribeTransitGatewayPolicyTablesPaginateTypeDef:
    return {
        "TransitGatewayPolicyTableIds": ...,
    }
Definition
class DescribeTransitGatewayPolicyTablesRequestDescribeTransitGatewayPolicyTablesPaginateTypeDef(TypedDict):
    TransitGatewayPolicyTableIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewayPolicyTablesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayPolicyTablesRequestRequestTypeDef

def get_value() -> DescribeTransitGatewayPolicyTablesRequestRequestTypeDef:
    return {
        "TransitGatewayPolicyTableIds": ...,
    }
Definition
class DescribeTransitGatewayPolicyTablesRequestRequestTypeDef(TypedDict):
    TransitGatewayPolicyTableIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTransitGatewayRouteTableAnnouncementsRequestDescribeTransitGatewayRouteTableAnnouncementsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayRouteTableAnnouncementsRequestDescribeTransitGatewayRouteTableAnnouncementsPaginateTypeDef

def get_value() -> DescribeTransitGatewayRouteTableAnnouncementsRequestDescribeTransitGatewayRouteTableAnnouncementsPaginateTypeDef:
    return {
        "TransitGatewayRouteTableAnnouncementIds": ...,
    }
Definition
class DescribeTransitGatewayRouteTableAnnouncementsRequestDescribeTransitGatewayRouteTableAnnouncementsPaginateTypeDef(TypedDict):
    TransitGatewayRouteTableAnnouncementIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewayRouteTableAnnouncementsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayRouteTableAnnouncementsRequestRequestTypeDef

def get_value() -> DescribeTransitGatewayRouteTableAnnouncementsRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableAnnouncementIds": ...,
    }
Definition
class DescribeTransitGatewayRouteTableAnnouncementsRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableAnnouncementIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTransitGatewayRouteTablesRequestDescribeTransitGatewayRouteTablesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayRouteTablesRequestDescribeTransitGatewayRouteTablesPaginateTypeDef

def get_value() -> DescribeTransitGatewayRouteTablesRequestDescribeTransitGatewayRouteTablesPaginateTypeDef:
    return {
        "TransitGatewayRouteTableIds": ...,
    }
Definition
class DescribeTransitGatewayRouteTablesRequestDescribeTransitGatewayRouteTablesPaginateTypeDef(TypedDict):
    TransitGatewayRouteTableIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewayRouteTablesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayRouteTablesRequestRequestTypeDef

def get_value() -> DescribeTransitGatewayRouteTablesRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableIds": ...,
    }
Definition
class DescribeTransitGatewayRouteTablesRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTransitGatewayVpcAttachmentsRequestDescribeTransitGatewayVpcAttachmentsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayVpcAttachmentsRequestDescribeTransitGatewayVpcAttachmentsPaginateTypeDef

def get_value() -> DescribeTransitGatewayVpcAttachmentsRequestDescribeTransitGatewayVpcAttachmentsPaginateTypeDef:
    return {
        "TransitGatewayAttachmentIds": ...,
    }
Definition
class DescribeTransitGatewayVpcAttachmentsRequestDescribeTransitGatewayVpcAttachmentsPaginateTypeDef(TypedDict):
    TransitGatewayAttachmentIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewayVpcAttachmentsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayVpcAttachmentsRequestRequestTypeDef

def get_value() -> DescribeTransitGatewayVpcAttachmentsRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentIds": ...,
    }
Definition
class DescribeTransitGatewayVpcAttachmentsRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTransitGatewaysRequestDescribeTransitGatewaysPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewaysRequestDescribeTransitGatewaysPaginateTypeDef

def get_value() -> DescribeTransitGatewaysRequestDescribeTransitGatewaysPaginateTypeDef:
    return {
        "TransitGatewayIds": ...,
    }
Definition
class DescribeTransitGatewaysRequestDescribeTransitGatewaysPaginateTypeDef(TypedDict):
    TransitGatewayIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTransitGatewaysRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewaysRequestRequestTypeDef

def get_value() -> DescribeTransitGatewaysRequestRequestTypeDef:
    return {
        "TransitGatewayIds": ...,
    }
Definition
class DescribeTransitGatewaysRequestRequestTypeDef(TypedDict):
    TransitGatewayIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeTrunkInterfaceAssociationsRequestDescribeTrunkInterfaceAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrunkInterfaceAssociationsRequestDescribeTrunkInterfaceAssociationsPaginateTypeDef

def get_value() -> DescribeTrunkInterfaceAssociationsRequestDescribeTrunkInterfaceAssociationsPaginateTypeDef:
    return {
        "AssociationIds": ...,
    }
Definition
class DescribeTrunkInterfaceAssociationsRequestDescribeTrunkInterfaceAssociationsPaginateTypeDef(TypedDict):
    AssociationIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTrunkInterfaceAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrunkInterfaceAssociationsRequestRequestTypeDef

def get_value() -> DescribeTrunkInterfaceAssociationsRequestRequestTypeDef:
    return {
        "AssociationIds": ...,
    }
Definition
class DescribeTrunkInterfaceAssociationsRequestRequestTypeDef(TypedDict):
    AssociationIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeVerifiedAccessEndpointsRequestDescribeVerifiedAccessEndpointsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessEndpointsRequestDescribeVerifiedAccessEndpointsPaginateTypeDef

def get_value() -> DescribeVerifiedAccessEndpointsRequestDescribeVerifiedAccessEndpointsPaginateTypeDef:
    return {
        "VerifiedAccessEndpointIds": ...,
    }
Definition
class DescribeVerifiedAccessEndpointsRequestDescribeVerifiedAccessEndpointsPaginateTypeDef(TypedDict):
    VerifiedAccessEndpointIds: NotRequired[Sequence[str]],
    VerifiedAccessInstanceId: NotRequired[str],
    VerifiedAccessGroupId: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVerifiedAccessEndpointsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessEndpointsRequestRequestTypeDef

def get_value() -> DescribeVerifiedAccessEndpointsRequestRequestTypeDef:
    return {
        "VerifiedAccessEndpointIds": ...,
    }
Definition
class DescribeVerifiedAccessEndpointsRequestRequestTypeDef(TypedDict):
    VerifiedAccessEndpointIds: NotRequired[Sequence[str]],
    VerifiedAccessInstanceId: NotRequired[str],
    VerifiedAccessGroupId: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeVerifiedAccessGroupsRequestDescribeVerifiedAccessGroupsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessGroupsRequestDescribeVerifiedAccessGroupsPaginateTypeDef

def get_value() -> DescribeVerifiedAccessGroupsRequestDescribeVerifiedAccessGroupsPaginateTypeDef:
    return {
        "VerifiedAccessGroupIds": ...,
    }
Definition
class DescribeVerifiedAccessGroupsRequestDescribeVerifiedAccessGroupsPaginateTypeDef(TypedDict):
    VerifiedAccessGroupIds: NotRequired[Sequence[str]],
    VerifiedAccessInstanceId: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVerifiedAccessGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessGroupsRequestRequestTypeDef

def get_value() -> DescribeVerifiedAccessGroupsRequestRequestTypeDef:
    return {
        "VerifiedAccessGroupIds": ...,
    }
Definition
class DescribeVerifiedAccessGroupsRequestRequestTypeDef(TypedDict):
    VerifiedAccessGroupIds: NotRequired[Sequence[str]],
    VerifiedAccessInstanceId: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeVerifiedAccessInstanceLoggingConfigurationsRequestDescribeVerifiedAccessInstanceLoggingConfigurationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessInstanceLoggingConfigurationsRequestDescribeVerifiedAccessInstanceLoggingConfigurationsPaginateTypeDef

def get_value() -> DescribeVerifiedAccessInstanceLoggingConfigurationsRequestDescribeVerifiedAccessInstanceLoggingConfigurationsPaginateTypeDef:
    return {
        "VerifiedAccessInstanceIds": ...,
    }
Definition
class DescribeVerifiedAccessInstanceLoggingConfigurationsRequestDescribeVerifiedAccessInstanceLoggingConfigurationsPaginateTypeDef(TypedDict):
    VerifiedAccessInstanceIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVerifiedAccessInstanceLoggingConfigurationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessInstanceLoggingConfigurationsRequestRequestTypeDef

def get_value() -> DescribeVerifiedAccessInstanceLoggingConfigurationsRequestRequestTypeDef:
    return {
        "VerifiedAccessInstanceIds": ...,
    }
Definition
class DescribeVerifiedAccessInstanceLoggingConfigurationsRequestRequestTypeDef(TypedDict):
    VerifiedAccessInstanceIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeVerifiedAccessInstancesRequestDescribeVerifiedAccessInstancesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessInstancesRequestDescribeVerifiedAccessInstancesPaginateTypeDef

def get_value() -> DescribeVerifiedAccessInstancesRequestDescribeVerifiedAccessInstancesPaginateTypeDef:
    return {
        "VerifiedAccessInstanceIds": ...,
    }
Definition
class DescribeVerifiedAccessInstancesRequestDescribeVerifiedAccessInstancesPaginateTypeDef(TypedDict):
    VerifiedAccessInstanceIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVerifiedAccessInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessInstancesRequestRequestTypeDef

def get_value() -> DescribeVerifiedAccessInstancesRequestRequestTypeDef:
    return {
        "VerifiedAccessInstanceIds": ...,
    }
Definition
class DescribeVerifiedAccessInstancesRequestRequestTypeDef(TypedDict):
    VerifiedAccessInstanceIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeVerifiedAccessTrustProvidersRequestDescribeVerifiedAccessTrustProvidersPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessTrustProvidersRequestDescribeVerifiedAccessTrustProvidersPaginateTypeDef

def get_value() -> DescribeVerifiedAccessTrustProvidersRequestDescribeVerifiedAccessTrustProvidersPaginateTypeDef:
    return {
        "VerifiedAccessTrustProviderIds": ...,
    }
Definition
class DescribeVerifiedAccessTrustProvidersRequestDescribeVerifiedAccessTrustProvidersPaginateTypeDef(TypedDict):
    VerifiedAccessTrustProviderIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVerifiedAccessTrustProvidersRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessTrustProvidersRequestRequestTypeDef

def get_value() -> DescribeVerifiedAccessTrustProvidersRequestRequestTypeDef:
    return {
        "VerifiedAccessTrustProviderIds": ...,
    }
Definition
class DescribeVerifiedAccessTrustProvidersRequestRequestTypeDef(TypedDict):
    VerifiedAccessTrustProviderIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeVolumeStatusRequestDescribeVolumeStatusPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumeStatusRequestDescribeVolumeStatusPaginateTypeDef

def get_value() -> DescribeVolumeStatusRequestDescribeVolumeStatusPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVolumeStatusRequestDescribeVolumeStatusPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VolumeIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVolumeStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumeStatusRequestRequestTypeDef

def get_value() -> DescribeVolumeStatusRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVolumeStatusRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    VolumeIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeVolumeStatusRequestVolumeDescribeStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumeStatusRequestVolumeDescribeStatusTypeDef

def get_value() -> DescribeVolumeStatusRequestVolumeDescribeStatusTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVolumeStatusRequestVolumeDescribeStatusTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeVolumesModificationsRequestDescribeVolumesModificationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumesModificationsRequestDescribeVolumesModificationsPaginateTypeDef

def get_value() -> DescribeVolumesModificationsRequestDescribeVolumesModificationsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVolumesModificationsRequestDescribeVolumesModificationsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    VolumeIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVolumesModificationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumesModificationsRequestRequestTypeDef

def get_value() -> DescribeVolumesModificationsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVolumesModificationsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    VolumeIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeVolumesRequestDescribeVolumesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumesRequestDescribeVolumesPaginateTypeDef

def get_value() -> DescribeVolumesRequestDescribeVolumesPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVolumesRequestDescribeVolumesPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VolumeIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVolumesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumesRequestRequestTypeDef

def get_value() -> DescribeVolumesRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVolumesRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VolumeIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeVpcClassicLinkRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcClassicLinkRequestRequestTypeDef

def get_value() -> DescribeVpcClassicLinkRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpcClassicLinkRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    VpcIds: NotRequired[Sequence[str]],
  1. See FilterTypeDef

DescribeVpcEndpointConnectionNotificationsRequestDescribeVpcEndpointConnectionNotificationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointConnectionNotificationsRequestDescribeVpcEndpointConnectionNotificationsPaginateTypeDef

def get_value() -> DescribeVpcEndpointConnectionNotificationsRequestDescribeVpcEndpointConnectionNotificationsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointConnectionNotificationsRequestDescribeVpcEndpointConnectionNotificationsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    ConnectionNotificationId: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVpcEndpointConnectionNotificationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointConnectionNotificationsRequestRequestTypeDef

def get_value() -> DescribeVpcEndpointConnectionNotificationsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointConnectionNotificationsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    ConnectionNotificationId: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeVpcEndpointConnectionsRequestDescribeVpcEndpointConnectionsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointConnectionsRequestDescribeVpcEndpointConnectionsPaginateTypeDef

def get_value() -> DescribeVpcEndpointConnectionsRequestDescribeVpcEndpointConnectionsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointConnectionsRequestDescribeVpcEndpointConnectionsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVpcEndpointConnectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointConnectionsRequestRequestTypeDef

def get_value() -> DescribeVpcEndpointConnectionsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointConnectionsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeVpcEndpointServiceConfigurationsRequestDescribeVpcEndpointServiceConfigurationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointServiceConfigurationsRequestDescribeVpcEndpointServiceConfigurationsPaginateTypeDef

def get_value() -> DescribeVpcEndpointServiceConfigurationsRequestDescribeVpcEndpointServiceConfigurationsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointServiceConfigurationsRequestDescribeVpcEndpointServiceConfigurationsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    ServiceIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVpcEndpointServiceConfigurationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointServiceConfigurationsRequestRequestTypeDef

def get_value() -> DescribeVpcEndpointServiceConfigurationsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointServiceConfigurationsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    ServiceIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeVpcEndpointServicePermissionsRequestDescribeVpcEndpointServicePermissionsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointServicePermissionsRequestDescribeVpcEndpointServicePermissionsPaginateTypeDef

def get_value() -> DescribeVpcEndpointServicePermissionsRequestDescribeVpcEndpointServicePermissionsPaginateTypeDef:
    return {
        "ServiceId": ...,
    }
Definition
class DescribeVpcEndpointServicePermissionsRequestDescribeVpcEndpointServicePermissionsPaginateTypeDef(TypedDict):
    ServiceId: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVpcEndpointServicePermissionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointServicePermissionsRequestRequestTypeDef

def get_value() -> DescribeVpcEndpointServicePermissionsRequestRequestTypeDef:
    return {
        "ServiceId": ...,
    }
Definition
class DescribeVpcEndpointServicePermissionsRequestRequestTypeDef(TypedDict):
    ServiceId: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeVpcEndpointServicesRequestDescribeVpcEndpointServicesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointServicesRequestDescribeVpcEndpointServicesPaginateTypeDef

def get_value() -> DescribeVpcEndpointServicesRequestDescribeVpcEndpointServicesPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointServicesRequestDescribeVpcEndpointServicesPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    ServiceNames: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVpcEndpointServicesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointServicesRequestRequestTypeDef

def get_value() -> DescribeVpcEndpointServicesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointServicesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    ServiceNames: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeVpcEndpointsRequestDescribeVpcEndpointsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointsRequestDescribeVpcEndpointsPaginateTypeDef

def get_value() -> DescribeVpcEndpointsRequestDescribeVpcEndpointsPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointsRequestDescribeVpcEndpointsPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    VpcEndpointIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVpcEndpointsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointsRequestRequestTypeDef

def get_value() -> DescribeVpcEndpointsRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeVpcEndpointsRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    VpcEndpointIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

DescribeVpcPeeringConnectionsRequestDescribeVpcPeeringConnectionsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcPeeringConnectionsRequestDescribeVpcPeeringConnectionsPaginateTypeDef

def get_value() -> DescribeVpcPeeringConnectionsRequestDescribeVpcPeeringConnectionsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpcPeeringConnectionsRequestDescribeVpcPeeringConnectionsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    VpcPeeringConnectionIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVpcPeeringConnectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcPeeringConnectionsRequestRequestTypeDef

def get_value() -> DescribeVpcPeeringConnectionsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpcPeeringConnectionsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    VpcPeeringConnectionIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeVpcsRequestDescribeVpcsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcsRequestDescribeVpcsPaginateTypeDef

def get_value() -> DescribeVpcsRequestDescribeVpcsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpcsRequestDescribeVpcsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VpcIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeVpcsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcsRequestRequestTypeDef

def get_value() -> DescribeVpcsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpcsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VpcIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

DescribeVpnConnectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpnConnectionsRequestRequestTypeDef

def get_value() -> DescribeVpnConnectionsRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpnConnectionsRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VpnConnectionIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeVpnGatewaysRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpnGatewaysRequestRequestTypeDef

def get_value() -> DescribeVpnGatewaysRequestRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpnGatewaysRequestRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VpnGatewayIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

ExportTransitGatewayRoutesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportTransitGatewayRoutesRequestRequestTypeDef

def get_value() -> ExportTransitGatewayRoutesRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
        "S3Bucket": ...,
    }
Definition
class ExportTransitGatewayRoutesRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    S3Bucket: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

GetCoipPoolUsageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetCoipPoolUsageRequestRequestTypeDef

def get_value() -> GetCoipPoolUsageRequestRequestTypeDef:
    return {
        "PoolId": ...,
    }
Definition
class GetCoipPoolUsageRequestRequestTypeDef(TypedDict):
    PoolId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

GetIpamDiscoveredAccountsRequestGetIpamDiscoveredAccountsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamDiscoveredAccountsRequestGetIpamDiscoveredAccountsPaginateTypeDef

def get_value() -> GetIpamDiscoveredAccountsRequestGetIpamDiscoveredAccountsPaginateTypeDef:
    return {
        "IpamResourceDiscoveryId": ...,
        "DiscoveryRegion": ...,
    }
Definition
class GetIpamDiscoveredAccountsRequestGetIpamDiscoveredAccountsPaginateTypeDef(TypedDict):
    IpamResourceDiscoveryId: str,
    DiscoveryRegion: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetIpamDiscoveredAccountsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamDiscoveredAccountsRequestRequestTypeDef

def get_value() -> GetIpamDiscoveredAccountsRequestRequestTypeDef:
    return {
        "IpamResourceDiscoveryId": ...,
        "DiscoveryRegion": ...,
    }
Definition
class GetIpamDiscoveredAccountsRequestRequestTypeDef(TypedDict):
    IpamResourceDiscoveryId: str,
    DiscoveryRegion: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

GetIpamDiscoveredResourceCidrsRequestGetIpamDiscoveredResourceCidrsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamDiscoveredResourceCidrsRequestGetIpamDiscoveredResourceCidrsPaginateTypeDef

def get_value() -> GetIpamDiscoveredResourceCidrsRequestGetIpamDiscoveredResourceCidrsPaginateTypeDef:
    return {
        "IpamResourceDiscoveryId": ...,
        "ResourceRegion": ...,
    }
Definition
class GetIpamDiscoveredResourceCidrsRequestGetIpamDiscoveredResourceCidrsPaginateTypeDef(TypedDict):
    IpamResourceDiscoveryId: str,
    ResourceRegion: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetIpamDiscoveredResourceCidrsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamDiscoveredResourceCidrsRequestRequestTypeDef

def get_value() -> GetIpamDiscoveredResourceCidrsRequestRequestTypeDef:
    return {
        "IpamResourceDiscoveryId": ...,
        "ResourceRegion": ...,
    }
Definition
class GetIpamDiscoveredResourceCidrsRequestRequestTypeDef(TypedDict):
    IpamResourceDiscoveryId: str,
    ResourceRegion: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

GetIpamPoolAllocationsRequestGetIpamPoolAllocationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamPoolAllocationsRequestGetIpamPoolAllocationsPaginateTypeDef

def get_value() -> GetIpamPoolAllocationsRequestGetIpamPoolAllocationsPaginateTypeDef:
    return {
        "IpamPoolId": ...,
    }
Definition
class GetIpamPoolAllocationsRequestGetIpamPoolAllocationsPaginateTypeDef(TypedDict):
    IpamPoolId: str,
    DryRun: NotRequired[bool],
    IpamPoolAllocationId: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetIpamPoolAllocationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamPoolAllocationsRequestRequestTypeDef

def get_value() -> GetIpamPoolAllocationsRequestRequestTypeDef:
    return {
        "IpamPoolId": ...,
    }
Definition
class GetIpamPoolAllocationsRequestRequestTypeDef(TypedDict):
    IpamPoolId: str,
    DryRun: NotRequired[bool],
    IpamPoolAllocationId: NotRequired[str],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

GetIpamPoolCidrsRequestGetIpamPoolCidrsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamPoolCidrsRequestGetIpamPoolCidrsPaginateTypeDef

def get_value() -> GetIpamPoolCidrsRequestGetIpamPoolCidrsPaginateTypeDef:
    return {
        "IpamPoolId": ...,
    }
Definition
class GetIpamPoolCidrsRequestGetIpamPoolCidrsPaginateTypeDef(TypedDict):
    IpamPoolId: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetIpamPoolCidrsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamPoolCidrsRequestRequestTypeDef

def get_value() -> GetIpamPoolCidrsRequestRequestTypeDef:
    return {
        "IpamPoolId": ...,
    }
Definition
class GetIpamPoolCidrsRequestRequestTypeDef(TypedDict):
    IpamPoolId: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FilterTypeDef

GetIpamResourceCidrsRequestGetIpamResourceCidrsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamResourceCidrsRequestGetIpamResourceCidrsPaginateTypeDef

def get_value() -> GetIpamResourceCidrsRequestGetIpamResourceCidrsPaginateTypeDef:
    return {
        "IpamScopeId": ...,
    }
Definition
class GetIpamResourceCidrsRequestGetIpamResourceCidrsPaginateTypeDef(TypedDict):
    IpamScopeId: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    IpamPoolId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[IpamResourceTypeType],  # (2)
    ResourceTag: NotRequired[RequestIpamResourceTagTypeDef],  # (3)
    ResourceOwner: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See FilterTypeDef
  2. See IpamResourceTypeType
  3. See RequestIpamResourceTagTypeDef
  4. See PaginatorConfigTypeDef

GetIpamResourceCidrsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamResourceCidrsRequestRequestTypeDef

def get_value() -> GetIpamResourceCidrsRequestRequestTypeDef:
    return {
        "IpamScopeId": ...,
    }
Definition
class GetIpamResourceCidrsRequestRequestTypeDef(TypedDict):
    IpamScopeId: str,
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    IpamPoolId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[IpamResourceTypeType],  # (2)
    ResourceTag: NotRequired[RequestIpamResourceTagTypeDef],  # (3)
    ResourceOwner: NotRequired[str],
  1. See FilterTypeDef
  2. See IpamResourceTypeType
  3. See RequestIpamResourceTagTypeDef

GetSubnetCidrReservationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetSubnetCidrReservationsRequestRequestTypeDef

def get_value() -> GetSubnetCidrReservationsRequestRequestTypeDef:
    return {
        "SubnetId": ...,
    }
Definition
class GetSubnetCidrReservationsRequestRequestTypeDef(TypedDict):
    SubnetId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

GetTransitGatewayAttachmentPropagationsRequestGetTransitGatewayAttachmentPropagationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayAttachmentPropagationsRequestGetTransitGatewayAttachmentPropagationsPaginateTypeDef

def get_value() -> GetTransitGatewayAttachmentPropagationsRequestGetTransitGatewayAttachmentPropagationsPaginateTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class GetTransitGatewayAttachmentPropagationsRequestGetTransitGatewayAttachmentPropagationsPaginateTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetTransitGatewayAttachmentPropagationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayAttachmentPropagationsRequestRequestTypeDef

def get_value() -> GetTransitGatewayAttachmentPropagationsRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class GetTransitGatewayAttachmentPropagationsRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

GetTransitGatewayMulticastDomainAssociationsRequestGetTransitGatewayMulticastDomainAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayMulticastDomainAssociationsRequestGetTransitGatewayMulticastDomainAssociationsPaginateTypeDef

def get_value() -> GetTransitGatewayMulticastDomainAssociationsRequestGetTransitGatewayMulticastDomainAssociationsPaginateTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class GetTransitGatewayMulticastDomainAssociationsRequestGetTransitGatewayMulticastDomainAssociationsPaginateTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef

def get_value() -> GetTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class GetTransitGatewayMulticastDomainAssociationsRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

GetTransitGatewayPolicyTableAssociationsRequestGetTransitGatewayPolicyTableAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayPolicyTableAssociationsRequestGetTransitGatewayPolicyTableAssociationsPaginateTypeDef

def get_value() -> GetTransitGatewayPolicyTableAssociationsRequestGetTransitGatewayPolicyTableAssociationsPaginateTypeDef:
    return {
        "TransitGatewayPolicyTableId": ...,
    }
Definition
class GetTransitGatewayPolicyTableAssociationsRequestGetTransitGatewayPolicyTableAssociationsPaginateTypeDef(TypedDict):
    TransitGatewayPolicyTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetTransitGatewayPolicyTableAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayPolicyTableAssociationsRequestRequestTypeDef

def get_value() -> GetTransitGatewayPolicyTableAssociationsRequestRequestTypeDef:
    return {
        "TransitGatewayPolicyTableId": ...,
    }
Definition
class GetTransitGatewayPolicyTableAssociationsRequestRequestTypeDef(TypedDict):
    TransitGatewayPolicyTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

GetTransitGatewayPolicyTableEntriesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayPolicyTableEntriesRequestRequestTypeDef

def get_value() -> GetTransitGatewayPolicyTableEntriesRequestRequestTypeDef:
    return {
        "TransitGatewayPolicyTableId": ...,
    }
Definition
class GetTransitGatewayPolicyTableEntriesRequestRequestTypeDef(TypedDict):
    TransitGatewayPolicyTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

GetTransitGatewayPrefixListReferencesRequestGetTransitGatewayPrefixListReferencesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayPrefixListReferencesRequestGetTransitGatewayPrefixListReferencesPaginateTypeDef

def get_value() -> GetTransitGatewayPrefixListReferencesRequestGetTransitGatewayPrefixListReferencesPaginateTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class GetTransitGatewayPrefixListReferencesRequestGetTransitGatewayPrefixListReferencesPaginateTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetTransitGatewayPrefixListReferencesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayPrefixListReferencesRequestRequestTypeDef

def get_value() -> GetTransitGatewayPrefixListReferencesRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class GetTransitGatewayPrefixListReferencesRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

GetTransitGatewayRouteTableAssociationsRequestGetTransitGatewayRouteTableAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayRouteTableAssociationsRequestGetTransitGatewayRouteTableAssociationsPaginateTypeDef

def get_value() -> GetTransitGatewayRouteTableAssociationsRequestGetTransitGatewayRouteTableAssociationsPaginateTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class GetTransitGatewayRouteTableAssociationsRequestGetTransitGatewayRouteTableAssociationsPaginateTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetTransitGatewayRouteTableAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayRouteTableAssociationsRequestRequestTypeDef

def get_value() -> GetTransitGatewayRouteTableAssociationsRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class GetTransitGatewayRouteTableAssociationsRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

GetTransitGatewayRouteTablePropagationsRequestGetTransitGatewayRouteTablePropagationsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayRouteTablePropagationsRequestGetTransitGatewayRouteTablePropagationsPaginateTypeDef

def get_value() -> GetTransitGatewayRouteTablePropagationsRequestGetTransitGatewayRouteTablePropagationsPaginateTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class GetTransitGatewayRouteTablePropagationsRequestGetTransitGatewayRouteTablePropagationsPaginateTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetTransitGatewayRouteTablePropagationsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayRouteTablePropagationsRequestRequestTypeDef

def get_value() -> GetTransitGatewayRouteTablePropagationsRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class GetTransitGatewayRouteTablePropagationsRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

SearchLocalGatewayRoutesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SearchLocalGatewayRoutesRequestRequestTypeDef

def get_value() -> SearchLocalGatewayRoutesRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
    }
Definition
class SearchLocalGatewayRoutesRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

SearchLocalGatewayRoutesRequestSearchLocalGatewayRoutesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SearchLocalGatewayRoutesRequestSearchLocalGatewayRoutesPaginateTypeDef

def get_value() -> SearchLocalGatewayRoutesRequestSearchLocalGatewayRoutesPaginateTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
    }
Definition
class SearchLocalGatewayRoutesRequestSearchLocalGatewayRoutesPaginateTypeDef(TypedDict):
    LocalGatewayRouteTableId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

SearchTransitGatewayMulticastGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SearchTransitGatewayMulticastGroupsRequestRequestTypeDef

def get_value() -> SearchTransitGatewayMulticastGroupsRequestRequestTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class SearchTransitGatewayMulticastGroupsRequestRequestTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

SearchTransitGatewayMulticastGroupsRequestSearchTransitGatewayMulticastGroupsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SearchTransitGatewayMulticastGroupsRequestSearchTransitGatewayMulticastGroupsPaginateTypeDef

def get_value() -> SearchTransitGatewayMulticastGroupsRequestSearchTransitGatewayMulticastGroupsPaginateTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class SearchTransitGatewayMulticastGroupsRequestSearchTransitGatewayMulticastGroupsPaginateTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

SearchTransitGatewayRoutesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SearchTransitGatewayRoutesRequestRequestTypeDef

def get_value() -> SearchTransitGatewayRoutesRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
        "Filters": ...,
    }
Definition
class SearchTransitGatewayRoutesRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    Filters: Sequence[FilterTypeDef],  # (1)
    MaxResults: NotRequired[int],
    DryRun: NotRequired[bool],
  1. See FilterTypeDef

DescribeAggregateIdFormatResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAggregateIdFormatResultTypeDef

def get_value() -> DescribeAggregateIdFormatResultTypeDef:
    return {
        "UseLongIdsAggregated": ...,
        "Statuses": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAggregateIdFormatResultTypeDef(TypedDict):
    UseLongIdsAggregated: bool,
    Statuses: List[IdFormatTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IdFormatTypeDef
  2. See ResponseMetadataTypeDef

DescribeIdFormatResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIdFormatResultTypeDef

def get_value() -> DescribeIdFormatResultTypeDef:
    return {
        "Statuses": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIdFormatResultTypeDef(TypedDict):
    Statuses: List[IdFormatTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IdFormatTypeDef
  2. See ResponseMetadataTypeDef

DescribeIdentityIdFormatResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIdentityIdFormatResultTypeDef

def get_value() -> DescribeIdentityIdFormatResultTypeDef:
    return {
        "Statuses": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIdentityIdFormatResultTypeDef(TypedDict):
    Statuses: List[IdFormatTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IdFormatTypeDef
  2. See ResponseMetadataTypeDef

PrincipalIdFormatTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PrincipalIdFormatTypeDef

def get_value() -> PrincipalIdFormatTypeDef:
    return {
        "Arn": ...,
    }
Definition
class PrincipalIdFormatTypeDef(TypedDict):
    Arn: NotRequired[str],
    Statuses: NotRequired[List[IdFormatTypeDef]],  # (1)
  1. See IdFormatTypeDef

DescribeAwsNetworkPerformanceMetricSubscriptionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAwsNetworkPerformanceMetricSubscriptionsResultTypeDef

def get_value() -> DescribeAwsNetworkPerformanceMetricSubscriptionsResultTypeDef:
    return {
        "NextToken": ...,
        "Subscriptions": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAwsNetworkPerformanceMetricSubscriptionsResultTypeDef(TypedDict):
    NextToken: str,
    Subscriptions: List[SubscriptionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubscriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeBundleTasksRequestBundleTaskCompleteWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeBundleTasksRequestBundleTaskCompleteWaitTypeDef

def get_value() -> DescribeBundleTasksRequestBundleTaskCompleteWaitTypeDef:
    return {
        "BundleIds": ...,
    }
Definition
class DescribeBundleTasksRequestBundleTaskCompleteWaitTypeDef(TypedDict):
    BundleIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeConversionTasksRequestConversionTaskCancelledWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeConversionTasksRequestConversionTaskCancelledWaitTypeDef

def get_value() -> DescribeConversionTasksRequestConversionTaskCancelledWaitTypeDef:
    return {
        "ConversionTaskIds": ...,
    }
Definition
class DescribeConversionTasksRequestConversionTaskCancelledWaitTypeDef(TypedDict):
    ConversionTaskIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeConversionTasksRequestConversionTaskCompletedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeConversionTasksRequestConversionTaskCompletedWaitTypeDef

def get_value() -> DescribeConversionTasksRequestConversionTaskCompletedWaitTypeDef:
    return {
        "ConversionTaskIds": ...,
    }
Definition
class DescribeConversionTasksRequestConversionTaskCompletedWaitTypeDef(TypedDict):
    ConversionTaskIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeConversionTasksRequestConversionTaskDeletedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeConversionTasksRequestConversionTaskDeletedWaitTypeDef

def get_value() -> DescribeConversionTasksRequestConversionTaskDeletedWaitTypeDef:
    return {
        "ConversionTaskIds": ...,
    }
Definition
class DescribeConversionTasksRequestConversionTaskDeletedWaitTypeDef(TypedDict):
    ConversionTaskIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeCustomerGatewaysRequestCustomerGatewayAvailableWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCustomerGatewaysRequestCustomerGatewayAvailableWaitTypeDef

def get_value() -> DescribeCustomerGatewaysRequestCustomerGatewayAvailableWaitTypeDef:
    return {
        "CustomerGatewayIds": ...,
    }
Definition
class DescribeCustomerGatewaysRequestCustomerGatewayAvailableWaitTypeDef(TypedDict):
    CustomerGatewayIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeExportTasksRequestExportTaskCancelledWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeExportTasksRequestExportTaskCancelledWaitTypeDef

def get_value() -> DescribeExportTasksRequestExportTaskCancelledWaitTypeDef:
    return {
        "ExportTaskIds": ...,
    }
Definition
class DescribeExportTasksRequestExportTaskCancelledWaitTypeDef(TypedDict):
    ExportTaskIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeExportTasksRequestExportTaskCompletedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeExportTasksRequestExportTaskCompletedWaitTypeDef

def get_value() -> DescribeExportTasksRequestExportTaskCompletedWaitTypeDef:
    return {
        "ExportTaskIds": ...,
    }
Definition
class DescribeExportTasksRequestExportTaskCompletedWaitTypeDef(TypedDict):
    ExportTaskIds: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeImagesRequestImageAvailableWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImagesRequestImageAvailableWaitTypeDef

def get_value() -> DescribeImagesRequestImageAvailableWaitTypeDef:
    return {
        "ExecutableUsers": ...,
    }
Definition
class DescribeImagesRequestImageAvailableWaitTypeDef(TypedDict):
    ExecutableUsers: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ImageIds: NotRequired[Sequence[str]],
    Owners: NotRequired[Sequence[str]],
    IncludeDeprecated: NotRequired[bool],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeImagesRequestImageExistsWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImagesRequestImageExistsWaitTypeDef

def get_value() -> DescribeImagesRequestImageExistsWaitTypeDef:
    return {
        "ExecutableUsers": ...,
    }
Definition
class DescribeImagesRequestImageExistsWaitTypeDef(TypedDict):
    ExecutableUsers: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ImageIds: NotRequired[Sequence[str]],
    Owners: NotRequired[Sequence[str]],
    IncludeDeprecated: NotRequired[bool],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeImportSnapshotTasksRequestSnapshotImportedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImportSnapshotTasksRequestSnapshotImportedWaitTypeDef

def get_value() -> DescribeImportSnapshotTasksRequestSnapshotImportedWaitTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeImportSnapshotTasksRequestSnapshotImportedWaitTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ImportTaskIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeInstanceStatusRequestInstanceStatusOkWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceStatusRequestInstanceStatusOkWaitTypeDef

def get_value() -> DescribeInstanceStatusRequestInstanceStatusOkWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstanceStatusRequestInstanceStatusOkWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
    IncludeAllInstances: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeInstanceStatusRequestSystemStatusOkWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceStatusRequestSystemStatusOkWaitTypeDef

def get_value() -> DescribeInstanceStatusRequestSystemStatusOkWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstanceStatusRequestSystemStatusOkWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    DryRun: NotRequired[bool],
    IncludeAllInstances: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeInstancesRequestInstanceExistsWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstancesRequestInstanceExistsWaitTypeDef

def get_value() -> DescribeInstancesRequestInstanceExistsWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstancesRequestInstanceExistsWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeInstancesRequestInstanceRunningWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstancesRequestInstanceRunningWaitTypeDef

def get_value() -> DescribeInstancesRequestInstanceRunningWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstancesRequestInstanceRunningWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeInstancesRequestInstanceStoppedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstancesRequestInstanceStoppedWaitTypeDef

def get_value() -> DescribeInstancesRequestInstanceStoppedWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstancesRequestInstanceStoppedWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeInstancesRequestInstanceTerminatedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstancesRequestInstanceTerminatedWaitTypeDef

def get_value() -> DescribeInstancesRequestInstanceTerminatedWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInstancesRequestInstanceTerminatedWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    InstanceIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeInternetGatewaysRequestInternetGatewayExistsWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInternetGatewaysRequestInternetGatewayExistsWaitTypeDef

def get_value() -> DescribeInternetGatewaysRequestInternetGatewayExistsWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeInternetGatewaysRequestInternetGatewayExistsWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    InternetGatewayIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeKeyPairsRequestKeyPairExistsWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeKeyPairsRequestKeyPairExistsWaitTypeDef

def get_value() -> DescribeKeyPairsRequestKeyPairExistsWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeKeyPairsRequestKeyPairExistsWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    KeyNames: NotRequired[Sequence[str]],
    KeyPairIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    IncludePublicKey: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeNatGatewaysRequestNatGatewayAvailableWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNatGatewaysRequestNatGatewayAvailableWaitTypeDef

def get_value() -> DescribeNatGatewaysRequestNatGatewayAvailableWaitTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeNatGatewaysRequestNatGatewayAvailableWaitTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NatGatewayIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeNatGatewaysRequestNatGatewayDeletedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNatGatewaysRequestNatGatewayDeletedWaitTypeDef

def get_value() -> DescribeNatGatewaysRequestNatGatewayDeletedWaitTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeNatGatewaysRequestNatGatewayDeletedWaitTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NatGatewayIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeNetworkInterfacesRequestNetworkInterfaceAvailableWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfacesRequestNetworkInterfaceAvailableWaitTypeDef

def get_value() -> DescribeNetworkInterfacesRequestNetworkInterfaceAvailableWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeNetworkInterfacesRequestNetworkInterfaceAvailableWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    NetworkInterfaceIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeSecurityGroupsRequestSecurityGroupExistsWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSecurityGroupsRequestSecurityGroupExistsWaitTypeDef

def get_value() -> DescribeSecurityGroupsRequestSecurityGroupExistsWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSecurityGroupsRequestSecurityGroupExistsWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    GroupIds: NotRequired[Sequence[str]],
    GroupNames: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeSnapshotsRequestSnapshotCompletedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotsRequestSnapshotCompletedWaitTypeDef

def get_value() -> DescribeSnapshotsRequestSnapshotCompletedWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSnapshotsRequestSnapshotCompletedWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    OwnerIds: NotRequired[Sequence[str]],
    RestorableByUserIds: NotRequired[Sequence[str]],
    SnapshotIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeSpotInstanceRequestsRequestSpotInstanceRequestFulfilledWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotInstanceRequestsRequestSpotInstanceRequestFulfilledWaitTypeDef

def get_value() -> DescribeSpotInstanceRequestsRequestSpotInstanceRequestFulfilledWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSpotInstanceRequestsRequestSpotInstanceRequestFulfilledWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    SpotInstanceRequestIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeSubnetsRequestSubnetAvailableWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSubnetsRequestSubnetAvailableWaitTypeDef

def get_value() -> DescribeSubnetsRequestSubnetAvailableWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeSubnetsRequestSubnetAvailableWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    SubnetIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeVolumesRequestVolumeAvailableWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumesRequestVolumeAvailableWaitTypeDef

def get_value() -> DescribeVolumesRequestVolumeAvailableWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVolumesRequestVolumeAvailableWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VolumeIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeVolumesRequestVolumeDeletedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumesRequestVolumeDeletedWaitTypeDef

def get_value() -> DescribeVolumesRequestVolumeDeletedWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVolumesRequestVolumeDeletedWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VolumeIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeVolumesRequestVolumeInUseWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumesRequestVolumeInUseWaitTypeDef

def get_value() -> DescribeVolumesRequestVolumeInUseWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVolumesRequestVolumeInUseWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VolumeIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionDeletedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionDeletedWaitTypeDef

def get_value() -> DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionDeletedWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionDeletedWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    VpcPeeringConnectionIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionExistsWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionExistsWaitTypeDef

def get_value() -> DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionExistsWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpcPeeringConnectionsRequestVpcPeeringConnectionExistsWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    VpcPeeringConnectionIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeVpcsRequestVpcAvailableWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcsRequestVpcAvailableWaitTypeDef

def get_value() -> DescribeVpcsRequestVpcAvailableWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpcsRequestVpcAvailableWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VpcIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeVpcsRequestVpcExistsWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcsRequestVpcExistsWaitTypeDef

def get_value() -> DescribeVpcsRequestVpcExistsWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpcsRequestVpcExistsWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VpcIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeVpnConnectionsRequestVpnConnectionAvailableWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpnConnectionsRequestVpnConnectionAvailableWaitTypeDef

def get_value() -> DescribeVpnConnectionsRequestVpnConnectionAvailableWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpnConnectionsRequestVpnConnectionAvailableWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VpnConnectionIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

DescribeVpnConnectionsRequestVpnConnectionDeletedWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpnConnectionsRequestVpnConnectionDeletedWaitTypeDef

def get_value() -> DescribeVpnConnectionsRequestVpnConnectionDeletedWaitTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeVpnConnectionsRequestVpnConnectionDeletedWaitTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    VpnConnectionIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See WaiterConfigTypeDef

GetPasswordDataRequestPasswordDataAvailableWaitTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetPasswordDataRequestPasswordDataAvailableWaitTypeDef

def get_value() -> GetPasswordDataRequestPasswordDataAvailableWaitTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class GetPasswordDataRequestPasswordDataAvailableWaitTypeDef(TypedDict):
    InstanceId: str,
    DryRun: NotRequired[bool],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeFastLaunchImagesSuccessItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFastLaunchImagesSuccessItemTypeDef

def get_value() -> DescribeFastLaunchImagesSuccessItemTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class DescribeFastLaunchImagesSuccessItemTypeDef(TypedDict):
    ImageId: NotRequired[str],
    ResourceType: NotRequired[FastLaunchResourceTypeType],  # (1)
    SnapshotConfiguration: NotRequired[FastLaunchSnapshotConfigurationResponseTypeDef],  # (2)
    LaunchTemplate: NotRequired[FastLaunchLaunchTemplateSpecificationResponseTypeDef],  # (3)
    MaxParallelLaunches: NotRequired[int],
    OwnerId: NotRequired[str],
    State: NotRequired[FastLaunchStateCodeType],  # (4)
    StateTransitionReason: NotRequired[str],
    StateTransitionTime: NotRequired[datetime],
  1. See FastLaunchResourceTypeType
  2. See FastLaunchSnapshotConfigurationResponseTypeDef
  3. See FastLaunchLaunchTemplateSpecificationResponseTypeDef
  4. See FastLaunchStateCodeType

DisableFastLaunchResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableFastLaunchResultTypeDef

def get_value() -> DisableFastLaunchResultTypeDef:
    return {
        "ImageId": ...,
        "ResourceType": ...,
        "SnapshotConfiguration": ...,
        "LaunchTemplate": ...,
        "MaxParallelLaunches": ...,
        "OwnerId": ...,
        "State": ...,
        "StateTransitionReason": ...,
        "StateTransitionTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableFastLaunchResultTypeDef(TypedDict):
    ImageId: str,
    ResourceType: FastLaunchResourceTypeType,  # (1)
    SnapshotConfiguration: FastLaunchSnapshotConfigurationResponseTypeDef,  # (2)
    LaunchTemplate: FastLaunchLaunchTemplateSpecificationResponseTypeDef,  # (3)
    MaxParallelLaunches: int,
    OwnerId: str,
    State: FastLaunchStateCodeType,  # (4)
    StateTransitionReason: str,
    StateTransitionTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See FastLaunchResourceTypeType
  2. See FastLaunchSnapshotConfigurationResponseTypeDef
  3. See FastLaunchLaunchTemplateSpecificationResponseTypeDef
  4. See FastLaunchStateCodeType
  5. See ResponseMetadataTypeDef

EnableFastLaunchResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableFastLaunchResultTypeDef

def get_value() -> EnableFastLaunchResultTypeDef:
    return {
        "ImageId": ...,
        "ResourceType": ...,
        "SnapshotConfiguration": ...,
        "LaunchTemplate": ...,
        "MaxParallelLaunches": ...,
        "OwnerId": ...,
        "State": ...,
        "StateTransitionReason": ...,
        "StateTransitionTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableFastLaunchResultTypeDef(TypedDict):
    ImageId: str,
    ResourceType: FastLaunchResourceTypeType,  # (1)
    SnapshotConfiguration: FastLaunchSnapshotConfigurationResponseTypeDef,  # (2)
    LaunchTemplate: FastLaunchLaunchTemplateSpecificationResponseTypeDef,  # (3)
    MaxParallelLaunches: int,
    OwnerId: str,
    State: FastLaunchStateCodeType,  # (4)
    StateTransitionReason: str,
    StateTransitionTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See FastLaunchResourceTypeType
  2. See FastLaunchSnapshotConfigurationResponseTypeDef
  3. See FastLaunchLaunchTemplateSpecificationResponseTypeDef
  4. See FastLaunchStateCodeType
  5. See ResponseMetadataTypeDef

DescribeFastSnapshotRestoresResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFastSnapshotRestoresResultTypeDef

def get_value() -> DescribeFastSnapshotRestoresResultTypeDef:
    return {
        "FastSnapshotRestores": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFastSnapshotRestoresResultTypeDef(TypedDict):
    FastSnapshotRestores: List[DescribeFastSnapshotRestoreSuccessItemTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DescribeFastSnapshotRestoreSuccessItemTypeDef
  2. See ResponseMetadataTypeDef

DescribeHostReservationOfferingsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeHostReservationOfferingsResultTypeDef

def get_value() -> DescribeHostReservationOfferingsResultTypeDef:
    return {
        "NextToken": ...,
        "OfferingSet": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeHostReservationOfferingsResultTypeDef(TypedDict):
    NextToken: str,
    OfferingSet: List[HostOfferingTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HostOfferingTypeDef
  2. See ResponseMetadataTypeDef

DescribeInstanceCreditSpecificationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceCreditSpecificationsResultTypeDef

def get_value() -> DescribeInstanceCreditSpecificationsResultTypeDef:
    return {
        "InstanceCreditSpecifications": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInstanceCreditSpecificationsResultTypeDef(TypedDict):
    InstanceCreditSpecifications: List[InstanceCreditSpecificationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceCreditSpecificationTypeDef
  2. See ResponseMetadataTypeDef

DescribeInstanceTypeOfferingsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceTypeOfferingsResultTypeDef

def get_value() -> DescribeInstanceTypeOfferingsResultTypeDef:
    return {
        "InstanceTypeOfferings": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInstanceTypeOfferingsResultTypeDef(TypedDict):
    InstanceTypeOfferings: List[InstanceTypeOfferingTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceTypeOfferingTypeDef
  2. See ResponseMetadataTypeDef

DescribeMovingAddressesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeMovingAddressesResultTypeDef

def get_value() -> DescribeMovingAddressesResultTypeDef:
    return {
        "MovingAddressStatuses": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeMovingAddressesResultTypeDef(TypedDict):
    MovingAddressStatuses: List[MovingAddressStatusTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MovingAddressStatusTypeDef
  2. See ResponseMetadataTypeDef

DescribePrefixListsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePrefixListsResultTypeDef

def get_value() -> DescribePrefixListsResultTypeDef:
    return {
        "NextToken": ...,
        "PrefixLists": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribePrefixListsResultTypeDef(TypedDict):
    NextToken: str,
    PrefixLists: List[PrefixListTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PrefixListTypeDef
  2. See ResponseMetadataTypeDef

DescribeRegionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeRegionsResultTypeDef

def get_value() -> DescribeRegionsResultTypeDef:
    return {
        "Regions": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeRegionsResultTypeDef(TypedDict):
    Regions: List[RegionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RegionTypeDef
  2. See ResponseMetadataTypeDef

DescribeScheduledInstanceAvailabilityRequestDescribeScheduledInstanceAvailabilityPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeScheduledInstanceAvailabilityRequestDescribeScheduledInstanceAvailabilityPaginateTypeDef

def get_value() -> DescribeScheduledInstanceAvailabilityRequestDescribeScheduledInstanceAvailabilityPaginateTypeDef:
    return {
        "FirstSlotStartTimeRange": ...,
        "Recurrence": ...,
    }
Definition
class DescribeScheduledInstanceAvailabilityRequestDescribeScheduledInstanceAvailabilityPaginateTypeDef(TypedDict):
    FirstSlotStartTimeRange: SlotDateTimeRangeRequestTypeDef,  # (1)
    Recurrence: ScheduledInstanceRecurrenceRequestTypeDef,  # (2)
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (3)
    MaxSlotDurationInHours: NotRequired[int],
    MinSlotDurationInHours: NotRequired[int],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See SlotDateTimeRangeRequestTypeDef
  2. See ScheduledInstanceRecurrenceRequestTypeDef
  3. See FilterTypeDef
  4. See PaginatorConfigTypeDef

DescribeScheduledInstanceAvailabilityRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeScheduledInstanceAvailabilityRequestRequestTypeDef

def get_value() -> DescribeScheduledInstanceAvailabilityRequestRequestTypeDef:
    return {
        "FirstSlotStartTimeRange": ...,
        "Recurrence": ...,
    }
Definition
class DescribeScheduledInstanceAvailabilityRequestRequestTypeDef(TypedDict):
    FirstSlotStartTimeRange: SlotDateTimeRangeRequestTypeDef,  # (1)
    Recurrence: ScheduledInstanceRecurrenceRequestTypeDef,  # (2)
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (3)
    MaxResults: NotRequired[int],
    MaxSlotDurationInHours: NotRequired[int],
    MinSlotDurationInHours: NotRequired[int],
    NextToken: NotRequired[str],
  1. See SlotDateTimeRangeRequestTypeDef
  2. See ScheduledInstanceRecurrenceRequestTypeDef
  3. See FilterTypeDef

DescribeScheduledInstancesRequestDescribeScheduledInstancesPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeScheduledInstancesRequestDescribeScheduledInstancesPaginateTypeDef

def get_value() -> DescribeScheduledInstancesRequestDescribeScheduledInstancesPaginateTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeScheduledInstancesRequestDescribeScheduledInstancesPaginateTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    ScheduledInstanceIds: NotRequired[Sequence[str]],
    SlotStartTimeRange: NotRequired[SlotStartTimeRangeRequestTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See FilterTypeDef
  2. See SlotStartTimeRangeRequestTypeDef
  3. See PaginatorConfigTypeDef

DescribeScheduledInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeScheduledInstancesRequestRequestTypeDef

def get_value() -> DescribeScheduledInstancesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class DescribeScheduledInstancesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    ScheduledInstanceIds: NotRequired[Sequence[str]],
    SlotStartTimeRange: NotRequired[SlotStartTimeRangeRequestTypeDef],  # (2)
  1. See FilterTypeDef
  2. See SlotStartTimeRangeRequestTypeDef

DescribeSecurityGroupReferencesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSecurityGroupReferencesResultTypeDef

def get_value() -> DescribeSecurityGroupReferencesResultTypeDef:
    return {
        "SecurityGroupReferenceSet": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSecurityGroupReferencesResultTypeDef(TypedDict):
    SecurityGroupReferenceSet: List[SecurityGroupReferenceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SecurityGroupReferenceTypeDef
  2. See ResponseMetadataTypeDef

DescribeSnapshotAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotAttributeResultTypeDef

def get_value() -> DescribeSnapshotAttributeResultTypeDef:
    return {
        "CreateVolumePermissions": ...,
        "ProductCodes": ...,
        "SnapshotId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSnapshotAttributeResultTypeDef(TypedDict):
    CreateVolumePermissions: List[CreateVolumePermissionTypeDef],  # (1)
    ProductCodes: List[ProductCodeTypeDef],  # (2)
    SnapshotId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CreateVolumePermissionTypeDef
  2. See ProductCodeTypeDef
  3. See ResponseMetadataTypeDef

DescribeVolumeAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumeAttributeResultTypeDef

def get_value() -> DescribeVolumeAttributeResultTypeDef:
    return {
        "AutoEnableIO": ...,
        "ProductCodes": ...,
        "VolumeId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVolumeAttributeResultTypeDef(TypedDict):
    AutoEnableIO: AttributeBooleanValueTypeDef,  # (1)
    ProductCodes: List[ProductCodeTypeDef],  # (2)
    VolumeId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AttributeBooleanValueTypeDef
  2. See ProductCodeTypeDef
  3. See ResponseMetadataTypeDef

DescribeSpotPriceHistoryResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotPriceHistoryResultTypeDef

def get_value() -> DescribeSpotPriceHistoryResultTypeDef:
    return {
        "NextToken": ...,
        "SpotPriceHistory": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSpotPriceHistoryResultTypeDef(TypedDict):
    NextToken: str,
    SpotPriceHistory: List[SpotPriceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SpotPriceTypeDef
  2. See ResponseMetadataTypeDef

DescribeStoreImageTasksResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeStoreImageTasksResultTypeDef

def get_value() -> DescribeStoreImageTasksResultTypeDef:
    return {
        "StoreImageTaskResults": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeStoreImageTasksResultTypeDef(TypedDict):
    StoreImageTaskResults: List[StoreImageTaskResultTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StoreImageTaskResultTypeDef
  2. See ResponseMetadataTypeDef

DescribeTagsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTagsResultTypeDef

def get_value() -> DescribeTagsResultTypeDef:
    return {
        "NextToken": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTagsResultTypeDef(TypedDict):
    NextToken: str,
    Tags: List[TagDescriptionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeVolumesModificationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumesModificationsResultTypeDef

def get_value() -> DescribeVolumesModificationsResultTypeDef:
    return {
        "VolumesModifications": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVolumesModificationsResultTypeDef(TypedDict):
    VolumesModifications: List[VolumeModificationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VolumeModificationTypeDef
  2. See ResponseMetadataTypeDef

ModifyVolumeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVolumeResultTypeDef

def get_value() -> ModifyVolumeResultTypeDef:
    return {
        "VolumeModification": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVolumeResultTypeDef(TypedDict):
    VolumeModification: VolumeModificationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VolumeModificationTypeDef
  2. See ResponseMetadataTypeDef

FlowLogTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FlowLogTypeDef

def get_value() -> FlowLogTypeDef:
    return {
        "CreationTime": ...,
    }
Definition
class FlowLogTypeDef(TypedDict):
    CreationTime: NotRequired[datetime],
    DeliverLogsErrorMessage: NotRequired[str],
    DeliverLogsPermissionArn: NotRequired[str],
    DeliverCrossAccountRole: NotRequired[str],
    DeliverLogsStatus: NotRequired[str],
    FlowLogId: NotRequired[str],
    FlowLogStatus: NotRequired[str],
    LogGroupName: NotRequired[str],
    ResourceId: NotRequired[str],
    TrafficType: NotRequired[TrafficTypeType],  # (1)
    LogDestinationType: NotRequired[LogDestinationTypeType],  # (2)
    LogDestination: NotRequired[str],
    LogFormat: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (3)
    MaxAggregationInterval: NotRequired[int],
    DestinationOptions: NotRequired[DestinationOptionsResponseTypeDef],  # (4)
  1. See TrafficTypeType
  2. See LogDestinationTypeType
  3. See TagTypeDef
  4. See DestinationOptionsResponseTypeDef

DisableFastSnapshotRestoreStateErrorItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableFastSnapshotRestoreStateErrorItemTypeDef

def get_value() -> DisableFastSnapshotRestoreStateErrorItemTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class DisableFastSnapshotRestoreStateErrorItemTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    Error: NotRequired[DisableFastSnapshotRestoreStateErrorTypeDef],  # (1)
  1. See DisableFastSnapshotRestoreStateErrorTypeDef

DisableTransitGatewayRouteTablePropagationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableTransitGatewayRouteTablePropagationResultTypeDef

def get_value() -> DisableTransitGatewayRouteTablePropagationResultTypeDef:
    return {
        "Propagation": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableTransitGatewayRouteTablePropagationResultTypeDef(TypedDict):
    Propagation: TransitGatewayPropagationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPropagationTypeDef
  2. See ResponseMetadataTypeDef

EnableTransitGatewayRouteTablePropagationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableTransitGatewayRouteTablePropagationResultTypeDef

def get_value() -> EnableTransitGatewayRouteTablePropagationResultTypeDef:
    return {
        "Propagation": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableTransitGatewayRouteTablePropagationResultTypeDef(TypedDict):
    Propagation: TransitGatewayPropagationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPropagationTypeDef
  2. See ResponseMetadataTypeDef

DiskImageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DiskImageTypeDef

def get_value() -> DiskImageTypeDef:
    return {
        "Description": ...,
    }
Definition
class DiskImageTypeDef(TypedDict):
    Description: NotRequired[str],
    Image: NotRequired[DiskImageDetailTypeDef],  # (1)
    Volume: NotRequired[VolumeDetailTypeDef],  # (2)
  1. See DiskImageDetailTypeDef
  2. See VolumeDetailTypeDef

ImportVolumeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportVolumeRequestRequestTypeDef

def get_value() -> ImportVolumeRequestRequestTypeDef:
    return {
        "AvailabilityZone": ...,
        "Image": ...,
        "Volume": ...,
    }
Definition
class ImportVolumeRequestRequestTypeDef(TypedDict):
    AvailabilityZone: str,
    Image: DiskImageDetailTypeDef,  # (1)
    Volume: VolumeDetailTypeDef,  # (2)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See DiskImageDetailTypeDef
  2. See VolumeDetailTypeDef

ImportInstanceVolumeDetailItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportInstanceVolumeDetailItemTypeDef

def get_value() -> ImportInstanceVolumeDetailItemTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class ImportInstanceVolumeDetailItemTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    BytesConverted: NotRequired[int],
    Description: NotRequired[str],
    Image: NotRequired[DiskImageDescriptionTypeDef],  # (1)
    Status: NotRequired[str],
    StatusMessage: NotRequired[str],
    Volume: NotRequired[DiskImageVolumeDescriptionTypeDef],  # (2)
  1. See DiskImageDescriptionTypeDef
  2. See DiskImageVolumeDescriptionTypeDef

ImportVolumeTaskDetailsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportVolumeTaskDetailsTypeDef

def get_value() -> ImportVolumeTaskDetailsTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class ImportVolumeTaskDetailsTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    BytesConverted: NotRequired[int],
    Description: NotRequired[str],
    Image: NotRequired[DiskImageDescriptionTypeDef],  # (1)
    Volume: NotRequired[DiskImageVolumeDescriptionTypeDef],  # (2)
  1. See DiskImageDescriptionTypeDef
  2. See DiskImageVolumeDescriptionTypeDef

InstanceStorageInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceStorageInfoTypeDef

def get_value() -> InstanceStorageInfoTypeDef:
    return {
        "TotalSizeInGB": ...,
    }
Definition
class InstanceStorageInfoTypeDef(TypedDict):
    TotalSizeInGB: NotRequired[int],
    Disks: NotRequired[List[DiskInfoTypeDef]],  # (1)
    NvmeSupport: NotRequired[EphemeralNvmeSupportType],  # (2)
    EncryptionSupport: NotRequired[InstanceStorageEncryptionSupportType],  # (3)
  1. See DiskInfoTypeDef
  2. See EphemeralNvmeSupportType
  3. See InstanceStorageEncryptionSupportType

VpcEndpointConnectionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcEndpointConnectionTypeDef

def get_value() -> VpcEndpointConnectionTypeDef:
    return {
        "ServiceId": ...,
    }
Definition
class VpcEndpointConnectionTypeDef(TypedDict):
    ServiceId: NotRequired[str],
    VpcEndpointId: NotRequired[str],
    VpcEndpointOwner: NotRequired[str],
    VpcEndpointState: NotRequired[StateType],  # (1)
    CreationTimestamp: NotRequired[datetime],
    DnsEntries: NotRequired[List[DnsEntryTypeDef]],  # (2)
    NetworkLoadBalancerArns: NotRequired[List[str]],
    GatewayLoadBalancerArns: NotRequired[List[str]],
    IpAddressType: NotRequired[IpAddressTypeType],  # (3)
    VpcEndpointConnectionId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See StateType
  2. See DnsEntryTypeDef
  3. See IpAddressTypeType
  4. See TagTypeDef

ModifyClientVpnEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyClientVpnEndpointRequestRequestTypeDef

def get_value() -> ModifyClientVpnEndpointRequestRequestTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class ModifyClientVpnEndpointRequestRequestTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    ServerCertificateArn: NotRequired[str],
    ConnectionLogOptions: NotRequired[ConnectionLogOptionsTypeDef],  # (1)
    DnsServers: NotRequired[DnsServersOptionsModifyStructureTypeDef],  # (2)
    VpnPort: NotRequired[int],
    Description: NotRequired[str],
    SplitTunnel: NotRequired[bool],
    DryRun: NotRequired[bool],
    SecurityGroupIds: NotRequired[Sequence[str]],
    VpcId: NotRequired[str],
    SelfServicePortal: NotRequired[SelfServicePortalType],  # (3)
    ClientConnectOptions: NotRequired[ClientConnectOptionsTypeDef],  # (4)
    SessionTimeoutHours: NotRequired[int],
    ClientLoginBannerOptions: NotRequired[ClientLoginBannerOptionsTypeDef],  # (5)
  1. See ConnectionLogOptionsTypeDef
  2. See DnsServersOptionsModifyStructureTypeDef
  3. See SelfServicePortalType
  4. See ClientConnectOptionsTypeDef
  5. See ClientLoginBannerOptionsTypeDef

EbsInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EbsInfoTypeDef

def get_value() -> EbsInfoTypeDef:
    return {
        "EbsOptimizedSupport": ...,
    }
Definition
class EbsInfoTypeDef(TypedDict):
    EbsOptimizedSupport: NotRequired[EbsOptimizedSupportType],  # (1)
    EncryptionSupport: NotRequired[EbsEncryptionSupportType],  # (2)
    EbsOptimizedInfo: NotRequired[EbsOptimizedInfoTypeDef],  # (3)
    NvmeSupport: NotRequired[EbsNvmeSupportType],  # (4)
  1. See EbsOptimizedSupportType
  2. See EbsEncryptionSupportType
  3. See EbsOptimizedInfoTypeDef
  4. See EbsNvmeSupportType

InstanceBlockDeviceMappingSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceBlockDeviceMappingSpecificationTypeDef

def get_value() -> InstanceBlockDeviceMappingSpecificationTypeDef:
    return {
        "DeviceName": ...,
    }
Definition
class InstanceBlockDeviceMappingSpecificationTypeDef(TypedDict):
    DeviceName: NotRequired[str],
    Ebs: NotRequired[EbsInstanceBlockDeviceSpecificationTypeDef],  # (1)
    NoDevice: NotRequired[str],
    VirtualName: NotRequired[str],
  1. See EbsInstanceBlockDeviceSpecificationTypeDef

InstanceBlockDeviceMappingTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceBlockDeviceMappingTypeDef

def get_value() -> InstanceBlockDeviceMappingTypeDef:
    return {
        "DeviceName": ...,
    }
Definition
class InstanceBlockDeviceMappingTypeDef(TypedDict):
    DeviceName: NotRequired[str],
    Ebs: NotRequired[EbsInstanceBlockDeviceTypeDef],  # (1)
  1. See EbsInstanceBlockDeviceTypeDef

EgressOnlyInternetGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EgressOnlyInternetGatewayTypeDef

def get_value() -> EgressOnlyInternetGatewayTypeDef:
    return {
        "Attachments": ...,
    }
Definition
class EgressOnlyInternetGatewayTypeDef(TypedDict):
    Attachments: NotRequired[List[InternetGatewayAttachmentTypeDef]],  # (1)
    EgressOnlyInternetGatewayId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See InternetGatewayAttachmentTypeDef
  2. See TagTypeDef

InternetGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InternetGatewayTypeDef

def get_value() -> InternetGatewayTypeDef:
    return {
        "Attachments": ...,
    }
Definition
class InternetGatewayTypeDef(TypedDict):
    Attachments: NotRequired[List[InternetGatewayAttachmentTypeDef]],  # (1)
    InternetGatewayId: NotRequired[str],
    OwnerId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See InternetGatewayAttachmentTypeDef
  2. See TagTypeDef

ElasticGpusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ElasticGpusTypeDef

def get_value() -> ElasticGpusTypeDef:
    return {
        "ElasticGpuId": ...,
    }
Definition
class ElasticGpusTypeDef(TypedDict):
    ElasticGpuId: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    ElasticGpuType: NotRequired[str],
    ElasticGpuHealth: NotRequired[ElasticGpuHealthTypeDef],  # (1)
    ElasticGpuState: NotRequired[ElasticGpuStateType],  # (2)
    InstanceId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See ElasticGpuHealthTypeDef
  2. See ElasticGpuStateType
  3. See TagTypeDef

EnaSrdSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnaSrdSpecificationTypeDef

def get_value() -> EnaSrdSpecificationTypeDef:
    return {
        "EnaSrdEnabled": ...,
    }
Definition
class EnaSrdSpecificationTypeDef(TypedDict):
    EnaSrdEnabled: NotRequired[bool],
    EnaSrdUdpSpecification: NotRequired[EnaSrdUdpSpecificationTypeDef],  # (1)
  1. See EnaSrdUdpSpecificationTypeDef

EnableFastLaunchRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableFastLaunchRequestRequestTypeDef

def get_value() -> EnableFastLaunchRequestRequestTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class EnableFastLaunchRequestRequestTypeDef(TypedDict):
    ImageId: str,
    ResourceType: NotRequired[str],
    SnapshotConfiguration: NotRequired[FastLaunchSnapshotConfigurationRequestTypeDef],  # (1)
    LaunchTemplate: NotRequired[FastLaunchLaunchTemplateSpecificationRequestTypeDef],  # (2)
    MaxParallelLaunches: NotRequired[int],
    DryRun: NotRequired[bool],
  1. See FastLaunchSnapshotConfigurationRequestTypeDef
  2. See FastLaunchLaunchTemplateSpecificationRequestTypeDef

EnableFastSnapshotRestoreStateErrorItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableFastSnapshotRestoreStateErrorItemTypeDef

def get_value() -> EnableFastSnapshotRestoreStateErrorItemTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class EnableFastSnapshotRestoreStateErrorItemTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    Error: NotRequired[EnableFastSnapshotRestoreStateErrorTypeDef],  # (1)
  1. See EnableFastSnapshotRestoreStateErrorTypeDef

HistoryRecordEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HistoryRecordEntryTypeDef

def get_value() -> HistoryRecordEntryTypeDef:
    return {
        "EventInformation": ...,
    }
Definition
class HistoryRecordEntryTypeDef(TypedDict):
    EventInformation: NotRequired[EventInformationTypeDef],  # (1)
    EventType: NotRequired[FleetEventTypeType],  # (2)
    Timestamp: NotRequired[datetime],
  1. See EventInformationTypeDef
  2. See FleetEventTypeType

HistoryRecordTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HistoryRecordTypeDef

def get_value() -> HistoryRecordTypeDef:
    return {
        "EventInformation": ...,
    }
Definition
class HistoryRecordTypeDef(TypedDict):
    EventInformation: NotRequired[EventInformationTypeDef],  # (1)
    EventType: NotRequired[EventTypeType],  # (2)
    Timestamp: NotRequired[datetime],
  1. See EventInformationTypeDef
  2. See EventTypeType

ExportImageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportImageResultTypeDef

def get_value() -> ExportImageResultTypeDef:
    return {
        "Description": ...,
        "DiskImageFormat": ...,
        "ExportImageTaskId": ...,
        "ImageId": ...,
        "RoleName": ...,
        "Progress": ...,
        "S3ExportLocation": ...,
        "Status": ...,
        "StatusMessage": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ExportImageResultTypeDef(TypedDict):
    Description: str,
    DiskImageFormat: DiskImageFormatType,  # (1)
    ExportImageTaskId: str,
    ImageId: str,
    RoleName: str,
    Progress: str,
    S3ExportLocation: ExportTaskS3LocationTypeDef,  # (2)
    Status: str,
    StatusMessage: str,
    Tags: List[TagTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See DiskImageFormatType
  2. See ExportTaskS3LocationTypeDef
  3. See TagTypeDef
  4. See ResponseMetadataTypeDef

ExportImageTaskTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportImageTaskTypeDef

def get_value() -> ExportImageTaskTypeDef:
    return {
        "Description": ...,
    }
Definition
class ExportImageTaskTypeDef(TypedDict):
    Description: NotRequired[str],
    ExportImageTaskId: NotRequired[str],
    ImageId: NotRequired[str],
    Progress: NotRequired[str],
    S3ExportLocation: NotRequired[ExportTaskS3LocationTypeDef],  # (1)
    Status: NotRequired[str],
    StatusMessage: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See ExportTaskS3LocationTypeDef
  2. See TagTypeDef

ExportTaskTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportTaskTypeDef

def get_value() -> ExportTaskTypeDef:
    return {
        "Description": ...,
    }
Definition
class ExportTaskTypeDef(TypedDict):
    Description: NotRequired[str],
    ExportTaskId: NotRequired[str],
    ExportToS3Task: NotRequired[ExportToS3TaskTypeDef],  # (1)
    InstanceExportDetails: NotRequired[InstanceExportDetailsTypeDef],  # (2)
    State: NotRequired[ExportTaskStateType],  # (3)
    StatusMessage: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See ExportToS3TaskTypeDef
  2. See InstanceExportDetailsTypeDef
  3. See ExportTaskStateType
  4. See TagTypeDef

FleetSpotMaintenanceStrategiesRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetSpotMaintenanceStrategiesRequestTypeDef

def get_value() -> FleetSpotMaintenanceStrategiesRequestTypeDef:
    return {
        "CapacityRebalance": ...,
    }
Definition
class FleetSpotMaintenanceStrategiesRequestTypeDef(TypedDict):
    CapacityRebalance: NotRequired[FleetSpotCapacityRebalanceRequestTypeDef],  # (1)
  1. See FleetSpotCapacityRebalanceRequestTypeDef

FleetSpotMaintenanceStrategiesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetSpotMaintenanceStrategiesTypeDef

def get_value() -> FleetSpotMaintenanceStrategiesTypeDef:
    return {
        "CapacityRebalance": ...,
    }
Definition
class FleetSpotMaintenanceStrategiesTypeDef(TypedDict):
    CapacityRebalance: NotRequired[FleetSpotCapacityRebalanceTypeDef],  # (1)
  1. See FleetSpotCapacityRebalanceTypeDef

FpgaDeviceInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FpgaDeviceInfoTypeDef

def get_value() -> FpgaDeviceInfoTypeDef:
    return {
        "Name": ...,
    }
Definition
class FpgaDeviceInfoTypeDef(TypedDict):
    Name: NotRequired[str],
    Manufacturer: NotRequired[str],
    Count: NotRequired[int],
    MemoryInfo: NotRequired[FpgaDeviceMemoryInfoTypeDef],  # (1)
  1. See FpgaDeviceMemoryInfoTypeDef

FpgaImageAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FpgaImageAttributeTypeDef

def get_value() -> FpgaImageAttributeTypeDef:
    return {
        "FpgaImageId": ...,
    }
Definition
class FpgaImageAttributeTypeDef(TypedDict):
    FpgaImageId: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    LoadPermissions: NotRequired[List[LoadPermissionTypeDef]],  # (1)
    ProductCodes: NotRequired[List[ProductCodeTypeDef]],  # (2)
  1. See LoadPermissionTypeDef
  2. See ProductCodeTypeDef

FpgaImageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FpgaImageTypeDef

def get_value() -> FpgaImageTypeDef:
    return {
        "FpgaImageId": ...,
    }
Definition
class FpgaImageTypeDef(TypedDict):
    FpgaImageId: NotRequired[str],
    FpgaImageGlobalId: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    ShellVersion: NotRequired[str],
    PciId: NotRequired[PciIdTypeDef],  # (1)
    State: NotRequired[FpgaImageStateTypeDef],  # (2)
    CreateTime: NotRequired[datetime],
    UpdateTime: NotRequired[datetime],
    OwnerId: NotRequired[str],
    OwnerAlias: NotRequired[str],
    ProductCodes: NotRequired[List[ProductCodeTypeDef]],  # (3)
    Tags: NotRequired[List[TagTypeDef]],  # (4)
    Public: NotRequired[bool],
    DataRetentionSupport: NotRequired[bool],
    InstanceTypes: NotRequired[List[str]],
  1. See PciIdTypeDef
  2. See FpgaImageStateTypeDef
  3. See ProductCodeTypeDef
  4. See TagTypeDef

GetAssociatedIpv6PoolCidrsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetAssociatedIpv6PoolCidrsResultTypeDef

def get_value() -> GetAssociatedIpv6PoolCidrsResultTypeDef:
    return {
        "Ipv6CidrAssociations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAssociatedIpv6PoolCidrsResultTypeDef(TypedDict):
    Ipv6CidrAssociations: List[Ipv6CidrAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See Ipv6CidrAssociationTypeDef
  2. See ResponseMetadataTypeDef

GetCapacityReservationUsageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetCapacityReservationUsageResultTypeDef

def get_value() -> GetCapacityReservationUsageResultTypeDef:
    return {
        "NextToken": ...,
        "CapacityReservationId": ...,
        "InstanceType": ...,
        "TotalInstanceCount": ...,
        "AvailableInstanceCount": ...,
        "State": ...,
        "InstanceUsages": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetCapacityReservationUsageResultTypeDef(TypedDict):
    NextToken: str,
    CapacityReservationId: str,
    InstanceType: str,
    TotalInstanceCount: int,
    AvailableInstanceCount: int,
    State: CapacityReservationStateType,  # (1)
    InstanceUsages: List[InstanceUsageTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CapacityReservationStateType
  2. See InstanceUsageTypeDef
  3. See ResponseMetadataTypeDef

GetDefaultCreditSpecificationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetDefaultCreditSpecificationResultTypeDef

def get_value() -> GetDefaultCreditSpecificationResultTypeDef:
    return {
        "InstanceFamilyCreditSpecification": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetDefaultCreditSpecificationResultTypeDef(TypedDict):
    InstanceFamilyCreditSpecification: InstanceFamilyCreditSpecificationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceFamilyCreditSpecificationTypeDef
  2. See ResponseMetadataTypeDef

ModifyDefaultCreditSpecificationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyDefaultCreditSpecificationResultTypeDef

def get_value() -> ModifyDefaultCreditSpecificationResultTypeDef:
    return {
        "InstanceFamilyCreditSpecification": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyDefaultCreditSpecificationResultTypeDef(TypedDict):
    InstanceFamilyCreditSpecification: InstanceFamilyCreditSpecificationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceFamilyCreditSpecificationTypeDef
  2. See ResponseMetadataTypeDef

GetHostReservationPurchasePreviewResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetHostReservationPurchasePreviewResultTypeDef

def get_value() -> GetHostReservationPurchasePreviewResultTypeDef:
    return {
        "CurrencyCode": ...,
        "Purchase": ...,
        "TotalHourlyPrice": ...,
        "TotalUpfrontPrice": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetHostReservationPurchasePreviewResultTypeDef(TypedDict):
    CurrencyCode: CurrencyCodeValuesType,  # (1)
    Purchase: List[PurchaseTypeDef],  # (2)
    TotalHourlyPrice: str,
    TotalUpfrontPrice: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CurrencyCodeValuesType
  2. See PurchaseTypeDef
  3. See ResponseMetadataTypeDef

PurchaseHostReservationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PurchaseHostReservationResultTypeDef

def get_value() -> PurchaseHostReservationResultTypeDef:
    return {
        "ClientToken": ...,
        "CurrencyCode": ...,
        "Purchase": ...,
        "TotalHourlyPrice": ...,
        "TotalUpfrontPrice": ...,
        "ResponseMetadata": ...,
    }
Definition
class PurchaseHostReservationResultTypeDef(TypedDict):
    ClientToken: str,
    CurrencyCode: CurrencyCodeValuesType,  # (1)
    Purchase: List[PurchaseTypeDef],  # (2)
    TotalHourlyPrice: str,
    TotalUpfrontPrice: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CurrencyCodeValuesType
  2. See PurchaseTypeDef
  3. See ResponseMetadataTypeDef

GetInstanceTypesFromInstanceRequirementsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetInstanceTypesFromInstanceRequirementsResultTypeDef

def get_value() -> GetInstanceTypesFromInstanceRequirementsResultTypeDef:
    return {
        "InstanceTypes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetInstanceTypesFromInstanceRequirementsResultTypeDef(TypedDict):
    InstanceTypes: List[InstanceTypeInfoFromInstanceRequirementsTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceTypeInfoFromInstanceRequirementsTypeDef
  2. See ResponseMetadataTypeDef

GetIpamAddressHistoryResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamAddressHistoryResultTypeDef

def get_value() -> GetIpamAddressHistoryResultTypeDef:
    return {
        "HistoryRecords": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetIpamAddressHistoryResultTypeDef(TypedDict):
    HistoryRecords: List[IpamAddressHistoryRecordTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamAddressHistoryRecordTypeDef
  2. See ResponseMetadataTypeDef

GetManagedPrefixListAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetManagedPrefixListAssociationsResultTypeDef

def get_value() -> GetManagedPrefixListAssociationsResultTypeDef:
    return {
        "PrefixListAssociations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetManagedPrefixListAssociationsResultTypeDef(TypedDict):
    PrefixListAssociations: List[PrefixListAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PrefixListAssociationTypeDef
  2. See ResponseMetadataTypeDef

GetManagedPrefixListEntriesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetManagedPrefixListEntriesResultTypeDef

def get_value() -> GetManagedPrefixListEntriesResultTypeDef:
    return {
        "Entries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetManagedPrefixListEntriesResultTypeDef(TypedDict):
    Entries: List[PrefixListEntryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PrefixListEntryTypeDef
  2. See ResponseMetadataTypeDef

ReservedInstanceReservationValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservedInstanceReservationValueTypeDef

def get_value() -> ReservedInstanceReservationValueTypeDef:
    return {
        "ReservationValue": ...,
    }
Definition
class ReservedInstanceReservationValueTypeDef(TypedDict):
    ReservationValue: NotRequired[ReservationValueTypeDef],  # (1)
    ReservedInstanceId: NotRequired[str],
  1. See ReservationValueTypeDef

GetSpotPlacementScoresResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetSpotPlacementScoresResultTypeDef

def get_value() -> GetSpotPlacementScoresResultTypeDef:
    return {
        "SpotPlacementScores": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSpotPlacementScoresResultTypeDef(TypedDict):
    SpotPlacementScores: List[SpotPlacementScoreTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SpotPlacementScoreTypeDef
  2. See ResponseMetadataTypeDef

GetTransitGatewayAttachmentPropagationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayAttachmentPropagationsResultTypeDef

def get_value() -> GetTransitGatewayAttachmentPropagationsResultTypeDef:
    return {
        "TransitGatewayAttachmentPropagations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTransitGatewayAttachmentPropagationsResultTypeDef(TypedDict):
    TransitGatewayAttachmentPropagations: List[TransitGatewayAttachmentPropagationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayAttachmentPropagationTypeDef
  2. See ResponseMetadataTypeDef

GetTransitGatewayRouteTableAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayRouteTableAssociationsResultTypeDef

def get_value() -> GetTransitGatewayRouteTableAssociationsResultTypeDef:
    return {
        "Associations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTransitGatewayRouteTableAssociationsResultTypeDef(TypedDict):
    Associations: List[TransitGatewayRouteTableAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTableAssociationTypeDef
  2. See ResponseMetadataTypeDef

GetTransitGatewayRouteTablePropagationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayRouteTablePropagationsResultTypeDef

def get_value() -> GetTransitGatewayRouteTablePropagationsResultTypeDef:
    return {
        "TransitGatewayRouteTablePropagations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTransitGatewayRouteTablePropagationsResultTypeDef(TypedDict):
    TransitGatewayRouteTablePropagations: List[TransitGatewayRouteTablePropagationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTablePropagationTypeDef
  2. See ResponseMetadataTypeDef

GetVpnConnectionDeviceTypesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetVpnConnectionDeviceTypesResultTypeDef

def get_value() -> GetVpnConnectionDeviceTypesResultTypeDef:
    return {
        "VpnConnectionDeviceTypes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetVpnConnectionDeviceTypesResultTypeDef(TypedDict):
    VpnConnectionDeviceTypes: List[VpnConnectionDeviceTypeTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpnConnectionDeviceTypeTypeDef
  2. See ResponseMetadataTypeDef

GpuDeviceInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GpuDeviceInfoTypeDef

def get_value() -> GpuDeviceInfoTypeDef:
    return {
        "Name": ...,
    }
Definition
class GpuDeviceInfoTypeDef(TypedDict):
    Name: NotRequired[str],
    Manufacturer: NotRequired[str],
    Count: NotRequired[int],
    MemoryInfo: NotRequired[GpuDeviceMemoryInfoTypeDef],  # (1)
  1. See GpuDeviceMemoryInfoTypeDef

IamInstanceProfileAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IamInstanceProfileAssociationTypeDef

def get_value() -> IamInstanceProfileAssociationTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class IamInstanceProfileAssociationTypeDef(TypedDict):
    AssociationId: NotRequired[str],
    InstanceId: NotRequired[str],
    IamInstanceProfile: NotRequired[IamInstanceProfileTypeDef],  # (1)
    State: NotRequired[IamInstanceProfileAssociationStateType],  # (2)
    Timestamp: NotRequired[datetime],
  1. See IamInstanceProfileTypeDef
  2. See IamInstanceProfileAssociationStateType

LaunchPermissionModificationsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchPermissionModificationsTypeDef

def get_value() -> LaunchPermissionModificationsTypeDef:
    return {
        "Add": ...,
    }
Definition
class LaunchPermissionModificationsTypeDef(TypedDict):
    Add: NotRequired[Sequence[LaunchPermissionTypeDef]],  # (1)
    Remove: NotRequired[Sequence[LaunchPermissionTypeDef]],  # (1)
  1. See LaunchPermissionTypeDef
  2. See LaunchPermissionTypeDef

ImageDiskContainerTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImageDiskContainerTypeDef

def get_value() -> ImageDiskContainerTypeDef:
    return {
        "Description": ...,
    }
Definition
class ImageDiskContainerTypeDef(TypedDict):
    Description: NotRequired[str],
    DeviceName: NotRequired[str],
    Format: NotRequired[str],
    SnapshotId: NotRequired[str],
    Url: NotRequired[str],
    UserBucket: NotRequired[UserBucketTypeDef],  # (1)
  1. See UserBucketTypeDef

SnapshotDiskContainerTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SnapshotDiskContainerTypeDef

def get_value() -> SnapshotDiskContainerTypeDef:
    return {
        "Description": ...,
    }
Definition
class SnapshotDiskContainerTypeDef(TypedDict):
    Description: NotRequired[str],
    Format: NotRequired[str],
    Url: NotRequired[str],
    UserBucket: NotRequired[UserBucketTypeDef],  # (1)
  1. See UserBucketTypeDef

ListImagesInRecycleBinResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ListImagesInRecycleBinResultTypeDef

def get_value() -> ListImagesInRecycleBinResultTypeDef:
    return {
        "Images": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListImagesInRecycleBinResultTypeDef(TypedDict):
    Images: List[ImageRecycleBinInfoTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImageRecycleBinInfoTypeDef
  2. See ResponseMetadataTypeDef

LocalGatewayRouteTableTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LocalGatewayRouteTableTypeDef

def get_value() -> LocalGatewayRouteTableTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
    }
Definition
class LocalGatewayRouteTableTypeDef(TypedDict):
    LocalGatewayRouteTableId: NotRequired[str],
    LocalGatewayRouteTableArn: NotRequired[str],
    LocalGatewayId: NotRequired[str],
    OutpostArn: NotRequired[str],
    OwnerId: NotRequired[str],
    State: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
    Mode: NotRequired[LocalGatewayRouteTableModeType],  # (2)
    StateReason: NotRequired[StateReasonTypeDef],  # (3)
  1. See TagTypeDef
  2. See LocalGatewayRouteTableModeType
  3. See StateReasonTypeDef

ImportInstanceLaunchSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportInstanceLaunchSpecificationTypeDef

def get_value() -> ImportInstanceLaunchSpecificationTypeDef:
    return {
        "AdditionalInfo": ...,
    }
Definition
class ImportInstanceLaunchSpecificationTypeDef(TypedDict):
    AdditionalInfo: NotRequired[str],
    Architecture: NotRequired[ArchitectureValuesType],  # (1)
    GroupIds: NotRequired[Sequence[str]],
    GroupNames: NotRequired[Sequence[str]],
    InstanceInitiatedShutdownBehavior: NotRequired[ShutdownBehaviorType],  # (2)
    InstanceType: NotRequired[InstanceTypeType],  # (3)
    Monitoring: NotRequired[bool],
    Placement: NotRequired[PlacementTypeDef],  # (4)
    PrivateIpAddress: NotRequired[str],
    SubnetId: NotRequired[str],
    UserData: NotRequired[UserDataTypeDef],  # (5)
  1. See ArchitectureValuesType
  2. See ShutdownBehaviorType
  3. See InstanceTypeType
  4. See PlacementTypeDef
  5. See UserDataTypeDef

InferenceAcceleratorInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InferenceAcceleratorInfoTypeDef

def get_value() -> InferenceAcceleratorInfoTypeDef:
    return {
        "Accelerators": ...,
    }
Definition
class InferenceAcceleratorInfoTypeDef(TypedDict):
    Accelerators: NotRequired[List[InferenceDeviceInfoTypeDef]],  # (1)
  1. See InferenceDeviceInfoTypeDef

ModifyInstanceCreditSpecificationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceCreditSpecificationRequestRequestTypeDef

def get_value() -> ModifyInstanceCreditSpecificationRequestRequestTypeDef:
    return {
        "InstanceCreditSpecifications": ...,
    }
Definition
class ModifyInstanceCreditSpecificationRequestRequestTypeDef(TypedDict):
    InstanceCreditSpecifications: Sequence[InstanceCreditSpecificationRequestTypeDef],  # (1)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
  1. See InstanceCreditSpecificationRequestTypeDef

LaunchTemplateInstanceNetworkInterfaceSpecificationRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateInstanceNetworkInterfaceSpecificationRequestTypeDef

def get_value() -> LaunchTemplateInstanceNetworkInterfaceSpecificationRequestTypeDef:
    return {
        "AssociateCarrierIpAddress": ...,
    }
Definition
class LaunchTemplateInstanceNetworkInterfaceSpecificationRequestTypeDef(TypedDict):
    AssociateCarrierIpAddress: NotRequired[bool],
    AssociatePublicIpAddress: NotRequired[bool],
    DeleteOnTermination: NotRequired[bool],
    Description: NotRequired[str],
    DeviceIndex: NotRequired[int],
    Groups: NotRequired[Sequence[str]],
    InterfaceType: NotRequired[str],
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[Sequence[InstanceIpv6AddressRequestTypeDef]],  # (1)
    NetworkInterfaceId: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddresses: NotRequired[Sequence[PrivateIpAddressSpecificationTypeDef]],  # (2)
    SecondaryPrivateIpAddressCount: NotRequired[int],
    SubnetId: NotRequired[str],
    NetworkCardIndex: NotRequired[int],
    Ipv4Prefixes: NotRequired[Sequence[Ipv4PrefixSpecificationRequestTypeDef]],  # (3)
    Ipv4PrefixCount: NotRequired[int],
    Ipv6Prefixes: NotRequired[Sequence[Ipv6PrefixSpecificationRequestTypeDef]],  # (4)
    Ipv6PrefixCount: NotRequired[int],
  1. See InstanceIpv6AddressRequestTypeDef
  2. See PrivateIpAddressSpecificationTypeDef
  3. See Ipv4PrefixSpecificationRequestTypeDef
  4. See Ipv6PrefixSpecificationRequestTypeDef

InstanceMarketOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceMarketOptionsRequestTypeDef

def get_value() -> InstanceMarketOptionsRequestTypeDef:
    return {
        "MarketType": ...,
    }
Definition
class InstanceMarketOptionsRequestTypeDef(TypedDict):
    MarketType: NotRequired[MarketTypeType],  # (1)
    SpotOptions: NotRequired[SpotMarketOptionsTypeDef],  # (2)
  1. See MarketTypeType
  2. See SpotMarketOptionsTypeDef

ModifyInstanceMetadataOptionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceMetadataOptionsResultTypeDef

def get_value() -> ModifyInstanceMetadataOptionsResultTypeDef:
    return {
        "InstanceId": ...,
        "InstanceMetadataOptions": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyInstanceMetadataOptionsResultTypeDef(TypedDict):
    InstanceId: str,
    InstanceMetadataOptions: InstanceMetadataOptionsResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceMetadataOptionsResponseTypeDef
  2. See ResponseMetadataTypeDef

InstanceMonitoringTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceMonitoringTypeDef

def get_value() -> InstanceMonitoringTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class InstanceMonitoringTypeDef(TypedDict):
    InstanceId: NotRequired[str],
    Monitoring: NotRequired[MonitoringTypeDef],  # (1)
  1. See MonitoringTypeDef

InstancePrivateIpAddressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstancePrivateIpAddressTypeDef

def get_value() -> InstancePrivateIpAddressTypeDef:
    return {
        "Association": ...,
    }
Definition
class InstancePrivateIpAddressTypeDef(TypedDict):
    Association: NotRequired[InstanceNetworkInterfaceAssociationTypeDef],  # (1)
    Primary: NotRequired[bool],
    PrivateDnsName: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
  1. See InstanceNetworkInterfaceAssociationTypeDef

InstanceRequirementsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceRequirementsRequestTypeDef

def get_value() -> InstanceRequirementsRequestTypeDef:
    return {
        "VCpuCount": ...,
        "MemoryMiB": ...,
    }
Definition
class InstanceRequirementsRequestTypeDef(TypedDict):
    VCpuCount: VCpuCountRangeRequestTypeDef,  # (1)
    MemoryMiB: MemoryMiBRequestTypeDef,  # (2)
    CpuManufacturers: NotRequired[Sequence[CpuManufacturerType]],  # (3)
    MemoryGiBPerVCpu: NotRequired[MemoryGiBPerVCpuRequestTypeDef],  # (4)
    ExcludedInstanceTypes: NotRequired[Sequence[str]],
    InstanceGenerations: NotRequired[Sequence[InstanceGenerationType]],  # (5)
    SpotMaxPricePercentageOverLowestPrice: NotRequired[int],
    OnDemandMaxPricePercentageOverLowestPrice: NotRequired[int],
    BareMetal: NotRequired[BareMetalType],  # (6)
    BurstablePerformance: NotRequired[BurstablePerformanceType],  # (7)
    RequireHibernateSupport: NotRequired[bool],
    NetworkInterfaceCount: NotRequired[NetworkInterfaceCountRequestTypeDef],  # (8)
    LocalStorage: NotRequired[LocalStorageType],  # (9)
    LocalStorageTypes: NotRequired[Sequence[LocalStorageTypeType]],  # (10)
    TotalLocalStorageGB: NotRequired[TotalLocalStorageGBRequestTypeDef],  # (11)
    BaselineEbsBandwidthMbps: NotRequired[BaselineEbsBandwidthMbpsRequestTypeDef],  # (12)
    AcceleratorTypes: NotRequired[Sequence[AcceleratorTypeType]],  # (13)
    AcceleratorCount: NotRequired[AcceleratorCountRequestTypeDef],  # (14)
    AcceleratorManufacturers: NotRequired[Sequence[AcceleratorManufacturerType]],  # (15)
    AcceleratorNames: NotRequired[Sequence[AcceleratorNameType]],  # (16)
    AcceleratorTotalMemoryMiB: NotRequired[AcceleratorTotalMemoryMiBRequestTypeDef],  # (17)
    NetworkBandwidthGbps: NotRequired[NetworkBandwidthGbpsRequestTypeDef],  # (18)
    AllowedInstanceTypes: NotRequired[Sequence[str]],
  1. See VCpuCountRangeRequestTypeDef
  2. See MemoryMiBRequestTypeDef
  3. See CpuManufacturerType
  4. See MemoryGiBPerVCpuRequestTypeDef
  5. See InstanceGenerationType
  6. See BareMetalType
  7. See BurstablePerformanceType
  8. See NetworkInterfaceCountRequestTypeDef
  9. See LocalStorageType
  10. See LocalStorageTypeType
  11. See TotalLocalStorageGBRequestTypeDef
  12. See BaselineEbsBandwidthMbpsRequestTypeDef
  13. See AcceleratorTypeType
  14. See AcceleratorCountRequestTypeDef
  15. See AcceleratorManufacturerType
  16. See AcceleratorNameType
  17. See AcceleratorTotalMemoryMiBRequestTypeDef
  18. See NetworkBandwidthGbpsRequestTypeDef

InstanceRequirementsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceRequirementsTypeDef

def get_value() -> InstanceRequirementsTypeDef:
    return {
        "VCpuCount": ...,
    }
Definition
class InstanceRequirementsTypeDef(TypedDict):
    VCpuCount: NotRequired[VCpuCountRangeTypeDef],  # (1)
    MemoryMiB: NotRequired[MemoryMiBTypeDef],  # (2)
    CpuManufacturers: NotRequired[List[CpuManufacturerType]],  # (3)
    MemoryGiBPerVCpu: NotRequired[MemoryGiBPerVCpuTypeDef],  # (4)
    ExcludedInstanceTypes: NotRequired[List[str]],
    InstanceGenerations: NotRequired[List[InstanceGenerationType]],  # (5)
    SpotMaxPricePercentageOverLowestPrice: NotRequired[int],
    OnDemandMaxPricePercentageOverLowestPrice: NotRequired[int],
    BareMetal: NotRequired[BareMetalType],  # (6)
    BurstablePerformance: NotRequired[BurstablePerformanceType],  # (7)
    RequireHibernateSupport: NotRequired[bool],
    NetworkInterfaceCount: NotRequired[NetworkInterfaceCountTypeDef],  # (8)
    LocalStorage: NotRequired[LocalStorageType],  # (9)
    LocalStorageTypes: NotRequired[List[LocalStorageTypeType]],  # (10)
    TotalLocalStorageGB: NotRequired[TotalLocalStorageGBTypeDef],  # (11)
    BaselineEbsBandwidthMbps: NotRequired[BaselineEbsBandwidthMbpsTypeDef],  # (12)
    AcceleratorTypes: NotRequired[List[AcceleratorTypeType]],  # (13)
    AcceleratorCount: NotRequired[AcceleratorCountTypeDef],  # (14)
    AcceleratorManufacturers: NotRequired[List[AcceleratorManufacturerType]],  # (15)
    AcceleratorNames: NotRequired[List[AcceleratorNameType]],  # (16)
    AcceleratorTotalMemoryMiB: NotRequired[AcceleratorTotalMemoryMiBTypeDef],  # (17)
    NetworkBandwidthGbps: NotRequired[NetworkBandwidthGbpsTypeDef],  # (18)
    AllowedInstanceTypes: NotRequired[List[str]],
  1. See VCpuCountRangeTypeDef
  2. See MemoryMiBTypeDef
  3. See CpuManufacturerType
  4. See MemoryGiBPerVCpuTypeDef
  5. See InstanceGenerationType
  6. See BareMetalType
  7. See BurstablePerformanceType
  8. See NetworkInterfaceCountTypeDef
  9. See LocalStorageType
  10. See LocalStorageTypeType
  11. See TotalLocalStorageGBTypeDef
  12. See BaselineEbsBandwidthMbpsTypeDef
  13. See AcceleratorTypeType
  14. See AcceleratorCountTypeDef
  15. See AcceleratorManufacturerType
  16. See AcceleratorNameType
  17. See AcceleratorTotalMemoryMiBTypeDef
  18. See NetworkBandwidthGbpsTypeDef

InstanceStateChangeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceStateChangeTypeDef

def get_value() -> InstanceStateChangeTypeDef:
    return {
        "CurrentState": ...,
    }
Definition
class InstanceStateChangeTypeDef(TypedDict):
    CurrentState: NotRequired[InstanceStateTypeDef],  # (1)
    InstanceId: NotRequired[str],
    PreviousState: NotRequired[InstanceStateTypeDef],  # (1)
  1. See InstanceStateTypeDef
  2. See InstanceStateTypeDef

InstanceStatusSummaryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceStatusSummaryTypeDef

def get_value() -> InstanceStatusSummaryTypeDef:
    return {
        "Details": ...,
    }
Definition
class InstanceStatusSummaryTypeDef(TypedDict):
    Details: NotRequired[List[InstanceStatusDetailsTypeDef]],  # (1)
    Status: NotRequired[SummaryStatusType],  # (2)
  1. See InstanceStatusDetailsTypeDef
  2. See SummaryStatusType

ModifyInstanceEventStartTimeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceEventStartTimeResultTypeDef

def get_value() -> ModifyInstanceEventStartTimeResultTypeDef:
    return {
        "Event": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyInstanceEventStartTimeResultTypeDef(TypedDict):
    Event: InstanceStatusEventTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceStatusEventTypeDef
  2. See ResponseMetadataTypeDef

IpPermissionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpPermissionTypeDef

def get_value() -> IpPermissionTypeDef:
    return {
        "FromPort": ...,
    }
Definition
class IpPermissionTypeDef(TypedDict):
    FromPort: NotRequired[int],
    IpProtocol: NotRequired[str],
    IpRanges: NotRequired[Sequence[IpRangeTypeDef]],  # (1)
    Ipv6Ranges: NotRequired[Sequence[Ipv6RangeTypeDef]],  # (2)
    PrefixListIds: NotRequired[Sequence[PrefixListIdTypeDef]],  # (3)
    ToPort: NotRequired[int],
    UserIdGroupPairs: NotRequired[Sequence[UserIdGroupPairTypeDef]],  # (4)
  1. See IpRangeTypeDef
  2. See Ipv6RangeTypeDef
  3. See PrefixListIdTypeDef
  4. See UserIdGroupPairTypeDef

StaleIpPermissionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StaleIpPermissionTypeDef

def get_value() -> StaleIpPermissionTypeDef:
    return {
        "FromPort": ...,
    }
Definition
class StaleIpPermissionTypeDef(TypedDict):
    FromPort: NotRequired[int],
    IpProtocol: NotRequired[str],
    IpRanges: NotRequired[List[str]],
    PrefixListIds: NotRequired[List[str]],
    ToPort: NotRequired[int],
    UserIdGroupPairs: NotRequired[List[UserIdGroupPairTypeDef]],  # (1)
  1. See UserIdGroupPairTypeDef

ProvisionIpamPoolCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ProvisionIpamPoolCidrRequestRequestTypeDef

def get_value() -> ProvisionIpamPoolCidrRequestRequestTypeDef:
    return {
        "IpamPoolId": ...,
    }
Definition
class ProvisionIpamPoolCidrRequestRequestTypeDef(TypedDict):
    IpamPoolId: str,
    DryRun: NotRequired[bool],
    Cidr: NotRequired[str],
    CidrAuthorizationContext: NotRequired[IpamCidrAuthorizationContextTypeDef],  # (1)
    NetmaskLength: NotRequired[int],
    ClientToken: NotRequired[str],
  1. See IpamCidrAuthorizationContextTypeDef

IpamDiscoveredAccountTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamDiscoveredAccountTypeDef

def get_value() -> IpamDiscoveredAccountTypeDef:
    return {
        "AccountId": ...,
    }
Definition
class IpamDiscoveredAccountTypeDef(TypedDict):
    AccountId: NotRequired[str],
    DiscoveryRegion: NotRequired[str],
    FailureReason: NotRequired[IpamDiscoveryFailureReasonTypeDef],  # (1)
    LastAttemptedDiscoveryTime: NotRequired[datetime],
    LastSuccessfulDiscoveryTime: NotRequired[datetime],
  1. See IpamDiscoveryFailureReasonTypeDef

IpamDiscoveredResourceCidrTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamDiscoveredResourceCidrTypeDef

def get_value() -> IpamDiscoveredResourceCidrTypeDef:
    return {
        "IpamResourceDiscoveryId": ...,
    }
Definition
class IpamDiscoveredResourceCidrTypeDef(TypedDict):
    IpamResourceDiscoveryId: NotRequired[str],
    ResourceRegion: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceOwnerId: NotRequired[str],
    ResourceCidr: NotRequired[str],
    ResourceType: NotRequired[IpamResourceTypeType],  # (1)
    ResourceTags: NotRequired[List[IpamResourceTagTypeDef]],  # (2)
    IpUsage: NotRequired[float],
    VpcId: NotRequired[str],
    SampleTime: NotRequired[datetime],
  1. See IpamResourceTypeType
  2. See IpamResourceTagTypeDef

IpamPoolTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamPoolTypeDef

def get_value() -> IpamPoolTypeDef:
    return {
        "OwnerId": ...,
    }
Definition
class IpamPoolTypeDef(TypedDict):
    OwnerId: NotRequired[str],
    IpamPoolId: NotRequired[str],
    SourceIpamPoolId: NotRequired[str],
    IpamPoolArn: NotRequired[str],
    IpamScopeArn: NotRequired[str],
    IpamScopeType: NotRequired[IpamScopeTypeType],  # (1)
    IpamArn: NotRequired[str],
    IpamRegion: NotRequired[str],
    Locale: NotRequired[str],
    PoolDepth: NotRequired[int],
    State: NotRequired[IpamPoolStateType],  # (2)
    StateMessage: NotRequired[str],
    Description: NotRequired[str],
    AutoImport: NotRequired[bool],
    PubliclyAdvertisable: NotRequired[bool],
    AddressFamily: NotRequired[AddressFamilyType],  # (3)
    AllocationMinNetmaskLength: NotRequired[int],
    AllocationMaxNetmaskLength: NotRequired[int],
    AllocationDefaultNetmaskLength: NotRequired[int],
    AllocationResourceTags: NotRequired[List[IpamResourceTagTypeDef]],  # (4)
    Tags: NotRequired[List[TagTypeDef]],  # (5)
    AwsService: NotRequired[IpamPoolAwsServiceType],  # (6)
    PublicIpSource: NotRequired[IpamPoolPublicIpSourceType],  # (7)
  1. See IpamScopeTypeType
  2. See IpamPoolStateType
  3. See AddressFamilyType
  4. See IpamResourceTagTypeDef
  5. See TagTypeDef
  6. See IpamPoolAwsServiceType
  7. See IpamPoolPublicIpSourceType

IpamResourceCidrTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamResourceCidrTypeDef

def get_value() -> IpamResourceCidrTypeDef:
    return {
        "IpamId": ...,
    }
Definition
class IpamResourceCidrTypeDef(TypedDict):
    IpamId: NotRequired[str],
    IpamScopeId: NotRequired[str],
    IpamPoolId: NotRequired[str],
    ResourceRegion: NotRequired[str],
    ResourceOwnerId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceName: NotRequired[str],
    ResourceCidr: NotRequired[str],
    ResourceType: NotRequired[IpamResourceTypeType],  # (1)
    ResourceTags: NotRequired[List[IpamResourceTagTypeDef]],  # (2)
    IpUsage: NotRequired[float],
    ComplianceStatus: NotRequired[IpamComplianceStatusType],  # (3)
    ManagementState: NotRequired[IpamManagementStateType],  # (4)
    OverlapStatus: NotRequired[IpamOverlapStatusType],  # (5)
    VpcId: NotRequired[str],
  1. See IpamResourceTypeType
  2. See IpamResourceTagTypeDef
  3. See IpamComplianceStatusType
  4. See IpamManagementStateType
  5. See IpamOverlapStatusType

IpamResourceDiscoveryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamResourceDiscoveryTypeDef

def get_value() -> IpamResourceDiscoveryTypeDef:
    return {
        "OwnerId": ...,
    }
Definition
class IpamResourceDiscoveryTypeDef(TypedDict):
    OwnerId: NotRequired[str],
    IpamResourceDiscoveryId: NotRequired[str],
    IpamResourceDiscoveryArn: NotRequired[str],
    IpamResourceDiscoveryRegion: NotRequired[str],
    Description: NotRequired[str],
    OperatingRegions: NotRequired[List[IpamOperatingRegionTypeDef]],  # (1)
    IsDefault: NotRequired[bool],
    State: NotRequired[IpamResourceDiscoveryStateType],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See IpamOperatingRegionTypeDef
  2. See IpamResourceDiscoveryStateType
  3. See TagTypeDef

IpamTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamTypeDef

def get_value() -> IpamTypeDef:
    return {
        "OwnerId": ...,
    }
Definition
class IpamTypeDef(TypedDict):
    OwnerId: NotRequired[str],
    IpamId: NotRequired[str],
    IpamArn: NotRequired[str],
    IpamRegion: NotRequired[str],
    PublicDefaultScopeId: NotRequired[str],
    PrivateDefaultScopeId: NotRequired[str],
    ScopeCount: NotRequired[int],
    Description: NotRequired[str],
    OperatingRegions: NotRequired[List[IpamOperatingRegionTypeDef]],  # (1)
    State: NotRequired[IpamStateType],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
    DefaultResourceDiscoveryId: NotRequired[str],
    DefaultResourceDiscoveryAssociationId: NotRequired[str],
    ResourceDiscoveryAssociationCount: NotRequired[int],
  1. See IpamOperatingRegionTypeDef
  2. See IpamStateType
  3. See TagTypeDef

IpamPoolCidrTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import IpamPoolCidrTypeDef

def get_value() -> IpamPoolCidrTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class IpamPoolCidrTypeDef(TypedDict):
    Cidr: NotRequired[str],
    State: NotRequired[IpamPoolCidrStateType],  # (1)
    FailureReason: NotRequired[IpamPoolCidrFailureReasonTypeDef],  # (2)
    IpamPoolCidrId: NotRequired[str],
    NetmaskLength: NotRequired[int],
  1. See IpamPoolCidrStateType
  2. See IpamPoolCidrFailureReasonTypeDef

Ipv6PoolTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import Ipv6PoolTypeDef

def get_value() -> Ipv6PoolTypeDef:
    return {
        "PoolId": ...,
    }
Definition
class Ipv6PoolTypeDef(TypedDict):
    PoolId: NotRequired[str],
    Description: NotRequired[str],
    PoolCidrBlocks: NotRequired[List[PoolCidrBlockTypeDef]],  # (1)
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See PoolCidrBlockTypeDef
  2. See TagTypeDef

LaunchTemplateInstanceNetworkInterfaceSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateInstanceNetworkInterfaceSpecificationTypeDef

def get_value() -> LaunchTemplateInstanceNetworkInterfaceSpecificationTypeDef:
    return {
        "AssociateCarrierIpAddress": ...,
    }
Definition
class LaunchTemplateInstanceNetworkInterfaceSpecificationTypeDef(TypedDict):
    AssociateCarrierIpAddress: NotRequired[bool],
    AssociatePublicIpAddress: NotRequired[bool],
    DeleteOnTermination: NotRequired[bool],
    Description: NotRequired[str],
    DeviceIndex: NotRequired[int],
    Groups: NotRequired[List[str]],
    InterfaceType: NotRequired[str],
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[List[InstanceIpv6AddressTypeDef]],  # (1)
    NetworkInterfaceId: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddresses: NotRequired[List[PrivateIpAddressSpecificationTypeDef]],  # (2)
    SecondaryPrivateIpAddressCount: NotRequired[int],
    SubnetId: NotRequired[str],
    NetworkCardIndex: NotRequired[int],
    Ipv4Prefixes: NotRequired[List[Ipv4PrefixSpecificationResponseTypeDef]],  # (3)
    Ipv4PrefixCount: NotRequired[int],
    Ipv6Prefixes: NotRequired[List[Ipv6PrefixSpecificationResponseTypeDef]],  # (4)
    Ipv6PrefixCount: NotRequired[int],
  1. See InstanceIpv6AddressTypeDef
  2. See PrivateIpAddressSpecificationTypeDef
  3. See Ipv4PrefixSpecificationResponseTypeDef
  4. See Ipv6PrefixSpecificationResponseTypeDef

LaunchTemplateBlockDeviceMappingRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateBlockDeviceMappingRequestTypeDef

def get_value() -> LaunchTemplateBlockDeviceMappingRequestTypeDef:
    return {
        "DeviceName": ...,
    }
Definition
class LaunchTemplateBlockDeviceMappingRequestTypeDef(TypedDict):
    DeviceName: NotRequired[str],
    VirtualName: NotRequired[str],
    Ebs: NotRequired[LaunchTemplateEbsBlockDeviceRequestTypeDef],  # (1)
    NoDevice: NotRequired[str],
  1. See LaunchTemplateEbsBlockDeviceRequestTypeDef

LaunchTemplateBlockDeviceMappingTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateBlockDeviceMappingTypeDef

def get_value() -> LaunchTemplateBlockDeviceMappingTypeDef:
    return {
        "DeviceName": ...,
    }
Definition
class LaunchTemplateBlockDeviceMappingTypeDef(TypedDict):
    DeviceName: NotRequired[str],
    VirtualName: NotRequired[str],
    Ebs: NotRequired[LaunchTemplateEbsBlockDeviceTypeDef],  # (1)
    NoDevice: NotRequired[str],
  1. See LaunchTemplateEbsBlockDeviceTypeDef

LaunchTemplateInstanceMarketOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateInstanceMarketOptionsRequestTypeDef

def get_value() -> LaunchTemplateInstanceMarketOptionsRequestTypeDef:
    return {
        "MarketType": ...,
    }
Definition
class LaunchTemplateInstanceMarketOptionsRequestTypeDef(TypedDict):
    MarketType: NotRequired[MarketTypeType],  # (1)
    SpotOptions: NotRequired[LaunchTemplateSpotMarketOptionsRequestTypeDef],  # (2)
  1. See MarketTypeType
  2. See LaunchTemplateSpotMarketOptionsRequestTypeDef

LaunchTemplateInstanceMarketOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateInstanceMarketOptionsTypeDef

def get_value() -> LaunchTemplateInstanceMarketOptionsTypeDef:
    return {
        "MarketType": ...,
    }
Definition
class LaunchTemplateInstanceMarketOptionsTypeDef(TypedDict):
    MarketType: NotRequired[MarketTypeType],  # (1)
    SpotOptions: NotRequired[LaunchTemplateSpotMarketOptionsTypeDef],  # (2)
  1. See MarketTypeType
  2. See LaunchTemplateSpotMarketOptionsTypeDef

ListSnapshotsInRecycleBinResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ListSnapshotsInRecycleBinResultTypeDef

def get_value() -> ListSnapshotsInRecycleBinResultTypeDef:
    return {
        "Snapshots": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListSnapshotsInRecycleBinResultTypeDef(TypedDict):
    Snapshots: List[SnapshotRecycleBinInfoTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SnapshotRecycleBinInfoTypeDef
  2. See ResponseMetadataTypeDef

LoadPermissionModificationsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LoadPermissionModificationsTypeDef

def get_value() -> LoadPermissionModificationsTypeDef:
    return {
        "Add": ...,
    }
Definition
class LoadPermissionModificationsTypeDef(TypedDict):
    Add: NotRequired[Sequence[LoadPermissionRequestTypeDef]],  # (1)
    Remove: NotRequired[Sequence[LoadPermissionRequestTypeDef]],  # (1)
  1. See LoadPermissionRequestTypeDef
  2. See LoadPermissionRequestTypeDef

ModifyIpamRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamRequestRequestTypeDef

def get_value() -> ModifyIpamRequestRequestTypeDef:
    return {
        "IpamId": ...,
    }
Definition
class ModifyIpamRequestRequestTypeDef(TypedDict):
    IpamId: str,
    DryRun: NotRequired[bool],
    Description: NotRequired[str],
    AddOperatingRegions: NotRequired[Sequence[AddIpamOperatingRegionTypeDef]],  # (1)
    RemoveOperatingRegions: NotRequired[Sequence[RemoveIpamOperatingRegionTypeDef]],  # (2)
  1. See AddIpamOperatingRegionTypeDef
  2. See RemoveIpamOperatingRegionTypeDef

ModifyIpamResourceDiscoveryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamResourceDiscoveryRequestRequestTypeDef

def get_value() -> ModifyIpamResourceDiscoveryRequestRequestTypeDef:
    return {
        "IpamResourceDiscoveryId": ...,
    }
Definition
class ModifyIpamResourceDiscoveryRequestRequestTypeDef(TypedDict):
    IpamResourceDiscoveryId: str,
    DryRun: NotRequired[bool],
    Description: NotRequired[str],
    AddOperatingRegions: NotRequired[Sequence[AddIpamOperatingRegionTypeDef]],  # (1)
    RemoveOperatingRegions: NotRequired[Sequence[RemoveIpamOperatingRegionTypeDef]],  # (2)
  1. See AddIpamOperatingRegionTypeDef
  2. See RemoveIpamOperatingRegionTypeDef

ModifyManagedPrefixListRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyManagedPrefixListRequestRequestTypeDef

def get_value() -> ModifyManagedPrefixListRequestRequestTypeDef:
    return {
        "PrefixListId": ...,
    }
Definition
class ModifyManagedPrefixListRequestRequestTypeDef(TypedDict):
    PrefixListId: str,
    DryRun: NotRequired[bool],
    CurrentVersion: NotRequired[int],
    PrefixListName: NotRequired[str],
    AddEntries: NotRequired[Sequence[AddPrefixListEntryTypeDef]],  # (1)
    RemoveEntries: NotRequired[Sequence[RemovePrefixListEntryTypeDef]],  # (2)
    MaxEntries: NotRequired[int],
  1. See AddPrefixListEntryTypeDef
  2. See RemovePrefixListEntryTypeDef

ModifyReservedInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyReservedInstancesRequestRequestTypeDef

def get_value() -> ModifyReservedInstancesRequestRequestTypeDef:
    return {
        "ReservedInstancesIds": ...,
        "TargetConfigurations": ...,
    }
Definition
class ModifyReservedInstancesRequestRequestTypeDef(TypedDict):
    ReservedInstancesIds: Sequence[str],
    TargetConfigurations: Sequence[ReservedInstancesConfigurationTypeDef],  # (1)
    ClientToken: NotRequired[str],
  1. See ReservedInstancesConfigurationTypeDef

ReservedInstancesModificationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservedInstancesModificationResultTypeDef

def get_value() -> ReservedInstancesModificationResultTypeDef:
    return {
        "ReservedInstancesId": ...,
    }
Definition
class ReservedInstancesModificationResultTypeDef(TypedDict):
    ReservedInstancesId: NotRequired[str],
    TargetConfiguration: NotRequired[ReservedInstancesConfigurationTypeDef],  # (1)
  1. See ReservedInstancesConfigurationTypeDef

ModifyTransitGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTransitGatewayRequestRequestTypeDef

def get_value() -> ModifyTransitGatewayRequestRequestTypeDef:
    return {
        "TransitGatewayId": ...,
    }
Definition
class ModifyTransitGatewayRequestRequestTypeDef(TypedDict):
    TransitGatewayId: str,
    Description: NotRequired[str],
    Options: NotRequired[ModifyTransitGatewayOptionsTypeDef],  # (1)
    DryRun: NotRequired[bool],
  1. See ModifyTransitGatewayOptionsTypeDef

ModifyTransitGatewayVpcAttachmentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTransitGatewayVpcAttachmentRequestRequestTypeDef

def get_value() -> ModifyTransitGatewayVpcAttachmentRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class ModifyTransitGatewayVpcAttachmentRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    AddSubnetIds: NotRequired[Sequence[str]],
    RemoveSubnetIds: NotRequired[Sequence[str]],
    Options: NotRequired[ModifyTransitGatewayVpcAttachmentRequestOptionsTypeDef],  # (1)
    DryRun: NotRequired[bool],
  1. See ModifyTransitGatewayVpcAttachmentRequestOptionsTypeDef

ModifyVerifiedAccessEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessEndpointRequestRequestTypeDef

def get_value() -> ModifyVerifiedAccessEndpointRequestRequestTypeDef:
    return {
        "VerifiedAccessEndpointId": ...,
    }
Definition
class ModifyVerifiedAccessEndpointRequestRequestTypeDef(TypedDict):
    VerifiedAccessEndpointId: str,
    VerifiedAccessGroupId: NotRequired[str],
    LoadBalancerOptions: NotRequired[ModifyVerifiedAccessEndpointLoadBalancerOptionsTypeDef],  # (1)
    NetworkInterfaceOptions: NotRequired[ModifyVerifiedAccessEndpointEniOptionsTypeDef],  # (2)
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See ModifyVerifiedAccessEndpointLoadBalancerOptionsTypeDef
  2. See ModifyVerifiedAccessEndpointEniOptionsTypeDef

ModifyVerifiedAccessTrustProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessTrustProviderRequestRequestTypeDef

def get_value() -> ModifyVerifiedAccessTrustProviderRequestRequestTypeDef:
    return {
        "VerifiedAccessTrustProviderId": ...,
    }
Definition
class ModifyVerifiedAccessTrustProviderRequestRequestTypeDef(TypedDict):
    VerifiedAccessTrustProviderId: str,
    OidcOptions: NotRequired[ModifyVerifiedAccessTrustProviderOidcOptionsTypeDef],  # (1)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
  1. See ModifyVerifiedAccessTrustProviderOidcOptionsTypeDef

ModifyVpcPeeringConnectionOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcPeeringConnectionOptionsRequestRequestTypeDef

def get_value() -> ModifyVpcPeeringConnectionOptionsRequestRequestTypeDef:
    return {
        "VpcPeeringConnectionId": ...,
    }
Definition
class ModifyVpcPeeringConnectionOptionsRequestRequestTypeDef(TypedDict):
    VpcPeeringConnectionId: str,
    AccepterPeeringConnectionOptions: NotRequired[PeeringConnectionOptionsRequestTypeDef],  # (1)
    DryRun: NotRequired[bool],
    RequesterPeeringConnectionOptions: NotRequired[PeeringConnectionOptionsRequestTypeDef],  # (1)
  1. See PeeringConnectionOptionsRequestTypeDef
  2. See PeeringConnectionOptionsRequestTypeDef

ModifyVpcPeeringConnectionOptionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpcPeeringConnectionOptionsResultTypeDef

def get_value() -> ModifyVpcPeeringConnectionOptionsResultTypeDef:
    return {
        "AccepterPeeringConnectionOptions": ...,
        "RequesterPeeringConnectionOptions": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpcPeeringConnectionOptionsResultTypeDef(TypedDict):
    AccepterPeeringConnectionOptions: PeeringConnectionOptionsTypeDef,  # (1)
    RequesterPeeringConnectionOptions: PeeringConnectionOptionsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See PeeringConnectionOptionsTypeDef
  2. See PeeringConnectionOptionsTypeDef
  3. See ResponseMetadataTypeDef

NatGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NatGatewayTypeDef

def get_value() -> NatGatewayTypeDef:
    return {
        "CreateTime": ...,
    }
Definition
class NatGatewayTypeDef(TypedDict):
    CreateTime: NotRequired[datetime],
    DeleteTime: NotRequired[datetime],
    FailureCode: NotRequired[str],
    FailureMessage: NotRequired[str],
    NatGatewayAddresses: NotRequired[List[NatGatewayAddressTypeDef]],  # (1)
    NatGatewayId: NotRequired[str],
    ProvisionedBandwidth: NotRequired[ProvisionedBandwidthTypeDef],  # (2)
    State: NotRequired[NatGatewayStateType],  # (3)
    SubnetId: NotRequired[str],
    VpcId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (4)
    ConnectivityType: NotRequired[ConnectivityTypeType],  # (5)
  1. See NatGatewayAddressTypeDef
  2. See ProvisionedBandwidthTypeDef
  3. See NatGatewayStateType
  4. See TagTypeDef
  5. See ConnectivityTypeType

NetworkInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInfoTypeDef

def get_value() -> NetworkInfoTypeDef:
    return {
        "NetworkPerformance": ...,
    }
Definition
class NetworkInfoTypeDef(TypedDict):
    NetworkPerformance: NotRequired[str],
    MaximumNetworkInterfaces: NotRequired[int],
    MaximumNetworkCards: NotRequired[int],
    DefaultNetworkCardIndex: NotRequired[int],
    NetworkCards: NotRequired[List[NetworkCardInfoTypeDef]],  # (1)
    Ipv4AddressesPerInterface: NotRequired[int],
    Ipv6AddressesPerInterface: NotRequired[int],
    Ipv6Supported: NotRequired[bool],
    EnaSupport: NotRequired[EnaSupportType],  # (2)
    EfaSupported: NotRequired[bool],
    EfaInfo: NotRequired[EfaInfoTypeDef],  # (3)
    EncryptionInTransitSupported: NotRequired[bool],
    EnaSrdSupported: NotRequired[bool],
  1. See NetworkCardInfoTypeDef
  2. See EnaSupportType
  3. See EfaInfoTypeDef

NetworkInterfacePrivateIpAddressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfacePrivateIpAddressTypeDef

def get_value() -> NetworkInterfacePrivateIpAddressTypeDef:
    return {
        "Association": ...,
    }
Definition
class NetworkInterfacePrivateIpAddressTypeDef(TypedDict):
    Association: NotRequired[NetworkInterfaceAssociationTypeDef],  # (1)
    Primary: NotRequired[bool],
    PrivateDnsName: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
  1. See NetworkInterfaceAssociationTypeDef

NetworkInterfacePermissionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfacePermissionTypeDef

def get_value() -> NetworkInterfacePermissionTypeDef:
    return {
        "NetworkInterfacePermissionId": ...,
    }
Definition
class NetworkInterfacePermissionTypeDef(TypedDict):
    NetworkInterfacePermissionId: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    AwsAccountId: NotRequired[str],
    AwsService: NotRequired[str],
    Permission: NotRequired[InterfacePermissionTypeType],  # (1)
    PermissionState: NotRequired[NetworkInterfacePermissionStateTypeDef],  # (2)
  1. See InterfacePermissionTypeType
  2. See NetworkInterfacePermissionStateTypeDef

VerifiedAccessTrustProviderTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessTrustProviderTypeDef

def get_value() -> VerifiedAccessTrustProviderTypeDef:
    return {
        "VerifiedAccessTrustProviderId": ...,
    }
Definition
class VerifiedAccessTrustProviderTypeDef(TypedDict):
    VerifiedAccessTrustProviderId: NotRequired[str],
    Description: NotRequired[str],
    TrustProviderType: NotRequired[TrustProviderTypeType],  # (1)
    UserTrustProviderType: NotRequired[UserTrustProviderTypeType],  # (2)
    DeviceTrustProviderType: NotRequired[DeviceTrustProviderTypeType],  # (3)
    OidcOptions: NotRequired[OidcOptionsTypeDef],  # (4)
    DeviceOptions: NotRequired[DeviceOptionsTypeDef],  # (5)
    PolicyReferenceName: NotRequired[str],
    CreationTime: NotRequired[str],
    LastUpdatedTime: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (6)
  1. See TrustProviderTypeType
  2. See UserTrustProviderTypeType
  3. See DeviceTrustProviderTypeType
  4. See OidcOptionsTypeDef
  5. See DeviceOptionsTypeDef
  6. See TagTypeDef

PathStatementRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PathStatementRequestTypeDef

def get_value() -> PathStatementRequestTypeDef:
    return {
        "PacketHeaderStatement": ...,
    }
Definition
class PathStatementRequestTypeDef(TypedDict):
    PacketHeaderStatement: NotRequired[PacketHeaderStatementRequestTypeDef],  # (1)
    ResourceStatement: NotRequired[ResourceStatementRequestTypeDef],  # (2)
  1. See PacketHeaderStatementRequestTypeDef
  2. See ResourceStatementRequestTypeDef

ThroughResourcesStatementRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ThroughResourcesStatementRequestTypeDef

def get_value() -> ThroughResourcesStatementRequestTypeDef:
    return {
        "ResourceStatement": ...,
    }
Definition
class ThroughResourcesStatementRequestTypeDef(TypedDict):
    ResourceStatement: NotRequired[ResourceStatementRequestTypeDef],  # (1)
  1. See ResourceStatementRequestTypeDef

PathStatementTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PathStatementTypeDef

def get_value() -> PathStatementTypeDef:
    return {
        "PacketHeaderStatement": ...,
    }
Definition
class PathStatementTypeDef(TypedDict):
    PacketHeaderStatement: NotRequired[PacketHeaderStatementTypeDef],  # (1)
    ResourceStatement: NotRequired[ResourceStatementTypeDef],  # (2)
  1. See PacketHeaderStatementTypeDef
  2. See ResourceStatementTypeDef

ThroughResourcesStatementTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ThroughResourcesStatementTypeDef

def get_value() -> ThroughResourcesStatementTypeDef:
    return {
        "ResourceStatement": ...,
    }
Definition
class ThroughResourcesStatementTypeDef(TypedDict):
    ResourceStatement: NotRequired[ResourceStatementTypeDef],  # (1)
  1. See ResourceStatementTypeDef

ReservedInstancesListingTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservedInstancesListingTypeDef

def get_value() -> ReservedInstancesListingTypeDef:
    return {
        "ClientToken": ...,
    }
Definition
class ReservedInstancesListingTypeDef(TypedDict):
    ClientToken: NotRequired[str],
    CreateDate: NotRequired[datetime],
    InstanceCounts: NotRequired[List[InstanceCountTypeDef]],  # (1)
    PriceSchedules: NotRequired[List[PriceScheduleTypeDef]],  # (2)
    ReservedInstancesId: NotRequired[str],
    ReservedInstancesListingId: NotRequired[str],
    Status: NotRequired[ListingStatusType],  # (3)
    StatusMessage: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (4)
    UpdateDate: NotRequired[datetime],
  1. See InstanceCountTypeDef
  2. See PriceScheduleTypeDef
  3. See ListingStatusType
  4. See TagTypeDef

ProvisionPublicIpv4PoolCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ProvisionPublicIpv4PoolCidrResultTypeDef

def get_value() -> ProvisionPublicIpv4PoolCidrResultTypeDef:
    return {
        "PoolId": ...,
        "PoolAddressRange": ...,
        "ResponseMetadata": ...,
    }
Definition
class ProvisionPublicIpv4PoolCidrResultTypeDef(TypedDict):
    PoolId: str,
    PoolAddressRange: PublicIpv4PoolRangeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PublicIpv4PoolRangeTypeDef
  2. See ResponseMetadataTypeDef

PublicIpv4PoolTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PublicIpv4PoolTypeDef

def get_value() -> PublicIpv4PoolTypeDef:
    return {
        "PoolId": ...,
    }
Definition
class PublicIpv4PoolTypeDef(TypedDict):
    PoolId: NotRequired[str],
    Description: NotRequired[str],
    PoolAddressRanges: NotRequired[List[PublicIpv4PoolRangeTypeDef]],  # (1)
    TotalAddressCount: NotRequired[int],
    TotalAvailableAddressCount: NotRequired[int],
    NetworkBorderGroup: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See PublicIpv4PoolRangeTypeDef
  2. See TagTypeDef

PurchaseScheduledInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PurchaseScheduledInstancesRequestRequestTypeDef

def get_value() -> PurchaseScheduledInstancesRequestRequestTypeDef:
    return {
        "PurchaseRequests": ...,
    }
Definition
class PurchaseScheduledInstancesRequestRequestTypeDef(TypedDict):
    PurchaseRequests: Sequence[PurchaseRequestTypeDef],  # (1)
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See PurchaseRequestTypeDef

PurchaseReservedInstancesOfferingRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PurchaseReservedInstancesOfferingRequestRequestTypeDef

def get_value() -> PurchaseReservedInstancesOfferingRequestRequestTypeDef:
    return {
        "InstanceCount": ...,
        "ReservedInstancesOfferingId": ...,
    }
Definition
class PurchaseReservedInstancesOfferingRequestRequestTypeDef(TypedDict):
    InstanceCount: int,
    ReservedInstancesOfferingId: str,
    DryRun: NotRequired[bool],
    LimitPrice: NotRequired[ReservedInstanceLimitPriceTypeDef],  # (1)
    PurchaseTime: NotRequired[Union[datetime, str]],
  1. See ReservedInstanceLimitPriceTypeDef

ReservedInstancesOfferingTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservedInstancesOfferingTypeDef

def get_value() -> ReservedInstancesOfferingTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class ReservedInstancesOfferingTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    Duration: NotRequired[int],
    FixedPrice: NotRequired[float],
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    ProductDescription: NotRequired[RIProductDescriptionType],  # (2)
    ReservedInstancesOfferingId: NotRequired[str],
    UsagePrice: NotRequired[float],
    CurrencyCode: NotRequired[CurrencyCodeValuesType],  # (3)
    InstanceTenancy: NotRequired[TenancyType],  # (4)
    Marketplace: NotRequired[bool],
    OfferingClass: NotRequired[OfferingClassTypeType],  # (5)
    OfferingType: NotRequired[OfferingTypeValuesType],  # (6)
    PricingDetails: NotRequired[List[PricingDetailTypeDef]],  # (7)
    RecurringCharges: NotRequired[List[RecurringChargeTypeDef]],  # (8)
    Scope: NotRequired[scopeType],  # (9)
  1. See InstanceTypeType
  2. See RIProductDescriptionType
  3. See CurrencyCodeValuesType
  4. See TenancyType
  5. See OfferingClassTypeType
  6. See OfferingTypeValuesType
  7. See PricingDetailTypeDef
  8. See RecurringChargeTypeDef
  9. See scopeType

ReservedInstancesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservedInstancesTypeDef

def get_value() -> ReservedInstancesTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class ReservedInstancesTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    Duration: NotRequired[int],
    End: NotRequired[datetime],
    FixedPrice: NotRequired[float],
    InstanceCount: NotRequired[int],
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    ProductDescription: NotRequired[RIProductDescriptionType],  # (2)
    ReservedInstancesId: NotRequired[str],
    Start: NotRequired[datetime],
    State: NotRequired[ReservedInstanceStateType],  # (3)
    UsagePrice: NotRequired[float],
    CurrencyCode: NotRequired[CurrencyCodeValuesType],  # (4)
    InstanceTenancy: NotRequired[TenancyType],  # (5)
    OfferingClass: NotRequired[OfferingClassTypeType],  # (6)
    OfferingType: NotRequired[OfferingTypeValuesType],  # (7)
    RecurringCharges: NotRequired[List[RecurringChargeTypeDef]],  # (8)
    Scope: NotRequired[scopeType],  # (9)
    Tags: NotRequired[List[TagTypeDef]],  # (10)
  1. See InstanceTypeType
  2. See RIProductDescriptionType
  3. See ReservedInstanceStateType
  4. See CurrencyCodeValuesType
  5. See TenancyType
  6. See OfferingClassTypeType
  7. See OfferingTypeValuesType
  8. See RecurringChargeTypeDef
  9. See scopeType
  10. See TagTypeDef

SecurityGroupRuleTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SecurityGroupRuleTypeDef

def get_value() -> SecurityGroupRuleTypeDef:
    return {
        "SecurityGroupRuleId": ...,
    }
Definition
class SecurityGroupRuleTypeDef(TypedDict):
    SecurityGroupRuleId: NotRequired[str],
    GroupId: NotRequired[str],
    GroupOwnerId: NotRequired[str],
    IsEgress: NotRequired[bool],
    IpProtocol: NotRequired[str],
    FromPort: NotRequired[int],
    ToPort: NotRequired[int],
    CidrIpv4: NotRequired[str],
    CidrIpv6: NotRequired[str],
    PrefixListId: NotRequired[str],
    ReferencedGroupInfo: NotRequired[ReferencedSecurityGroupTypeDef],  # (1)
    Description: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See ReferencedSecurityGroupTypeDef
  2. See TagTypeDef

RegisterInstanceEventNotificationAttributesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterInstanceEventNotificationAttributesRequestRequestTypeDef

def get_value() -> RegisterInstanceEventNotificationAttributesRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class RegisterInstanceEventNotificationAttributesRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    InstanceTagAttribute: NotRequired[RegisterInstanceTagAttributeRequestTypeDef],  # (1)
  1. See RegisterInstanceTagAttributeRequestTypeDef

RegisterTransitGatewayMulticastGroupMembersResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterTransitGatewayMulticastGroupMembersResultTypeDef

def get_value() -> RegisterTransitGatewayMulticastGroupMembersResultTypeDef:
    return {
        "RegisteredMulticastGroupMembers": ...,
        "ResponseMetadata": ...,
    }
Definition
class RegisterTransitGatewayMulticastGroupMembersResultTypeDef(TypedDict):
    RegisteredMulticastGroupMembers: TransitGatewayMulticastRegisteredGroupMembersTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastRegisteredGroupMembersTypeDef
  2. See ResponseMetadataTypeDef

RegisterTransitGatewayMulticastGroupSourcesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterTransitGatewayMulticastGroupSourcesResultTypeDef

def get_value() -> RegisterTransitGatewayMulticastGroupSourcesResultTypeDef:
    return {
        "RegisteredMulticastGroupSources": ...,
        "ResponseMetadata": ...,
    }
Definition
class RegisterTransitGatewayMulticastGroupSourcesResultTypeDef(TypedDict):
    RegisteredMulticastGroupSources: TransitGatewayMulticastRegisteredGroupSourcesTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastRegisteredGroupSourcesTypeDef
  2. See ResponseMetadataTypeDef

StorageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StorageTypeDef

def get_value() -> StorageTypeDef:
    return {
        "S3": ...,
    }
Definition
class StorageTypeDef(TypedDict):
    S3: NotRequired[S3StorageTypeDef],  # (1)
  1. See S3StorageTypeDef

ScheduledInstanceAvailabilityTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstanceAvailabilityTypeDef

def get_value() -> ScheduledInstanceAvailabilityTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class ScheduledInstanceAvailabilityTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    AvailableInstanceCount: NotRequired[int],
    FirstSlotStartTime: NotRequired[datetime],
    HourlyPrice: NotRequired[str],
    InstanceType: NotRequired[str],
    MaxTermDurationInDays: NotRequired[int],
    MinTermDurationInDays: NotRequired[int],
    NetworkPlatform: NotRequired[str],
    Platform: NotRequired[str],
    PurchaseToken: NotRequired[str],
    Recurrence: NotRequired[ScheduledInstanceRecurrenceTypeDef],  # (1)
    SlotDurationInHours: NotRequired[int],
    TotalScheduledInstanceHours: NotRequired[int],
  1. See ScheduledInstanceRecurrenceTypeDef

ScheduledInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstanceTypeDef

def get_value() -> ScheduledInstanceTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class ScheduledInstanceTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    CreateDate: NotRequired[datetime],
    HourlyPrice: NotRequired[str],
    InstanceCount: NotRequired[int],
    InstanceType: NotRequired[str],
    NetworkPlatform: NotRequired[str],
    NextSlotStartTime: NotRequired[datetime],
    Platform: NotRequired[str],
    PreviousSlotEndTime: NotRequired[datetime],
    Recurrence: NotRequired[ScheduledInstanceRecurrenceTypeDef],  # (1)
    ScheduledInstanceId: NotRequired[str],
    SlotDurationInHours: NotRequired[int],
    TermEndDate: NotRequired[datetime],
    TermStartDate: NotRequired[datetime],
    TotalScheduledInstanceHours: NotRequired[int],
  1. See ScheduledInstanceRecurrenceTypeDef

ScheduledInstancesBlockDeviceMappingTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstancesBlockDeviceMappingTypeDef

def get_value() -> ScheduledInstancesBlockDeviceMappingTypeDef:
    return {
        "DeviceName": ...,
    }
Definition
class ScheduledInstancesBlockDeviceMappingTypeDef(TypedDict):
    DeviceName: NotRequired[str],
    Ebs: NotRequired[ScheduledInstancesEbsTypeDef],  # (1)
    NoDevice: NotRequired[str],
    VirtualName: NotRequired[str],
  1. See ScheduledInstancesEbsTypeDef

ScheduledInstancesNetworkInterfaceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstancesNetworkInterfaceTypeDef

def get_value() -> ScheduledInstancesNetworkInterfaceTypeDef:
    return {
        "AssociatePublicIpAddress": ...,
    }
Definition
class ScheduledInstancesNetworkInterfaceTypeDef(TypedDict):
    AssociatePublicIpAddress: NotRequired[bool],
    DeleteOnTermination: NotRequired[bool],
    Description: NotRequired[str],
    DeviceIndex: NotRequired[int],
    Groups: NotRequired[Sequence[str]],
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[Sequence[ScheduledInstancesIpv6AddressTypeDef]],  # (1)
    NetworkInterfaceId: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddressConfigs: NotRequired[Sequence[ScheduledInstancesPrivateIpAddressConfigTypeDef]],  # (2)
    SecondaryPrivateIpAddressCount: NotRequired[int],
    SubnetId: NotRequired[str],
  1. See ScheduledInstancesIpv6AddressTypeDef
  2. See ScheduledInstancesPrivateIpAddressConfigTypeDef

SearchTransitGatewayMulticastGroupsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SearchTransitGatewayMulticastGroupsResultTypeDef

def get_value() -> SearchTransitGatewayMulticastGroupsResultTypeDef:
    return {
        "MulticastGroups": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class SearchTransitGatewayMulticastGroupsResultTypeDef(TypedDict):
    MulticastGroups: List[TransitGatewayMulticastGroupTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastGroupTypeDef
  2. See ResponseMetadataTypeDef

VpcEndpointTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcEndpointTypeDef

def get_value() -> VpcEndpointTypeDef:
    return {
        "VpcEndpointId": ...,
    }
Definition
class VpcEndpointTypeDef(TypedDict):
    VpcEndpointId: NotRequired[str],
    VpcEndpointType: NotRequired[VpcEndpointTypeType],  # (1)
    VpcId: NotRequired[str],
    ServiceName: NotRequired[str],
    State: NotRequired[StateType],  # (2)
    PolicyDocument: NotRequired[str],
    RouteTableIds: NotRequired[List[str]],
    SubnetIds: NotRequired[List[str]],
    Groups: NotRequired[List[SecurityGroupIdentifierTypeDef]],  # (3)
    IpAddressType: NotRequired[IpAddressTypeType],  # (4)
    DnsOptions: NotRequired[DnsOptionsTypeDef],  # (5)
    PrivateDnsEnabled: NotRequired[bool],
    RequesterManaged: NotRequired[bool],
    NetworkInterfaceIds: NotRequired[List[str]],
    DnsEntries: NotRequired[List[DnsEntryTypeDef]],  # (6)
    CreationTimestamp: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (7)
    OwnerId: NotRequired[str],
    LastError: NotRequired[LastErrorTypeDef],  # (8)
  1. See VpcEndpointTypeType
  2. See StateType
  3. See SecurityGroupIdentifierTypeDef
  4. See IpAddressTypeType
  5. See DnsOptionsTypeDef
  6. See DnsEntryTypeDef
  7. See TagTypeDef
  8. See LastErrorTypeDef

SecurityGroupRuleUpdateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SecurityGroupRuleUpdateTypeDef

def get_value() -> SecurityGroupRuleUpdateTypeDef:
    return {
        "SecurityGroupRuleId": ...,
    }
Definition
class SecurityGroupRuleUpdateTypeDef(TypedDict):
    SecurityGroupRuleId: str,
    SecurityGroupRule: NotRequired[SecurityGroupRuleRequestTypeDef],  # (1)
  1. See SecurityGroupRuleRequestTypeDef

ServiceConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceConfigurationTypeDef

def get_value() -> ServiceConfigurationTypeDef:
    return {
        "ServiceType": ...,
    }
Definition
class ServiceConfigurationTypeDef(TypedDict):
    ServiceType: NotRequired[List[ServiceTypeDetailTypeDef]],  # (1)
    ServiceId: NotRequired[str],
    ServiceName: NotRequired[str],
    ServiceState: NotRequired[ServiceStateType],  # (2)
    AvailabilityZones: NotRequired[List[str]],
    AcceptanceRequired: NotRequired[bool],
    ManagesVpcEndpoints: NotRequired[bool],
    NetworkLoadBalancerArns: NotRequired[List[str]],
    GatewayLoadBalancerArns: NotRequired[List[str]],
    SupportedIpAddressTypes: NotRequired[List[ServiceConnectivityTypeType]],  # (3)
    BaseEndpointDnsNames: NotRequired[List[str]],
    PrivateDnsName: NotRequired[str],
    PrivateDnsNameConfiguration: NotRequired[PrivateDnsNameConfigurationTypeDef],  # (4)
    PayerResponsibility: NotRequired[PayerResponsibilityType],  # (5)
    Tags: NotRequired[List[TagTypeDef]],  # (6)
  1. See ServiceTypeDetailTypeDef
  2. See ServiceStateType
  3. See ServiceConnectivityTypeType
  4. See PrivateDnsNameConfigurationTypeDef
  5. See PayerResponsibilityType
  6. See TagTypeDef

ServiceDetailTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ServiceDetailTypeDef

def get_value() -> ServiceDetailTypeDef:
    return {
        "ServiceName": ...,
    }
Definition
class ServiceDetailTypeDef(TypedDict):
    ServiceName: NotRequired[str],
    ServiceId: NotRequired[str],
    ServiceType: NotRequired[List[ServiceTypeDetailTypeDef]],  # (1)
    AvailabilityZones: NotRequired[List[str]],
    Owner: NotRequired[str],
    BaseEndpointDnsNames: NotRequired[List[str]],
    PrivateDnsName: NotRequired[str],
    PrivateDnsNames: NotRequired[List[PrivateDnsDetailsTypeDef]],  # (2)
    VpcEndpointPolicySupported: NotRequired[bool],
    AcceptanceRequired: NotRequired[bool],
    ManagesVpcEndpoints: NotRequired[bool],
    PayerResponsibility: NotRequired[PayerResponsibilityType],  # (3)
    Tags: NotRequired[List[TagTypeDef]],  # (4)
    PrivateDnsNameVerificationState: NotRequired[DnsNameStateType],  # (5)
    SupportedIpAddressTypes: NotRequired[List[ServiceConnectivityTypeType]],  # (6)
  1. See ServiceTypeDetailTypeDef
  2. See PrivateDnsDetailsTypeDef
  3. See PayerResponsibilityType
  4. See TagTypeDef
  5. See DnsNameStateType
  6. See ServiceConnectivityTypeType

SnapshotDetailTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SnapshotDetailTypeDef

def get_value() -> SnapshotDetailTypeDef:
    return {
        "Description": ...,
    }
Definition
class SnapshotDetailTypeDef(TypedDict):
    Description: NotRequired[str],
    DeviceName: NotRequired[str],
    DiskImageSize: NotRequired[float],
    Format: NotRequired[str],
    Progress: NotRequired[str],
    SnapshotId: NotRequired[str],
    Status: NotRequired[str],
    StatusMessage: NotRequired[str],
    Url: NotRequired[str],
    UserBucket: NotRequired[UserBucketDetailsTypeDef],  # (1)
  1. See UserBucketDetailsTypeDef

SnapshotTaskDetailTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SnapshotTaskDetailTypeDef

def get_value() -> SnapshotTaskDetailTypeDef:
    return {
        "Description": ...,
    }
Definition
class SnapshotTaskDetailTypeDef(TypedDict):
    Description: NotRequired[str],
    DiskImageSize: NotRequired[float],
    Encrypted: NotRequired[bool],
    Format: NotRequired[str],
    KmsKeyId: NotRequired[str],
    Progress: NotRequired[str],
    SnapshotId: NotRequired[str],
    Status: NotRequired[str],
    StatusMessage: NotRequired[str],
    Url: NotRequired[str],
    UserBucket: NotRequired[UserBucketDetailsTypeDef],  # (1)
  1. See UserBucketDetailsTypeDef

SpotMaintenanceStrategiesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotMaintenanceStrategiesTypeDef

def get_value() -> SpotMaintenanceStrategiesTypeDef:
    return {
        "CapacityRebalance": ...,
    }
Definition
class SpotMaintenanceStrategiesTypeDef(TypedDict):
    CapacityRebalance: NotRequired[SpotCapacityRebalanceTypeDef],  # (1)
  1. See SpotCapacityRebalanceTypeDef

SpotDatafeedSubscriptionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotDatafeedSubscriptionTypeDef

def get_value() -> SpotDatafeedSubscriptionTypeDef:
    return {
        "Bucket": ...,
    }
Definition
class SpotDatafeedSubscriptionTypeDef(TypedDict):
    Bucket: NotRequired[str],
    Fault: NotRequired[SpotInstanceStateFaultTypeDef],  # (1)
    OwnerId: NotRequired[str],
    Prefix: NotRequired[str],
    State: NotRequired[DatafeedSubscriptionStateType],  # (2)
  1. See SpotInstanceStateFaultTypeDef
  2. See DatafeedSubscriptionStateType

TransitGatewayMulticastDomainAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayMulticastDomainAssociationTypeDef

def get_value() -> TransitGatewayMulticastDomainAssociationTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayMulticastDomainAssociationTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    ResourceOwnerId: NotRequired[str],
    Subnet: NotRequired[SubnetAssociationTypeDef],  # (2)
  1. See TransitGatewayAttachmentResourceTypeType
  2. See SubnetAssociationTypeDef

TransitGatewayMulticastDomainAssociationsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayMulticastDomainAssociationsTypeDef

def get_value() -> TransitGatewayMulticastDomainAssociationsTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class TransitGatewayMulticastDomainAssociationsTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    TransitGatewayAttachmentId: NotRequired[str],
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    ResourceOwnerId: NotRequired[str],
    Subnets: NotRequired[List[SubnetAssociationTypeDef]],  # (2)
  1. See TransitGatewayAttachmentResourceTypeType
  2. See SubnetAssociationTypeDef

SubnetIpv6CidrBlockAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SubnetIpv6CidrBlockAssociationTypeDef

def get_value() -> SubnetIpv6CidrBlockAssociationTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class SubnetIpv6CidrBlockAssociationTypeDef(TypedDict):
    AssociationId: NotRequired[str],
    Ipv6CidrBlock: NotRequired[str],
    Ipv6CidrBlockState: NotRequired[SubnetCidrBlockStateTypeDef],  # (1)
  1. See SubnetCidrBlockStateTypeDef

TargetReservationValueTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TargetReservationValueTypeDef

def get_value() -> TargetReservationValueTypeDef:
    return {
        "ReservationValue": ...,
    }
Definition
class TargetReservationValueTypeDef(TypedDict):
    ReservationValue: NotRequired[ReservationValueTypeDef],  # (1)
    TargetConfiguration: NotRequired[TargetConfigurationTypeDef],  # (2)
  1. See ReservationValueTypeDef
  2. See TargetConfigurationTypeDef

TargetGroupsConfigTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TargetGroupsConfigTypeDef

def get_value() -> TargetGroupsConfigTypeDef:
    return {
        "TargetGroups": ...,
    }
Definition
class TargetGroupsConfigTypeDef(TypedDict):
    TargetGroups: NotRequired[List[TargetGroupTypeDef]],  # (1)
  1. See TargetGroupTypeDef

TrafficMirrorFilterRuleTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TrafficMirrorFilterRuleTypeDef

def get_value() -> TrafficMirrorFilterRuleTypeDef:
    return {
        "TrafficMirrorFilterRuleId": ...,
    }
Definition
class TrafficMirrorFilterRuleTypeDef(TypedDict):
    TrafficMirrorFilterRuleId: NotRequired[str],
    TrafficMirrorFilterId: NotRequired[str],
    TrafficDirection: NotRequired[TrafficDirectionType],  # (1)
    RuleNumber: NotRequired[int],
    RuleAction: NotRequired[TrafficMirrorRuleActionType],  # (2)
    Protocol: NotRequired[int],
    DestinationPortRange: NotRequired[TrafficMirrorPortRangeTypeDef],  # (3)
    SourcePortRange: NotRequired[TrafficMirrorPortRangeTypeDef],  # (3)
    DestinationCidrBlock: NotRequired[str],
    SourceCidrBlock: NotRequired[str],
    Description: NotRequired[str],
  1. See TrafficDirectionType
  2. See TrafficMirrorRuleActionType
  3. See TrafficMirrorPortRangeTypeDef
  4. See TrafficMirrorPortRangeTypeDef

TransitGatewayAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayAttachmentTypeDef

def get_value() -> TransitGatewayAttachmentTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayAttachmentTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    TransitGatewayOwnerId: NotRequired[str],
    ResourceOwnerId: NotRequired[str],
    ResourceType: NotRequired[TransitGatewayAttachmentResourceTypeType],  # (1)
    ResourceId: NotRequired[str],
    State: NotRequired[TransitGatewayAttachmentStateType],  # (2)
    Association: NotRequired[TransitGatewayAttachmentAssociationTypeDef],  # (3)
    CreationTime: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See TransitGatewayAttachmentResourceTypeType
  2. See TransitGatewayAttachmentStateType
  3. See TransitGatewayAttachmentAssociationTypeDef
  4. See TagTypeDef

TransitGatewayConnectPeerConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayConnectPeerConfigurationTypeDef

def get_value() -> TransitGatewayConnectPeerConfigurationTypeDef:
    return {
        "TransitGatewayAddress": ...,
    }
Definition
class TransitGatewayConnectPeerConfigurationTypeDef(TypedDict):
    TransitGatewayAddress: NotRequired[str],
    PeerAddress: NotRequired[str],
    InsideCidrBlocks: NotRequired[List[str]],
    Protocol: NotRequired[ProtocolValueType],  # (1)
    BgpConfigurations: NotRequired[List[TransitGatewayAttachmentBgpConfigurationTypeDef]],  # (2)
  1. See ProtocolValueType
  2. See TransitGatewayAttachmentBgpConfigurationTypeDef

TransitGatewayConnectTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayConnectTypeDef

def get_value() -> TransitGatewayConnectTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayConnectTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    TransportTransitGatewayAttachmentId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    State: NotRequired[TransitGatewayAttachmentStateType],  # (1)
    CreationTime: NotRequired[datetime],
    Options: NotRequired[TransitGatewayConnectOptionsTypeDef],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See TransitGatewayAttachmentStateType
  2. See TransitGatewayConnectOptionsTypeDef
  3. See TagTypeDef

TransitGatewayMulticastDomainTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayMulticastDomainTypeDef

def get_value() -> TransitGatewayMulticastDomainTypeDef:
    return {
        "TransitGatewayMulticastDomainId": ...,
    }
Definition
class TransitGatewayMulticastDomainTypeDef(TypedDict):
    TransitGatewayMulticastDomainId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    TransitGatewayMulticastDomainArn: NotRequired[str],
    OwnerId: NotRequired[str],
    Options: NotRequired[TransitGatewayMulticastDomainOptionsTypeDef],  # (1)
    State: NotRequired[TransitGatewayMulticastDomainStateType],  # (2)
    CreationTime: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See TransitGatewayMulticastDomainOptionsTypeDef
  2. See TransitGatewayMulticastDomainStateType
  3. See TagTypeDef

TransitGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayTypeDef

def get_value() -> TransitGatewayTypeDef:
    return {
        "TransitGatewayId": ...,
    }
Definition
class TransitGatewayTypeDef(TypedDict):
    TransitGatewayId: NotRequired[str],
    TransitGatewayArn: NotRequired[str],
    State: NotRequired[TransitGatewayStateType],  # (1)
    OwnerId: NotRequired[str],
    Description: NotRequired[str],
    CreationTime: NotRequired[datetime],
    Options: NotRequired[TransitGatewayOptionsTypeDef],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See TransitGatewayStateType
  2. See TransitGatewayOptionsTypeDef
  3. See TagTypeDef

TransitGatewayPeeringAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPeeringAttachmentTypeDef

def get_value() -> TransitGatewayPeeringAttachmentTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayPeeringAttachmentTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    AccepterTransitGatewayAttachmentId: NotRequired[str],
    RequesterTgwInfo: NotRequired[PeeringTgwInfoTypeDef],  # (1)
    AccepterTgwInfo: NotRequired[PeeringTgwInfoTypeDef],  # (1)
    Options: NotRequired[TransitGatewayPeeringAttachmentOptionsTypeDef],  # (3)
    Status: NotRequired[PeeringAttachmentStatusTypeDef],  # (4)
    State: NotRequired[TransitGatewayAttachmentStateType],  # (5)
    CreationTime: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (6)
  1. See PeeringTgwInfoTypeDef
  2. See PeeringTgwInfoTypeDef
  3. See TransitGatewayPeeringAttachmentOptionsTypeDef
  4. See PeeringAttachmentStatusTypeDef
  5. See TransitGatewayAttachmentStateType
  6. See TagTypeDef

TransitGatewayPolicyRuleTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPolicyRuleTypeDef

def get_value() -> TransitGatewayPolicyRuleTypeDef:
    return {
        "SourceCidrBlock": ...,
    }
Definition
class TransitGatewayPolicyRuleTypeDef(TypedDict):
    SourceCidrBlock: NotRequired[str],
    SourcePortRange: NotRequired[str],
    DestinationCidrBlock: NotRequired[str],
    DestinationPortRange: NotRequired[str],
    Protocol: NotRequired[str],
    MetaData: NotRequired[TransitGatewayPolicyRuleMetaDataTypeDef],  # (1)
  1. See TransitGatewayPolicyRuleMetaDataTypeDef

TransitGatewayPrefixListReferenceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPrefixListReferenceTypeDef

def get_value() -> TransitGatewayPrefixListReferenceTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
    }
Definition
class TransitGatewayPrefixListReferenceTypeDef(TypedDict):
    TransitGatewayRouteTableId: NotRequired[str],
    PrefixListId: NotRequired[str],
    PrefixListOwnerId: NotRequired[str],
    State: NotRequired[TransitGatewayPrefixListReferenceStateType],  # (1)
    Blackhole: NotRequired[bool],
    TransitGatewayAttachment: NotRequired[TransitGatewayPrefixListAttachmentTypeDef],  # (2)
  1. See TransitGatewayPrefixListReferenceStateType
  2. See TransitGatewayPrefixListAttachmentTypeDef

TransitGatewayRouteTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayRouteTypeDef

def get_value() -> TransitGatewayRouteTypeDef:
    return {
        "DestinationCidrBlock": ...,
    }
Definition
class TransitGatewayRouteTypeDef(TypedDict):
    DestinationCidrBlock: NotRequired[str],
    PrefixListId: NotRequired[str],
    TransitGatewayRouteTableAnnouncementId: NotRequired[str],
    TransitGatewayAttachments: NotRequired[List[TransitGatewayRouteAttachmentTypeDef]],  # (1)
    Type: NotRequired[TransitGatewayRouteTypeType],  # (2)
    State: NotRequired[TransitGatewayRouteStateType],  # (3)
  1. See TransitGatewayRouteAttachmentTypeDef
  2. See TransitGatewayRouteTypeType
  3. See TransitGatewayRouteStateType

TransitGatewayVpcAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayVpcAttachmentTypeDef

def get_value() -> TransitGatewayVpcAttachmentTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayVpcAttachmentTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    VpcId: NotRequired[str],
    VpcOwnerId: NotRequired[str],
    State: NotRequired[TransitGatewayAttachmentStateType],  # (1)
    SubnetIds: NotRequired[List[str]],
    CreationTime: NotRequired[datetime],
    Options: NotRequired[TransitGatewayVpcAttachmentOptionsTypeDef],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See TransitGatewayAttachmentStateType
  2. See TransitGatewayVpcAttachmentOptionsTypeDef
  3. See TagTypeDef

UnsuccessfulInstanceCreditSpecificationItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnsuccessfulInstanceCreditSpecificationItemTypeDef

def get_value() -> UnsuccessfulInstanceCreditSpecificationItemTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class UnsuccessfulInstanceCreditSpecificationItemTypeDef(TypedDict):
    InstanceId: NotRequired[str],
    Error: NotRequired[UnsuccessfulInstanceCreditSpecificationItemErrorTypeDef],  # (1)
  1. See UnsuccessfulInstanceCreditSpecificationItemErrorTypeDef

UnsuccessfulItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnsuccessfulItemTypeDef

def get_value() -> UnsuccessfulItemTypeDef:
    return {
        "Error": ...,
    }
Definition
class UnsuccessfulItemTypeDef(TypedDict):
    Error: NotRequired[UnsuccessfulItemErrorTypeDef],  # (1)
    ResourceId: NotRequired[str],
  1. See UnsuccessfulItemErrorTypeDef

ValidationWarningTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ValidationWarningTypeDef

def get_value() -> ValidationWarningTypeDef:
    return {
        "Errors": ...,
    }
Definition
class ValidationWarningTypeDef(TypedDict):
    Errors: NotRequired[List[ValidationErrorTypeDef]],  # (1)
  1. See ValidationErrorTypeDef

VerifiedAccessEndpointTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessEndpointTypeDef

def get_value() -> VerifiedAccessEndpointTypeDef:
    return {
        "VerifiedAccessInstanceId": ...,
    }
Definition
class VerifiedAccessEndpointTypeDef(TypedDict):
    VerifiedAccessInstanceId: NotRequired[str],
    VerifiedAccessGroupId: NotRequired[str],
    VerifiedAccessEndpointId: NotRequired[str],
    ApplicationDomain: NotRequired[str],
    EndpointType: NotRequired[VerifiedAccessEndpointTypeType],  # (1)
    AttachmentType: NotRequired[VerifiedAccessEndpointAttachmentTypeType],  # (2)
    DomainCertificateArn: NotRequired[str],
    EndpointDomain: NotRequired[str],
    DeviceValidationDomain: NotRequired[str],
    SecurityGroupIds: NotRequired[List[str]],
    LoadBalancerOptions: NotRequired[VerifiedAccessEndpointLoadBalancerOptionsTypeDef],  # (3)
    NetworkInterfaceOptions: NotRequired[VerifiedAccessEndpointEniOptionsTypeDef],  # (4)
    Status: NotRequired[VerifiedAccessEndpointStatusTypeDef],  # (5)
    Description: NotRequired[str],
    CreationTime: NotRequired[str],
    LastUpdatedTime: NotRequired[str],
    DeletionTime: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (6)
  1. See VerifiedAccessEndpointTypeType
  2. See VerifiedAccessEndpointAttachmentTypeType
  3. See VerifiedAccessEndpointLoadBalancerOptionsTypeDef
  4. See VerifiedAccessEndpointEniOptionsTypeDef
  5. See VerifiedAccessEndpointStatusTypeDef
  6. See TagTypeDef

VerifiedAccessInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessInstanceTypeDef

def get_value() -> VerifiedAccessInstanceTypeDef:
    return {
        "VerifiedAccessInstanceId": ...,
    }
Definition
class VerifiedAccessInstanceTypeDef(TypedDict):
    VerifiedAccessInstanceId: NotRequired[str],
    Description: NotRequired[str],
    VerifiedAccessTrustProviders: NotRequired[List[VerifiedAccessTrustProviderCondensedTypeDef]],  # (1)
    CreationTime: NotRequired[str],
    LastUpdatedTime: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See VerifiedAccessTrustProviderCondensedTypeDef
  2. See TagTypeDef

VerifiedAccessLogCloudWatchLogsDestinationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessLogCloudWatchLogsDestinationTypeDef

def get_value() -> VerifiedAccessLogCloudWatchLogsDestinationTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class VerifiedAccessLogCloudWatchLogsDestinationTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    DeliveryStatus: NotRequired[VerifiedAccessLogDeliveryStatusTypeDef],  # (1)
    LogGroup: NotRequired[str],
  1. See VerifiedAccessLogDeliveryStatusTypeDef

VerifiedAccessLogKinesisDataFirehoseDestinationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessLogKinesisDataFirehoseDestinationTypeDef

def get_value() -> VerifiedAccessLogKinesisDataFirehoseDestinationTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class VerifiedAccessLogKinesisDataFirehoseDestinationTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    DeliveryStatus: NotRequired[VerifiedAccessLogDeliveryStatusTypeDef],  # (1)
    DeliveryStream: NotRequired[str],
  1. See VerifiedAccessLogDeliveryStatusTypeDef

VerifiedAccessLogS3DestinationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessLogS3DestinationTypeDef

def get_value() -> VerifiedAccessLogS3DestinationTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class VerifiedAccessLogS3DestinationTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    DeliveryStatus: NotRequired[VerifiedAccessLogDeliveryStatusTypeDef],  # (1)
    BucketName: NotRequired[str],
    Prefix: NotRequired[str],
    BucketOwner: NotRequired[str],
  1. See VerifiedAccessLogDeliveryStatusTypeDef

VerifiedAccessLogOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessLogOptionsTypeDef

def get_value() -> VerifiedAccessLogOptionsTypeDef:
    return {
        "S3": ...,
    }
Definition
class VerifiedAccessLogOptionsTypeDef(TypedDict):
    S3: NotRequired[VerifiedAccessLogS3DestinationOptionsTypeDef],  # (1)
    CloudWatchLogs: NotRequired[VerifiedAccessLogCloudWatchLogsDestinationOptionsTypeDef],  # (2)
    KinesisDataFirehose: NotRequired[VerifiedAccessLogKinesisDataFirehoseDestinationOptionsTypeDef],  # (3)
  1. See VerifiedAccessLogS3DestinationOptionsTypeDef
  2. See VerifiedAccessLogCloudWatchLogsDestinationOptionsTypeDef
  3. See VerifiedAccessLogKinesisDataFirehoseDestinationOptionsTypeDef

VolumeResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeResponseMetadataTypeDef

def get_value() -> VolumeResponseMetadataTypeDef:
    return {
        "Attachments": ...,
        "AvailabilityZone": ...,
        "CreateTime": ...,
        "Encrypted": ...,
        "KmsKeyId": ...,
        "OutpostArn": ...,
        "Size": ...,
        "SnapshotId": ...,
        "State": ...,
        "VolumeId": ...,
        "Iops": ...,
        "Tags": ...,
        "VolumeType": ...,
        "FastRestored": ...,
        "MultiAttachEnabled": ...,
        "Throughput": ...,
        "ResponseMetadata": ...,
    }
Definition
class VolumeResponseMetadataTypeDef(TypedDict):
    Attachments: List[VolumeAttachmentTypeDef],  # (1)
    AvailabilityZone: str,
    CreateTime: datetime,
    Encrypted: bool,
    KmsKeyId: str,
    OutpostArn: str,
    Size: int,
    SnapshotId: str,
    State: VolumeStateType,  # (2)
    VolumeId: str,
    Iops: int,
    Tags: List[TagTypeDef],  # (3)
    VolumeType: VolumeTypeType,  # (4)
    FastRestored: bool,
    MultiAttachEnabled: bool,
    Throughput: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See VolumeAttachmentTypeDef
  2. See VolumeStateType
  3. See TagTypeDef
  4. See VolumeTypeType
  5. See ResponseMetadataTypeDef

VolumeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeTypeDef

def get_value() -> VolumeTypeDef:
    return {
        "Attachments": ...,
    }
Definition
class VolumeTypeDef(TypedDict):
    Attachments: NotRequired[List[VolumeAttachmentTypeDef]],  # (1)
    AvailabilityZone: NotRequired[str],
    CreateTime: NotRequired[datetime],
    Encrypted: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    OutpostArn: NotRequired[str],
    Size: NotRequired[int],
    SnapshotId: NotRequired[str],
    State: NotRequired[VolumeStateType],  # (2)
    VolumeId: NotRequired[str],
    Iops: NotRequired[int],
    Tags: NotRequired[List[TagTypeDef]],  # (3)
    VolumeType: NotRequired[VolumeTypeType],  # (4)
    FastRestored: NotRequired[bool],
    MultiAttachEnabled: NotRequired[bool],
    Throughput: NotRequired[int],
  1. See VolumeAttachmentTypeDef
  2. See VolumeStateType
  3. See TagTypeDef
  4. See VolumeTypeType

VolumeStatusInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeStatusInfoTypeDef

def get_value() -> VolumeStatusInfoTypeDef:
    return {
        "Details": ...,
    }
Definition
class VolumeStatusInfoTypeDef(TypedDict):
    Details: NotRequired[List[VolumeStatusDetailsTypeDef]],  # (1)
    Status: NotRequired[VolumeStatusInfoStatusType],  # (2)
  1. See VolumeStatusDetailsTypeDef
  2. See VolumeStatusInfoStatusType

VpcCidrBlockAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcCidrBlockAssociationTypeDef

def get_value() -> VpcCidrBlockAssociationTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class VpcCidrBlockAssociationTypeDef(TypedDict):
    AssociationId: NotRequired[str],
    CidrBlock: NotRequired[str],
    CidrBlockState: NotRequired[VpcCidrBlockStateTypeDef],  # (1)
  1. See VpcCidrBlockStateTypeDef

VpcIpv6CidrBlockAssociationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcIpv6CidrBlockAssociationTypeDef

def get_value() -> VpcIpv6CidrBlockAssociationTypeDef:
    return {
        "AssociationId": ...,
    }
Definition
class VpcIpv6CidrBlockAssociationTypeDef(TypedDict):
    AssociationId: NotRequired[str],
    Ipv6CidrBlock: NotRequired[str],
    Ipv6CidrBlockState: NotRequired[VpcCidrBlockStateTypeDef],  # (1)
    NetworkBorderGroup: NotRequired[str],
    Ipv6Pool: NotRequired[str],
  1. See VpcCidrBlockStateTypeDef

VpcPeeringConnectionVpcInfoResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcPeeringConnectionVpcInfoResponseMetadataTypeDef

def get_value() -> VpcPeeringConnectionVpcInfoResponseMetadataTypeDef:
    return {
        "CidrBlock": ...,
        "Ipv6CidrBlockSet": ...,
        "CidrBlockSet": ...,
        "OwnerId": ...,
        "PeeringOptions": ...,
        "VpcId": ...,
        "Region": ...,
        "ResponseMetadata": ...,
    }
Definition
class VpcPeeringConnectionVpcInfoResponseMetadataTypeDef(TypedDict):
    CidrBlock: str,
    Ipv6CidrBlockSet: List[Ipv6CidrBlockTypeDef],  # (1)
    CidrBlockSet: List[CidrBlockTypeDef],  # (2)
    OwnerId: str,
    PeeringOptions: VpcPeeringConnectionOptionsDescriptionTypeDef,  # (3)
    VpcId: str,
    Region: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See Ipv6CidrBlockTypeDef
  2. See CidrBlockTypeDef
  3. See VpcPeeringConnectionOptionsDescriptionTypeDef
  4. See ResponseMetadataTypeDef

VpcPeeringConnectionVpcInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcPeeringConnectionVpcInfoTypeDef

def get_value() -> VpcPeeringConnectionVpcInfoTypeDef:
    return {
        "CidrBlock": ...,
    }
Definition
class VpcPeeringConnectionVpcInfoTypeDef(TypedDict):
    CidrBlock: NotRequired[str],
    Ipv6CidrBlockSet: NotRequired[List[Ipv6CidrBlockTypeDef]],  # (1)
    CidrBlockSet: NotRequired[List[CidrBlockTypeDef]],  # (2)
    OwnerId: NotRequired[str],
    PeeringOptions: NotRequired[VpcPeeringConnectionOptionsDescriptionTypeDef],  # (3)
    VpcId: NotRequired[str],
    Region: NotRequired[str],
  1. See Ipv6CidrBlockTypeDef
  2. See CidrBlockTypeDef
  3. See VpcPeeringConnectionOptionsDescriptionTypeDef

DescribeAccountAttributesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAccountAttributesResultTypeDef

def get_value() -> DescribeAccountAttributesResultTypeDef:
    return {
        "AccountAttributes": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAccountAttributesResultTypeDef(TypedDict):
    AccountAttributes: List[AccountAttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccountAttributeTypeDef
  2. See ResponseMetadataTypeDef

DescribeAddressesAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAddressesAttributeResultTypeDef

def get_value() -> DescribeAddressesAttributeResultTypeDef:
    return {
        "Addresses": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAddressesAttributeResultTypeDef(TypedDict):
    Addresses: List[AddressAttributeTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AddressAttributeTypeDef
  2. See ResponseMetadataTypeDef

ModifyAddressAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyAddressAttributeResultTypeDef

def get_value() -> ModifyAddressAttributeResultTypeDef:
    return {
        "Address": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyAddressAttributeResultTypeDef(TypedDict):
    Address: AddressAttributeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AddressAttributeTypeDef
  2. See ResponseMetadataTypeDef

ResetAddressAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResetAddressAttributeResultTypeDef

def get_value() -> ResetAddressAttributeResultTypeDef:
    return {
        "Address": ...,
        "ResponseMetadata": ...,
    }
Definition
class ResetAddressAttributeResultTypeDef(TypedDict):
    Address: AddressAttributeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AddressAttributeTypeDef
  2. See ResponseMetadataTypeDef

DescribeAddressesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAddressesResultTypeDef

def get_value() -> DescribeAddressesResultTypeDef:
    return {
        "Addresses": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAddressesResultTypeDef(TypedDict):
    Addresses: List[AddressTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AddressTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpcEndpointServicePermissionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointServicePermissionsResultTypeDef

def get_value() -> DescribeVpcEndpointServicePermissionsResultTypeDef:
    return {
        "AllowedPrincipals": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcEndpointServicePermissionsResultTypeDef(TypedDict):
    AllowedPrincipals: List[AllowedPrincipalTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AllowedPrincipalTypeDef
  2. See ResponseMetadataTypeDef

CreateCarrierGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCarrierGatewayResultTypeDef

def get_value() -> CreateCarrierGatewayResultTypeDef:
    return {
        "CarrierGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCarrierGatewayResultTypeDef(TypedDict):
    CarrierGateway: CarrierGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CarrierGatewayTypeDef
  2. See ResponseMetadataTypeDef

DeleteCarrierGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteCarrierGatewayResultTypeDef

def get_value() -> DeleteCarrierGatewayResultTypeDef:
    return {
        "CarrierGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteCarrierGatewayResultTypeDef(TypedDict):
    CarrierGateway: CarrierGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CarrierGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeCarrierGatewaysResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCarrierGatewaysResultTypeDef

def get_value() -> DescribeCarrierGatewaysResultTypeDef:
    return {
        "CarrierGateways": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCarrierGatewaysResultTypeDef(TypedDict):
    CarrierGateways: List[CarrierGatewayTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CarrierGatewayTypeDef
  2. See ResponseMetadataTypeDef

CreateCoipPoolResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCoipPoolResultTypeDef

def get_value() -> CreateCoipPoolResultTypeDef:
    return {
        "CoipPool": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCoipPoolResultTypeDef(TypedDict):
    CoipPool: CoipPoolTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CoipPoolTypeDef
  2. See ResponseMetadataTypeDef

DeleteCoipPoolResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteCoipPoolResultTypeDef

def get_value() -> DeleteCoipPoolResultTypeDef:
    return {
        "CoipPool": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteCoipPoolResultTypeDef(TypedDict):
    CoipPool: CoipPoolTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CoipPoolTypeDef
  2. See ResponseMetadataTypeDef

DescribeCoipPoolsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCoipPoolsResultTypeDef

def get_value() -> DescribeCoipPoolsResultTypeDef:
    return {
        "CoipPools": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCoipPoolsResultTypeDef(TypedDict):
    CoipPools: List[CoipPoolTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CoipPoolTypeDef
  2. See ResponseMetadataTypeDef

CreateCustomerGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCustomerGatewayResultTypeDef

def get_value() -> CreateCustomerGatewayResultTypeDef:
    return {
        "CustomerGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCustomerGatewayResultTypeDef(TypedDict):
    CustomerGateway: CustomerGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CustomerGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeCustomerGatewaysResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCustomerGatewaysResultTypeDef

def get_value() -> DescribeCustomerGatewaysResultTypeDef:
    return {
        "CustomerGateways": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCustomerGatewaysResultTypeDef(TypedDict):
    CustomerGateways: List[CustomerGatewayTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CustomerGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeHostReservationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeHostReservationsResultTypeDef

def get_value() -> DescribeHostReservationsResultTypeDef:
    return {
        "HostReservationSet": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeHostReservationsResultTypeDef(TypedDict):
    HostReservationSet: List[HostReservationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HostReservationTypeDef
  2. See ResponseMetadataTypeDef

AssociateInstanceEventWindowRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateInstanceEventWindowRequestRequestTypeDef

def get_value() -> AssociateInstanceEventWindowRequestRequestTypeDef:
    return {
        "InstanceEventWindowId": ...,
        "AssociationTarget": ...,
    }
Definition
class AssociateInstanceEventWindowRequestRequestTypeDef(TypedDict):
    InstanceEventWindowId: str,
    AssociationTarget: InstanceEventWindowAssociationRequestTypeDef,  # (1)
    DryRun: NotRequired[bool],
  1. See InstanceEventWindowAssociationRequestTypeDef

InstanceEventWindowTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceEventWindowTypeDef

def get_value() -> InstanceEventWindowTypeDef:
    return {
        "InstanceEventWindowId": ...,
    }
Definition
class InstanceEventWindowTypeDef(TypedDict):
    InstanceEventWindowId: NotRequired[str],
    TimeRanges: NotRequired[List[InstanceEventWindowTimeRangeTypeDef]],  # (1)
    Name: NotRequired[str],
    CronExpression: NotRequired[str],
    AssociationTarget: NotRequired[InstanceEventWindowAssociationTargetTypeDef],  # (2)
    State: NotRequired[InstanceEventWindowStateType],  # (3)
    Tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See InstanceEventWindowTimeRangeTypeDef
  2. See InstanceEventWindowAssociationTargetTypeDef
  3. See InstanceEventWindowStateType
  4. See TagTypeDef

DisassociateInstanceEventWindowRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateInstanceEventWindowRequestRequestTypeDef

def get_value() -> DisassociateInstanceEventWindowRequestRequestTypeDef:
    return {
        "InstanceEventWindowId": ...,
        "AssociationTarget": ...,
    }
Definition
class DisassociateInstanceEventWindowRequestRequestTypeDef(TypedDict):
    InstanceEventWindowId: str,
    AssociationTarget: InstanceEventWindowDisassociationRequestTypeDef,  # (1)
    DryRun: NotRequired[bool],
  1. See InstanceEventWindowDisassociationRequestTypeDef

AssociateIpamResourceDiscoveryResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateIpamResourceDiscoveryResultTypeDef

def get_value() -> AssociateIpamResourceDiscoveryResultTypeDef:
    return {
        "IpamResourceDiscoveryAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateIpamResourceDiscoveryResultTypeDef(TypedDict):
    IpamResourceDiscoveryAssociation: IpamResourceDiscoveryAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamResourceDiscoveryAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeIpamResourceDiscoveryAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamResourceDiscoveryAssociationsResultTypeDef

def get_value() -> DescribeIpamResourceDiscoveryAssociationsResultTypeDef:
    return {
        "IpamResourceDiscoveryAssociations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIpamResourceDiscoveryAssociationsResultTypeDef(TypedDict):
    IpamResourceDiscoveryAssociations: List[IpamResourceDiscoveryAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamResourceDiscoveryAssociationTypeDef
  2. See ResponseMetadataTypeDef

DisassociateIpamResourceDiscoveryResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateIpamResourceDiscoveryResultTypeDef

def get_value() -> DisassociateIpamResourceDiscoveryResultTypeDef:
    return {
        "IpamResourceDiscoveryAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateIpamResourceDiscoveryResultTypeDef(TypedDict):
    IpamResourceDiscoveryAssociation: IpamResourceDiscoveryAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamResourceDiscoveryAssociationTypeDef
  2. See ResponseMetadataTypeDef

CreateIpamScopeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateIpamScopeResultTypeDef

def get_value() -> CreateIpamScopeResultTypeDef:
    return {
        "IpamScope": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateIpamScopeResultTypeDef(TypedDict):
    IpamScope: IpamScopeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamScopeTypeDef
  2. See ResponseMetadataTypeDef

DeleteIpamScopeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteIpamScopeResultTypeDef

def get_value() -> DeleteIpamScopeResultTypeDef:
    return {
        "IpamScope": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteIpamScopeResultTypeDef(TypedDict):
    IpamScope: IpamScopeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamScopeTypeDef
  2. See ResponseMetadataTypeDef

DescribeIpamScopesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamScopesResultTypeDef

def get_value() -> DescribeIpamScopesResultTypeDef:
    return {
        "NextToken": ...,
        "IpamScopes": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIpamScopesResultTypeDef(TypedDict):
    NextToken: str,
    IpamScopes: List[IpamScopeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamScopeTypeDef
  2. See ResponseMetadataTypeDef

ModifyIpamScopeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamScopeResultTypeDef

def get_value() -> ModifyIpamScopeResultTypeDef:
    return {
        "IpamScope": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyIpamScopeResultTypeDef(TypedDict):
    IpamScope: IpamScopeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamScopeTypeDef
  2. See ResponseMetadataTypeDef

DescribeKeyPairsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeKeyPairsResultTypeDef

def get_value() -> DescribeKeyPairsResultTypeDef:
    return {
        "KeyPairs": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeKeyPairsResultTypeDef(TypedDict):
    KeyPairs: List[KeyPairInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyPairInfoTypeDef
  2. See ResponseMetadataTypeDef

DeleteLaunchTemplateResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLaunchTemplateResultTypeDef

def get_value() -> DeleteLaunchTemplateResultTypeDef:
    return {
        "LaunchTemplate": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteLaunchTemplateResultTypeDef(TypedDict):
    LaunchTemplate: LaunchTemplateTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LaunchTemplateTypeDef
  2. See ResponseMetadataTypeDef

DescribeLaunchTemplatesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLaunchTemplatesResultTypeDef

def get_value() -> DescribeLaunchTemplatesResultTypeDef:
    return {
        "LaunchTemplates": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLaunchTemplatesResultTypeDef(TypedDict):
    LaunchTemplates: List[LaunchTemplateTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LaunchTemplateTypeDef
  2. See ResponseMetadataTypeDef

ModifyLaunchTemplateResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyLaunchTemplateResultTypeDef

def get_value() -> ModifyLaunchTemplateResultTypeDef:
    return {
        "LaunchTemplate": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyLaunchTemplateResultTypeDef(TypedDict):
    LaunchTemplate: LaunchTemplateTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LaunchTemplateTypeDef
  2. See ResponseMetadataTypeDef

CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResultTypeDef

def get_value() -> CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResultTypeDef:
    return {
        "LocalGatewayRouteTableVirtualInterfaceGroupAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResultTypeDef(TypedDict):
    LocalGatewayRouteTableVirtualInterfaceGroupAssociation: LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef
  2. See ResponseMetadataTypeDef

DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResultTypeDef

def get_value() -> DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResultTypeDef:
    return {
        "LocalGatewayRouteTableVirtualInterfaceGroupAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResultTypeDef(TypedDict):
    LocalGatewayRouteTableVirtualInterfaceGroupAssociation: LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResultTypeDef

def get_value() -> DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResultTypeDef:
    return {
        "LocalGatewayRouteTableVirtualInterfaceGroupAssociations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResultTypeDef(TypedDict):
    LocalGatewayRouteTableVirtualInterfaceGroupAssociations: List[LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTableVirtualInterfaceGroupAssociationTypeDef
  2. See ResponseMetadataTypeDef

CreateLocalGatewayRouteTableVpcAssociationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLocalGatewayRouteTableVpcAssociationResultTypeDef

def get_value() -> CreateLocalGatewayRouteTableVpcAssociationResultTypeDef:
    return {
        "LocalGatewayRouteTableVpcAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocalGatewayRouteTableVpcAssociationResultTypeDef(TypedDict):
    LocalGatewayRouteTableVpcAssociation: LocalGatewayRouteTableVpcAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTableVpcAssociationTypeDef
  2. See ResponseMetadataTypeDef

DeleteLocalGatewayRouteTableVpcAssociationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLocalGatewayRouteTableVpcAssociationResultTypeDef

def get_value() -> DeleteLocalGatewayRouteTableVpcAssociationResultTypeDef:
    return {
        "LocalGatewayRouteTableVpcAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteLocalGatewayRouteTableVpcAssociationResultTypeDef(TypedDict):
    LocalGatewayRouteTableVpcAssociation: LocalGatewayRouteTableVpcAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTableVpcAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeLocalGatewayRouteTableVpcAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayRouteTableVpcAssociationsResultTypeDef

def get_value() -> DescribeLocalGatewayRouteTableVpcAssociationsResultTypeDef:
    return {
        "LocalGatewayRouteTableVpcAssociations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocalGatewayRouteTableVpcAssociationsResultTypeDef(TypedDict):
    LocalGatewayRouteTableVpcAssociations: List[LocalGatewayRouteTableVpcAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTableVpcAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeLocalGatewaysResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewaysResultTypeDef

def get_value() -> DescribeLocalGatewaysResultTypeDef:
    return {
        "LocalGateways": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocalGatewaysResultTypeDef(TypedDict):
    LocalGateways: List[LocalGatewayTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeLocalGatewayVirtualInterfaceGroupsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayVirtualInterfaceGroupsResultTypeDef

def get_value() -> DescribeLocalGatewayVirtualInterfaceGroupsResultTypeDef:
    return {
        "LocalGatewayVirtualInterfaceGroups": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocalGatewayVirtualInterfaceGroupsResultTypeDef(TypedDict):
    LocalGatewayVirtualInterfaceGroups: List[LocalGatewayVirtualInterfaceGroupTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayVirtualInterfaceGroupTypeDef
  2. See ResponseMetadataTypeDef

DescribeLocalGatewayVirtualInterfacesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayVirtualInterfacesResultTypeDef

def get_value() -> DescribeLocalGatewayVirtualInterfacesResultTypeDef:
    return {
        "LocalGatewayVirtualInterfaces": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocalGatewayVirtualInterfacesResultTypeDef(TypedDict):
    LocalGatewayVirtualInterfaces: List[LocalGatewayVirtualInterfaceTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayVirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

CreateManagedPrefixListResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateManagedPrefixListResultTypeDef

def get_value() -> CreateManagedPrefixListResultTypeDef:
    return {
        "PrefixList": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateManagedPrefixListResultTypeDef(TypedDict):
    PrefixList: ManagedPrefixListTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedPrefixListTypeDef
  2. See ResponseMetadataTypeDef

DeleteManagedPrefixListResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteManagedPrefixListResultTypeDef

def get_value() -> DeleteManagedPrefixListResultTypeDef:
    return {
        "PrefixList": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteManagedPrefixListResultTypeDef(TypedDict):
    PrefixList: ManagedPrefixListTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedPrefixListTypeDef
  2. See ResponseMetadataTypeDef

DescribeManagedPrefixListsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeManagedPrefixListsResultTypeDef

def get_value() -> DescribeManagedPrefixListsResultTypeDef:
    return {
        "NextToken": ...,
        "PrefixLists": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeManagedPrefixListsResultTypeDef(TypedDict):
    NextToken: str,
    PrefixLists: List[ManagedPrefixListTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedPrefixListTypeDef
  2. See ResponseMetadataTypeDef

ModifyManagedPrefixListResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyManagedPrefixListResultTypeDef

def get_value() -> ModifyManagedPrefixListResultTypeDef:
    return {
        "PrefixList": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyManagedPrefixListResultTypeDef(TypedDict):
    PrefixList: ManagedPrefixListTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedPrefixListTypeDef
  2. See ResponseMetadataTypeDef

RestoreManagedPrefixListVersionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RestoreManagedPrefixListVersionResultTypeDef

def get_value() -> RestoreManagedPrefixListVersionResultTypeDef:
    return {
        "PrefixList": ...,
        "ResponseMetadata": ...,
    }
Definition
class RestoreManagedPrefixListVersionResultTypeDef(TypedDict):
    PrefixList: ManagedPrefixListTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ManagedPrefixListTypeDef
  2. See ResponseMetadataTypeDef

DescribeNetworkInsightsAccessScopeAnalysesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsAccessScopeAnalysesResultTypeDef

def get_value() -> DescribeNetworkInsightsAccessScopeAnalysesResultTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalyses": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNetworkInsightsAccessScopeAnalysesResultTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalyses: List[NetworkInsightsAccessScopeAnalysisTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInsightsAccessScopeAnalysisTypeDef
  2. See ResponseMetadataTypeDef

StartNetworkInsightsAccessScopeAnalysisResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StartNetworkInsightsAccessScopeAnalysisResultTypeDef

def get_value() -> StartNetworkInsightsAccessScopeAnalysisResultTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalysis": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartNetworkInsightsAccessScopeAnalysisResultTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalysis: NetworkInsightsAccessScopeAnalysisTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInsightsAccessScopeAnalysisTypeDef
  2. See ResponseMetadataTypeDef

DescribeNetworkInsightsAccessScopesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsAccessScopesResultTypeDef

def get_value() -> DescribeNetworkInsightsAccessScopesResultTypeDef:
    return {
        "NetworkInsightsAccessScopes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNetworkInsightsAccessScopesResultTypeDef(TypedDict):
    NetworkInsightsAccessScopes: List[NetworkInsightsAccessScopeTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInsightsAccessScopeTypeDef
  2. See ResponseMetadataTypeDef

CreateNetworkInsightsPathResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInsightsPathResultTypeDef

def get_value() -> CreateNetworkInsightsPathResultTypeDef:
    return {
        "NetworkInsightsPath": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateNetworkInsightsPathResultTypeDef(TypedDict):
    NetworkInsightsPath: NetworkInsightsPathTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInsightsPathTypeDef
  2. See ResponseMetadataTypeDef

DescribeNetworkInsightsPathsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsPathsResultTypeDef

def get_value() -> DescribeNetworkInsightsPathsResultTypeDef:
    return {
        "NetworkInsightsPaths": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNetworkInsightsPathsResultTypeDef(TypedDict):
    NetworkInsightsPaths: List[NetworkInsightsPathTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInsightsPathTypeDef
  2. See ResponseMetadataTypeDef

CreatePlacementGroupResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreatePlacementGroupResultTypeDef

def get_value() -> CreatePlacementGroupResultTypeDef:
    return {
        "PlacementGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreatePlacementGroupResultTypeDef(TypedDict):
    PlacementGroup: PlacementGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PlacementGroupTypeDef
  2. See ResponseMetadataTypeDef

DescribePlacementGroupsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePlacementGroupsResultTypeDef

def get_value() -> DescribePlacementGroupsResultTypeDef:
    return {
        "PlacementGroups": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribePlacementGroupsResultTypeDef(TypedDict):
    PlacementGroups: List[PlacementGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PlacementGroupTypeDef
  2. See ResponseMetadataTypeDef

CreateReplaceRootVolumeTaskResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateReplaceRootVolumeTaskResultTypeDef

def get_value() -> CreateReplaceRootVolumeTaskResultTypeDef:
    return {
        "ReplaceRootVolumeTask": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateReplaceRootVolumeTaskResultTypeDef(TypedDict):
    ReplaceRootVolumeTask: ReplaceRootVolumeTaskTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReplaceRootVolumeTaskTypeDef
  2. See ResponseMetadataTypeDef

DescribeReplaceRootVolumeTasksResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReplaceRootVolumeTasksResultTypeDef

def get_value() -> DescribeReplaceRootVolumeTasksResultTypeDef:
    return {
        "ReplaceRootVolumeTasks": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeReplaceRootVolumeTasksResultTypeDef(TypedDict):
    ReplaceRootVolumeTasks: List[ReplaceRootVolumeTaskTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReplaceRootVolumeTaskTypeDef
  2. See ResponseMetadataTypeDef

CreateSnapshotsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSnapshotsResultTypeDef

def get_value() -> CreateSnapshotsResultTypeDef:
    return {
        "Snapshots": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateSnapshotsResultTypeDef(TypedDict):
    Snapshots: List[SnapshotInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SnapshotInfoTypeDef
  2. See ResponseMetadataTypeDef

DescribeSnapshotTierStatusResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotTierStatusResultTypeDef

def get_value() -> DescribeSnapshotTierStatusResultTypeDef:
    return {
        "SnapshotTierStatuses": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSnapshotTierStatusResultTypeDef(TypedDict):
    SnapshotTierStatuses: List[SnapshotTierStatusTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SnapshotTierStatusTypeDef
  2. See ResponseMetadataTypeDef

DescribeSnapshotsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSnapshotsResultTypeDef

def get_value() -> DescribeSnapshotsResultTypeDef:
    return {
        "Snapshots": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSnapshotsResultTypeDef(TypedDict):
    Snapshots: List[SnapshotTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SnapshotTypeDef
  2. See ResponseMetadataTypeDef

CreateSubnetCidrReservationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSubnetCidrReservationResultTypeDef

def get_value() -> CreateSubnetCidrReservationResultTypeDef:
    return {
        "SubnetCidrReservation": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateSubnetCidrReservationResultTypeDef(TypedDict):
    SubnetCidrReservation: SubnetCidrReservationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetCidrReservationTypeDef
  2. See ResponseMetadataTypeDef

DeleteSubnetCidrReservationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteSubnetCidrReservationResultTypeDef

def get_value() -> DeleteSubnetCidrReservationResultTypeDef:
    return {
        "DeletedSubnetCidrReservation": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteSubnetCidrReservationResultTypeDef(TypedDict):
    DeletedSubnetCidrReservation: SubnetCidrReservationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetCidrReservationTypeDef
  2. See ResponseMetadataTypeDef

GetSubnetCidrReservationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetSubnetCidrReservationsResultTypeDef

def get_value() -> GetSubnetCidrReservationsResultTypeDef:
    return {
        "SubnetIpv4CidrReservations": ...,
        "SubnetIpv6CidrReservations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSubnetCidrReservationsResultTypeDef(TypedDict):
    SubnetIpv4CidrReservations: List[SubnetCidrReservationTypeDef],  # (1)
    SubnetIpv6CidrReservations: List[SubnetCidrReservationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SubnetCidrReservationTypeDef
  2. See SubnetCidrReservationTypeDef
  3. See ResponseMetadataTypeDef

AcceptAddressTransferRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptAddressTransferRequestRequestTypeDef

def get_value() -> AcceptAddressTransferRequestRequestTypeDef:
    return {
        "Address": ...,
    }
Definition
class AcceptAddressTransferRequestRequestTypeDef(TypedDict):
    Address: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

AllocateAddressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AllocateAddressRequestRequestTypeDef

def get_value() -> AllocateAddressRequestRequestTypeDef:
    return {
        "Domain": ...,
    }
Definition
class AllocateAddressRequestRequestTypeDef(TypedDict):
    Domain: NotRequired[DomainTypeType],  # (1)
    Address: NotRequired[str],
    PublicIpv4Pool: NotRequired[str],
    NetworkBorderGroup: NotRequired[str],
    CustomerOwnedIpv4Pool: NotRequired[str],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See DomainTypeType
  2. See TagSpecificationTypeDef

AllocateHostsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AllocateHostsRequestRequestTypeDef

def get_value() -> AllocateHostsRequestRequestTypeDef:
    return {
        "AvailabilityZone": ...,
        "Quantity": ...,
    }
Definition
class AllocateHostsRequestRequestTypeDef(TypedDict):
    AvailabilityZone: str,
    Quantity: int,
    AutoPlacement: NotRequired[AutoPlacementType],  # (1)
    ClientToken: NotRequired[str],
    InstanceType: NotRequired[str],
    InstanceFamily: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    HostRecovery: NotRequired[HostRecoveryType],  # (3)
    OutpostArn: NotRequired[str],
    HostMaintenance: NotRequired[HostMaintenanceType],  # (4)
  1. See AutoPlacementType
  2. See TagSpecificationTypeDef
  3. See HostRecoveryType
  4. See HostMaintenanceType

AssociateIpamResourceDiscoveryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateIpamResourceDiscoveryRequestRequestTypeDef

def get_value() -> AssociateIpamResourceDiscoveryRequestRequestTypeDef:
    return {
        "IpamId": ...,
        "IpamResourceDiscoveryId": ...,
    }
Definition
class AssociateIpamResourceDiscoveryRequestRequestTypeDef(TypedDict):
    IpamId: str,
    IpamResourceDiscoveryId: str,
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    ClientToken: NotRequired[str],
  1. See TagSpecificationTypeDef

CopySnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CopySnapshotRequestRequestTypeDef

def get_value() -> CopySnapshotRequestRequestTypeDef:
    return {
        "SourceRegion": ...,
        "SourceSnapshotId": ...,
    }
Definition
class CopySnapshotRequestRequestTypeDef(TypedDict):
    SourceRegion: str,
    SourceSnapshotId: str,
    Description: NotRequired[str],
    DestinationOutpostArn: NotRequired[str],
    DestinationRegion: NotRequired[str],
    Encrypted: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    PresignedUrl: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CopySnapshotRequestSnapshotCopyTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CopySnapshotRequestSnapshotCopyTypeDef

def get_value() -> CopySnapshotRequestSnapshotCopyTypeDef:
    return {
        "SourceRegion": ...,
    }
Definition
class CopySnapshotRequestSnapshotCopyTypeDef(TypedDict):
    SourceRegion: str,
    Description: NotRequired[str],
    DestinationOutpostArn: NotRequired[str],
    DestinationRegion: NotRequired[str],
    Encrypted: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    PresignedUrl: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateCapacityReservationFleetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCapacityReservationFleetRequestRequestTypeDef

def get_value() -> CreateCapacityReservationFleetRequestRequestTypeDef:
    return {
        "InstanceTypeSpecifications": ...,
        "TotalTargetCapacity": ...,
    }
Definition
class CreateCapacityReservationFleetRequestRequestTypeDef(TypedDict):
    InstanceTypeSpecifications: Sequence[ReservationFleetInstanceSpecificationTypeDef],  # (1)
    TotalTargetCapacity: int,
    AllocationStrategy: NotRequired[str],
    ClientToken: NotRequired[str],
    Tenancy: NotRequired[FleetCapacityReservationTenancyType],  # (2)
    EndDate: NotRequired[Union[datetime, str]],
    InstanceMatchCriteria: NotRequired[FleetInstanceMatchCriteriaType],  # (3)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (4)
    DryRun: NotRequired[bool],
  1. See ReservationFleetInstanceSpecificationTypeDef
  2. See FleetCapacityReservationTenancyType
  3. See FleetInstanceMatchCriteriaType
  4. See TagSpecificationTypeDef

CreateCapacityReservationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCapacityReservationRequestRequestTypeDef

def get_value() -> CreateCapacityReservationRequestRequestTypeDef:
    return {
        "InstanceType": ...,
        "InstancePlatform": ...,
        "InstanceCount": ...,
    }
Definition
class CreateCapacityReservationRequestRequestTypeDef(TypedDict):
    InstanceType: str,
    InstancePlatform: CapacityReservationInstancePlatformType,  # (1)
    InstanceCount: int,
    ClientToken: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    Tenancy: NotRequired[CapacityReservationTenancyType],  # (2)
    EbsOptimized: NotRequired[bool],
    EphemeralStorage: NotRequired[bool],
    EndDate: NotRequired[Union[datetime, str]],
    EndDateType: NotRequired[EndDateTypeType],  # (3)
    InstanceMatchCriteria: NotRequired[InstanceMatchCriteriaType],  # (4)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (5)
    DryRun: NotRequired[bool],
    OutpostArn: NotRequired[str],
    PlacementGroupArn: NotRequired[str],
  1. See CapacityReservationInstancePlatformType
  2. See CapacityReservationTenancyType
  3. See EndDateTypeType
  4. See InstanceMatchCriteriaType
  5. See TagSpecificationTypeDef

CreateCarrierGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCarrierGatewayRequestRequestTypeDef

def get_value() -> CreateCarrierGatewayRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateCarrierGatewayRequestRequestTypeDef(TypedDict):
    VpcId: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
  1. See TagSpecificationTypeDef

CreateCoipPoolRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCoipPoolRequestRequestTypeDef

def get_value() -> CreateCoipPoolRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
    }
Definition
class CreateCoipPoolRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableId: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateCustomerGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCustomerGatewayRequestRequestTypeDef

def get_value() -> CreateCustomerGatewayRequestRequestTypeDef:
    return {
        "Type": ...,
    }
Definition
class CreateCustomerGatewayRequestRequestTypeDef(TypedDict):
    Type: GatewayTypeType,  # (1)
    BgpAsn: NotRequired[int],
    PublicIp: NotRequired[str],
    CertificateArn: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DeviceName: NotRequired[str],
    IpAddress: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See GatewayTypeType
  2. See TagSpecificationTypeDef

CreateDhcpOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateDhcpOptionsRequestRequestTypeDef

def get_value() -> CreateDhcpOptionsRequestRequestTypeDef:
    return {
        "DhcpConfigurations": ...,
    }
Definition
class CreateDhcpOptionsRequestRequestTypeDef(TypedDict):
    DhcpConfigurations: Sequence[NewDhcpConfigurationTypeDef],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See NewDhcpConfigurationTypeDef
  2. See TagSpecificationTypeDef

CreateDhcpOptionsRequestServiceResourceCreateDhcpOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateDhcpOptionsRequestServiceResourceCreateDhcpOptionsTypeDef

def get_value() -> CreateDhcpOptionsRequestServiceResourceCreateDhcpOptionsTypeDef:
    return {
        "DhcpConfigurations": ...,
    }
Definition
class CreateDhcpOptionsRequestServiceResourceCreateDhcpOptionsTypeDef(TypedDict):
    DhcpConfigurations: Sequence[NewDhcpConfigurationTypeDef],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See NewDhcpConfigurationTypeDef
  2. See TagSpecificationTypeDef

CreateEgressOnlyInternetGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateEgressOnlyInternetGatewayRequestRequestTypeDef

def get_value() -> CreateEgressOnlyInternetGatewayRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateEgressOnlyInternetGatewayRequestRequestTypeDef(TypedDict):
    VpcId: str,
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateFlowLogsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateFlowLogsRequestRequestTypeDef

def get_value() -> CreateFlowLogsRequestRequestTypeDef:
    return {
        "ResourceIds": ...,
        "ResourceType": ...,
    }
Definition
class CreateFlowLogsRequestRequestTypeDef(TypedDict):
    ResourceIds: Sequence[str],
    ResourceType: FlowLogsResourceTypeType,  # (1)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
    DeliverLogsPermissionArn: NotRequired[str],
    DeliverCrossAccountRole: NotRequired[str],
    LogGroupName: NotRequired[str],
    TrafficType: NotRequired[TrafficTypeType],  # (2)
    LogDestinationType: NotRequired[LogDestinationTypeType],  # (3)
    LogDestination: NotRequired[str],
    LogFormat: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (4)
    MaxAggregationInterval: NotRequired[int],
    DestinationOptions: NotRequired[DestinationOptionsRequestTypeDef],  # (5)
  1. See FlowLogsResourceTypeType
  2. See TrafficTypeType
  3. See LogDestinationTypeType
  4. See TagSpecificationTypeDef
  5. See DestinationOptionsRequestTypeDef

CreateFpgaImageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateFpgaImageRequestRequestTypeDef

def get_value() -> CreateFpgaImageRequestRequestTypeDef:
    return {
        "InputStorageLocation": ...,
    }
Definition
class CreateFpgaImageRequestRequestTypeDef(TypedDict):
    InputStorageLocation: StorageLocationTypeDef,  # (1)
    DryRun: NotRequired[bool],
    LogsStorageLocation: NotRequired[StorageLocationTypeDef],  # (1)
    Description: NotRequired[str],
    Name: NotRequired[str],
    ClientToken: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (3)
  1. See StorageLocationTypeDef
  2. See StorageLocationTypeDef
  3. See TagSpecificationTypeDef

CreateInstanceEventWindowRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateInstanceEventWindowRequestRequestTypeDef

def get_value() -> CreateInstanceEventWindowRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreateInstanceEventWindowRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Name: NotRequired[str],
    TimeRanges: NotRequired[Sequence[InstanceEventWindowTimeRangeRequestTypeDef]],  # (1)
    CronExpression: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See InstanceEventWindowTimeRangeRequestTypeDef
  2. See TagSpecificationTypeDef

CreateInstanceExportTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateInstanceExportTaskRequestRequestTypeDef

def get_value() -> CreateInstanceExportTaskRequestRequestTypeDef:
    return {
        "ExportToS3Task": ...,
        "InstanceId": ...,
        "TargetEnvironment": ...,
    }
Definition
class CreateInstanceExportTaskRequestRequestTypeDef(TypedDict):
    ExportToS3Task: ExportToS3TaskSpecificationTypeDef,  # (1)
    InstanceId: str,
    TargetEnvironment: ExportEnvironmentType,  # (2)
    Description: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (3)
  1. See ExportToS3TaskSpecificationTypeDef
  2. See ExportEnvironmentType
  3. See TagSpecificationTypeDef

CreateInternetGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateInternetGatewayRequestRequestTypeDef

def get_value() -> CreateInternetGatewayRequestRequestTypeDef:
    return {
        "TagSpecifications": ...,
    }
Definition
class CreateInternetGatewayRequestRequestTypeDef(TypedDict):
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateInternetGatewayRequestServiceResourceCreateInternetGatewayTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateInternetGatewayRequestServiceResourceCreateInternetGatewayTypeDef

def get_value() -> CreateInternetGatewayRequestServiceResourceCreateInternetGatewayTypeDef:
    return {
        "TagSpecifications": ...,
    }
Definition
class CreateInternetGatewayRequestServiceResourceCreateInternetGatewayTypeDef(TypedDict):
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateIpamPoolRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateIpamPoolRequestRequestTypeDef

def get_value() -> CreateIpamPoolRequestRequestTypeDef:
    return {
        "IpamScopeId": ...,
        "AddressFamily": ...,
    }
Definition
class CreateIpamPoolRequestRequestTypeDef(TypedDict):
    IpamScopeId: str,
    AddressFamily: AddressFamilyType,  # (1)
    DryRun: NotRequired[bool],
    Locale: NotRequired[str],
    SourceIpamPoolId: NotRequired[str],
    Description: NotRequired[str],
    AutoImport: NotRequired[bool],
    PubliclyAdvertisable: NotRequired[bool],
    AllocationMinNetmaskLength: NotRequired[int],
    AllocationMaxNetmaskLength: NotRequired[int],
    AllocationDefaultNetmaskLength: NotRequired[int],
    AllocationResourceTags: NotRequired[Sequence[RequestIpamResourceTagTypeDef]],  # (2)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (3)
    ClientToken: NotRequired[str],
    AwsService: NotRequired[IpamPoolAwsServiceType],  # (4)
    PublicIpSource: NotRequired[IpamPoolPublicIpSourceType],  # (5)
  1. See AddressFamilyType
  2. See RequestIpamResourceTagTypeDef
  3. See TagSpecificationTypeDef
  4. See IpamPoolAwsServiceType
  5. See IpamPoolPublicIpSourceType

CreateIpamRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateIpamRequestRequestTypeDef

def get_value() -> CreateIpamRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreateIpamRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Description: NotRequired[str],
    OperatingRegions: NotRequired[Sequence[AddIpamOperatingRegionTypeDef]],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    ClientToken: NotRequired[str],
  1. See AddIpamOperatingRegionTypeDef
  2. See TagSpecificationTypeDef

CreateIpamResourceDiscoveryRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateIpamResourceDiscoveryRequestRequestTypeDef

def get_value() -> CreateIpamResourceDiscoveryRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreateIpamResourceDiscoveryRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    Description: NotRequired[str],
    OperatingRegions: NotRequired[Sequence[AddIpamOperatingRegionTypeDef]],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    ClientToken: NotRequired[str],
  1. See AddIpamOperatingRegionTypeDef
  2. See TagSpecificationTypeDef

CreateIpamScopeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateIpamScopeRequestRequestTypeDef

def get_value() -> CreateIpamScopeRequestRequestTypeDef:
    return {
        "IpamId": ...,
    }
Definition
class CreateIpamScopeRequestRequestTypeDef(TypedDict):
    IpamId: str,
    DryRun: NotRequired[bool],
    Description: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    ClientToken: NotRequired[str],
  1. See TagSpecificationTypeDef

CreateKeyPairRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateKeyPairRequestRequestTypeDef

def get_value() -> CreateKeyPairRequestRequestTypeDef:
    return {
        "KeyName": ...,
    }
Definition
class CreateKeyPairRequestRequestTypeDef(TypedDict):
    KeyName: str,
    DryRun: NotRequired[bool],
    KeyType: NotRequired[KeyTypeType],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    KeyFormat: NotRequired[KeyFormatType],  # (3)
  1. See KeyTypeType
  2. See TagSpecificationTypeDef
  3. See KeyFormatType

CreateKeyPairRequestServiceResourceCreateKeyPairTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateKeyPairRequestServiceResourceCreateKeyPairTypeDef

def get_value() -> CreateKeyPairRequestServiceResourceCreateKeyPairTypeDef:
    return {
        "KeyName": ...,
    }
Definition
class CreateKeyPairRequestServiceResourceCreateKeyPairTypeDef(TypedDict):
    KeyName: str,
    DryRun: NotRequired[bool],
    KeyType: NotRequired[KeyTypeType],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    KeyFormat: NotRequired[KeyFormatType],  # (3)
  1. See KeyTypeType
  2. See TagSpecificationTypeDef
  3. See KeyFormatType

CreateLocalGatewayRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLocalGatewayRouteTableRequestRequestTypeDef

def get_value() -> CreateLocalGatewayRouteTableRequestRequestTypeDef:
    return {
        "LocalGatewayId": ...,
    }
Definition
class CreateLocalGatewayRouteTableRequestRequestTypeDef(TypedDict):
    LocalGatewayId: str,
    Mode: NotRequired[LocalGatewayRouteTableModeType],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See LocalGatewayRouteTableModeType
  2. See TagSpecificationTypeDef

CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestRequestTypeDef

def get_value() -> CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
        "LocalGatewayVirtualInterfaceGroupId": ...,
    }
Definition
class CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableId: str,
    LocalGatewayVirtualInterfaceGroupId: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateLocalGatewayRouteTableVpcAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLocalGatewayRouteTableVpcAssociationRequestRequestTypeDef

def get_value() -> CreateLocalGatewayRouteTableVpcAssociationRequestRequestTypeDef:
    return {
        "LocalGatewayRouteTableId": ...,
        "VpcId": ...,
    }
Definition
class CreateLocalGatewayRouteTableVpcAssociationRequestRequestTypeDef(TypedDict):
    LocalGatewayRouteTableId: str,
    VpcId: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateManagedPrefixListRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateManagedPrefixListRequestRequestTypeDef

def get_value() -> CreateManagedPrefixListRequestRequestTypeDef:
    return {
        "PrefixListName": ...,
        "MaxEntries": ...,
        "AddressFamily": ...,
    }
Definition
class CreateManagedPrefixListRequestRequestTypeDef(TypedDict):
    PrefixListName: str,
    MaxEntries: int,
    AddressFamily: str,
    DryRun: NotRequired[bool],
    Entries: NotRequired[Sequence[AddPrefixListEntryTypeDef]],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    ClientToken: NotRequired[str],
  1. See AddPrefixListEntryTypeDef
  2. See TagSpecificationTypeDef

CreateNatGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNatGatewayRequestRequestTypeDef

def get_value() -> CreateNatGatewayRequestRequestTypeDef:
    return {
        "SubnetId": ...,
    }
Definition
class CreateNatGatewayRequestRequestTypeDef(TypedDict):
    SubnetId: str,
    AllocationId: NotRequired[str],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    ConnectivityType: NotRequired[ConnectivityTypeType],  # (2)
    PrivateIpAddress: NotRequired[str],
    SecondaryAllocationIds: NotRequired[Sequence[str]],
    SecondaryPrivateIpAddresses: NotRequired[Sequence[str]],
    SecondaryPrivateIpAddressCount: NotRequired[int],
  1. See TagSpecificationTypeDef
  2. See ConnectivityTypeType

CreateNetworkAclRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkAclRequestRequestTypeDef

def get_value() -> CreateNetworkAclRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateNetworkAclRequestRequestTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateNetworkAclRequestServiceResourceCreateNetworkAclTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkAclRequestServiceResourceCreateNetworkAclTypeDef

def get_value() -> CreateNetworkAclRequestServiceResourceCreateNetworkAclTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateNetworkAclRequestServiceResourceCreateNetworkAclTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateNetworkAclRequestVpcCreateNetworkAclTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkAclRequestVpcCreateNetworkAclTypeDef

def get_value() -> CreateNetworkAclRequestVpcCreateNetworkAclTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreateNetworkAclRequestVpcCreateNetworkAclTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateNetworkInsightsPathRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInsightsPathRequestRequestTypeDef

def get_value() -> CreateNetworkInsightsPathRequestRequestTypeDef:
    return {
        "Source": ...,
        "Destination": ...,
        "Protocol": ...,
        "ClientToken": ...,
    }
Definition
class CreateNetworkInsightsPathRequestRequestTypeDef(TypedDict):
    Source: str,
    Destination: str,
    Protocol: ProtocolType,  # (1)
    ClientToken: str,
    SourceIp: NotRequired[str],
    DestinationIp: NotRequired[str],
    DestinationPort: NotRequired[int],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See ProtocolType
  2. See TagSpecificationTypeDef

CreateNetworkInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInterfaceRequestRequestTypeDef

def get_value() -> CreateNetworkInterfaceRequestRequestTypeDef:
    return {
        "SubnetId": ...,
    }
Definition
class CreateNetworkInterfaceRequestRequestTypeDef(TypedDict):
    SubnetId: str,
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    Groups: NotRequired[Sequence[str]],
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[Sequence[InstanceIpv6AddressTypeDef]],  # (1)
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddresses: NotRequired[Sequence[PrivateIpAddressSpecificationTypeDef]],  # (2)
    SecondaryPrivateIpAddressCount: NotRequired[int],
    Ipv4Prefixes: NotRequired[Sequence[Ipv4PrefixSpecificationRequestTypeDef]],  # (3)
    Ipv4PrefixCount: NotRequired[int],
    Ipv6Prefixes: NotRequired[Sequence[Ipv6PrefixSpecificationRequestTypeDef]],  # (4)
    Ipv6PrefixCount: NotRequired[int],
    InterfaceType: NotRequired[NetworkInterfaceCreationTypeType],  # (5)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (6)
    ClientToken: NotRequired[str],
  1. See InstanceIpv6AddressTypeDef
  2. See PrivateIpAddressSpecificationTypeDef
  3. See Ipv4PrefixSpecificationRequestTypeDef
  4. See Ipv6PrefixSpecificationRequestTypeDef
  5. See NetworkInterfaceCreationTypeType
  6. See TagSpecificationTypeDef

CreateNetworkInterfaceRequestServiceResourceCreateNetworkInterfaceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInterfaceRequestServiceResourceCreateNetworkInterfaceTypeDef

def get_value() -> CreateNetworkInterfaceRequestServiceResourceCreateNetworkInterfaceTypeDef:
    return {
        "SubnetId": ...,
    }
Definition
class CreateNetworkInterfaceRequestServiceResourceCreateNetworkInterfaceTypeDef(TypedDict):
    SubnetId: str,
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    Groups: NotRequired[Sequence[str]],
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[Sequence[InstanceIpv6AddressTypeDef]],  # (1)
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddresses: NotRequired[Sequence[PrivateIpAddressSpecificationTypeDef]],  # (2)
    SecondaryPrivateIpAddressCount: NotRequired[int],
    Ipv4Prefixes: NotRequired[Sequence[Ipv4PrefixSpecificationRequestTypeDef]],  # (3)
    Ipv4PrefixCount: NotRequired[int],
    Ipv6Prefixes: NotRequired[Sequence[Ipv6PrefixSpecificationRequestTypeDef]],  # (4)
    Ipv6PrefixCount: NotRequired[int],
    InterfaceType: NotRequired[NetworkInterfaceCreationTypeType],  # (5)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (6)
    ClientToken: NotRequired[str],
  1. See InstanceIpv6AddressTypeDef
  2. See PrivateIpAddressSpecificationTypeDef
  3. See Ipv4PrefixSpecificationRequestTypeDef
  4. See Ipv6PrefixSpecificationRequestTypeDef
  5. See NetworkInterfaceCreationTypeType
  6. See TagSpecificationTypeDef

CreateNetworkInterfaceRequestSubnetCreateNetworkInterfaceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInterfaceRequestSubnetCreateNetworkInterfaceTypeDef

def get_value() -> CreateNetworkInterfaceRequestSubnetCreateNetworkInterfaceTypeDef:
    return {
        "Description": ...,
    }
Definition
class CreateNetworkInterfaceRequestSubnetCreateNetworkInterfaceTypeDef(TypedDict):
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    Groups: NotRequired[Sequence[str]],
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[Sequence[InstanceIpv6AddressTypeDef]],  # (1)
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddresses: NotRequired[Sequence[PrivateIpAddressSpecificationTypeDef]],  # (2)
    SecondaryPrivateIpAddressCount: NotRequired[int],
    Ipv4Prefixes: NotRequired[Sequence[Ipv4PrefixSpecificationRequestTypeDef]],  # (3)
    Ipv4PrefixCount: NotRequired[int],
    Ipv6Prefixes: NotRequired[Sequence[Ipv6PrefixSpecificationRequestTypeDef]],  # (4)
    Ipv6PrefixCount: NotRequired[int],
    InterfaceType: NotRequired[NetworkInterfaceCreationTypeType],  # (5)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (6)
    ClientToken: NotRequired[str],
  1. See InstanceIpv6AddressTypeDef
  2. See PrivateIpAddressSpecificationTypeDef
  3. See Ipv4PrefixSpecificationRequestTypeDef
  4. See Ipv6PrefixSpecificationRequestTypeDef
  5. See NetworkInterfaceCreationTypeType
  6. See TagSpecificationTypeDef

CreatePlacementGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreatePlacementGroupRequestRequestTypeDef

def get_value() -> CreatePlacementGroupRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreatePlacementGroupRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    GroupName: NotRequired[str],
    Strategy: NotRequired[PlacementStrategyType],  # (1)
    PartitionCount: NotRequired[int],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    SpreadLevel: NotRequired[SpreadLevelType],  # (3)
  1. See PlacementStrategyType
  2. See TagSpecificationTypeDef
  3. See SpreadLevelType

CreatePlacementGroupRequestServiceResourceCreatePlacementGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreatePlacementGroupRequestServiceResourceCreatePlacementGroupTypeDef

def get_value() -> CreatePlacementGroupRequestServiceResourceCreatePlacementGroupTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreatePlacementGroupRequestServiceResourceCreatePlacementGroupTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    GroupName: NotRequired[str],
    Strategy: NotRequired[PlacementStrategyType],  # (1)
    PartitionCount: NotRequired[int],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    SpreadLevel: NotRequired[SpreadLevelType],  # (3)
  1. See PlacementStrategyType
  2. See TagSpecificationTypeDef
  3. See SpreadLevelType

CreatePublicIpv4PoolRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreatePublicIpv4PoolRequestRequestTypeDef

def get_value() -> CreatePublicIpv4PoolRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreatePublicIpv4PoolRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateReplaceRootVolumeTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateReplaceRootVolumeTaskRequestRequestTypeDef

def get_value() -> CreateReplaceRootVolumeTaskRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class CreateReplaceRootVolumeTaskRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    SnapshotId: NotRequired[str],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    ImageId: NotRequired[str],
    DeleteReplacedRootVolume: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateRestoreImageTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateRestoreImageTaskRequestRequestTypeDef

def get_value() -> CreateRestoreImageTaskRequestRequestTypeDef:
    return {
        "Bucket": ...,
        "ObjectKey": ...,
    }
Definition
class CreateRestoreImageTaskRequestRequestTypeDef(TypedDict):
    Bucket: str,
    ObjectKey: str,
    Name: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateRouteTableRequestRequestTypeDef

def get_value() -> CreateRouteTableRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateRouteTableRequestRequestTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateRouteTableRequestServiceResourceCreateRouteTableTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateRouteTableRequestServiceResourceCreateRouteTableTypeDef

def get_value() -> CreateRouteTableRequestServiceResourceCreateRouteTableTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateRouteTableRequestServiceResourceCreateRouteTableTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateRouteTableRequestVpcCreateRouteTableTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateRouteTableRequestVpcCreateRouteTableTypeDef

def get_value() -> CreateRouteTableRequestVpcCreateRouteTableTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreateRouteTableRequestVpcCreateRouteTableTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateSecurityGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSecurityGroupRequestRequestTypeDef

def get_value() -> CreateSecurityGroupRequestRequestTypeDef:
    return {
        "Description": ...,
        "GroupName": ...,
    }
Definition
class CreateSecurityGroupRequestRequestTypeDef(TypedDict):
    Description: str,
    GroupName: str,
    VpcId: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateSecurityGroupRequestServiceResourceCreateSecurityGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSecurityGroupRequestServiceResourceCreateSecurityGroupTypeDef

def get_value() -> CreateSecurityGroupRequestServiceResourceCreateSecurityGroupTypeDef:
    return {
        "Description": ...,
        "GroupName": ...,
    }
Definition
class CreateSecurityGroupRequestServiceResourceCreateSecurityGroupTypeDef(TypedDict):
    Description: str,
    GroupName: str,
    VpcId: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateSecurityGroupRequestVpcCreateSecurityGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSecurityGroupRequestVpcCreateSecurityGroupTypeDef

def get_value() -> CreateSecurityGroupRequestVpcCreateSecurityGroupTypeDef:
    return {
        "Description": ...,
        "GroupName": ...,
    }
Definition
class CreateSecurityGroupRequestVpcCreateSecurityGroupTypeDef(TypedDict):
    Description: str,
    GroupName: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSnapshotRequestRequestTypeDef

def get_value() -> CreateSnapshotRequestRequestTypeDef:
    return {
        "VolumeId": ...,
    }
Definition
class CreateSnapshotRequestRequestTypeDef(TypedDict):
    VolumeId: str,
    Description: NotRequired[str],
    OutpostArn: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateSnapshotRequestServiceResourceCreateSnapshotTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSnapshotRequestServiceResourceCreateSnapshotTypeDef

def get_value() -> CreateSnapshotRequestServiceResourceCreateSnapshotTypeDef:
    return {
        "VolumeId": ...,
    }
Definition
class CreateSnapshotRequestServiceResourceCreateSnapshotTypeDef(TypedDict):
    VolumeId: str,
    Description: NotRequired[str],
    OutpostArn: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateSnapshotRequestVolumeCreateSnapshotTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSnapshotRequestVolumeCreateSnapshotTypeDef

def get_value() -> CreateSnapshotRequestVolumeCreateSnapshotTypeDef:
    return {
        "Description": ...,
    }
Definition
class CreateSnapshotRequestVolumeCreateSnapshotTypeDef(TypedDict):
    Description: NotRequired[str],
    OutpostArn: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateSnapshotsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSnapshotsRequestRequestTypeDef

def get_value() -> CreateSnapshotsRequestRequestTypeDef:
    return {
        "InstanceSpecification": ...,
    }
Definition
class CreateSnapshotsRequestRequestTypeDef(TypedDict):
    InstanceSpecification: InstanceSpecificationTypeDef,  # (1)
    Description: NotRequired[str],
    OutpostArn: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
    CopyTagsFromSource: NotRequired[CopyTagsFromSourceType],  # (3)
  1. See InstanceSpecificationTypeDef
  2. See TagSpecificationTypeDef
  3. See CopyTagsFromSourceType

CreateSubnetCidrReservationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSubnetCidrReservationRequestRequestTypeDef

def get_value() -> CreateSubnetCidrReservationRequestRequestTypeDef:
    return {
        "SubnetId": ...,
        "Cidr": ...,
        "ReservationType": ...,
    }
Definition
class CreateSubnetCidrReservationRequestRequestTypeDef(TypedDict):
    SubnetId: str,
    Cidr: str,
    ReservationType: SubnetCidrReservationTypeType,  # (1)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See SubnetCidrReservationTypeType
  2. See TagSpecificationTypeDef

CreateSubnetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSubnetRequestRequestTypeDef

def get_value() -> CreateSubnetRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateSubnetRequestRequestTypeDef(TypedDict):
    VpcId: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    AvailabilityZone: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    CidrBlock: NotRequired[str],
    Ipv6CidrBlock: NotRequired[str],
    OutpostArn: NotRequired[str],
    DryRun: NotRequired[bool],
    Ipv6Native: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateSubnetRequestServiceResourceCreateSubnetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSubnetRequestServiceResourceCreateSubnetTypeDef

def get_value() -> CreateSubnetRequestServiceResourceCreateSubnetTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateSubnetRequestServiceResourceCreateSubnetTypeDef(TypedDict):
    VpcId: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    AvailabilityZone: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    CidrBlock: NotRequired[str],
    Ipv6CidrBlock: NotRequired[str],
    OutpostArn: NotRequired[str],
    DryRun: NotRequired[bool],
    Ipv6Native: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateSubnetRequestVpcCreateSubnetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSubnetRequestVpcCreateSubnetTypeDef

def get_value() -> CreateSubnetRequestVpcCreateSubnetTypeDef:
    return {
        "TagSpecifications": ...,
    }
Definition
class CreateSubnetRequestVpcCreateSubnetTypeDef(TypedDict):
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    AvailabilityZone: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    CidrBlock: NotRequired[str],
    Ipv6CidrBlock: NotRequired[str],
    OutpostArn: NotRequired[str],
    DryRun: NotRequired[bool],
    Ipv6Native: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateTrafficMirrorFilterRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTrafficMirrorFilterRequestRequestTypeDef

def get_value() -> CreateTrafficMirrorFilterRequestRequestTypeDef:
    return {
        "Description": ...,
    }
Definition
class CreateTrafficMirrorFilterRequestRequestTypeDef(TypedDict):
    Description: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
  1. See TagSpecificationTypeDef

CreateTrafficMirrorSessionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTrafficMirrorSessionRequestRequestTypeDef

def get_value() -> CreateTrafficMirrorSessionRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
        "TrafficMirrorTargetId": ...,
        "TrafficMirrorFilterId": ...,
        "SessionNumber": ...,
    }
Definition
class CreateTrafficMirrorSessionRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    TrafficMirrorTargetId: str,
    TrafficMirrorFilterId: str,
    SessionNumber: int,
    PacketLength: NotRequired[int],
    VirtualNetworkId: NotRequired[int],
    Description: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
  1. See TagSpecificationTypeDef

CreateTrafficMirrorTargetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTrafficMirrorTargetRequestRequestTypeDef

def get_value() -> CreateTrafficMirrorTargetRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class CreateTrafficMirrorTargetRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: NotRequired[str],
    NetworkLoadBalancerArn: NotRequired[str],
    Description: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
    GatewayLoadBalancerEndpointId: NotRequired[str],
  1. See TagSpecificationTypeDef

CreateTransitGatewayConnectPeerRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayConnectPeerRequestRequestTypeDef

def get_value() -> CreateTransitGatewayConnectPeerRequestRequestTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
        "PeerAddress": ...,
        "InsideCidrBlocks": ...,
    }
Definition
class CreateTransitGatewayConnectPeerRequestRequestTypeDef(TypedDict):
    TransitGatewayAttachmentId: str,
    PeerAddress: str,
    InsideCidrBlocks: Sequence[str],
    TransitGatewayAddress: NotRequired[str],
    BgpOptions: NotRequired[TransitGatewayConnectRequestBgpOptionsTypeDef],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See TransitGatewayConnectRequestBgpOptionsTypeDef
  2. See TagSpecificationTypeDef

CreateTransitGatewayConnectRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayConnectRequestRequestTypeDef

def get_value() -> CreateTransitGatewayConnectRequestRequestTypeDef:
    return {
        "TransportTransitGatewayAttachmentId": ...,
        "Options": ...,
    }
Definition
class CreateTransitGatewayConnectRequestRequestTypeDef(TypedDict):
    TransportTransitGatewayAttachmentId: str,
    Options: CreateTransitGatewayConnectRequestOptionsTypeDef,  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See CreateTransitGatewayConnectRequestOptionsTypeDef
  2. See TagSpecificationTypeDef

CreateTransitGatewayMulticastDomainRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayMulticastDomainRequestRequestTypeDef

def get_value() -> CreateTransitGatewayMulticastDomainRequestRequestTypeDef:
    return {
        "TransitGatewayId": ...,
    }
Definition
class CreateTransitGatewayMulticastDomainRequestRequestTypeDef(TypedDict):
    TransitGatewayId: str,
    Options: NotRequired[CreateTransitGatewayMulticastDomainRequestOptionsTypeDef],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See CreateTransitGatewayMulticastDomainRequestOptionsTypeDef
  2. See TagSpecificationTypeDef

CreateTransitGatewayPeeringAttachmentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayPeeringAttachmentRequestRequestTypeDef

def get_value() -> CreateTransitGatewayPeeringAttachmentRequestRequestTypeDef:
    return {
        "TransitGatewayId": ...,
        "PeerTransitGatewayId": ...,
        "PeerAccountId": ...,
        "PeerRegion": ...,
    }
Definition
class CreateTransitGatewayPeeringAttachmentRequestRequestTypeDef(TypedDict):
    TransitGatewayId: str,
    PeerTransitGatewayId: str,
    PeerAccountId: str,
    PeerRegion: str,
    Options: NotRequired[CreateTransitGatewayPeeringAttachmentRequestOptionsTypeDef],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See CreateTransitGatewayPeeringAttachmentRequestOptionsTypeDef
  2. See TagSpecificationTypeDef

CreateTransitGatewayPolicyTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayPolicyTableRequestRequestTypeDef

def get_value() -> CreateTransitGatewayPolicyTableRequestRequestTypeDef:
    return {
        "TransitGatewayId": ...,
    }
Definition
class CreateTransitGatewayPolicyTableRequestRequestTypeDef(TypedDict):
    TransitGatewayId: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateTransitGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayRequestRequestTypeDef

def get_value() -> CreateTransitGatewayRequestRequestTypeDef:
    return {
        "Description": ...,
    }
Definition
class CreateTransitGatewayRequestRequestTypeDef(TypedDict):
    Description: NotRequired[str],
    Options: NotRequired[TransitGatewayRequestOptionsTypeDef],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See TransitGatewayRequestOptionsTypeDef
  2. See TagSpecificationTypeDef

CreateTransitGatewayRouteTableAnnouncementRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayRouteTableAnnouncementRequestRequestTypeDef

def get_value() -> CreateTransitGatewayRouteTableAnnouncementRequestRequestTypeDef:
    return {
        "TransitGatewayRouteTableId": ...,
        "PeeringAttachmentId": ...,
    }
Definition
class CreateTransitGatewayRouteTableAnnouncementRequestRequestTypeDef(TypedDict):
    TransitGatewayRouteTableId: str,
    PeeringAttachmentId: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateTransitGatewayRouteTableRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayRouteTableRequestRequestTypeDef

def get_value() -> CreateTransitGatewayRouteTableRequestRequestTypeDef:
    return {
        "TransitGatewayId": ...,
    }
Definition
class CreateTransitGatewayRouteTableRequestRequestTypeDef(TypedDict):
    TransitGatewayId: str,
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateTransitGatewayVpcAttachmentRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayVpcAttachmentRequestRequestTypeDef

def get_value() -> CreateTransitGatewayVpcAttachmentRequestRequestTypeDef:
    return {
        "TransitGatewayId": ...,
        "VpcId": ...,
        "SubnetIds": ...,
    }
Definition
class CreateTransitGatewayVpcAttachmentRequestRequestTypeDef(TypedDict):
    TransitGatewayId: str,
    VpcId: str,
    SubnetIds: Sequence[str],
    Options: NotRequired[CreateTransitGatewayVpcAttachmentRequestOptionsTypeDef],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    DryRun: NotRequired[bool],
  1. See CreateTransitGatewayVpcAttachmentRequestOptionsTypeDef
  2. See TagSpecificationTypeDef

CreateVerifiedAccessEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessEndpointRequestRequestTypeDef

def get_value() -> CreateVerifiedAccessEndpointRequestRequestTypeDef:
    return {
        "VerifiedAccessGroupId": ...,
        "EndpointType": ...,
        "AttachmentType": ...,
        "DomainCertificateArn": ...,
        "ApplicationDomain": ...,
        "EndpointDomainPrefix": ...,
    }
Definition
class CreateVerifiedAccessEndpointRequestRequestTypeDef(TypedDict):
    VerifiedAccessGroupId: str,
    EndpointType: VerifiedAccessEndpointTypeType,  # (1)
    AttachmentType: VerifiedAccessEndpointAttachmentTypeType,  # (2)
    DomainCertificateArn: str,
    ApplicationDomain: str,
    EndpointDomainPrefix: str,
    SecurityGroupIds: NotRequired[Sequence[str]],
    LoadBalancerOptions: NotRequired[CreateVerifiedAccessEndpointLoadBalancerOptionsTypeDef],  # (3)
    NetworkInterfaceOptions: NotRequired[CreateVerifiedAccessEndpointEniOptionsTypeDef],  # (4)
    Description: NotRequired[str],
    PolicyDocument: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (5)
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See VerifiedAccessEndpointTypeType
  2. See VerifiedAccessEndpointAttachmentTypeType
  3. See CreateVerifiedAccessEndpointLoadBalancerOptionsTypeDef
  4. See CreateVerifiedAccessEndpointEniOptionsTypeDef
  5. See TagSpecificationTypeDef

CreateVerifiedAccessGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessGroupRequestRequestTypeDef

def get_value() -> CreateVerifiedAccessGroupRequestRequestTypeDef:
    return {
        "VerifiedAccessInstanceId": ...,
    }
Definition
class CreateVerifiedAccessGroupRequestRequestTypeDef(TypedDict):
    VerifiedAccessInstanceId: str,
    Description: NotRequired[str],
    PolicyDocument: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateVerifiedAccessInstanceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessInstanceRequestRequestTypeDef

def get_value() -> CreateVerifiedAccessInstanceRequestRequestTypeDef:
    return {
        "Description": ...,
    }
Definition
class CreateVerifiedAccessInstanceRequestRequestTypeDef(TypedDict):
    Description: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See TagSpecificationTypeDef

CreateVerifiedAccessTrustProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessTrustProviderRequestRequestTypeDef

def get_value() -> CreateVerifiedAccessTrustProviderRequestRequestTypeDef:
    return {
        "TrustProviderType": ...,
        "PolicyReferenceName": ...,
    }
Definition
class CreateVerifiedAccessTrustProviderRequestRequestTypeDef(TypedDict):
    TrustProviderType: TrustProviderTypeType,  # (1)
    PolicyReferenceName: str,
    UserTrustProviderType: NotRequired[UserTrustProviderTypeType],  # (2)
    DeviceTrustProviderType: NotRequired[DeviceTrustProviderTypeType],  # (3)
    OidcOptions: NotRequired[CreateVerifiedAccessTrustProviderOidcOptionsTypeDef],  # (4)
    DeviceOptions: NotRequired[CreateVerifiedAccessTrustProviderDeviceOptionsTypeDef],  # (5)
    Description: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (6)
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
  1. See TrustProviderTypeType
  2. See UserTrustProviderTypeType
  3. See DeviceTrustProviderTypeType
  4. See CreateVerifiedAccessTrustProviderOidcOptionsTypeDef
  5. See CreateVerifiedAccessTrustProviderDeviceOptionsTypeDef
  6. See TagSpecificationTypeDef

CreateVolumeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVolumeRequestRequestTypeDef

def get_value() -> CreateVolumeRequestRequestTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class CreateVolumeRequestRequestTypeDef(TypedDict):
    AvailabilityZone: str,
    Encrypted: NotRequired[bool],
    Iops: NotRequired[int],
    KmsKeyId: NotRequired[str],
    OutpostArn: NotRequired[str],
    Size: NotRequired[int],
    SnapshotId: NotRequired[str],
    VolumeType: NotRequired[VolumeTypeType],  # (1)
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    MultiAttachEnabled: NotRequired[bool],
    Throughput: NotRequired[int],
    ClientToken: NotRequired[str],
  1. See VolumeTypeType
  2. See TagSpecificationTypeDef

CreateVolumeRequestServiceResourceCreateVolumeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVolumeRequestServiceResourceCreateVolumeTypeDef

def get_value() -> CreateVolumeRequestServiceResourceCreateVolumeTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class CreateVolumeRequestServiceResourceCreateVolumeTypeDef(TypedDict):
    AvailabilityZone: str,
    Encrypted: NotRequired[bool],
    Iops: NotRequired[int],
    KmsKeyId: NotRequired[str],
    OutpostArn: NotRequired[str],
    Size: NotRequired[int],
    SnapshotId: NotRequired[str],
    VolumeType: NotRequired[VolumeTypeType],  # (1)
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    MultiAttachEnabled: NotRequired[bool],
    Throughput: NotRequired[int],
    ClientToken: NotRequired[str],
  1. See VolumeTypeType
  2. See TagSpecificationTypeDef

CreateVpcEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcEndpointRequestRequestTypeDef

def get_value() -> CreateVpcEndpointRequestRequestTypeDef:
    return {
        "VpcId": ...,
        "ServiceName": ...,
    }
Definition
class CreateVpcEndpointRequestRequestTypeDef(TypedDict):
    VpcId: str,
    ServiceName: str,
    DryRun: NotRequired[bool],
    VpcEndpointType: NotRequired[VpcEndpointTypeType],  # (1)
    PolicyDocument: NotRequired[str],
    RouteTableIds: NotRequired[Sequence[str]],
    SubnetIds: NotRequired[Sequence[str]],
    SecurityGroupIds: NotRequired[Sequence[str]],
    IpAddressType: NotRequired[IpAddressTypeType],  # (2)
    DnsOptions: NotRequired[DnsOptionsSpecificationTypeDef],  # (3)
    ClientToken: NotRequired[str],
    PrivateDnsEnabled: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (4)
  1. See VpcEndpointTypeType
  2. See IpAddressTypeType
  3. See DnsOptionsSpecificationTypeDef
  4. See TagSpecificationTypeDef

CreateVpcEndpointServiceConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcEndpointServiceConfigurationRequestRequestTypeDef

def get_value() -> CreateVpcEndpointServiceConfigurationRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreateVpcEndpointServiceConfigurationRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    AcceptanceRequired: NotRequired[bool],
    PrivateDnsName: NotRequired[str],
    NetworkLoadBalancerArns: NotRequired[Sequence[str]],
    GatewayLoadBalancerArns: NotRequired[Sequence[str]],
    SupportedIpAddressTypes: NotRequired[Sequence[str]],
    ClientToken: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateVpcPeeringConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcPeeringConnectionRequestRequestTypeDef

def get_value() -> CreateVpcPeeringConnectionRequestRequestTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateVpcPeeringConnectionRequestRequestTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],
    PeerOwnerId: NotRequired[str],
    PeerVpcId: NotRequired[str],
    PeerRegion: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateVpcPeeringConnectionRequestServiceResourceCreateVpcPeeringConnectionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcPeeringConnectionRequestServiceResourceCreateVpcPeeringConnectionTypeDef

def get_value() -> CreateVpcPeeringConnectionRequestServiceResourceCreateVpcPeeringConnectionTypeDef:
    return {
        "VpcId": ...,
    }
Definition
class CreateVpcPeeringConnectionRequestServiceResourceCreateVpcPeeringConnectionTypeDef(TypedDict):
    VpcId: str,
    DryRun: NotRequired[bool],
    PeerOwnerId: NotRequired[str],
    PeerVpcId: NotRequired[str],
    PeerRegion: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateVpcPeeringConnectionRequestVpcRequestVpcPeeringConnectionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcPeeringConnectionRequestVpcRequestVpcPeeringConnectionTypeDef

def get_value() -> CreateVpcPeeringConnectionRequestVpcRequestVpcPeeringConnectionTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class CreateVpcPeeringConnectionRequestVpcRequestVpcPeeringConnectionTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    PeerOwnerId: NotRequired[str],
    PeerVpcId: NotRequired[str],
    PeerRegion: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateVpcRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcRequestRequestTypeDef

def get_value() -> CreateVpcRequestRequestTypeDef:
    return {
        "CidrBlock": ...,
    }
Definition
class CreateVpcRequestRequestTypeDef(TypedDict):
    CidrBlock: NotRequired[str],
    AmazonProvidedIpv6CidrBlock: NotRequired[bool],
    Ipv6Pool: NotRequired[str],
    Ipv6CidrBlock: NotRequired[str],
    Ipv4IpamPoolId: NotRequired[str],
    Ipv4NetmaskLength: NotRequired[int],
    Ipv6IpamPoolId: NotRequired[str],
    Ipv6NetmaskLength: NotRequired[int],
    DryRun: NotRequired[bool],
    InstanceTenancy: NotRequired[TenancyType],  # (1)
    Ipv6CidrBlockNetworkBorderGroup: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See TenancyType
  2. See TagSpecificationTypeDef

CreateVpcRequestServiceResourceCreateVpcTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcRequestServiceResourceCreateVpcTypeDef

def get_value() -> CreateVpcRequestServiceResourceCreateVpcTypeDef:
    return {
        "CidrBlock": ...,
    }
Definition
class CreateVpcRequestServiceResourceCreateVpcTypeDef(TypedDict):
    CidrBlock: NotRequired[str],
    AmazonProvidedIpv6CidrBlock: NotRequired[bool],
    Ipv6Pool: NotRequired[str],
    Ipv6CidrBlock: NotRequired[str],
    Ipv4IpamPoolId: NotRequired[str],
    Ipv4NetmaskLength: NotRequired[int],
    Ipv6IpamPoolId: NotRequired[str],
    Ipv6NetmaskLength: NotRequired[int],
    DryRun: NotRequired[bool],
    InstanceTenancy: NotRequired[TenancyType],  # (1)
    Ipv6CidrBlockNetworkBorderGroup: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See TenancyType
  2. See TagSpecificationTypeDef

CreateVpnGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpnGatewayRequestRequestTypeDef

def get_value() -> CreateVpnGatewayRequestRequestTypeDef:
    return {
        "Type": ...,
    }
Definition
class CreateVpnGatewayRequestRequestTypeDef(TypedDict):
    Type: GatewayTypeType,  # (1)
    AvailabilityZone: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    AmazonSideAsn: NotRequired[int],
    DryRun: NotRequired[bool],
  1. See GatewayTypeType
  2. See TagSpecificationTypeDef

ExportImageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExportImageRequestRequestTypeDef

def get_value() -> ExportImageRequestRequestTypeDef:
    return {
        "DiskImageFormat": ...,
        "ImageId": ...,
        "S3ExportLocation": ...,
    }
Definition
class ExportImageRequestRequestTypeDef(TypedDict):
    DiskImageFormat: DiskImageFormatType,  # (1)
    ImageId: str,
    S3ExportLocation: ExportTaskS3LocationRequestTypeDef,  # (2)
    ClientToken: NotRequired[str],
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    RoleName: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (3)
  1. See DiskImageFormatType
  2. See ExportTaskS3LocationRequestTypeDef
  3. See TagSpecificationTypeDef

ImportKeyPairRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportKeyPairRequestRequestTypeDef

def get_value() -> ImportKeyPairRequestRequestTypeDef:
    return {
        "KeyName": ...,
        "PublicKeyMaterial": ...,
    }
Definition
class ImportKeyPairRequestRequestTypeDef(TypedDict):
    KeyName: str,
    PublicKeyMaterial: Union[str, bytes, IO[Any], StreamingBody],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

ImportKeyPairRequestServiceResourceImportKeyPairTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportKeyPairRequestServiceResourceImportKeyPairTypeDef

def get_value() -> ImportKeyPairRequestServiceResourceImportKeyPairTypeDef:
    return {
        "KeyName": ...,
        "PublicKeyMaterial": ...,
    }
Definition
class ImportKeyPairRequestServiceResourceImportKeyPairTypeDef(TypedDict):
    KeyName: str,
    PublicKeyMaterial: Union[str, bytes, IO[Any], StreamingBody],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

ProvisionByoipCidrRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ProvisionByoipCidrRequestRequestTypeDef

def get_value() -> ProvisionByoipCidrRequestRequestTypeDef:
    return {
        "Cidr": ...,
    }
Definition
class ProvisionByoipCidrRequestRequestTypeDef(TypedDict):
    Cidr: str,
    CidrAuthorizationContext: NotRequired[CidrAuthorizationContextTypeDef],  # (1)
    PubliclyAdvertisable: NotRequired[bool],
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    PoolTagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    MultiRegion: NotRequired[bool],
  1. See CidrAuthorizationContextTypeDef
  2. See TagSpecificationTypeDef

PurchaseHostReservationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PurchaseHostReservationRequestRequestTypeDef

def get_value() -> PurchaseHostReservationRequestRequestTypeDef:
    return {
        "HostIdSet": ...,
        "OfferingId": ...,
    }
Definition
class PurchaseHostReservationRequestRequestTypeDef(TypedDict):
    HostIdSet: Sequence[str],
    OfferingId: str,
    ClientToken: NotRequired[str],
    CurrencyCode: NotRequired[CurrencyCodeValuesType],  # (1)
    LimitPrice: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See CurrencyCodeValuesType
  2. See TagSpecificationTypeDef

StartNetworkInsightsAccessScopeAnalysisRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StartNetworkInsightsAccessScopeAnalysisRequestRequestTypeDef

def get_value() -> StartNetworkInsightsAccessScopeAnalysisRequestRequestTypeDef:
    return {
        "NetworkInsightsAccessScopeId": ...,
        "ClientToken": ...,
    }
Definition
class StartNetworkInsightsAccessScopeAnalysisRequestRequestTypeDef(TypedDict):
    NetworkInsightsAccessScopeId: str,
    ClientToken: str,
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

StartNetworkInsightsAnalysisRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StartNetworkInsightsAnalysisRequestRequestTypeDef

def get_value() -> StartNetworkInsightsAnalysisRequestRequestTypeDef:
    return {
        "NetworkInsightsPathId": ...,
        "ClientToken": ...,
    }
Definition
class StartNetworkInsightsAnalysisRequestRequestTypeDef(TypedDict):
    NetworkInsightsPathId: str,
    ClientToken: str,
    AdditionalAccounts: NotRequired[Sequence[str]],
    FilterInArns: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (1)
  1. See TagSpecificationTypeDef

CreateTrafficMirrorSessionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTrafficMirrorSessionResultTypeDef

def get_value() -> CreateTrafficMirrorSessionResultTypeDef:
    return {
        "TrafficMirrorSession": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTrafficMirrorSessionResultTypeDef(TypedDict):
    TrafficMirrorSession: TrafficMirrorSessionTypeDef,  # (1)
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorSessionTypeDef
  2. See ResponseMetadataTypeDef

DescribeTrafficMirrorSessionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrafficMirrorSessionsResultTypeDef

def get_value() -> DescribeTrafficMirrorSessionsResultTypeDef:
    return {
        "TrafficMirrorSessions": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTrafficMirrorSessionsResultTypeDef(TypedDict):
    TrafficMirrorSessions: List[TrafficMirrorSessionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorSessionTypeDef
  2. See ResponseMetadataTypeDef

ModifyTrafficMirrorSessionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTrafficMirrorSessionResultTypeDef

def get_value() -> ModifyTrafficMirrorSessionResultTypeDef:
    return {
        "TrafficMirrorSession": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyTrafficMirrorSessionResultTypeDef(TypedDict):
    TrafficMirrorSession: TrafficMirrorSessionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorSessionTypeDef
  2. See ResponseMetadataTypeDef

CreateTrafficMirrorTargetResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTrafficMirrorTargetResultTypeDef

def get_value() -> CreateTrafficMirrorTargetResultTypeDef:
    return {
        "TrafficMirrorTarget": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTrafficMirrorTargetResultTypeDef(TypedDict):
    TrafficMirrorTarget: TrafficMirrorTargetTypeDef,  # (1)
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorTargetTypeDef
  2. See ResponseMetadataTypeDef

DescribeTrafficMirrorTargetsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrafficMirrorTargetsResultTypeDef

def get_value() -> DescribeTrafficMirrorTargetsResultTypeDef:
    return {
        "TrafficMirrorTargets": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTrafficMirrorTargetsResultTypeDef(TypedDict):
    TrafficMirrorTargets: List[TrafficMirrorTargetTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorTargetTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitGatewayPolicyTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayPolicyTableResultTypeDef

def get_value() -> CreateTransitGatewayPolicyTableResultTypeDef:
    return {
        "TransitGatewayPolicyTable": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayPolicyTableResultTypeDef(TypedDict):
    TransitGatewayPolicyTable: TransitGatewayPolicyTableTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPolicyTableTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayPolicyTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayPolicyTableResultTypeDef

def get_value() -> DeleteTransitGatewayPolicyTableResultTypeDef:
    return {
        "TransitGatewayPolicyTable": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayPolicyTableResultTypeDef(TypedDict):
    TransitGatewayPolicyTable: TransitGatewayPolicyTableTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPolicyTableTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransitGatewayPolicyTablesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayPolicyTablesResultTypeDef

def get_value() -> DescribeTransitGatewayPolicyTablesResultTypeDef:
    return {
        "TransitGatewayPolicyTables": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewayPolicyTablesResultTypeDef(TypedDict):
    TransitGatewayPolicyTables: List[TransitGatewayPolicyTableTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPolicyTableTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitGatewayRouteTableAnnouncementResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayRouteTableAnnouncementResultTypeDef

def get_value() -> CreateTransitGatewayRouteTableAnnouncementResultTypeDef:
    return {
        "TransitGatewayRouteTableAnnouncement": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayRouteTableAnnouncementResultTypeDef(TypedDict):
    TransitGatewayRouteTableAnnouncement: TransitGatewayRouteTableAnnouncementTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTableAnnouncementTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayRouteTableAnnouncementResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayRouteTableAnnouncementResultTypeDef

def get_value() -> DeleteTransitGatewayRouteTableAnnouncementResultTypeDef:
    return {
        "TransitGatewayRouteTableAnnouncement": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayRouteTableAnnouncementResultTypeDef(TypedDict):
    TransitGatewayRouteTableAnnouncement: TransitGatewayRouteTableAnnouncementTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTableAnnouncementTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransitGatewayRouteTableAnnouncementsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayRouteTableAnnouncementsResultTypeDef

def get_value() -> DescribeTransitGatewayRouteTableAnnouncementsResultTypeDef:
    return {
        "TransitGatewayRouteTableAnnouncements": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewayRouteTableAnnouncementsResultTypeDef(TypedDict):
    TransitGatewayRouteTableAnnouncements: List[TransitGatewayRouteTableAnnouncementTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTableAnnouncementTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitGatewayRouteTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayRouteTableResultTypeDef

def get_value() -> CreateTransitGatewayRouteTableResultTypeDef:
    return {
        "TransitGatewayRouteTable": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayRouteTableResultTypeDef(TypedDict):
    TransitGatewayRouteTable: TransitGatewayRouteTableTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTableTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayRouteTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayRouteTableResultTypeDef

def get_value() -> DeleteTransitGatewayRouteTableResultTypeDef:
    return {
        "TransitGatewayRouteTable": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayRouteTableResultTypeDef(TypedDict):
    TransitGatewayRouteTable: TransitGatewayRouteTableTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTableTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransitGatewayRouteTablesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayRouteTablesResultTypeDef

def get_value() -> DescribeTransitGatewayRouteTablesResultTypeDef:
    return {
        "TransitGatewayRouteTables": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewayRouteTablesResultTypeDef(TypedDict):
    TransitGatewayRouteTables: List[TransitGatewayRouteTableTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTableTypeDef
  2. See ResponseMetadataTypeDef

AssociateTrunkInterfaceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateTrunkInterfaceResultTypeDef

def get_value() -> AssociateTrunkInterfaceResultTypeDef:
    return {
        "InterfaceAssociation": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateTrunkInterfaceResultTypeDef(TypedDict):
    InterfaceAssociation: TrunkInterfaceAssociationTypeDef,  # (1)
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrunkInterfaceAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeTrunkInterfaceAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrunkInterfaceAssociationsResultTypeDef

def get_value() -> DescribeTrunkInterfaceAssociationsResultTypeDef:
    return {
        "InterfaceAssociations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTrunkInterfaceAssociationsResultTypeDef(TypedDict):
    InterfaceAssociations: List[TrunkInterfaceAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrunkInterfaceAssociationTypeDef
  2. See ResponseMetadataTypeDef

CreateVerifiedAccessGroupResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessGroupResultTypeDef

def get_value() -> CreateVerifiedAccessGroupResultTypeDef:
    return {
        "VerifiedAccessGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVerifiedAccessGroupResultTypeDef(TypedDict):
    VerifiedAccessGroup: VerifiedAccessGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessGroupTypeDef
  2. See ResponseMetadataTypeDef

DeleteVerifiedAccessGroupResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVerifiedAccessGroupResultTypeDef

def get_value() -> DeleteVerifiedAccessGroupResultTypeDef:
    return {
        "VerifiedAccessGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteVerifiedAccessGroupResultTypeDef(TypedDict):
    VerifiedAccessGroup: VerifiedAccessGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessGroupTypeDef
  2. See ResponseMetadataTypeDef

DescribeVerifiedAccessGroupsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessGroupsResultTypeDef

def get_value() -> DescribeVerifiedAccessGroupsResultTypeDef:
    return {
        "VerifiedAccessGroups": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVerifiedAccessGroupsResultTypeDef(TypedDict):
    VerifiedAccessGroups: List[VerifiedAccessGroupTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessGroupTypeDef
  2. See ResponseMetadataTypeDef

ModifyVerifiedAccessGroupResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessGroupResultTypeDef

def get_value() -> ModifyVerifiedAccessGroupResultTypeDef:
    return {
        "VerifiedAccessGroup": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVerifiedAccessGroupResultTypeDef(TypedDict):
    VerifiedAccessGroup: VerifiedAccessGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessGroupTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpcClassicLinkResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcClassicLinkResultTypeDef

def get_value() -> DescribeVpcClassicLinkResultTypeDef:
    return {
        "Vpcs": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcClassicLinkResultTypeDef(TypedDict):
    Vpcs: List[VpcClassicLinkTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcClassicLinkTypeDef
  2. See ResponseMetadataTypeDef

ExplanationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ExplanationTypeDef

def get_value() -> ExplanationTypeDef:
    return {
        "Acl": ...,
    }
Definition
class ExplanationTypeDef(TypedDict):
    Acl: NotRequired[AnalysisComponentTypeDef],  # (1)
    AclRule: NotRequired[AnalysisAclRuleTypeDef],  # (2)
    Address: NotRequired[str],
    Addresses: NotRequired[List[str]],
    AttachedTo: NotRequired[AnalysisComponentTypeDef],  # (1)
    AvailabilityZones: NotRequired[List[str]],
    Cidrs: NotRequired[List[str]],
    Component: NotRequired[AnalysisComponentTypeDef],  # (1)
    CustomerGateway: NotRequired[AnalysisComponentTypeDef],  # (1)
    Destination: NotRequired[AnalysisComponentTypeDef],  # (1)
    DestinationVpc: NotRequired[AnalysisComponentTypeDef],  # (1)
    Direction: NotRequired[str],
    ExplanationCode: NotRequired[str],
    IngressRouteTable: NotRequired[AnalysisComponentTypeDef],  # (1)
    InternetGateway: NotRequired[AnalysisComponentTypeDef],  # (1)
    LoadBalancerArn: NotRequired[str],
    ClassicLoadBalancerListener: NotRequired[AnalysisLoadBalancerListenerTypeDef],  # (10)
    LoadBalancerListenerPort: NotRequired[int],
    LoadBalancerTarget: NotRequired[AnalysisLoadBalancerTargetTypeDef],  # (11)
    LoadBalancerTargetGroup: NotRequired[AnalysisComponentTypeDef],  # (1)
    LoadBalancerTargetGroups: NotRequired[List[AnalysisComponentTypeDef]],  # (13)
    LoadBalancerTargetPort: NotRequired[int],
    ElasticLoadBalancerListener: NotRequired[AnalysisComponentTypeDef],  # (1)
    MissingComponent: NotRequired[str],
    NatGateway: NotRequired[AnalysisComponentTypeDef],  # (1)
    NetworkInterface: NotRequired[AnalysisComponentTypeDef],  # (1)
    PacketField: NotRequired[str],
    VpcPeeringConnection: NotRequired[AnalysisComponentTypeDef],  # (1)
    Port: NotRequired[int],
    PortRanges: NotRequired[List[PortRangeTypeDef]],  # (18)
    PrefixList: NotRequired[AnalysisComponentTypeDef],  # (1)
    Protocols: NotRequired[List[str]],
    RouteTableRoute: NotRequired[AnalysisRouteTableRouteTypeDef],  # (20)
    RouteTable: NotRequired[AnalysisComponentTypeDef],  # (1)
    SecurityGroup: NotRequired[AnalysisComponentTypeDef],  # (1)
    SecurityGroupRule: NotRequired[AnalysisSecurityGroupRuleTypeDef],  # (23)
    SecurityGroups: NotRequired[List[AnalysisComponentTypeDef]],  # (13)
    SourceVpc: NotRequired[AnalysisComponentTypeDef],  # (1)
    State: NotRequired[str],
    Subnet: NotRequired[AnalysisComponentTypeDef],  # (1)
    SubnetRouteTable: NotRequired[AnalysisComponentTypeDef],  # (1)
    Vpc: NotRequired[AnalysisComponentTypeDef],  # (1)
    VpcEndpoint: NotRequired[AnalysisComponentTypeDef],  # (1)
    VpnConnection: NotRequired[AnalysisComponentTypeDef],  # (1)
    VpnGateway: NotRequired[AnalysisComponentTypeDef],  # (1)
    TransitGateway: NotRequired[AnalysisComponentTypeDef],  # (1)
    TransitGatewayRouteTable: NotRequired[AnalysisComponentTypeDef],  # (1)
    TransitGatewayRouteTableRoute: NotRequired[TransitGatewayRouteTableRouteTypeDef],  # (34)
    TransitGatewayAttachment: NotRequired[AnalysisComponentTypeDef],  # (1)
    ComponentAccount: NotRequired[str],
    ComponentRegion: NotRequired[str],
  1. See AnalysisComponentTypeDef
  2. See AnalysisAclRuleTypeDef
  3. See AnalysisComponentTypeDef
  4. See AnalysisComponentTypeDef
  5. See AnalysisComponentTypeDef
  6. See AnalysisComponentTypeDef
  7. See AnalysisComponentTypeDef
  8. See AnalysisComponentTypeDef
  9. See AnalysisComponentTypeDef
  10. See AnalysisLoadBalancerListenerTypeDef
  11. See AnalysisLoadBalancerTargetTypeDef
  12. See AnalysisComponentTypeDef
  13. See AnalysisComponentTypeDef
  14. See AnalysisComponentTypeDef
  15. See AnalysisComponentTypeDef
  16. See AnalysisComponentTypeDef
  17. See AnalysisComponentTypeDef
  18. See PortRangeTypeDef
  19. See AnalysisComponentTypeDef
  20. See AnalysisRouteTableRouteTypeDef
  21. See AnalysisComponentTypeDef
  22. See AnalysisComponentTypeDef
  23. See AnalysisSecurityGroupRuleTypeDef
  24. See AnalysisComponentTypeDef
  25. See AnalysisComponentTypeDef
  26. See AnalysisComponentTypeDef
  27. See AnalysisComponentTypeDef
  28. See AnalysisComponentTypeDef
  29. See AnalysisComponentTypeDef
  30. See AnalysisComponentTypeDef
  31. See AnalysisComponentTypeDef
  32. See AnalysisComponentTypeDef
  33. See AnalysisComponentTypeDef
  34. See TransitGatewayRouteTableRouteTypeDef
  35. See AnalysisComponentTypeDef

DescribeClientVpnTargetNetworksResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnTargetNetworksResultTypeDef

def get_value() -> DescribeClientVpnTargetNetworksResultTypeDef:
    return {
        "ClientVpnTargetNetworks": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClientVpnTargetNetworksResultTypeDef(TypedDict):
    ClientVpnTargetNetworks: List[TargetNetworkTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TargetNetworkTypeDef
  2. See ResponseMetadataTypeDef

RouteTableTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RouteTableTypeDef

def get_value() -> RouteTableTypeDef:
    return {
        "Associations": ...,
    }
Definition
class RouteTableTypeDef(TypedDict):
    Associations: NotRequired[List[RouteTableAssociationTypeDef]],  # (1)
    PropagatingVgws: NotRequired[List[PropagatingVgwTypeDef]],  # (2)
    RouteTableId: NotRequired[str],
    Routes: NotRequired[List[RouteTypeDef]],  # (3)
    Tags: NotRequired[List[TagTypeDef]],  # (4)
    VpcId: NotRequired[str],
    OwnerId: NotRequired[str],
  1. See RouteTableAssociationTypeDef
  2. See PropagatingVgwTypeDef
  3. See RouteTypeDef
  4. See TagTypeDef

GetFlowLogsIntegrationTemplateRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetFlowLogsIntegrationTemplateRequestRequestTypeDef

def get_value() -> GetFlowLogsIntegrationTemplateRequestRequestTypeDef:
    return {
        "FlowLogId": ...,
        "ConfigDeliveryS3DestinationArn": ...,
        "IntegrateServices": ...,
    }
Definition
class GetFlowLogsIntegrationTemplateRequestRequestTypeDef(TypedDict):
    FlowLogId: str,
    ConfigDeliveryS3DestinationArn: str,
    IntegrateServices: IntegrateServicesTypeDef,  # (1)
    DryRun: NotRequired[bool],
  1. See IntegrateServicesTypeDef

CreateVpnGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpnGatewayResultTypeDef

def get_value() -> CreateVpnGatewayResultTypeDef:
    return {
        "VpnGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVpnGatewayResultTypeDef(TypedDict):
    VpnGateway: VpnGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpnGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpnGatewaysResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpnGatewaysResultTypeDef

def get_value() -> DescribeVpnGatewaysResultTypeDef:
    return {
        "VpnGateways": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpnGatewaysResultTypeDef(TypedDict):
    VpnGateways: List[VpnGatewayTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpnGatewayTypeDef
  2. See ResponseMetadataTypeDef

NetworkInterfaceAttachmentResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfaceAttachmentResponseMetadataTypeDef

def get_value() -> NetworkInterfaceAttachmentResponseMetadataTypeDef:
    return {
        "AttachTime": ...,
        "AttachmentId": ...,
        "DeleteOnTermination": ...,
        "DeviceIndex": ...,
        "NetworkCardIndex": ...,
        "InstanceId": ...,
        "InstanceOwnerId": ...,
        "Status": ...,
        "EnaSrdSpecification": ...,
        "ResponseMetadata": ...,
    }
Definition
class NetworkInterfaceAttachmentResponseMetadataTypeDef(TypedDict):
    AttachTime: datetime,
    AttachmentId: str,
    DeleteOnTermination: bool,
    DeviceIndex: int,
    NetworkCardIndex: int,
    InstanceId: str,
    InstanceOwnerId: str,
    Status: AttachmentStatusType,  # (1)
    EnaSrdSpecification: AttachmentEnaSrdSpecificationTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AttachmentStatusType
  2. See AttachmentEnaSrdSpecificationTypeDef
  3. See ResponseMetadataTypeDef

NetworkInterfaceAttachmentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfaceAttachmentTypeDef

def get_value() -> NetworkInterfaceAttachmentTypeDef:
    return {
        "AttachTime": ...,
    }
Definition
class NetworkInterfaceAttachmentTypeDef(TypedDict):
    AttachTime: NotRequired[datetime],
    AttachmentId: NotRequired[str],
    DeleteOnTermination: NotRequired[bool],
    DeviceIndex: NotRequired[int],
    NetworkCardIndex: NotRequired[int],
    InstanceId: NotRequired[str],
    InstanceOwnerId: NotRequired[str],
    Status: NotRequired[AttachmentStatusType],  # (1)
    EnaSrdSpecification: NotRequired[AttachmentEnaSrdSpecificationTypeDef],  # (2)
  1. See AttachmentStatusType
  2. See AttachmentEnaSrdSpecificationTypeDef

DhcpOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DhcpOptionsTypeDef

def get_value() -> DhcpOptionsTypeDef:
    return {
        "DhcpConfigurations": ...,
    }
Definition
class DhcpOptionsTypeDef(TypedDict):
    DhcpConfigurations: NotRequired[List[DhcpConfigurationTypeDef]],  # (1)
    DhcpOptionsId: NotRequired[str],
    OwnerId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See DhcpConfigurationTypeDef
  2. See TagTypeDef

DescribeClientVpnAuthorizationRulesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnAuthorizationRulesResultTypeDef

def get_value() -> DescribeClientVpnAuthorizationRulesResultTypeDef:
    return {
        "AuthorizationRules": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClientVpnAuthorizationRulesResultTypeDef(TypedDict):
    AuthorizationRules: List[AuthorizationRuleTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AuthorizationRuleTypeDef
  2. See ResponseMetadataTypeDef

DescribeAvailabilityZonesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeAvailabilityZonesResultTypeDef

def get_value() -> DescribeAvailabilityZonesResultTypeDef:
    return {
        "AvailabilityZones": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAvailabilityZonesResultTypeDef(TypedDict):
    AvailabilityZones: List[AvailabilityZoneTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AvailabilityZoneTypeDef
  2. See ResponseMetadataTypeDef

HostTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import HostTypeDef

def get_value() -> HostTypeDef:
    return {
        "AutoPlacement": ...,
    }
Definition
class HostTypeDef(TypedDict):
    AutoPlacement: NotRequired[AutoPlacementType],  # (1)
    AvailabilityZone: NotRequired[str],
    AvailableCapacity: NotRequired[AvailableCapacityTypeDef],  # (2)
    ClientToken: NotRequired[str],
    HostId: NotRequired[str],
    HostProperties: NotRequired[HostPropertiesTypeDef],  # (3)
    HostReservationId: NotRequired[str],
    Instances: NotRequired[List[HostInstanceTypeDef]],  # (4)
    State: NotRequired[AllocationStateType],  # (5)
    AllocationTime: NotRequired[datetime],
    ReleaseTime: NotRequired[datetime],
    Tags: NotRequired[List[TagTypeDef]],  # (6)
    HostRecovery: NotRequired[HostRecoveryType],  # (7)
    AllowsMultipleInstanceTypes: NotRequired[AllowsMultipleInstanceTypesType],  # (8)
    OwnerId: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    MemberOfServiceLinkedResourceGroup: NotRequired[bool],
    OutpostArn: NotRequired[str],
    HostMaintenance: NotRequired[HostMaintenanceType],  # (9)
  1. See AutoPlacementType
  2. See AvailableCapacityTypeDef
  3. See HostPropertiesTypeDef
  4. See HostInstanceTypeDef
  5. See AllocationStateType
  6. See TagTypeDef
  7. See HostRecoveryType
  8. See AllowsMultipleInstanceTypesType
  9. See HostMaintenanceType

CreateImageRequestInstanceCreateImageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateImageRequestInstanceCreateImageTypeDef

def get_value() -> CreateImageRequestInstanceCreateImageTypeDef:
    return {
        "Name": ...,
    }
Definition
class CreateImageRequestInstanceCreateImageTypeDef(TypedDict):
    Name: str,
    BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]],  # (1)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    NoReboot: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See BlockDeviceMappingTypeDef
  2. See TagSpecificationTypeDef

CreateImageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateImageRequestRequestTypeDef

def get_value() -> CreateImageRequestRequestTypeDef:
    return {
        "InstanceId": ...,
        "Name": ...,
    }
Definition
class CreateImageRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    Name: str,
    BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]],  # (1)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    NoReboot: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See BlockDeviceMappingTypeDef
  2. See TagSpecificationTypeDef

ImageAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImageAttributeTypeDef

def get_value() -> ImageAttributeTypeDef:
    return {
        "BlockDeviceMappings": ...,
        "ImageId": ...,
        "LaunchPermissions": ...,
        "ProductCodes": ...,
        "Description": ...,
        "KernelId": ...,
        "RamdiskId": ...,
        "SriovNetSupport": ...,
        "BootMode": ...,
        "TpmSupport": ...,
        "UefiData": ...,
        "LastLaunchedTime": ...,
        "ImdsSupport": ...,
        "ResponseMetadata": ...,
    }
Definition
class ImageAttributeTypeDef(TypedDict):
    BlockDeviceMappings: List[BlockDeviceMappingTypeDef],  # (1)
    ImageId: str,
    LaunchPermissions: List[LaunchPermissionTypeDef],  # (2)
    ProductCodes: List[ProductCodeTypeDef],  # (3)
    Description: AttributeValueTypeDef,  # (4)
    KernelId: AttributeValueTypeDef,  # (4)
    RamdiskId: AttributeValueTypeDef,  # (4)
    SriovNetSupport: AttributeValueTypeDef,  # (4)
    BootMode: AttributeValueTypeDef,  # (4)
    TpmSupport: AttributeValueTypeDef,  # (4)
    UefiData: AttributeValueTypeDef,  # (4)
    LastLaunchedTime: AttributeValueTypeDef,  # (4)
    ImdsSupport: AttributeValueTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (13)
  1. See BlockDeviceMappingTypeDef
  2. See LaunchPermissionTypeDef
  3. See ProductCodeTypeDef
  4. See AttributeValueTypeDef
  5. See AttributeValueTypeDef
  6. See AttributeValueTypeDef
  7. See AttributeValueTypeDef
  8. See AttributeValueTypeDef
  9. See AttributeValueTypeDef
  10. See AttributeValueTypeDef
  11. See AttributeValueTypeDef
  12. See AttributeValueTypeDef
  13. See ResponseMetadataTypeDef

ImageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImageTypeDef

def get_value() -> ImageTypeDef:
    return {
        "Architecture": ...,
    }
Definition
class ImageTypeDef(TypedDict):
    Architecture: NotRequired[ArchitectureValuesType],  # (1)
    CreationDate: NotRequired[str],
    ImageId: NotRequired[str],
    ImageLocation: NotRequired[str],
    ImageType: NotRequired[ImageTypeValuesType],  # (2)
    Public: NotRequired[bool],
    KernelId: NotRequired[str],
    OwnerId: NotRequired[str],
    Platform: NotRequired[PlatformValuesType],  # (3)
    PlatformDetails: NotRequired[str],
    UsageOperation: NotRequired[str],
    ProductCodes: NotRequired[List[ProductCodeTypeDef]],  # (4)
    RamdiskId: NotRequired[str],
    State: NotRequired[ImageStateType],  # (5)
    BlockDeviceMappings: NotRequired[List[BlockDeviceMappingTypeDef]],  # (6)
    Description: NotRequired[str],
    EnaSupport: NotRequired[bool],
    Hypervisor: NotRequired[HypervisorTypeType],  # (7)
    ImageOwnerAlias: NotRequired[str],
    Name: NotRequired[str],
    RootDeviceName: NotRequired[str],
    RootDeviceType: NotRequired[DeviceTypeType],  # (8)
    SriovNetSupport: NotRequired[str],
    StateReason: NotRequired[StateReasonTypeDef],  # (9)
    Tags: NotRequired[List[TagTypeDef]],  # (10)
    VirtualizationType: NotRequired[VirtualizationTypeType],  # (11)
    BootMode: NotRequired[BootModeValuesType],  # (12)
    TpmSupport: NotRequired[TpmSupportValuesType],  # (13)
    DeprecationTime: NotRequired[str],
    ImdsSupport: NotRequired[ImdsSupportValuesType],  # (14)
  1. See ArchitectureValuesType
  2. See ImageTypeValuesType
  3. See PlatformValuesType
  4. See ProductCodeTypeDef
  5. See ImageStateType
  6. See BlockDeviceMappingTypeDef
  7. See HypervisorTypeType
  8. See DeviceTypeType
  9. See StateReasonTypeDef
  10. See TagTypeDef
  11. See VirtualizationTypeType
  12. See BootModeValuesType
  13. See TpmSupportValuesType
  14. See ImdsSupportValuesType

RegisterImageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterImageRequestRequestTypeDef

def get_value() -> RegisterImageRequestRequestTypeDef:
    return {
        "Name": ...,
    }
Definition
class RegisterImageRequestRequestTypeDef(TypedDict):
    Name: str,
    ImageLocation: NotRequired[str],
    Architecture: NotRequired[ArchitectureValuesType],  # (1)
    BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]],  # (2)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    EnaSupport: NotRequired[bool],
    KernelId: NotRequired[str],
    BillingProducts: NotRequired[Sequence[str]],
    RamdiskId: NotRequired[str],
    RootDeviceName: NotRequired[str],
    SriovNetSupport: NotRequired[str],
    VirtualizationType: NotRequired[str],
    BootMode: NotRequired[BootModeValuesType],  # (3)
    TpmSupport: NotRequired[TpmSupportValuesType],  # (4)
    UefiData: NotRequired[str],
    ImdsSupport: NotRequired[ImdsSupportValuesType],  # (5)
  1. See ArchitectureValuesType
  2. See BlockDeviceMappingTypeDef
  3. See BootModeValuesType
  4. See TpmSupportValuesType
  5. See ImdsSupportValuesType

RegisterImageRequestServiceResourceRegisterImageTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RegisterImageRequestServiceResourceRegisterImageTypeDef

def get_value() -> RegisterImageRequestServiceResourceRegisterImageTypeDef:
    return {
        "Name": ...,
    }
Definition
class RegisterImageRequestServiceResourceRegisterImageTypeDef(TypedDict):
    Name: str,
    ImageLocation: NotRequired[str],
    Architecture: NotRequired[ArchitectureValuesType],  # (1)
    BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]],  # (2)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    EnaSupport: NotRequired[bool],
    KernelId: NotRequired[str],
    BillingProducts: NotRequired[Sequence[str]],
    RamdiskId: NotRequired[str],
    RootDeviceName: NotRequired[str],
    SriovNetSupport: NotRequired[str],
    VirtualizationType: NotRequired[str],
    BootMode: NotRequired[BootModeValuesType],  # (3)
    TpmSupport: NotRequired[TpmSupportValuesType],  # (4)
    UefiData: NotRequired[str],
    ImdsSupport: NotRequired[ImdsSupportValuesType],  # (5)
  1. See ArchitectureValuesType
  2. See BlockDeviceMappingTypeDef
  3. See BootModeValuesType
  4. See TpmSupportValuesType
  5. See ImdsSupportValuesType

CancelCapacityReservationFleetsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelCapacityReservationFleetsResultTypeDef

def get_value() -> CancelCapacityReservationFleetsResultTypeDef:
    return {
        "SuccessfulFleetCancellations": ...,
        "FailedFleetCancellations": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelCapacityReservationFleetsResultTypeDef(TypedDict):
    SuccessfulFleetCancellations: List[CapacityReservationFleetCancellationStateTypeDef],  # (1)
    FailedFleetCancellations: List[FailedCapacityReservationFleetCancellationResultTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CapacityReservationFleetCancellationStateTypeDef
  2. See FailedCapacityReservationFleetCancellationResultTypeDef
  3. See ResponseMetadataTypeDef

CancelSpotFleetRequestsResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelSpotFleetRequestsResponseTypeDef

def get_value() -> CancelSpotFleetRequestsResponseTypeDef:
    return {
        "SuccessfulFleetRequests": ...,
        "UnsuccessfulFleetRequests": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelSpotFleetRequestsResponseTypeDef(TypedDict):
    SuccessfulFleetRequests: List[CancelSpotFleetRequestsSuccessItemTypeDef],  # (1)
    UnsuccessfulFleetRequests: List[CancelSpotFleetRequestsErrorItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CancelSpotFleetRequestsSuccessItemTypeDef
  2. See CancelSpotFleetRequestsErrorItemTypeDef
  3. See ResponseMetadataTypeDef

CreateCapacityReservationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateCapacityReservationResultTypeDef

def get_value() -> CreateCapacityReservationResultTypeDef:
    return {
        "CapacityReservation": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateCapacityReservationResultTypeDef(TypedDict):
    CapacityReservation: CapacityReservationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityReservationTypeDef
  2. See ResponseMetadataTypeDef

DescribeCapacityReservationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCapacityReservationsResultTypeDef

def get_value() -> DescribeCapacityReservationsResultTypeDef:
    return {
        "NextToken": ...,
        "CapacityReservations": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCapacityReservationsResultTypeDef(TypedDict):
    NextToken: str,
    CapacityReservations: List[CapacityReservationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityReservationTypeDef
  2. See ResponseMetadataTypeDef

DescribeCapacityReservationFleetsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeCapacityReservationFleetsResultTypeDef

def get_value() -> DescribeCapacityReservationFleetsResultTypeDef:
    return {
        "CapacityReservationFleets": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCapacityReservationFleetsResultTypeDef(TypedDict):
    CapacityReservationFleets: List[CapacityReservationFleetTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityReservationFleetTypeDef
  2. See ResponseMetadataTypeDef

ModifyInstanceCapacityReservationAttributesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceCapacityReservationAttributesRequestRequestTypeDef

def get_value() -> ModifyInstanceCapacityReservationAttributesRequestRequestTypeDef:
    return {
        "InstanceId": ...,
        "CapacityReservationSpecification": ...,
    }
Definition
class ModifyInstanceCapacityReservationAttributesRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    CapacityReservationSpecification: CapacityReservationSpecificationTypeDef,  # (1)
    DryRun: NotRequired[bool],
  1. See CapacityReservationSpecificationTypeDef

DescribeClassicLinkInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClassicLinkInstancesResultTypeDef

def get_value() -> DescribeClassicLinkInstancesResultTypeDef:
    return {
        "Instances": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClassicLinkInstancesResultTypeDef(TypedDict):
    Instances: List[ClassicLinkInstanceTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClassicLinkInstanceTypeDef
  2. See ResponseMetadataTypeDef

CreateClientVpnEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateClientVpnEndpointRequestRequestTypeDef

def get_value() -> CreateClientVpnEndpointRequestRequestTypeDef:
    return {
        "ClientCidrBlock": ...,
        "ServerCertificateArn": ...,
        "AuthenticationOptions": ...,
        "ConnectionLogOptions": ...,
    }
Definition
class CreateClientVpnEndpointRequestRequestTypeDef(TypedDict):
    ClientCidrBlock: str,
    ServerCertificateArn: str,
    AuthenticationOptions: Sequence[ClientVpnAuthenticationRequestTypeDef],  # (1)
    ConnectionLogOptions: ConnectionLogOptionsTypeDef,  # (2)
    DnsServers: NotRequired[Sequence[str]],
    TransportProtocol: NotRequired[TransportProtocolType],  # (3)
    VpnPort: NotRequired[int],
    Description: NotRequired[str],
    SplitTunnel: NotRequired[bool],
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (4)
    SecurityGroupIds: NotRequired[Sequence[str]],
    VpcId: NotRequired[str],
    SelfServicePortal: NotRequired[SelfServicePortalType],  # (5)
    ClientConnectOptions: NotRequired[ClientConnectOptionsTypeDef],  # (6)
    SessionTimeoutHours: NotRequired[int],
    ClientLoginBannerOptions: NotRequired[ClientLoginBannerOptionsTypeDef],  # (7)
  1. See ClientVpnAuthenticationRequestTypeDef
  2. See ConnectionLogOptionsTypeDef
  3. See TransportProtocolType
  4. See TagSpecificationTypeDef
  5. See SelfServicePortalType
  6. See ClientConnectOptionsTypeDef
  7. See ClientLoginBannerOptionsTypeDef

ClientVpnEndpointTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ClientVpnEndpointTypeDef

def get_value() -> ClientVpnEndpointTypeDef:
    return {
        "ClientVpnEndpointId": ...,
    }
Definition
class ClientVpnEndpointTypeDef(TypedDict):
    ClientVpnEndpointId: NotRequired[str],
    Description: NotRequired[str],
    Status: NotRequired[ClientVpnEndpointStatusTypeDef],  # (1)
    CreationTime: NotRequired[str],
    DeletionTime: NotRequired[str],
    DnsName: NotRequired[str],
    ClientCidrBlock: NotRequired[str],
    DnsServers: NotRequired[List[str]],
    SplitTunnel: NotRequired[bool],
    VpnProtocol: NotRequired[VpnProtocolType],  # (2)
    TransportProtocol: NotRequired[TransportProtocolType],  # (3)
    VpnPort: NotRequired[int],
    AssociatedTargetNetworks: NotRequired[List[AssociatedTargetNetworkTypeDef]],  # (4)
    ServerCertificateArn: NotRequired[str],
    AuthenticationOptions: NotRequired[List[ClientVpnAuthenticationTypeDef]],  # (5)
    ConnectionLogOptions: NotRequired[ConnectionLogResponseOptionsTypeDef],  # (6)
    Tags: NotRequired[List[TagTypeDef]],  # (7)
    SecurityGroupIds: NotRequired[List[str]],
    VpcId: NotRequired[str],
    SelfServicePortalUrl: NotRequired[str],
    ClientConnectOptions: NotRequired[ClientConnectResponseOptionsTypeDef],  # (8)
    SessionTimeoutHours: NotRequired[int],
    ClientLoginBannerOptions: NotRequired[ClientLoginBannerResponseOptionsTypeDef],  # (9)
  1. See ClientVpnEndpointStatusTypeDef
  2. See VpnProtocolType
  3. See TransportProtocolType
  4. See AssociatedTargetNetworkTypeDef
  5. See ClientVpnAuthenticationTypeDef
  6. See ConnectionLogResponseOptionsTypeDef
  7. See TagTypeDef
  8. See ClientConnectResponseOptionsTypeDef
  9. See ClientLoginBannerResponseOptionsTypeDef

DescribeClientVpnConnectionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnConnectionsResultTypeDef

def get_value() -> DescribeClientVpnConnectionsResultTypeDef:
    return {
        "Connections": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClientVpnConnectionsResultTypeDef(TypedDict):
    Connections: List[ClientVpnConnectionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientVpnConnectionTypeDef
  2. See ResponseMetadataTypeDef

TerminateClientVpnConnectionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TerminateClientVpnConnectionsResultTypeDef

def get_value() -> TerminateClientVpnConnectionsResultTypeDef:
    return {
        "ClientVpnEndpointId": ...,
        "Username": ...,
        "ConnectionStatuses": ...,
        "ResponseMetadata": ...,
    }
Definition
class TerminateClientVpnConnectionsResultTypeDef(TypedDict):
    ClientVpnEndpointId: str,
    Username: str,
    ConnectionStatuses: List[TerminateConnectionStatusTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TerminateConnectionStatusTypeDef
  2. See ResponseMetadataTypeDef

DescribeClientVpnRoutesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnRoutesResultTypeDef

def get_value() -> DescribeClientVpnRoutesResultTypeDef:
    return {
        "Routes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClientVpnRoutesResultTypeDef(TypedDict):
    Routes: List[ClientVpnRouteTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientVpnRouteTypeDef
  2. See ResponseMetadataTypeDef

ModifyVpnTunnelOptionsSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpnTunnelOptionsSpecificationTypeDef

def get_value() -> ModifyVpnTunnelOptionsSpecificationTypeDef:
    return {
        "TunnelInsideCidr": ...,
    }
Definition
class ModifyVpnTunnelOptionsSpecificationTypeDef(TypedDict):
    TunnelInsideCidr: NotRequired[str],
    TunnelInsideIpv6Cidr: NotRequired[str],
    PreSharedKey: NotRequired[str],
    Phase1LifetimeSeconds: NotRequired[int],
    Phase2LifetimeSeconds: NotRequired[int],
    RekeyMarginTimeSeconds: NotRequired[int],
    RekeyFuzzPercentage: NotRequired[int],
    ReplayWindowSize: NotRequired[int],
    DPDTimeoutSeconds: NotRequired[int],
    DPDTimeoutAction: NotRequired[str],
    Phase1EncryptionAlgorithms: NotRequired[Sequence[Phase1EncryptionAlgorithmsRequestListValueTypeDef]],  # (1)
    Phase2EncryptionAlgorithms: NotRequired[Sequence[Phase2EncryptionAlgorithmsRequestListValueTypeDef]],  # (2)
    Phase1IntegrityAlgorithms: NotRequired[Sequence[Phase1IntegrityAlgorithmsRequestListValueTypeDef]],  # (3)
    Phase2IntegrityAlgorithms: NotRequired[Sequence[Phase2IntegrityAlgorithmsRequestListValueTypeDef]],  # (4)
    Phase1DHGroupNumbers: NotRequired[Sequence[Phase1DHGroupNumbersRequestListValueTypeDef]],  # (5)
    Phase2DHGroupNumbers: NotRequired[Sequence[Phase2DHGroupNumbersRequestListValueTypeDef]],  # (6)
    IKEVersions: NotRequired[Sequence[IKEVersionsRequestListValueTypeDef]],  # (7)
    StartupAction: NotRequired[str],
    LogOptions: NotRequired[VpnTunnelLogOptionsSpecificationTypeDef],  # (8)
  1. See Phase1EncryptionAlgorithmsRequestListValueTypeDef
  2. See Phase2EncryptionAlgorithmsRequestListValueTypeDef
  3. See Phase1IntegrityAlgorithmsRequestListValueTypeDef
  4. See Phase2IntegrityAlgorithmsRequestListValueTypeDef
  5. See Phase1DHGroupNumbersRequestListValueTypeDef
  6. See Phase2DHGroupNumbersRequestListValueTypeDef
  7. See IKEVersionsRequestListValueTypeDef
  8. See VpnTunnelLogOptionsSpecificationTypeDef

VpnTunnelOptionsSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpnTunnelOptionsSpecificationTypeDef

def get_value() -> VpnTunnelOptionsSpecificationTypeDef:
    return {
        "TunnelInsideCidr": ...,
    }
Definition
class VpnTunnelOptionsSpecificationTypeDef(TypedDict):
    TunnelInsideCidr: NotRequired[str],
    TunnelInsideIpv6Cidr: NotRequired[str],
    PreSharedKey: NotRequired[str],
    Phase1LifetimeSeconds: NotRequired[int],
    Phase2LifetimeSeconds: NotRequired[int],
    RekeyMarginTimeSeconds: NotRequired[int],
    RekeyFuzzPercentage: NotRequired[int],
    ReplayWindowSize: NotRequired[int],
    DPDTimeoutSeconds: NotRequired[int],
    DPDTimeoutAction: NotRequired[str],
    Phase1EncryptionAlgorithms: NotRequired[Sequence[Phase1EncryptionAlgorithmsRequestListValueTypeDef]],  # (1)
    Phase2EncryptionAlgorithms: NotRequired[Sequence[Phase2EncryptionAlgorithmsRequestListValueTypeDef]],  # (2)
    Phase1IntegrityAlgorithms: NotRequired[Sequence[Phase1IntegrityAlgorithmsRequestListValueTypeDef]],  # (3)
    Phase2IntegrityAlgorithms: NotRequired[Sequence[Phase2IntegrityAlgorithmsRequestListValueTypeDef]],  # (4)
    Phase1DHGroupNumbers: NotRequired[Sequence[Phase1DHGroupNumbersRequestListValueTypeDef]],  # (5)
    Phase2DHGroupNumbers: NotRequired[Sequence[Phase2DHGroupNumbersRequestListValueTypeDef]],  # (6)
    IKEVersions: NotRequired[Sequence[IKEVersionsRequestListValueTypeDef]],  # (7)
    StartupAction: NotRequired[str],
    LogOptions: NotRequired[VpnTunnelLogOptionsSpecificationTypeDef],  # (8)
  1. See Phase1EncryptionAlgorithmsRequestListValueTypeDef
  2. See Phase2EncryptionAlgorithmsRequestListValueTypeDef
  3. See Phase1IntegrityAlgorithmsRequestListValueTypeDef
  4. See Phase2IntegrityAlgorithmsRequestListValueTypeDef
  5. See Phase1DHGroupNumbersRequestListValueTypeDef
  6. See Phase2DHGroupNumbersRequestListValueTypeDef
  7. See IKEVersionsRequestListValueTypeDef
  8. See VpnTunnelLogOptionsSpecificationTypeDef

TunnelOptionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TunnelOptionTypeDef

def get_value() -> TunnelOptionTypeDef:
    return {
        "OutsideIpAddress": ...,
    }
Definition
class TunnelOptionTypeDef(TypedDict):
    OutsideIpAddress: NotRequired[str],
    TunnelInsideCidr: NotRequired[str],
    TunnelInsideIpv6Cidr: NotRequired[str],
    PreSharedKey: NotRequired[str],
    Phase1LifetimeSeconds: NotRequired[int],
    Phase2LifetimeSeconds: NotRequired[int],
    RekeyMarginTimeSeconds: NotRequired[int],
    RekeyFuzzPercentage: NotRequired[int],
    ReplayWindowSize: NotRequired[int],
    DpdTimeoutSeconds: NotRequired[int],
    DpdTimeoutAction: NotRequired[str],
    Phase1EncryptionAlgorithms: NotRequired[List[Phase1EncryptionAlgorithmsListValueTypeDef]],  # (1)
    Phase2EncryptionAlgorithms: NotRequired[List[Phase2EncryptionAlgorithmsListValueTypeDef]],  # (2)
    Phase1IntegrityAlgorithms: NotRequired[List[Phase1IntegrityAlgorithmsListValueTypeDef]],  # (3)
    Phase2IntegrityAlgorithms: NotRequired[List[Phase2IntegrityAlgorithmsListValueTypeDef]],  # (4)
    Phase1DHGroupNumbers: NotRequired[List[Phase1DHGroupNumbersListValueTypeDef]],  # (5)
    Phase2DHGroupNumbers: NotRequired[List[Phase2DHGroupNumbersListValueTypeDef]],  # (6)
    IkeVersions: NotRequired[List[IKEVersionsListValueTypeDef]],  # (7)
    StartupAction: NotRequired[str],
    LogOptions: NotRequired[VpnTunnelLogOptionsTypeDef],  # (8)
  1. See Phase1EncryptionAlgorithmsListValueTypeDef
  2. See Phase2EncryptionAlgorithmsListValueTypeDef
  3. See Phase1IntegrityAlgorithmsListValueTypeDef
  4. See Phase2IntegrityAlgorithmsListValueTypeDef
  5. See Phase1DHGroupNumbersListValueTypeDef
  6. See Phase2DHGroupNumbersListValueTypeDef
  7. See IKEVersionsListValueTypeDef
  8. See VpnTunnelLogOptionsTypeDef

NetworkAclTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkAclTypeDef

def get_value() -> NetworkAclTypeDef:
    return {
        "Associations": ...,
    }
Definition
class NetworkAclTypeDef(TypedDict):
    Associations: NotRequired[List[NetworkAclAssociationTypeDef]],  # (1)
    Entries: NotRequired[List[NetworkAclEntryTypeDef]],  # (2)
    IsDefault: NotRequired[bool],
    NetworkAclId: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (3)
    VpcId: NotRequired[str],
    OwnerId: NotRequired[str],
  1. See NetworkAclAssociationTypeDef
  2. See NetworkAclEntryTypeDef
  3. See TagTypeDef

LaunchSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchSpecificationTypeDef

def get_value() -> LaunchSpecificationTypeDef:
    return {
        "UserData": ...,
    }
Definition
class LaunchSpecificationTypeDef(TypedDict):
    UserData: NotRequired[str],
    SecurityGroups: NotRequired[List[GroupIdentifierTypeDef]],  # (1)
    AddressingType: NotRequired[str],
    BlockDeviceMappings: NotRequired[List[BlockDeviceMappingTypeDef]],  # (2)
    EbsOptimized: NotRequired[bool],
    IamInstanceProfile: NotRequired[IamInstanceProfileSpecificationTypeDef],  # (3)
    ImageId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (4)
    KernelId: NotRequired[str],
    KeyName: NotRequired[str],
    NetworkInterfaces: NotRequired[List[InstanceNetworkInterfaceSpecificationTypeDef]],  # (5)
    Placement: NotRequired[SpotPlacementTypeDef],  # (6)
    RamdiskId: NotRequired[str],
    SubnetId: NotRequired[str],
    Monitoring: NotRequired[RunInstancesMonitoringEnabledTypeDef],  # (7)
  1. See GroupIdentifierTypeDef
  2. See BlockDeviceMappingTypeDef
  3. See IamInstanceProfileSpecificationTypeDef
  4. See InstanceTypeType
  5. See InstanceNetworkInterfaceSpecificationTypeDef
  6. See SpotPlacementTypeDef
  7. See RunInstancesMonitoringEnabledTypeDef

RequestSpotLaunchSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RequestSpotLaunchSpecificationTypeDef

def get_value() -> RequestSpotLaunchSpecificationTypeDef:
    return {
        "SecurityGroupIds": ...,
    }
Definition
class RequestSpotLaunchSpecificationTypeDef(TypedDict):
    SecurityGroupIds: NotRequired[Sequence[str]],
    SecurityGroups: NotRequired[Sequence[str]],
    AddressingType: NotRequired[str],
    BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]],  # (1)
    EbsOptimized: NotRequired[bool],
    IamInstanceProfile: NotRequired[IamInstanceProfileSpecificationTypeDef],  # (2)
    ImageId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (3)
    KernelId: NotRequired[str],
    KeyName: NotRequired[str],
    Monitoring: NotRequired[RunInstancesMonitoringEnabledTypeDef],  # (4)
    NetworkInterfaces: NotRequired[Sequence[InstanceNetworkInterfaceSpecificationTypeDef]],  # (5)
    Placement: NotRequired[SpotPlacementTypeDef],  # (6)
    RamdiskId: NotRequired[str],
    SubnetId: NotRequired[str],
    UserData: NotRequired[str],
  1. See BlockDeviceMappingTypeDef
  2. See IamInstanceProfileSpecificationTypeDef
  3. See InstanceTypeType
  4. See RunInstancesMonitoringEnabledTypeDef
  5. See InstanceNetworkInterfaceSpecificationTypeDef
  6. See SpotPlacementTypeDef

ModifySnapshotAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifySnapshotAttributeRequestRequestTypeDef

def get_value() -> ModifySnapshotAttributeRequestRequestTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class ModifySnapshotAttributeRequestRequestTypeDef(TypedDict):
    SnapshotId: str,
    Attribute: NotRequired[SnapshotAttributeNameType],  # (1)
    CreateVolumePermission: NotRequired[CreateVolumePermissionModificationsTypeDef],  # (2)
    GroupNames: NotRequired[Sequence[str]],
    OperationType: NotRequired[OperationTypeType],  # (3)
    UserIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
  1. See SnapshotAttributeNameType
  2. See CreateVolumePermissionModificationsTypeDef
  3. See OperationTypeType

ModifySnapshotAttributeRequestSnapshotModifyAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifySnapshotAttributeRequestSnapshotModifyAttributeTypeDef

def get_value() -> ModifySnapshotAttributeRequestSnapshotModifyAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class ModifySnapshotAttributeRequestSnapshotModifyAttributeTypeDef(TypedDict):
    Attribute: NotRequired[SnapshotAttributeNameType],  # (1)
    CreateVolumePermission: NotRequired[CreateVolumePermissionModificationsTypeDef],  # (2)
    GroupNames: NotRequired[Sequence[str]],
    OperationType: NotRequired[OperationTypeType],  # (3)
    UserIds: NotRequired[Sequence[str]],
    DryRun: NotRequired[bool],
  1. See SnapshotAttributeNameType
  2. See CreateVolumePermissionModificationsTypeDef
  3. See OperationTypeType

GetAwsNetworkPerformanceDataResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetAwsNetworkPerformanceDataResultTypeDef

def get_value() -> GetAwsNetworkPerformanceDataResultTypeDef:
    return {
        "DataResponses": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetAwsNetworkPerformanceDataResultTypeDef(TypedDict):
    DataResponses: List[DataResponseTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataResponseTypeDef
  2. See ResponseMetadataTypeDef

DeleteFleetsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteFleetsResultTypeDef

def get_value() -> DeleteFleetsResultTypeDef:
    return {
        "SuccessfulFleetDeletions": ...,
        "UnsuccessfulFleetDeletions": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteFleetsResultTypeDef(TypedDict):
    SuccessfulFleetDeletions: List[DeleteFleetSuccessItemTypeDef],  # (1)
    UnsuccessfulFleetDeletions: List[DeleteFleetErrorItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DeleteFleetSuccessItemTypeDef
  2. See DeleteFleetErrorItemTypeDef
  3. See ResponseMetadataTypeDef

DeleteLaunchTemplateVersionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLaunchTemplateVersionsResultTypeDef

def get_value() -> DeleteLaunchTemplateVersionsResultTypeDef:
    return {
        "SuccessfullyDeletedLaunchTemplateVersions": ...,
        "UnsuccessfullyDeletedLaunchTemplateVersions": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteLaunchTemplateVersionsResultTypeDef(TypedDict):
    SuccessfullyDeletedLaunchTemplateVersions: List[DeleteLaunchTemplateVersionsResponseSuccessItemTypeDef],  # (1)
    UnsuccessfullyDeletedLaunchTemplateVersions: List[DeleteLaunchTemplateVersionsResponseErrorItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DeleteLaunchTemplateVersionsResponseSuccessItemTypeDef
  2. See DeleteLaunchTemplateVersionsResponseErrorItemTypeDef
  3. See ResponseMetadataTypeDef

DeleteQueuedReservedInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteQueuedReservedInstancesResultTypeDef

def get_value() -> DeleteQueuedReservedInstancesResultTypeDef:
    return {
        "SuccessfulQueuedPurchaseDeletions": ...,
        "FailedQueuedPurchaseDeletions": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteQueuedReservedInstancesResultTypeDef(TypedDict):
    SuccessfulQueuedPurchaseDeletions: List[SuccessfulQueuedPurchaseDeletionTypeDef],  # (1)
    FailedQueuedPurchaseDeletions: List[FailedQueuedPurchaseDeletionTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SuccessfulQueuedPurchaseDeletionTypeDef
  2. See FailedQueuedPurchaseDeletionTypeDef
  3. See ResponseMetadataTypeDef

DescribePrincipalIdFormatResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePrincipalIdFormatResultTypeDef

def get_value() -> DescribePrincipalIdFormatResultTypeDef:
    return {
        "Principals": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribePrincipalIdFormatResultTypeDef(TypedDict):
    Principals: List[PrincipalIdFormatTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PrincipalIdFormatTypeDef
  2. See ResponseMetadataTypeDef

DescribeFastLaunchImagesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFastLaunchImagesResultTypeDef

def get_value() -> DescribeFastLaunchImagesResultTypeDef:
    return {
        "FastLaunchImages": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFastLaunchImagesResultTypeDef(TypedDict):
    FastLaunchImages: List[DescribeFastLaunchImagesSuccessItemTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DescribeFastLaunchImagesSuccessItemTypeDef
  2. See ResponseMetadataTypeDef

DescribeFlowLogsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFlowLogsResultTypeDef

def get_value() -> DescribeFlowLogsResultTypeDef:
    return {
        "FlowLogs": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFlowLogsResultTypeDef(TypedDict):
    FlowLogs: List[FlowLogTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FlowLogTypeDef
  2. See ResponseMetadataTypeDef

DisableFastSnapshotRestoreErrorItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableFastSnapshotRestoreErrorItemTypeDef

def get_value() -> DisableFastSnapshotRestoreErrorItemTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class DisableFastSnapshotRestoreErrorItemTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    FastSnapshotRestoreStateErrors: NotRequired[List[DisableFastSnapshotRestoreStateErrorItemTypeDef]],  # (1)
  1. See DisableFastSnapshotRestoreStateErrorItemTypeDef

ImportInstanceTaskDetailsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportInstanceTaskDetailsTypeDef

def get_value() -> ImportInstanceTaskDetailsTypeDef:
    return {
        "Description": ...,
    }
Definition
class ImportInstanceTaskDetailsTypeDef(TypedDict):
    Description: NotRequired[str],
    InstanceId: NotRequired[str],
    Platform: NotRequired[PlatformValuesType],  # (1)
    Volumes: NotRequired[List[ImportInstanceVolumeDetailItemTypeDef]],  # (2)
  1. See PlatformValuesType
  2. See ImportInstanceVolumeDetailItemTypeDef

DescribeVpcEndpointConnectionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointConnectionsResultTypeDef

def get_value() -> DescribeVpcEndpointConnectionsResultTypeDef:
    return {
        "VpcEndpointConnections": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcEndpointConnectionsResultTypeDef(TypedDict):
    VpcEndpointConnections: List[VpcEndpointConnectionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcEndpointConnectionTypeDef
  2. See ResponseMetadataTypeDef

ModifyInstanceAttributeRequestInstanceModifyAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceAttributeRequestInstanceModifyAttributeTypeDef

def get_value() -> ModifyInstanceAttributeRequestInstanceModifyAttributeTypeDef:
    return {
        "SourceDestCheck": ...,
    }
Definition
class ModifyInstanceAttributeRequestInstanceModifyAttributeTypeDef(TypedDict):
    SourceDestCheck: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    Attribute: NotRequired[InstanceAttributeNameType],  # (2)
    BlockDeviceMappings: NotRequired[Sequence[InstanceBlockDeviceMappingSpecificationTypeDef]],  # (3)
    DisableApiTermination: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    DryRun: NotRequired[bool],
    EbsOptimized: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    EnaSupport: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    Groups: NotRequired[Sequence[str]],
    InstanceInitiatedShutdownBehavior: NotRequired[AttributeValueTypeDef],  # (7)
    InstanceType: NotRequired[AttributeValueTypeDef],  # (7)
    Kernel: NotRequired[AttributeValueTypeDef],  # (7)
    Ramdisk: NotRequired[AttributeValueTypeDef],  # (7)
    SriovNetSupport: NotRequired[AttributeValueTypeDef],  # (7)
    UserData: NotRequired[BlobAttributeValueTypeDef],  # (12)
    Value: NotRequired[str],
    DisableApiStop: NotRequired[AttributeBooleanValueTypeDef],  # (1)
  1. See AttributeBooleanValueTypeDef
  2. See InstanceAttributeNameType
  3. See InstanceBlockDeviceMappingSpecificationTypeDef
  4. See AttributeBooleanValueTypeDef
  5. See AttributeBooleanValueTypeDef
  6. See AttributeBooleanValueTypeDef
  7. See AttributeValueTypeDef
  8. See AttributeValueTypeDef
  9. See AttributeValueTypeDef
  10. See AttributeValueTypeDef
  11. See AttributeValueTypeDef
  12. See BlobAttributeValueTypeDef
  13. See AttributeBooleanValueTypeDef

ModifyInstanceAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceAttributeRequestRequestTypeDef

def get_value() -> ModifyInstanceAttributeRequestRequestTypeDef:
    return {
        "InstanceId": ...,
    }
Definition
class ModifyInstanceAttributeRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    SourceDestCheck: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    Attribute: NotRequired[InstanceAttributeNameType],  # (2)
    BlockDeviceMappings: NotRequired[Sequence[InstanceBlockDeviceMappingSpecificationTypeDef]],  # (3)
    DisableApiTermination: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    DryRun: NotRequired[bool],
    EbsOptimized: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    EnaSupport: NotRequired[AttributeBooleanValueTypeDef],  # (1)
    Groups: NotRequired[Sequence[str]],
    InstanceInitiatedShutdownBehavior: NotRequired[AttributeValueTypeDef],  # (7)
    InstanceType: NotRequired[AttributeValueTypeDef],  # (7)
    Kernel: NotRequired[AttributeValueTypeDef],  # (7)
    Ramdisk: NotRequired[AttributeValueTypeDef],  # (7)
    SriovNetSupport: NotRequired[AttributeValueTypeDef],  # (7)
    UserData: NotRequired[BlobAttributeValueTypeDef],  # (12)
    Value: NotRequired[str],
    DisableApiStop: NotRequired[AttributeBooleanValueTypeDef],  # (1)
  1. See AttributeBooleanValueTypeDef
  2. See InstanceAttributeNameType
  3. See InstanceBlockDeviceMappingSpecificationTypeDef
  4. See AttributeBooleanValueTypeDef
  5. See AttributeBooleanValueTypeDef
  6. See AttributeBooleanValueTypeDef
  7. See AttributeValueTypeDef
  8. See AttributeValueTypeDef
  9. See AttributeValueTypeDef
  10. See AttributeValueTypeDef
  11. See AttributeValueTypeDef
  12. See BlobAttributeValueTypeDef
  13. See AttributeBooleanValueTypeDef

InstanceAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceAttributeTypeDef

def get_value() -> InstanceAttributeTypeDef:
    return {
        "Groups": ...,
        "BlockDeviceMappings": ...,
        "DisableApiTermination": ...,
        "EnaSupport": ...,
        "EnclaveOptions": ...,
        "EbsOptimized": ...,
        "InstanceId": ...,
        "InstanceInitiatedShutdownBehavior": ...,
        "InstanceType": ...,
        "KernelId": ...,
        "ProductCodes": ...,
        "RamdiskId": ...,
        "RootDeviceName": ...,
        "SourceDestCheck": ...,
        "SriovNetSupport": ...,
        "UserData": ...,
        "DisableApiStop": ...,
        "ResponseMetadata": ...,
    }
Definition
class InstanceAttributeTypeDef(TypedDict):
    Groups: List[GroupIdentifierTypeDef],  # (1)
    BlockDeviceMappings: List[InstanceBlockDeviceMappingTypeDef],  # (2)
    DisableApiTermination: AttributeBooleanValueTypeDef,  # (3)
    EnaSupport: AttributeBooleanValueTypeDef,  # (3)
    EnclaveOptions: EnclaveOptionsTypeDef,  # (5)
    EbsOptimized: AttributeBooleanValueTypeDef,  # (3)
    InstanceId: str,
    InstanceInitiatedShutdownBehavior: AttributeValueTypeDef,  # (7)
    InstanceType: AttributeValueTypeDef,  # (7)
    KernelId: AttributeValueTypeDef,  # (7)
    ProductCodes: List[ProductCodeTypeDef],  # (10)
    RamdiskId: AttributeValueTypeDef,  # (7)
    RootDeviceName: AttributeValueTypeDef,  # (7)
    SourceDestCheck: AttributeBooleanValueTypeDef,  # (3)
    SriovNetSupport: AttributeValueTypeDef,  # (7)
    UserData: AttributeValueTypeDef,  # (7)
    DisableApiStop: AttributeBooleanValueTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (17)
  1. See GroupIdentifierTypeDef
  2. See InstanceBlockDeviceMappingTypeDef
  3. See AttributeBooleanValueTypeDef
  4. See AttributeBooleanValueTypeDef
  5. See EnclaveOptionsTypeDef
  6. See AttributeBooleanValueTypeDef
  7. See AttributeValueTypeDef
  8. See AttributeValueTypeDef
  9. See AttributeValueTypeDef
  10. See ProductCodeTypeDef
  11. See AttributeValueTypeDef
  12. See AttributeValueTypeDef
  13. See AttributeBooleanValueTypeDef
  14. See AttributeValueTypeDef
  15. See AttributeValueTypeDef
  16. See AttributeBooleanValueTypeDef
  17. See ResponseMetadataTypeDef

CreateEgressOnlyInternetGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateEgressOnlyInternetGatewayResultTypeDef

def get_value() -> CreateEgressOnlyInternetGatewayResultTypeDef:
    return {
        "ClientToken": ...,
        "EgressOnlyInternetGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateEgressOnlyInternetGatewayResultTypeDef(TypedDict):
    ClientToken: str,
    EgressOnlyInternetGateway: EgressOnlyInternetGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EgressOnlyInternetGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeEgressOnlyInternetGatewaysResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeEgressOnlyInternetGatewaysResultTypeDef

def get_value() -> DescribeEgressOnlyInternetGatewaysResultTypeDef:
    return {
        "EgressOnlyInternetGateways": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeEgressOnlyInternetGatewaysResultTypeDef(TypedDict):
    EgressOnlyInternetGateways: List[EgressOnlyInternetGatewayTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EgressOnlyInternetGatewayTypeDef
  2. See ResponseMetadataTypeDef

CreateInternetGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateInternetGatewayResultTypeDef

def get_value() -> CreateInternetGatewayResultTypeDef:
    return {
        "InternetGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateInternetGatewayResultTypeDef(TypedDict):
    InternetGateway: InternetGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InternetGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeInternetGatewaysResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInternetGatewaysResultTypeDef

def get_value() -> DescribeInternetGatewaysResultTypeDef:
    return {
        "InternetGateways": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInternetGatewaysResultTypeDef(TypedDict):
    InternetGateways: List[InternetGatewayTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InternetGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeElasticGpusResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeElasticGpusResultTypeDef

def get_value() -> DescribeElasticGpusResultTypeDef:
    return {
        "ElasticGpuSet": ...,
        "MaxResults": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeElasticGpusResultTypeDef(TypedDict):
    ElasticGpuSet: List[ElasticGpusTypeDef],  # (1)
    MaxResults: int,
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ElasticGpusTypeDef
  2. See ResponseMetadataTypeDef

AttachNetworkInterfaceRequestNetworkInterfaceAttachTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachNetworkInterfaceRequestNetworkInterfaceAttachTypeDef

def get_value() -> AttachNetworkInterfaceRequestNetworkInterfaceAttachTypeDef:
    return {
        "DeviceIndex": ...,
        "InstanceId": ...,
    }
Definition
class AttachNetworkInterfaceRequestNetworkInterfaceAttachTypeDef(TypedDict):
    DeviceIndex: int,
    InstanceId: str,
    DryRun: NotRequired[bool],
    NetworkCardIndex: NotRequired[int],
    EnaSrdSpecification: NotRequired[EnaSrdSpecificationTypeDef],  # (1)
  1. See EnaSrdSpecificationTypeDef

AttachNetworkInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachNetworkInterfaceRequestRequestTypeDef

def get_value() -> AttachNetworkInterfaceRequestRequestTypeDef:
    return {
        "DeviceIndex": ...,
        "InstanceId": ...,
        "NetworkInterfaceId": ...,
    }
Definition
class AttachNetworkInterfaceRequestRequestTypeDef(TypedDict):
    DeviceIndex: int,
    InstanceId: str,
    NetworkInterfaceId: str,
    DryRun: NotRequired[bool],
    NetworkCardIndex: NotRequired[int],
    EnaSrdSpecification: NotRequired[EnaSrdSpecificationTypeDef],  # (1)
  1. See EnaSrdSpecificationTypeDef

ModifyNetworkInterfaceAttributeRequestNetworkInterfaceModifyAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyNetworkInterfaceAttributeRequestNetworkInterfaceModifyAttributeTypeDef

def get_value() -> ModifyNetworkInterfaceAttributeRequestNetworkInterfaceModifyAttributeTypeDef:
    return {
        "Attachment": ...,
    }
Definition
class ModifyNetworkInterfaceAttributeRequestNetworkInterfaceModifyAttributeTypeDef(TypedDict):
    Attachment: NotRequired[NetworkInterfaceAttachmentChangesTypeDef],  # (1)
    Description: NotRequired[AttributeValueTypeDef],  # (2)
    DryRun: NotRequired[bool],
    Groups: NotRequired[Sequence[str]],
    SourceDestCheck: NotRequired[AttributeBooleanValueTypeDef],  # (3)
    EnaSrdSpecification: NotRequired[EnaSrdSpecificationTypeDef],  # (4)
  1. See NetworkInterfaceAttachmentChangesTypeDef
  2. See AttributeValueTypeDef
  3. See AttributeBooleanValueTypeDef
  4. See EnaSrdSpecificationTypeDef

ModifyNetworkInterfaceAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyNetworkInterfaceAttributeRequestRequestTypeDef

def get_value() -> ModifyNetworkInterfaceAttributeRequestRequestTypeDef:
    return {
        "NetworkInterfaceId": ...,
    }
Definition
class ModifyNetworkInterfaceAttributeRequestRequestTypeDef(TypedDict):
    NetworkInterfaceId: str,
    Attachment: NotRequired[NetworkInterfaceAttachmentChangesTypeDef],  # (1)
    Description: NotRequired[AttributeValueTypeDef],  # (2)
    DryRun: NotRequired[bool],
    Groups: NotRequired[Sequence[str]],
    SourceDestCheck: NotRequired[AttributeBooleanValueTypeDef],  # (3)
    EnaSrdSpecification: NotRequired[EnaSrdSpecificationTypeDef],  # (4)
  1. See NetworkInterfaceAttachmentChangesTypeDef
  2. See AttributeValueTypeDef
  3. See AttributeBooleanValueTypeDef
  4. See EnaSrdSpecificationTypeDef

EnableFastSnapshotRestoreErrorItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableFastSnapshotRestoreErrorItemTypeDef

def get_value() -> EnableFastSnapshotRestoreErrorItemTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class EnableFastSnapshotRestoreErrorItemTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    FastSnapshotRestoreStateErrors: NotRequired[List[EnableFastSnapshotRestoreStateErrorItemTypeDef]],  # (1)
  1. See EnableFastSnapshotRestoreStateErrorItemTypeDef

DescribeFleetHistoryResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFleetHistoryResultTypeDef

def get_value() -> DescribeFleetHistoryResultTypeDef:
    return {
        "HistoryRecords": ...,
        "LastEvaluatedTime": ...,
        "NextToken": ...,
        "FleetId": ...,
        "StartTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFleetHistoryResultTypeDef(TypedDict):
    HistoryRecords: List[HistoryRecordEntryTypeDef],  # (1)
    LastEvaluatedTime: datetime,
    NextToken: str,
    FleetId: str,
    StartTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HistoryRecordEntryTypeDef
  2. See ResponseMetadataTypeDef

DescribeSpotFleetRequestHistoryResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotFleetRequestHistoryResponseTypeDef

def get_value() -> DescribeSpotFleetRequestHistoryResponseTypeDef:
    return {
        "HistoryRecords": ...,
        "LastEvaluatedTime": ...,
        "NextToken": ...,
        "SpotFleetRequestId": ...,
        "StartTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSpotFleetRequestHistoryResponseTypeDef(TypedDict):
    HistoryRecords: List[HistoryRecordTypeDef],  # (1)
    LastEvaluatedTime: datetime,
    NextToken: str,
    SpotFleetRequestId: str,
    StartTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HistoryRecordTypeDef
  2. See ResponseMetadataTypeDef

DescribeExportImageTasksResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeExportImageTasksResultTypeDef

def get_value() -> DescribeExportImageTasksResultTypeDef:
    return {
        "ExportImageTasks": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeExportImageTasksResultTypeDef(TypedDict):
    ExportImageTasks: List[ExportImageTaskTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExportImageTaskTypeDef
  2. See ResponseMetadataTypeDef

CreateInstanceExportTaskResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateInstanceExportTaskResultTypeDef

def get_value() -> CreateInstanceExportTaskResultTypeDef:
    return {
        "ExportTask": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateInstanceExportTaskResultTypeDef(TypedDict):
    ExportTask: ExportTaskTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExportTaskTypeDef
  2. See ResponseMetadataTypeDef

DescribeExportTasksResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeExportTasksResultTypeDef

def get_value() -> DescribeExportTasksResultTypeDef:
    return {
        "ExportTasks": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeExportTasksResultTypeDef(TypedDict):
    ExportTasks: List[ExportTaskTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExportTaskTypeDef
  2. See ResponseMetadataTypeDef

SpotOptionsRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotOptionsRequestTypeDef

def get_value() -> SpotOptionsRequestTypeDef:
    return {
        "AllocationStrategy": ...,
    }
Definition
class SpotOptionsRequestTypeDef(TypedDict):
    AllocationStrategy: NotRequired[SpotAllocationStrategyType],  # (1)
    MaintenanceStrategies: NotRequired[FleetSpotMaintenanceStrategiesRequestTypeDef],  # (2)
    InstanceInterruptionBehavior: NotRequired[SpotInstanceInterruptionBehaviorType],  # (3)
    InstancePoolsToUseCount: NotRequired[int],
    SingleInstanceType: NotRequired[bool],
    SingleAvailabilityZone: NotRequired[bool],
    MinTargetCapacity: NotRequired[int],
    MaxTotalPrice: NotRequired[str],
  1. See SpotAllocationStrategyType
  2. See FleetSpotMaintenanceStrategiesRequestTypeDef
  3. See SpotInstanceInterruptionBehaviorType

SpotOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotOptionsTypeDef

def get_value() -> SpotOptionsTypeDef:
    return {
        "AllocationStrategy": ...,
    }
Definition
class SpotOptionsTypeDef(TypedDict):
    AllocationStrategy: NotRequired[SpotAllocationStrategyType],  # (1)
    MaintenanceStrategies: NotRequired[FleetSpotMaintenanceStrategiesTypeDef],  # (2)
    InstanceInterruptionBehavior: NotRequired[SpotInstanceInterruptionBehaviorType],  # (3)
    InstancePoolsToUseCount: NotRequired[int],
    SingleInstanceType: NotRequired[bool],
    SingleAvailabilityZone: NotRequired[bool],
    MinTargetCapacity: NotRequired[int],
    MaxTotalPrice: NotRequired[str],
  1. See SpotAllocationStrategyType
  2. See FleetSpotMaintenanceStrategiesTypeDef
  3. See SpotInstanceInterruptionBehaviorType

FpgaInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FpgaInfoTypeDef

def get_value() -> FpgaInfoTypeDef:
    return {
        "Fpgas": ...,
    }
Definition
class FpgaInfoTypeDef(TypedDict):
    Fpgas: NotRequired[List[FpgaDeviceInfoTypeDef]],  # (1)
    TotalFpgaMemoryInMiB: NotRequired[int],
  1. See FpgaDeviceInfoTypeDef

DescribeFpgaImageAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFpgaImageAttributeResultTypeDef

def get_value() -> DescribeFpgaImageAttributeResultTypeDef:
    return {
        "FpgaImageAttribute": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFpgaImageAttributeResultTypeDef(TypedDict):
    FpgaImageAttribute: FpgaImageAttributeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FpgaImageAttributeTypeDef
  2. See ResponseMetadataTypeDef

ModifyFpgaImageAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyFpgaImageAttributeResultTypeDef

def get_value() -> ModifyFpgaImageAttributeResultTypeDef:
    return {
        "FpgaImageAttribute": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyFpgaImageAttributeResultTypeDef(TypedDict):
    FpgaImageAttribute: FpgaImageAttributeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FpgaImageAttributeTypeDef
  2. See ResponseMetadataTypeDef

DescribeFpgaImagesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFpgaImagesResultTypeDef

def get_value() -> DescribeFpgaImagesResultTypeDef:
    return {
        "FpgaImages": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFpgaImagesResultTypeDef(TypedDict):
    FpgaImages: List[FpgaImageTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FpgaImageTypeDef
  2. See ResponseMetadataTypeDef

GpuInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GpuInfoTypeDef

def get_value() -> GpuInfoTypeDef:
    return {
        "Gpus": ...,
    }
Definition
class GpuInfoTypeDef(TypedDict):
    Gpus: NotRequired[List[GpuDeviceInfoTypeDef]],  # (1)
    TotalGpuMemoryInMiB: NotRequired[int],
  1. See GpuDeviceInfoTypeDef

AssociateIamInstanceProfileResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateIamInstanceProfileResultTypeDef

def get_value() -> AssociateIamInstanceProfileResultTypeDef:
    return {
        "IamInstanceProfileAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateIamInstanceProfileResultTypeDef(TypedDict):
    IamInstanceProfileAssociation: IamInstanceProfileAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IamInstanceProfileAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeIamInstanceProfileAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIamInstanceProfileAssociationsResultTypeDef

def get_value() -> DescribeIamInstanceProfileAssociationsResultTypeDef:
    return {
        "IamInstanceProfileAssociations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIamInstanceProfileAssociationsResultTypeDef(TypedDict):
    IamInstanceProfileAssociations: List[IamInstanceProfileAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IamInstanceProfileAssociationTypeDef
  2. See ResponseMetadataTypeDef

DisassociateIamInstanceProfileResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateIamInstanceProfileResultTypeDef

def get_value() -> DisassociateIamInstanceProfileResultTypeDef:
    return {
        "IamInstanceProfileAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateIamInstanceProfileResultTypeDef(TypedDict):
    IamInstanceProfileAssociation: IamInstanceProfileAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IamInstanceProfileAssociationTypeDef
  2. See ResponseMetadataTypeDef

ReplaceIamInstanceProfileAssociationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceIamInstanceProfileAssociationResultTypeDef

def get_value() -> ReplaceIamInstanceProfileAssociationResultTypeDef:
    return {
        "IamInstanceProfileAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class ReplaceIamInstanceProfileAssociationResultTypeDef(TypedDict):
    IamInstanceProfileAssociation: IamInstanceProfileAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IamInstanceProfileAssociationTypeDef
  2. See ResponseMetadataTypeDef

ModifyImageAttributeRequestImageModifyAttributeTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyImageAttributeRequestImageModifyAttributeTypeDef

def get_value() -> ModifyImageAttributeRequestImageModifyAttributeTypeDef:
    return {
        "Attribute": ...,
    }
Definition
class ModifyImageAttributeRequestImageModifyAttributeTypeDef(TypedDict):
    Attribute: NotRequired[str],
    Description: NotRequired[AttributeValueTypeDef],  # (1)
    LaunchPermission: NotRequired[LaunchPermissionModificationsTypeDef],  # (2)
    OperationType: NotRequired[OperationTypeType],  # (3)
    ProductCodes: NotRequired[Sequence[str]],
    UserGroups: NotRequired[Sequence[str]],
    UserIds: NotRequired[Sequence[str]],
    Value: NotRequired[str],
    DryRun: NotRequired[bool],
    OrganizationArns: NotRequired[Sequence[str]],
    OrganizationalUnitArns: NotRequired[Sequence[str]],
    ImdsSupport: NotRequired[AttributeValueTypeDef],  # (1)
  1. See AttributeValueTypeDef
  2. See LaunchPermissionModificationsTypeDef
  3. See OperationTypeType
  4. See AttributeValueTypeDef

ModifyImageAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyImageAttributeRequestRequestTypeDef

def get_value() -> ModifyImageAttributeRequestRequestTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class ModifyImageAttributeRequestRequestTypeDef(TypedDict):
    ImageId: str,
    Attribute: NotRequired[str],
    Description: NotRequired[AttributeValueTypeDef],  # (1)
    LaunchPermission: NotRequired[LaunchPermissionModificationsTypeDef],  # (2)
    OperationType: NotRequired[OperationTypeType],  # (3)
    ProductCodes: NotRequired[Sequence[str]],
    UserGroups: NotRequired[Sequence[str]],
    UserIds: NotRequired[Sequence[str]],
    Value: NotRequired[str],
    DryRun: NotRequired[bool],
    OrganizationArns: NotRequired[Sequence[str]],
    OrganizationalUnitArns: NotRequired[Sequence[str]],
    ImdsSupport: NotRequired[AttributeValueTypeDef],  # (1)
  1. See AttributeValueTypeDef
  2. See LaunchPermissionModificationsTypeDef
  3. See OperationTypeType
  4. See AttributeValueTypeDef

ImportImageRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportImageRequestRequestTypeDef

def get_value() -> ImportImageRequestRequestTypeDef:
    return {
        "Architecture": ...,
    }
Definition
class ImportImageRequestRequestTypeDef(TypedDict):
    Architecture: NotRequired[str],
    ClientData: NotRequired[ClientDataTypeDef],  # (1)
    ClientToken: NotRequired[str],
    Description: NotRequired[str],
    DiskContainers: NotRequired[Sequence[ImageDiskContainerTypeDef]],  # (2)
    DryRun: NotRequired[bool],
    Encrypted: NotRequired[bool],
    Hypervisor: NotRequired[str],
    KmsKeyId: NotRequired[str],
    LicenseType: NotRequired[str],
    Platform: NotRequired[str],
    RoleName: NotRequired[str],
    LicenseSpecifications: NotRequired[Sequence[ImportImageLicenseConfigurationRequestTypeDef]],  # (3)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (4)
    UsageOperation: NotRequired[str],
    BootMode: NotRequired[BootModeValuesType],  # (5)
  1. See ClientDataTypeDef
  2. See ImageDiskContainerTypeDef
  3. See ImportImageLicenseConfigurationRequestTypeDef
  4. See TagSpecificationTypeDef
  5. See BootModeValuesType

ImportSnapshotRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportSnapshotRequestRequestTypeDef

def get_value() -> ImportSnapshotRequestRequestTypeDef:
    return {
        "ClientData": ...,
    }
Definition
class ImportSnapshotRequestRequestTypeDef(TypedDict):
    ClientData: NotRequired[ClientDataTypeDef],  # (1)
    ClientToken: NotRequired[str],
    Description: NotRequired[str],
    DiskContainer: NotRequired[SnapshotDiskContainerTypeDef],  # (2)
    DryRun: NotRequired[bool],
    Encrypted: NotRequired[bool],
    KmsKeyId: NotRequired[str],
    RoleName: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (3)
  1. See ClientDataTypeDef
  2. See SnapshotDiskContainerTypeDef
  3. See TagSpecificationTypeDef

CreateLocalGatewayRouteTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLocalGatewayRouteTableResultTypeDef

def get_value() -> CreateLocalGatewayRouteTableResultTypeDef:
    return {
        "LocalGatewayRouteTable": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLocalGatewayRouteTableResultTypeDef(TypedDict):
    LocalGatewayRouteTable: LocalGatewayRouteTableTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTableTypeDef
  2. See ResponseMetadataTypeDef

DeleteLocalGatewayRouteTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteLocalGatewayRouteTableResultTypeDef

def get_value() -> DeleteLocalGatewayRouteTableResultTypeDef:
    return {
        "LocalGatewayRouteTable": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteLocalGatewayRouteTableResultTypeDef(TypedDict):
    LocalGatewayRouteTable: LocalGatewayRouteTableTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTableTypeDef
  2. See ResponseMetadataTypeDef

DescribeLocalGatewayRouteTablesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLocalGatewayRouteTablesResultTypeDef

def get_value() -> DescribeLocalGatewayRouteTablesResultTypeDef:
    return {
        "LocalGatewayRouteTables": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLocalGatewayRouteTablesResultTypeDef(TypedDict):
    LocalGatewayRouteTables: List[LocalGatewayRouteTableTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocalGatewayRouteTableTypeDef
  2. See ResponseMetadataTypeDef

ImportInstanceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportInstanceRequestRequestTypeDef

def get_value() -> ImportInstanceRequestRequestTypeDef:
    return {
        "Platform": ...,
    }
Definition
class ImportInstanceRequestRequestTypeDef(TypedDict):
    Platform: PlatformValuesType,  # (1)
    Description: NotRequired[str],
    DiskImages: NotRequired[Sequence[DiskImageTypeDef]],  # (2)
    DryRun: NotRequired[bool],
    LaunchSpecification: NotRequired[ImportInstanceLaunchSpecificationTypeDef],  # (3)
  1. See PlatformValuesType
  2. See DiskImageTypeDef
  3. See ImportInstanceLaunchSpecificationTypeDef

RunInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RunInstancesRequestRequestTypeDef

def get_value() -> RunInstancesRequestRequestTypeDef:
    return {
        "MaxCount": ...,
        "MinCount": ...,
    }
Definition
class RunInstancesRequestRequestTypeDef(TypedDict):
    MaxCount: int,
    MinCount: int,
    BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]],  # (1)
    ImageId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (2)
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[Sequence[InstanceIpv6AddressTypeDef]],  # (3)
    KernelId: NotRequired[str],
    KeyName: NotRequired[str],
    Monitoring: NotRequired[RunInstancesMonitoringEnabledTypeDef],  # (4)
    Placement: NotRequired[PlacementTypeDef],  # (5)
    RamdiskId: NotRequired[str],
    SecurityGroupIds: NotRequired[Sequence[str]],
    SecurityGroups: NotRequired[Sequence[str]],
    SubnetId: NotRequired[str],
    UserData: NotRequired[str],
    AdditionalInfo: NotRequired[str],
    ClientToken: NotRequired[str],
    DisableApiTermination: NotRequired[bool],
    DryRun: NotRequired[bool],
    EbsOptimized: NotRequired[bool],
    IamInstanceProfile: NotRequired[IamInstanceProfileSpecificationTypeDef],  # (6)
    InstanceInitiatedShutdownBehavior: NotRequired[ShutdownBehaviorType],  # (7)
    NetworkInterfaces: NotRequired[Sequence[InstanceNetworkInterfaceSpecificationTypeDef]],  # (8)
    PrivateIpAddress: NotRequired[str],
    ElasticGpuSpecification: NotRequired[Sequence[ElasticGpuSpecificationTypeDef]],  # (9)
    ElasticInferenceAccelerators: NotRequired[Sequence[ElasticInferenceAcceleratorTypeDef]],  # (10)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (11)
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (12)
    InstanceMarketOptions: NotRequired[InstanceMarketOptionsRequestTypeDef],  # (13)
    CreditSpecification: NotRequired[CreditSpecificationRequestTypeDef],  # (14)
    CpuOptions: NotRequired[CpuOptionsRequestTypeDef],  # (15)
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationTypeDef],  # (16)
    HibernationOptions: NotRequired[HibernationOptionsRequestTypeDef],  # (17)
    LicenseSpecifications: NotRequired[Sequence[LicenseConfigurationRequestTypeDef]],  # (18)
    MetadataOptions: NotRequired[InstanceMetadataOptionsRequestTypeDef],  # (19)
    EnclaveOptions: NotRequired[EnclaveOptionsRequestTypeDef],  # (20)
    PrivateDnsNameOptions: NotRequired[PrivateDnsNameOptionsRequestTypeDef],  # (21)
    MaintenanceOptions: NotRequired[InstanceMaintenanceOptionsRequestTypeDef],  # (22)
    DisableApiStop: NotRequired[bool],
  1. See BlockDeviceMappingTypeDef
  2. See InstanceTypeType
  3. See InstanceIpv6AddressTypeDef
  4. See RunInstancesMonitoringEnabledTypeDef
  5. See PlacementTypeDef
  6. See IamInstanceProfileSpecificationTypeDef
  7. See ShutdownBehaviorType
  8. See InstanceNetworkInterfaceSpecificationTypeDef
  9. See ElasticGpuSpecificationTypeDef
  10. See ElasticInferenceAcceleratorTypeDef
  11. See TagSpecificationTypeDef
  12. See LaunchTemplateSpecificationTypeDef
  13. See InstanceMarketOptionsRequestTypeDef
  14. See CreditSpecificationRequestTypeDef
  15. See CpuOptionsRequestTypeDef
  16. See CapacityReservationSpecificationTypeDef
  17. See HibernationOptionsRequestTypeDef
  18. See LicenseConfigurationRequestTypeDef
  19. See InstanceMetadataOptionsRequestTypeDef
  20. See EnclaveOptionsRequestTypeDef
  21. See PrivateDnsNameOptionsRequestTypeDef
  22. See InstanceMaintenanceOptionsRequestTypeDef

RunInstancesRequestServiceResourceCreateInstancesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RunInstancesRequestServiceResourceCreateInstancesTypeDef

def get_value() -> RunInstancesRequestServiceResourceCreateInstancesTypeDef:
    return {
        "MaxCount": ...,
        "MinCount": ...,
    }
Definition
class RunInstancesRequestServiceResourceCreateInstancesTypeDef(TypedDict):
    MaxCount: int,
    MinCount: int,
    BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]],  # (1)
    ImageId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (2)
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[Sequence[InstanceIpv6AddressTypeDef]],  # (3)
    KernelId: NotRequired[str],
    KeyName: NotRequired[str],
    Monitoring: NotRequired[RunInstancesMonitoringEnabledTypeDef],  # (4)
    Placement: NotRequired[PlacementTypeDef],  # (5)
    RamdiskId: NotRequired[str],
    SecurityGroupIds: NotRequired[Sequence[str]],
    SecurityGroups: NotRequired[Sequence[str]],
    SubnetId: NotRequired[str],
    UserData: NotRequired[str],
    AdditionalInfo: NotRequired[str],
    ClientToken: NotRequired[str],
    DisableApiTermination: NotRequired[bool],
    DryRun: NotRequired[bool],
    EbsOptimized: NotRequired[bool],
    IamInstanceProfile: NotRequired[IamInstanceProfileSpecificationTypeDef],  # (6)
    InstanceInitiatedShutdownBehavior: NotRequired[ShutdownBehaviorType],  # (7)
    NetworkInterfaces: NotRequired[Sequence[InstanceNetworkInterfaceSpecificationTypeDef]],  # (8)
    PrivateIpAddress: NotRequired[str],
    ElasticGpuSpecification: NotRequired[Sequence[ElasticGpuSpecificationTypeDef]],  # (9)
    ElasticInferenceAccelerators: NotRequired[Sequence[ElasticInferenceAcceleratorTypeDef]],  # (10)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (11)
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (12)
    InstanceMarketOptions: NotRequired[InstanceMarketOptionsRequestTypeDef],  # (13)
    CreditSpecification: NotRequired[CreditSpecificationRequestTypeDef],  # (14)
    CpuOptions: NotRequired[CpuOptionsRequestTypeDef],  # (15)
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationTypeDef],  # (16)
    HibernationOptions: NotRequired[HibernationOptionsRequestTypeDef],  # (17)
    LicenseSpecifications: NotRequired[Sequence[LicenseConfigurationRequestTypeDef]],  # (18)
    MetadataOptions: NotRequired[InstanceMetadataOptionsRequestTypeDef],  # (19)
    EnclaveOptions: NotRequired[EnclaveOptionsRequestTypeDef],  # (20)
    PrivateDnsNameOptions: NotRequired[PrivateDnsNameOptionsRequestTypeDef],  # (21)
    MaintenanceOptions: NotRequired[InstanceMaintenanceOptionsRequestTypeDef],  # (22)
    DisableApiStop: NotRequired[bool],
  1. See BlockDeviceMappingTypeDef
  2. See InstanceTypeType
  3. See InstanceIpv6AddressTypeDef
  4. See RunInstancesMonitoringEnabledTypeDef
  5. See PlacementTypeDef
  6. See IamInstanceProfileSpecificationTypeDef
  7. See ShutdownBehaviorType
  8. See InstanceNetworkInterfaceSpecificationTypeDef
  9. See ElasticGpuSpecificationTypeDef
  10. See ElasticInferenceAcceleratorTypeDef
  11. See TagSpecificationTypeDef
  12. See LaunchTemplateSpecificationTypeDef
  13. See InstanceMarketOptionsRequestTypeDef
  14. See CreditSpecificationRequestTypeDef
  15. See CpuOptionsRequestTypeDef
  16. See CapacityReservationSpecificationTypeDef
  17. See HibernationOptionsRequestTypeDef
  18. See LicenseConfigurationRequestTypeDef
  19. See InstanceMetadataOptionsRequestTypeDef
  20. See EnclaveOptionsRequestTypeDef
  21. See PrivateDnsNameOptionsRequestTypeDef
  22. See InstanceMaintenanceOptionsRequestTypeDef

RunInstancesRequestSubnetCreateInstancesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RunInstancesRequestSubnetCreateInstancesTypeDef

def get_value() -> RunInstancesRequestSubnetCreateInstancesTypeDef:
    return {
        "MaxCount": ...,
        "MinCount": ...,
    }
Definition
class RunInstancesRequestSubnetCreateInstancesTypeDef(TypedDict):
    MaxCount: int,
    MinCount: int,
    BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]],  # (1)
    ImageId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (2)
    Ipv6AddressCount: NotRequired[int],
    Ipv6Addresses: NotRequired[Sequence[InstanceIpv6AddressTypeDef]],  # (3)
    KernelId: NotRequired[str],
    KeyName: NotRequired[str],
    Monitoring: NotRequired[RunInstancesMonitoringEnabledTypeDef],  # (4)
    Placement: NotRequired[PlacementTypeDef],  # (5)
    RamdiskId: NotRequired[str],
    SecurityGroupIds: NotRequired[Sequence[str]],
    SecurityGroups: NotRequired[Sequence[str]],
    UserData: NotRequired[str],
    AdditionalInfo: NotRequired[str],
    ClientToken: NotRequired[str],
    DisableApiTermination: NotRequired[bool],
    DryRun: NotRequired[bool],
    EbsOptimized: NotRequired[bool],
    IamInstanceProfile: NotRequired[IamInstanceProfileSpecificationTypeDef],  # (6)
    InstanceInitiatedShutdownBehavior: NotRequired[ShutdownBehaviorType],  # (7)
    NetworkInterfaces: NotRequired[Sequence[InstanceNetworkInterfaceSpecificationTypeDef]],  # (8)
    PrivateIpAddress: NotRequired[str],
    ElasticGpuSpecification: NotRequired[Sequence[ElasticGpuSpecificationTypeDef]],  # (9)
    ElasticInferenceAccelerators: NotRequired[Sequence[ElasticInferenceAcceleratorTypeDef]],  # (10)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (11)
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (12)
    InstanceMarketOptions: NotRequired[InstanceMarketOptionsRequestTypeDef],  # (13)
    CreditSpecification: NotRequired[CreditSpecificationRequestTypeDef],  # (14)
    CpuOptions: NotRequired[CpuOptionsRequestTypeDef],  # (15)
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationTypeDef],  # (16)
    HibernationOptions: NotRequired[HibernationOptionsRequestTypeDef],  # (17)
    LicenseSpecifications: NotRequired[Sequence[LicenseConfigurationRequestTypeDef]],  # (18)
    MetadataOptions: NotRequired[InstanceMetadataOptionsRequestTypeDef],  # (19)
    EnclaveOptions: NotRequired[EnclaveOptionsRequestTypeDef],  # (20)
    PrivateDnsNameOptions: NotRequired[PrivateDnsNameOptionsRequestTypeDef],  # (21)
    MaintenanceOptions: NotRequired[InstanceMaintenanceOptionsRequestTypeDef],  # (22)
    DisableApiStop: NotRequired[bool],
  1. See BlockDeviceMappingTypeDef
  2. See InstanceTypeType
  3. See InstanceIpv6AddressTypeDef
  4. See RunInstancesMonitoringEnabledTypeDef
  5. See PlacementTypeDef
  6. See IamInstanceProfileSpecificationTypeDef
  7. See ShutdownBehaviorType
  8. See InstanceNetworkInterfaceSpecificationTypeDef
  9. See ElasticGpuSpecificationTypeDef
  10. See ElasticInferenceAcceleratorTypeDef
  11. See TagSpecificationTypeDef
  12. See LaunchTemplateSpecificationTypeDef
  13. See InstanceMarketOptionsRequestTypeDef
  14. See CreditSpecificationRequestTypeDef
  15. See CpuOptionsRequestTypeDef
  16. See CapacityReservationSpecificationTypeDef
  17. See HibernationOptionsRequestTypeDef
  18. See LicenseConfigurationRequestTypeDef
  19. See InstanceMetadataOptionsRequestTypeDef
  20. See EnclaveOptionsRequestTypeDef
  21. See PrivateDnsNameOptionsRequestTypeDef
  22. See InstanceMaintenanceOptionsRequestTypeDef

MonitorInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import MonitorInstancesResultTypeDef

def get_value() -> MonitorInstancesResultTypeDef:
    return {
        "InstanceMonitorings": ...,
        "ResponseMetadata": ...,
    }
Definition
class MonitorInstancesResultTypeDef(TypedDict):
    InstanceMonitorings: List[InstanceMonitoringTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceMonitoringTypeDef
  2. See ResponseMetadataTypeDef

UnmonitorInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UnmonitorInstancesResultTypeDef

def get_value() -> UnmonitorInstancesResultTypeDef:
    return {
        "InstanceMonitorings": ...,
        "ResponseMetadata": ...,
    }
Definition
class UnmonitorInstancesResultTypeDef(TypedDict):
    InstanceMonitorings: List[InstanceMonitoringTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceMonitoringTypeDef
  2. See ResponseMetadataTypeDef

InstanceNetworkInterfaceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceNetworkInterfaceTypeDef

def get_value() -> InstanceNetworkInterfaceTypeDef:
    return {
        "Association": ...,
    }
Definition
class InstanceNetworkInterfaceTypeDef(TypedDict):
    Association: NotRequired[InstanceNetworkInterfaceAssociationTypeDef],  # (1)
    Attachment: NotRequired[InstanceNetworkInterfaceAttachmentTypeDef],  # (2)
    Description: NotRequired[str],
    Groups: NotRequired[List[GroupIdentifierTypeDef]],  # (3)
    Ipv6Addresses: NotRequired[List[InstanceIpv6AddressTypeDef]],  # (4)
    MacAddress: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    OwnerId: NotRequired[str],
    PrivateDnsName: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddresses: NotRequired[List[InstancePrivateIpAddressTypeDef]],  # (5)
    SourceDestCheck: NotRequired[bool],
    Status: NotRequired[NetworkInterfaceStatusType],  # (6)
    SubnetId: NotRequired[str],
    VpcId: NotRequired[str],
    InterfaceType: NotRequired[str],
    Ipv4Prefixes: NotRequired[List[InstanceIpv4PrefixTypeDef]],  # (7)
    Ipv6Prefixes: NotRequired[List[InstanceIpv6PrefixTypeDef]],  # (8)
  1. See InstanceNetworkInterfaceAssociationTypeDef
  2. See InstanceNetworkInterfaceAttachmentTypeDef
  3. See GroupIdentifierTypeDef
  4. See InstanceIpv6AddressTypeDef
  5. See InstancePrivateIpAddressTypeDef
  6. See NetworkInterfaceStatusType
  7. See InstanceIpv4PrefixTypeDef
  8. See InstanceIpv6PrefixTypeDef

FleetLaunchTemplateOverridesRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetLaunchTemplateOverridesRequestTypeDef

def get_value() -> FleetLaunchTemplateOverridesRequestTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class FleetLaunchTemplateOverridesRequestTypeDef(TypedDict):
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    MaxPrice: NotRequired[str],
    SubnetId: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    WeightedCapacity: NotRequired[float],
    Priority: NotRequired[float],
    Placement: NotRequired[PlacementTypeDef],  # (2)
    InstanceRequirements: NotRequired[InstanceRequirementsRequestTypeDef],  # (3)
    ImageId: NotRequired[str],
  1. See InstanceTypeType
  2. See PlacementTypeDef
  3. See InstanceRequirementsRequestTypeDef

GetInstanceTypesFromInstanceRequirementsRequestGetInstanceTypesFromInstanceRequirementsPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetInstanceTypesFromInstanceRequirementsRequestGetInstanceTypesFromInstanceRequirementsPaginateTypeDef

def get_value() -> GetInstanceTypesFromInstanceRequirementsRequestGetInstanceTypesFromInstanceRequirementsPaginateTypeDef:
    return {
        "ArchitectureTypes": ...,
        "VirtualizationTypes": ...,
        "InstanceRequirements": ...,
    }
Definition
class GetInstanceTypesFromInstanceRequirementsRequestGetInstanceTypesFromInstanceRequirementsPaginateTypeDef(TypedDict):
    ArchitectureTypes: Sequence[ArchitectureTypeType],  # (1)
    VirtualizationTypes: Sequence[VirtualizationTypeType],  # (2)
    InstanceRequirements: InstanceRequirementsRequestTypeDef,  # (3)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See ArchitectureTypeType
  2. See VirtualizationTypeType
  3. See InstanceRequirementsRequestTypeDef
  4. See PaginatorConfigTypeDef

GetInstanceTypesFromInstanceRequirementsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetInstanceTypesFromInstanceRequirementsRequestRequestTypeDef

def get_value() -> GetInstanceTypesFromInstanceRequirementsRequestRequestTypeDef:
    return {
        "ArchitectureTypes": ...,
        "VirtualizationTypes": ...,
        "InstanceRequirements": ...,
    }
Definition
class GetInstanceTypesFromInstanceRequirementsRequestRequestTypeDef(TypedDict):
    ArchitectureTypes: Sequence[ArchitectureTypeType],  # (1)
    VirtualizationTypes: Sequence[VirtualizationTypeType],  # (2)
    InstanceRequirements: InstanceRequirementsRequestTypeDef,  # (3)
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ArchitectureTypeType
  2. See VirtualizationTypeType
  3. See InstanceRequirementsRequestTypeDef

InstanceRequirementsWithMetadataRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceRequirementsWithMetadataRequestTypeDef

def get_value() -> InstanceRequirementsWithMetadataRequestTypeDef:
    return {
        "ArchitectureTypes": ...,
    }
Definition
class InstanceRequirementsWithMetadataRequestTypeDef(TypedDict):
    ArchitectureTypes: NotRequired[Sequence[ArchitectureTypeType]],  # (1)
    VirtualizationTypes: NotRequired[Sequence[VirtualizationTypeType]],  # (2)
    InstanceRequirements: NotRequired[InstanceRequirementsRequestTypeDef],  # (3)
  1. See ArchitectureTypeType
  2. See VirtualizationTypeType
  3. See InstanceRequirementsRequestTypeDef

FleetLaunchTemplateOverridesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetLaunchTemplateOverridesTypeDef

def get_value() -> FleetLaunchTemplateOverridesTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class FleetLaunchTemplateOverridesTypeDef(TypedDict):
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    MaxPrice: NotRequired[str],
    SubnetId: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    WeightedCapacity: NotRequired[float],
    Priority: NotRequired[float],
    Placement: NotRequired[PlacementResponseTypeDef],  # (2)
    InstanceRequirements: NotRequired[InstanceRequirementsTypeDef],  # (3)
    ImageId: NotRequired[str],
  1. See InstanceTypeType
  2. See PlacementResponseTypeDef
  3. See InstanceRequirementsTypeDef

LaunchTemplateOverridesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateOverridesTypeDef

def get_value() -> LaunchTemplateOverridesTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class LaunchTemplateOverridesTypeDef(TypedDict):
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    SpotPrice: NotRequired[str],
    SubnetId: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    WeightedCapacity: NotRequired[float],
    Priority: NotRequired[float],
    InstanceRequirements: NotRequired[InstanceRequirementsTypeDef],  # (2)
  1. See InstanceTypeType
  2. See InstanceRequirementsTypeDef

SpotFleetLaunchSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotFleetLaunchSpecificationTypeDef

def get_value() -> SpotFleetLaunchSpecificationTypeDef:
    return {
        "SecurityGroups": ...,
    }
Definition
class SpotFleetLaunchSpecificationTypeDef(TypedDict):
    SecurityGroups: NotRequired[List[GroupIdentifierTypeDef]],  # (1)
    AddressingType: NotRequired[str],
    BlockDeviceMappings: NotRequired[List[BlockDeviceMappingTypeDef]],  # (2)
    EbsOptimized: NotRequired[bool],
    IamInstanceProfile: NotRequired[IamInstanceProfileSpecificationTypeDef],  # (3)
    ImageId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (4)
    KernelId: NotRequired[str],
    KeyName: NotRequired[str],
    Monitoring: NotRequired[SpotFleetMonitoringTypeDef],  # (5)
    NetworkInterfaces: NotRequired[List[InstanceNetworkInterfaceSpecificationTypeDef]],  # (6)
    Placement: NotRequired[SpotPlacementTypeDef],  # (7)
    RamdiskId: NotRequired[str],
    SpotPrice: NotRequired[str],
    SubnetId: NotRequired[str],
    UserData: NotRequired[str],
    WeightedCapacity: NotRequired[float],
    TagSpecifications: NotRequired[List[SpotFleetTagSpecificationTypeDef]],  # (8)
    InstanceRequirements: NotRequired[InstanceRequirementsTypeDef],  # (9)
  1. See GroupIdentifierTypeDef
  2. See BlockDeviceMappingTypeDef
  3. See IamInstanceProfileSpecificationTypeDef
  4. See InstanceTypeType
  5. See SpotFleetMonitoringTypeDef
  6. See InstanceNetworkInterfaceSpecificationTypeDef
  7. See SpotPlacementTypeDef
  8. See SpotFleetTagSpecificationTypeDef
  9. See InstanceRequirementsTypeDef

StartInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StartInstancesResultTypeDef

def get_value() -> StartInstancesResultTypeDef:
    return {
        "StartingInstances": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartInstancesResultTypeDef(TypedDict):
    StartingInstances: List[InstanceStateChangeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceStateChangeTypeDef
  2. See ResponseMetadataTypeDef

StopInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StopInstancesResultTypeDef

def get_value() -> StopInstancesResultTypeDef:
    return {
        "StoppingInstances": ...,
        "ResponseMetadata": ...,
    }
Definition
class StopInstancesResultTypeDef(TypedDict):
    StoppingInstances: List[InstanceStateChangeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceStateChangeTypeDef
  2. See ResponseMetadataTypeDef

TerminateInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TerminateInstancesResultTypeDef

def get_value() -> TerminateInstancesResultTypeDef:
    return {
        "TerminatingInstances": ...,
        "ResponseMetadata": ...,
    }
Definition
class TerminateInstancesResultTypeDef(TypedDict):
    TerminatingInstances: List[InstanceStateChangeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceStateChangeTypeDef
  2. See ResponseMetadataTypeDef

InstanceStatusTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceStatusTypeDef

def get_value() -> InstanceStatusTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class InstanceStatusTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    OutpostArn: NotRequired[str],
    Events: NotRequired[List[InstanceStatusEventTypeDef]],  # (1)
    InstanceId: NotRequired[str],
    InstanceState: NotRequired[InstanceStateTypeDef],  # (2)
    InstanceStatus: NotRequired[InstanceStatusSummaryTypeDef],  # (3)
    SystemStatus: NotRequired[InstanceStatusSummaryTypeDef],  # (3)
  1. See InstanceStatusEventTypeDef
  2. See InstanceStateTypeDef
  3. See InstanceStatusSummaryTypeDef
  4. See InstanceStatusSummaryTypeDef

AuthorizeSecurityGroupEgressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AuthorizeSecurityGroupEgressRequestRequestTypeDef

def get_value() -> AuthorizeSecurityGroupEgressRequestRequestTypeDef:
    return {
        "GroupId": ...,
    }
Definition
class AuthorizeSecurityGroupEgressRequestRequestTypeDef(TypedDict):
    GroupId: str,
    DryRun: NotRequired[bool],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    CidrIp: NotRequired[str],
    FromPort: NotRequired[int],
    IpProtocol: NotRequired[str],
    ToPort: NotRequired[int],
    SourceSecurityGroupName: NotRequired[str],
    SourceSecurityGroupOwnerId: NotRequired[str],
  1. See IpPermissionTypeDef
  2. See TagSpecificationTypeDef

AuthorizeSecurityGroupEgressRequestSecurityGroupAuthorizeEgressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AuthorizeSecurityGroupEgressRequestSecurityGroupAuthorizeEgressTypeDef

def get_value() -> AuthorizeSecurityGroupEgressRequestSecurityGroupAuthorizeEgressTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class AuthorizeSecurityGroupEgressRequestSecurityGroupAuthorizeEgressTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
    CidrIp: NotRequired[str],
    FromPort: NotRequired[int],
    IpProtocol: NotRequired[str],
    ToPort: NotRequired[int],
    SourceSecurityGroupName: NotRequired[str],
    SourceSecurityGroupOwnerId: NotRequired[str],
  1. See IpPermissionTypeDef
  2. See TagSpecificationTypeDef

AuthorizeSecurityGroupIngressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AuthorizeSecurityGroupIngressRequestRequestTypeDef

def get_value() -> AuthorizeSecurityGroupIngressRequestRequestTypeDef:
    return {
        "CidrIp": ...,
    }
Definition
class AuthorizeSecurityGroupIngressRequestRequestTypeDef(TypedDict):
    CidrIp: NotRequired[str],
    FromPort: NotRequired[int],
    GroupId: NotRequired[str],
    GroupName: NotRequired[str],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    IpProtocol: NotRequired[str],
    SourceSecurityGroupName: NotRequired[str],
    SourceSecurityGroupOwnerId: NotRequired[str],
    ToPort: NotRequired[int],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See IpPermissionTypeDef
  2. See TagSpecificationTypeDef

AuthorizeSecurityGroupIngressRequestSecurityGroupAuthorizeIngressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AuthorizeSecurityGroupIngressRequestSecurityGroupAuthorizeIngressTypeDef

def get_value() -> AuthorizeSecurityGroupIngressRequestSecurityGroupAuthorizeIngressTypeDef:
    return {
        "CidrIp": ...,
    }
Definition
class AuthorizeSecurityGroupIngressRequestSecurityGroupAuthorizeIngressTypeDef(TypedDict):
    CidrIp: NotRequired[str],
    FromPort: NotRequired[int],
    GroupName: NotRequired[str],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    IpProtocol: NotRequired[str],
    SourceSecurityGroupName: NotRequired[str],
    SourceSecurityGroupOwnerId: NotRequired[str],
    ToPort: NotRequired[int],
    DryRun: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See IpPermissionTypeDef
  2. See TagSpecificationTypeDef

RevokeSecurityGroupEgressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RevokeSecurityGroupEgressRequestRequestTypeDef

def get_value() -> RevokeSecurityGroupEgressRequestRequestTypeDef:
    return {
        "GroupId": ...,
    }
Definition
class RevokeSecurityGroupEgressRequestRequestTypeDef(TypedDict):
    GroupId: str,
    DryRun: NotRequired[bool],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    SecurityGroupRuleIds: NotRequired[Sequence[str]],
    CidrIp: NotRequired[str],
    FromPort: NotRequired[int],
    IpProtocol: NotRequired[str],
    ToPort: NotRequired[int],
    SourceSecurityGroupName: NotRequired[str],
    SourceSecurityGroupOwnerId: NotRequired[str],
  1. See IpPermissionTypeDef

RevokeSecurityGroupEgressRequestSecurityGroupRevokeEgressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RevokeSecurityGroupEgressRequestSecurityGroupRevokeEgressTypeDef

def get_value() -> RevokeSecurityGroupEgressRequestSecurityGroupRevokeEgressTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class RevokeSecurityGroupEgressRequestSecurityGroupRevokeEgressTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    SecurityGroupRuleIds: NotRequired[Sequence[str]],
    CidrIp: NotRequired[str],
    FromPort: NotRequired[int],
    IpProtocol: NotRequired[str],
    ToPort: NotRequired[int],
    SourceSecurityGroupName: NotRequired[str],
    SourceSecurityGroupOwnerId: NotRequired[str],
  1. See IpPermissionTypeDef

RevokeSecurityGroupEgressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RevokeSecurityGroupEgressResultTypeDef

def get_value() -> RevokeSecurityGroupEgressResultTypeDef:
    return {
        "Return": ...,
        "UnknownIpPermissions": ...,
        "ResponseMetadata": ...,
    }
Definition
class RevokeSecurityGroupEgressResultTypeDef(TypedDict):
    Return: bool,
    UnknownIpPermissions: List[IpPermissionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpPermissionTypeDef
  2. See ResponseMetadataTypeDef

RevokeSecurityGroupIngressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RevokeSecurityGroupIngressRequestRequestTypeDef

def get_value() -> RevokeSecurityGroupIngressRequestRequestTypeDef:
    return {
        "CidrIp": ...,
    }
Definition
class RevokeSecurityGroupIngressRequestRequestTypeDef(TypedDict):
    CidrIp: NotRequired[str],
    FromPort: NotRequired[int],
    GroupId: NotRequired[str],
    GroupName: NotRequired[str],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    IpProtocol: NotRequired[str],
    SourceSecurityGroupName: NotRequired[str],
    SourceSecurityGroupOwnerId: NotRequired[str],
    ToPort: NotRequired[int],
    DryRun: NotRequired[bool],
    SecurityGroupRuleIds: NotRequired[Sequence[str]],
  1. See IpPermissionTypeDef

RevokeSecurityGroupIngressRequestSecurityGroupRevokeIngressTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RevokeSecurityGroupIngressRequestSecurityGroupRevokeIngressTypeDef

def get_value() -> RevokeSecurityGroupIngressRequestSecurityGroupRevokeIngressTypeDef:
    return {
        "CidrIp": ...,
    }
Definition
class RevokeSecurityGroupIngressRequestSecurityGroupRevokeIngressTypeDef(TypedDict):
    CidrIp: NotRequired[str],
    FromPort: NotRequired[int],
    GroupName: NotRequired[str],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    IpProtocol: NotRequired[str],
    SourceSecurityGroupName: NotRequired[str],
    SourceSecurityGroupOwnerId: NotRequired[str],
    ToPort: NotRequired[int],
    DryRun: NotRequired[bool],
    SecurityGroupRuleIds: NotRequired[Sequence[str]],
  1. See IpPermissionTypeDef

RevokeSecurityGroupIngressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RevokeSecurityGroupIngressResultTypeDef

def get_value() -> RevokeSecurityGroupIngressResultTypeDef:
    return {
        "Return": ...,
        "UnknownIpPermissions": ...,
        "ResponseMetadata": ...,
    }
Definition
class RevokeSecurityGroupIngressResultTypeDef(TypedDict):
    Return: bool,
    UnknownIpPermissions: List[IpPermissionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpPermissionTypeDef
  2. See ResponseMetadataTypeDef

SecurityGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SecurityGroupTypeDef

def get_value() -> SecurityGroupTypeDef:
    return {
        "Description": ...,
    }
Definition
class SecurityGroupTypeDef(TypedDict):
    Description: NotRequired[str],
    GroupName: NotRequired[str],
    IpPermissions: NotRequired[List[IpPermissionTypeDef]],  # (1)
    OwnerId: NotRequired[str],
    GroupId: NotRequired[str],
    IpPermissionsEgress: NotRequired[List[IpPermissionTypeDef]],  # (1)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
    VpcId: NotRequired[str],
  1. See IpPermissionTypeDef
  2. See IpPermissionTypeDef
  3. See TagTypeDef

UpdateSecurityGroupRuleDescriptionsEgressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UpdateSecurityGroupRuleDescriptionsEgressRequestRequestTypeDef

def get_value() -> UpdateSecurityGroupRuleDescriptionsEgressRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class UpdateSecurityGroupRuleDescriptionsEgressRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    GroupId: NotRequired[str],
    GroupName: NotRequired[str],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    SecurityGroupRuleDescriptions: NotRequired[Sequence[SecurityGroupRuleDescriptionTypeDef]],  # (2)
  1. See IpPermissionTypeDef
  2. See SecurityGroupRuleDescriptionTypeDef

UpdateSecurityGroupRuleDescriptionsIngressRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import UpdateSecurityGroupRuleDescriptionsIngressRequestRequestTypeDef

def get_value() -> UpdateSecurityGroupRuleDescriptionsIngressRequestRequestTypeDef:
    return {
        "DryRun": ...,
    }
Definition
class UpdateSecurityGroupRuleDescriptionsIngressRequestRequestTypeDef(TypedDict):
    DryRun: NotRequired[bool],
    GroupId: NotRequired[str],
    GroupName: NotRequired[str],
    IpPermissions: NotRequired[Sequence[IpPermissionTypeDef]],  # (1)
    SecurityGroupRuleDescriptions: NotRequired[Sequence[SecurityGroupRuleDescriptionTypeDef]],  # (2)
  1. See IpPermissionTypeDef
  2. See SecurityGroupRuleDescriptionTypeDef

StaleSecurityGroupTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StaleSecurityGroupTypeDef

def get_value() -> StaleSecurityGroupTypeDef:
    return {
        "Description": ...,
    }
Definition
class StaleSecurityGroupTypeDef(TypedDict):
    Description: NotRequired[str],
    GroupId: NotRequired[str],
    GroupName: NotRequired[str],
    StaleIpPermissions: NotRequired[List[StaleIpPermissionTypeDef]],  # (1)
    StaleIpPermissionsEgress: NotRequired[List[StaleIpPermissionTypeDef]],  # (1)
    VpcId: NotRequired[str],
  1. See StaleIpPermissionTypeDef
  2. See StaleIpPermissionTypeDef

GetIpamDiscoveredAccountsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamDiscoveredAccountsResultTypeDef

def get_value() -> GetIpamDiscoveredAccountsResultTypeDef:
    return {
        "IpamDiscoveredAccounts": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetIpamDiscoveredAccountsResultTypeDef(TypedDict):
    IpamDiscoveredAccounts: List[IpamDiscoveredAccountTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamDiscoveredAccountTypeDef
  2. See ResponseMetadataTypeDef

GetIpamDiscoveredResourceCidrsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamDiscoveredResourceCidrsResultTypeDef

def get_value() -> GetIpamDiscoveredResourceCidrsResultTypeDef:
    return {
        "IpamDiscoveredResourceCidrs": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetIpamDiscoveredResourceCidrsResultTypeDef(TypedDict):
    IpamDiscoveredResourceCidrs: List[IpamDiscoveredResourceCidrTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamDiscoveredResourceCidrTypeDef
  2. See ResponseMetadataTypeDef

CreateIpamPoolResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateIpamPoolResultTypeDef

def get_value() -> CreateIpamPoolResultTypeDef:
    return {
        "IpamPool": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateIpamPoolResultTypeDef(TypedDict):
    IpamPool: IpamPoolTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamPoolTypeDef
  2. See ResponseMetadataTypeDef

DeleteIpamPoolResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteIpamPoolResultTypeDef

def get_value() -> DeleteIpamPoolResultTypeDef:
    return {
        "IpamPool": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteIpamPoolResultTypeDef(TypedDict):
    IpamPool: IpamPoolTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamPoolTypeDef
  2. See ResponseMetadataTypeDef

DescribeIpamPoolsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamPoolsResultTypeDef

def get_value() -> DescribeIpamPoolsResultTypeDef:
    return {
        "NextToken": ...,
        "IpamPools": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIpamPoolsResultTypeDef(TypedDict):
    NextToken: str,
    IpamPools: List[IpamPoolTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamPoolTypeDef
  2. See ResponseMetadataTypeDef

ModifyIpamPoolResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamPoolResultTypeDef

def get_value() -> ModifyIpamPoolResultTypeDef:
    return {
        "IpamPool": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyIpamPoolResultTypeDef(TypedDict):
    IpamPool: IpamPoolTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamPoolTypeDef
  2. See ResponseMetadataTypeDef

GetIpamResourceCidrsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamResourceCidrsResultTypeDef

def get_value() -> GetIpamResourceCidrsResultTypeDef:
    return {
        "NextToken": ...,
        "IpamResourceCidrs": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetIpamResourceCidrsResultTypeDef(TypedDict):
    NextToken: str,
    IpamResourceCidrs: List[IpamResourceCidrTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamResourceCidrTypeDef
  2. See ResponseMetadataTypeDef

ModifyIpamResourceCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamResourceCidrResultTypeDef

def get_value() -> ModifyIpamResourceCidrResultTypeDef:
    return {
        "IpamResourceCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyIpamResourceCidrResultTypeDef(TypedDict):
    IpamResourceCidr: IpamResourceCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamResourceCidrTypeDef
  2. See ResponseMetadataTypeDef

CreateIpamResourceDiscoveryResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateIpamResourceDiscoveryResultTypeDef

def get_value() -> CreateIpamResourceDiscoveryResultTypeDef:
    return {
        "IpamResourceDiscovery": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateIpamResourceDiscoveryResultTypeDef(TypedDict):
    IpamResourceDiscovery: IpamResourceDiscoveryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamResourceDiscoveryTypeDef
  2. See ResponseMetadataTypeDef

DeleteIpamResourceDiscoveryResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteIpamResourceDiscoveryResultTypeDef

def get_value() -> DeleteIpamResourceDiscoveryResultTypeDef:
    return {
        "IpamResourceDiscovery": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteIpamResourceDiscoveryResultTypeDef(TypedDict):
    IpamResourceDiscovery: IpamResourceDiscoveryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamResourceDiscoveryTypeDef
  2. See ResponseMetadataTypeDef

DescribeIpamResourceDiscoveriesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamResourceDiscoveriesResultTypeDef

def get_value() -> DescribeIpamResourceDiscoveriesResultTypeDef:
    return {
        "IpamResourceDiscoveries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIpamResourceDiscoveriesResultTypeDef(TypedDict):
    IpamResourceDiscoveries: List[IpamResourceDiscoveryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamResourceDiscoveryTypeDef
  2. See ResponseMetadataTypeDef

ModifyIpamResourceDiscoveryResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamResourceDiscoveryResultTypeDef

def get_value() -> ModifyIpamResourceDiscoveryResultTypeDef:
    return {
        "IpamResourceDiscovery": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyIpamResourceDiscoveryResultTypeDef(TypedDict):
    IpamResourceDiscovery: IpamResourceDiscoveryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamResourceDiscoveryTypeDef
  2. See ResponseMetadataTypeDef

CreateIpamResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateIpamResultTypeDef

def get_value() -> CreateIpamResultTypeDef:
    return {
        "Ipam": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateIpamResultTypeDef(TypedDict):
    Ipam: IpamTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamTypeDef
  2. See ResponseMetadataTypeDef

DeleteIpamResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteIpamResultTypeDef

def get_value() -> DeleteIpamResultTypeDef:
    return {
        "Ipam": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteIpamResultTypeDef(TypedDict):
    Ipam: IpamTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamTypeDef
  2. See ResponseMetadataTypeDef

DescribeIpamsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpamsResultTypeDef

def get_value() -> DescribeIpamsResultTypeDef:
    return {
        "NextToken": ...,
        "Ipams": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIpamsResultTypeDef(TypedDict):
    NextToken: str,
    Ipams: List[IpamTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamTypeDef
  2. See ResponseMetadataTypeDef

ModifyIpamResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyIpamResultTypeDef

def get_value() -> ModifyIpamResultTypeDef:
    return {
        "Ipam": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyIpamResultTypeDef(TypedDict):
    Ipam: IpamTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamTypeDef
  2. See ResponseMetadataTypeDef

DeprovisionIpamPoolCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeprovisionIpamPoolCidrResultTypeDef

def get_value() -> DeprovisionIpamPoolCidrResultTypeDef:
    return {
        "IpamPoolCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeprovisionIpamPoolCidrResultTypeDef(TypedDict):
    IpamPoolCidr: IpamPoolCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamPoolCidrTypeDef
  2. See ResponseMetadataTypeDef

GetIpamPoolCidrsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetIpamPoolCidrsResultTypeDef

def get_value() -> GetIpamPoolCidrsResultTypeDef:
    return {
        "IpamPoolCidrs": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetIpamPoolCidrsResultTypeDef(TypedDict):
    IpamPoolCidrs: List[IpamPoolCidrTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamPoolCidrTypeDef
  2. See ResponseMetadataTypeDef

ProvisionIpamPoolCidrResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ProvisionIpamPoolCidrResultTypeDef

def get_value() -> ProvisionIpamPoolCidrResultTypeDef:
    return {
        "IpamPoolCidr": ...,
        "ResponseMetadata": ...,
    }
Definition
class ProvisionIpamPoolCidrResultTypeDef(TypedDict):
    IpamPoolCidr: IpamPoolCidrTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpamPoolCidrTypeDef
  2. See ResponseMetadataTypeDef

DescribeIpv6PoolsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeIpv6PoolsResultTypeDef

def get_value() -> DescribeIpv6PoolsResultTypeDef:
    return {
        "Ipv6Pools": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIpv6PoolsResultTypeDef(TypedDict):
    Ipv6Pools: List[Ipv6PoolTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See Ipv6PoolTypeDef
  2. See ResponseMetadataTypeDef

RequestLaunchTemplateDataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RequestLaunchTemplateDataTypeDef

def get_value() -> RequestLaunchTemplateDataTypeDef:
    return {
        "KernelId": ...,
    }
Definition
class RequestLaunchTemplateDataTypeDef(TypedDict):
    KernelId: NotRequired[str],
    EbsOptimized: NotRequired[bool],
    IamInstanceProfile: NotRequired[LaunchTemplateIamInstanceProfileSpecificationRequestTypeDef],  # (1)
    BlockDeviceMappings: NotRequired[Sequence[LaunchTemplateBlockDeviceMappingRequestTypeDef]],  # (2)
    NetworkInterfaces: NotRequired[Sequence[LaunchTemplateInstanceNetworkInterfaceSpecificationRequestTypeDef]],  # (3)
    ImageId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (4)
    KeyName: NotRequired[str],
    Monitoring: NotRequired[LaunchTemplatesMonitoringRequestTypeDef],  # (5)
    Placement: NotRequired[LaunchTemplatePlacementRequestTypeDef],  # (6)
    RamDiskId: NotRequired[str],
    DisableApiTermination: NotRequired[bool],
    InstanceInitiatedShutdownBehavior: NotRequired[ShutdownBehaviorType],  # (7)
    UserData: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[LaunchTemplateTagSpecificationRequestTypeDef]],  # (8)
    ElasticGpuSpecifications: NotRequired[Sequence[ElasticGpuSpecificationTypeDef]],  # (9)
    ElasticInferenceAccelerators: NotRequired[Sequence[LaunchTemplateElasticInferenceAcceleratorTypeDef]],  # (10)
    SecurityGroupIds: NotRequired[Sequence[str]],
    SecurityGroups: NotRequired[Sequence[str]],
    InstanceMarketOptions: NotRequired[LaunchTemplateInstanceMarketOptionsRequestTypeDef],  # (11)
    CreditSpecification: NotRequired[CreditSpecificationRequestTypeDef],  # (12)
    CpuOptions: NotRequired[LaunchTemplateCpuOptionsRequestTypeDef],  # (13)
    CapacityReservationSpecification: NotRequired[LaunchTemplateCapacityReservationSpecificationRequestTypeDef],  # (14)
    LicenseSpecifications: NotRequired[Sequence[LaunchTemplateLicenseConfigurationRequestTypeDef]],  # (15)
    HibernationOptions: NotRequired[LaunchTemplateHibernationOptionsRequestTypeDef],  # (16)
    MetadataOptions: NotRequired[LaunchTemplateInstanceMetadataOptionsRequestTypeDef],  # (17)
    EnclaveOptions: NotRequired[LaunchTemplateEnclaveOptionsRequestTypeDef],  # (18)
    InstanceRequirements: NotRequired[InstanceRequirementsRequestTypeDef],  # (19)
    PrivateDnsNameOptions: NotRequired[LaunchTemplatePrivateDnsNameOptionsRequestTypeDef],  # (20)
    MaintenanceOptions: NotRequired[LaunchTemplateInstanceMaintenanceOptionsRequestTypeDef],  # (21)
    DisableApiStop: NotRequired[bool],
  1. See LaunchTemplateIamInstanceProfileSpecificationRequestTypeDef
  2. See LaunchTemplateBlockDeviceMappingRequestTypeDef
  3. See LaunchTemplateInstanceNetworkInterfaceSpecificationRequestTypeDef
  4. See InstanceTypeType
  5. See LaunchTemplatesMonitoringRequestTypeDef
  6. See LaunchTemplatePlacementRequestTypeDef
  7. See ShutdownBehaviorType
  8. See LaunchTemplateTagSpecificationRequestTypeDef
  9. See ElasticGpuSpecificationTypeDef
  10. See LaunchTemplateElasticInferenceAcceleratorTypeDef
  11. See LaunchTemplateInstanceMarketOptionsRequestTypeDef
  12. See CreditSpecificationRequestTypeDef
  13. See LaunchTemplateCpuOptionsRequestTypeDef
  14. See LaunchTemplateCapacityReservationSpecificationRequestTypeDef
  15. See LaunchTemplateLicenseConfigurationRequestTypeDef
  16. See LaunchTemplateHibernationOptionsRequestTypeDef
  17. See LaunchTemplateInstanceMetadataOptionsRequestTypeDef
  18. See LaunchTemplateEnclaveOptionsRequestTypeDef
  19. See InstanceRequirementsRequestTypeDef
  20. See LaunchTemplatePrivateDnsNameOptionsRequestTypeDef
  21. See LaunchTemplateInstanceMaintenanceOptionsRequestTypeDef

ResponseLaunchTemplateDataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ResponseLaunchTemplateDataTypeDef

def get_value() -> ResponseLaunchTemplateDataTypeDef:
    return {
        "KernelId": ...,
    }
Definition
class ResponseLaunchTemplateDataTypeDef(TypedDict):
    KernelId: NotRequired[str],
    EbsOptimized: NotRequired[bool],
    IamInstanceProfile: NotRequired[LaunchTemplateIamInstanceProfileSpecificationTypeDef],  # (1)
    BlockDeviceMappings: NotRequired[List[LaunchTemplateBlockDeviceMappingTypeDef]],  # (2)
    NetworkInterfaces: NotRequired[List[LaunchTemplateInstanceNetworkInterfaceSpecificationTypeDef]],  # (3)
    ImageId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (4)
    KeyName: NotRequired[str],
    Monitoring: NotRequired[LaunchTemplatesMonitoringTypeDef],  # (5)
    Placement: NotRequired[LaunchTemplatePlacementTypeDef],  # (6)
    RamDiskId: NotRequired[str],
    DisableApiTermination: NotRequired[bool],
    InstanceInitiatedShutdownBehavior: NotRequired[ShutdownBehaviorType],  # (7)
    UserData: NotRequired[str],
    TagSpecifications: NotRequired[List[LaunchTemplateTagSpecificationTypeDef]],  # (8)
    ElasticGpuSpecifications: NotRequired[List[ElasticGpuSpecificationResponseTypeDef]],  # (9)
    ElasticInferenceAccelerators: NotRequired[List[LaunchTemplateElasticInferenceAcceleratorResponseTypeDef]],  # (10)
    SecurityGroupIds: NotRequired[List[str]],
    SecurityGroups: NotRequired[List[str]],
    InstanceMarketOptions: NotRequired[LaunchTemplateInstanceMarketOptionsTypeDef],  # (11)
    CreditSpecification: NotRequired[CreditSpecificationTypeDef],  # (12)
    CpuOptions: NotRequired[LaunchTemplateCpuOptionsTypeDef],  # (13)
    CapacityReservationSpecification: NotRequired[LaunchTemplateCapacityReservationSpecificationResponseTypeDef],  # (14)
    LicenseSpecifications: NotRequired[List[LaunchTemplateLicenseConfigurationTypeDef]],  # (15)
    HibernationOptions: NotRequired[LaunchTemplateHibernationOptionsTypeDef],  # (16)
    MetadataOptions: NotRequired[LaunchTemplateInstanceMetadataOptionsTypeDef],  # (17)
    EnclaveOptions: NotRequired[LaunchTemplateEnclaveOptionsTypeDef],  # (18)
    InstanceRequirements: NotRequired[InstanceRequirementsTypeDef],  # (19)
    PrivateDnsNameOptions: NotRequired[LaunchTemplatePrivateDnsNameOptionsTypeDef],  # (20)
    MaintenanceOptions: NotRequired[LaunchTemplateInstanceMaintenanceOptionsTypeDef],  # (21)
    DisableApiStop: NotRequired[bool],
  1. See LaunchTemplateIamInstanceProfileSpecificationTypeDef
  2. See LaunchTemplateBlockDeviceMappingTypeDef
  3. See LaunchTemplateInstanceNetworkInterfaceSpecificationTypeDef
  4. See InstanceTypeType
  5. See LaunchTemplatesMonitoringTypeDef
  6. See LaunchTemplatePlacementTypeDef
  7. See ShutdownBehaviorType
  8. See LaunchTemplateTagSpecificationTypeDef
  9. See ElasticGpuSpecificationResponseTypeDef
  10. See LaunchTemplateElasticInferenceAcceleratorResponseTypeDef
  11. See LaunchTemplateInstanceMarketOptionsTypeDef
  12. See CreditSpecificationTypeDef
  13. See LaunchTemplateCpuOptionsTypeDef
  14. See LaunchTemplateCapacityReservationSpecificationResponseTypeDef
  15. See LaunchTemplateLicenseConfigurationTypeDef
  16. See LaunchTemplateHibernationOptionsTypeDef
  17. See LaunchTemplateInstanceMetadataOptionsTypeDef
  18. See LaunchTemplateEnclaveOptionsTypeDef
  19. See InstanceRequirementsTypeDef
  20. See LaunchTemplatePrivateDnsNameOptionsTypeDef
  21. See LaunchTemplateInstanceMaintenanceOptionsTypeDef

ModifyFpgaImageAttributeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyFpgaImageAttributeRequestRequestTypeDef

def get_value() -> ModifyFpgaImageAttributeRequestRequestTypeDef:
    return {
        "FpgaImageId": ...,
    }
Definition
class ModifyFpgaImageAttributeRequestRequestTypeDef(TypedDict):
    FpgaImageId: str,
    DryRun: NotRequired[bool],
    Attribute: NotRequired[FpgaImageAttributeNameType],  # (1)
    OperationType: NotRequired[OperationTypeType],  # (2)
    UserIds: NotRequired[Sequence[str]],
    UserGroups: NotRequired[Sequence[str]],
    ProductCodes: NotRequired[Sequence[str]],
    LoadPermission: NotRequired[LoadPermissionModificationsTypeDef],  # (3)
    Description: NotRequired[str],
    Name: NotRequired[str],
  1. See FpgaImageAttributeNameType
  2. See OperationTypeType
  3. See LoadPermissionModificationsTypeDef

ReservedInstancesModificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservedInstancesModificationTypeDef

def get_value() -> ReservedInstancesModificationTypeDef:
    return {
        "ClientToken": ...,
    }
Definition
class ReservedInstancesModificationTypeDef(TypedDict):
    ClientToken: NotRequired[str],
    CreateDate: NotRequired[datetime],
    EffectiveDate: NotRequired[datetime],
    ModificationResults: NotRequired[List[ReservedInstancesModificationResultTypeDef]],  # (1)
    ReservedInstancesIds: NotRequired[List[ReservedInstancesIdTypeDef]],  # (2)
    ReservedInstancesModificationId: NotRequired[str],
    Status: NotRequired[str],
    StatusMessage: NotRequired[str],
    UpdateDate: NotRequired[datetime],
  1. See ReservedInstancesModificationResultTypeDef
  2. See ReservedInstancesIdTypeDef

CreateNatGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNatGatewayResultTypeDef

def get_value() -> CreateNatGatewayResultTypeDef:
    return {
        "ClientToken": ...,
        "NatGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateNatGatewayResultTypeDef(TypedDict):
    ClientToken: str,
    NatGateway: NatGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NatGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeNatGatewaysResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNatGatewaysResultTypeDef

def get_value() -> DescribeNatGatewaysResultTypeDef:
    return {
        "NatGateways": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNatGatewaysResultTypeDef(TypedDict):
    NatGateways: List[NatGatewayTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NatGatewayTypeDef
  2. See ResponseMetadataTypeDef

CreateNetworkInterfacePermissionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInterfacePermissionResultTypeDef

def get_value() -> CreateNetworkInterfacePermissionResultTypeDef:
    return {
        "InterfacePermission": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateNetworkInterfacePermissionResultTypeDef(TypedDict):
    InterfacePermission: NetworkInterfacePermissionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInterfacePermissionTypeDef
  2. See ResponseMetadataTypeDef

DescribeNetworkInterfacePermissionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfacePermissionsResultTypeDef

def get_value() -> DescribeNetworkInterfacePermissionsResultTypeDef:
    return {
        "NetworkInterfacePermissions": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNetworkInterfacePermissionsResultTypeDef(TypedDict):
    NetworkInterfacePermissions: List[NetworkInterfacePermissionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInterfacePermissionTypeDef
  2. See ResponseMetadataTypeDef

CreateVerifiedAccessTrustProviderResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessTrustProviderResultTypeDef

def get_value() -> CreateVerifiedAccessTrustProviderResultTypeDef:
    return {
        "VerifiedAccessTrustProvider": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVerifiedAccessTrustProviderResultTypeDef(TypedDict):
    VerifiedAccessTrustProvider: VerifiedAccessTrustProviderTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessTrustProviderTypeDef
  2. See ResponseMetadataTypeDef

DeleteVerifiedAccessTrustProviderResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVerifiedAccessTrustProviderResultTypeDef

def get_value() -> DeleteVerifiedAccessTrustProviderResultTypeDef:
    return {
        "VerifiedAccessTrustProvider": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteVerifiedAccessTrustProviderResultTypeDef(TypedDict):
    VerifiedAccessTrustProvider: VerifiedAccessTrustProviderTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessTrustProviderTypeDef
  2. See ResponseMetadataTypeDef

DescribeVerifiedAccessTrustProvidersResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessTrustProvidersResultTypeDef

def get_value() -> DescribeVerifiedAccessTrustProvidersResultTypeDef:
    return {
        "VerifiedAccessTrustProviders": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVerifiedAccessTrustProvidersResultTypeDef(TypedDict):
    VerifiedAccessTrustProviders: List[VerifiedAccessTrustProviderTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessTrustProviderTypeDef
  2. See ResponseMetadataTypeDef

ModifyVerifiedAccessTrustProviderResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessTrustProviderResultTypeDef

def get_value() -> ModifyVerifiedAccessTrustProviderResultTypeDef:
    return {
        "VerifiedAccessTrustProvider": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVerifiedAccessTrustProviderResultTypeDef(TypedDict):
    VerifiedAccessTrustProvider: VerifiedAccessTrustProviderTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessTrustProviderTypeDef
  2. See ResponseMetadataTypeDef

AccessScopePathRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AccessScopePathRequestTypeDef

def get_value() -> AccessScopePathRequestTypeDef:
    return {
        "Source": ...,
    }
Definition
class AccessScopePathRequestTypeDef(TypedDict):
    Source: NotRequired[PathStatementRequestTypeDef],  # (1)
    Destination: NotRequired[PathStatementRequestTypeDef],  # (1)
    ThroughResources: NotRequired[Sequence[ThroughResourcesStatementRequestTypeDef]],  # (3)
  1. See PathStatementRequestTypeDef
  2. See PathStatementRequestTypeDef
  3. See ThroughResourcesStatementRequestTypeDef

AccessScopePathTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AccessScopePathTypeDef

def get_value() -> AccessScopePathTypeDef:
    return {
        "Source": ...,
    }
Definition
class AccessScopePathTypeDef(TypedDict):
    Source: NotRequired[PathStatementTypeDef],  # (1)
    Destination: NotRequired[PathStatementTypeDef],  # (1)
    ThroughResources: NotRequired[List[ThroughResourcesStatementTypeDef]],  # (3)
  1. See PathStatementTypeDef
  2. See PathStatementTypeDef
  3. See ThroughResourcesStatementTypeDef

CancelReservedInstancesListingResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelReservedInstancesListingResultTypeDef

def get_value() -> CancelReservedInstancesListingResultTypeDef:
    return {
        "ReservedInstancesListings": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelReservedInstancesListingResultTypeDef(TypedDict):
    ReservedInstancesListings: List[ReservedInstancesListingTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReservedInstancesListingTypeDef
  2. See ResponseMetadataTypeDef

CreateReservedInstancesListingResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateReservedInstancesListingResultTypeDef

def get_value() -> CreateReservedInstancesListingResultTypeDef:
    return {
        "ReservedInstancesListings": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateReservedInstancesListingResultTypeDef(TypedDict):
    ReservedInstancesListings: List[ReservedInstancesListingTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReservedInstancesListingTypeDef
  2. See ResponseMetadataTypeDef

DescribeReservedInstancesListingsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesListingsResultTypeDef

def get_value() -> DescribeReservedInstancesListingsResultTypeDef:
    return {
        "ReservedInstancesListings": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeReservedInstancesListingsResultTypeDef(TypedDict):
    ReservedInstancesListings: List[ReservedInstancesListingTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReservedInstancesListingTypeDef
  2. See ResponseMetadataTypeDef

DescribePublicIpv4PoolsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribePublicIpv4PoolsResultTypeDef

def get_value() -> DescribePublicIpv4PoolsResultTypeDef:
    return {
        "PublicIpv4Pools": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribePublicIpv4PoolsResultTypeDef(TypedDict):
    PublicIpv4Pools: List[PublicIpv4PoolTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PublicIpv4PoolTypeDef
  2. See ResponseMetadataTypeDef

DescribeReservedInstancesOfferingsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesOfferingsResultTypeDef

def get_value() -> DescribeReservedInstancesOfferingsResultTypeDef:
    return {
        "ReservedInstancesOfferings": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeReservedInstancesOfferingsResultTypeDef(TypedDict):
    ReservedInstancesOfferings: List[ReservedInstancesOfferingTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReservedInstancesOfferingTypeDef
  2. See ResponseMetadataTypeDef

DescribeReservedInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesResultTypeDef

def get_value() -> DescribeReservedInstancesResultTypeDef:
    return {
        "ReservedInstances": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeReservedInstancesResultTypeDef(TypedDict):
    ReservedInstances: List[ReservedInstancesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReservedInstancesTypeDef
  2. See ResponseMetadataTypeDef

AuthorizeSecurityGroupEgressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AuthorizeSecurityGroupEgressResultTypeDef

def get_value() -> AuthorizeSecurityGroupEgressResultTypeDef:
    return {
        "Return": ...,
        "SecurityGroupRules": ...,
        "ResponseMetadata": ...,
    }
Definition
class AuthorizeSecurityGroupEgressResultTypeDef(TypedDict):
    Return: bool,
    SecurityGroupRules: List[SecurityGroupRuleTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SecurityGroupRuleTypeDef
  2. See ResponseMetadataTypeDef

AuthorizeSecurityGroupIngressResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AuthorizeSecurityGroupIngressResultTypeDef

def get_value() -> AuthorizeSecurityGroupIngressResultTypeDef:
    return {
        "Return": ...,
        "SecurityGroupRules": ...,
        "ResponseMetadata": ...,
    }
Definition
class AuthorizeSecurityGroupIngressResultTypeDef(TypedDict):
    Return: bool,
    SecurityGroupRules: List[SecurityGroupRuleTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SecurityGroupRuleTypeDef
  2. See ResponseMetadataTypeDef

DescribeSecurityGroupRulesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSecurityGroupRulesResultTypeDef

def get_value() -> DescribeSecurityGroupRulesResultTypeDef:
    return {
        "SecurityGroupRules": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSecurityGroupRulesResultTypeDef(TypedDict):
    SecurityGroupRules: List[SecurityGroupRuleTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SecurityGroupRuleTypeDef
  2. See ResponseMetadataTypeDef

BundleInstanceRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import BundleInstanceRequestRequestTypeDef

def get_value() -> BundleInstanceRequestRequestTypeDef:
    return {
        "InstanceId": ...,
        "Storage": ...,
    }
Definition
class BundleInstanceRequestRequestTypeDef(TypedDict):
    InstanceId: str,
    Storage: StorageTypeDef,  # (1)
    DryRun: NotRequired[bool],
  1. See StorageTypeDef

BundleTaskTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import BundleTaskTypeDef

def get_value() -> BundleTaskTypeDef:
    return {
        "BundleId": ...,
    }
Definition
class BundleTaskTypeDef(TypedDict):
    BundleId: NotRequired[str],
    BundleTaskError: NotRequired[BundleTaskErrorTypeDef],  # (1)
    InstanceId: NotRequired[str],
    Progress: NotRequired[str],
    StartTime: NotRequired[datetime],
    State: NotRequired[BundleTaskStateType],  # (2)
    Storage: NotRequired[StorageTypeDef],  # (3)
    UpdateTime: NotRequired[datetime],
  1. See BundleTaskErrorTypeDef
  2. See BundleTaskStateType
  3. See StorageTypeDef

DescribeScheduledInstanceAvailabilityResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeScheduledInstanceAvailabilityResultTypeDef

def get_value() -> DescribeScheduledInstanceAvailabilityResultTypeDef:
    return {
        "NextToken": ...,
        "ScheduledInstanceAvailabilitySet": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeScheduledInstanceAvailabilityResultTypeDef(TypedDict):
    NextToken: str,
    ScheduledInstanceAvailabilitySet: List[ScheduledInstanceAvailabilityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ScheduledInstanceAvailabilityTypeDef
  2. See ResponseMetadataTypeDef

DescribeScheduledInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeScheduledInstancesResultTypeDef

def get_value() -> DescribeScheduledInstancesResultTypeDef:
    return {
        "NextToken": ...,
        "ScheduledInstanceSet": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeScheduledInstancesResultTypeDef(TypedDict):
    NextToken: str,
    ScheduledInstanceSet: List[ScheduledInstanceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ScheduledInstanceTypeDef
  2. See ResponseMetadataTypeDef

PurchaseScheduledInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PurchaseScheduledInstancesResultTypeDef

def get_value() -> PurchaseScheduledInstancesResultTypeDef:
    return {
        "ScheduledInstanceSet": ...,
        "ResponseMetadata": ...,
    }
Definition
class PurchaseScheduledInstancesResultTypeDef(TypedDict):
    ScheduledInstanceSet: List[ScheduledInstanceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ScheduledInstanceTypeDef
  2. See ResponseMetadataTypeDef

ScheduledInstancesLaunchSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ScheduledInstancesLaunchSpecificationTypeDef

def get_value() -> ScheduledInstancesLaunchSpecificationTypeDef:
    return {
        "ImageId": ...,
    }
Definition
class ScheduledInstancesLaunchSpecificationTypeDef(TypedDict):
    ImageId: str,
    BlockDeviceMappings: NotRequired[Sequence[ScheduledInstancesBlockDeviceMappingTypeDef]],  # (1)
    EbsOptimized: NotRequired[bool],
    IamInstanceProfile: NotRequired[ScheduledInstancesIamInstanceProfileTypeDef],  # (2)
    InstanceType: NotRequired[str],
    KernelId: NotRequired[str],
    KeyName: NotRequired[str],
    Monitoring: NotRequired[ScheduledInstancesMonitoringTypeDef],  # (3)
    NetworkInterfaces: NotRequired[Sequence[ScheduledInstancesNetworkInterfaceTypeDef]],  # (4)
    Placement: NotRequired[ScheduledInstancesPlacementTypeDef],  # (5)
    RamdiskId: NotRequired[str],
    SecurityGroupIds: NotRequired[Sequence[str]],
    SubnetId: NotRequired[str],
    UserData: NotRequired[str],
  1. See ScheduledInstancesBlockDeviceMappingTypeDef
  2. See ScheduledInstancesIamInstanceProfileTypeDef
  3. See ScheduledInstancesMonitoringTypeDef
  4. See ScheduledInstancesNetworkInterfaceTypeDef
  5. See ScheduledInstancesPlacementTypeDef

CreateVpcEndpointResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcEndpointResultTypeDef

def get_value() -> CreateVpcEndpointResultTypeDef:
    return {
        "VpcEndpoint": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVpcEndpointResultTypeDef(TypedDict):
    VpcEndpoint: VpcEndpointTypeDef,  # (1)
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcEndpointTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpcEndpointsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointsResultTypeDef

def get_value() -> DescribeVpcEndpointsResultTypeDef:
    return {
        "VpcEndpoints": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcEndpointsResultTypeDef(TypedDict):
    VpcEndpoints: List[VpcEndpointTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcEndpointTypeDef
  2. See ResponseMetadataTypeDef

ModifySecurityGroupRulesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifySecurityGroupRulesRequestRequestTypeDef

def get_value() -> ModifySecurityGroupRulesRequestRequestTypeDef:
    return {
        "GroupId": ...,
        "SecurityGroupRules": ...,
    }
Definition
class ModifySecurityGroupRulesRequestRequestTypeDef(TypedDict):
    GroupId: str,
    SecurityGroupRules: Sequence[SecurityGroupRuleUpdateTypeDef],  # (1)
    DryRun: NotRequired[bool],
  1. See SecurityGroupRuleUpdateTypeDef

CreateVpcEndpointServiceConfigurationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcEndpointServiceConfigurationResultTypeDef

def get_value() -> CreateVpcEndpointServiceConfigurationResultTypeDef:
    return {
        "ServiceConfiguration": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVpcEndpointServiceConfigurationResultTypeDef(TypedDict):
    ServiceConfiguration: ServiceConfigurationTypeDef,  # (1)
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceConfigurationTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpcEndpointServiceConfigurationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointServiceConfigurationsResultTypeDef

def get_value() -> DescribeVpcEndpointServiceConfigurationsResultTypeDef:
    return {
        "ServiceConfigurations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcEndpointServiceConfigurationsResultTypeDef(TypedDict):
    ServiceConfigurations: List[ServiceConfigurationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceConfigurationTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpcEndpointServicesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcEndpointServicesResultTypeDef

def get_value() -> DescribeVpcEndpointServicesResultTypeDef:
    return {
        "ServiceNames": ...,
        "ServiceDetails": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcEndpointServicesResultTypeDef(TypedDict):
    ServiceNames: List[str],
    ServiceDetails: List[ServiceDetailTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceDetailTypeDef
  2. See ResponseMetadataTypeDef

ImportImageResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportImageResultTypeDef

def get_value() -> ImportImageResultTypeDef:
    return {
        "Architecture": ...,
        "Description": ...,
        "Encrypted": ...,
        "Hypervisor": ...,
        "ImageId": ...,
        "ImportTaskId": ...,
        "KmsKeyId": ...,
        "LicenseType": ...,
        "Platform": ...,
        "Progress": ...,
        "SnapshotDetails": ...,
        "Status": ...,
        "StatusMessage": ...,
        "LicenseSpecifications": ...,
        "Tags": ...,
        "UsageOperation": ...,
        "ResponseMetadata": ...,
    }
Definition
class ImportImageResultTypeDef(TypedDict):
    Architecture: str,
    Description: str,
    Encrypted: bool,
    Hypervisor: str,
    ImageId: str,
    ImportTaskId: str,
    KmsKeyId: str,
    LicenseType: str,
    Platform: str,
    Progress: str,
    SnapshotDetails: List[SnapshotDetailTypeDef],  # (1)
    Status: str,
    StatusMessage: str,
    LicenseSpecifications: List[ImportImageLicenseConfigurationResponseTypeDef],  # (2)
    Tags: List[TagTypeDef],  # (3)
    UsageOperation: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See SnapshotDetailTypeDef
  2. See ImportImageLicenseConfigurationResponseTypeDef
  3. See TagTypeDef
  4. See ResponseMetadataTypeDef

ImportImageTaskTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportImageTaskTypeDef

def get_value() -> ImportImageTaskTypeDef:
    return {
        "Architecture": ...,
    }
Definition
class ImportImageTaskTypeDef(TypedDict):
    Architecture: NotRequired[str],
    Description: NotRequired[str],
    Encrypted: NotRequired[bool],
    Hypervisor: NotRequired[str],
    ImageId: NotRequired[str],
    ImportTaskId: NotRequired[str],
    KmsKeyId: NotRequired[str],
    LicenseType: NotRequired[str],
    Platform: NotRequired[str],
    Progress: NotRequired[str],
    SnapshotDetails: NotRequired[List[SnapshotDetailTypeDef]],  # (1)
    Status: NotRequired[str],
    StatusMessage: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    LicenseSpecifications: NotRequired[List[ImportImageLicenseConfigurationResponseTypeDef]],  # (3)
    UsageOperation: NotRequired[str],
    BootMode: NotRequired[BootModeValuesType],  # (4)
  1. See SnapshotDetailTypeDef
  2. See TagTypeDef
  3. See ImportImageLicenseConfigurationResponseTypeDef
  4. See BootModeValuesType

ImportSnapshotResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportSnapshotResultTypeDef

def get_value() -> ImportSnapshotResultTypeDef:
    return {
        "Description": ...,
        "ImportTaskId": ...,
        "SnapshotTaskDetail": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ImportSnapshotResultTypeDef(TypedDict):
    Description: str,
    ImportTaskId: str,
    SnapshotTaskDetail: SnapshotTaskDetailTypeDef,  # (1)
    Tags: List[TagTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SnapshotTaskDetailTypeDef
  2. See TagTypeDef
  3. See ResponseMetadataTypeDef

ImportSnapshotTaskTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportSnapshotTaskTypeDef

def get_value() -> ImportSnapshotTaskTypeDef:
    return {
        "Description": ...,
    }
Definition
class ImportSnapshotTaskTypeDef(TypedDict):
    Description: NotRequired[str],
    ImportTaskId: NotRequired[str],
    SnapshotTaskDetail: NotRequired[SnapshotTaskDetailTypeDef],  # (1)
    Tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See SnapshotTaskDetailTypeDef
  2. See TagTypeDef

CreateSpotDatafeedSubscriptionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSpotDatafeedSubscriptionResultTypeDef

def get_value() -> CreateSpotDatafeedSubscriptionResultTypeDef:
    return {
        "SpotDatafeedSubscription": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateSpotDatafeedSubscriptionResultTypeDef(TypedDict):
    SpotDatafeedSubscription: SpotDatafeedSubscriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SpotDatafeedSubscriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeSpotDatafeedSubscriptionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotDatafeedSubscriptionResultTypeDef

def get_value() -> DescribeSpotDatafeedSubscriptionResultTypeDef:
    return {
        "SpotDatafeedSubscription": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSpotDatafeedSubscriptionResultTypeDef(TypedDict):
    SpotDatafeedSubscription: SpotDatafeedSubscriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SpotDatafeedSubscriptionTypeDef
  2. See ResponseMetadataTypeDef

GetTransitGatewayMulticastDomainAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayMulticastDomainAssociationsResultTypeDef

def get_value() -> GetTransitGatewayMulticastDomainAssociationsResultTypeDef:
    return {
        "MulticastDomainAssociations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTransitGatewayMulticastDomainAssociationsResultTypeDef(TypedDict):
    MulticastDomainAssociations: List[TransitGatewayMulticastDomainAssociationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDomainAssociationTypeDef
  2. See ResponseMetadataTypeDef

AcceptTransitGatewayMulticastDomainAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptTransitGatewayMulticastDomainAssociationsResultTypeDef

def get_value() -> AcceptTransitGatewayMulticastDomainAssociationsResultTypeDef:
    return {
        "Associations": ...,
        "ResponseMetadata": ...,
    }
Definition
class AcceptTransitGatewayMulticastDomainAssociationsResultTypeDef(TypedDict):
    Associations: TransitGatewayMulticastDomainAssociationsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDomainAssociationsTypeDef
  2. See ResponseMetadataTypeDef

AssociateTransitGatewayMulticastDomainResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateTransitGatewayMulticastDomainResultTypeDef

def get_value() -> AssociateTransitGatewayMulticastDomainResultTypeDef:
    return {
        "Associations": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateTransitGatewayMulticastDomainResultTypeDef(TypedDict):
    Associations: TransitGatewayMulticastDomainAssociationsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDomainAssociationsTypeDef
  2. See ResponseMetadataTypeDef

DisassociateTransitGatewayMulticastDomainResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateTransitGatewayMulticastDomainResultTypeDef

def get_value() -> DisassociateTransitGatewayMulticastDomainResultTypeDef:
    return {
        "Associations": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateTransitGatewayMulticastDomainResultTypeDef(TypedDict):
    Associations: TransitGatewayMulticastDomainAssociationsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDomainAssociationsTypeDef
  2. See ResponseMetadataTypeDef

RejectTransitGatewayMulticastDomainAssociationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectTransitGatewayMulticastDomainAssociationsResultTypeDef

def get_value() -> RejectTransitGatewayMulticastDomainAssociationsResultTypeDef:
    return {
        "Associations": ...,
        "ResponseMetadata": ...,
    }
Definition
class RejectTransitGatewayMulticastDomainAssociationsResultTypeDef(TypedDict):
    Associations: TransitGatewayMulticastDomainAssociationsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDomainAssociationsTypeDef
  2. See ResponseMetadataTypeDef

AssociateSubnetCidrBlockResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateSubnetCidrBlockResultTypeDef

def get_value() -> AssociateSubnetCidrBlockResultTypeDef:
    return {
        "Ipv6CidrBlockAssociation": ...,
        "SubnetId": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateSubnetCidrBlockResultTypeDef(TypedDict):
    Ipv6CidrBlockAssociation: SubnetIpv6CidrBlockAssociationTypeDef,  # (1)
    SubnetId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetIpv6CidrBlockAssociationTypeDef
  2. See ResponseMetadataTypeDef

DisassociateSubnetCidrBlockResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateSubnetCidrBlockResultTypeDef

def get_value() -> DisassociateSubnetCidrBlockResultTypeDef:
    return {
        "Ipv6CidrBlockAssociation": ...,
        "SubnetId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateSubnetCidrBlockResultTypeDef(TypedDict):
    Ipv6CidrBlockAssociation: SubnetIpv6CidrBlockAssociationTypeDef,  # (1)
    SubnetId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetIpv6CidrBlockAssociationTypeDef
  2. See ResponseMetadataTypeDef

SubnetTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SubnetTypeDef

def get_value() -> SubnetTypeDef:
    return {
        "AvailabilityZone": ...,
    }
Definition
class SubnetTypeDef(TypedDict):
    AvailabilityZone: NotRequired[str],
    AvailabilityZoneId: NotRequired[str],
    AvailableIpAddressCount: NotRequired[int],
    CidrBlock: NotRequired[str],
    DefaultForAz: NotRequired[bool],
    EnableLniAtDeviceIndex: NotRequired[int],
    MapPublicIpOnLaunch: NotRequired[bool],
    MapCustomerOwnedIpOnLaunch: NotRequired[bool],
    CustomerOwnedIpv4Pool: NotRequired[str],
    State: NotRequired[SubnetStateType],  # (1)
    SubnetId: NotRequired[str],
    VpcId: NotRequired[str],
    OwnerId: NotRequired[str],
    AssignIpv6AddressOnCreation: NotRequired[bool],
    Ipv6CidrBlockAssociationSet: NotRequired[List[SubnetIpv6CidrBlockAssociationTypeDef]],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
    SubnetArn: NotRequired[str],
    OutpostArn: NotRequired[str],
    EnableDns64: NotRequired[bool],
    Ipv6Native: NotRequired[bool],
    PrivateDnsNameOptionsOnLaunch: NotRequired[PrivateDnsNameOptionsOnLaunchTypeDef],  # (4)
  1. See SubnetStateType
  2. See SubnetIpv6CidrBlockAssociationTypeDef
  3. See TagTypeDef
  4. See PrivateDnsNameOptionsOnLaunchTypeDef

GetReservedInstancesExchangeQuoteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetReservedInstancesExchangeQuoteResultTypeDef

def get_value() -> GetReservedInstancesExchangeQuoteResultTypeDef:
    return {
        "CurrencyCode": ...,
        "IsValidExchange": ...,
        "OutputReservedInstancesWillExpireAt": ...,
        "PaymentDue": ...,
        "ReservedInstanceValueRollup": ...,
        "ReservedInstanceValueSet": ...,
        "TargetConfigurationValueRollup": ...,
        "TargetConfigurationValueSet": ...,
        "ValidationFailureReason": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetReservedInstancesExchangeQuoteResultTypeDef(TypedDict):
    CurrencyCode: str,
    IsValidExchange: bool,
    OutputReservedInstancesWillExpireAt: datetime,
    PaymentDue: str,
    ReservedInstanceValueRollup: ReservationValueTypeDef,  # (1)
    ReservedInstanceValueSet: List[ReservedInstanceReservationValueTypeDef],  # (2)
    TargetConfigurationValueRollup: ReservationValueTypeDef,  # (1)
    TargetConfigurationValueSet: List[TargetReservationValueTypeDef],  # (4)
    ValidationFailureReason: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See ReservationValueTypeDef
  2. See ReservedInstanceReservationValueTypeDef
  3. See ReservationValueTypeDef
  4. See TargetReservationValueTypeDef
  5. See ResponseMetadataTypeDef

LoadBalancersConfigTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LoadBalancersConfigTypeDef

def get_value() -> LoadBalancersConfigTypeDef:
    return {
        "ClassicLoadBalancersConfig": ...,
    }
Definition
class LoadBalancersConfigTypeDef(TypedDict):
    ClassicLoadBalancersConfig: NotRequired[ClassicLoadBalancersConfigTypeDef],  # (1)
    TargetGroupsConfig: NotRequired[TargetGroupsConfigTypeDef],  # (2)
  1. See ClassicLoadBalancersConfigTypeDef
  2. See TargetGroupsConfigTypeDef

CreateTrafficMirrorFilterRuleResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTrafficMirrorFilterRuleResultTypeDef

def get_value() -> CreateTrafficMirrorFilterRuleResultTypeDef:
    return {
        "TrafficMirrorFilterRule": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTrafficMirrorFilterRuleResultTypeDef(TypedDict):
    TrafficMirrorFilterRule: TrafficMirrorFilterRuleTypeDef,  # (1)
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorFilterRuleTypeDef
  2. See ResponseMetadataTypeDef

ModifyTrafficMirrorFilterRuleResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTrafficMirrorFilterRuleResultTypeDef

def get_value() -> ModifyTrafficMirrorFilterRuleResultTypeDef:
    return {
        "TrafficMirrorFilterRule": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyTrafficMirrorFilterRuleResultTypeDef(TypedDict):
    TrafficMirrorFilterRule: TrafficMirrorFilterRuleTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorFilterRuleTypeDef
  2. See ResponseMetadataTypeDef

TrafficMirrorFilterTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TrafficMirrorFilterTypeDef

def get_value() -> TrafficMirrorFilterTypeDef:
    return {
        "TrafficMirrorFilterId": ...,
    }
Definition
class TrafficMirrorFilterTypeDef(TypedDict):
    TrafficMirrorFilterId: NotRequired[str],
    IngressFilterRules: NotRequired[List[TrafficMirrorFilterRuleTypeDef]],  # (1)
    EgressFilterRules: NotRequired[List[TrafficMirrorFilterRuleTypeDef]],  # (1)
    NetworkServices: NotRequired[List[TrafficMirrorNetworkServiceType]],  # (3)
    Description: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See TrafficMirrorFilterRuleTypeDef
  2. See TrafficMirrorFilterRuleTypeDef
  3. See TrafficMirrorNetworkServiceType
  4. See TagTypeDef

DescribeTransitGatewayAttachmentsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayAttachmentsResultTypeDef

def get_value() -> DescribeTransitGatewayAttachmentsResultTypeDef:
    return {
        "TransitGatewayAttachments": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewayAttachmentsResultTypeDef(TypedDict):
    TransitGatewayAttachments: List[TransitGatewayAttachmentTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayAttachmentTypeDef
  2. See ResponseMetadataTypeDef

TransitGatewayConnectPeerTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayConnectPeerTypeDef

def get_value() -> TransitGatewayConnectPeerTypeDef:
    return {
        "TransitGatewayAttachmentId": ...,
    }
Definition
class TransitGatewayConnectPeerTypeDef(TypedDict):
    TransitGatewayAttachmentId: NotRequired[str],
    TransitGatewayConnectPeerId: NotRequired[str],
    State: NotRequired[TransitGatewayConnectPeerStateType],  # (1)
    CreationTime: NotRequired[datetime],
    ConnectPeerConfiguration: NotRequired[TransitGatewayConnectPeerConfigurationTypeDef],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
  1. See TransitGatewayConnectPeerStateType
  2. See TransitGatewayConnectPeerConfigurationTypeDef
  3. See TagTypeDef

CreateTransitGatewayConnectResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayConnectResultTypeDef

def get_value() -> CreateTransitGatewayConnectResultTypeDef:
    return {
        "TransitGatewayConnect": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayConnectResultTypeDef(TypedDict):
    TransitGatewayConnect: TransitGatewayConnectTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayConnectTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayConnectResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayConnectResultTypeDef

def get_value() -> DeleteTransitGatewayConnectResultTypeDef:
    return {
        "TransitGatewayConnect": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayConnectResultTypeDef(TypedDict):
    TransitGatewayConnect: TransitGatewayConnectTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayConnectTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransitGatewayConnectsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayConnectsResultTypeDef

def get_value() -> DescribeTransitGatewayConnectsResultTypeDef:
    return {
        "TransitGatewayConnects": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewayConnectsResultTypeDef(TypedDict):
    TransitGatewayConnects: List[TransitGatewayConnectTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayConnectTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitGatewayMulticastDomainResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayMulticastDomainResultTypeDef

def get_value() -> CreateTransitGatewayMulticastDomainResultTypeDef:
    return {
        "TransitGatewayMulticastDomain": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayMulticastDomainResultTypeDef(TypedDict):
    TransitGatewayMulticastDomain: TransitGatewayMulticastDomainTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDomainTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayMulticastDomainResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayMulticastDomainResultTypeDef

def get_value() -> DeleteTransitGatewayMulticastDomainResultTypeDef:
    return {
        "TransitGatewayMulticastDomain": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayMulticastDomainResultTypeDef(TypedDict):
    TransitGatewayMulticastDomain: TransitGatewayMulticastDomainTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDomainTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransitGatewayMulticastDomainsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayMulticastDomainsResultTypeDef

def get_value() -> DescribeTransitGatewayMulticastDomainsResultTypeDef:
    return {
        "TransitGatewayMulticastDomains": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewayMulticastDomainsResultTypeDef(TypedDict):
    TransitGatewayMulticastDomains: List[TransitGatewayMulticastDomainTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayMulticastDomainTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayResultTypeDef

def get_value() -> CreateTransitGatewayResultTypeDef:
    return {
        "TransitGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayResultTypeDef(TypedDict):
    TransitGateway: TransitGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayResultTypeDef

def get_value() -> DeleteTransitGatewayResultTypeDef:
    return {
        "TransitGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayResultTypeDef(TypedDict):
    TransitGateway: TransitGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransitGatewaysResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewaysResultTypeDef

def get_value() -> DescribeTransitGatewaysResultTypeDef:
    return {
        "TransitGateways": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewaysResultTypeDef(TypedDict):
    TransitGateways: List[TransitGatewayTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayTypeDef
  2. See ResponseMetadataTypeDef

ModifyTransitGatewayResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTransitGatewayResultTypeDef

def get_value() -> ModifyTransitGatewayResultTypeDef:
    return {
        "TransitGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyTransitGatewayResultTypeDef(TypedDict):
    TransitGateway: TransitGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayTypeDef
  2. See ResponseMetadataTypeDef

AcceptTransitGatewayPeeringAttachmentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptTransitGatewayPeeringAttachmentResultTypeDef

def get_value() -> AcceptTransitGatewayPeeringAttachmentResultTypeDef:
    return {
        "TransitGatewayPeeringAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class AcceptTransitGatewayPeeringAttachmentResultTypeDef(TypedDict):
    TransitGatewayPeeringAttachment: TransitGatewayPeeringAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPeeringAttachmentTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitGatewayPeeringAttachmentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayPeeringAttachmentResultTypeDef

def get_value() -> CreateTransitGatewayPeeringAttachmentResultTypeDef:
    return {
        "TransitGatewayPeeringAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayPeeringAttachmentResultTypeDef(TypedDict):
    TransitGatewayPeeringAttachment: TransitGatewayPeeringAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPeeringAttachmentTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayPeeringAttachmentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayPeeringAttachmentResultTypeDef

def get_value() -> DeleteTransitGatewayPeeringAttachmentResultTypeDef:
    return {
        "TransitGatewayPeeringAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayPeeringAttachmentResultTypeDef(TypedDict):
    TransitGatewayPeeringAttachment: TransitGatewayPeeringAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPeeringAttachmentTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransitGatewayPeeringAttachmentsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayPeeringAttachmentsResultTypeDef

def get_value() -> DescribeTransitGatewayPeeringAttachmentsResultTypeDef:
    return {
        "TransitGatewayPeeringAttachments": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewayPeeringAttachmentsResultTypeDef(TypedDict):
    TransitGatewayPeeringAttachments: List[TransitGatewayPeeringAttachmentTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPeeringAttachmentTypeDef
  2. See ResponseMetadataTypeDef

RejectTransitGatewayPeeringAttachmentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectTransitGatewayPeeringAttachmentResultTypeDef

def get_value() -> RejectTransitGatewayPeeringAttachmentResultTypeDef:
    return {
        "TransitGatewayPeeringAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class RejectTransitGatewayPeeringAttachmentResultTypeDef(TypedDict):
    TransitGatewayPeeringAttachment: TransitGatewayPeeringAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPeeringAttachmentTypeDef
  2. See ResponseMetadataTypeDef

TransitGatewayPolicyTableEntryTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import TransitGatewayPolicyTableEntryTypeDef

def get_value() -> TransitGatewayPolicyTableEntryTypeDef:
    return {
        "PolicyRuleNumber": ...,
    }
Definition
class TransitGatewayPolicyTableEntryTypeDef(TypedDict):
    PolicyRuleNumber: NotRequired[str],
    PolicyRule: NotRequired[TransitGatewayPolicyRuleTypeDef],  # (1)
    TargetRouteTableId: NotRequired[str],
  1. See TransitGatewayPolicyRuleTypeDef

CreateTransitGatewayPrefixListReferenceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayPrefixListReferenceResultTypeDef

def get_value() -> CreateTransitGatewayPrefixListReferenceResultTypeDef:
    return {
        "TransitGatewayPrefixListReference": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayPrefixListReferenceResultTypeDef(TypedDict):
    TransitGatewayPrefixListReference: TransitGatewayPrefixListReferenceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPrefixListReferenceTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayPrefixListReferenceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayPrefixListReferenceResultTypeDef

def get_value() -> DeleteTransitGatewayPrefixListReferenceResultTypeDef:
    return {
        "TransitGatewayPrefixListReference": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayPrefixListReferenceResultTypeDef(TypedDict):
    TransitGatewayPrefixListReference: TransitGatewayPrefixListReferenceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPrefixListReferenceTypeDef
  2. See ResponseMetadataTypeDef

GetTransitGatewayPrefixListReferencesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayPrefixListReferencesResultTypeDef

def get_value() -> GetTransitGatewayPrefixListReferencesResultTypeDef:
    return {
        "TransitGatewayPrefixListReferences": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTransitGatewayPrefixListReferencesResultTypeDef(TypedDict):
    TransitGatewayPrefixListReferences: List[TransitGatewayPrefixListReferenceTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPrefixListReferenceTypeDef
  2. See ResponseMetadataTypeDef

ModifyTransitGatewayPrefixListReferenceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTransitGatewayPrefixListReferenceResultTypeDef

def get_value() -> ModifyTransitGatewayPrefixListReferenceResultTypeDef:
    return {
        "TransitGatewayPrefixListReference": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyTransitGatewayPrefixListReferenceResultTypeDef(TypedDict):
    TransitGatewayPrefixListReference: TransitGatewayPrefixListReferenceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPrefixListReferenceTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitGatewayRouteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayRouteResultTypeDef

def get_value() -> CreateTransitGatewayRouteResultTypeDef:
    return {
        "Route": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayRouteResultTypeDef(TypedDict):
    Route: TransitGatewayRouteTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayRouteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayRouteResultTypeDef

def get_value() -> DeleteTransitGatewayRouteResultTypeDef:
    return {
        "Route": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayRouteResultTypeDef(TypedDict):
    Route: TransitGatewayRouteTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTypeDef
  2. See ResponseMetadataTypeDef

ReplaceTransitGatewayRouteResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReplaceTransitGatewayRouteResultTypeDef

def get_value() -> ReplaceTransitGatewayRouteResultTypeDef:
    return {
        "Route": ...,
        "ResponseMetadata": ...,
    }
Definition
class ReplaceTransitGatewayRouteResultTypeDef(TypedDict):
    Route: TransitGatewayRouteTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTypeDef
  2. See ResponseMetadataTypeDef

SearchTransitGatewayRoutesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SearchTransitGatewayRoutesResultTypeDef

def get_value() -> SearchTransitGatewayRoutesResultTypeDef:
    return {
        "Routes": ...,
        "AdditionalRoutesAvailable": ...,
        "ResponseMetadata": ...,
    }
Definition
class SearchTransitGatewayRoutesResultTypeDef(TypedDict):
    Routes: List[TransitGatewayRouteTypeDef],  # (1)
    AdditionalRoutesAvailable: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayRouteTypeDef
  2. See ResponseMetadataTypeDef

AcceptTransitGatewayVpcAttachmentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptTransitGatewayVpcAttachmentResultTypeDef

def get_value() -> AcceptTransitGatewayVpcAttachmentResultTypeDef:
    return {
        "TransitGatewayVpcAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class AcceptTransitGatewayVpcAttachmentResultTypeDef(TypedDict):
    TransitGatewayVpcAttachment: TransitGatewayVpcAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayVpcAttachmentTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitGatewayVpcAttachmentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayVpcAttachmentResultTypeDef

def get_value() -> CreateTransitGatewayVpcAttachmentResultTypeDef:
    return {
        "TransitGatewayVpcAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayVpcAttachmentResultTypeDef(TypedDict):
    TransitGatewayVpcAttachment: TransitGatewayVpcAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayVpcAttachmentTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayVpcAttachmentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayVpcAttachmentResultTypeDef

def get_value() -> DeleteTransitGatewayVpcAttachmentResultTypeDef:
    return {
        "TransitGatewayVpcAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayVpcAttachmentResultTypeDef(TypedDict):
    TransitGatewayVpcAttachment: TransitGatewayVpcAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayVpcAttachmentTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransitGatewayVpcAttachmentsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayVpcAttachmentsResultTypeDef

def get_value() -> DescribeTransitGatewayVpcAttachmentsResultTypeDef:
    return {
        "TransitGatewayVpcAttachments": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewayVpcAttachmentsResultTypeDef(TypedDict):
    TransitGatewayVpcAttachments: List[TransitGatewayVpcAttachmentTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayVpcAttachmentTypeDef
  2. See ResponseMetadataTypeDef

ModifyTransitGatewayVpcAttachmentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTransitGatewayVpcAttachmentResultTypeDef

def get_value() -> ModifyTransitGatewayVpcAttachmentResultTypeDef:
    return {
        "TransitGatewayVpcAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyTransitGatewayVpcAttachmentResultTypeDef(TypedDict):
    TransitGatewayVpcAttachment: TransitGatewayVpcAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayVpcAttachmentTypeDef
  2. See ResponseMetadataTypeDef

RejectTransitGatewayVpcAttachmentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectTransitGatewayVpcAttachmentResultTypeDef

def get_value() -> RejectTransitGatewayVpcAttachmentResultTypeDef:
    return {
        "TransitGatewayVpcAttachment": ...,
        "ResponseMetadata": ...,
    }
Definition
class RejectTransitGatewayVpcAttachmentResultTypeDef(TypedDict):
    TransitGatewayVpcAttachment: TransitGatewayVpcAttachmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayVpcAttachmentTypeDef
  2. See ResponseMetadataTypeDef

ModifyInstanceCreditSpecificationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceCreditSpecificationResultTypeDef

def get_value() -> ModifyInstanceCreditSpecificationResultTypeDef:
    return {
        "SuccessfulInstanceCreditSpecifications": ...,
        "UnsuccessfulInstanceCreditSpecifications": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyInstanceCreditSpecificationResultTypeDef(TypedDict):
    SuccessfulInstanceCreditSpecifications: List[SuccessfulInstanceCreditSpecificationItemTypeDef],  # (1)
    UnsuccessfulInstanceCreditSpecifications: List[UnsuccessfulInstanceCreditSpecificationItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SuccessfulInstanceCreditSpecificationItemTypeDef
  2. See UnsuccessfulInstanceCreditSpecificationItemTypeDef
  3. See ResponseMetadataTypeDef

AcceptVpcEndpointConnectionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptVpcEndpointConnectionsResultTypeDef

def get_value() -> AcceptVpcEndpointConnectionsResultTypeDef:
    return {
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class AcceptVpcEndpointConnectionsResultTypeDef(TypedDict):
    Unsuccessful: List[UnsuccessfulItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnsuccessfulItemTypeDef
  2. See ResponseMetadataTypeDef

CreateFlowLogsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateFlowLogsResultTypeDef

def get_value() -> CreateFlowLogsResultTypeDef:
    return {
        "ClientToken": ...,
        "FlowLogIds": ...,
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateFlowLogsResultTypeDef(TypedDict):
    ClientToken: str,
    FlowLogIds: List[str],
    Unsuccessful: List[UnsuccessfulItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnsuccessfulItemTypeDef
  2. See ResponseMetadataTypeDef

DeleteFlowLogsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteFlowLogsResultTypeDef

def get_value() -> DeleteFlowLogsResultTypeDef:
    return {
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteFlowLogsResultTypeDef(TypedDict):
    Unsuccessful: List[UnsuccessfulItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnsuccessfulItemTypeDef
  2. See ResponseMetadataTypeDef

DeleteVpcEndpointConnectionNotificationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcEndpointConnectionNotificationsResultTypeDef

def get_value() -> DeleteVpcEndpointConnectionNotificationsResultTypeDef:
    return {
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteVpcEndpointConnectionNotificationsResultTypeDef(TypedDict):
    Unsuccessful: List[UnsuccessfulItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnsuccessfulItemTypeDef
  2. See ResponseMetadataTypeDef

DeleteVpcEndpointServiceConfigurationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcEndpointServiceConfigurationsResultTypeDef

def get_value() -> DeleteVpcEndpointServiceConfigurationsResultTypeDef:
    return {
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteVpcEndpointServiceConfigurationsResultTypeDef(TypedDict):
    Unsuccessful: List[UnsuccessfulItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnsuccessfulItemTypeDef
  2. See ResponseMetadataTypeDef

DeleteVpcEndpointsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVpcEndpointsResultTypeDef

def get_value() -> DeleteVpcEndpointsResultTypeDef:
    return {
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteVpcEndpointsResultTypeDef(TypedDict):
    Unsuccessful: List[UnsuccessfulItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnsuccessfulItemTypeDef
  2. See ResponseMetadataTypeDef

ModifyHostsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyHostsResultTypeDef

def get_value() -> ModifyHostsResultTypeDef:
    return {
        "Successful": ...,
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyHostsResultTypeDef(TypedDict):
    Successful: List[str],
    Unsuccessful: List[UnsuccessfulItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnsuccessfulItemTypeDef
  2. See ResponseMetadataTypeDef

RejectVpcEndpointConnectionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RejectVpcEndpointConnectionsResultTypeDef

def get_value() -> RejectVpcEndpointConnectionsResultTypeDef:
    return {
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class RejectVpcEndpointConnectionsResultTypeDef(TypedDict):
    Unsuccessful: List[UnsuccessfulItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnsuccessfulItemTypeDef
  2. See ResponseMetadataTypeDef

ReleaseHostsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReleaseHostsResultTypeDef

def get_value() -> ReleaseHostsResultTypeDef:
    return {
        "Successful": ...,
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class ReleaseHostsResultTypeDef(TypedDict):
    Successful: List[str],
    Unsuccessful: List[UnsuccessfulItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See UnsuccessfulItemTypeDef
  2. See ResponseMetadataTypeDef

CreateLaunchTemplateResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLaunchTemplateResultTypeDef

def get_value() -> CreateLaunchTemplateResultTypeDef:
    return {
        "LaunchTemplate": ...,
        "Warning": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLaunchTemplateResultTypeDef(TypedDict):
    LaunchTemplate: LaunchTemplateTypeDef,  # (1)
    Warning: ValidationWarningTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LaunchTemplateTypeDef
  2. See ValidationWarningTypeDef
  3. See ResponseMetadataTypeDef

CreateVerifiedAccessEndpointResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessEndpointResultTypeDef

def get_value() -> CreateVerifiedAccessEndpointResultTypeDef:
    return {
        "VerifiedAccessEndpoint": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVerifiedAccessEndpointResultTypeDef(TypedDict):
    VerifiedAccessEndpoint: VerifiedAccessEndpointTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessEndpointTypeDef
  2. See ResponseMetadataTypeDef

DeleteVerifiedAccessEndpointResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVerifiedAccessEndpointResultTypeDef

def get_value() -> DeleteVerifiedAccessEndpointResultTypeDef:
    return {
        "VerifiedAccessEndpoint": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteVerifiedAccessEndpointResultTypeDef(TypedDict):
    VerifiedAccessEndpoint: VerifiedAccessEndpointTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessEndpointTypeDef
  2. See ResponseMetadataTypeDef

DescribeVerifiedAccessEndpointsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessEndpointsResultTypeDef

def get_value() -> DescribeVerifiedAccessEndpointsResultTypeDef:
    return {
        "VerifiedAccessEndpoints": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVerifiedAccessEndpointsResultTypeDef(TypedDict):
    VerifiedAccessEndpoints: List[VerifiedAccessEndpointTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessEndpointTypeDef
  2. See ResponseMetadataTypeDef

ModifyVerifiedAccessEndpointResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessEndpointResultTypeDef

def get_value() -> ModifyVerifiedAccessEndpointResultTypeDef:
    return {
        "VerifiedAccessEndpoint": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVerifiedAccessEndpointResultTypeDef(TypedDict):
    VerifiedAccessEndpoint: VerifiedAccessEndpointTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessEndpointTypeDef
  2. See ResponseMetadataTypeDef

AttachVerifiedAccessTrustProviderResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AttachVerifiedAccessTrustProviderResultTypeDef

def get_value() -> AttachVerifiedAccessTrustProviderResultTypeDef:
    return {
        "VerifiedAccessTrustProvider": ...,
        "VerifiedAccessInstance": ...,
        "ResponseMetadata": ...,
    }
Definition
class AttachVerifiedAccessTrustProviderResultTypeDef(TypedDict):
    VerifiedAccessTrustProvider: VerifiedAccessTrustProviderTypeDef,  # (1)
    VerifiedAccessInstance: VerifiedAccessInstanceTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See VerifiedAccessTrustProviderTypeDef
  2. See VerifiedAccessInstanceTypeDef
  3. See ResponseMetadataTypeDef

CreateVerifiedAccessInstanceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVerifiedAccessInstanceResultTypeDef

def get_value() -> CreateVerifiedAccessInstanceResultTypeDef:
    return {
        "VerifiedAccessInstance": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVerifiedAccessInstanceResultTypeDef(TypedDict):
    VerifiedAccessInstance: VerifiedAccessInstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessInstanceTypeDef
  2. See ResponseMetadataTypeDef

DeleteVerifiedAccessInstanceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteVerifiedAccessInstanceResultTypeDef

def get_value() -> DeleteVerifiedAccessInstanceResultTypeDef:
    return {
        "VerifiedAccessInstance": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteVerifiedAccessInstanceResultTypeDef(TypedDict):
    VerifiedAccessInstance: VerifiedAccessInstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessInstanceTypeDef
  2. See ResponseMetadataTypeDef

DescribeVerifiedAccessInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessInstancesResultTypeDef

def get_value() -> DescribeVerifiedAccessInstancesResultTypeDef:
    return {
        "VerifiedAccessInstances": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVerifiedAccessInstancesResultTypeDef(TypedDict):
    VerifiedAccessInstances: List[VerifiedAccessInstanceTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessInstanceTypeDef
  2. See ResponseMetadataTypeDef

DetachVerifiedAccessTrustProviderResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DetachVerifiedAccessTrustProviderResultTypeDef

def get_value() -> DetachVerifiedAccessTrustProviderResultTypeDef:
    return {
        "VerifiedAccessTrustProvider": ...,
        "VerifiedAccessInstance": ...,
        "ResponseMetadata": ...,
    }
Definition
class DetachVerifiedAccessTrustProviderResultTypeDef(TypedDict):
    VerifiedAccessTrustProvider: VerifiedAccessTrustProviderTypeDef,  # (1)
    VerifiedAccessInstance: VerifiedAccessInstanceTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See VerifiedAccessTrustProviderTypeDef
  2. See VerifiedAccessInstanceTypeDef
  3. See ResponseMetadataTypeDef

ModifyVerifiedAccessInstanceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessInstanceResultTypeDef

def get_value() -> ModifyVerifiedAccessInstanceResultTypeDef:
    return {
        "VerifiedAccessInstance": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVerifiedAccessInstanceResultTypeDef(TypedDict):
    VerifiedAccessInstance: VerifiedAccessInstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessInstanceTypeDef
  2. See ResponseMetadataTypeDef

VerifiedAccessLogsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessLogsTypeDef

def get_value() -> VerifiedAccessLogsTypeDef:
    return {
        "S3": ...,
    }
Definition
class VerifiedAccessLogsTypeDef(TypedDict):
    S3: NotRequired[VerifiedAccessLogS3DestinationTypeDef],  # (1)
    CloudWatchLogs: NotRequired[VerifiedAccessLogCloudWatchLogsDestinationTypeDef],  # (2)
    KinesisDataFirehose: NotRequired[VerifiedAccessLogKinesisDataFirehoseDestinationTypeDef],  # (3)
  1. See VerifiedAccessLogS3DestinationTypeDef
  2. See VerifiedAccessLogCloudWatchLogsDestinationTypeDef
  3. See VerifiedAccessLogKinesisDataFirehoseDestinationTypeDef

ModifyVerifiedAccessInstanceLoggingConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessInstanceLoggingConfigurationRequestRequestTypeDef

def get_value() -> ModifyVerifiedAccessInstanceLoggingConfigurationRequestRequestTypeDef:
    return {
        "VerifiedAccessInstanceId": ...,
        "AccessLogs": ...,
    }
Definition
class ModifyVerifiedAccessInstanceLoggingConfigurationRequestRequestTypeDef(TypedDict):
    VerifiedAccessInstanceId: str,
    AccessLogs: VerifiedAccessLogOptionsTypeDef,  # (1)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
  1. See VerifiedAccessLogOptionsTypeDef

DescribeVolumesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumesResultTypeDef

def get_value() -> DescribeVolumesResultTypeDef:
    return {
        "Volumes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVolumesResultTypeDef(TypedDict):
    Volumes: List[VolumeTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VolumeTypeDef
  2. See ResponseMetadataTypeDef

VolumeStatusItemTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VolumeStatusItemTypeDef

def get_value() -> VolumeStatusItemTypeDef:
    return {
        "Actions": ...,
    }
Definition
class VolumeStatusItemTypeDef(TypedDict):
    Actions: NotRequired[List[VolumeStatusActionTypeDef]],  # (1)
    AvailabilityZone: NotRequired[str],
    OutpostArn: NotRequired[str],
    Events: NotRequired[List[VolumeStatusEventTypeDef]],  # (2)
    VolumeId: NotRequired[str],
    VolumeStatus: NotRequired[VolumeStatusInfoTypeDef],  # (3)
    AttachmentStatuses: NotRequired[List[VolumeStatusAttachmentStatusTypeDef]],  # (4)
  1. See VolumeStatusActionTypeDef
  2. See VolumeStatusEventTypeDef
  3. See VolumeStatusInfoTypeDef
  4. See VolumeStatusAttachmentStatusTypeDef

AssociateVpcCidrBlockResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateVpcCidrBlockResultTypeDef

def get_value() -> AssociateVpcCidrBlockResultTypeDef:
    return {
        "Ipv6CidrBlockAssociation": ...,
        "CidrBlockAssociation": ...,
        "VpcId": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateVpcCidrBlockResultTypeDef(TypedDict):
    Ipv6CidrBlockAssociation: VpcIpv6CidrBlockAssociationTypeDef,  # (1)
    CidrBlockAssociation: VpcCidrBlockAssociationTypeDef,  # (2)
    VpcId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See VpcIpv6CidrBlockAssociationTypeDef
  2. See VpcCidrBlockAssociationTypeDef
  3. See ResponseMetadataTypeDef

DisassociateVpcCidrBlockResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateVpcCidrBlockResultTypeDef

def get_value() -> DisassociateVpcCidrBlockResultTypeDef:
    return {
        "Ipv6CidrBlockAssociation": ...,
        "CidrBlockAssociation": ...,
        "VpcId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateVpcCidrBlockResultTypeDef(TypedDict):
    Ipv6CidrBlockAssociation: VpcIpv6CidrBlockAssociationTypeDef,  # (1)
    CidrBlockAssociation: VpcCidrBlockAssociationTypeDef,  # (2)
    VpcId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See VpcIpv6CidrBlockAssociationTypeDef
  2. See VpcCidrBlockAssociationTypeDef
  3. See ResponseMetadataTypeDef

VpcTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcTypeDef

def get_value() -> VpcTypeDef:
    return {
        "CidrBlock": ...,
    }
Definition
class VpcTypeDef(TypedDict):
    CidrBlock: NotRequired[str],
    DhcpOptionsId: NotRequired[str],
    State: NotRequired[VpcStateType],  # (1)
    VpcId: NotRequired[str],
    OwnerId: NotRequired[str],
    InstanceTenancy: NotRequired[TenancyType],  # (2)
    Ipv6CidrBlockAssociationSet: NotRequired[List[VpcIpv6CidrBlockAssociationTypeDef]],  # (3)
    CidrBlockAssociationSet: NotRequired[List[VpcCidrBlockAssociationTypeDef]],  # (4)
    IsDefault: NotRequired[bool],
    Tags: NotRequired[List[TagTypeDef]],  # (5)
  1. See VpcStateType
  2. See TenancyType
  3. See VpcIpv6CidrBlockAssociationTypeDef
  4. See VpcCidrBlockAssociationTypeDef
  5. See TagTypeDef

VpcPeeringConnectionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpcPeeringConnectionTypeDef

def get_value() -> VpcPeeringConnectionTypeDef:
    return {
        "AccepterVpcInfo": ...,
    }
Definition
class VpcPeeringConnectionTypeDef(TypedDict):
    AccepterVpcInfo: NotRequired[VpcPeeringConnectionVpcInfoTypeDef],  # (1)
    ExpirationTime: NotRequired[datetime],
    RequesterVpcInfo: NotRequired[VpcPeeringConnectionVpcInfoTypeDef],  # (1)
    Status: NotRequired[VpcPeeringConnectionStateReasonTypeDef],  # (3)
    Tags: NotRequired[List[TagTypeDef]],  # (4)
    VpcPeeringConnectionId: NotRequired[str],
  1. See VpcPeeringConnectionVpcInfoTypeDef
  2. See VpcPeeringConnectionVpcInfoTypeDef
  3. See VpcPeeringConnectionStateReasonTypeDef
  4. See TagTypeDef

AssociateInstanceEventWindowResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AssociateInstanceEventWindowResultTypeDef

def get_value() -> AssociateInstanceEventWindowResultTypeDef:
    return {
        "InstanceEventWindow": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateInstanceEventWindowResultTypeDef(TypedDict):
    InstanceEventWindow: InstanceEventWindowTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceEventWindowTypeDef
  2. See ResponseMetadataTypeDef

CreateInstanceEventWindowResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateInstanceEventWindowResultTypeDef

def get_value() -> CreateInstanceEventWindowResultTypeDef:
    return {
        "InstanceEventWindow": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateInstanceEventWindowResultTypeDef(TypedDict):
    InstanceEventWindow: InstanceEventWindowTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceEventWindowTypeDef
  2. See ResponseMetadataTypeDef

DescribeInstanceEventWindowsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceEventWindowsResultTypeDef

def get_value() -> DescribeInstanceEventWindowsResultTypeDef:
    return {
        "InstanceEventWindows": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInstanceEventWindowsResultTypeDef(TypedDict):
    InstanceEventWindows: List[InstanceEventWindowTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceEventWindowTypeDef
  2. See ResponseMetadataTypeDef

DisassociateInstanceEventWindowResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisassociateInstanceEventWindowResultTypeDef

def get_value() -> DisassociateInstanceEventWindowResultTypeDef:
    return {
        "InstanceEventWindow": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateInstanceEventWindowResultTypeDef(TypedDict):
    InstanceEventWindow: InstanceEventWindowTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceEventWindowTypeDef
  2. See ResponseMetadataTypeDef

ModifyInstanceEventWindowResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyInstanceEventWindowResultTypeDef

def get_value() -> ModifyInstanceEventWindowResultTypeDef:
    return {
        "InstanceEventWindow": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyInstanceEventWindowResultTypeDef(TypedDict):
    InstanceEventWindow: InstanceEventWindowTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceEventWindowTypeDef
  2. See ResponseMetadataTypeDef

PathComponentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import PathComponentTypeDef

def get_value() -> PathComponentTypeDef:
    return {
        "SequenceNumber": ...,
    }
Definition
class PathComponentTypeDef(TypedDict):
    SequenceNumber: NotRequired[int],
    AclRule: NotRequired[AnalysisAclRuleTypeDef],  # (1)
    AttachedTo: NotRequired[AnalysisComponentTypeDef],  # (2)
    Component: NotRequired[AnalysisComponentTypeDef],  # (2)
    DestinationVpc: NotRequired[AnalysisComponentTypeDef],  # (2)
    OutboundHeader: NotRequired[AnalysisPacketHeaderTypeDef],  # (5)
    InboundHeader: NotRequired[AnalysisPacketHeaderTypeDef],  # (5)
    RouteTableRoute: NotRequired[AnalysisRouteTableRouteTypeDef],  # (7)
    SecurityGroupRule: NotRequired[AnalysisSecurityGroupRuleTypeDef],  # (8)
    SourceVpc: NotRequired[AnalysisComponentTypeDef],  # (2)
    Subnet: NotRequired[AnalysisComponentTypeDef],  # (2)
    Vpc: NotRequired[AnalysisComponentTypeDef],  # (2)
    AdditionalDetails: NotRequired[List[AdditionalDetailTypeDef]],  # (12)
    TransitGateway: NotRequired[AnalysisComponentTypeDef],  # (2)
    TransitGatewayRouteTableRoute: NotRequired[TransitGatewayRouteTableRouteTypeDef],  # (14)
    Explanations: NotRequired[List[ExplanationTypeDef]],  # (15)
    ElasticLoadBalancerListener: NotRequired[AnalysisComponentTypeDef],  # (2)
  1. See AnalysisAclRuleTypeDef
  2. See AnalysisComponentTypeDef
  3. See AnalysisComponentTypeDef
  4. See AnalysisComponentTypeDef
  5. See AnalysisPacketHeaderTypeDef
  6. See AnalysisPacketHeaderTypeDef
  7. See AnalysisRouteTableRouteTypeDef
  8. See AnalysisSecurityGroupRuleTypeDef
  9. See AnalysisComponentTypeDef
  10. See AnalysisComponentTypeDef
  11. See AnalysisComponentTypeDef
  12. See AdditionalDetailTypeDef
  13. See AnalysisComponentTypeDef
  14. See TransitGatewayRouteTableRouteTypeDef
  15. See ExplanationTypeDef
  16. See AnalysisComponentTypeDef

CreateRouteTableResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateRouteTableResultTypeDef

def get_value() -> CreateRouteTableResultTypeDef:
    return {
        "RouteTable": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateRouteTableResultTypeDef(TypedDict):
    RouteTable: RouteTableTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RouteTableTypeDef
  2. See ResponseMetadataTypeDef

DescribeRouteTablesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeRouteTablesResultTypeDef

def get_value() -> DescribeRouteTablesResultTypeDef:
    return {
        "RouteTables": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeRouteTablesResultTypeDef(TypedDict):
    RouteTables: List[RouteTableTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RouteTableTypeDef
  2. See ResponseMetadataTypeDef

DescribeNetworkInterfaceAttributeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfaceAttributeResultTypeDef

def get_value() -> DescribeNetworkInterfaceAttributeResultTypeDef:
    return {
        "Attachment": ...,
        "Description": ...,
        "Groups": ...,
        "NetworkInterfaceId": ...,
        "SourceDestCheck": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNetworkInterfaceAttributeResultTypeDef(TypedDict):
    Attachment: NetworkInterfaceAttachmentTypeDef,  # (1)
    Description: AttributeValueTypeDef,  # (2)
    Groups: List[GroupIdentifierTypeDef],  # (3)
    NetworkInterfaceId: str,
    SourceDestCheck: AttributeBooleanValueTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See NetworkInterfaceAttachmentTypeDef
  2. See AttributeValueTypeDef
  3. See GroupIdentifierTypeDef
  4. See AttributeBooleanValueTypeDef
  5. See ResponseMetadataTypeDef

NetworkInterfaceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInterfaceTypeDef

def get_value() -> NetworkInterfaceTypeDef:
    return {
        "Association": ...,
    }
Definition
class NetworkInterfaceTypeDef(TypedDict):
    Association: NotRequired[NetworkInterfaceAssociationTypeDef],  # (1)
    Attachment: NotRequired[NetworkInterfaceAttachmentTypeDef],  # (2)
    AvailabilityZone: NotRequired[str],
    Description: NotRequired[str],
    Groups: NotRequired[List[GroupIdentifierTypeDef]],  # (3)
    InterfaceType: NotRequired[NetworkInterfaceTypeType],  # (4)
    Ipv6Addresses: NotRequired[List[NetworkInterfaceIpv6AddressTypeDef]],  # (5)
    MacAddress: NotRequired[str],
    NetworkInterfaceId: NotRequired[str],
    OutpostArn: NotRequired[str],
    OwnerId: NotRequired[str],
    PrivateDnsName: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    PrivateIpAddresses: NotRequired[List[NetworkInterfacePrivateIpAddressTypeDef]],  # (6)
    Ipv4Prefixes: NotRequired[List[Ipv4PrefixSpecificationTypeDef]],  # (7)
    Ipv6Prefixes: NotRequired[List[Ipv6PrefixSpecificationTypeDef]],  # (8)
    RequesterId: NotRequired[str],
    RequesterManaged: NotRequired[bool],
    SourceDestCheck: NotRequired[bool],
    Status: NotRequired[NetworkInterfaceStatusType],  # (9)
    SubnetId: NotRequired[str],
    TagSet: NotRequired[List[TagTypeDef]],  # (10)
    VpcId: NotRequired[str],
    DenyAllIgwTraffic: NotRequired[bool],
    Ipv6Native: NotRequired[bool],
    Ipv6Address: NotRequired[str],
  1. See NetworkInterfaceAssociationTypeDef
  2. See NetworkInterfaceAttachmentTypeDef
  3. See GroupIdentifierTypeDef
  4. See NetworkInterfaceTypeType
  5. See NetworkInterfaceIpv6AddressTypeDef
  6. See NetworkInterfacePrivateIpAddressTypeDef
  7. See Ipv4PrefixSpecificationTypeDef
  8. See Ipv6PrefixSpecificationTypeDef
  9. See NetworkInterfaceStatusType
  10. See TagTypeDef

CreateDhcpOptionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateDhcpOptionsResultTypeDef

def get_value() -> CreateDhcpOptionsResultTypeDef:
    return {
        "DhcpOptions": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDhcpOptionsResultTypeDef(TypedDict):
    DhcpOptions: DhcpOptionsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DhcpOptionsTypeDef
  2. See ResponseMetadataTypeDef

DescribeDhcpOptionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeDhcpOptionsResultTypeDef

def get_value() -> DescribeDhcpOptionsResultTypeDef:
    return {
        "DhcpOptions": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeDhcpOptionsResultTypeDef(TypedDict):
    DhcpOptions: List[DhcpOptionsTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DhcpOptionsTypeDef
  2. See ResponseMetadataTypeDef

DescribeHostsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeHostsResultTypeDef

def get_value() -> DescribeHostsResultTypeDef:
    return {
        "Hosts": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeHostsResultTypeDef(TypedDict):
    Hosts: List[HostTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HostTypeDef
  2. See ResponseMetadataTypeDef

DescribeImagesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImagesResultTypeDef

def get_value() -> DescribeImagesResultTypeDef:
    return {
        "Images": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeImagesResultTypeDef(TypedDict):
    Images: List[ImageTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImageTypeDef
  2. See ResponseMetadataTypeDef

DescribeClientVpnEndpointsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeClientVpnEndpointsResultTypeDef

def get_value() -> DescribeClientVpnEndpointsResultTypeDef:
    return {
        "ClientVpnEndpoints": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClientVpnEndpointsResultTypeDef(TypedDict):
    ClientVpnEndpoints: List[ClientVpnEndpointTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClientVpnEndpointTypeDef
  2. See ResponseMetadataTypeDef

ModifyVpnTunnelOptionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpnTunnelOptionsRequestRequestTypeDef

def get_value() -> ModifyVpnTunnelOptionsRequestRequestTypeDef:
    return {
        "VpnConnectionId": ...,
        "VpnTunnelOutsideIpAddress": ...,
        "TunnelOptions": ...,
    }
Definition
class ModifyVpnTunnelOptionsRequestRequestTypeDef(TypedDict):
    VpnConnectionId: str,
    VpnTunnelOutsideIpAddress: str,
    TunnelOptions: ModifyVpnTunnelOptionsSpecificationTypeDef,  # (1)
    DryRun: NotRequired[bool],
  1. See ModifyVpnTunnelOptionsSpecificationTypeDef

VpnConnectionOptionsSpecificationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpnConnectionOptionsSpecificationTypeDef

def get_value() -> VpnConnectionOptionsSpecificationTypeDef:
    return {
        "EnableAcceleration": ...,
    }
Definition
class VpnConnectionOptionsSpecificationTypeDef(TypedDict):
    EnableAcceleration: NotRequired[bool],
    StaticRoutesOnly: NotRequired[bool],
    TunnelInsideIpVersion: NotRequired[TunnelInsideIpVersionType],  # (1)
    TunnelOptions: NotRequired[Sequence[VpnTunnelOptionsSpecificationTypeDef]],  # (2)
    LocalIpv4NetworkCidr: NotRequired[str],
    RemoteIpv4NetworkCidr: NotRequired[str],
    LocalIpv6NetworkCidr: NotRequired[str],
    RemoteIpv6NetworkCidr: NotRequired[str],
    OutsideIpAddressType: NotRequired[str],
    TransportTransitGatewayAttachmentId: NotRequired[str],
  1. See TunnelInsideIpVersionType
  2. See VpnTunnelOptionsSpecificationTypeDef

VpnConnectionOptionsTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpnConnectionOptionsTypeDef

def get_value() -> VpnConnectionOptionsTypeDef:
    return {
        "EnableAcceleration": ...,
    }
Definition
class VpnConnectionOptionsTypeDef(TypedDict):
    EnableAcceleration: NotRequired[bool],
    StaticRoutesOnly: NotRequired[bool],
    LocalIpv4NetworkCidr: NotRequired[str],
    RemoteIpv4NetworkCidr: NotRequired[str],
    LocalIpv6NetworkCidr: NotRequired[str],
    RemoteIpv6NetworkCidr: NotRequired[str],
    OutsideIpAddressType: NotRequired[str],
    TransportTransitGatewayAttachmentId: NotRequired[str],
    TunnelInsideIpVersion: NotRequired[TunnelInsideIpVersionType],  # (1)
    TunnelOptions: NotRequired[List[TunnelOptionTypeDef]],  # (2)
  1. See TunnelInsideIpVersionType
  2. See TunnelOptionTypeDef

CreateNetworkAclResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkAclResultTypeDef

def get_value() -> CreateNetworkAclResultTypeDef:
    return {
        "NetworkAcl": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateNetworkAclResultTypeDef(TypedDict):
    NetworkAcl: NetworkAclTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkAclTypeDef
  2. See ResponseMetadataTypeDef

DescribeNetworkAclsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkAclsResultTypeDef

def get_value() -> DescribeNetworkAclsResultTypeDef:
    return {
        "NetworkAcls": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNetworkAclsResultTypeDef(TypedDict):
    NetworkAcls: List[NetworkAclTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkAclTypeDef
  2. See ResponseMetadataTypeDef

SpotInstanceRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotInstanceRequestTypeDef

def get_value() -> SpotInstanceRequestTypeDef:
    return {
        "ActualBlockHourlyPrice": ...,
    }
Definition
class SpotInstanceRequestTypeDef(TypedDict):
    ActualBlockHourlyPrice: NotRequired[str],
    AvailabilityZoneGroup: NotRequired[str],
    BlockDurationMinutes: NotRequired[int],
    CreateTime: NotRequired[datetime],
    Fault: NotRequired[SpotInstanceStateFaultTypeDef],  # (1)
    InstanceId: NotRequired[str],
    LaunchGroup: NotRequired[str],
    LaunchSpecification: NotRequired[LaunchSpecificationTypeDef],  # (2)
    LaunchedAvailabilityZone: NotRequired[str],
    ProductDescription: NotRequired[RIProductDescriptionType],  # (3)
    SpotInstanceRequestId: NotRequired[str],
    SpotPrice: NotRequired[str],
    State: NotRequired[SpotInstanceStateType],  # (4)
    Status: NotRequired[SpotInstanceStatusTypeDef],  # (5)
    Tags: NotRequired[List[TagTypeDef]],  # (6)
    Type: NotRequired[SpotInstanceTypeType],  # (7)
    ValidFrom: NotRequired[datetime],
    ValidUntil: NotRequired[datetime],
    InstanceInterruptionBehavior: NotRequired[InstanceInterruptionBehaviorType],  # (8)
  1. See SpotInstanceStateFaultTypeDef
  2. See LaunchSpecificationTypeDef
  3. See RIProductDescriptionType
  4. See SpotInstanceStateType
  5. See SpotInstanceStatusTypeDef
  6. See TagTypeDef
  7. See SpotInstanceTypeType
  8. See InstanceInterruptionBehaviorType

RequestSpotInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RequestSpotInstancesRequestRequestTypeDef

def get_value() -> RequestSpotInstancesRequestRequestTypeDef:
    return {
        "AvailabilityZoneGroup": ...,
    }
Definition
class RequestSpotInstancesRequestRequestTypeDef(TypedDict):
    AvailabilityZoneGroup: NotRequired[str],
    BlockDurationMinutes: NotRequired[int],
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
    InstanceCount: NotRequired[int],
    LaunchGroup: NotRequired[str],
    LaunchSpecification: NotRequired[RequestSpotLaunchSpecificationTypeDef],  # (1)
    SpotPrice: NotRequired[str],
    Type: NotRequired[SpotInstanceTypeType],  # (2)
    ValidFrom: NotRequired[Union[datetime, str]],
    ValidUntil: NotRequired[Union[datetime, str]],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (3)
    InstanceInterruptionBehavior: NotRequired[InstanceInterruptionBehaviorType],  # (4)
  1. See RequestSpotLaunchSpecificationTypeDef
  2. See SpotInstanceTypeType
  3. See TagSpecificationTypeDef
  4. See InstanceInterruptionBehaviorType

DisableFastSnapshotRestoresResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DisableFastSnapshotRestoresResultTypeDef

def get_value() -> DisableFastSnapshotRestoresResultTypeDef:
    return {
        "Successful": ...,
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisableFastSnapshotRestoresResultTypeDef(TypedDict):
    Successful: List[DisableFastSnapshotRestoreSuccessItemTypeDef],  # (1)
    Unsuccessful: List[DisableFastSnapshotRestoreErrorItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DisableFastSnapshotRestoreSuccessItemTypeDef
  2. See DisableFastSnapshotRestoreErrorItemTypeDef
  3. See ResponseMetadataTypeDef

ConversionTaskTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ConversionTaskTypeDef

def get_value() -> ConversionTaskTypeDef:
    return {
        "ConversionTaskId": ...,
    }
Definition
class ConversionTaskTypeDef(TypedDict):
    ConversionTaskId: NotRequired[str],
    ExpirationTime: NotRequired[str],
    ImportInstance: NotRequired[ImportInstanceTaskDetailsTypeDef],  # (1)
    ImportVolume: NotRequired[ImportVolumeTaskDetailsTypeDef],  # (2)
    State: NotRequired[ConversionTaskStateType],  # (3)
    StatusMessage: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See ImportInstanceTaskDetailsTypeDef
  2. See ImportVolumeTaskDetailsTypeDef
  3. See ConversionTaskStateType
  4. See TagTypeDef

EnableFastSnapshotRestoresResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import EnableFastSnapshotRestoresResultTypeDef

def get_value() -> EnableFastSnapshotRestoresResultTypeDef:
    return {
        "Successful": ...,
        "Unsuccessful": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnableFastSnapshotRestoresResultTypeDef(TypedDict):
    Successful: List[EnableFastSnapshotRestoreSuccessItemTypeDef],  # (1)
    Unsuccessful: List[EnableFastSnapshotRestoreErrorItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See EnableFastSnapshotRestoreSuccessItemTypeDef
  2. See EnableFastSnapshotRestoreErrorItemTypeDef
  3. See ResponseMetadataTypeDef

InstanceTypeInfoTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceTypeInfoTypeDef

def get_value() -> InstanceTypeInfoTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class InstanceTypeInfoTypeDef(TypedDict):
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    CurrentGeneration: NotRequired[bool],
    FreeTierEligible: NotRequired[bool],
    SupportedUsageClasses: NotRequired[List[UsageClassTypeType]],  # (2)
    SupportedRootDeviceTypes: NotRequired[List[RootDeviceTypeType]],  # (3)
    SupportedVirtualizationTypes: NotRequired[List[VirtualizationTypeType]],  # (4)
    BareMetal: NotRequired[bool],
    Hypervisor: NotRequired[InstanceTypeHypervisorType],  # (5)
    ProcessorInfo: NotRequired[ProcessorInfoTypeDef],  # (6)
    VCpuInfo: NotRequired[VCpuInfoTypeDef],  # (7)
    MemoryInfo: NotRequired[MemoryInfoTypeDef],  # (8)
    InstanceStorageSupported: NotRequired[bool],
    InstanceStorageInfo: NotRequired[InstanceStorageInfoTypeDef],  # (9)
    EbsInfo: NotRequired[EbsInfoTypeDef],  # (10)
    NetworkInfo: NotRequired[NetworkInfoTypeDef],  # (11)
    GpuInfo: NotRequired[GpuInfoTypeDef],  # (12)
    FpgaInfo: NotRequired[FpgaInfoTypeDef],  # (13)
    PlacementGroupInfo: NotRequired[PlacementGroupInfoTypeDef],  # (14)
    InferenceAcceleratorInfo: NotRequired[InferenceAcceleratorInfoTypeDef],  # (15)
    HibernationSupported: NotRequired[bool],
    BurstablePerformanceSupported: NotRequired[bool],
    DedicatedHostsSupported: NotRequired[bool],
    AutoRecoverySupported: NotRequired[bool],
    SupportedBootModes: NotRequired[List[BootModeTypeType]],  # (16)
  1. See InstanceTypeType
  2. See UsageClassTypeType
  3. See RootDeviceTypeType
  4. See VirtualizationTypeType
  5. See InstanceTypeHypervisorType
  6. See ProcessorInfoTypeDef
  7. See VCpuInfoTypeDef
  8. See MemoryInfoTypeDef
  9. See InstanceStorageInfoTypeDef
  10. See EbsInfoTypeDef
  11. See NetworkInfoTypeDef
  12. See GpuInfoTypeDef
  13. See FpgaInfoTypeDef
  14. See PlacementGroupInfoTypeDef
  15. See InferenceAcceleratorInfoTypeDef
  16. See BootModeTypeType

InstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import InstanceTypeDef

def get_value() -> InstanceTypeDef:
    return {
        "AmiLaunchIndex": ...,
    }
Definition
class InstanceTypeDef(TypedDict):
    AmiLaunchIndex: NotRequired[int],
    ImageId: NotRequired[str],
    InstanceId: NotRequired[str],
    InstanceType: NotRequired[InstanceTypeType],  # (1)
    KernelId: NotRequired[str],
    KeyName: NotRequired[str],
    LaunchTime: NotRequired[datetime],
    Monitoring: NotRequired[MonitoringTypeDef],  # (2)
    Placement: NotRequired[PlacementTypeDef],  # (3)
    Platform: NotRequired[PlatformValuesType],  # (4)
    PrivateDnsName: NotRequired[str],
    PrivateIpAddress: NotRequired[str],
    ProductCodes: NotRequired[List[ProductCodeTypeDef]],  # (5)
    PublicDnsName: NotRequired[str],
    PublicIpAddress: NotRequired[str],
    RamdiskId: NotRequired[str],
    State: NotRequired[InstanceStateTypeDef],  # (6)
    StateTransitionReason: NotRequired[str],
    SubnetId: NotRequired[str],
    VpcId: NotRequired[str],
    Architecture: NotRequired[ArchitectureValuesType],  # (7)
    BlockDeviceMappings: NotRequired[List[InstanceBlockDeviceMappingTypeDef]],  # (8)
    ClientToken: NotRequired[str],
    EbsOptimized: NotRequired[bool],
    EnaSupport: NotRequired[bool],
    Hypervisor: NotRequired[HypervisorTypeType],  # (9)
    IamInstanceProfile: NotRequired[IamInstanceProfileTypeDef],  # (10)
    InstanceLifecycle: NotRequired[InstanceLifecycleTypeType],  # (11)
    ElasticGpuAssociations: NotRequired[List[ElasticGpuAssociationTypeDef]],  # (12)
    ElasticInferenceAcceleratorAssociations: NotRequired[List[ElasticInferenceAcceleratorAssociationTypeDef]],  # (13)
    NetworkInterfaces: NotRequired[List[InstanceNetworkInterfaceTypeDef]],  # (14)
    OutpostArn: NotRequired[str],
    RootDeviceName: NotRequired[str],
    RootDeviceType: NotRequired[DeviceTypeType],  # (15)
    SecurityGroups: NotRequired[List[GroupIdentifierTypeDef]],  # (16)
    SourceDestCheck: NotRequired[bool],
    SpotInstanceRequestId: NotRequired[str],
    SriovNetSupport: NotRequired[str],
    StateReason: NotRequired[StateReasonTypeDef],  # (17)
    Tags: NotRequired[List[TagTypeDef]],  # (18)
    VirtualizationType: NotRequired[VirtualizationTypeType],  # (19)
    CpuOptions: NotRequired[CpuOptionsTypeDef],  # (20)
    CapacityReservationId: NotRequired[str],
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationResponseTypeDef],  # (21)
    HibernationOptions: NotRequired[HibernationOptionsTypeDef],  # (22)
    Licenses: NotRequired[List[LicenseConfigurationTypeDef]],  # (23)
    MetadataOptions: NotRequired[InstanceMetadataOptionsResponseTypeDef],  # (24)
    EnclaveOptions: NotRequired[EnclaveOptionsTypeDef],  # (25)
    BootMode: NotRequired[BootModeValuesType],  # (26)
    PlatformDetails: NotRequired[str],
    UsageOperation: NotRequired[str],
    UsageOperationUpdateTime: NotRequired[datetime],
    PrivateDnsNameOptions: NotRequired[PrivateDnsNameOptionsResponseTypeDef],  # (27)
    Ipv6Address: NotRequired[str],
    TpmSupport: NotRequired[str],
    MaintenanceOptions: NotRequired[InstanceMaintenanceOptionsTypeDef],  # (28)
    CurrentInstanceBootMode: NotRequired[InstanceBootModeValuesType],  # (29)
  1. See InstanceTypeType
  2. See MonitoringTypeDef
  3. See PlacementTypeDef
  4. See PlatformValuesType
  5. See ProductCodeTypeDef
  6. See InstanceStateTypeDef
  7. See ArchitectureValuesType
  8. See InstanceBlockDeviceMappingTypeDef
  9. See HypervisorTypeType
  10. See IamInstanceProfileTypeDef
  11. See InstanceLifecycleTypeType
  12. See ElasticGpuAssociationTypeDef
  13. See ElasticInferenceAcceleratorAssociationTypeDef
  14. See InstanceNetworkInterfaceTypeDef
  15. See DeviceTypeType
  16. See GroupIdentifierTypeDef
  17. See StateReasonTypeDef
  18. See TagTypeDef
  19. See VirtualizationTypeType
  20. See CpuOptionsTypeDef
  21. See CapacityReservationSpecificationResponseTypeDef
  22. See HibernationOptionsTypeDef
  23. See LicenseConfigurationTypeDef
  24. See InstanceMetadataOptionsResponseTypeDef
  25. See EnclaveOptionsTypeDef
  26. See BootModeValuesType
  27. See PrivateDnsNameOptionsResponseTypeDef
  28. See InstanceMaintenanceOptionsTypeDef
  29. See InstanceBootModeValuesType

FleetLaunchTemplateConfigRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetLaunchTemplateConfigRequestTypeDef

def get_value() -> FleetLaunchTemplateConfigRequestTypeDef:
    return {
        "LaunchTemplateSpecification": ...,
    }
Definition
class FleetLaunchTemplateConfigRequestTypeDef(TypedDict):
    LaunchTemplateSpecification: NotRequired[FleetLaunchTemplateSpecificationRequestTypeDef],  # (1)
    Overrides: NotRequired[Sequence[FleetLaunchTemplateOverridesRequestTypeDef]],  # (2)
  1. See FleetLaunchTemplateSpecificationRequestTypeDef
  2. See FleetLaunchTemplateOverridesRequestTypeDef

GetSpotPlacementScoresRequestGetSpotPlacementScoresPaginateTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetSpotPlacementScoresRequestGetSpotPlacementScoresPaginateTypeDef

def get_value() -> GetSpotPlacementScoresRequestGetSpotPlacementScoresPaginateTypeDef:
    return {
        "TargetCapacity": ...,
    }
Definition
class GetSpotPlacementScoresRequestGetSpotPlacementScoresPaginateTypeDef(TypedDict):
    TargetCapacity: int,
    InstanceTypes: NotRequired[Sequence[str]],
    TargetCapacityUnitType: NotRequired[TargetCapacityUnitTypeType],  # (1)
    SingleAvailabilityZone: NotRequired[bool],
    RegionNames: NotRequired[Sequence[str]],
    InstanceRequirementsWithMetadata: NotRequired[InstanceRequirementsWithMetadataRequestTypeDef],  # (2)
    DryRun: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See TargetCapacityUnitTypeType
  2. See InstanceRequirementsWithMetadataRequestTypeDef
  3. See PaginatorConfigTypeDef

GetSpotPlacementScoresRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetSpotPlacementScoresRequestRequestTypeDef

def get_value() -> GetSpotPlacementScoresRequestRequestTypeDef:
    return {
        "TargetCapacity": ...,
    }
Definition
class GetSpotPlacementScoresRequestRequestTypeDef(TypedDict):
    TargetCapacity: int,
    InstanceTypes: NotRequired[Sequence[str]],
    TargetCapacityUnitType: NotRequired[TargetCapacityUnitTypeType],  # (1)
    SingleAvailabilityZone: NotRequired[bool],
    RegionNames: NotRequired[Sequence[str]],
    InstanceRequirementsWithMetadata: NotRequired[InstanceRequirementsWithMetadataRequestTypeDef],  # (2)
    DryRun: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See TargetCapacityUnitTypeType
  2. See InstanceRequirementsWithMetadataRequestTypeDef

FleetLaunchTemplateConfigTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetLaunchTemplateConfigTypeDef

def get_value() -> FleetLaunchTemplateConfigTypeDef:
    return {
        "LaunchTemplateSpecification": ...,
    }
Definition
class FleetLaunchTemplateConfigTypeDef(TypedDict):
    LaunchTemplateSpecification: NotRequired[FleetLaunchTemplateSpecificationTypeDef],  # (1)
    Overrides: NotRequired[List[FleetLaunchTemplateOverridesTypeDef]],  # (2)
  1. See FleetLaunchTemplateSpecificationTypeDef
  2. See FleetLaunchTemplateOverridesTypeDef

LaunchTemplateAndOverridesResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateAndOverridesResponseTypeDef

def get_value() -> LaunchTemplateAndOverridesResponseTypeDef:
    return {
        "LaunchTemplateSpecification": ...,
    }
Definition
class LaunchTemplateAndOverridesResponseTypeDef(TypedDict):
    LaunchTemplateSpecification: NotRequired[FleetLaunchTemplateSpecificationTypeDef],  # (1)
    Overrides: NotRequired[FleetLaunchTemplateOverridesTypeDef],  # (2)
  1. See FleetLaunchTemplateSpecificationTypeDef
  2. See FleetLaunchTemplateOverridesTypeDef

LaunchTemplateConfigTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateConfigTypeDef

def get_value() -> LaunchTemplateConfigTypeDef:
    return {
        "LaunchTemplateSpecification": ...,
    }
Definition
class LaunchTemplateConfigTypeDef(TypedDict):
    LaunchTemplateSpecification: NotRequired[FleetLaunchTemplateSpecificationTypeDef],  # (1)
    Overrides: NotRequired[List[LaunchTemplateOverridesTypeDef]],  # (2)
  1. See FleetLaunchTemplateSpecificationTypeDef
  2. See LaunchTemplateOverridesTypeDef

DescribeInstanceStatusResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceStatusResultTypeDef

def get_value() -> DescribeInstanceStatusResultTypeDef:
    return {
        "InstanceStatuses": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInstanceStatusResultTypeDef(TypedDict):
    InstanceStatuses: List[InstanceStatusTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceStatusTypeDef
  2. See ResponseMetadataTypeDef

DescribeSecurityGroupsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSecurityGroupsResultTypeDef

def get_value() -> DescribeSecurityGroupsResultTypeDef:
    return {
        "SecurityGroups": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSecurityGroupsResultTypeDef(TypedDict):
    SecurityGroups: List[SecurityGroupTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SecurityGroupTypeDef
  2. See ResponseMetadataTypeDef

DescribeStaleSecurityGroupsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeStaleSecurityGroupsResultTypeDef

def get_value() -> DescribeStaleSecurityGroupsResultTypeDef:
    return {
        "NextToken": ...,
        "StaleSecurityGroupSet": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeStaleSecurityGroupsResultTypeDef(TypedDict):
    NextToken: str,
    StaleSecurityGroupSet: List[StaleSecurityGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StaleSecurityGroupTypeDef
  2. See ResponseMetadataTypeDef

CreateLaunchTemplateRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLaunchTemplateRequestRequestTypeDef

def get_value() -> CreateLaunchTemplateRequestRequestTypeDef:
    return {
        "LaunchTemplateName": ...,
        "LaunchTemplateData": ...,
    }
Definition
class CreateLaunchTemplateRequestRequestTypeDef(TypedDict):
    LaunchTemplateName: str,
    LaunchTemplateData: RequestLaunchTemplateDataTypeDef,  # (1)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
    VersionDescription: NotRequired[str],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See RequestLaunchTemplateDataTypeDef
  2. See TagSpecificationTypeDef

CreateLaunchTemplateVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLaunchTemplateVersionRequestRequestTypeDef

def get_value() -> CreateLaunchTemplateVersionRequestRequestTypeDef:
    return {
        "LaunchTemplateData": ...,
    }
Definition
class CreateLaunchTemplateVersionRequestRequestTypeDef(TypedDict):
    LaunchTemplateData: RequestLaunchTemplateDataTypeDef,  # (1)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    SourceVersion: NotRequired[str],
    VersionDescription: NotRequired[str],
    ResolveAlias: NotRequired[bool],
  1. See RequestLaunchTemplateDataTypeDef

GetLaunchTemplateDataResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetLaunchTemplateDataResultTypeDef

def get_value() -> GetLaunchTemplateDataResultTypeDef:
    return {
        "LaunchTemplateData": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetLaunchTemplateDataResultTypeDef(TypedDict):
    LaunchTemplateData: ResponseLaunchTemplateDataTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResponseLaunchTemplateDataTypeDef
  2. See ResponseMetadataTypeDef

LaunchTemplateVersionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import LaunchTemplateVersionTypeDef

def get_value() -> LaunchTemplateVersionTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
Definition
class LaunchTemplateVersionTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    VersionNumber: NotRequired[int],
    VersionDescription: NotRequired[str],
    CreateTime: NotRequired[datetime],
    CreatedBy: NotRequired[str],
    DefaultVersion: NotRequired[bool],
    LaunchTemplateData: NotRequired[ResponseLaunchTemplateDataTypeDef],  # (1)
  1. See ResponseLaunchTemplateDataTypeDef

DescribeReservedInstancesModificationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeReservedInstancesModificationsResultTypeDef

def get_value() -> DescribeReservedInstancesModificationsResultTypeDef:
    return {
        "NextToken": ...,
        "ReservedInstancesModifications": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeReservedInstancesModificationsResultTypeDef(TypedDict):
    NextToken: str,
    ReservedInstancesModifications: List[ReservedInstancesModificationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReservedInstancesModificationTypeDef
  2. See ResponseMetadataTypeDef

CreateNetworkInsightsAccessScopeRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInsightsAccessScopeRequestRequestTypeDef

def get_value() -> CreateNetworkInsightsAccessScopeRequestRequestTypeDef:
    return {
        "ClientToken": ...,
    }
Definition
class CreateNetworkInsightsAccessScopeRequestRequestTypeDef(TypedDict):
    ClientToken: str,
    MatchPaths: NotRequired[Sequence[AccessScopePathRequestTypeDef]],  # (1)
    ExcludePaths: NotRequired[Sequence[AccessScopePathRequestTypeDef]],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (3)
    DryRun: NotRequired[bool],
  1. See AccessScopePathRequestTypeDef
  2. See AccessScopePathRequestTypeDef
  3. See TagSpecificationTypeDef

NetworkInsightsAccessScopeContentTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInsightsAccessScopeContentTypeDef

def get_value() -> NetworkInsightsAccessScopeContentTypeDef:
    return {
        "NetworkInsightsAccessScopeId": ...,
    }
Definition
class NetworkInsightsAccessScopeContentTypeDef(TypedDict):
    NetworkInsightsAccessScopeId: NotRequired[str],
    MatchPaths: NotRequired[List[AccessScopePathTypeDef]],  # (1)
    ExcludePaths: NotRequired[List[AccessScopePathTypeDef]],  # (1)
  1. See AccessScopePathTypeDef
  2. See AccessScopePathTypeDef

BundleInstanceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import BundleInstanceResultTypeDef

def get_value() -> BundleInstanceResultTypeDef:
    return {
        "BundleTask": ...,
        "ResponseMetadata": ...,
    }
Definition
class BundleInstanceResultTypeDef(TypedDict):
    BundleTask: BundleTaskTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BundleTaskTypeDef
  2. See ResponseMetadataTypeDef

CancelBundleTaskResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CancelBundleTaskResultTypeDef

def get_value() -> CancelBundleTaskResultTypeDef:
    return {
        "BundleTask": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelBundleTaskResultTypeDef(TypedDict):
    BundleTask: BundleTaskTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BundleTaskTypeDef
  2. See ResponseMetadataTypeDef

DescribeBundleTasksResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeBundleTasksResultTypeDef

def get_value() -> DescribeBundleTasksResultTypeDef:
    return {
        "BundleTasks": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeBundleTasksResultTypeDef(TypedDict):
    BundleTasks: List[BundleTaskTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BundleTaskTypeDef
  2. See ResponseMetadataTypeDef

RunScheduledInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RunScheduledInstancesRequestRequestTypeDef

def get_value() -> RunScheduledInstancesRequestRequestTypeDef:
    return {
        "LaunchSpecification": ...,
        "ScheduledInstanceId": ...,
    }
Definition
class RunScheduledInstancesRequestRequestTypeDef(TypedDict):
    LaunchSpecification: ScheduledInstancesLaunchSpecificationTypeDef,  # (1)
    ScheduledInstanceId: str,
    ClientToken: NotRequired[str],
    DryRun: NotRequired[bool],
    InstanceCount: NotRequired[int],
  1. See ScheduledInstancesLaunchSpecificationTypeDef

DescribeImportImageTasksResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImportImageTasksResultTypeDef

def get_value() -> DescribeImportImageTasksResultTypeDef:
    return {
        "ImportImageTasks": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeImportImageTasksResultTypeDef(TypedDict):
    ImportImageTasks: List[ImportImageTaskTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImportImageTaskTypeDef
  2. See ResponseMetadataTypeDef

DescribeImportSnapshotTasksResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeImportSnapshotTasksResultTypeDef

def get_value() -> DescribeImportSnapshotTasksResultTypeDef:
    return {
        "ImportSnapshotTasks": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeImportSnapshotTasksResultTypeDef(TypedDict):
    ImportSnapshotTasks: List[ImportSnapshotTaskTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImportSnapshotTaskTypeDef
  2. See ResponseMetadataTypeDef

CreateDefaultSubnetResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateDefaultSubnetResultTypeDef

def get_value() -> CreateDefaultSubnetResultTypeDef:
    return {
        "Subnet": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDefaultSubnetResultTypeDef(TypedDict):
    Subnet: SubnetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetTypeDef
  2. See ResponseMetadataTypeDef

CreateSubnetResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateSubnetResultTypeDef

def get_value() -> CreateSubnetResultTypeDef:
    return {
        "Subnet": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateSubnetResultTypeDef(TypedDict):
    Subnet: SubnetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetTypeDef
  2. See ResponseMetadataTypeDef

DescribeSubnetsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSubnetsResultTypeDef

def get_value() -> DescribeSubnetsResultTypeDef:
    return {
        "Subnets": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSubnetsResultTypeDef(TypedDict):
    Subnets: List[SubnetTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetTypeDef
  2. See ResponseMetadataTypeDef

CreateTrafficMirrorFilterResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTrafficMirrorFilterResultTypeDef

def get_value() -> CreateTrafficMirrorFilterResultTypeDef:
    return {
        "TrafficMirrorFilter": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTrafficMirrorFilterResultTypeDef(TypedDict):
    TrafficMirrorFilter: TrafficMirrorFilterTypeDef,  # (1)
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorFilterTypeDef
  2. See ResponseMetadataTypeDef

DescribeTrafficMirrorFiltersResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTrafficMirrorFiltersResultTypeDef

def get_value() -> DescribeTrafficMirrorFiltersResultTypeDef:
    return {
        "TrafficMirrorFilters": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTrafficMirrorFiltersResultTypeDef(TypedDict):
    TrafficMirrorFilters: List[TrafficMirrorFilterTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorFilterTypeDef
  2. See ResponseMetadataTypeDef

ModifyTrafficMirrorFilterNetworkServicesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyTrafficMirrorFilterNetworkServicesResultTypeDef

def get_value() -> ModifyTrafficMirrorFilterNetworkServicesResultTypeDef:
    return {
        "TrafficMirrorFilter": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyTrafficMirrorFilterNetworkServicesResultTypeDef(TypedDict):
    TrafficMirrorFilter: TrafficMirrorFilterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficMirrorFilterTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitGatewayConnectPeerResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateTransitGatewayConnectPeerResultTypeDef

def get_value() -> CreateTransitGatewayConnectPeerResultTypeDef:
    return {
        "TransitGatewayConnectPeer": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitGatewayConnectPeerResultTypeDef(TypedDict):
    TransitGatewayConnectPeer: TransitGatewayConnectPeerTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayConnectPeerTypeDef
  2. See ResponseMetadataTypeDef

DeleteTransitGatewayConnectPeerResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DeleteTransitGatewayConnectPeerResultTypeDef

def get_value() -> DeleteTransitGatewayConnectPeerResultTypeDef:
    return {
        "TransitGatewayConnectPeer": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTransitGatewayConnectPeerResultTypeDef(TypedDict):
    TransitGatewayConnectPeer: TransitGatewayConnectPeerTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayConnectPeerTypeDef
  2. See ResponseMetadataTypeDef

DescribeTransitGatewayConnectPeersResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeTransitGatewayConnectPeersResultTypeDef

def get_value() -> DescribeTransitGatewayConnectPeersResultTypeDef:
    return {
        "TransitGatewayConnectPeers": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTransitGatewayConnectPeersResultTypeDef(TypedDict):
    TransitGatewayConnectPeers: List[TransitGatewayConnectPeerTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayConnectPeerTypeDef
  2. See ResponseMetadataTypeDef

GetTransitGatewayPolicyTableEntriesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetTransitGatewayPolicyTableEntriesResultTypeDef

def get_value() -> GetTransitGatewayPolicyTableEntriesResultTypeDef:
    return {
        "TransitGatewayPolicyTableEntries": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTransitGatewayPolicyTableEntriesResultTypeDef(TypedDict):
    TransitGatewayPolicyTableEntries: List[TransitGatewayPolicyTableEntryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TransitGatewayPolicyTableEntryTypeDef
  2. See ResponseMetadataTypeDef

VerifiedAccessInstanceLoggingConfigurationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VerifiedAccessInstanceLoggingConfigurationTypeDef

def get_value() -> VerifiedAccessInstanceLoggingConfigurationTypeDef:
    return {
        "VerifiedAccessInstanceId": ...,
    }
Definition
class VerifiedAccessInstanceLoggingConfigurationTypeDef(TypedDict):
    VerifiedAccessInstanceId: NotRequired[str],
    AccessLogs: NotRequired[VerifiedAccessLogsTypeDef],  # (1)
  1. See VerifiedAccessLogsTypeDef

DescribeVolumeStatusResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVolumeStatusResultTypeDef

def get_value() -> DescribeVolumeStatusResultTypeDef:
    return {
        "NextToken": ...,
        "VolumeStatuses": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVolumeStatusResultTypeDef(TypedDict):
    NextToken: str,
    VolumeStatuses: List[VolumeStatusItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VolumeStatusItemTypeDef
  2. See ResponseMetadataTypeDef

CreateDefaultVpcResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateDefaultVpcResultTypeDef

def get_value() -> CreateDefaultVpcResultTypeDef:
    return {
        "Vpc": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDefaultVpcResultTypeDef(TypedDict):
    Vpc: VpcTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcTypeDef
  2. See ResponseMetadataTypeDef

CreateVpcResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcResultTypeDef

def get_value() -> CreateVpcResultTypeDef:
    return {
        "Vpc": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVpcResultTypeDef(TypedDict):
    Vpc: VpcTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpcsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcsResultTypeDef

def get_value() -> DescribeVpcsResultTypeDef:
    return {
        "Vpcs": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcsResultTypeDef(TypedDict):
    Vpcs: List[VpcTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcTypeDef
  2. See ResponseMetadataTypeDef

AcceptVpcPeeringConnectionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AcceptVpcPeeringConnectionResultTypeDef

def get_value() -> AcceptVpcPeeringConnectionResultTypeDef:
    return {
        "VpcPeeringConnection": ...,
        "ResponseMetadata": ...,
    }
Definition
class AcceptVpcPeeringConnectionResultTypeDef(TypedDict):
    VpcPeeringConnection: VpcPeeringConnectionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcPeeringConnectionTypeDef
  2. See ResponseMetadataTypeDef

CreateVpcPeeringConnectionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpcPeeringConnectionResultTypeDef

def get_value() -> CreateVpcPeeringConnectionResultTypeDef:
    return {
        "VpcPeeringConnection": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVpcPeeringConnectionResultTypeDef(TypedDict):
    VpcPeeringConnection: VpcPeeringConnectionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcPeeringConnectionTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpcPeeringConnectionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpcPeeringConnectionsResultTypeDef

def get_value() -> DescribeVpcPeeringConnectionsResultTypeDef:
    return {
        "VpcPeeringConnections": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpcPeeringConnectionsResultTypeDef(TypedDict):
    VpcPeeringConnections: List[VpcPeeringConnectionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpcPeeringConnectionTypeDef
  2. See ResponseMetadataTypeDef

AccessScopeAnalysisFindingTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import AccessScopeAnalysisFindingTypeDef

def get_value() -> AccessScopeAnalysisFindingTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalysisId": ...,
    }
Definition
class AccessScopeAnalysisFindingTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalysisId: NotRequired[str],
    NetworkInsightsAccessScopeId: NotRequired[str],
    FindingId: NotRequired[str],
    FindingComponents: NotRequired[List[PathComponentTypeDef]],  # (1)
  1. See PathComponentTypeDef

NetworkInsightsAnalysisTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import NetworkInsightsAnalysisTypeDef

def get_value() -> NetworkInsightsAnalysisTypeDef:
    return {
        "NetworkInsightsAnalysisId": ...,
    }
Definition
class NetworkInsightsAnalysisTypeDef(TypedDict):
    NetworkInsightsAnalysisId: NotRequired[str],
    NetworkInsightsAnalysisArn: NotRequired[str],
    NetworkInsightsPathId: NotRequired[str],
    AdditionalAccounts: NotRequired[List[str]],
    FilterInArns: NotRequired[List[str]],
    StartDate: NotRequired[datetime],
    Status: NotRequired[AnalysisStatusType],  # (1)
    StatusMessage: NotRequired[str],
    WarningMessage: NotRequired[str],
    NetworkPathFound: NotRequired[bool],
    ForwardPathComponents: NotRequired[List[PathComponentTypeDef]],  # (2)
    ReturnPathComponents: NotRequired[List[PathComponentTypeDef]],  # (2)
    Explanations: NotRequired[List[ExplanationTypeDef]],  # (4)
    AlternatePathHints: NotRequired[List[AlternatePathHintTypeDef]],  # (5)
    SuggestedAccounts: NotRequired[List[str]],
    Tags: NotRequired[List[TagTypeDef]],  # (6)
  1. See AnalysisStatusType
  2. See PathComponentTypeDef
  3. See PathComponentTypeDef
  4. See ExplanationTypeDef
  5. See AlternatePathHintTypeDef
  6. See TagTypeDef

CreateNetworkInterfaceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInterfaceResultTypeDef

def get_value() -> CreateNetworkInterfaceResultTypeDef:
    return {
        "NetworkInterface": ...,
        "ClientToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateNetworkInterfaceResultTypeDef(TypedDict):
    NetworkInterface: NetworkInterfaceTypeDef,  # (1)
    ClientToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInterfaceTypeDef
  2. See ResponseMetadataTypeDef

DescribeNetworkInterfacesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInterfacesResultTypeDef

def get_value() -> DescribeNetworkInterfacesResultTypeDef:
    return {
        "NetworkInterfaces": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNetworkInterfacesResultTypeDef(TypedDict):
    NetworkInterfaces: List[NetworkInterfaceTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInterfaceTypeDef
  2. See ResponseMetadataTypeDef

CreateVpnConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpnConnectionRequestRequestTypeDef

def get_value() -> CreateVpnConnectionRequestRequestTypeDef:
    return {
        "CustomerGatewayId": ...,
        "Type": ...,
    }
Definition
class CreateVpnConnectionRequestRequestTypeDef(TypedDict):
    CustomerGatewayId: str,
    Type: str,
    VpnGatewayId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    DryRun: NotRequired[bool],
    Options: NotRequired[VpnConnectionOptionsSpecificationTypeDef],  # (1)
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (2)
  1. See VpnConnectionOptionsSpecificationTypeDef
  2. See TagSpecificationTypeDef

VpnConnectionTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import VpnConnectionTypeDef

def get_value() -> VpnConnectionTypeDef:
    return {
        "CustomerGatewayConfiguration": ...,
    }
Definition
class VpnConnectionTypeDef(TypedDict):
    CustomerGatewayConfiguration: NotRequired[str],
    CustomerGatewayId: NotRequired[str],
    Category: NotRequired[str],
    State: NotRequired[VpnStateType],  # (1)
    Type: NotRequired[GatewayTypeType],  # (2)
    VpnConnectionId: NotRequired[str],
    VpnGatewayId: NotRequired[str],
    TransitGatewayId: NotRequired[str],
    CoreNetworkArn: NotRequired[str],
    CoreNetworkAttachmentArn: NotRequired[str],
    GatewayAssociationState: NotRequired[GatewayAssociationStateType],  # (3)
    Options: NotRequired[VpnConnectionOptionsTypeDef],  # (4)
    Routes: NotRequired[List[VpnStaticRouteTypeDef]],  # (5)
    Tags: NotRequired[List[TagTypeDef]],  # (6)
    VgwTelemetry: NotRequired[List[VgwTelemetryTypeDef]],  # (7)
  1. See VpnStateType
  2. See GatewayTypeType
  3. See GatewayAssociationStateType
  4. See VpnConnectionOptionsTypeDef
  5. See VpnStaticRouteTypeDef
  6. See TagTypeDef
  7. See VgwTelemetryTypeDef

DescribeSpotInstanceRequestsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotInstanceRequestsResultTypeDef

def get_value() -> DescribeSpotInstanceRequestsResultTypeDef:
    return {
        "SpotInstanceRequests": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSpotInstanceRequestsResultTypeDef(TypedDict):
    SpotInstanceRequests: List[SpotInstanceRequestTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SpotInstanceRequestTypeDef
  2. See ResponseMetadataTypeDef

RequestSpotInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RequestSpotInstancesResultTypeDef

def get_value() -> RequestSpotInstancesResultTypeDef:
    return {
        "SpotInstanceRequests": ...,
        "ResponseMetadata": ...,
    }
Definition
class RequestSpotInstancesResultTypeDef(TypedDict):
    SpotInstanceRequests: List[SpotInstanceRequestTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SpotInstanceRequestTypeDef
  2. See ResponseMetadataTypeDef

DescribeConversionTasksResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeConversionTasksResultTypeDef

def get_value() -> DescribeConversionTasksResultTypeDef:
    return {
        "ConversionTasks": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeConversionTasksResultTypeDef(TypedDict):
    ConversionTasks: List[ConversionTaskTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConversionTaskTypeDef
  2. See ResponseMetadataTypeDef

ImportInstanceResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportInstanceResultTypeDef

def get_value() -> ImportInstanceResultTypeDef:
    return {
        "ConversionTask": ...,
        "ResponseMetadata": ...,
    }
Definition
class ImportInstanceResultTypeDef(TypedDict):
    ConversionTask: ConversionTaskTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConversionTaskTypeDef
  2. See ResponseMetadataTypeDef

ImportVolumeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ImportVolumeResultTypeDef

def get_value() -> ImportVolumeResultTypeDef:
    return {
        "ConversionTask": ...,
        "ResponseMetadata": ...,
    }
Definition
class ImportVolumeResultTypeDef(TypedDict):
    ConversionTask: ConversionTaskTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConversionTaskTypeDef
  2. See ResponseMetadataTypeDef

DescribeInstanceTypesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstanceTypesResultTypeDef

def get_value() -> DescribeInstanceTypesResultTypeDef:
    return {
        "InstanceTypes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInstanceTypesResultTypeDef(TypedDict):
    InstanceTypes: List[InstanceTypeInfoTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceTypeInfoTypeDef
  2. See ResponseMetadataTypeDef

ReservationResponseMetadataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservationResponseMetadataTypeDef

def get_value() -> ReservationResponseMetadataTypeDef:
    return {
        "Groups": ...,
        "Instances": ...,
        "OwnerId": ...,
        "RequesterId": ...,
        "ReservationId": ...,
        "ResponseMetadata": ...,
    }
Definition
class ReservationResponseMetadataTypeDef(TypedDict):
    Groups: List[GroupIdentifierTypeDef],  # (1)
    Instances: List[InstanceTypeDef],  # (2)
    OwnerId: str,
    RequesterId: str,
    ReservationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See GroupIdentifierTypeDef
  2. See InstanceTypeDef
  3. See ResponseMetadataTypeDef

ReservationTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ReservationTypeDef

def get_value() -> ReservationTypeDef:
    return {
        "Groups": ...,
    }
Definition
class ReservationTypeDef(TypedDict):
    Groups: NotRequired[List[GroupIdentifierTypeDef]],  # (1)
    Instances: NotRequired[List[InstanceTypeDef]],  # (2)
    OwnerId: NotRequired[str],
    RequesterId: NotRequired[str],
    ReservationId: NotRequired[str],
  1. See GroupIdentifierTypeDef
  2. See InstanceTypeDef

CreateFleetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateFleetRequestRequestTypeDef

def get_value() -> CreateFleetRequestRequestTypeDef:
    return {
        "LaunchTemplateConfigs": ...,
        "TargetCapacitySpecification": ...,
    }
Definition
class CreateFleetRequestRequestTypeDef(TypedDict):
    LaunchTemplateConfigs: Sequence[FleetLaunchTemplateConfigRequestTypeDef],  # (1)
    TargetCapacitySpecification: TargetCapacitySpecificationRequestTypeDef,  # (2)
    DryRun: NotRequired[bool],
    ClientToken: NotRequired[str],
    SpotOptions: NotRequired[SpotOptionsRequestTypeDef],  # (3)
    OnDemandOptions: NotRequired[OnDemandOptionsRequestTypeDef],  # (4)
    ExcessCapacityTerminationPolicy: NotRequired[FleetExcessCapacityTerminationPolicyType],  # (5)
    TerminateInstancesWithExpiration: NotRequired[bool],
    Type: NotRequired[FleetTypeType],  # (6)
    ValidFrom: NotRequired[Union[datetime, str]],
    ValidUntil: NotRequired[Union[datetime, str]],
    ReplaceUnhealthyInstances: NotRequired[bool],
    TagSpecifications: NotRequired[Sequence[TagSpecificationTypeDef]],  # (7)
    Context: NotRequired[str],
  1. See FleetLaunchTemplateConfigRequestTypeDef
  2. See TargetCapacitySpecificationRequestTypeDef
  3. See SpotOptionsRequestTypeDef
  4. See OnDemandOptionsRequestTypeDef
  5. See FleetExcessCapacityTerminationPolicyType
  6. See FleetTypeType
  7. See TagSpecificationTypeDef

ModifyFleetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyFleetRequestRequestTypeDef

def get_value() -> ModifyFleetRequestRequestTypeDef:
    return {
        "FleetId": ...,
    }
Definition
class ModifyFleetRequestRequestTypeDef(TypedDict):
    FleetId: str,
    DryRun: NotRequired[bool],
    ExcessCapacityTerminationPolicy: NotRequired[FleetExcessCapacityTerminationPolicyType],  # (1)
    LaunchTemplateConfigs: NotRequired[Sequence[FleetLaunchTemplateConfigRequestTypeDef]],  # (2)
    TargetCapacitySpecification: NotRequired[TargetCapacitySpecificationRequestTypeDef],  # (3)
    Context: NotRequired[str],
  1. See FleetExcessCapacityTerminationPolicyType
  2. See FleetLaunchTemplateConfigRequestTypeDef
  3. See TargetCapacitySpecificationRequestTypeDef

CreateFleetErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateFleetErrorTypeDef

def get_value() -> CreateFleetErrorTypeDef:
    return {
        "LaunchTemplateAndOverrides": ...,
    }
Definition
class CreateFleetErrorTypeDef(TypedDict):
    LaunchTemplateAndOverrides: NotRequired[LaunchTemplateAndOverridesResponseTypeDef],  # (1)
    Lifecycle: NotRequired[InstanceLifecycleType],  # (2)
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],
  1. See LaunchTemplateAndOverridesResponseTypeDef
  2. See InstanceLifecycleType

CreateFleetInstanceTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateFleetInstanceTypeDef

def get_value() -> CreateFleetInstanceTypeDef:
    return {
        "LaunchTemplateAndOverrides": ...,
    }
Definition
class CreateFleetInstanceTypeDef(TypedDict):
    LaunchTemplateAndOverrides: NotRequired[LaunchTemplateAndOverridesResponseTypeDef],  # (1)
    Lifecycle: NotRequired[InstanceLifecycleType],  # (2)
    InstanceIds: NotRequired[List[str]],
    InstanceType: NotRequired[InstanceTypeType],  # (3)
    Platform: NotRequired[PlatformValuesType],  # (4)
  1. See LaunchTemplateAndOverridesResponseTypeDef
  2. See InstanceLifecycleType
  3. See InstanceTypeType
  4. See PlatformValuesType

DescribeFleetErrorTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFleetErrorTypeDef

def get_value() -> DescribeFleetErrorTypeDef:
    return {
        "LaunchTemplateAndOverrides": ...,
    }
Definition
class DescribeFleetErrorTypeDef(TypedDict):
    LaunchTemplateAndOverrides: NotRequired[LaunchTemplateAndOverridesResponseTypeDef],  # (1)
    Lifecycle: NotRequired[InstanceLifecycleType],  # (2)
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],
  1. See LaunchTemplateAndOverridesResponseTypeDef
  2. See InstanceLifecycleType

DescribeFleetsInstancesTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFleetsInstancesTypeDef

def get_value() -> DescribeFleetsInstancesTypeDef:
    return {
        "LaunchTemplateAndOverrides": ...,
    }
Definition
class DescribeFleetsInstancesTypeDef(TypedDict):
    LaunchTemplateAndOverrides: NotRequired[LaunchTemplateAndOverridesResponseTypeDef],  # (1)
    Lifecycle: NotRequired[InstanceLifecycleType],  # (2)
    InstanceIds: NotRequired[List[str]],
    InstanceType: NotRequired[InstanceTypeType],  # (3)
    Platform: NotRequired[PlatformValuesType],  # (4)
  1. See LaunchTemplateAndOverridesResponseTypeDef
  2. See InstanceLifecycleType
  3. See InstanceTypeType
  4. See PlatformValuesType

ModifySpotFleetRequestRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifySpotFleetRequestRequestRequestTypeDef

def get_value() -> ModifySpotFleetRequestRequestRequestTypeDef:
    return {
        "SpotFleetRequestId": ...,
    }
Definition
class ModifySpotFleetRequestRequestRequestTypeDef(TypedDict):
    SpotFleetRequestId: str,
    ExcessCapacityTerminationPolicy: NotRequired[ExcessCapacityTerminationPolicyType],  # (1)
    LaunchTemplateConfigs: NotRequired[Sequence[LaunchTemplateConfigTypeDef]],  # (2)
    TargetCapacity: NotRequired[int],
    OnDemandTargetCapacity: NotRequired[int],
    Context: NotRequired[str],
  1. See ExcessCapacityTerminationPolicyType
  2. See LaunchTemplateConfigTypeDef

SpotFleetRequestConfigDataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotFleetRequestConfigDataTypeDef

def get_value() -> SpotFleetRequestConfigDataTypeDef:
    return {
        "IamFleetRole": ...,
        "TargetCapacity": ...,
    }
Definition
class SpotFleetRequestConfigDataTypeDef(TypedDict):
    IamFleetRole: str,
    TargetCapacity: int,
    AllocationStrategy: NotRequired[AllocationStrategyType],  # (1)
    OnDemandAllocationStrategy: NotRequired[OnDemandAllocationStrategyType],  # (2)
    SpotMaintenanceStrategies: NotRequired[SpotMaintenanceStrategiesTypeDef],  # (3)
    ClientToken: NotRequired[str],
    ExcessCapacityTerminationPolicy: NotRequired[ExcessCapacityTerminationPolicyType],  # (4)
    FulfilledCapacity: NotRequired[float],
    OnDemandFulfilledCapacity: NotRequired[float],
    LaunchSpecifications: NotRequired[List[SpotFleetLaunchSpecificationTypeDef]],  # (5)
    LaunchTemplateConfigs: NotRequired[List[LaunchTemplateConfigTypeDef]],  # (6)
    SpotPrice: NotRequired[str],
    OnDemandTargetCapacity: NotRequired[int],
    OnDemandMaxTotalPrice: NotRequired[str],
    SpotMaxTotalPrice: NotRequired[str],
    TerminateInstancesWithExpiration: NotRequired[bool],
    Type: NotRequired[FleetTypeType],  # (7)
    ValidFrom: NotRequired[datetime],
    ValidUntil: NotRequired[datetime],
    ReplaceUnhealthyInstances: NotRequired[bool],
    InstanceInterruptionBehavior: NotRequired[InstanceInterruptionBehaviorType],  # (8)
    LoadBalancersConfig: NotRequired[LoadBalancersConfigTypeDef],  # (9)
    InstancePoolsToUseCount: NotRequired[int],
    Context: NotRequired[str],
    TargetCapacityUnitType: NotRequired[TargetCapacityUnitTypeType],  # (10)
    TagSpecifications: NotRequired[List[TagSpecificationTypeDef]],  # (11)
  1. See AllocationStrategyType
  2. See OnDemandAllocationStrategyType
  3. See SpotMaintenanceStrategiesTypeDef
  4. See ExcessCapacityTerminationPolicyType
  5. See SpotFleetLaunchSpecificationTypeDef
  6. See LaunchTemplateConfigTypeDef
  7. See FleetTypeType
  8. See InstanceInterruptionBehaviorType
  9. See LoadBalancersConfigTypeDef
  10. See TargetCapacityUnitTypeType
  11. See TagSpecificationTypeDef

CreateLaunchTemplateVersionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateLaunchTemplateVersionResultTypeDef

def get_value() -> CreateLaunchTemplateVersionResultTypeDef:
    return {
        "LaunchTemplateVersion": ...,
        "Warning": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateLaunchTemplateVersionResultTypeDef(TypedDict):
    LaunchTemplateVersion: LaunchTemplateVersionTypeDef,  # (1)
    Warning: ValidationWarningTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LaunchTemplateVersionTypeDef
  2. See ValidationWarningTypeDef
  3. See ResponseMetadataTypeDef

DescribeLaunchTemplateVersionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeLaunchTemplateVersionsResultTypeDef

def get_value() -> DescribeLaunchTemplateVersionsResultTypeDef:
    return {
        "LaunchTemplateVersions": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLaunchTemplateVersionsResultTypeDef(TypedDict):
    LaunchTemplateVersions: List[LaunchTemplateVersionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LaunchTemplateVersionTypeDef
  2. See ResponseMetadataTypeDef

CreateNetworkInsightsAccessScopeResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateNetworkInsightsAccessScopeResultTypeDef

def get_value() -> CreateNetworkInsightsAccessScopeResultTypeDef:
    return {
        "NetworkInsightsAccessScope": ...,
        "NetworkInsightsAccessScopeContent": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateNetworkInsightsAccessScopeResultTypeDef(TypedDict):
    NetworkInsightsAccessScope: NetworkInsightsAccessScopeTypeDef,  # (1)
    NetworkInsightsAccessScopeContent: NetworkInsightsAccessScopeContentTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See NetworkInsightsAccessScopeTypeDef
  2. See NetworkInsightsAccessScopeContentTypeDef
  3. See ResponseMetadataTypeDef

GetNetworkInsightsAccessScopeContentResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetNetworkInsightsAccessScopeContentResultTypeDef

def get_value() -> GetNetworkInsightsAccessScopeContentResultTypeDef:
    return {
        "NetworkInsightsAccessScopeContent": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetNetworkInsightsAccessScopeContentResultTypeDef(TypedDict):
    NetworkInsightsAccessScopeContent: NetworkInsightsAccessScopeContentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInsightsAccessScopeContentTypeDef
  2. See ResponseMetadataTypeDef

DescribeVerifiedAccessInstanceLoggingConfigurationsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVerifiedAccessInstanceLoggingConfigurationsResultTypeDef

def get_value() -> DescribeVerifiedAccessInstanceLoggingConfigurationsResultTypeDef:
    return {
        "LoggingConfigurations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVerifiedAccessInstanceLoggingConfigurationsResultTypeDef(TypedDict):
    LoggingConfigurations: List[VerifiedAccessInstanceLoggingConfigurationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessInstanceLoggingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

ModifyVerifiedAccessInstanceLoggingConfigurationResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVerifiedAccessInstanceLoggingConfigurationResultTypeDef

def get_value() -> ModifyVerifiedAccessInstanceLoggingConfigurationResultTypeDef:
    return {
        "LoggingConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVerifiedAccessInstanceLoggingConfigurationResultTypeDef(TypedDict):
    LoggingConfiguration: VerifiedAccessInstanceLoggingConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VerifiedAccessInstanceLoggingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

GetNetworkInsightsAccessScopeAnalysisFindingsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import GetNetworkInsightsAccessScopeAnalysisFindingsResultTypeDef

def get_value() -> GetNetworkInsightsAccessScopeAnalysisFindingsResultTypeDef:
    return {
        "NetworkInsightsAccessScopeAnalysisId": ...,
        "AnalysisStatus": ...,
        "AnalysisFindings": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetNetworkInsightsAccessScopeAnalysisFindingsResultTypeDef(TypedDict):
    NetworkInsightsAccessScopeAnalysisId: str,
    AnalysisStatus: AnalysisStatusType,  # (1)
    AnalysisFindings: List[AccessScopeAnalysisFindingTypeDef],  # (2)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AnalysisStatusType
  2. See AccessScopeAnalysisFindingTypeDef
  3. See ResponseMetadataTypeDef

DescribeNetworkInsightsAnalysesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeNetworkInsightsAnalysesResultTypeDef

def get_value() -> DescribeNetworkInsightsAnalysesResultTypeDef:
    return {
        "NetworkInsightsAnalyses": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeNetworkInsightsAnalysesResultTypeDef(TypedDict):
    NetworkInsightsAnalyses: List[NetworkInsightsAnalysisTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInsightsAnalysisTypeDef
  2. See ResponseMetadataTypeDef

StartNetworkInsightsAnalysisResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import StartNetworkInsightsAnalysisResultTypeDef

def get_value() -> StartNetworkInsightsAnalysisResultTypeDef:
    return {
        "NetworkInsightsAnalysis": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartNetworkInsightsAnalysisResultTypeDef(TypedDict):
    NetworkInsightsAnalysis: NetworkInsightsAnalysisTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkInsightsAnalysisTypeDef
  2. See ResponseMetadataTypeDef

CreateVpnConnectionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateVpnConnectionResultTypeDef

def get_value() -> CreateVpnConnectionResultTypeDef:
    return {
        "VpnConnection": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateVpnConnectionResultTypeDef(TypedDict):
    VpnConnection: VpnConnectionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpnConnectionTypeDef
  2. See ResponseMetadataTypeDef

DescribeVpnConnectionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeVpnConnectionsResultTypeDef

def get_value() -> DescribeVpnConnectionsResultTypeDef:
    return {
        "VpnConnections": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeVpnConnectionsResultTypeDef(TypedDict):
    VpnConnections: List[VpnConnectionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpnConnectionTypeDef
  2. See ResponseMetadataTypeDef

ModifyVpnConnectionOptionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpnConnectionOptionsResultTypeDef

def get_value() -> ModifyVpnConnectionOptionsResultTypeDef:
    return {
        "VpnConnection": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpnConnectionOptionsResultTypeDef(TypedDict):
    VpnConnection: VpnConnectionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpnConnectionTypeDef
  2. See ResponseMetadataTypeDef

ModifyVpnConnectionResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpnConnectionResultTypeDef

def get_value() -> ModifyVpnConnectionResultTypeDef:
    return {
        "VpnConnection": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpnConnectionResultTypeDef(TypedDict):
    VpnConnection: VpnConnectionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpnConnectionTypeDef
  2. See ResponseMetadataTypeDef

ModifyVpnTunnelCertificateResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpnTunnelCertificateResultTypeDef

def get_value() -> ModifyVpnTunnelCertificateResultTypeDef:
    return {
        "VpnConnection": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpnTunnelCertificateResultTypeDef(TypedDict):
    VpnConnection: VpnConnectionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpnConnectionTypeDef
  2. See ResponseMetadataTypeDef

ModifyVpnTunnelOptionsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import ModifyVpnTunnelOptionsResultTypeDef

def get_value() -> ModifyVpnTunnelOptionsResultTypeDef:
    return {
        "VpnConnection": ...,
        "ResponseMetadata": ...,
    }
Definition
class ModifyVpnTunnelOptionsResultTypeDef(TypedDict):
    VpnConnection: VpnConnectionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VpnConnectionTypeDef
  2. See ResponseMetadataTypeDef

DescribeInstancesResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeInstancesResultTypeDef

def get_value() -> DescribeInstancesResultTypeDef:
    return {
        "Reservations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInstancesResultTypeDef(TypedDict):
    Reservations: List[ReservationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReservationTypeDef
  2. See ResponseMetadataTypeDef

CreateFleetResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import CreateFleetResultTypeDef

def get_value() -> CreateFleetResultTypeDef:
    return {
        "FleetId": ...,
        "Errors": ...,
        "Instances": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateFleetResultTypeDef(TypedDict):
    FleetId: str,
    Errors: List[CreateFleetErrorTypeDef],  # (1)
    Instances: List[CreateFleetInstanceTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CreateFleetErrorTypeDef
  2. See CreateFleetInstanceTypeDef
  3. See ResponseMetadataTypeDef

FleetDataTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import FleetDataTypeDef

def get_value() -> FleetDataTypeDef:
    return {
        "ActivityStatus": ...,
    }
Definition
class FleetDataTypeDef(TypedDict):
    ActivityStatus: NotRequired[FleetActivityStatusType],  # (1)
    CreateTime: NotRequired[datetime],
    FleetId: NotRequired[str],
    FleetState: NotRequired[FleetStateCodeType],  # (2)
    ClientToken: NotRequired[str],
    ExcessCapacityTerminationPolicy: NotRequired[FleetExcessCapacityTerminationPolicyType],  # (3)
    FulfilledCapacity: NotRequired[float],
    FulfilledOnDemandCapacity: NotRequired[float],
    LaunchTemplateConfigs: NotRequired[List[FleetLaunchTemplateConfigTypeDef]],  # (4)
    TargetCapacitySpecification: NotRequired[TargetCapacitySpecificationTypeDef],  # (5)
    TerminateInstancesWithExpiration: NotRequired[bool],
    Type: NotRequired[FleetTypeType],  # (6)
    ValidFrom: NotRequired[datetime],
    ValidUntil: NotRequired[datetime],
    ReplaceUnhealthyInstances: NotRequired[bool],
    SpotOptions: NotRequired[SpotOptionsTypeDef],  # (7)
    OnDemandOptions: NotRequired[OnDemandOptionsTypeDef],  # (8)
    Tags: NotRequired[List[TagTypeDef]],  # (9)
    Errors: NotRequired[List[DescribeFleetErrorTypeDef]],  # (10)
    Instances: NotRequired[List[DescribeFleetsInstancesTypeDef]],  # (11)
    Context: NotRequired[str],
  1. See FleetActivityStatusType
  2. See FleetStateCodeType
  3. See FleetExcessCapacityTerminationPolicyType
  4. See FleetLaunchTemplateConfigTypeDef
  5. See TargetCapacitySpecificationTypeDef
  6. See FleetTypeType
  7. See SpotOptionsTypeDef
  8. See OnDemandOptionsTypeDef
  9. See TagTypeDef
  10. See DescribeFleetErrorTypeDef
  11. See DescribeFleetsInstancesTypeDef

RequestSpotFleetRequestRequestTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import RequestSpotFleetRequestRequestTypeDef

def get_value() -> RequestSpotFleetRequestRequestTypeDef:
    return {
        "SpotFleetRequestConfig": ...,
    }
Definition
class RequestSpotFleetRequestRequestTypeDef(TypedDict):
    SpotFleetRequestConfig: SpotFleetRequestConfigDataTypeDef,  # (1)
    DryRun: NotRequired[bool],
  1. See SpotFleetRequestConfigDataTypeDef

SpotFleetRequestConfigTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import SpotFleetRequestConfigTypeDef

def get_value() -> SpotFleetRequestConfigTypeDef:
    return {
        "ActivityStatus": ...,
    }
Definition
class SpotFleetRequestConfigTypeDef(TypedDict):
    ActivityStatus: NotRequired[ActivityStatusType],  # (1)
    CreateTime: NotRequired[datetime],
    SpotFleetRequestConfig: NotRequired[SpotFleetRequestConfigDataTypeDef],  # (2)
    SpotFleetRequestId: NotRequired[str],
    SpotFleetRequestState: NotRequired[BatchStateType],  # (3)
    Tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See ActivityStatusType
  2. See SpotFleetRequestConfigDataTypeDef
  3. See BatchStateType
  4. See TagTypeDef

DescribeFleetsResultTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeFleetsResultTypeDef

def get_value() -> DescribeFleetsResultTypeDef:
    return {
        "NextToken": ...,
        "Fleets": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFleetsResultTypeDef(TypedDict):
    NextToken: str,
    Fleets: List[FleetDataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FleetDataTypeDef
  2. See ResponseMetadataTypeDef

DescribeSpotFleetRequestsResponseTypeDef

Usage Example
from mypy_boto3_ec2.type_defs import DescribeSpotFleetRequestsResponseTypeDef

def get_value() -> DescribeSpotFleetRequestsResponseTypeDef:
    return {
        "NextToken": ...,
        "SpotFleetRequestConfigs": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeSpotFleetRequestsResponseTypeDef(TypedDict):
    NextToken: str,
    SpotFleetRequestConfigs: List[SpotFleetRequestConfigTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SpotFleetRequestConfigTypeDef
  2. See ResponseMetadataTypeDef