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 ListResourcesPaginator
session = Session()
client = Session().client("cloudcontrol") # (1)
paginator: ListResourcesPaginator = client.get_paginator("list_resources") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudControlApiClient
- paginator: ListResourcesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListResourcesInputListResourcesPaginateTypeDef = { # (1)
"TypeName": ...,
}
parent.paginate(**kwargs)