Skip to content

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)
  1. client: DirectConnectClient
  2. paginator: DescribeDirectConnectGatewayAssociationsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeDirectConnectGatewayAssociationsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef = {  # (1)
    "associationId": ...,
}

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

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)
  1. client: DirectConnectClient
  2. paginator: DescribeDirectConnectGatewayAttachmentsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeDirectConnectGatewayAttachmentsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef = {  # (1)
    "directConnectGatewayId": ...,
}

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

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)
  1. client: DirectConnectClient
  2. paginator: DescribeDirectConnectGatewaysPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeDirectConnectGatewaysResultTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef = {  # (1)
    "directConnectGatewayId": ...,
}

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