Paginators#
Index > DeadlineCloud > Paginators
Auto-generated documentation for DeadlineCloud type annotations stubs module mypy-boto3-deadline.
GetSessionsStatisticsAggregationPaginator#
Type annotations and code completion for boto3.client("deadline").get_paginator("get_sessions_statistics_aggregation")
.
boto3 documentation
# GetSessionsStatisticsAggregationPaginator usage example
from boto3.session import Session
from mypy_boto3_deadline.paginator import GetSessionsStatisticsAggregationPaginator
def get_get_sessions_statistics_aggregation_paginator() -> GetSessionsStatisticsAggregationPaginator:
return Session().client("deadline").get_paginator("get_sessions_statistics_aggregation")
# GetSessionsStatisticsAggregationPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_deadline.paginator import GetSessionsStatisticsAggregationPaginator
session = Session()
client = Session().client("deadline") # (1)
paginator: GetSessionsStatisticsAggregationPaginator = client.get_paginator("get_sessions_statistics_aggregation") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DeadlineCloudClient
- paginator: GetSessionsStatisticsAggregationPaginator
- item: GetSessionsStatisticsAggregationResponseTypeDef
paginate#
Type annotations and code completion for GetSessionsStatisticsAggregationPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
farmId: str,
aggregationId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetSessionsStatisticsAggregationResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetSessionsStatisticsAggregationRequestGetSessionsStatisticsAggregationPaginateTypeDef = { # (1)
"farmId": ...,
"aggregationId": ...,
}
parent.paginate(**kwargs)
ListAvailableMeteredProductsPaginator#
Type annotations and code completion for boto3.client("deadline").get_paginator("list_available_metered_products")
.
boto3 documentation
# ListAvailableMeteredProductsPaginator usage example
from boto3.session import Session
from mypy_boto3_deadline.paginator import ListAvailableMeteredProductsPaginator
def get_list_available_metered_products_paginator() -> ListAvailableMeteredProductsPaginator:
return Session().client("deadline").get_paginator("list_available_metered_products")
# ListAvailableMeteredProductsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_deadline.paginator import ListAvailableMeteredProductsPaginator
session = Session()
client = Session().client("deadline") # (1)
paginator: ListAvailableMeteredProductsPaginator = client.get_paginator("list_available_metered_products") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DeadlineCloudClient
- paginator: ListAvailableMeteredProductsPaginator
- item: ListAvailableMeteredProductsResponseTypeDef
paginate#
Type annotations and code completion for ListAvailableMeteredProductsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListAvailableMeteredProductsResponseTypeDef]: # (2)
...