Skip to content

Paginators#

Index > EC2 > Paginators

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

DescribeAddressTransfersPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_address_transfers"). boto3 documentation

# DescribeAddressTransfersPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeAddressTransfersPaginator

def get_describe_address_transfers_paginator() -> DescribeAddressTransfersPaginator:
    return Session().client("ec2").get_paginator("describe_address_transfers")
# DescribeAddressTransfersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeAddressTransfersPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeAddressTransfersPaginator = client.get_paginator("describe_address_transfers")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeAddressTransfersPaginator
  3. item: DescribeAddressTransfersResultTypeDef

paginate#

Type annotations and code completion for DescribeAddressTransfersPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    AllocationIds: Sequence[str] = ...,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeAddressTransfersResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeAddressTransfersResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeAddressTransfersRequestDescribeAddressTransfersPaginateTypeDef = {  # (1)
    "AllocationIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeAddressTransfersRequestDescribeAddressTransfersPaginateTypeDef

DescribeAddressesAttributePaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_addresses_attribute"). boto3 documentation

# DescribeAddressesAttributePaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeAddressesAttributePaginator

def get_describe_addresses_attribute_paginator() -> DescribeAddressesAttributePaginator:
    return Session().client("ec2").get_paginator("describe_addresses_attribute")
# DescribeAddressesAttributePaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeAddressesAttributePaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeAddressesAttributePaginator = client.get_paginator("describe_addresses_attribute")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeAddressesAttributePaginator
  3. item: DescribeAddressesAttributeResultTypeDef

paginate#

Type annotations and code completion for DescribeAddressesAttributePaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    AllocationIds: Sequence[str] = ...,
    Attribute: AddressAttributeNameType = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeAddressesAttributeResultTypeDef]:  # (3)
    ...
  1. See AddressAttributeNameType
  2. See PaginatorConfigTypeDef
  3. See DescribeAddressesAttributeResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeAddressesAttributeRequestDescribeAddressesAttributePaginateTypeDef = {  # (1)
    "AllocationIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeAddressesAttributeRequestDescribeAddressesAttributePaginateTypeDef

DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_aws_network_performance_metric_subscriptions"). boto3 documentation

# DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator

def get_describe_aws_network_performance_metric_subscriptions_paginator() -> DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator:
    return Session().client("ec2").get_paginator("describe_aws_network_performance_metric_subscriptions")
# DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator = client.get_paginator("describe_aws_network_performance_metric_subscriptions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator
  3. item: DescribeAwsNetworkPerformanceMetricSubscriptionsResultTypeDef

paginate#

Type annotations and code completion for DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeAwsNetworkPerformanceMetricSubscriptionsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeAwsNetworkPerformanceMetricSubscriptionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeAwsNetworkPerformanceMetricSubscriptionsRequestDescribeAwsNetworkPerformanceMetricSubscriptionsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeAwsNetworkPerformanceMetricSubscriptionsRequestDescribeAwsNetworkPerformanceMetricSubscriptionsPaginateTypeDef

DescribeByoipCidrsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_byoip_cidrs"). boto3 documentation

# DescribeByoipCidrsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeByoipCidrsPaginator

def get_describe_byoip_cidrs_paginator() -> DescribeByoipCidrsPaginator:
    return Session().client("ec2").get_paginator("describe_byoip_cidrs")
# DescribeByoipCidrsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeByoipCidrsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeByoipCidrsPaginator = client.get_paginator("describe_byoip_cidrs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeByoipCidrsPaginator
  3. item: DescribeByoipCidrsResultTypeDef

paginate#

Type annotations and code completion for DescribeByoipCidrsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeByoipCidrsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeByoipCidrsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeByoipCidrsRequestDescribeByoipCidrsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeByoipCidrsRequestDescribeByoipCidrsPaginateTypeDef

DescribeCapacityBlockOfferingsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_capacity_block_offerings"). boto3 documentation

# DescribeCapacityBlockOfferingsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCapacityBlockOfferingsPaginator

def get_describe_capacity_block_offerings_paginator() -> DescribeCapacityBlockOfferingsPaginator:
    return Session().client("ec2").get_paginator("describe_capacity_block_offerings")
# DescribeCapacityBlockOfferingsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCapacityBlockOfferingsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeCapacityBlockOfferingsPaginator = client.get_paginator("describe_capacity_block_offerings")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeCapacityBlockOfferingsPaginator
  3. item: DescribeCapacityBlockOfferingsResultTypeDef

paginate#

Type annotations and code completion for DescribeCapacityBlockOfferingsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    CapacityDurationHours: int,
    DryRun: bool = ...,
    InstanceType: str = ...,
    InstanceCount: int = ...,
    StartDateRange: TimestampTypeDef = ...,
    EndDateRange: TimestampTypeDef = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeCapacityBlockOfferingsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeCapacityBlockOfferingsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeCapacityBlockOfferingsRequestDescribeCapacityBlockOfferingsPaginateTypeDef = {  # (1)
    "CapacityDurationHours": ...,
}

parent.paginate(**kwargs)
  1. See DescribeCapacityBlockOfferingsRequestDescribeCapacityBlockOfferingsPaginateTypeDef

DescribeCapacityReservationBillingRequestsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_capacity_reservation_billing_requests"). boto3 documentation

# DescribeCapacityReservationBillingRequestsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCapacityReservationBillingRequestsPaginator

def get_describe_capacity_reservation_billing_requests_paginator() -> DescribeCapacityReservationBillingRequestsPaginator:
    return Session().client("ec2").get_paginator("describe_capacity_reservation_billing_requests")
# DescribeCapacityReservationBillingRequestsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCapacityReservationBillingRequestsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeCapacityReservationBillingRequestsPaginator = client.get_paginator("describe_capacity_reservation_billing_requests")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeCapacityReservationBillingRequestsPaginator
  3. item: DescribeCapacityReservationBillingRequestsResultTypeDef

paginate#

Type annotations and code completion for DescribeCapacityReservationBillingRequestsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Role: CallerRoleType,  # (1)
    CapacityReservationIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (2)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[DescribeCapacityReservationBillingRequestsResultTypeDef]:  # (4)
    ...
  1. See CallerRoleType
  2. See FilterTypeDef
  3. See PaginatorConfigTypeDef
  4. See DescribeCapacityReservationBillingRequestsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeCapacityReservationBillingRequestsRequestDescribeCapacityReservationBillingRequestsPaginateTypeDef = {  # (1)
    "Role": ...,
}

parent.paginate(**kwargs)
  1. See DescribeCapacityReservationBillingRequestsRequestDescribeCapacityReservationBillingRequestsPaginateTypeDef

DescribeCapacityReservationFleetsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_capacity_reservation_fleets"). boto3 documentation

# DescribeCapacityReservationFleetsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCapacityReservationFleetsPaginator

def get_describe_capacity_reservation_fleets_paginator() -> DescribeCapacityReservationFleetsPaginator:
    return Session().client("ec2").get_paginator("describe_capacity_reservation_fleets")
# DescribeCapacityReservationFleetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCapacityReservationFleetsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeCapacityReservationFleetsPaginator = client.get_paginator("describe_capacity_reservation_fleets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeCapacityReservationFleetsPaginator
  3. item: DescribeCapacityReservationFleetsResultTypeDef

paginate#

Type annotations and code completion for DescribeCapacityReservationFleetsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    CapacityReservationFleetIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeCapacityReservationFleetsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeCapacityReservationFleetsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeCapacityReservationFleetsRequestDescribeCapacityReservationFleetsPaginateTypeDef = {  # (1)
    "CapacityReservationFleetIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeCapacityReservationFleetsRequestDescribeCapacityReservationFleetsPaginateTypeDef

DescribeCapacityReservationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_capacity_reservations"). boto3 documentation

# DescribeCapacityReservationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCapacityReservationsPaginator

def get_describe_capacity_reservations_paginator() -> DescribeCapacityReservationsPaginator:
    return Session().client("ec2").get_paginator("describe_capacity_reservations")
# DescribeCapacityReservationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCapacityReservationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeCapacityReservationsPaginator = client.get_paginator("describe_capacity_reservations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeCapacityReservationsPaginator
  3. item: DescribeCapacityReservationsResultTypeDef

paginate#

Type annotations and code completion for DescribeCapacityReservationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    CapacityReservationIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeCapacityReservationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeCapacityReservationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeCapacityReservationsRequestDescribeCapacityReservationsPaginateTypeDef = {  # (1)
    "CapacityReservationIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeCapacityReservationsRequestDescribeCapacityReservationsPaginateTypeDef

DescribeCarrierGatewaysPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_carrier_gateways"). boto3 documentation

# DescribeCarrierGatewaysPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCarrierGatewaysPaginator

def get_describe_carrier_gateways_paginator() -> DescribeCarrierGatewaysPaginator:
    return Session().client("ec2").get_paginator("describe_carrier_gateways")
# DescribeCarrierGatewaysPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCarrierGatewaysPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeCarrierGatewaysPaginator = client.get_paginator("describe_carrier_gateways")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeCarrierGatewaysPaginator
  3. item: DescribeCarrierGatewaysResultTypeDef

paginate#

Type annotations and code completion for DescribeCarrierGatewaysPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    CarrierGatewayIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeCarrierGatewaysResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeCarrierGatewaysResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeCarrierGatewaysRequestDescribeCarrierGatewaysPaginateTypeDef = {  # (1)
    "CarrierGatewayIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeCarrierGatewaysRequestDescribeCarrierGatewaysPaginateTypeDef

DescribeClassicLinkInstancesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_classic_link_instances"). boto3 documentation

# DescribeClassicLinkInstancesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClassicLinkInstancesPaginator

def get_describe_classic_link_instances_paginator() -> DescribeClassicLinkInstancesPaginator:
    return Session().client("ec2").get_paginator("describe_classic_link_instances")
# DescribeClassicLinkInstancesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClassicLinkInstancesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeClassicLinkInstancesPaginator = client.get_paginator("describe_classic_link_instances")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeClassicLinkInstancesPaginator
  3. item: DescribeClassicLinkInstancesResultTypeDef

paginate#

Type annotations and code completion for DescribeClassicLinkInstancesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    InstanceIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeClassicLinkInstancesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeClassicLinkInstancesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeClassicLinkInstancesRequestDescribeClassicLinkInstancesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeClassicLinkInstancesRequestDescribeClassicLinkInstancesPaginateTypeDef

DescribeClientVpnAuthorizationRulesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_client_vpn_authorization_rules"). boto3 documentation

# DescribeClientVpnAuthorizationRulesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnAuthorizationRulesPaginator

def get_describe_client_vpn_authorization_rules_paginator() -> DescribeClientVpnAuthorizationRulesPaginator:
    return Session().client("ec2").get_paginator("describe_client_vpn_authorization_rules")
# DescribeClientVpnAuthorizationRulesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnAuthorizationRulesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeClientVpnAuthorizationRulesPaginator = client.get_paginator("describe_client_vpn_authorization_rules")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeClientVpnAuthorizationRulesPaginator
  3. item: DescribeClientVpnAuthorizationRulesResultTypeDef

paginate#

Type annotations and code completion for DescribeClientVpnAuthorizationRulesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ClientVpnEndpointId: str,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeClientVpnAuthorizationRulesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeClientVpnAuthorizationRulesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeClientVpnAuthorizationRulesRequestDescribeClientVpnAuthorizationRulesPaginateTypeDef = {  # (1)
    "ClientVpnEndpointId": ...,
}

parent.paginate(**kwargs)
  1. See DescribeClientVpnAuthorizationRulesRequestDescribeClientVpnAuthorizationRulesPaginateTypeDef

DescribeClientVpnConnectionsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_client_vpn_connections"). boto3 documentation

# DescribeClientVpnConnectionsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnConnectionsPaginator

def get_describe_client_vpn_connections_paginator() -> DescribeClientVpnConnectionsPaginator:
    return Session().client("ec2").get_paginator("describe_client_vpn_connections")
# DescribeClientVpnConnectionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnConnectionsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeClientVpnConnectionsPaginator = client.get_paginator("describe_client_vpn_connections")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeClientVpnConnectionsPaginator
  3. item: DescribeClientVpnConnectionsResultTypeDef

paginate#

Type annotations and code completion for DescribeClientVpnConnectionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ClientVpnEndpointId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeClientVpnConnectionsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeClientVpnConnectionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeClientVpnConnectionsRequestDescribeClientVpnConnectionsPaginateTypeDef = {  # (1)
    "ClientVpnEndpointId": ...,
}

parent.paginate(**kwargs)
  1. See DescribeClientVpnConnectionsRequestDescribeClientVpnConnectionsPaginateTypeDef

DescribeClientVpnEndpointsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_client_vpn_endpoints"). boto3 documentation

# DescribeClientVpnEndpointsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnEndpointsPaginator

def get_describe_client_vpn_endpoints_paginator() -> DescribeClientVpnEndpointsPaginator:
    return Session().client("ec2").get_paginator("describe_client_vpn_endpoints")
# DescribeClientVpnEndpointsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnEndpointsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeClientVpnEndpointsPaginator = client.get_paginator("describe_client_vpn_endpoints")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeClientVpnEndpointsPaginator
  3. item: DescribeClientVpnEndpointsResultTypeDef

paginate#

Type annotations and code completion for DescribeClientVpnEndpointsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ClientVpnEndpointIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeClientVpnEndpointsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeClientVpnEndpointsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeClientVpnEndpointsRequestDescribeClientVpnEndpointsPaginateTypeDef = {  # (1)
    "ClientVpnEndpointIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeClientVpnEndpointsRequestDescribeClientVpnEndpointsPaginateTypeDef

DescribeClientVpnRoutesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_client_vpn_routes"). boto3 documentation

# DescribeClientVpnRoutesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnRoutesPaginator

def get_describe_client_vpn_routes_paginator() -> DescribeClientVpnRoutesPaginator:
    return Session().client("ec2").get_paginator("describe_client_vpn_routes")
# DescribeClientVpnRoutesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnRoutesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeClientVpnRoutesPaginator = client.get_paginator("describe_client_vpn_routes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeClientVpnRoutesPaginator
  3. item: DescribeClientVpnRoutesResultTypeDef

paginate#

Type annotations and code completion for DescribeClientVpnRoutesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ClientVpnEndpointId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeClientVpnRoutesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeClientVpnRoutesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeClientVpnRoutesRequestDescribeClientVpnRoutesPaginateTypeDef = {  # (1)
    "ClientVpnEndpointId": ...,
}

parent.paginate(**kwargs)
  1. See DescribeClientVpnRoutesRequestDescribeClientVpnRoutesPaginateTypeDef

DescribeClientVpnTargetNetworksPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_client_vpn_target_networks"). boto3 documentation

# DescribeClientVpnTargetNetworksPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnTargetNetworksPaginator

def get_describe_client_vpn_target_networks_paginator() -> DescribeClientVpnTargetNetworksPaginator:
    return Session().client("ec2").get_paginator("describe_client_vpn_target_networks")
# DescribeClientVpnTargetNetworksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeClientVpnTargetNetworksPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeClientVpnTargetNetworksPaginator = client.get_paginator("describe_client_vpn_target_networks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeClientVpnTargetNetworksPaginator
  3. item: DescribeClientVpnTargetNetworksResultTypeDef

paginate#

Type annotations and code completion for DescribeClientVpnTargetNetworksPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ClientVpnEndpointId: str,
    AssociationIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeClientVpnTargetNetworksResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeClientVpnTargetNetworksResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeClientVpnTargetNetworksRequestDescribeClientVpnTargetNetworksPaginateTypeDef = {  # (1)
    "ClientVpnEndpointId": ...,
}

parent.paginate(**kwargs)
  1. See DescribeClientVpnTargetNetworksRequestDescribeClientVpnTargetNetworksPaginateTypeDef

DescribeCoipPoolsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_coip_pools"). boto3 documentation

# DescribeCoipPoolsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCoipPoolsPaginator

def get_describe_coip_pools_paginator() -> DescribeCoipPoolsPaginator:
    return Session().client("ec2").get_paginator("describe_coip_pools")
# DescribeCoipPoolsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeCoipPoolsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeCoipPoolsPaginator = client.get_paginator("describe_coip_pools")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeCoipPoolsPaginator
  3. item: DescribeCoipPoolsResultTypeDef

paginate#

Type annotations and code completion for DescribeCoipPoolsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PoolIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeCoipPoolsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeCoipPoolsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeCoipPoolsRequestDescribeCoipPoolsPaginateTypeDef = {  # (1)
    "PoolIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeCoipPoolsRequestDescribeCoipPoolsPaginateTypeDef

DescribeDhcpOptionsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_dhcp_options"). boto3 documentation

# DescribeDhcpOptionsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeDhcpOptionsPaginator

def get_describe_dhcp_options_paginator() -> DescribeDhcpOptionsPaginator:
    return Session().client("ec2").get_paginator("describe_dhcp_options")
# DescribeDhcpOptionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeDhcpOptionsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeDhcpOptionsPaginator = client.get_paginator("describe_dhcp_options")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeDhcpOptionsPaginator
  3. item: DescribeDhcpOptionsResultTypeDef

paginate#

Type annotations and code completion for DescribeDhcpOptionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DhcpOptionsIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeDhcpOptionsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeDhcpOptionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeDhcpOptionsRequestDescribeDhcpOptionsPaginateTypeDef = {  # (1)
    "DhcpOptionsIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeDhcpOptionsRequestDescribeDhcpOptionsPaginateTypeDef

DescribeEgressOnlyInternetGatewaysPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_egress_only_internet_gateways"). boto3 documentation

# DescribeEgressOnlyInternetGatewaysPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeEgressOnlyInternetGatewaysPaginator

def get_describe_egress_only_internet_gateways_paginator() -> DescribeEgressOnlyInternetGatewaysPaginator:
    return Session().client("ec2").get_paginator("describe_egress_only_internet_gateways")
# DescribeEgressOnlyInternetGatewaysPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeEgressOnlyInternetGatewaysPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeEgressOnlyInternetGatewaysPaginator = client.get_paginator("describe_egress_only_internet_gateways")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeEgressOnlyInternetGatewaysPaginator
  3. item: DescribeEgressOnlyInternetGatewaysResultTypeDef

paginate#

Type annotations and code completion for DescribeEgressOnlyInternetGatewaysPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    EgressOnlyInternetGatewayIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeEgressOnlyInternetGatewaysResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeEgressOnlyInternetGatewaysResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeEgressOnlyInternetGatewaysRequestDescribeEgressOnlyInternetGatewaysPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeEgressOnlyInternetGatewaysRequestDescribeEgressOnlyInternetGatewaysPaginateTypeDef

DescribeExportImageTasksPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_export_image_tasks"). boto3 documentation

# DescribeExportImageTasksPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeExportImageTasksPaginator

def get_describe_export_image_tasks_paginator() -> DescribeExportImageTasksPaginator:
    return Session().client("ec2").get_paginator("describe_export_image_tasks")
# DescribeExportImageTasksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeExportImageTasksPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeExportImageTasksPaginator = client.get_paginator("describe_export_image_tasks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeExportImageTasksPaginator
  3. item: DescribeExportImageTasksResultTypeDef

paginate#

Type annotations and code completion for DescribeExportImageTasksPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    ExportImageTaskIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeExportImageTasksResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeExportImageTasksResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeExportImageTasksRequestDescribeExportImageTasksPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeExportImageTasksRequestDescribeExportImageTasksPaginateTypeDef

DescribeFastLaunchImagesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_fast_launch_images"). boto3 documentation

# DescribeFastLaunchImagesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFastLaunchImagesPaginator

def get_describe_fast_launch_images_paginator() -> DescribeFastLaunchImagesPaginator:
    return Session().client("ec2").get_paginator("describe_fast_launch_images")
# DescribeFastLaunchImagesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFastLaunchImagesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeFastLaunchImagesPaginator = client.get_paginator("describe_fast_launch_images")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeFastLaunchImagesPaginator
  3. item: DescribeFastLaunchImagesResultTypeDef

paginate#

Type annotations and code completion for DescribeFastLaunchImagesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ImageIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeFastLaunchImagesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeFastLaunchImagesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeFastLaunchImagesRequestDescribeFastLaunchImagesPaginateTypeDef = {  # (1)
    "ImageIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeFastLaunchImagesRequestDescribeFastLaunchImagesPaginateTypeDef

DescribeFastSnapshotRestoresPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_fast_snapshot_restores"). boto3 documentation

# DescribeFastSnapshotRestoresPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFastSnapshotRestoresPaginator

def get_describe_fast_snapshot_restores_paginator() -> DescribeFastSnapshotRestoresPaginator:
    return Session().client("ec2").get_paginator("describe_fast_snapshot_restores")
# DescribeFastSnapshotRestoresPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFastSnapshotRestoresPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeFastSnapshotRestoresPaginator = client.get_paginator("describe_fast_snapshot_restores")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeFastSnapshotRestoresPaginator
  3. item: DescribeFastSnapshotRestoresResultTypeDef

paginate#

Type annotations and code completion for DescribeFastSnapshotRestoresPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeFastSnapshotRestoresResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeFastSnapshotRestoresResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeFastSnapshotRestoresRequestDescribeFastSnapshotRestoresPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeFastSnapshotRestoresRequestDescribeFastSnapshotRestoresPaginateTypeDef

DescribeFleetsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_fleets"). boto3 documentation

# DescribeFleetsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFleetsPaginator

def get_describe_fleets_paginator() -> DescribeFleetsPaginator:
    return Session().client("ec2").get_paginator("describe_fleets")
# DescribeFleetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFleetsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeFleetsPaginator = client.get_paginator("describe_fleets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeFleetsPaginator
  3. item: DescribeFleetsResultTypeDef

paginate#

Type annotations and code completion for DescribeFleetsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    FleetIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeFleetsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeFleetsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeFleetsRequestDescribeFleetsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeFleetsRequestDescribeFleetsPaginateTypeDef

DescribeFlowLogsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_flow_logs"). boto3 documentation

# DescribeFlowLogsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFlowLogsPaginator

def get_describe_flow_logs_paginator() -> DescribeFlowLogsPaginator:
    return Session().client("ec2").get_paginator("describe_flow_logs")
# DescribeFlowLogsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFlowLogsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeFlowLogsPaginator = client.get_paginator("describe_flow_logs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeFlowLogsPaginator
  3. item: DescribeFlowLogsResultTypeDef

paginate#

Type annotations and code completion for DescribeFlowLogsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    FlowLogIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeFlowLogsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeFlowLogsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeFlowLogsRequestDescribeFlowLogsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeFlowLogsRequestDescribeFlowLogsPaginateTypeDef

DescribeFpgaImagesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_fpga_images"). boto3 documentation

# DescribeFpgaImagesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFpgaImagesPaginator

def get_describe_fpga_images_paginator() -> DescribeFpgaImagesPaginator:
    return Session().client("ec2").get_paginator("describe_fpga_images")
# DescribeFpgaImagesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeFpgaImagesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeFpgaImagesPaginator = client.get_paginator("describe_fpga_images")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeFpgaImagesPaginator
  3. item: DescribeFpgaImagesResultTypeDef

paginate#

Type annotations and code completion for DescribeFpgaImagesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    FpgaImageIds: Sequence[str] = ...,
    Owners: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeFpgaImagesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeFpgaImagesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeFpgaImagesRequestDescribeFpgaImagesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeFpgaImagesRequestDescribeFpgaImagesPaginateTypeDef

DescribeHostReservationOfferingsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_host_reservation_offerings"). boto3 documentation

# DescribeHostReservationOfferingsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeHostReservationOfferingsPaginator

def get_describe_host_reservation_offerings_paginator() -> DescribeHostReservationOfferingsPaginator:
    return Session().client("ec2").get_paginator("describe_host_reservation_offerings")
# DescribeHostReservationOfferingsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeHostReservationOfferingsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeHostReservationOfferingsPaginator = client.get_paginator("describe_host_reservation_offerings")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeHostReservationOfferingsPaginator
  3. item: DescribeHostReservationOfferingsResultTypeDef

paginate#

Type annotations and code completion for DescribeHostReservationOfferingsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    MaxDuration: int = ...,
    MinDuration: int = ...,
    OfferingId: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeHostReservationOfferingsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeHostReservationOfferingsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeHostReservationOfferingsRequestDescribeHostReservationOfferingsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeHostReservationOfferingsRequestDescribeHostReservationOfferingsPaginateTypeDef

DescribeHostReservationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_host_reservations"). boto3 documentation

# DescribeHostReservationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeHostReservationsPaginator

def get_describe_host_reservations_paginator() -> DescribeHostReservationsPaginator:
    return Session().client("ec2").get_paginator("describe_host_reservations")
# DescribeHostReservationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeHostReservationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeHostReservationsPaginator = client.get_paginator("describe_host_reservations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeHostReservationsPaginator
  3. item: DescribeHostReservationsResultTypeDef

paginate#

Type annotations and code completion for DescribeHostReservationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    HostReservationIdSet: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeHostReservationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeHostReservationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeHostReservationsRequestDescribeHostReservationsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeHostReservationsRequestDescribeHostReservationsPaginateTypeDef

DescribeHostsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_hosts"). boto3 documentation

# DescribeHostsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeHostsPaginator

def get_describe_hosts_paginator() -> DescribeHostsPaginator:
    return Session().client("ec2").get_paginator("describe_hosts")
# DescribeHostsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeHostsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeHostsPaginator = client.get_paginator("describe_hosts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeHostsPaginator
  3. item: DescribeHostsResultTypeDef

paginate#

Type annotations and code completion for DescribeHostsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    HostIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeHostsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeHostsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeHostsRequestDescribeHostsPaginateTypeDef = {  # (1)
    "HostIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeHostsRequestDescribeHostsPaginateTypeDef

DescribeIamInstanceProfileAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_iam_instance_profile_associations"). boto3 documentation

# DescribeIamInstanceProfileAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIamInstanceProfileAssociationsPaginator

def get_describe_iam_instance_profile_associations_paginator() -> DescribeIamInstanceProfileAssociationsPaginator:
    return Session().client("ec2").get_paginator("describe_iam_instance_profile_associations")
# DescribeIamInstanceProfileAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIamInstanceProfileAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeIamInstanceProfileAssociationsPaginator = client.get_paginator("describe_iam_instance_profile_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeIamInstanceProfileAssociationsPaginator
  3. item: DescribeIamInstanceProfileAssociationsResultTypeDef

paginate#

Type annotations and code completion for DescribeIamInstanceProfileAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    AssociationIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeIamInstanceProfileAssociationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeIamInstanceProfileAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeIamInstanceProfileAssociationsRequestDescribeIamInstanceProfileAssociationsPaginateTypeDef = {  # (1)
    "AssociationIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeIamInstanceProfileAssociationsRequestDescribeIamInstanceProfileAssociationsPaginateTypeDef

DescribeImagesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_images"). boto3 documentation

# DescribeImagesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeImagesPaginator

def get_describe_images_paginator() -> DescribeImagesPaginator:
    return Session().client("ec2").get_paginator("describe_images")
# DescribeImagesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeImagesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeImagesPaginator = client.get_paginator("describe_images")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeImagesPaginator
  3. item: DescribeImagesResultTypeDef

paginate#

Type annotations and code completion for DescribeImagesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ExecutableUsers: Sequence[str] = ...,
    ImageIds: Sequence[str] = ...,
    Owners: Sequence[str] = ...,
    IncludeDeprecated: bool = ...,
    IncludeDisabled: bool = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeImagesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeImagesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeImagesRequestDescribeImagesPaginateTypeDef = {  # (1)
    "ExecutableUsers": ...,
}

parent.paginate(**kwargs)
  1. See DescribeImagesRequestDescribeImagesPaginateTypeDef

DescribeImportImageTasksPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_import_image_tasks"). boto3 documentation

# DescribeImportImageTasksPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeImportImageTasksPaginator

def get_describe_import_image_tasks_paginator() -> DescribeImportImageTasksPaginator:
    return Session().client("ec2").get_paginator("describe_import_image_tasks")
# DescribeImportImageTasksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeImportImageTasksPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeImportImageTasksPaginator = client.get_paginator("describe_import_image_tasks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeImportImageTasksPaginator
  3. item: DescribeImportImageTasksResultTypeDef

paginate#

Type annotations and code completion for DescribeImportImageTasksPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    ImportTaskIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeImportImageTasksResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeImportImageTasksResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeImportImageTasksRequestDescribeImportImageTasksPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeImportImageTasksRequestDescribeImportImageTasksPaginateTypeDef

DescribeImportSnapshotTasksPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_import_snapshot_tasks"). boto3 documentation

# DescribeImportSnapshotTasksPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeImportSnapshotTasksPaginator

def get_describe_import_snapshot_tasks_paginator() -> DescribeImportSnapshotTasksPaginator:
    return Session().client("ec2").get_paginator("describe_import_snapshot_tasks")
# DescribeImportSnapshotTasksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeImportSnapshotTasksPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeImportSnapshotTasksPaginator = client.get_paginator("describe_import_snapshot_tasks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeImportSnapshotTasksPaginator
  3. item: DescribeImportSnapshotTasksResultTypeDef

paginate#

Type annotations and code completion for DescribeImportSnapshotTasksPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    ImportTaskIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeImportSnapshotTasksResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeImportSnapshotTasksResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeImportSnapshotTasksRequestDescribeImportSnapshotTasksPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeImportSnapshotTasksRequestDescribeImportSnapshotTasksPaginateTypeDef

DescribeInstanceConnectEndpointsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_instance_connect_endpoints"). boto3 documentation

# DescribeInstanceConnectEndpointsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceConnectEndpointsPaginator

def get_describe_instance_connect_endpoints_paginator() -> DescribeInstanceConnectEndpointsPaginator:
    return Session().client("ec2").get_paginator("describe_instance_connect_endpoints")
# DescribeInstanceConnectEndpointsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceConnectEndpointsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInstanceConnectEndpointsPaginator = client.get_paginator("describe_instance_connect_endpoints")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInstanceConnectEndpointsPaginator
  3. item: DescribeInstanceConnectEndpointsResultTypeDef

paginate#

Type annotations and code completion for DescribeInstanceConnectEndpointsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    InstanceConnectEndpointIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeInstanceConnectEndpointsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeInstanceConnectEndpointsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInstanceConnectEndpointsRequestDescribeInstanceConnectEndpointsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInstanceConnectEndpointsRequestDescribeInstanceConnectEndpointsPaginateTypeDef

DescribeInstanceCreditSpecificationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_instance_credit_specifications"). boto3 documentation

# DescribeInstanceCreditSpecificationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceCreditSpecificationsPaginator

def get_describe_instance_credit_specifications_paginator() -> DescribeInstanceCreditSpecificationsPaginator:
    return Session().client("ec2").get_paginator("describe_instance_credit_specifications")
# DescribeInstanceCreditSpecificationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceCreditSpecificationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInstanceCreditSpecificationsPaginator = client.get_paginator("describe_instance_credit_specifications")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInstanceCreditSpecificationsPaginator
  3. item: DescribeInstanceCreditSpecificationsResultTypeDef

paginate#

Type annotations and code completion for DescribeInstanceCreditSpecificationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    InstanceIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeInstanceCreditSpecificationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeInstanceCreditSpecificationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInstanceCreditSpecificationsRequestDescribeInstanceCreditSpecificationsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInstanceCreditSpecificationsRequestDescribeInstanceCreditSpecificationsPaginateTypeDef

DescribeInstanceEventWindowsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_instance_event_windows"). boto3 documentation

# DescribeInstanceEventWindowsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceEventWindowsPaginator

def get_describe_instance_event_windows_paginator() -> DescribeInstanceEventWindowsPaginator:
    return Session().client("ec2").get_paginator("describe_instance_event_windows")
# DescribeInstanceEventWindowsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceEventWindowsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInstanceEventWindowsPaginator = client.get_paginator("describe_instance_event_windows")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInstanceEventWindowsPaginator
  3. item: DescribeInstanceEventWindowsResultTypeDef

paginate#

Type annotations and code completion for DescribeInstanceEventWindowsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    InstanceEventWindowIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeInstanceEventWindowsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeInstanceEventWindowsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInstanceEventWindowsRequestDescribeInstanceEventWindowsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInstanceEventWindowsRequestDescribeInstanceEventWindowsPaginateTypeDef

DescribeInstanceImageMetadataPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_instance_image_metadata"). boto3 documentation

# DescribeInstanceImageMetadataPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceImageMetadataPaginator

def get_describe_instance_image_metadata_paginator() -> DescribeInstanceImageMetadataPaginator:
    return Session().client("ec2").get_paginator("describe_instance_image_metadata")
# DescribeInstanceImageMetadataPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceImageMetadataPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInstanceImageMetadataPaginator = client.get_paginator("describe_instance_image_metadata")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInstanceImageMetadataPaginator
  3. item: DescribeInstanceImageMetadataResultTypeDef

paginate#

Type annotations and code completion for DescribeInstanceImageMetadataPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    InstanceIds: Sequence[str] = ...,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeInstanceImageMetadataResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeInstanceImageMetadataResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInstanceImageMetadataRequestDescribeInstanceImageMetadataPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInstanceImageMetadataRequestDescribeInstanceImageMetadataPaginateTypeDef

DescribeInstanceStatusPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_instance_status"). boto3 documentation

# DescribeInstanceStatusPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceStatusPaginator

def get_describe_instance_status_paginator() -> DescribeInstanceStatusPaginator:
    return Session().client("ec2").get_paginator("describe_instance_status")
# DescribeInstanceStatusPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceStatusPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInstanceStatusPaginator = client.get_paginator("describe_instance_status")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInstanceStatusPaginator
  3. item: DescribeInstanceStatusResultTypeDef

paginate#

Type annotations and code completion for DescribeInstanceStatusPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    InstanceIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    IncludeAllInstances: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeInstanceStatusResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeInstanceStatusResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInstanceStatusRequestDescribeInstanceStatusPaginateTypeDef = {  # (1)
    "InstanceIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInstanceStatusRequestDescribeInstanceStatusPaginateTypeDef

DescribeInstanceTopologyPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_instance_topology"). boto3 documentation

# DescribeInstanceTopologyPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceTopologyPaginator

def get_describe_instance_topology_paginator() -> DescribeInstanceTopologyPaginator:
    return Session().client("ec2").get_paginator("describe_instance_topology")
# DescribeInstanceTopologyPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceTopologyPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInstanceTopologyPaginator = client.get_paginator("describe_instance_topology")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInstanceTopologyPaginator
  3. item: DescribeInstanceTopologyResultTypeDef

paginate#

Type annotations and code completion for DescribeInstanceTopologyPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    InstanceIds: Sequence[str] = ...,
    GroupNames: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeInstanceTopologyResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeInstanceTopologyResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInstanceTopologyRequestDescribeInstanceTopologyPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInstanceTopologyRequestDescribeInstanceTopologyPaginateTypeDef

DescribeInstanceTypeOfferingsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_instance_type_offerings"). boto3 documentation

# DescribeInstanceTypeOfferingsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceTypeOfferingsPaginator

def get_describe_instance_type_offerings_paginator() -> DescribeInstanceTypeOfferingsPaginator:
    return Session().client("ec2").get_paginator("describe_instance_type_offerings")
# DescribeInstanceTypeOfferingsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceTypeOfferingsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInstanceTypeOfferingsPaginator = client.get_paginator("describe_instance_type_offerings")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInstanceTypeOfferingsPaginator
  3. item: DescribeInstanceTypeOfferingsResultTypeDef

paginate#

Type annotations and code completion for DescribeInstanceTypeOfferingsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    LocationType: LocationTypeType = ...,  # (1)
    Filters: Sequence[FilterTypeDef] = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[DescribeInstanceTypeOfferingsResultTypeDef]:  # (4)
    ...
  1. See LocationTypeType
  2. See FilterTypeDef
  3. See PaginatorConfigTypeDef
  4. See DescribeInstanceTypeOfferingsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInstanceTypeOfferingsRequestDescribeInstanceTypeOfferingsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInstanceTypeOfferingsRequestDescribeInstanceTypeOfferingsPaginateTypeDef

DescribeInstanceTypesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_instance_types"). boto3 documentation

# DescribeInstanceTypesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceTypesPaginator

def get_describe_instance_types_paginator() -> DescribeInstanceTypesPaginator:
    return Session().client("ec2").get_paginator("describe_instance_types")
# DescribeInstanceTypesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstanceTypesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInstanceTypesPaginator = client.get_paginator("describe_instance_types")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInstanceTypesPaginator
  3. item: DescribeInstanceTypesResultTypeDef

paginate#

Type annotations and code completion for DescribeInstanceTypesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    InstanceTypes: Sequence[InstanceTypeType] = ...,  # (1)
    Filters: Sequence[FilterTypeDef] = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[DescribeInstanceTypesResultTypeDef]:  # (4)
    ...
  1. See InstanceTypeType
  2. See FilterTypeDef
  3. See PaginatorConfigTypeDef
  4. See DescribeInstanceTypesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInstanceTypesRequestDescribeInstanceTypesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInstanceTypesRequestDescribeInstanceTypesPaginateTypeDef

DescribeInstancesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_instances"). boto3 documentation

# DescribeInstancesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstancesPaginator

def get_describe_instances_paginator() -> DescribeInstancesPaginator:
    return Session().client("ec2").get_paginator("describe_instances")
# DescribeInstancesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInstancesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInstancesPaginator = client.get_paginator("describe_instances")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInstancesPaginator
  3. item: DescribeInstancesResultTypeDef

paginate#

Type annotations and code completion for DescribeInstancesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    InstanceIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeInstancesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeInstancesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInstancesRequestDescribeInstancesPaginateTypeDef = {  # (1)
    "InstanceIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInstancesRequestDescribeInstancesPaginateTypeDef

DescribeInternetGatewaysPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_internet_gateways"). boto3 documentation

# DescribeInternetGatewaysPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInternetGatewaysPaginator

def get_describe_internet_gateways_paginator() -> DescribeInternetGatewaysPaginator:
    return Session().client("ec2").get_paginator("describe_internet_gateways")
# DescribeInternetGatewaysPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeInternetGatewaysPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeInternetGatewaysPaginator = client.get_paginator("describe_internet_gateways")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeInternetGatewaysPaginator
  3. item: DescribeInternetGatewaysResultTypeDef

paginate#

Type annotations and code completion for DescribeInternetGatewaysPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    InternetGatewayIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeInternetGatewaysResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeInternetGatewaysResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeInternetGatewaysRequestDescribeInternetGatewaysPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeInternetGatewaysRequestDescribeInternetGatewaysPaginateTypeDef

DescribeIpamPoolsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_ipam_pools"). boto3 documentation

# DescribeIpamPoolsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamPoolsPaginator

def get_describe_ipam_pools_paginator() -> DescribeIpamPoolsPaginator:
    return Session().client("ec2").get_paginator("describe_ipam_pools")
# DescribeIpamPoolsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamPoolsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeIpamPoolsPaginator = client.get_paginator("describe_ipam_pools")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeIpamPoolsPaginator
  3. item: DescribeIpamPoolsResultTypeDef

paginate#

Type annotations and code completion for DescribeIpamPoolsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    IpamPoolIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeIpamPoolsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeIpamPoolsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeIpamPoolsRequestDescribeIpamPoolsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeIpamPoolsRequestDescribeIpamPoolsPaginateTypeDef

DescribeIpamResourceDiscoveriesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_ipam_resource_discoveries"). boto3 documentation

# DescribeIpamResourceDiscoveriesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamResourceDiscoveriesPaginator

def get_describe_ipam_resource_discoveries_paginator() -> DescribeIpamResourceDiscoveriesPaginator:
    return Session().client("ec2").get_paginator("describe_ipam_resource_discoveries")
# DescribeIpamResourceDiscoveriesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamResourceDiscoveriesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeIpamResourceDiscoveriesPaginator = client.get_paginator("describe_ipam_resource_discoveries")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeIpamResourceDiscoveriesPaginator
  3. item: DescribeIpamResourceDiscoveriesResultTypeDef

paginate#

Type annotations and code completion for DescribeIpamResourceDiscoveriesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    IpamResourceDiscoveryIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeIpamResourceDiscoveriesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeIpamResourceDiscoveriesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeIpamResourceDiscoveriesRequestDescribeIpamResourceDiscoveriesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeIpamResourceDiscoveriesRequestDescribeIpamResourceDiscoveriesPaginateTypeDef

DescribeIpamResourceDiscoveryAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_ipam_resource_discovery_associations"). boto3 documentation

# DescribeIpamResourceDiscoveryAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamResourceDiscoveryAssociationsPaginator

def get_describe_ipam_resource_discovery_associations_paginator() -> DescribeIpamResourceDiscoveryAssociationsPaginator:
    return Session().client("ec2").get_paginator("describe_ipam_resource_discovery_associations")
# DescribeIpamResourceDiscoveryAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamResourceDiscoveryAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeIpamResourceDiscoveryAssociationsPaginator = client.get_paginator("describe_ipam_resource_discovery_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeIpamResourceDiscoveryAssociationsPaginator
  3. item: DescribeIpamResourceDiscoveryAssociationsResultTypeDef

paginate#

Type annotations and code completion for DescribeIpamResourceDiscoveryAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    IpamResourceDiscoveryAssociationIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeIpamResourceDiscoveryAssociationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeIpamResourceDiscoveryAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeIpamResourceDiscoveryAssociationsRequestDescribeIpamResourceDiscoveryAssociationsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeIpamResourceDiscoveryAssociationsRequestDescribeIpamResourceDiscoveryAssociationsPaginateTypeDef

DescribeIpamScopesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_ipam_scopes"). boto3 documentation

# DescribeIpamScopesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamScopesPaginator

def get_describe_ipam_scopes_paginator() -> DescribeIpamScopesPaginator:
    return Session().client("ec2").get_paginator("describe_ipam_scopes")
# DescribeIpamScopesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamScopesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeIpamScopesPaginator = client.get_paginator("describe_ipam_scopes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeIpamScopesPaginator
  3. item: DescribeIpamScopesResultTypeDef

paginate#

Type annotations and code completion for DescribeIpamScopesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    IpamScopeIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeIpamScopesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeIpamScopesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeIpamScopesRequestDescribeIpamScopesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeIpamScopesRequestDescribeIpamScopesPaginateTypeDef

DescribeIpamsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_ipams"). boto3 documentation

# DescribeIpamsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamsPaginator

def get_describe_ipams_paginator() -> DescribeIpamsPaginator:
    return Session().client("ec2").get_paginator("describe_ipams")
# DescribeIpamsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpamsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeIpamsPaginator = client.get_paginator("describe_ipams")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeIpamsPaginator
  3. item: DescribeIpamsResultTypeDef

paginate#

Type annotations and code completion for DescribeIpamsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    IpamIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeIpamsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeIpamsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeIpamsRequestDescribeIpamsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeIpamsRequestDescribeIpamsPaginateTypeDef

DescribeIpv6PoolsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_ipv6_pools"). boto3 documentation

# DescribeIpv6PoolsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpv6PoolsPaginator

def get_describe_ipv6_pools_paginator() -> DescribeIpv6PoolsPaginator:
    return Session().client("ec2").get_paginator("describe_ipv6_pools")
# DescribeIpv6PoolsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeIpv6PoolsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeIpv6PoolsPaginator = client.get_paginator("describe_ipv6_pools")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeIpv6PoolsPaginator
  3. item: DescribeIpv6PoolsResultTypeDef

paginate#

Type annotations and code completion for DescribeIpv6PoolsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PoolIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeIpv6PoolsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeIpv6PoolsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeIpv6PoolsRequestDescribeIpv6PoolsPaginateTypeDef = {  # (1)
    "PoolIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeIpv6PoolsRequestDescribeIpv6PoolsPaginateTypeDef

DescribeLaunchTemplateVersionsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_launch_template_versions"). boto3 documentation

# DescribeLaunchTemplateVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLaunchTemplateVersionsPaginator

def get_describe_launch_template_versions_paginator() -> DescribeLaunchTemplateVersionsPaginator:
    return Session().client("ec2").get_paginator("describe_launch_template_versions")
# DescribeLaunchTemplateVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLaunchTemplateVersionsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeLaunchTemplateVersionsPaginator = client.get_paginator("describe_launch_template_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeLaunchTemplateVersionsPaginator
  3. item: DescribeLaunchTemplateVersionsResultTypeDef

paginate#

Type annotations and code completion for DescribeLaunchTemplateVersionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    LaunchTemplateId: str = ...,
    LaunchTemplateName: str = ...,
    Versions: Sequence[str] = ...,
    MinVersion: str = ...,
    MaxVersion: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    ResolveAlias: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeLaunchTemplateVersionsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeLaunchTemplateVersionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeLaunchTemplateVersionsRequestDescribeLaunchTemplateVersionsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeLaunchTemplateVersionsRequestDescribeLaunchTemplateVersionsPaginateTypeDef

DescribeLaunchTemplatesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_launch_templates"). boto3 documentation

# DescribeLaunchTemplatesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLaunchTemplatesPaginator

def get_describe_launch_templates_paginator() -> DescribeLaunchTemplatesPaginator:
    return Session().client("ec2").get_paginator("describe_launch_templates")
# DescribeLaunchTemplatesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLaunchTemplatesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeLaunchTemplatesPaginator = client.get_paginator("describe_launch_templates")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeLaunchTemplatesPaginator
  3. item: DescribeLaunchTemplatesResultTypeDef

paginate#

Type annotations and code completion for DescribeLaunchTemplatesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    LaunchTemplateIds: Sequence[str] = ...,
    LaunchTemplateNames: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeLaunchTemplatesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeLaunchTemplatesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeLaunchTemplatesRequestDescribeLaunchTemplatesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeLaunchTemplatesRequestDescribeLaunchTemplatesPaginateTypeDef

DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_local_gateway_route_table_virtual_interface_group_associations"). boto3 documentation

# DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator

def get_describe_local_gateway_route_table_virtual_interface_group_associations_paginator() -> DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator:
    return Session().client("ec2").get_paginator("describe_local_gateway_route_table_virtual_interface_group_associations")
# DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator = client.get_paginator("describe_local_gateway_route_table_virtual_interface_group_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator
  3. item: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResultTypeDef

paginate#

Type annotations and code completion for DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginateTypeDef = {  # (1)
    "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginateTypeDef

DescribeLocalGatewayRouteTableVpcAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_local_gateway_route_table_vpc_associations"). boto3 documentation

# DescribeLocalGatewayRouteTableVpcAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayRouteTableVpcAssociationsPaginator

def get_describe_local_gateway_route_table_vpc_associations_paginator() -> DescribeLocalGatewayRouteTableVpcAssociationsPaginator:
    return Session().client("ec2").get_paginator("describe_local_gateway_route_table_vpc_associations")
# DescribeLocalGatewayRouteTableVpcAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayRouteTableVpcAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeLocalGatewayRouteTableVpcAssociationsPaginator = client.get_paginator("describe_local_gateway_route_table_vpc_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeLocalGatewayRouteTableVpcAssociationsPaginator
  3. item: DescribeLocalGatewayRouteTableVpcAssociationsResultTypeDef

paginate#

Type annotations and code completion for DescribeLocalGatewayRouteTableVpcAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    LocalGatewayRouteTableVpcAssociationIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeLocalGatewayRouteTableVpcAssociationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeLocalGatewayRouteTableVpcAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeLocalGatewayRouteTableVpcAssociationsRequestDescribeLocalGatewayRouteTableVpcAssociationsPaginateTypeDef = {  # (1)
    "LocalGatewayRouteTableVpcAssociationIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeLocalGatewayRouteTableVpcAssociationsRequestDescribeLocalGatewayRouteTableVpcAssociationsPaginateTypeDef

DescribeLocalGatewayRouteTablesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_local_gateway_route_tables"). boto3 documentation

# DescribeLocalGatewayRouteTablesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayRouteTablesPaginator

def get_describe_local_gateway_route_tables_paginator() -> DescribeLocalGatewayRouteTablesPaginator:
    return Session().client("ec2").get_paginator("describe_local_gateway_route_tables")
# DescribeLocalGatewayRouteTablesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayRouteTablesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeLocalGatewayRouteTablesPaginator = client.get_paginator("describe_local_gateway_route_tables")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeLocalGatewayRouteTablesPaginator
  3. item: DescribeLocalGatewayRouteTablesResultTypeDef

paginate#

Type annotations and code completion for DescribeLocalGatewayRouteTablesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    LocalGatewayRouteTableIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeLocalGatewayRouteTablesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeLocalGatewayRouteTablesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeLocalGatewayRouteTablesRequestDescribeLocalGatewayRouteTablesPaginateTypeDef = {  # (1)
    "LocalGatewayRouteTableIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeLocalGatewayRouteTablesRequestDescribeLocalGatewayRouteTablesPaginateTypeDef

DescribeLocalGatewayVirtualInterfaceGroupsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_local_gateway_virtual_interface_groups"). boto3 documentation

# DescribeLocalGatewayVirtualInterfaceGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayVirtualInterfaceGroupsPaginator

def get_describe_local_gateway_virtual_interface_groups_paginator() -> DescribeLocalGatewayVirtualInterfaceGroupsPaginator:
    return Session().client("ec2").get_paginator("describe_local_gateway_virtual_interface_groups")
# DescribeLocalGatewayVirtualInterfaceGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayVirtualInterfaceGroupsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeLocalGatewayVirtualInterfaceGroupsPaginator = client.get_paginator("describe_local_gateway_virtual_interface_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeLocalGatewayVirtualInterfaceGroupsPaginator
  3. item: DescribeLocalGatewayVirtualInterfaceGroupsResultTypeDef

paginate#

Type annotations and code completion for DescribeLocalGatewayVirtualInterfaceGroupsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    LocalGatewayVirtualInterfaceGroupIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeLocalGatewayVirtualInterfaceGroupsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeLocalGatewayVirtualInterfaceGroupsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeLocalGatewayVirtualInterfaceGroupsRequestDescribeLocalGatewayVirtualInterfaceGroupsPaginateTypeDef = {  # (1)
    "LocalGatewayVirtualInterfaceGroupIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeLocalGatewayVirtualInterfaceGroupsRequestDescribeLocalGatewayVirtualInterfaceGroupsPaginateTypeDef

DescribeLocalGatewayVirtualInterfacesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_local_gateway_virtual_interfaces"). boto3 documentation

# DescribeLocalGatewayVirtualInterfacesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayVirtualInterfacesPaginator

def get_describe_local_gateway_virtual_interfaces_paginator() -> DescribeLocalGatewayVirtualInterfacesPaginator:
    return Session().client("ec2").get_paginator("describe_local_gateway_virtual_interfaces")
# DescribeLocalGatewayVirtualInterfacesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewayVirtualInterfacesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeLocalGatewayVirtualInterfacesPaginator = client.get_paginator("describe_local_gateway_virtual_interfaces")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeLocalGatewayVirtualInterfacesPaginator
  3. item: DescribeLocalGatewayVirtualInterfacesResultTypeDef

paginate#

Type annotations and code completion for DescribeLocalGatewayVirtualInterfacesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    LocalGatewayVirtualInterfaceIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeLocalGatewayVirtualInterfacesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeLocalGatewayVirtualInterfacesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeLocalGatewayVirtualInterfacesRequestDescribeLocalGatewayVirtualInterfacesPaginateTypeDef = {  # (1)
    "LocalGatewayVirtualInterfaceIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeLocalGatewayVirtualInterfacesRequestDescribeLocalGatewayVirtualInterfacesPaginateTypeDef

DescribeLocalGatewaysPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_local_gateways"). boto3 documentation

# DescribeLocalGatewaysPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewaysPaginator

def get_describe_local_gateways_paginator() -> DescribeLocalGatewaysPaginator:
    return Session().client("ec2").get_paginator("describe_local_gateways")
# DescribeLocalGatewaysPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeLocalGatewaysPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeLocalGatewaysPaginator = client.get_paginator("describe_local_gateways")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeLocalGatewaysPaginator
  3. item: DescribeLocalGatewaysResultTypeDef

paginate#

Type annotations and code completion for DescribeLocalGatewaysPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    LocalGatewayIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeLocalGatewaysResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeLocalGatewaysResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeLocalGatewaysRequestDescribeLocalGatewaysPaginateTypeDef = {  # (1)
    "LocalGatewayIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeLocalGatewaysRequestDescribeLocalGatewaysPaginateTypeDef

DescribeMacHostsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_mac_hosts"). boto3 documentation

# DescribeMacHostsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeMacHostsPaginator

def get_describe_mac_hosts_paginator() -> DescribeMacHostsPaginator:
    return Session().client("ec2").get_paginator("describe_mac_hosts")
# DescribeMacHostsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeMacHostsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeMacHostsPaginator = client.get_paginator("describe_mac_hosts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeMacHostsPaginator
  3. item: DescribeMacHostsResultTypeDef

paginate#

Type annotations and code completion for DescribeMacHostsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    HostIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeMacHostsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeMacHostsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeMacHostsRequestDescribeMacHostsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeMacHostsRequestDescribeMacHostsPaginateTypeDef

DescribeManagedPrefixListsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_managed_prefix_lists"). boto3 documentation

# DescribeManagedPrefixListsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeManagedPrefixListsPaginator

def get_describe_managed_prefix_lists_paginator() -> DescribeManagedPrefixListsPaginator:
    return Session().client("ec2").get_paginator("describe_managed_prefix_lists")
# DescribeManagedPrefixListsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeManagedPrefixListsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeManagedPrefixListsPaginator = client.get_paginator("describe_managed_prefix_lists")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeManagedPrefixListsPaginator
  3. item: DescribeManagedPrefixListsResultTypeDef

paginate#

Type annotations and code completion for DescribeManagedPrefixListsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PrefixListIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeManagedPrefixListsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeManagedPrefixListsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeManagedPrefixListsRequestDescribeManagedPrefixListsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeManagedPrefixListsRequestDescribeManagedPrefixListsPaginateTypeDef

DescribeMovingAddressesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_moving_addresses"). boto3 documentation

# DescribeMovingAddressesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeMovingAddressesPaginator

def get_describe_moving_addresses_paginator() -> DescribeMovingAddressesPaginator:
    return Session().client("ec2").get_paginator("describe_moving_addresses")
# DescribeMovingAddressesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeMovingAddressesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeMovingAddressesPaginator = client.get_paginator("describe_moving_addresses")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeMovingAddressesPaginator
  3. item: DescribeMovingAddressesResultTypeDef

paginate#

Type annotations and code completion for DescribeMovingAddressesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    PublicIps: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeMovingAddressesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeMovingAddressesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeMovingAddressesRequestDescribeMovingAddressesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeMovingAddressesRequestDescribeMovingAddressesPaginateTypeDef

DescribeNatGatewaysPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_nat_gateways"). boto3 documentation

# DescribeNatGatewaysPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNatGatewaysPaginator

def get_describe_nat_gateways_paginator() -> DescribeNatGatewaysPaginator:
    return Session().client("ec2").get_paginator("describe_nat_gateways")
# DescribeNatGatewaysPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNatGatewaysPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeNatGatewaysPaginator = client.get_paginator("describe_nat_gateways")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeNatGatewaysPaginator
  3. item: DescribeNatGatewaysResultTypeDef

paginate#

Type annotations and code completion for DescribeNatGatewaysPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    NatGatewayIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeNatGatewaysResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeNatGatewaysResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeNatGatewaysRequestDescribeNatGatewaysPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeNatGatewaysRequestDescribeNatGatewaysPaginateTypeDef

DescribeNetworkAclsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_network_acls"). boto3 documentation

# DescribeNetworkAclsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkAclsPaginator

def get_describe_network_acls_paginator() -> DescribeNetworkAclsPaginator:
    return Session().client("ec2").get_paginator("describe_network_acls")
# DescribeNetworkAclsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkAclsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeNetworkAclsPaginator = client.get_paginator("describe_network_acls")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeNetworkAclsPaginator
  3. item: DescribeNetworkAclsResultTypeDef

paginate#

Type annotations and code completion for DescribeNetworkAclsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    NetworkAclIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeNetworkAclsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeNetworkAclsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeNetworkAclsRequestDescribeNetworkAclsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeNetworkAclsRequestDescribeNetworkAclsPaginateTypeDef

DescribeNetworkInsightsAccessScopeAnalysesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_network_insights_access_scope_analyses"). boto3 documentation

# DescribeNetworkInsightsAccessScopeAnalysesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInsightsAccessScopeAnalysesPaginator

def get_describe_network_insights_access_scope_analyses_paginator() -> DescribeNetworkInsightsAccessScopeAnalysesPaginator:
    return Session().client("ec2").get_paginator("describe_network_insights_access_scope_analyses")
# DescribeNetworkInsightsAccessScopeAnalysesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInsightsAccessScopeAnalysesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeNetworkInsightsAccessScopeAnalysesPaginator = client.get_paginator("describe_network_insights_access_scope_analyses")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeNetworkInsightsAccessScopeAnalysesPaginator
  3. item: DescribeNetworkInsightsAccessScopeAnalysesResultTypeDef

paginate#

Type annotations and code completion for DescribeNetworkInsightsAccessScopeAnalysesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    NetworkInsightsAccessScopeAnalysisIds: Sequence[str] = ...,
    NetworkInsightsAccessScopeId: str = ...,
    AnalysisStartTimeBegin: TimestampTypeDef = ...,
    AnalysisStartTimeEnd: TimestampTypeDef = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeNetworkInsightsAccessScopeAnalysesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeNetworkInsightsAccessScopeAnalysesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeNetworkInsightsAccessScopeAnalysesRequestDescribeNetworkInsightsAccessScopeAnalysesPaginateTypeDef = {  # (1)
    "NetworkInsightsAccessScopeAnalysisIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeNetworkInsightsAccessScopeAnalysesRequestDescribeNetworkInsightsAccessScopeAnalysesPaginateTypeDef

DescribeNetworkInsightsAccessScopesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_network_insights_access_scopes"). boto3 documentation

# DescribeNetworkInsightsAccessScopesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInsightsAccessScopesPaginator

def get_describe_network_insights_access_scopes_paginator() -> DescribeNetworkInsightsAccessScopesPaginator:
    return Session().client("ec2").get_paginator("describe_network_insights_access_scopes")
# DescribeNetworkInsightsAccessScopesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInsightsAccessScopesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeNetworkInsightsAccessScopesPaginator = client.get_paginator("describe_network_insights_access_scopes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeNetworkInsightsAccessScopesPaginator
  3. item: DescribeNetworkInsightsAccessScopesResultTypeDef

paginate#

Type annotations and code completion for DescribeNetworkInsightsAccessScopesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    NetworkInsightsAccessScopeIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeNetworkInsightsAccessScopesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeNetworkInsightsAccessScopesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeNetworkInsightsAccessScopesRequestDescribeNetworkInsightsAccessScopesPaginateTypeDef = {  # (1)
    "NetworkInsightsAccessScopeIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeNetworkInsightsAccessScopesRequestDescribeNetworkInsightsAccessScopesPaginateTypeDef

DescribeNetworkInsightsAnalysesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_network_insights_analyses"). boto3 documentation

# DescribeNetworkInsightsAnalysesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInsightsAnalysesPaginator

def get_describe_network_insights_analyses_paginator() -> DescribeNetworkInsightsAnalysesPaginator:
    return Session().client("ec2").get_paginator("describe_network_insights_analyses")
# DescribeNetworkInsightsAnalysesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInsightsAnalysesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeNetworkInsightsAnalysesPaginator = client.get_paginator("describe_network_insights_analyses")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeNetworkInsightsAnalysesPaginator
  3. item: DescribeNetworkInsightsAnalysesResultTypeDef

paginate#

Type annotations and code completion for DescribeNetworkInsightsAnalysesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    NetworkInsightsAnalysisIds: Sequence[str] = ...,
    NetworkInsightsPathId: str = ...,
    AnalysisStartTime: TimestampTypeDef = ...,
    AnalysisEndTime: TimestampTypeDef = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeNetworkInsightsAnalysesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeNetworkInsightsAnalysesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeNetworkInsightsAnalysesRequestDescribeNetworkInsightsAnalysesPaginateTypeDef = {  # (1)
    "NetworkInsightsAnalysisIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeNetworkInsightsAnalysesRequestDescribeNetworkInsightsAnalysesPaginateTypeDef

DescribeNetworkInsightsPathsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_network_insights_paths"). boto3 documentation

# DescribeNetworkInsightsPathsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInsightsPathsPaginator

def get_describe_network_insights_paths_paginator() -> DescribeNetworkInsightsPathsPaginator:
    return Session().client("ec2").get_paginator("describe_network_insights_paths")
# DescribeNetworkInsightsPathsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInsightsPathsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeNetworkInsightsPathsPaginator = client.get_paginator("describe_network_insights_paths")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeNetworkInsightsPathsPaginator
  3. item: DescribeNetworkInsightsPathsResultTypeDef

paginate#

Type annotations and code completion for DescribeNetworkInsightsPathsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    NetworkInsightsPathIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeNetworkInsightsPathsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeNetworkInsightsPathsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeNetworkInsightsPathsRequestDescribeNetworkInsightsPathsPaginateTypeDef = {  # (1)
    "NetworkInsightsPathIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeNetworkInsightsPathsRequestDescribeNetworkInsightsPathsPaginateTypeDef

DescribeNetworkInterfacePermissionsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_network_interface_permissions"). boto3 documentation

# DescribeNetworkInterfacePermissionsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInterfacePermissionsPaginator

def get_describe_network_interface_permissions_paginator() -> DescribeNetworkInterfacePermissionsPaginator:
    return Session().client("ec2").get_paginator("describe_network_interface_permissions")
# DescribeNetworkInterfacePermissionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInterfacePermissionsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeNetworkInterfacePermissionsPaginator = client.get_paginator("describe_network_interface_permissions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeNetworkInterfacePermissionsPaginator
  3. item: DescribeNetworkInterfacePermissionsResultTypeDef

paginate#

Type annotations and code completion for DescribeNetworkInterfacePermissionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    NetworkInterfacePermissionIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeNetworkInterfacePermissionsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeNetworkInterfacePermissionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeNetworkInterfacePermissionsRequestDescribeNetworkInterfacePermissionsPaginateTypeDef = {  # (1)
    "NetworkInterfacePermissionIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeNetworkInterfacePermissionsRequestDescribeNetworkInterfacePermissionsPaginateTypeDef

DescribeNetworkInterfacesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_network_interfaces"). boto3 documentation

# DescribeNetworkInterfacesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInterfacesPaginator

def get_describe_network_interfaces_paginator() -> DescribeNetworkInterfacesPaginator:
    return Session().client("ec2").get_paginator("describe_network_interfaces")
# DescribeNetworkInterfacesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeNetworkInterfacesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeNetworkInterfacesPaginator = client.get_paginator("describe_network_interfaces")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeNetworkInterfacesPaginator
  3. item: DescribeNetworkInterfacesResultTypeDef

paginate#

Type annotations and code completion for DescribeNetworkInterfacesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    NetworkInterfaceIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeNetworkInterfacesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeNetworkInterfacesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeNetworkInterfacesRequestDescribeNetworkInterfacesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeNetworkInterfacesRequestDescribeNetworkInterfacesPaginateTypeDef

DescribePrefixListsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_prefix_lists"). boto3 documentation

# DescribePrefixListsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribePrefixListsPaginator

def get_describe_prefix_lists_paginator() -> DescribePrefixListsPaginator:
    return Session().client("ec2").get_paginator("describe_prefix_lists")
# DescribePrefixListsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribePrefixListsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribePrefixListsPaginator = client.get_paginator("describe_prefix_lists")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribePrefixListsPaginator
  3. item: DescribePrefixListsResultTypeDef

paginate#

Type annotations and code completion for DescribePrefixListsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PrefixListIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribePrefixListsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribePrefixListsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribePrefixListsRequestDescribePrefixListsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribePrefixListsRequestDescribePrefixListsPaginateTypeDef

DescribePrincipalIdFormatPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_principal_id_format"). boto3 documentation

# DescribePrincipalIdFormatPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribePrincipalIdFormatPaginator

def get_describe_principal_id_format_paginator() -> DescribePrincipalIdFormatPaginator:
    return Session().client("ec2").get_paginator("describe_principal_id_format")
# DescribePrincipalIdFormatPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribePrincipalIdFormatPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribePrincipalIdFormatPaginator = client.get_paginator("describe_principal_id_format")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribePrincipalIdFormatPaginator
  3. item: DescribePrincipalIdFormatResultTypeDef

paginate#

Type annotations and code completion for DescribePrincipalIdFormatPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Resources: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribePrincipalIdFormatResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribePrincipalIdFormatResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribePrincipalIdFormatRequestDescribePrincipalIdFormatPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribePrincipalIdFormatRequestDescribePrincipalIdFormatPaginateTypeDef

DescribePublicIpv4PoolsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_public_ipv4_pools"). boto3 documentation

# DescribePublicIpv4PoolsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribePublicIpv4PoolsPaginator

def get_describe_public_ipv4_pools_paginator() -> DescribePublicIpv4PoolsPaginator:
    return Session().client("ec2").get_paginator("describe_public_ipv4_pools")
# DescribePublicIpv4PoolsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribePublicIpv4PoolsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribePublicIpv4PoolsPaginator = client.get_paginator("describe_public_ipv4_pools")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribePublicIpv4PoolsPaginator
  3. item: DescribePublicIpv4PoolsResultTypeDef

paginate#

Type annotations and code completion for DescribePublicIpv4PoolsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PoolIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribePublicIpv4PoolsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribePublicIpv4PoolsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribePublicIpv4PoolsRequestDescribePublicIpv4PoolsPaginateTypeDef = {  # (1)
    "PoolIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribePublicIpv4PoolsRequestDescribePublicIpv4PoolsPaginateTypeDef

DescribeReplaceRootVolumeTasksPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_replace_root_volume_tasks"). boto3 documentation

# DescribeReplaceRootVolumeTasksPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeReplaceRootVolumeTasksPaginator

def get_describe_replace_root_volume_tasks_paginator() -> DescribeReplaceRootVolumeTasksPaginator:
    return Session().client("ec2").get_paginator("describe_replace_root_volume_tasks")
# DescribeReplaceRootVolumeTasksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeReplaceRootVolumeTasksPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeReplaceRootVolumeTasksPaginator = client.get_paginator("describe_replace_root_volume_tasks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeReplaceRootVolumeTasksPaginator
  3. item: DescribeReplaceRootVolumeTasksResultTypeDef

paginate#

Type annotations and code completion for DescribeReplaceRootVolumeTasksPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ReplaceRootVolumeTaskIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeReplaceRootVolumeTasksResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeReplaceRootVolumeTasksResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeReplaceRootVolumeTasksRequestDescribeReplaceRootVolumeTasksPaginateTypeDef = {  # (1)
    "ReplaceRootVolumeTaskIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeReplaceRootVolumeTasksRequestDescribeReplaceRootVolumeTasksPaginateTypeDef

DescribeReservedInstancesModificationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_reserved_instances_modifications"). boto3 documentation

# DescribeReservedInstancesModificationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeReservedInstancesModificationsPaginator

def get_describe_reserved_instances_modifications_paginator() -> DescribeReservedInstancesModificationsPaginator:
    return Session().client("ec2").get_paginator("describe_reserved_instances_modifications")
# DescribeReservedInstancesModificationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeReservedInstancesModificationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeReservedInstancesModificationsPaginator = client.get_paginator("describe_reserved_instances_modifications")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeReservedInstancesModificationsPaginator
  3. item: DescribeReservedInstancesModificationsResultTypeDef

paginate#

Type annotations and code completion for DescribeReservedInstancesModificationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ReservedInstancesModificationIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeReservedInstancesModificationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeReservedInstancesModificationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeReservedInstancesModificationsRequestDescribeReservedInstancesModificationsPaginateTypeDef = {  # (1)
    "ReservedInstancesModificationIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeReservedInstancesModificationsRequestDescribeReservedInstancesModificationsPaginateTypeDef

DescribeReservedInstancesOfferingsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_reserved_instances_offerings"). boto3 documentation

# DescribeReservedInstancesOfferingsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeReservedInstancesOfferingsPaginator

def get_describe_reserved_instances_offerings_paginator() -> DescribeReservedInstancesOfferingsPaginator:
    return Session().client("ec2").get_paginator("describe_reserved_instances_offerings")
# DescribeReservedInstancesOfferingsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeReservedInstancesOfferingsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeReservedInstancesOfferingsPaginator = client.get_paginator("describe_reserved_instances_offerings")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeReservedInstancesOfferingsPaginator
  3. item: DescribeReservedInstancesOfferingsResultTypeDef

paginate#

Type annotations and code completion for DescribeReservedInstancesOfferingsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    AvailabilityZone: str = ...,
    IncludeMarketplace: bool = ...,
    InstanceType: InstanceTypeType = ...,  # (1)
    MaxDuration: int = ...,
    MaxInstanceCount: int = ...,
    MinDuration: int = ...,
    OfferingClass: OfferingClassTypeType = ...,  # (2)
    ProductDescription: RIProductDescriptionType = ...,  # (3)
    ReservedInstancesOfferingIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (4)
    InstanceTenancy: TenancyType = ...,  # (5)
    OfferingType: OfferingTypeValuesType = ...,  # (6)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (7)
) -> _PageIterator[DescribeReservedInstancesOfferingsResultTypeDef]:  # (8)
    ...
  1. See InstanceTypeType
  2. See OfferingClassTypeType
  3. See RIProductDescriptionType
  4. See FilterTypeDef
  5. See TenancyType
  6. See OfferingTypeValuesType
  7. See PaginatorConfigTypeDef
  8. See DescribeReservedInstancesOfferingsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeReservedInstancesOfferingsRequestDescribeReservedInstancesOfferingsPaginateTypeDef = {  # (1)
    "AvailabilityZone": ...,
}

parent.paginate(**kwargs)
  1. See DescribeReservedInstancesOfferingsRequestDescribeReservedInstancesOfferingsPaginateTypeDef

DescribeRouteTablesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_route_tables"). boto3 documentation

# DescribeRouteTablesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeRouteTablesPaginator

def get_describe_route_tables_paginator() -> DescribeRouteTablesPaginator:
    return Session().client("ec2").get_paginator("describe_route_tables")
# DescribeRouteTablesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeRouteTablesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeRouteTablesPaginator = client.get_paginator("describe_route_tables")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeRouteTablesPaginator
  3. item: DescribeRouteTablesResultTypeDef

paginate#

Type annotations and code completion for DescribeRouteTablesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    RouteTableIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeRouteTablesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeRouteTablesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeRouteTablesRequestDescribeRouteTablesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeRouteTablesRequestDescribeRouteTablesPaginateTypeDef

DescribeScheduledInstanceAvailabilityPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_scheduled_instance_availability"). boto3 documentation

# DescribeScheduledInstanceAvailabilityPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeScheduledInstanceAvailabilityPaginator

def get_describe_scheduled_instance_availability_paginator() -> DescribeScheduledInstanceAvailabilityPaginator:
    return Session().client("ec2").get_paginator("describe_scheduled_instance_availability")
# DescribeScheduledInstanceAvailabilityPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeScheduledInstanceAvailabilityPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeScheduledInstanceAvailabilityPaginator = client.get_paginator("describe_scheduled_instance_availability")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeScheduledInstanceAvailabilityPaginator
  3. item: DescribeScheduledInstanceAvailabilityResultTypeDef

paginate#

Type annotations and code completion for DescribeScheduledInstanceAvailabilityPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    FirstSlotStartTimeRange: SlotDateTimeRangeRequestTypeDef,  # (1)
    Recurrence: ScheduledInstanceRecurrenceRequestTypeDef,  # (2)
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (3)
    MaxSlotDurationInHours: int = ...,
    MinSlotDurationInHours: int = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> _PageIterator[DescribeScheduledInstanceAvailabilityResultTypeDef]:  # (5)
    ...
  1. See SlotDateTimeRangeRequestTypeDef
  2. See ScheduledInstanceRecurrenceRequestTypeDef
  3. See FilterTypeDef
  4. See PaginatorConfigTypeDef
  5. See DescribeScheduledInstanceAvailabilityResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeScheduledInstanceAvailabilityRequestDescribeScheduledInstanceAvailabilityPaginateTypeDef = {  # (1)
    "FirstSlotStartTimeRange": ...,
    "Recurrence": ...,
}

parent.paginate(**kwargs)
  1. See DescribeScheduledInstanceAvailabilityRequestDescribeScheduledInstanceAvailabilityPaginateTypeDef

DescribeScheduledInstancesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_scheduled_instances"). boto3 documentation

# DescribeScheduledInstancesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeScheduledInstancesPaginator

def get_describe_scheduled_instances_paginator() -> DescribeScheduledInstancesPaginator:
    return Session().client("ec2").get_paginator("describe_scheduled_instances")
# DescribeScheduledInstancesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeScheduledInstancesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeScheduledInstancesPaginator = client.get_paginator("describe_scheduled_instances")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeScheduledInstancesPaginator
  3. item: DescribeScheduledInstancesResultTypeDef

paginate#

Type annotations and code completion for DescribeScheduledInstancesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    ScheduledInstanceIds: Sequence[str] = ...,
    SlotStartTimeRange: SlotStartTimeRangeRequestTypeDef = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[DescribeScheduledInstancesResultTypeDef]:  # (4)
    ...
  1. See FilterTypeDef
  2. See SlotStartTimeRangeRequestTypeDef
  3. See PaginatorConfigTypeDef
  4. See DescribeScheduledInstancesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeScheduledInstancesRequestDescribeScheduledInstancesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeScheduledInstancesRequestDescribeScheduledInstancesPaginateTypeDef

DescribeSecurityGroupRulesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_security_group_rules"). boto3 documentation

# DescribeSecurityGroupRulesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSecurityGroupRulesPaginator

def get_describe_security_group_rules_paginator() -> DescribeSecurityGroupRulesPaginator:
    return Session().client("ec2").get_paginator("describe_security_group_rules")
# DescribeSecurityGroupRulesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSecurityGroupRulesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSecurityGroupRulesPaginator = client.get_paginator("describe_security_group_rules")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSecurityGroupRulesPaginator
  3. item: DescribeSecurityGroupRulesResultTypeDef

paginate#

Type annotations and code completion for DescribeSecurityGroupRulesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    SecurityGroupRuleIds: Sequence[str] = ...,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeSecurityGroupRulesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeSecurityGroupRulesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSecurityGroupRulesRequestDescribeSecurityGroupRulesPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSecurityGroupRulesRequestDescribeSecurityGroupRulesPaginateTypeDef

DescribeSecurityGroupVpcAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_security_group_vpc_associations"). boto3 documentation

# DescribeSecurityGroupVpcAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSecurityGroupVpcAssociationsPaginator

def get_describe_security_group_vpc_associations_paginator() -> DescribeSecurityGroupVpcAssociationsPaginator:
    return Session().client("ec2").get_paginator("describe_security_group_vpc_associations")
# DescribeSecurityGroupVpcAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSecurityGroupVpcAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSecurityGroupVpcAssociationsPaginator = client.get_paginator("describe_security_group_vpc_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSecurityGroupVpcAssociationsPaginator
  3. item: DescribeSecurityGroupVpcAssociationsResultTypeDef

paginate#

Type annotations and code completion for DescribeSecurityGroupVpcAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeSecurityGroupVpcAssociationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeSecurityGroupVpcAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSecurityGroupVpcAssociationsRequestDescribeSecurityGroupVpcAssociationsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSecurityGroupVpcAssociationsRequestDescribeSecurityGroupVpcAssociationsPaginateTypeDef

DescribeSecurityGroupsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_security_groups"). boto3 documentation

# DescribeSecurityGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSecurityGroupsPaginator

def get_describe_security_groups_paginator() -> DescribeSecurityGroupsPaginator:
    return Session().client("ec2").get_paginator("describe_security_groups")
# DescribeSecurityGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSecurityGroupsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSecurityGroupsPaginator = client.get_paginator("describe_security_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSecurityGroupsPaginator
  3. item: DescribeSecurityGroupsResultTypeDef

paginate#

Type annotations and code completion for DescribeSecurityGroupsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    GroupIds: Sequence[str] = ...,
    GroupNames: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeSecurityGroupsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeSecurityGroupsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSecurityGroupsRequestDescribeSecurityGroupsPaginateTypeDef = {  # (1)
    "GroupIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSecurityGroupsRequestDescribeSecurityGroupsPaginateTypeDef

DescribeSnapshotTierStatusPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_snapshot_tier_status"). boto3 documentation

# DescribeSnapshotTierStatusPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSnapshotTierStatusPaginator

def get_describe_snapshot_tier_status_paginator() -> DescribeSnapshotTierStatusPaginator:
    return Session().client("ec2").get_paginator("describe_snapshot_tier_status")
# DescribeSnapshotTierStatusPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSnapshotTierStatusPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSnapshotTierStatusPaginator = client.get_paginator("describe_snapshot_tier_status")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSnapshotTierStatusPaginator
  3. item: DescribeSnapshotTierStatusResultTypeDef

paginate#

Type annotations and code completion for DescribeSnapshotTierStatusPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeSnapshotTierStatusResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeSnapshotTierStatusResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSnapshotTierStatusRequestDescribeSnapshotTierStatusPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSnapshotTierStatusRequestDescribeSnapshotTierStatusPaginateTypeDef

DescribeSnapshotsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_snapshots"). boto3 documentation

# DescribeSnapshotsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSnapshotsPaginator

def get_describe_snapshots_paginator() -> DescribeSnapshotsPaginator:
    return Session().client("ec2").get_paginator("describe_snapshots")
# DescribeSnapshotsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSnapshotsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSnapshotsPaginator = client.get_paginator("describe_snapshots")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSnapshotsPaginator
  3. item: DescribeSnapshotsResultTypeDef

paginate#

Type annotations and code completion for DescribeSnapshotsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    OwnerIds: Sequence[str] = ...,
    RestorableByUserIds: Sequence[str] = ...,
    SnapshotIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeSnapshotsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeSnapshotsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSnapshotsRequestDescribeSnapshotsPaginateTypeDef = {  # (1)
    "OwnerIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSnapshotsRequestDescribeSnapshotsPaginateTypeDef

DescribeSpotFleetInstancesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_spot_fleet_instances"). boto3 documentation

# DescribeSpotFleetInstancesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSpotFleetInstancesPaginator

def get_describe_spot_fleet_instances_paginator() -> DescribeSpotFleetInstancesPaginator:
    return Session().client("ec2").get_paginator("describe_spot_fleet_instances")
# DescribeSpotFleetInstancesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSpotFleetInstancesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSpotFleetInstancesPaginator = client.get_paginator("describe_spot_fleet_instances")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSpotFleetInstancesPaginator
  3. item: DescribeSpotFleetInstancesResponseTypeDef

paginate#

Type annotations and code completion for DescribeSpotFleetInstancesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    SpotFleetRequestId: str,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeSpotFleetInstancesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeSpotFleetInstancesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSpotFleetInstancesRequestDescribeSpotFleetInstancesPaginateTypeDef = {  # (1)
    "SpotFleetRequestId": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSpotFleetInstancesRequestDescribeSpotFleetInstancesPaginateTypeDef

DescribeSpotFleetRequestsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_spot_fleet_requests"). boto3 documentation

# DescribeSpotFleetRequestsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSpotFleetRequestsPaginator

def get_describe_spot_fleet_requests_paginator() -> DescribeSpotFleetRequestsPaginator:
    return Session().client("ec2").get_paginator("describe_spot_fleet_requests")
# DescribeSpotFleetRequestsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSpotFleetRequestsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSpotFleetRequestsPaginator = client.get_paginator("describe_spot_fleet_requests")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSpotFleetRequestsPaginator
  3. item: DescribeSpotFleetRequestsResponseTypeDef

paginate#

Type annotations and code completion for DescribeSpotFleetRequestsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    SpotFleetRequestIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeSpotFleetRequestsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeSpotFleetRequestsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSpotFleetRequestsRequestDescribeSpotFleetRequestsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSpotFleetRequestsRequestDescribeSpotFleetRequestsPaginateTypeDef

DescribeSpotInstanceRequestsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_spot_instance_requests"). boto3 documentation

# DescribeSpotInstanceRequestsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSpotInstanceRequestsPaginator

def get_describe_spot_instance_requests_paginator() -> DescribeSpotInstanceRequestsPaginator:
    return Session().client("ec2").get_paginator("describe_spot_instance_requests")
# DescribeSpotInstanceRequestsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSpotInstanceRequestsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSpotInstanceRequestsPaginator = client.get_paginator("describe_spot_instance_requests")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSpotInstanceRequestsPaginator
  3. item: DescribeSpotInstanceRequestsResultTypeDef

paginate#

Type annotations and code completion for DescribeSpotInstanceRequestsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    SpotInstanceRequestIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeSpotInstanceRequestsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeSpotInstanceRequestsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSpotInstanceRequestsRequestDescribeSpotInstanceRequestsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSpotInstanceRequestsRequestDescribeSpotInstanceRequestsPaginateTypeDef

DescribeSpotPriceHistoryPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_spot_price_history"). boto3 documentation

# DescribeSpotPriceHistoryPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSpotPriceHistoryPaginator

def get_describe_spot_price_history_paginator() -> DescribeSpotPriceHistoryPaginator:
    return Session().client("ec2").get_paginator("describe_spot_price_history")
# DescribeSpotPriceHistoryPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSpotPriceHistoryPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSpotPriceHistoryPaginator = client.get_paginator("describe_spot_price_history")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSpotPriceHistoryPaginator
  3. item: DescribeSpotPriceHistoryResultTypeDef

paginate#

Type annotations and code completion for DescribeSpotPriceHistoryPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    StartTime: TimestampTypeDef = ...,
    EndTime: TimestampTypeDef = ...,
    InstanceTypes: Sequence[InstanceTypeType] = ...,  # (1)
    ProductDescriptions: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (2)
    AvailabilityZone: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[DescribeSpotPriceHistoryResultTypeDef]:  # (4)
    ...
  1. See InstanceTypeType
  2. See FilterTypeDef
  3. See PaginatorConfigTypeDef
  4. See DescribeSpotPriceHistoryResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSpotPriceHistoryRequestDescribeSpotPriceHistoryPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSpotPriceHistoryRequestDescribeSpotPriceHistoryPaginateTypeDef

DescribeStaleSecurityGroupsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_stale_security_groups"). boto3 documentation

# DescribeStaleSecurityGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeStaleSecurityGroupsPaginator

def get_describe_stale_security_groups_paginator() -> DescribeStaleSecurityGroupsPaginator:
    return Session().client("ec2").get_paginator("describe_stale_security_groups")
# DescribeStaleSecurityGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeStaleSecurityGroupsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeStaleSecurityGroupsPaginator = client.get_paginator("describe_stale_security_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeStaleSecurityGroupsPaginator
  3. item: DescribeStaleSecurityGroupsResultTypeDef

paginate#

Type annotations and code completion for DescribeStaleSecurityGroupsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VpcId: str,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeStaleSecurityGroupsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeStaleSecurityGroupsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeStaleSecurityGroupsRequestDescribeStaleSecurityGroupsPaginateTypeDef = {  # (1)
    "VpcId": ...,
}

parent.paginate(**kwargs)
  1. See DescribeStaleSecurityGroupsRequestDescribeStaleSecurityGroupsPaginateTypeDef

DescribeStoreImageTasksPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_store_image_tasks"). boto3 documentation

# DescribeStoreImageTasksPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeStoreImageTasksPaginator

def get_describe_store_image_tasks_paginator() -> DescribeStoreImageTasksPaginator:
    return Session().client("ec2").get_paginator("describe_store_image_tasks")
# DescribeStoreImageTasksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeStoreImageTasksPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeStoreImageTasksPaginator = client.get_paginator("describe_store_image_tasks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeStoreImageTasksPaginator
  3. item: DescribeStoreImageTasksResultTypeDef

paginate#

Type annotations and code completion for DescribeStoreImageTasksPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ImageIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeStoreImageTasksResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeStoreImageTasksResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeStoreImageTasksRequestDescribeStoreImageTasksPaginateTypeDef = {  # (1)
    "ImageIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeStoreImageTasksRequestDescribeStoreImageTasksPaginateTypeDef

DescribeSubnetsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_subnets"). boto3 documentation

# DescribeSubnetsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSubnetsPaginator

def get_describe_subnets_paginator() -> DescribeSubnetsPaginator:
    return Session().client("ec2").get_paginator("describe_subnets")
# DescribeSubnetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeSubnetsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeSubnetsPaginator = client.get_paginator("describe_subnets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeSubnetsPaginator
  3. item: DescribeSubnetsResultTypeDef

paginate#

Type annotations and code completion for DescribeSubnetsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    SubnetIds: Sequence[str] = ...,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeSubnetsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeSubnetsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeSubnetsRequestDescribeSubnetsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeSubnetsRequestDescribeSubnetsPaginateTypeDef

DescribeTagsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_tags"). boto3 documentation

# DescribeTagsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTagsPaginator

def get_describe_tags_paginator() -> DescribeTagsPaginator:
    return Session().client("ec2").get_paginator("describe_tags")
# DescribeTagsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTagsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTagsPaginator = client.get_paginator("describe_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTagsPaginator
  3. item: DescribeTagsResultTypeDef

paginate#

Type annotations and code completion for DescribeTagsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTagsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTagsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTagsRequestDescribeTagsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTagsRequestDescribeTagsPaginateTypeDef

DescribeTrafficMirrorFiltersPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_traffic_mirror_filters"). boto3 documentation

# DescribeTrafficMirrorFiltersPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTrafficMirrorFiltersPaginator

def get_describe_traffic_mirror_filters_paginator() -> DescribeTrafficMirrorFiltersPaginator:
    return Session().client("ec2").get_paginator("describe_traffic_mirror_filters")
# DescribeTrafficMirrorFiltersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTrafficMirrorFiltersPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTrafficMirrorFiltersPaginator = client.get_paginator("describe_traffic_mirror_filters")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTrafficMirrorFiltersPaginator
  3. item: DescribeTrafficMirrorFiltersResultTypeDef

paginate#

Type annotations and code completion for DescribeTrafficMirrorFiltersPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TrafficMirrorFilterIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTrafficMirrorFiltersResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTrafficMirrorFiltersResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTrafficMirrorFiltersRequestDescribeTrafficMirrorFiltersPaginateTypeDef = {  # (1)
    "TrafficMirrorFilterIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTrafficMirrorFiltersRequestDescribeTrafficMirrorFiltersPaginateTypeDef

DescribeTrafficMirrorSessionsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_traffic_mirror_sessions"). boto3 documentation

# DescribeTrafficMirrorSessionsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTrafficMirrorSessionsPaginator

def get_describe_traffic_mirror_sessions_paginator() -> DescribeTrafficMirrorSessionsPaginator:
    return Session().client("ec2").get_paginator("describe_traffic_mirror_sessions")
# DescribeTrafficMirrorSessionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTrafficMirrorSessionsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTrafficMirrorSessionsPaginator = client.get_paginator("describe_traffic_mirror_sessions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTrafficMirrorSessionsPaginator
  3. item: DescribeTrafficMirrorSessionsResultTypeDef

paginate#

Type annotations and code completion for DescribeTrafficMirrorSessionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TrafficMirrorSessionIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTrafficMirrorSessionsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTrafficMirrorSessionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTrafficMirrorSessionsRequestDescribeTrafficMirrorSessionsPaginateTypeDef = {  # (1)
    "TrafficMirrorSessionIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTrafficMirrorSessionsRequestDescribeTrafficMirrorSessionsPaginateTypeDef

DescribeTrafficMirrorTargetsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_traffic_mirror_targets"). boto3 documentation

# DescribeTrafficMirrorTargetsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTrafficMirrorTargetsPaginator

def get_describe_traffic_mirror_targets_paginator() -> DescribeTrafficMirrorTargetsPaginator:
    return Session().client("ec2").get_paginator("describe_traffic_mirror_targets")
# DescribeTrafficMirrorTargetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTrafficMirrorTargetsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTrafficMirrorTargetsPaginator = client.get_paginator("describe_traffic_mirror_targets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTrafficMirrorTargetsPaginator
  3. item: DescribeTrafficMirrorTargetsResultTypeDef

paginate#

Type annotations and code completion for DescribeTrafficMirrorTargetsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TrafficMirrorTargetIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTrafficMirrorTargetsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTrafficMirrorTargetsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTrafficMirrorTargetsRequestDescribeTrafficMirrorTargetsPaginateTypeDef = {  # (1)
    "TrafficMirrorTargetIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTrafficMirrorTargetsRequestDescribeTrafficMirrorTargetsPaginateTypeDef

DescribeTransitGatewayAttachmentsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateway_attachments"). boto3 documentation

# DescribeTransitGatewayAttachmentsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayAttachmentsPaginator

def get_describe_transit_gateway_attachments_paginator() -> DescribeTransitGatewayAttachmentsPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateway_attachments")
# DescribeTransitGatewayAttachmentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayAttachmentsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewayAttachmentsPaginator = client.get_paginator("describe_transit_gateway_attachments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewayAttachmentsPaginator
  3. item: DescribeTransitGatewayAttachmentsResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewayAttachmentsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayAttachmentIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewayAttachmentsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewayAttachmentsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewayAttachmentsRequestDescribeTransitGatewayAttachmentsPaginateTypeDef = {  # (1)
    "TransitGatewayAttachmentIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewayAttachmentsRequestDescribeTransitGatewayAttachmentsPaginateTypeDef

DescribeTransitGatewayConnectPeersPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateway_connect_peers"). boto3 documentation

# DescribeTransitGatewayConnectPeersPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayConnectPeersPaginator

def get_describe_transit_gateway_connect_peers_paginator() -> DescribeTransitGatewayConnectPeersPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateway_connect_peers")
# DescribeTransitGatewayConnectPeersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayConnectPeersPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewayConnectPeersPaginator = client.get_paginator("describe_transit_gateway_connect_peers")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewayConnectPeersPaginator
  3. item: DescribeTransitGatewayConnectPeersResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewayConnectPeersPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayConnectPeerIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewayConnectPeersResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewayConnectPeersResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewayConnectPeersRequestDescribeTransitGatewayConnectPeersPaginateTypeDef = {  # (1)
    "TransitGatewayConnectPeerIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewayConnectPeersRequestDescribeTransitGatewayConnectPeersPaginateTypeDef

DescribeTransitGatewayConnectsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateway_connects"). boto3 documentation

# DescribeTransitGatewayConnectsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayConnectsPaginator

def get_describe_transit_gateway_connects_paginator() -> DescribeTransitGatewayConnectsPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateway_connects")
# DescribeTransitGatewayConnectsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayConnectsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewayConnectsPaginator = client.get_paginator("describe_transit_gateway_connects")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewayConnectsPaginator
  3. item: DescribeTransitGatewayConnectsResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewayConnectsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayAttachmentIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewayConnectsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewayConnectsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewayConnectsRequestDescribeTransitGatewayConnectsPaginateTypeDef = {  # (1)
    "TransitGatewayAttachmentIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewayConnectsRequestDescribeTransitGatewayConnectsPaginateTypeDef

DescribeTransitGatewayMulticastDomainsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateway_multicast_domains"). boto3 documentation

# DescribeTransitGatewayMulticastDomainsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayMulticastDomainsPaginator

def get_describe_transit_gateway_multicast_domains_paginator() -> DescribeTransitGatewayMulticastDomainsPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateway_multicast_domains")
# DescribeTransitGatewayMulticastDomainsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayMulticastDomainsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewayMulticastDomainsPaginator = client.get_paginator("describe_transit_gateway_multicast_domains")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewayMulticastDomainsPaginator
  3. item: DescribeTransitGatewayMulticastDomainsResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewayMulticastDomainsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayMulticastDomainIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewayMulticastDomainsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewayMulticastDomainsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewayMulticastDomainsRequestDescribeTransitGatewayMulticastDomainsPaginateTypeDef = {  # (1)
    "TransitGatewayMulticastDomainIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewayMulticastDomainsRequestDescribeTransitGatewayMulticastDomainsPaginateTypeDef

DescribeTransitGatewayPeeringAttachmentsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateway_peering_attachments"). boto3 documentation

# DescribeTransitGatewayPeeringAttachmentsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayPeeringAttachmentsPaginator

def get_describe_transit_gateway_peering_attachments_paginator() -> DescribeTransitGatewayPeeringAttachmentsPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateway_peering_attachments")
# DescribeTransitGatewayPeeringAttachmentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayPeeringAttachmentsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewayPeeringAttachmentsPaginator = client.get_paginator("describe_transit_gateway_peering_attachments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewayPeeringAttachmentsPaginator
  3. item: DescribeTransitGatewayPeeringAttachmentsResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewayPeeringAttachmentsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayAttachmentIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewayPeeringAttachmentsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewayPeeringAttachmentsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewayPeeringAttachmentsRequestDescribeTransitGatewayPeeringAttachmentsPaginateTypeDef = {  # (1)
    "TransitGatewayAttachmentIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewayPeeringAttachmentsRequestDescribeTransitGatewayPeeringAttachmentsPaginateTypeDef

DescribeTransitGatewayPolicyTablesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateway_policy_tables"). boto3 documentation

# DescribeTransitGatewayPolicyTablesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayPolicyTablesPaginator

def get_describe_transit_gateway_policy_tables_paginator() -> DescribeTransitGatewayPolicyTablesPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateway_policy_tables")
# DescribeTransitGatewayPolicyTablesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayPolicyTablesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewayPolicyTablesPaginator = client.get_paginator("describe_transit_gateway_policy_tables")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewayPolicyTablesPaginator
  3. item: DescribeTransitGatewayPolicyTablesResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewayPolicyTablesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayPolicyTableIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewayPolicyTablesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewayPolicyTablesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewayPolicyTablesRequestDescribeTransitGatewayPolicyTablesPaginateTypeDef = {  # (1)
    "TransitGatewayPolicyTableIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewayPolicyTablesRequestDescribeTransitGatewayPolicyTablesPaginateTypeDef

DescribeTransitGatewayRouteTableAnnouncementsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateway_route_table_announcements"). boto3 documentation

# DescribeTransitGatewayRouteTableAnnouncementsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayRouteTableAnnouncementsPaginator

def get_describe_transit_gateway_route_table_announcements_paginator() -> DescribeTransitGatewayRouteTableAnnouncementsPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateway_route_table_announcements")
# DescribeTransitGatewayRouteTableAnnouncementsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayRouteTableAnnouncementsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewayRouteTableAnnouncementsPaginator = client.get_paginator("describe_transit_gateway_route_table_announcements")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewayRouteTableAnnouncementsPaginator
  3. item: DescribeTransitGatewayRouteTableAnnouncementsResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewayRouteTableAnnouncementsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayRouteTableAnnouncementIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewayRouteTableAnnouncementsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewayRouteTableAnnouncementsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewayRouteTableAnnouncementsRequestDescribeTransitGatewayRouteTableAnnouncementsPaginateTypeDef = {  # (1)
    "TransitGatewayRouteTableAnnouncementIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewayRouteTableAnnouncementsRequestDescribeTransitGatewayRouteTableAnnouncementsPaginateTypeDef

DescribeTransitGatewayRouteTablesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateway_route_tables"). boto3 documentation

# DescribeTransitGatewayRouteTablesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayRouteTablesPaginator

def get_describe_transit_gateway_route_tables_paginator() -> DescribeTransitGatewayRouteTablesPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateway_route_tables")
# DescribeTransitGatewayRouteTablesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayRouteTablesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewayRouteTablesPaginator = client.get_paginator("describe_transit_gateway_route_tables")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewayRouteTablesPaginator
  3. item: DescribeTransitGatewayRouteTablesResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewayRouteTablesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayRouteTableIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewayRouteTablesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewayRouteTablesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewayRouteTablesRequestDescribeTransitGatewayRouteTablesPaginateTypeDef = {  # (1)
    "TransitGatewayRouteTableIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewayRouteTablesRequestDescribeTransitGatewayRouteTablesPaginateTypeDef

DescribeTransitGatewayVpcAttachmentsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateway_vpc_attachments"). boto3 documentation

# DescribeTransitGatewayVpcAttachmentsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayVpcAttachmentsPaginator

def get_describe_transit_gateway_vpc_attachments_paginator() -> DescribeTransitGatewayVpcAttachmentsPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateway_vpc_attachments")
# DescribeTransitGatewayVpcAttachmentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewayVpcAttachmentsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewayVpcAttachmentsPaginator = client.get_paginator("describe_transit_gateway_vpc_attachments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewayVpcAttachmentsPaginator
  3. item: DescribeTransitGatewayVpcAttachmentsResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewayVpcAttachmentsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayAttachmentIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewayVpcAttachmentsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewayVpcAttachmentsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewayVpcAttachmentsRequestDescribeTransitGatewayVpcAttachmentsPaginateTypeDef = {  # (1)
    "TransitGatewayAttachmentIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewayVpcAttachmentsRequestDescribeTransitGatewayVpcAttachmentsPaginateTypeDef

DescribeTransitGatewaysPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_transit_gateways"). boto3 documentation

# DescribeTransitGatewaysPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewaysPaginator

def get_describe_transit_gateways_paginator() -> DescribeTransitGatewaysPaginator:
    return Session().client("ec2").get_paginator("describe_transit_gateways")
# DescribeTransitGatewaysPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTransitGatewaysPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTransitGatewaysPaginator = client.get_paginator("describe_transit_gateways")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTransitGatewaysPaginator
  3. item: DescribeTransitGatewaysResultTypeDef

paginate#

Type annotations and code completion for DescribeTransitGatewaysPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTransitGatewaysResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTransitGatewaysResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTransitGatewaysRequestDescribeTransitGatewaysPaginateTypeDef = {  # (1)
    "TransitGatewayIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTransitGatewaysRequestDescribeTransitGatewaysPaginateTypeDef

DescribeTrunkInterfaceAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_trunk_interface_associations"). boto3 documentation

# DescribeTrunkInterfaceAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTrunkInterfaceAssociationsPaginator

def get_describe_trunk_interface_associations_paginator() -> DescribeTrunkInterfaceAssociationsPaginator:
    return Session().client("ec2").get_paginator("describe_trunk_interface_associations")
# DescribeTrunkInterfaceAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeTrunkInterfaceAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeTrunkInterfaceAssociationsPaginator = client.get_paginator("describe_trunk_interface_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeTrunkInterfaceAssociationsPaginator
  3. item: DescribeTrunkInterfaceAssociationsResultTypeDef

paginate#

Type annotations and code completion for DescribeTrunkInterfaceAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    AssociationIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeTrunkInterfaceAssociationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeTrunkInterfaceAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeTrunkInterfaceAssociationsRequestDescribeTrunkInterfaceAssociationsPaginateTypeDef = {  # (1)
    "AssociationIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeTrunkInterfaceAssociationsRequestDescribeTrunkInterfaceAssociationsPaginateTypeDef

DescribeVerifiedAccessEndpointsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_verified_access_endpoints"). boto3 documentation

# DescribeVerifiedAccessEndpointsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessEndpointsPaginator

def get_describe_verified_access_endpoints_paginator() -> DescribeVerifiedAccessEndpointsPaginator:
    return Session().client("ec2").get_paginator("describe_verified_access_endpoints")
# DescribeVerifiedAccessEndpointsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessEndpointsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVerifiedAccessEndpointsPaginator = client.get_paginator("describe_verified_access_endpoints")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVerifiedAccessEndpointsPaginator
  3. item: DescribeVerifiedAccessEndpointsResultTypeDef

paginate#

Type annotations and code completion for DescribeVerifiedAccessEndpointsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VerifiedAccessEndpointIds: Sequence[str] = ...,
    VerifiedAccessInstanceId: str = ...,
    VerifiedAccessGroupId: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVerifiedAccessEndpointsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVerifiedAccessEndpointsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVerifiedAccessEndpointsRequestDescribeVerifiedAccessEndpointsPaginateTypeDef = {  # (1)
    "VerifiedAccessEndpointIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVerifiedAccessEndpointsRequestDescribeVerifiedAccessEndpointsPaginateTypeDef

DescribeVerifiedAccessGroupsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_verified_access_groups"). boto3 documentation

# DescribeVerifiedAccessGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessGroupsPaginator

def get_describe_verified_access_groups_paginator() -> DescribeVerifiedAccessGroupsPaginator:
    return Session().client("ec2").get_paginator("describe_verified_access_groups")
# DescribeVerifiedAccessGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessGroupsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVerifiedAccessGroupsPaginator = client.get_paginator("describe_verified_access_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVerifiedAccessGroupsPaginator
  3. item: DescribeVerifiedAccessGroupsResultTypeDef

paginate#

Type annotations and code completion for DescribeVerifiedAccessGroupsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VerifiedAccessGroupIds: Sequence[str] = ...,
    VerifiedAccessInstanceId: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVerifiedAccessGroupsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVerifiedAccessGroupsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVerifiedAccessGroupsRequestDescribeVerifiedAccessGroupsPaginateTypeDef = {  # (1)
    "VerifiedAccessGroupIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVerifiedAccessGroupsRequestDescribeVerifiedAccessGroupsPaginateTypeDef

DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_verified_access_instance_logging_configurations"). boto3 documentation

# DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator

def get_describe_verified_access_instance_logging_configurations_paginator() -> DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator:
    return Session().client("ec2").get_paginator("describe_verified_access_instance_logging_configurations")
# DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator = client.get_paginator("describe_verified_access_instance_logging_configurations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator
  3. item: DescribeVerifiedAccessInstanceLoggingConfigurationsResultTypeDef

paginate#

Type annotations and code completion for DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VerifiedAccessInstanceIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVerifiedAccessInstanceLoggingConfigurationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVerifiedAccessInstanceLoggingConfigurationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVerifiedAccessInstanceLoggingConfigurationsRequestDescribeVerifiedAccessInstanceLoggingConfigurationsPaginateTypeDef = {  # (1)
    "VerifiedAccessInstanceIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVerifiedAccessInstanceLoggingConfigurationsRequestDescribeVerifiedAccessInstanceLoggingConfigurationsPaginateTypeDef

DescribeVerifiedAccessInstancesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_verified_access_instances"). boto3 documentation

# DescribeVerifiedAccessInstancesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessInstancesPaginator

def get_describe_verified_access_instances_paginator() -> DescribeVerifiedAccessInstancesPaginator:
    return Session().client("ec2").get_paginator("describe_verified_access_instances")
# DescribeVerifiedAccessInstancesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessInstancesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVerifiedAccessInstancesPaginator = client.get_paginator("describe_verified_access_instances")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVerifiedAccessInstancesPaginator
  3. item: DescribeVerifiedAccessInstancesResultTypeDef

paginate#

Type annotations and code completion for DescribeVerifiedAccessInstancesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VerifiedAccessInstanceIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVerifiedAccessInstancesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVerifiedAccessInstancesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVerifiedAccessInstancesRequestDescribeVerifiedAccessInstancesPaginateTypeDef = {  # (1)
    "VerifiedAccessInstanceIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVerifiedAccessInstancesRequestDescribeVerifiedAccessInstancesPaginateTypeDef

DescribeVerifiedAccessTrustProvidersPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_verified_access_trust_providers"). boto3 documentation

# DescribeVerifiedAccessTrustProvidersPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessTrustProvidersPaginator

def get_describe_verified_access_trust_providers_paginator() -> DescribeVerifiedAccessTrustProvidersPaginator:
    return Session().client("ec2").get_paginator("describe_verified_access_trust_providers")
# DescribeVerifiedAccessTrustProvidersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVerifiedAccessTrustProvidersPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVerifiedAccessTrustProvidersPaginator = client.get_paginator("describe_verified_access_trust_providers")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVerifiedAccessTrustProvidersPaginator
  3. item: DescribeVerifiedAccessTrustProvidersResultTypeDef

paginate#

Type annotations and code completion for DescribeVerifiedAccessTrustProvidersPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VerifiedAccessTrustProviderIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVerifiedAccessTrustProvidersResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVerifiedAccessTrustProvidersResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVerifiedAccessTrustProvidersRequestDescribeVerifiedAccessTrustProvidersPaginateTypeDef = {  # (1)
    "VerifiedAccessTrustProviderIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVerifiedAccessTrustProvidersRequestDescribeVerifiedAccessTrustProvidersPaginateTypeDef

DescribeVolumeStatusPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_volume_status"). boto3 documentation

# DescribeVolumeStatusPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVolumeStatusPaginator

def get_describe_volume_status_paginator() -> DescribeVolumeStatusPaginator:
    return Session().client("ec2").get_paginator("describe_volume_status")
# DescribeVolumeStatusPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVolumeStatusPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVolumeStatusPaginator = client.get_paginator("describe_volume_status")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVolumeStatusPaginator
  3. item: DescribeVolumeStatusResultTypeDef

paginate#

Type annotations and code completion for DescribeVolumeStatusPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VolumeIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVolumeStatusResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVolumeStatusResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVolumeStatusRequestDescribeVolumeStatusPaginateTypeDef = {  # (1)
    "VolumeIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVolumeStatusRequestDescribeVolumeStatusPaginateTypeDef

DescribeVolumesModificationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_volumes_modifications"). boto3 documentation

# DescribeVolumesModificationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVolumesModificationsPaginator

def get_describe_volumes_modifications_paginator() -> DescribeVolumesModificationsPaginator:
    return Session().client("ec2").get_paginator("describe_volumes_modifications")
# DescribeVolumesModificationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVolumesModificationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVolumesModificationsPaginator = client.get_paginator("describe_volumes_modifications")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVolumesModificationsPaginator
  3. item: DescribeVolumesModificationsResultTypeDef

paginate#

Type annotations and code completion for DescribeVolumesModificationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    VolumeIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVolumesModificationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVolumesModificationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVolumesModificationsRequestDescribeVolumesModificationsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVolumesModificationsRequestDescribeVolumesModificationsPaginateTypeDef

DescribeVolumesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_volumes"). boto3 documentation

# DescribeVolumesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVolumesPaginator

def get_describe_volumes_paginator() -> DescribeVolumesPaginator:
    return Session().client("ec2").get_paginator("describe_volumes")
# DescribeVolumesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVolumesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVolumesPaginator = client.get_paginator("describe_volumes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVolumesPaginator
  3. item: DescribeVolumesResultTypeDef

paginate#

Type annotations and code completion for DescribeVolumesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VolumeIds: Sequence[str] = ...,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVolumesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVolumesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVolumesRequestDescribeVolumesPaginateTypeDef = {  # (1)
    "VolumeIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVolumesRequestDescribeVolumesPaginateTypeDef

DescribeVpcClassicLinkDnsSupportPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_vpc_classic_link_dns_support"). boto3 documentation

# DescribeVpcClassicLinkDnsSupportPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcClassicLinkDnsSupportPaginator

def get_describe_vpc_classic_link_dns_support_paginator() -> DescribeVpcClassicLinkDnsSupportPaginator:
    return Session().client("ec2").get_paginator("describe_vpc_classic_link_dns_support")
# DescribeVpcClassicLinkDnsSupportPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcClassicLinkDnsSupportPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVpcClassicLinkDnsSupportPaginator = client.get_paginator("describe_vpc_classic_link_dns_support")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVpcClassicLinkDnsSupportPaginator
  3. item: DescribeVpcClassicLinkDnsSupportResultTypeDef

paginate#

Type annotations and code completion for DescribeVpcClassicLinkDnsSupportPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VpcIds: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeVpcClassicLinkDnsSupportResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeVpcClassicLinkDnsSupportResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVpcClassicLinkDnsSupportRequestDescribeVpcClassicLinkDnsSupportPaginateTypeDef = {  # (1)
    "VpcIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVpcClassicLinkDnsSupportRequestDescribeVpcClassicLinkDnsSupportPaginateTypeDef

DescribeVpcEndpointConnectionNotificationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_vpc_endpoint_connection_notifications"). boto3 documentation

# DescribeVpcEndpointConnectionNotificationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointConnectionNotificationsPaginator

def get_describe_vpc_endpoint_connection_notifications_paginator() -> DescribeVpcEndpointConnectionNotificationsPaginator:
    return Session().client("ec2").get_paginator("describe_vpc_endpoint_connection_notifications")
# DescribeVpcEndpointConnectionNotificationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointConnectionNotificationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVpcEndpointConnectionNotificationsPaginator = client.get_paginator("describe_vpc_endpoint_connection_notifications")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVpcEndpointConnectionNotificationsPaginator
  3. item: DescribeVpcEndpointConnectionNotificationsResultTypeDef

paginate#

Type annotations and code completion for DescribeVpcEndpointConnectionNotificationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    ConnectionNotificationId: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVpcEndpointConnectionNotificationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVpcEndpointConnectionNotificationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVpcEndpointConnectionNotificationsRequestDescribeVpcEndpointConnectionNotificationsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVpcEndpointConnectionNotificationsRequestDescribeVpcEndpointConnectionNotificationsPaginateTypeDef

DescribeVpcEndpointConnectionsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_vpc_endpoint_connections"). boto3 documentation

# DescribeVpcEndpointConnectionsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointConnectionsPaginator

def get_describe_vpc_endpoint_connections_paginator() -> DescribeVpcEndpointConnectionsPaginator:
    return Session().client("ec2").get_paginator("describe_vpc_endpoint_connections")
# DescribeVpcEndpointConnectionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointConnectionsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVpcEndpointConnectionsPaginator = client.get_paginator("describe_vpc_endpoint_connections")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVpcEndpointConnectionsPaginator
  3. item: DescribeVpcEndpointConnectionsResultTypeDef

paginate#

Type annotations and code completion for DescribeVpcEndpointConnectionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVpcEndpointConnectionsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVpcEndpointConnectionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVpcEndpointConnectionsRequestDescribeVpcEndpointConnectionsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVpcEndpointConnectionsRequestDescribeVpcEndpointConnectionsPaginateTypeDef

DescribeVpcEndpointServiceConfigurationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_vpc_endpoint_service_configurations"). boto3 documentation

# DescribeVpcEndpointServiceConfigurationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointServiceConfigurationsPaginator

def get_describe_vpc_endpoint_service_configurations_paginator() -> DescribeVpcEndpointServiceConfigurationsPaginator:
    return Session().client("ec2").get_paginator("describe_vpc_endpoint_service_configurations")
# DescribeVpcEndpointServiceConfigurationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointServiceConfigurationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVpcEndpointServiceConfigurationsPaginator = client.get_paginator("describe_vpc_endpoint_service_configurations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVpcEndpointServiceConfigurationsPaginator
  3. item: DescribeVpcEndpointServiceConfigurationsResultTypeDef

paginate#

Type annotations and code completion for DescribeVpcEndpointServiceConfigurationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    ServiceIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVpcEndpointServiceConfigurationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVpcEndpointServiceConfigurationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVpcEndpointServiceConfigurationsRequestDescribeVpcEndpointServiceConfigurationsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVpcEndpointServiceConfigurationsRequestDescribeVpcEndpointServiceConfigurationsPaginateTypeDef

DescribeVpcEndpointServicePermissionsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_vpc_endpoint_service_permissions"). boto3 documentation

# DescribeVpcEndpointServicePermissionsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointServicePermissionsPaginator

def get_describe_vpc_endpoint_service_permissions_paginator() -> DescribeVpcEndpointServicePermissionsPaginator:
    return Session().client("ec2").get_paginator("describe_vpc_endpoint_service_permissions")
# DescribeVpcEndpointServicePermissionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointServicePermissionsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVpcEndpointServicePermissionsPaginator = client.get_paginator("describe_vpc_endpoint_service_permissions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVpcEndpointServicePermissionsPaginator
  3. item: DescribeVpcEndpointServicePermissionsResultTypeDef

paginate#

Type annotations and code completion for DescribeVpcEndpointServicePermissionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ServiceId: str,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVpcEndpointServicePermissionsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVpcEndpointServicePermissionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVpcEndpointServicePermissionsRequestDescribeVpcEndpointServicePermissionsPaginateTypeDef = {  # (1)
    "ServiceId": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVpcEndpointServicePermissionsRequestDescribeVpcEndpointServicePermissionsPaginateTypeDef

DescribeVpcEndpointServicesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_vpc_endpoint_services"). boto3 documentation

# DescribeVpcEndpointServicesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointServicesPaginator

def get_describe_vpc_endpoint_services_paginator() -> DescribeVpcEndpointServicesPaginator:
    return Session().client("ec2").get_paginator("describe_vpc_endpoint_services")
# DescribeVpcEndpointServicesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointServicesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVpcEndpointServicesPaginator = client.get_paginator("describe_vpc_endpoint_services")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVpcEndpointServicesPaginator
  3. item: DescribeVpcEndpointServicesResultTypeDef

paginate#

Type annotations and code completion for DescribeVpcEndpointServicesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    ServiceNames: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVpcEndpointServicesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVpcEndpointServicesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVpcEndpointServicesRequestDescribeVpcEndpointServicesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVpcEndpointServicesRequestDescribeVpcEndpointServicesPaginateTypeDef

DescribeVpcEndpointsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_vpc_endpoints"). boto3 documentation

# DescribeVpcEndpointsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointsPaginator

def get_describe_vpc_endpoints_paginator() -> DescribeVpcEndpointsPaginator:
    return Session().client("ec2").get_paginator("describe_vpc_endpoints")
# DescribeVpcEndpointsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcEndpointsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVpcEndpointsPaginator = client.get_paginator("describe_vpc_endpoints")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVpcEndpointsPaginator
  3. item: DescribeVpcEndpointsResultTypeDef

paginate#

Type annotations and code completion for DescribeVpcEndpointsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    VpcEndpointIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVpcEndpointsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVpcEndpointsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVpcEndpointsRequestDescribeVpcEndpointsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVpcEndpointsRequestDescribeVpcEndpointsPaginateTypeDef

DescribeVpcPeeringConnectionsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_vpc_peering_connections"). boto3 documentation

# DescribeVpcPeeringConnectionsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcPeeringConnectionsPaginator

def get_describe_vpc_peering_connections_paginator() -> DescribeVpcPeeringConnectionsPaginator:
    return Session().client("ec2").get_paginator("describe_vpc_peering_connections")
# DescribeVpcPeeringConnectionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcPeeringConnectionsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVpcPeeringConnectionsPaginator = client.get_paginator("describe_vpc_peering_connections")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVpcPeeringConnectionsPaginator
  3. item: DescribeVpcPeeringConnectionsResultTypeDef

paginate#

Type annotations and code completion for DescribeVpcPeeringConnectionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    VpcPeeringConnectionIds: Sequence[str] = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVpcPeeringConnectionsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVpcPeeringConnectionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVpcPeeringConnectionsRequestDescribeVpcPeeringConnectionsPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVpcPeeringConnectionsRequestDescribeVpcPeeringConnectionsPaginateTypeDef

DescribeVpcsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("describe_vpcs"). boto3 documentation

# DescribeVpcsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcsPaginator

def get_describe_vpcs_paginator() -> DescribeVpcsPaginator:
    return Session().client("ec2").get_paginator("describe_vpcs")
# DescribeVpcsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import DescribeVpcsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: DescribeVpcsPaginator = client.get_paginator("describe_vpcs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: DescribeVpcsPaginator
  3. item: DescribeVpcsResultTypeDef

paginate#

Type annotations and code completion for DescribeVpcsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    VpcIds: Sequence[str] = ...,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeVpcsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeVpcsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeVpcsRequestDescribeVpcsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

parent.paginate(**kwargs)
  1. See DescribeVpcsRequestDescribeVpcsPaginateTypeDef

GetAssociatedIpv6PoolCidrsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_associated_ipv6_pool_cidrs"). boto3 documentation

# GetAssociatedIpv6PoolCidrsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetAssociatedIpv6PoolCidrsPaginator

def get_get_associated_ipv6_pool_cidrs_paginator() -> GetAssociatedIpv6PoolCidrsPaginator:
    return Session().client("ec2").get_paginator("get_associated_ipv6_pool_cidrs")
# GetAssociatedIpv6PoolCidrsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetAssociatedIpv6PoolCidrsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetAssociatedIpv6PoolCidrsPaginator = client.get_paginator("get_associated_ipv6_pool_cidrs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetAssociatedIpv6PoolCidrsPaginator
  3. item: GetAssociatedIpv6PoolCidrsResultTypeDef

paginate#

Type annotations and code completion for GetAssociatedIpv6PoolCidrsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PoolId: str,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[GetAssociatedIpv6PoolCidrsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetAssociatedIpv6PoolCidrsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetAssociatedIpv6PoolCidrsRequestGetAssociatedIpv6PoolCidrsPaginateTypeDef = {  # (1)
    "PoolId": ...,
}

parent.paginate(**kwargs)
  1. See GetAssociatedIpv6PoolCidrsRequestGetAssociatedIpv6PoolCidrsPaginateTypeDef

GetAwsNetworkPerformanceDataPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_aws_network_performance_data"). boto3 documentation

# GetAwsNetworkPerformanceDataPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetAwsNetworkPerformanceDataPaginator

def get_get_aws_network_performance_data_paginator() -> GetAwsNetworkPerformanceDataPaginator:
    return Session().client("ec2").get_paginator("get_aws_network_performance_data")
# GetAwsNetworkPerformanceDataPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetAwsNetworkPerformanceDataPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetAwsNetworkPerformanceDataPaginator = client.get_paginator("get_aws_network_performance_data")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetAwsNetworkPerformanceDataPaginator
  3. item: GetAwsNetworkPerformanceDataResultTypeDef

paginate#

Type annotations and code completion for GetAwsNetworkPerformanceDataPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DataQueries: Sequence[DataQueryTypeDef] = ...,  # (1)
    StartTime: TimestampTypeDef = ...,
    EndTime: TimestampTypeDef = ...,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetAwsNetworkPerformanceDataResultTypeDef]:  # (3)
    ...
  1. See DataQueryTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetAwsNetworkPerformanceDataResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetAwsNetworkPerformanceDataRequestGetAwsNetworkPerformanceDataPaginateTypeDef = {  # (1)
    "DataQueries": ...,
}

parent.paginate(**kwargs)
  1. See GetAwsNetworkPerformanceDataRequestGetAwsNetworkPerformanceDataPaginateTypeDef

GetGroupsForCapacityReservationPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_groups_for_capacity_reservation"). boto3 documentation

# GetGroupsForCapacityReservationPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetGroupsForCapacityReservationPaginator

def get_get_groups_for_capacity_reservation_paginator() -> GetGroupsForCapacityReservationPaginator:
    return Session().client("ec2").get_paginator("get_groups_for_capacity_reservation")
# GetGroupsForCapacityReservationPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetGroupsForCapacityReservationPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetGroupsForCapacityReservationPaginator = client.get_paginator("get_groups_for_capacity_reservation")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetGroupsForCapacityReservationPaginator
  3. item: GetGroupsForCapacityReservationResultTypeDef

paginate#

Type annotations and code completion for GetGroupsForCapacityReservationPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    CapacityReservationId: str,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[GetGroupsForCapacityReservationResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetGroupsForCapacityReservationResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetGroupsForCapacityReservationRequestGetGroupsForCapacityReservationPaginateTypeDef = {  # (1)
    "CapacityReservationId": ...,
}

parent.paginate(**kwargs)
  1. See GetGroupsForCapacityReservationRequestGetGroupsForCapacityReservationPaginateTypeDef

GetInstanceTypesFromInstanceRequirementsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_instance_types_from_instance_requirements"). boto3 documentation

# GetInstanceTypesFromInstanceRequirementsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetInstanceTypesFromInstanceRequirementsPaginator

def get_get_instance_types_from_instance_requirements_paginator() -> GetInstanceTypesFromInstanceRequirementsPaginator:
    return Session().client("ec2").get_paginator("get_instance_types_from_instance_requirements")
# GetInstanceTypesFromInstanceRequirementsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetInstanceTypesFromInstanceRequirementsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetInstanceTypesFromInstanceRequirementsPaginator = client.get_paginator("get_instance_types_from_instance_requirements")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetInstanceTypesFromInstanceRequirementsPaginator
  3. item: GetInstanceTypesFromInstanceRequirementsResultTypeDef

paginate#

Type annotations and code completion for GetInstanceTypesFromInstanceRequirementsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ArchitectureTypes: Sequence[ArchitectureTypeType],  # (1)
    VirtualizationTypes: Sequence[VirtualizationTypeType],  # (2)
    InstanceRequirements: InstanceRequirementsRequestTypeDef,  # (3)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> _PageIterator[GetInstanceTypesFromInstanceRequirementsResultTypeDef]:  # (5)
    ...
  1. See ArchitectureTypeType
  2. See VirtualizationTypeType
  3. See InstanceRequirementsRequestTypeDef
  4. See PaginatorConfigTypeDef
  5. See GetInstanceTypesFromInstanceRequirementsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetInstanceTypesFromInstanceRequirementsRequestGetInstanceTypesFromInstanceRequirementsPaginateTypeDef = {  # (1)
    "ArchitectureTypes": ...,
    "VirtualizationTypes": ...,
    "InstanceRequirements": ...,
}

parent.paginate(**kwargs)
  1. See GetInstanceTypesFromInstanceRequirementsRequestGetInstanceTypesFromInstanceRequirementsPaginateTypeDef

GetIpamAddressHistoryPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_ipam_address_history"). boto3 documentation

# GetIpamAddressHistoryPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamAddressHistoryPaginator

def get_get_ipam_address_history_paginator() -> GetIpamAddressHistoryPaginator:
    return Session().client("ec2").get_paginator("get_ipam_address_history")
# GetIpamAddressHistoryPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamAddressHistoryPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetIpamAddressHistoryPaginator = client.get_paginator("get_ipam_address_history")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetIpamAddressHistoryPaginator
  3. item: GetIpamAddressHistoryResultTypeDef

paginate#

Type annotations and code completion for GetIpamAddressHistoryPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Cidr: str,
    IpamScopeId: str,
    DryRun: bool = ...,
    VpcId: str = ...,
    StartTime: TimestampTypeDef = ...,
    EndTime: TimestampTypeDef = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[GetIpamAddressHistoryResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetIpamAddressHistoryResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetIpamAddressHistoryRequestGetIpamAddressHistoryPaginateTypeDef = {  # (1)
    "Cidr": ...,
    "IpamScopeId": ...,
}

parent.paginate(**kwargs)
  1. See GetIpamAddressHistoryRequestGetIpamAddressHistoryPaginateTypeDef

GetIpamDiscoveredAccountsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_ipam_discovered_accounts"). boto3 documentation

# GetIpamDiscoveredAccountsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamDiscoveredAccountsPaginator

def get_get_ipam_discovered_accounts_paginator() -> GetIpamDiscoveredAccountsPaginator:
    return Session().client("ec2").get_paginator("get_ipam_discovered_accounts")
# GetIpamDiscoveredAccountsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamDiscoveredAccountsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetIpamDiscoveredAccountsPaginator = client.get_paginator("get_ipam_discovered_accounts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetIpamDiscoveredAccountsPaginator
  3. item: GetIpamDiscoveredAccountsResultTypeDef

paginate#

Type annotations and code completion for GetIpamDiscoveredAccountsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    IpamResourceDiscoveryId: str,
    DiscoveryRegion: str,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetIpamDiscoveredAccountsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetIpamDiscoveredAccountsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetIpamDiscoveredAccountsRequestGetIpamDiscoveredAccountsPaginateTypeDef = {  # (1)
    "IpamResourceDiscoveryId": ...,
    "DiscoveryRegion": ...,
}

parent.paginate(**kwargs)
  1. See GetIpamDiscoveredAccountsRequestGetIpamDiscoveredAccountsPaginateTypeDef

GetIpamDiscoveredResourceCidrsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_ipam_discovered_resource_cidrs"). boto3 documentation

# GetIpamDiscoveredResourceCidrsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamDiscoveredResourceCidrsPaginator

def get_get_ipam_discovered_resource_cidrs_paginator() -> GetIpamDiscoveredResourceCidrsPaginator:
    return Session().client("ec2").get_paginator("get_ipam_discovered_resource_cidrs")
# GetIpamDiscoveredResourceCidrsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamDiscoveredResourceCidrsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetIpamDiscoveredResourceCidrsPaginator = client.get_paginator("get_ipam_discovered_resource_cidrs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetIpamDiscoveredResourceCidrsPaginator
  3. item: GetIpamDiscoveredResourceCidrsResultTypeDef

paginate#

Type annotations and code completion for GetIpamDiscoveredResourceCidrsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    IpamResourceDiscoveryId: str,
    ResourceRegion: str,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetIpamDiscoveredResourceCidrsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetIpamDiscoveredResourceCidrsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetIpamDiscoveredResourceCidrsRequestGetIpamDiscoveredResourceCidrsPaginateTypeDef = {  # (1)
    "IpamResourceDiscoveryId": ...,
    "ResourceRegion": ...,
}

parent.paginate(**kwargs)
  1. See GetIpamDiscoveredResourceCidrsRequestGetIpamDiscoveredResourceCidrsPaginateTypeDef

GetIpamPoolAllocationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_ipam_pool_allocations"). boto3 documentation

# GetIpamPoolAllocationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamPoolAllocationsPaginator

def get_get_ipam_pool_allocations_paginator() -> GetIpamPoolAllocationsPaginator:
    return Session().client("ec2").get_paginator("get_ipam_pool_allocations")
# GetIpamPoolAllocationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamPoolAllocationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetIpamPoolAllocationsPaginator = client.get_paginator("get_ipam_pool_allocations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetIpamPoolAllocationsPaginator
  3. item: GetIpamPoolAllocationsResultTypeDef

paginate#

Type annotations and code completion for GetIpamPoolAllocationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    IpamPoolId: str,
    DryRun: bool = ...,
    IpamPoolAllocationId: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetIpamPoolAllocationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetIpamPoolAllocationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetIpamPoolAllocationsRequestGetIpamPoolAllocationsPaginateTypeDef = {  # (1)
    "IpamPoolId": ...,
}

parent.paginate(**kwargs)
  1. See GetIpamPoolAllocationsRequestGetIpamPoolAllocationsPaginateTypeDef

GetIpamPoolCidrsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_ipam_pool_cidrs"). boto3 documentation

# GetIpamPoolCidrsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamPoolCidrsPaginator

def get_get_ipam_pool_cidrs_paginator() -> GetIpamPoolCidrsPaginator:
    return Session().client("ec2").get_paginator("get_ipam_pool_cidrs")
# GetIpamPoolCidrsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamPoolCidrsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetIpamPoolCidrsPaginator = client.get_paginator("get_ipam_pool_cidrs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetIpamPoolCidrsPaginator
  3. item: GetIpamPoolCidrsResultTypeDef

paginate#

Type annotations and code completion for GetIpamPoolCidrsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    IpamPoolId: str,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetIpamPoolCidrsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetIpamPoolCidrsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetIpamPoolCidrsRequestGetIpamPoolCidrsPaginateTypeDef = {  # (1)
    "IpamPoolId": ...,
}

parent.paginate(**kwargs)
  1. See GetIpamPoolCidrsRequestGetIpamPoolCidrsPaginateTypeDef

GetIpamResourceCidrsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_ipam_resource_cidrs"). boto3 documentation

# GetIpamResourceCidrsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamResourceCidrsPaginator

def get_get_ipam_resource_cidrs_paginator() -> GetIpamResourceCidrsPaginator:
    return Session().client("ec2").get_paginator("get_ipam_resource_cidrs")
# GetIpamResourceCidrsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetIpamResourceCidrsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetIpamResourceCidrsPaginator = client.get_paginator("get_ipam_resource_cidrs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetIpamResourceCidrsPaginator
  3. item: GetIpamResourceCidrsResultTypeDef

paginate#

Type annotations and code completion for GetIpamResourceCidrsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    IpamScopeId: str,
    DryRun: bool = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    IpamPoolId: str = ...,
    ResourceId: str = ...,
    ResourceType: IpamResourceTypeType = ...,  # (2)
    ResourceTag: RequestIpamResourceTagTypeDef = ...,  # (3)
    ResourceOwner: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> _PageIterator[GetIpamResourceCidrsResultTypeDef]:  # (5)
    ...
  1. See FilterTypeDef
  2. See IpamResourceTypeType
  3. See RequestIpamResourceTagTypeDef
  4. See PaginatorConfigTypeDef
  5. See GetIpamResourceCidrsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetIpamResourceCidrsRequestGetIpamResourceCidrsPaginateTypeDef = {  # (1)
    "IpamScopeId": ...,
}

parent.paginate(**kwargs)
  1. See GetIpamResourceCidrsRequestGetIpamResourceCidrsPaginateTypeDef

GetManagedPrefixListAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_managed_prefix_list_associations"). boto3 documentation

# GetManagedPrefixListAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetManagedPrefixListAssociationsPaginator

def get_get_managed_prefix_list_associations_paginator() -> GetManagedPrefixListAssociationsPaginator:
    return Session().client("ec2").get_paginator("get_managed_prefix_list_associations")
# GetManagedPrefixListAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetManagedPrefixListAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetManagedPrefixListAssociationsPaginator = client.get_paginator("get_managed_prefix_list_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetManagedPrefixListAssociationsPaginator
  3. item: GetManagedPrefixListAssociationsResultTypeDef

paginate#

Type annotations and code completion for GetManagedPrefixListAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PrefixListId: str,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[GetManagedPrefixListAssociationsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetManagedPrefixListAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetManagedPrefixListAssociationsRequestGetManagedPrefixListAssociationsPaginateTypeDef = {  # (1)
    "PrefixListId": ...,
}

parent.paginate(**kwargs)
  1. See GetManagedPrefixListAssociationsRequestGetManagedPrefixListAssociationsPaginateTypeDef

GetManagedPrefixListEntriesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_managed_prefix_list_entries"). boto3 documentation

# GetManagedPrefixListEntriesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetManagedPrefixListEntriesPaginator

def get_get_managed_prefix_list_entries_paginator() -> GetManagedPrefixListEntriesPaginator:
    return Session().client("ec2").get_paginator("get_managed_prefix_list_entries")
# GetManagedPrefixListEntriesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetManagedPrefixListEntriesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetManagedPrefixListEntriesPaginator = client.get_paginator("get_managed_prefix_list_entries")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetManagedPrefixListEntriesPaginator
  3. item: GetManagedPrefixListEntriesResultTypeDef

paginate#

Type annotations and code completion for GetManagedPrefixListEntriesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PrefixListId: str,
    DryRun: bool = ...,
    TargetVersion: int = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[GetManagedPrefixListEntriesResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetManagedPrefixListEntriesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetManagedPrefixListEntriesRequestGetManagedPrefixListEntriesPaginateTypeDef = {  # (1)
    "PrefixListId": ...,
}

parent.paginate(**kwargs)
  1. See GetManagedPrefixListEntriesRequestGetManagedPrefixListEntriesPaginateTypeDef

GetNetworkInsightsAccessScopeAnalysisFindingsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_network_insights_access_scope_analysis_findings"). boto3 documentation

# GetNetworkInsightsAccessScopeAnalysisFindingsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetNetworkInsightsAccessScopeAnalysisFindingsPaginator

def get_get_network_insights_access_scope_analysis_findings_paginator() -> GetNetworkInsightsAccessScopeAnalysisFindingsPaginator:
    return Session().client("ec2").get_paginator("get_network_insights_access_scope_analysis_findings")
# GetNetworkInsightsAccessScopeAnalysisFindingsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetNetworkInsightsAccessScopeAnalysisFindingsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetNetworkInsightsAccessScopeAnalysisFindingsPaginator = client.get_paginator("get_network_insights_access_scope_analysis_findings")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetNetworkInsightsAccessScopeAnalysisFindingsPaginator
  3. item: GetNetworkInsightsAccessScopeAnalysisFindingsResultTypeDef

paginate#

Type annotations and code completion for GetNetworkInsightsAccessScopeAnalysisFindingsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    NetworkInsightsAccessScopeAnalysisId: str,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[GetNetworkInsightsAccessScopeAnalysisFindingsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetNetworkInsightsAccessScopeAnalysisFindingsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetNetworkInsightsAccessScopeAnalysisFindingsRequestGetNetworkInsightsAccessScopeAnalysisFindingsPaginateTypeDef = {  # (1)
    "NetworkInsightsAccessScopeAnalysisId": ...,
}

parent.paginate(**kwargs)
  1. See GetNetworkInsightsAccessScopeAnalysisFindingsRequestGetNetworkInsightsAccessScopeAnalysisFindingsPaginateTypeDef

GetSecurityGroupsForVpcPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_security_groups_for_vpc"). boto3 documentation

# GetSecurityGroupsForVpcPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetSecurityGroupsForVpcPaginator

def get_get_security_groups_for_vpc_paginator() -> GetSecurityGroupsForVpcPaginator:
    return Session().client("ec2").get_paginator("get_security_groups_for_vpc")
# GetSecurityGroupsForVpcPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetSecurityGroupsForVpcPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetSecurityGroupsForVpcPaginator = client.get_paginator("get_security_groups_for_vpc")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetSecurityGroupsForVpcPaginator
  3. item: GetSecurityGroupsForVpcResultTypeDef

paginate#

Type annotations and code completion for GetSecurityGroupsForVpcPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    VpcId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetSecurityGroupsForVpcResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetSecurityGroupsForVpcResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetSecurityGroupsForVpcRequestGetSecurityGroupsForVpcPaginateTypeDef = {  # (1)
    "VpcId": ...,
}

parent.paginate(**kwargs)
  1. See GetSecurityGroupsForVpcRequestGetSecurityGroupsForVpcPaginateTypeDef

GetSpotPlacementScoresPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_spot_placement_scores"). boto3 documentation

# GetSpotPlacementScoresPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetSpotPlacementScoresPaginator

def get_get_spot_placement_scores_paginator() -> GetSpotPlacementScoresPaginator:
    return Session().client("ec2").get_paginator("get_spot_placement_scores")
# GetSpotPlacementScoresPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetSpotPlacementScoresPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetSpotPlacementScoresPaginator = client.get_paginator("get_spot_placement_scores")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetSpotPlacementScoresPaginator
  3. item: GetSpotPlacementScoresResultTypeDef

paginate#

Type annotations and code completion for GetSpotPlacementScoresPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TargetCapacity: int,
    InstanceTypes: Sequence[str] = ...,
    TargetCapacityUnitType: TargetCapacityUnitTypeType = ...,  # (1)
    SingleAvailabilityZone: bool = ...,
    RegionNames: Sequence[str] = ...,
    InstanceRequirementsWithMetadata: InstanceRequirementsWithMetadataRequestTypeDef = ...,  # (2)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[GetSpotPlacementScoresResultTypeDef]:  # (4)
    ...
  1. See TargetCapacityUnitTypeType
  2. See InstanceRequirementsWithMetadataRequestTypeDef
  3. See PaginatorConfigTypeDef
  4. See GetSpotPlacementScoresResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetSpotPlacementScoresRequestGetSpotPlacementScoresPaginateTypeDef = {  # (1)
    "TargetCapacity": ...,
}

parent.paginate(**kwargs)
  1. See GetSpotPlacementScoresRequestGetSpotPlacementScoresPaginateTypeDef

GetTransitGatewayAttachmentPropagationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_transit_gateway_attachment_propagations"). boto3 documentation

# GetTransitGatewayAttachmentPropagationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayAttachmentPropagationsPaginator

def get_get_transit_gateway_attachment_propagations_paginator() -> GetTransitGatewayAttachmentPropagationsPaginator:
    return Session().client("ec2").get_paginator("get_transit_gateway_attachment_propagations")
# GetTransitGatewayAttachmentPropagationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayAttachmentPropagationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetTransitGatewayAttachmentPropagationsPaginator = client.get_paginator("get_transit_gateway_attachment_propagations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetTransitGatewayAttachmentPropagationsPaginator
  3. item: GetTransitGatewayAttachmentPropagationsResultTypeDef

paginate#

Type annotations and code completion for GetTransitGatewayAttachmentPropagationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayAttachmentId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetTransitGatewayAttachmentPropagationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetTransitGatewayAttachmentPropagationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetTransitGatewayAttachmentPropagationsRequestGetTransitGatewayAttachmentPropagationsPaginateTypeDef = {  # (1)
    "TransitGatewayAttachmentId": ...,
}

parent.paginate(**kwargs)
  1. See GetTransitGatewayAttachmentPropagationsRequestGetTransitGatewayAttachmentPropagationsPaginateTypeDef

GetTransitGatewayMulticastDomainAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_transit_gateway_multicast_domain_associations"). boto3 documentation

# GetTransitGatewayMulticastDomainAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayMulticastDomainAssociationsPaginator

def get_get_transit_gateway_multicast_domain_associations_paginator() -> GetTransitGatewayMulticastDomainAssociationsPaginator:
    return Session().client("ec2").get_paginator("get_transit_gateway_multicast_domain_associations")
# GetTransitGatewayMulticastDomainAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayMulticastDomainAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetTransitGatewayMulticastDomainAssociationsPaginator = client.get_paginator("get_transit_gateway_multicast_domain_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetTransitGatewayMulticastDomainAssociationsPaginator
  3. item: GetTransitGatewayMulticastDomainAssociationsResultTypeDef

paginate#

Type annotations and code completion for GetTransitGatewayMulticastDomainAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayMulticastDomainId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetTransitGatewayMulticastDomainAssociationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetTransitGatewayMulticastDomainAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetTransitGatewayMulticastDomainAssociationsRequestGetTransitGatewayMulticastDomainAssociationsPaginateTypeDef = {  # (1)
    "TransitGatewayMulticastDomainId": ...,
}

parent.paginate(**kwargs)
  1. See GetTransitGatewayMulticastDomainAssociationsRequestGetTransitGatewayMulticastDomainAssociationsPaginateTypeDef

GetTransitGatewayPolicyTableAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_transit_gateway_policy_table_associations"). boto3 documentation

# GetTransitGatewayPolicyTableAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayPolicyTableAssociationsPaginator

def get_get_transit_gateway_policy_table_associations_paginator() -> GetTransitGatewayPolicyTableAssociationsPaginator:
    return Session().client("ec2").get_paginator("get_transit_gateway_policy_table_associations")
# GetTransitGatewayPolicyTableAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayPolicyTableAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetTransitGatewayPolicyTableAssociationsPaginator = client.get_paginator("get_transit_gateway_policy_table_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetTransitGatewayPolicyTableAssociationsPaginator
  3. item: GetTransitGatewayPolicyTableAssociationsResultTypeDef

paginate#

Type annotations and code completion for GetTransitGatewayPolicyTableAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayPolicyTableId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetTransitGatewayPolicyTableAssociationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetTransitGatewayPolicyTableAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetTransitGatewayPolicyTableAssociationsRequestGetTransitGatewayPolicyTableAssociationsPaginateTypeDef = {  # (1)
    "TransitGatewayPolicyTableId": ...,
}

parent.paginate(**kwargs)
  1. See GetTransitGatewayPolicyTableAssociationsRequestGetTransitGatewayPolicyTableAssociationsPaginateTypeDef

GetTransitGatewayPrefixListReferencesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_transit_gateway_prefix_list_references"). boto3 documentation

# GetTransitGatewayPrefixListReferencesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayPrefixListReferencesPaginator

def get_get_transit_gateway_prefix_list_references_paginator() -> GetTransitGatewayPrefixListReferencesPaginator:
    return Session().client("ec2").get_paginator("get_transit_gateway_prefix_list_references")
# GetTransitGatewayPrefixListReferencesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayPrefixListReferencesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetTransitGatewayPrefixListReferencesPaginator = client.get_paginator("get_transit_gateway_prefix_list_references")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetTransitGatewayPrefixListReferencesPaginator
  3. item: GetTransitGatewayPrefixListReferencesResultTypeDef

paginate#

Type annotations and code completion for GetTransitGatewayPrefixListReferencesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayRouteTableId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetTransitGatewayPrefixListReferencesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetTransitGatewayPrefixListReferencesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetTransitGatewayPrefixListReferencesRequestGetTransitGatewayPrefixListReferencesPaginateTypeDef = {  # (1)
    "TransitGatewayRouteTableId": ...,
}

parent.paginate(**kwargs)
  1. See GetTransitGatewayPrefixListReferencesRequestGetTransitGatewayPrefixListReferencesPaginateTypeDef

GetTransitGatewayRouteTableAssociationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_transit_gateway_route_table_associations"). boto3 documentation

# GetTransitGatewayRouteTableAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayRouteTableAssociationsPaginator

def get_get_transit_gateway_route_table_associations_paginator() -> GetTransitGatewayRouteTableAssociationsPaginator:
    return Session().client("ec2").get_paginator("get_transit_gateway_route_table_associations")
# GetTransitGatewayRouteTableAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayRouteTableAssociationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetTransitGatewayRouteTableAssociationsPaginator = client.get_paginator("get_transit_gateway_route_table_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetTransitGatewayRouteTableAssociationsPaginator
  3. item: GetTransitGatewayRouteTableAssociationsResultTypeDef

paginate#

Type annotations and code completion for GetTransitGatewayRouteTableAssociationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayRouteTableId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetTransitGatewayRouteTableAssociationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetTransitGatewayRouteTableAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetTransitGatewayRouteTableAssociationsRequestGetTransitGatewayRouteTableAssociationsPaginateTypeDef = {  # (1)
    "TransitGatewayRouteTableId": ...,
}

parent.paginate(**kwargs)
  1. See GetTransitGatewayRouteTableAssociationsRequestGetTransitGatewayRouteTableAssociationsPaginateTypeDef

GetTransitGatewayRouteTablePropagationsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_transit_gateway_route_table_propagations"). boto3 documentation

# GetTransitGatewayRouteTablePropagationsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayRouteTablePropagationsPaginator

def get_get_transit_gateway_route_table_propagations_paginator() -> GetTransitGatewayRouteTablePropagationsPaginator:
    return Session().client("ec2").get_paginator("get_transit_gateway_route_table_propagations")
# GetTransitGatewayRouteTablePropagationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetTransitGatewayRouteTablePropagationsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetTransitGatewayRouteTablePropagationsPaginator = client.get_paginator("get_transit_gateway_route_table_propagations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetTransitGatewayRouteTablePropagationsPaginator
  3. item: GetTransitGatewayRouteTablePropagationsResultTypeDef

paginate#

Type annotations and code completion for GetTransitGatewayRouteTablePropagationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayRouteTableId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetTransitGatewayRouteTablePropagationsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetTransitGatewayRouteTablePropagationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetTransitGatewayRouteTablePropagationsRequestGetTransitGatewayRouteTablePropagationsPaginateTypeDef = {  # (1)
    "TransitGatewayRouteTableId": ...,
}

parent.paginate(**kwargs)
  1. See GetTransitGatewayRouteTablePropagationsRequestGetTransitGatewayRouteTablePropagationsPaginateTypeDef

GetVpnConnectionDeviceTypesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("get_vpn_connection_device_types"). boto3 documentation

# GetVpnConnectionDeviceTypesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetVpnConnectionDeviceTypesPaginator

def get_get_vpn_connection_device_types_paginator() -> GetVpnConnectionDeviceTypesPaginator:
    return Session().client("ec2").get_paginator("get_vpn_connection_device_types")
# GetVpnConnectionDeviceTypesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import GetVpnConnectionDeviceTypesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: GetVpnConnectionDeviceTypesPaginator = client.get_paginator("get_vpn_connection_device_types")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: GetVpnConnectionDeviceTypesPaginator
  3. item: GetVpnConnectionDeviceTypesResultTypeDef

paginate#

Type annotations and code completion for GetVpnConnectionDeviceTypesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[GetVpnConnectionDeviceTypesResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetVpnConnectionDeviceTypesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetVpnConnectionDeviceTypesRequestGetVpnConnectionDeviceTypesPaginateTypeDef = {  # (1)
    "DryRun": ...,
}

parent.paginate(**kwargs)
  1. See GetVpnConnectionDeviceTypesRequestGetVpnConnectionDeviceTypesPaginateTypeDef

ListImagesInRecycleBinPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("list_images_in_recycle_bin"). boto3 documentation

# ListImagesInRecycleBinPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import ListImagesInRecycleBinPaginator

def get_list_images_in_recycle_bin_paginator() -> ListImagesInRecycleBinPaginator:
    return Session().client("ec2").get_paginator("list_images_in_recycle_bin")
# ListImagesInRecycleBinPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import ListImagesInRecycleBinPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: ListImagesInRecycleBinPaginator = client.get_paginator("list_images_in_recycle_bin")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: ListImagesInRecycleBinPaginator
  3. item: ListImagesInRecycleBinResultTypeDef

paginate#

Type annotations and code completion for ListImagesInRecycleBinPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ImageIds: Sequence[str] = ...,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListImagesInRecycleBinResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListImagesInRecycleBinResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListImagesInRecycleBinRequestListImagesInRecycleBinPaginateTypeDef = {  # (1)
    "ImageIds": ...,
}

parent.paginate(**kwargs)
  1. See ListImagesInRecycleBinRequestListImagesInRecycleBinPaginateTypeDef

ListSnapshotsInRecycleBinPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("list_snapshots_in_recycle_bin"). boto3 documentation

# ListSnapshotsInRecycleBinPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import ListSnapshotsInRecycleBinPaginator

def get_list_snapshots_in_recycle_bin_paginator() -> ListSnapshotsInRecycleBinPaginator:
    return Session().client("ec2").get_paginator("list_snapshots_in_recycle_bin")
# ListSnapshotsInRecycleBinPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import ListSnapshotsInRecycleBinPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: ListSnapshotsInRecycleBinPaginator = client.get_paginator("list_snapshots_in_recycle_bin")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: ListSnapshotsInRecycleBinPaginator
  3. item: ListSnapshotsInRecycleBinResultTypeDef

paginate#

Type annotations and code completion for ListSnapshotsInRecycleBinPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    SnapshotIds: Sequence[str] = ...,
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListSnapshotsInRecycleBinResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListSnapshotsInRecycleBinResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListSnapshotsInRecycleBinRequestListSnapshotsInRecycleBinPaginateTypeDef = {  # (1)
    "SnapshotIds": ...,
}

parent.paginate(**kwargs)
  1. See ListSnapshotsInRecycleBinRequestListSnapshotsInRecycleBinPaginateTypeDef

SearchLocalGatewayRoutesPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("search_local_gateway_routes"). boto3 documentation

# SearchLocalGatewayRoutesPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import SearchLocalGatewayRoutesPaginator

def get_search_local_gateway_routes_paginator() -> SearchLocalGatewayRoutesPaginator:
    return Session().client("ec2").get_paginator("search_local_gateway_routes")
# SearchLocalGatewayRoutesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import SearchLocalGatewayRoutesPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: SearchLocalGatewayRoutesPaginator = client.get_paginator("search_local_gateway_routes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: SearchLocalGatewayRoutesPaginator
  3. item: SearchLocalGatewayRoutesResultTypeDef

paginate#

Type annotations and code completion for SearchLocalGatewayRoutesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    LocalGatewayRouteTableId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[SearchLocalGatewayRoutesResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See SearchLocalGatewayRoutesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: SearchLocalGatewayRoutesRequestSearchLocalGatewayRoutesPaginateTypeDef = {  # (1)
    "LocalGatewayRouteTableId": ...,
}

parent.paginate(**kwargs)
  1. See SearchLocalGatewayRoutesRequestSearchLocalGatewayRoutesPaginateTypeDef

SearchTransitGatewayMulticastGroupsPaginator#

Type annotations and code completion for boto3.client("ec2").get_paginator("search_transit_gateway_multicast_groups"). boto3 documentation

# SearchTransitGatewayMulticastGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_ec2.paginator import SearchTransitGatewayMulticastGroupsPaginator

def get_search_transit_gateway_multicast_groups_paginator() -> SearchTransitGatewayMulticastGroupsPaginator:
    return Session().client("ec2").get_paginator("search_transit_gateway_multicast_groups")
# SearchTransitGatewayMulticastGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ec2.paginator import SearchTransitGatewayMulticastGroupsPaginator

session = Session()

client = Session().client("ec2")  # (1)
paginator: SearchTransitGatewayMulticastGroupsPaginator = client.get_paginator("search_transit_gateway_multicast_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: EC2Client
  2. paginator: SearchTransitGatewayMulticastGroupsPaginator
  3. item: SearchTransitGatewayMulticastGroupsResultTypeDef

paginate#

Type annotations and code completion for SearchTransitGatewayMulticastGroupsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TransitGatewayMulticastDomainId: str,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    DryRun: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[SearchTransitGatewayMulticastGroupsResultTypeDef]:  # (3)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See SearchTransitGatewayMulticastGroupsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: SearchTransitGatewayMulticastGroupsRequestSearchTransitGatewayMulticastGroupsPaginateTypeDef = {  # (1)
    "TransitGatewayMulticastDomainId": ...,
}

parent.paginate(**kwargs)
  1. See SearchTransitGatewayMulticastGroupsRequestSearchTransitGatewayMulticastGroupsPaginateTypeDef