Paginators#
Index > ComputeOptimizer > Paginators
Auto-generated documentation for ComputeOptimizer type annotations stubs module mypy-boto3-compute-optimizer.
DescribeRecommendationExportJobsPaginator#
Type annotations and code completion for boto3.client("compute-optimizer").get_paginator("describe_recommendation_export_jobs")
.
boto3 documentation
# DescribeRecommendationExportJobsPaginator usage example
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import DescribeRecommendationExportJobsPaginator
def get_describe_recommendation_export_jobs_paginator() -> DescribeRecommendationExportJobsPaginator:
return Session().client("compute-optimizer").get_paginator("describe_recommendation_export_jobs")
# DescribeRecommendationExportJobsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import DescribeRecommendationExportJobsPaginator
session = Session()
client = Session().client("compute-optimizer") # (1)
paginator: DescribeRecommendationExportJobsPaginator = client.get_paginator("describe_recommendation_export_jobs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ComputeOptimizerClient
- paginator: DescribeRecommendationExportJobsPaginator
- item: DescribeRecommendationExportJobsResponseTypeDef
paginate#
Type annotations and code completion for DescribeRecommendationExportJobsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
jobIds: Sequence[str] = ...,
filters: Sequence[JobFilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[DescribeRecommendationExportJobsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef = { # (1)
"jobIds": ...,
}
parent.paginate(**kwargs)
GetEnrollmentStatusesForOrganizationPaginator#
Type annotations and code completion for boto3.client("compute-optimizer").get_paginator("get_enrollment_statuses_for_organization")
.
boto3 documentation
# GetEnrollmentStatusesForOrganizationPaginator usage example
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import GetEnrollmentStatusesForOrganizationPaginator
def get_get_enrollment_statuses_for_organization_paginator() -> GetEnrollmentStatusesForOrganizationPaginator:
return Session().client("compute-optimizer").get_paginator("get_enrollment_statuses_for_organization")
# GetEnrollmentStatusesForOrganizationPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import GetEnrollmentStatusesForOrganizationPaginator
session = Session()
client = Session().client("compute-optimizer") # (1)
paginator: GetEnrollmentStatusesForOrganizationPaginator = client.get_paginator("get_enrollment_statuses_for_organization") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ComputeOptimizerClient
- paginator: GetEnrollmentStatusesForOrganizationPaginator
- item: GetEnrollmentStatusesForOrganizationResponseTypeDef
paginate#
Type annotations and code completion for GetEnrollmentStatusesForOrganizationPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filters: Sequence[EnrollmentFilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[GetEnrollmentStatusesForOrganizationResponseTypeDef]: # (3)
...
- See EnrollmentFilterTypeDef
- See PaginatorConfigTypeDef
- See GetEnrollmentStatusesForOrganizationResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef = { # (1)
"filters": ...,
}
parent.paginate(**kwargs)
GetLambdaFunctionRecommendationsPaginator#
Type annotations and code completion for boto3.client("compute-optimizer").get_paginator("get_lambda_function_recommendations")
.
boto3 documentation
# GetLambdaFunctionRecommendationsPaginator usage example
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import GetLambdaFunctionRecommendationsPaginator
def get_get_lambda_function_recommendations_paginator() -> GetLambdaFunctionRecommendationsPaginator:
return Session().client("compute-optimizer").get_paginator("get_lambda_function_recommendations")
# GetLambdaFunctionRecommendationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import GetLambdaFunctionRecommendationsPaginator
session = Session()
client = Session().client("compute-optimizer") # (1)
paginator: GetLambdaFunctionRecommendationsPaginator = client.get_paginator("get_lambda_function_recommendations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ComputeOptimizerClient
- paginator: GetLambdaFunctionRecommendationsPaginator
- item: GetLambdaFunctionRecommendationsResponseTypeDef
paginate#
Type annotations and code completion for GetLambdaFunctionRecommendationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
functionArns: Sequence[str] = ...,
accountIds: Sequence[str] = ...,
filters: Sequence[LambdaFunctionRecommendationFilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[GetLambdaFunctionRecommendationsResponseTypeDef]: # (3)
...
- See LambdaFunctionRecommendationFilterTypeDef
- See PaginatorConfigTypeDef
- See GetLambdaFunctionRecommendationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef = { # (1)
"functionArns": ...,
}
parent.paginate(**kwargs)
GetRecommendationPreferencesPaginator#
Type annotations and code completion for boto3.client("compute-optimizer").get_paginator("get_recommendation_preferences")
.
boto3 documentation
# GetRecommendationPreferencesPaginator usage example
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import GetRecommendationPreferencesPaginator
def get_get_recommendation_preferences_paginator() -> GetRecommendationPreferencesPaginator:
return Session().client("compute-optimizer").get_paginator("get_recommendation_preferences")
# GetRecommendationPreferencesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import GetRecommendationPreferencesPaginator
session = Session()
client = Session().client("compute-optimizer") # (1)
paginator: GetRecommendationPreferencesPaginator = client.get_paginator("get_recommendation_preferences") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ComputeOptimizerClient
- paginator: GetRecommendationPreferencesPaginator
- item: GetRecommendationPreferencesResponseTypeDef
paginate#
Type annotations and code completion for GetRecommendationPreferencesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
resourceType: ResourceTypeType, # (1)
scope: ScopeTypeDef = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[GetRecommendationPreferencesResponseTypeDef]: # (4)
...
- See ResourceTypeType
- See ScopeTypeDef
- See PaginatorConfigTypeDef
- See GetRecommendationPreferencesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef = { # (1)
"resourceType": ...,
}
parent.paginate(**kwargs)
GetRecommendationSummariesPaginator#
Type annotations and code completion for boto3.client("compute-optimizer").get_paginator("get_recommendation_summaries")
.
boto3 documentation
# GetRecommendationSummariesPaginator usage example
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import GetRecommendationSummariesPagin