Paginators#
Index > CloudControlApi > Paginators
Auto-generated documentation for CloudControlApi type annotations stubs module mypy-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 mypy_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 mypy_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)
- client: CloudControlApiClient
- paginator: ListResourceRequestsPaginator
- 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)
...
- See ResourceRequestStatusFilterTypeDef
- See PaginatorConfigTypeDef
- See ListResourceRequestsOutputTypeDef
# paginate method usage example with argument unpacking
kwargs: ListResourceRequestsInputListResourceRequestsPaginateTypeDef = { # (1)
"ResourceRequestStatusFilter": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_boto3_cloudcontrol.paginator import ListResources