Skip to content

Paginators#

Index > CloudControlApi > Paginators

Auto-generated documentation for CloudControlApi type annotations stubs module types-boto3-cloudcontrol.

ListResourceRequestsPaginator#

Type annotations and code completion for boto3.client("cloudcontrol").get_paginator("list_resource_requests"). boto3 documentation

# ListResourceRequestsPaginator usage example

from boto3.session import Session

from types_boto3_cloudcontrol.paginator import ListResourceRequestsPaginator

def get_list_resource_requests_paginator() -> ListResourceRequestsPaginator:
    return Session().client("cloudcontrol").get_paginator("list_resource_requests")
# ListResourceRequestsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_cloudcontrol.paginator import ListResourceRequestsPaginator

session = Session()

client = Session().client("cloudcontrol")  # (1)
paginator: ListResourceRequestsPaginator = client.get_paginator("list_resource_requests")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudControlApiClient
  2. paginator: ListResourceRequestsPaginator
  3. item: ListResourceRequestsOutputTypeDef

paginate#

Type annotations and code completion for ListResourceRequestsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ResourceRequestStatusFilter: ResourceRequestStatusFilterTypeDef = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListResourceRequestsOutputTypeDef]:  # (3)
    ...
  1. See ResourceRequestStatusFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListResourceRequestsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListResourceRequestsInputPaginateTypeDef = {  # (1)
    "ResourceRequestStatusFilter": ...,
}

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

ListResourcesPaginator#

Type annotations and code completion for boto3.client("cloudcontrol").get_paginator("list_resources"). boto3 documentation

# ListResourcesPaginator usage example

from boto3.session import Session

from types_boto3_cloudcontrol.paginator import ListResourcesPaginator

def get_list_resources_paginator() -> ListResourcesPaginator:
    return Session().client("cloudcontrol").get_paginator("list_resources")
# ListResourcesPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_cloudcontrol.paginator import ListResourcesPaginator

session = Session()

client = Session().client("cloudcontrol")  # (1)
paginator: ListResourcesPaginator = client.get_paginator("list_resources")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudControlApiClient
  2. paginator: ListResourcesPaginator
  3. item: ListResourcesOutputTypeDef

paginate#

Type annotations and code completion for ListResourcesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    TypeName: str,
    TypeVersionId: str = ...,
    RoleArn: str = ...,
    ResourceModel: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListResourcesOutputTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListResourcesOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListResourcesInputPaginateTypeDef = {  # (1)
    "TypeName": ...,
}

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