Skip to content

Paginators#

Index > Route53RecoveryCluster > Paginators

Auto-generated documentation for Route53RecoveryCluster type annotations stubs module mypy-boto3-route53-recovery-cluster.

ListRoutingControlsPaginator#

Type annotations and code completion for boto3.client("route53-recovery-cluster").get_paginator("list_routing_controls"). boto3 documentation

# ListRoutingControlsPaginator usage example

from boto3.session import Session

from mypy_boto3_route53_recovery_cluster.paginator import ListRoutingControlsPaginator

def get_list_routing_controls_paginator() -> ListRoutingControlsPaginator:
    return Session().client("route53-recovery-cluster").get_paginator("list_routing_controls")
# ListRoutingControlsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_route53_recovery_cluster.paginator import ListRoutingControlsPaginator

session = Session()

client = Session().client("route53-recovery-cluster")  # (1)
paginator: ListRoutingControlsPaginator = client.get_paginator("list_routing_controls")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Route53RecoveryClusterClient
  2. paginator: ListRoutingControlsPaginator
  3. item: ListRoutingControlsResponseTypeDef

paginate#

Type annotations and code completion for ListRoutingControlsPaginator.paginate method.

# paginate method definition

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

kwargs: ListRoutingControlsRequestListRoutingControlsPaginateTypeDef = {  # (1)
    "ControlPanelArn": ...,
}

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