Paginators#
Index > CostOptimizationHub > Paginators
Auto-generated documentation for CostOptimizationHub type annotations stubs module mypy-boto3-cost-optimization-hub.
ListEnrollmentStatusesPaginator#
Type annotations and code completion for boto3.client("cost-optimization-hub").get_paginator("list_enrollment_statuses")
.
boto3 documentation
# ListEnrollmentStatusesPaginator usage example
from boto3.session import Session
from mypy_boto3_cost_optimization_hub.paginator import ListEnrollmentStatusesPaginator
def get_list_enrollment_statuses_paginator() -> ListEnrollmentStatusesPaginator:
return Session().client("cost-optimization-hub").get_paginator("list_enrollment_statuses")
# ListEnrollmentStatusesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cost_optimization_hub.paginator import ListEnrollmentStatusesPaginator
session = Session()
client = Session().client("cost-optimization-hub") # (1)
paginator: ListEnrollmentStatusesPaginator = client.get_paginator("list_enrollment_statuses") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CostOptimizationHubClient
- paginator: ListEnrollmentStatusesPaginator
- item: ListEnrollmentStatusesResponseTypeDef
paginate#
Type annotations and code completion for ListEnrollmentStatusesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
includeOrganizationInfo: bool = ...,
accountId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListEnrollmentStatusesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListEnrollmentStatusesRequestListEnrollmentStatusesPaginateTypeDef = { # (1)
"includeOrganizationInfo": ...,
}
parent.paginate(**kwargs)
ListRecommendationSummariesPaginator#
Type annotations and code completion for boto3.client("cost-optimization-hub").get_paginator("list_recommendation_summaries")
.
boto3 documentation
# ListRecommendationSummariesPaginator usage example
from boto3.session import Session
from mypy_boto3_cost_optimization_hub.paginator import ListRecommendationSummariesPaginator
def get_list_recommendation_summaries_paginator() -> ListRecommendationSummariesPaginator:
return Session().client("cost-optimization-hub").get_paginator("list_recommendation_summaries")
# ListRecommendationSummariesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cost_optimization_hub.paginator import ListRecommendationSummariesPaginator
session = Session()
client = Session().client("cost-optimization-hub") # (1)
paginator: ListRecommendationSummariesPaginator = client.get_paginator("list_recommendation_summaries") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CostOptimizationHubClient
- paginator: ListRecommendationSummariesPaginator
- item: ListRecommendationSummariesResponseTypeDef
paginate#
Type annotations and code completion for ListRecommendationSummariesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
groupBy: str,
filter: FilterTypeDef = ..., # (1)
metrics: Sequence[SummaryMetricsType] = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[ListRecommendationSummariesResponseTypeDef]: # (4)
...
- See FilterTypeDef
- See SummaryMetricsType
- See PaginatorConfigTypeDef
- See ListRecommendationSummariesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListRecommendationSummariesRequestListRecommendationSummariesPaginateTypeDef = { # (1)
"groupBy": ...,
}
parent.paginate(**kwargs)
ListRecommendationsPaginator#
Type annotations and code completion for boto3.client("cost-optimization-hub").get_paginator("list_recommendations")
.
boto3 documentation
# ListRecommendationsPaginator usage example
from boto3.session import Session
from mypy_boto3_cost_optimization_hub.paginator import ListRecommendationsPaginator
def get_list_recommendations_paginator() -> ListRecommendationsPaginator:
return Session().client("cost-optimization-hub").get_paginator("list_recommendations")
# ListRecommendationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cost_optimization_hub.paginator import ListRecommendationsPaginator
session = Session()
client = Session().client("cost-optimization-hub") # (1)
paginator: ListRecommendationsPaginator = client.get_paginator("list_recommendations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CostOptimizationHubClient
- paginator: ListRecommendationsPaginator
- item: ListRecommendationsResponseTypeDef
paginate#
Type annotations and code completion for ListRecommendationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filter: FilterTypeDef = ..., # (1)
orderBy: OrderByTypeDef = ..., # (2)
includeAllRecommendations: bool = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[ListRecommendationsResponseTypeDef]: # (4)
...
- See FilterTypeDef
- See OrderByTypeDef
- See PaginatorConfigTypeDef
- See ListRecommendationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListRecommendationsRequestListRecommendationsPaginateTypeDef = { # (1)
"filter": ...,
}
parent.paginate(**kwargs)