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: DescribeRecommendationExportJobsRequestPaginateTypeDef = { # (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: GetEnrollmentStatusesForOrganizationRequestPaginateTypeDef = { # (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: GetLambdaFunctionRecommendationsRequestPaginateTypeDef = { # (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: GetRecommendationPreferencesRequestPaginateTypeDef = { # (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 GetRecommendationSummariesPaginator
def get_get_recommendation_summaries_paginator() -> GetRecommendationSummariesPaginator:
return Session().client("compute-optimizer").get_paginator("get_recommendation_summaries")
# GetRecommendationSummariesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_compute_optimizer.paginator import GetRecommendationSummariesPaginator
session = Session()
client = Session().client("compute-optimizer") # (1)
paginator: GetRecommendationSummariesPaginator = client.get_paginator("get_recommendation_summaries") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ComputeOptimizerClient
- paginator: GetRecommendationSummariesPaginator
- item: GetRecommendationSummariesResponseTypeDef
paginate#
Type annotations and code completion for GetRecommendationSummariesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
accountIds: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetRecommendationSummariesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetRecommendationSummariesRequestPaginateTypeDef = { # (1)
"accountIds": ...,
}
parent.paginate(**kwargs)