Paginators#
Index > DirectConnect > Paginators
Auto-generated documentation for DirectConnect type annotations stubs module mypy-boto3-directconnect.
DescribeDirectConnectGatewayAssociationsPaginator#
Type annotations and code completion for boto3.client("directconnect").get_paginator("describe_direct_connect_gateway_associations")
.
boto3 documentation
# DescribeDirectConnectGatewayAssociationsPaginator usage example
from boto3.session import Session
from mypy_boto3_directconnect.paginator import DescribeDirectConnectGatewayAssociationsPaginator
def get_describe_direct_connect_gateway_associations_paginator() -> DescribeDirectConnectGatewayAssociationsPaginator:
return Session().client("directconnect").get_paginator("describe_direct_connect_gateway_associations")
# DescribeDirectConnectGatewayAssociationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_directconnect.paginator import DescribeDirectConnectGatewayAssociationsPaginator
session = Session()
client = Session().client("directconnect") # (1)
paginator: DescribeDirectConnectGatewayAssociationsPaginator = client.get_paginator("describe_direct_connect_gateway_associations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DirectConnectClient
- paginator: DescribeDirectConnectGatewayAssociationsPaginator
- item: DescribeDirectConnectGatewayAssociationsResultTypeDef
paginate#
Type annotations and code completion for DescribeDirectConnectGatewayAssociationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
associationId: str = ...,
associatedGatewayId: str = ...,
directConnectGatewayId: str = ...,
virtualGatewayId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[DescribeDirectConnectGatewayAssociationsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeDirectConnectGatewayAssociationsRequestPaginateTypeDef = { # (1)
"associationId": ...,
}
parent.paginate(**kwargs)
DescribeDirectConnectGatewayAttachmentsPaginator#
Type annotations and code completion for boto3.client("directconnect").get_paginator("describe_direct_connect_gateway_attachments")
.
boto3 documentation
# DescribeDirectConnectGatewayAttachmentsPaginator usage example
from boto3.session import Session
from mypy_boto3_directconnect.paginator import DescribeDirectConnectGatewayAttachmentsPaginator
def get_describe_direct_connect_gateway_attachments_paginator() -> DescribeDirectConnectGatewayAttachmentsPaginator:
return Session().client("directconnect").get_paginator("describe_direct_connect_gateway_attachments")
# DescribeDirectConnectGatewayAttachmentsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_directconnect.paginator import DescribeDirectConnectGatewayAttachmentsPaginator
session = Session()
client = Session().client("directconnect") # (1)
paginator: DescribeDirectConnectGatewayAttachmentsPaginator = client.get_paginator("describe_direct_connect_gateway_attachments") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DirectConnectClient
- paginator: DescribeDirectConnectGatewayAttachmentsPaginator
- item: DescribeDirectConnectGatewayAttachmentsResultTypeDef
paginate#
Type annotations and code completion for DescribeDirectConnectGatewayAttachmentsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
directConnectGatewayId: str = ...,
virtualInterfaceId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[DescribeDirectConnectGatewayAttachmentsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeDirectConnectGatewayAttachmentsRequestPaginateTypeDef = { # (1)
"directConnectGatewayId": ...,
}
parent.paginate(**kwargs)
DescribeDirectConnectGatewaysPaginator#
Type annotations and code completion for boto3.client("directconnect").get_paginator("describe_direct_connect_gateways")
.
boto3 documentation
# DescribeDirectConnectGatewaysPaginator usage example
from boto3.session import Session
from mypy_boto3_directconnect.paginator import DescribeDirectConnectGatewaysPaginator
def get_describe_direct_connect_gateways_paginator() -> DescribeDirectConnectGatewaysPaginator:
return Session().client("directconnect").get_paginator("describe_direct_connect_gateways")
# DescribeDirectConnectGatewaysPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_directconnect.paginator import DescribeDirectConnectGatewaysPaginator
session = Session()
client = Session().client("directconnect") # (1)
paginator: DescribeDirectConnectGatewaysPaginator = client.get_paginator("describe_direct_connect_gateways") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DirectConnectClient
- paginator: DescribeDirectConnectGatewaysPaginator
- item: DescribeDirectConnectGatewaysResultTypeDef
paginate#
Type annotations and code completion for DescribeDirectConnectGatewaysPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
directConnectGatewayId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[DescribeDirectConnectGatewaysResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeDirectConnectGatewaysRequestPaginateTypeDef = { # (1)
"directConnectGatewayId": ...,
}
parent.paginate(**kwargs)