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)
- client: EC2Client
- paginator: DescribeAddressTransfersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeAddressTransfersRequestDescribeAddressTransfersPaginateTypeDef = { # (1)
"AllocationIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeAddressesAttributePaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeAddressesAttributeRequestDescribeAddressesAttributePaginateTypeDef = { # (1)
"AllocationIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeAwsNetworkPerformanceMetricSubscriptionsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeAwsNetworkPerformanceMetricSubscriptionsRequestDescribeAwsNetworkPerformanceMetricSubscriptionsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeByoipCidrsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeByoipCidrsRequestDescribeByoipCidrsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeCapacityBlockOfferingsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeCapacityBlockOfferingsRequestDescribeCapacityBlockOfferingsPaginateTypeDef = { # (1)
"CapacityDurationHours": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeCapacityReservationBillingRequestsPaginator
- 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)
...
- See CallerRoleType
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeCapacityReservationBillingRequestsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeCapacityReservationBillingRequestsRequestDescribeCapacityReservationBillingRequestsPaginateTypeDef = { # (1)
"Role": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeCapacityReservationFleetsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeCapacityReservationFleetsRequestDescribeCapacityReservationFleetsPaginateTypeDef = { # (1)
"CapacityReservationFleetIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeCapacityReservationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeCapacityReservationsRequestDescribeCapacityReservationsPaginateTypeDef = { # (1)
"CapacityReservationIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeCarrierGatewaysPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeCarrierGatewaysRequestDescribeCarrierGatewaysPaginateTypeDef = { # (1)
"CarrierGatewayIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeClassicLinkInstancesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeClassicLinkInstancesRequestDescribeClassicLinkInstancesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeClientVpnAuthorizationRulesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeClientVpnAuthorizationRulesRequestDescribeClientVpnAuthorizationRulesPaginateTypeDef = { # (1)
"ClientVpnEndpointId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeClientVpnConnectionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeClientVpnConnectionsRequestDescribeClientVpnConnectionsPaginateTypeDef = { # (1)
"ClientVpnEndpointId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeClientVpnEndpointsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeClientVpnEndpointsRequestDescribeClientVpnEndpointsPaginateTypeDef = { # (1)
"ClientVpnEndpointIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeClientVpnRoutesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeClientVpnRoutesRequestDescribeClientVpnRoutesPaginateTypeDef = { # (1)
"ClientVpnEndpointId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeClientVpnTargetNetworksPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeClientVpnTargetNetworksRequestDescribeClientVpnTargetNetworksPaginateTypeDef = { # (1)
"ClientVpnEndpointId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeCoipPoolsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeCoipPoolsRequestDescribeCoipPoolsPaginateTypeDef = { # (1)
"PoolIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeDhcpOptionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeDhcpOptionsRequestDescribeDhcpOptionsPaginateTypeDef = { # (1)
"DhcpOptionsIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeEgressOnlyInternetGatewaysPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeEgressOnlyInternetGatewaysRequestDescribeEgressOnlyInternetGatewaysPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeExportImageTasksPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeExportImageTasksRequestDescribeExportImageTasksPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeFastLaunchImagesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeFastLaunchImagesRequestDescribeFastLaunchImagesPaginateTypeDef = { # (1)
"ImageIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeFastSnapshotRestoresPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeFastSnapshotRestoresRequestDescribeFastSnapshotRestoresPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeFleetsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeFleetsRequestDescribeFleetsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeFlowLogsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeFlowLogsRequestDescribeFlowLogsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeFpgaImagesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeFpgaImagesRequestDescribeFpgaImagesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeHostReservationOfferingsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeHostReservationOfferingsRequestDescribeHostReservationOfferingsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeHostReservationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeHostReservationsRequestDescribeHostReservationsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeHostsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeHostsRequestDescribeHostsPaginateTypeDef = { # (1)
"HostIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeIamInstanceProfileAssociationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeIamInstanceProfileAssociationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeIamInstanceProfileAssociationsRequestDescribeIamInstanceProfileAssociationsPaginateTypeDef = { # (1)
"AssociationIds": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: DescribeImagesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeImagesRequestDescribeImagesPaginateTypeDef = { # (1)
"ExecutableUsers": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeImportImageTasksPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeImportImageTasksRequestDescribeImportImageTasksPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeImportSnapshotTasksPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeImportSnapshotTasksRequestDescribeImportSnapshotTasksPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInstanceConnectEndpointsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeInstanceConnectEndpointsRequestDescribeInstanceConnectEndpointsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInstanceCreditSpecificationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeInstanceCreditSpecificationsRequestDescribeInstanceCreditSpecificationsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInstanceEventWindowsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeInstanceEventWindowsRequestDescribeInstanceEventWindowsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInstanceImageMetadataPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeInstanceImageMetadataRequestDescribeInstanceImageMetadataPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInstanceStatusPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeInstanceStatusRequestDescribeInstanceStatusPaginateTypeDef = { # (1)
"InstanceIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInstanceTopologyPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeInstanceTopologyRequestDescribeInstanceTopologyPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInstanceTypeOfferingsPaginator
- 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)
...
- See LocationTypeType
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeInstanceTypeOfferingsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeInstanceTypeOfferingsRequestDescribeInstanceTypeOfferingsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInstanceTypesPaginator
- 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)
...
- See InstanceTypeType
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeInstanceTypesResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeInstanceTypesRequestDescribeInstanceTypesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInstancesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeInstancesRequestDescribeInstancesPaginateTypeDef = { # (1)
"InstanceIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeInternetGatewaysPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeInternetGatewaysRequestDescribeInternetGatewaysPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeIpamPoolsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeIpamPoolsRequestDescribeIpamPoolsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeIpamResourceDiscoveriesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeIpamResourceDiscoveriesRequestDescribeIpamResourceDiscoveriesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeIpamResourceDiscoveryAssociationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeIpamResourceDiscoveryAssociationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeIpamResourceDiscoveryAssociationsRequestDescribeIpamResourceDiscoveryAssociationsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeIpamScopesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeIpamScopesRequestDescribeIpamScopesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeIpamsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeIpamsRequestDescribeIpamsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeIpv6PoolsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeIpv6PoolsRequestDescribeIpv6PoolsPaginateTypeDef = { # (1)
"PoolIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeLaunchTemplateVersionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeLaunchTemplateVersionsRequestDescribeLaunchTemplateVersionsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeLaunchTemplatesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeLaunchTemplatesRequestDescribeLaunchTemplatesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequestDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginateTypeDef = { # (1)
"LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeLocalGatewayRouteTableVpcAssociationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeLocalGatewayRouteTableVpcAssociationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeLocalGatewayRouteTableVpcAssociationsRequestDescribeLocalGatewayRouteTableVpcAssociationsPaginateTypeDef = { # (1)
"LocalGatewayRouteTableVpcAssociationIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeLocalGatewayRouteTablesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeLocalGatewayRouteTablesRequestDescribeLocalGatewayRouteTablesPaginateTypeDef = { # (1)
"LocalGatewayRouteTableIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeLocalGatewayVirtualInterfaceGroupsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeLocalGatewayVirtualInterfaceGroupsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeLocalGatewayVirtualInterfaceGroupsRequestDescribeLocalGatewayVirtualInterfaceGroupsPaginateTypeDef = { # (1)
"LocalGatewayVirtualInterfaceGroupIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeLocalGatewayVirtualInterfacesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeLocalGatewayVirtualInterfacesRequestDescribeLocalGatewayVirtualInterfacesPaginateTypeDef = { # (1)
"LocalGatewayVirtualInterfaceIds": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: DescribeLocalGatewaysPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeLocalGatewaysRequestDescribeLocalGatewaysPaginateTypeDef = { # (1)
"LocalGatewayIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeMacHostsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeMacHostsRequestDescribeMacHostsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeManagedPrefixListsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeManagedPrefixListsRequestDescribeManagedPrefixListsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeMovingAddressesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeMovingAddressesRequestDescribeMovingAddressesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeNatGatewaysPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeNatGatewaysRequestDescribeNatGatewaysPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeNetworkAclsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeNetworkAclsRequestDescribeNetworkAclsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeNetworkInsightsAccessScopeAnalysesPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeNetworkInsightsAccessScopeAnalysesResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeNetworkInsightsAccessScopeAnalysesRequestDescribeNetworkInsightsAccessScopeAnalysesPaginateTypeDef = { # (1)
"NetworkInsightsAccessScopeAnalysisIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeNetworkInsightsAccessScopesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeNetworkInsightsAccessScopesRequestDescribeNetworkInsightsAccessScopesPaginateTypeDef = { # (1)
"NetworkInsightsAccessScopeIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeNetworkInsightsAnalysesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeNetworkInsightsAnalysesRequestDescribeNetworkInsightsAnalysesPaginateTypeDef = { # (1)
"NetworkInsightsAnalysisIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeNetworkInsightsPathsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeNetworkInsightsPathsRequestDescribeNetworkInsightsPathsPaginateTypeDef = { # (1)
"NetworkInsightsPathIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeNetworkInterfacePermissionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeNetworkInterfacePermissionsRequestDescribeNetworkInterfacePermissionsPaginateTypeDef = { # (1)
"NetworkInterfacePermissionIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeNetworkInterfacesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeNetworkInterfacesRequestDescribeNetworkInterfacesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribePrefixListsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribePrefixListsRequestDescribePrefixListsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribePrincipalIdFormatPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribePrincipalIdFormatRequestDescribePrincipalIdFormatPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribePublicIpv4PoolsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribePublicIpv4PoolsRequestDescribePublicIpv4PoolsPaginateTypeDef = { # (1)
"PoolIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeReplaceRootVolumeTasksPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeReplaceRootVolumeTasksRequestDescribeReplaceRootVolumeTasksPaginateTypeDef = { # (1)
"ReplaceRootVolumeTaskIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeReservedInstancesModificationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeReservedInstancesModificationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeReservedInstancesModificationsRequestDescribeReservedInstancesModificationsPaginateTypeDef = { # (1)
"ReservedInstancesModificationIds": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: DescribeReservedInstancesOfferingsPaginator
- 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)
...
- See InstanceTypeType
- See OfferingClassTypeType
- See RIProductDescriptionType
- See FilterTypeDef
- See TenancyType
- See OfferingTypeValuesType
- See PaginatorConfigTypeDef
- See DescribeReservedInstancesOfferingsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeReservedInstancesOfferingsRequestDescribeReservedInstancesOfferingsPaginateTypeDef = { # (1)
"AvailabilityZone": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeRouteTablesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeRouteTablesRequestDescribeRouteTablesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeScheduledInstanceAvailabilityPaginator
- 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)
...
- See SlotDateTimeRangeRequestTypeDef
- See ScheduledInstanceRecurrenceRequestTypeDef
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeScheduledInstanceAvailabilityResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeScheduledInstanceAvailabilityRequestDescribeScheduledInstanceAvailabilityPaginateTypeDef = { # (1)
"FirstSlotStartTimeRange": ...,
"Recurrence": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: DescribeScheduledInstancesPaginator
- 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)
...
- See FilterTypeDef
- See SlotStartTimeRangeRequestTypeDef
- See PaginatorConfigTypeDef
- See DescribeScheduledInstancesResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeScheduledInstancesRequestDescribeScheduledInstancesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSecurityGroupRulesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeSecurityGroupRulesRequestDescribeSecurityGroupRulesPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSecurityGroupVpcAssociationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeSecurityGroupVpcAssociationsRequestDescribeSecurityGroupVpcAssociationsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSecurityGroupsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeSecurityGroupsRequestDescribeSecurityGroupsPaginateTypeDef = { # (1)
"GroupIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSnapshotTierStatusPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeSnapshotTierStatusRequestDescribeSnapshotTierStatusPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSnapshotsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeSnapshotsRequestDescribeSnapshotsPaginateTypeDef = { # (1)
"OwnerIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSpotFleetInstancesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeSpotFleetInstancesRequestDescribeSpotFleetInstancesPaginateTypeDef = { # (1)
"SpotFleetRequestId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSpotFleetRequestsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeSpotFleetRequestsRequestDescribeSpotFleetRequestsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSpotInstanceRequestsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeSpotInstanceRequestsRequestDescribeSpotInstanceRequestsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSpotPriceHistoryPaginator
- 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)
...
- See InstanceTypeType
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeSpotPriceHistoryResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeSpotPriceHistoryRequestDescribeSpotPriceHistoryPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeStaleSecurityGroupsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeStaleSecurityGroupsRequestDescribeStaleSecurityGroupsPaginateTypeDef = { # (1)
"VpcId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeStoreImageTasksPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeStoreImageTasksRequestDescribeStoreImageTasksPaginateTypeDef = { # (1)
"ImageIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeSubnetsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeSubnetsRequestDescribeSubnetsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTagsRequestDescribeTagsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTrafficMirrorFiltersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTrafficMirrorFiltersRequestDescribeTrafficMirrorFiltersPaginateTypeDef = { # (1)
"TrafficMirrorFilterIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTrafficMirrorSessionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTrafficMirrorSessionsRequestDescribeTrafficMirrorSessionsPaginateTypeDef = { # (1)
"TrafficMirrorSessionIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTrafficMirrorTargetsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTrafficMirrorTargetsRequestDescribeTrafficMirrorTargetsPaginateTypeDef = { # (1)
"TrafficMirrorTargetIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTransitGatewayAttachmentsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewayAttachmentsRequestDescribeTransitGatewayAttachmentsPaginateTypeDef = { # (1)
"TransitGatewayAttachmentIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTransitGatewayConnectPeersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewayConnectPeersRequestDescribeTransitGatewayConnectPeersPaginateTypeDef = { # (1)
"TransitGatewayConnectPeerIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTransitGatewayConnectsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewayConnectsRequestDescribeTransitGatewayConnectsPaginateTypeDef = { # (1)
"TransitGatewayAttachmentIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTransitGatewayMulticastDomainsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeTransitGatewayMulticastDomainsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewayMulticastDomainsRequestDescribeTransitGatewayMulticastDomainsPaginateTypeDef = { # (1)
"TransitGatewayMulticastDomainIds": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: DescribeTransitGatewayPeeringAttachmentsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeTransitGatewayPeeringAttachmentsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewayPeeringAttachmentsRequestDescribeTransitGatewayPeeringAttachmentsPaginateTypeDef = { # (1)
"TransitGatewayAttachmentIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTransitGatewayPolicyTablesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewayPolicyTablesRequestDescribeTransitGatewayPolicyTablesPaginateTypeDef = { # (1)
"TransitGatewayPolicyTableIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTransitGatewayRouteTableAnnouncementsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeTransitGatewayRouteTableAnnouncementsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewayRouteTableAnnouncementsRequestDescribeTransitGatewayRouteTableAnnouncementsPaginateTypeDef = { # (1)
"TransitGatewayRouteTableAnnouncementIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTransitGatewayRouteTablesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewayRouteTablesRequestDescribeTransitGatewayRouteTablesPaginateTypeDef = { # (1)
"TransitGatewayRouteTableIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTransitGatewayVpcAttachmentsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewayVpcAttachmentsRequestDescribeTransitGatewayVpcAttachmentsPaginateTypeDef = { # (1)
"TransitGatewayAttachmentIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTransitGatewaysPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTransitGatewaysRequestDescribeTransitGatewaysPaginateTypeDef = { # (1)
"TransitGatewayIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeTrunkInterfaceAssociationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTrunkInterfaceAssociationsRequestDescribeTrunkInterfaceAssociationsPaginateTypeDef = { # (1)
"AssociationIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVerifiedAccessEndpointsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVerifiedAccessEndpointsRequestDescribeVerifiedAccessEndpointsPaginateTypeDef = { # (1)
"VerifiedAccessEndpointIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVerifiedAccessGroupsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVerifiedAccessGroupsRequestDescribeVerifiedAccessGroupsPaginateTypeDef = { # (1)
"VerifiedAccessGroupIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeVerifiedAccessInstanceLoggingConfigurationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeVerifiedAccessInstanceLoggingConfigurationsRequestDescribeVerifiedAccessInstanceLoggingConfigurationsPaginateTypeDef = { # (1)
"VerifiedAccessInstanceIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVerifiedAccessInstancesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVerifiedAccessInstancesRequestDescribeVerifiedAccessInstancesPaginateTypeDef = { # (1)
"VerifiedAccessInstanceIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVerifiedAccessTrustProvidersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVerifiedAccessTrustProvidersRequestDescribeVerifiedAccessTrustProvidersPaginateTypeDef = { # (1)
"VerifiedAccessTrustProviderIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVolumeStatusPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVolumeStatusRequestDescribeVolumeStatusPaginateTypeDef = { # (1)
"VolumeIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVolumesModificationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVolumesModificationsRequestDescribeVolumesModificationsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVolumesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVolumesRequestDescribeVolumesPaginateTypeDef = { # (1)
"VolumeIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVpcClassicLinkDnsSupportPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVpcClassicLinkDnsSupportRequestDescribeVpcClassicLinkDnsSupportPaginateTypeDef = { # (1)
"VpcIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVpcEndpointConnectionNotificationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeVpcEndpointConnectionNotificationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeVpcEndpointConnectionNotificationsRequestDescribeVpcEndpointConnectionNotificationsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVpcEndpointConnectionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVpcEndpointConnectionsRequestDescribeVpcEndpointConnectionsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVpcEndpointServiceConfigurationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeVpcEndpointServiceConfigurationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeVpcEndpointServiceConfigurationsRequestDescribeVpcEndpointServiceConfigurationsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVpcEndpointServicePermissionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVpcEndpointServicePermissionsRequestDescribeVpcEndpointServicePermissionsPaginateTypeDef = { # (1)
"ServiceId": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: DescribeVpcEndpointServicesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVpcEndpointServicesRequestDescribeVpcEndpointServicesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVpcEndpointsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVpcEndpointsRequestDescribeVpcEndpointsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVpcPeeringConnectionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVpcPeeringConnectionsRequestDescribeVpcPeeringConnectionsPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: DescribeVpcsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeVpcsRequestDescribeVpcsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetAssociatedIpv6PoolCidrsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetAssociatedIpv6PoolCidrsRequestGetAssociatedIpv6PoolCidrsPaginateTypeDef = { # (1)
"PoolId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetAwsNetworkPerformanceDataPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetAwsNetworkPerformanceDataRequestGetAwsNetworkPerformanceDataPaginateTypeDef = { # (1)
"DataQueries": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetGroupsForCapacityReservationPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetGroupsForCapacityReservationRequestGetGroupsForCapacityReservationPaginateTypeDef = { # (1)
"CapacityReservationId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetInstanceTypesFromInstanceRequirementsPaginator
- 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)
...
- See ArchitectureTypeType
- See VirtualizationTypeType
- See InstanceRequirementsRequestTypeDef
- See PaginatorConfigTypeDef
- See GetInstanceTypesFromInstanceRequirementsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: GetInstanceTypesFromInstanceRequirementsRequestGetInstanceTypesFromInstanceRequirementsPaginateTypeDef = { # (1)
"ArchitectureTypes": ...,
"VirtualizationTypes": ...,
"InstanceRequirements": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetIpamAddressHistoryPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetIpamAddressHistoryRequestGetIpamAddressHistoryPaginateTypeDef = { # (1)
"Cidr": ...,
"IpamScopeId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetIpamDiscoveredAccountsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetIpamDiscoveredAccountsRequestGetIpamDiscoveredAccountsPaginateTypeDef = { # (1)
"IpamResourceDiscoveryId": ...,
"DiscoveryRegion": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetIpamDiscoveredResourceCidrsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetIpamDiscoveredResourceCidrsRequestGetIpamDiscoveredResourceCidrsPaginateTypeDef = { # (1)
"IpamResourceDiscoveryId": ...,
"ResourceRegion": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetIpamPoolAllocationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetIpamPoolAllocationsRequestGetIpamPoolAllocationsPaginateTypeDef = { # (1)
"IpamPoolId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetIpamPoolCidrsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetIpamPoolCidrsRequestGetIpamPoolCidrsPaginateTypeDef = { # (1)
"IpamPoolId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetIpamResourceCidrsPaginator
- 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)
...
- See FilterTypeDef
- See IpamResourceTypeType
- See RequestIpamResourceTagTypeDef
- See PaginatorConfigTypeDef
- See GetIpamResourceCidrsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: GetIpamResourceCidrsRequestGetIpamResourceCidrsPaginateTypeDef = { # (1)
"IpamScopeId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetManagedPrefixListAssociationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetManagedPrefixListAssociationsRequestGetManagedPrefixListAssociationsPaginateTypeDef = { # (1)
"PrefixListId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetManagedPrefixListEntriesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetManagedPrefixListEntriesRequestGetManagedPrefixListEntriesPaginateTypeDef = { # (1)
"PrefixListId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetNetworkInsightsAccessScopeAnalysisFindingsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetNetworkInsightsAccessScopeAnalysisFindingsRequestGetNetworkInsightsAccessScopeAnalysisFindingsPaginateTypeDef = { # (1)
"NetworkInsightsAccessScopeAnalysisId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetSecurityGroupsForVpcPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetSecurityGroupsForVpcRequestGetSecurityGroupsForVpcPaginateTypeDef = { # (1)
"VpcId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetSpotPlacementScoresPaginator
- 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)
...
- See TargetCapacityUnitTypeType
- See InstanceRequirementsWithMetadataRequestTypeDef
- See PaginatorConfigTypeDef
- See GetSpotPlacementScoresResultTypeDef
# paginate method usage example with argument unpacking
kwargs: GetSpotPlacementScoresRequestGetSpotPlacementScoresPaginateTypeDef = { # (1)
"TargetCapacity": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetTransitGatewayAttachmentPropagationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See GetTransitGatewayAttachmentPropagationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: GetTransitGatewayAttachmentPropagationsRequestGetTransitGatewayAttachmentPropagationsPaginateTypeDef = { # (1)
"TransitGatewayAttachmentId": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: GetTransitGatewayMulticastDomainAssociationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See GetTransitGatewayMulticastDomainAssociationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: GetTransitGatewayMulticastDomainAssociationsRequestGetTransitGatewayMulticastDomainAssociationsPaginateTypeDef = { # (1)
"TransitGatewayMulticastDomainId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetTransitGatewayPolicyTableAssociationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See GetTransitGatewayPolicyTableAssociationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: GetTransitGatewayPolicyTableAssociationsRequestGetTransitGatewayPolicyTableAssociationsPaginateTypeDef = { # (1)
"TransitGatewayPolicyTableId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: GetTransitGatewayPrefixListReferencesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetTransitGatewayPrefixListReferencesRequestGetTransitGatewayPrefixListReferencesPaginateTypeDef = { # (1)
"TransitGatewayRouteTableId": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: GetTransitGatewayRouteTableAssociationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See GetTransitGatewayRouteTableAssociationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: GetTransitGatewayRouteTableAssociationsRequestGetTransitGatewayRouteTableAssociationsPaginateTypeDef = { # (1)
"TransitGatewayRouteTableId": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: GetTransitGatewayRouteTablePropagationsPaginator
- 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)
...
- See FilterTypeDef
- See PaginatorConfigTypeDef
- See GetTransitGatewayRouteTablePropagationsResultTypeDef
# paginate method usage example with argument unpacking
kwargs: GetTransitGatewayRouteTablePropagationsRequestGetTransitGatewayRouteTablePropagationsPaginateTypeDef = { # (1)
"TransitGatewayRouteTableId": ...,
}
parent.paginate(**kwargs)
- 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)
- client: EC2Client
- paginator: GetVpnConnectionDeviceTypesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetVpnConnectionDeviceTypesRequestGetVpnConnectionDeviceTypesPaginateTypeDef = { # (1)
"DryRun": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: ListImagesInRecycleBinPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListImagesInRecycleBinRequestListImagesInRecycleBinPaginateTypeDef = { # (1)
"ImageIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: ListSnapshotsInRecycleBinPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListSnapshotsInRecycleBinRequestListSnapshotsInRecycleBinPaginateTypeDef = { # (1)
"SnapshotIds": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: SearchLocalGatewayRoutesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: SearchLocalGatewayRoutesRequestSearchLocalGatewayRoutesPaginateTypeDef = { # (1)
"LocalGatewayRouteTableId": ...,
}
parent.paginate(**kwargs)
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)
- client: EC2Client
- paginator: SearchTransitGatewayMulticastGroupsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: SearchTransitGatewayMulticastGroupsRequestSearchTransitGatewayMulticastGroupsPaginateTypeDef = { # (1)
"TransitGatewayMulticastDomainId": ...,
}
parent.paginate(**kwargs)