Skip to content

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)
  1. client: ComputeOptimizerClient
  2. paginator: DescribeRecommendationExportJobsPaginator
  3. 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)
    ...
  1. See JobFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeRecommendationExportJobsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef = {  # (1)
    "jobIds": ...,
}

parent.paginate(**kwargs)
  1. See DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef

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)
  1. client: ComputeOptimizerClient
  2. paginator: GetEnrollmentStatusesForOrganizationPaginator
  3. 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)
    ...
  1. See EnrollmentFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetEnrollmentStatusesForOrganizationResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef = {  # (1)
    "filters": ...,
}

parent.paginate(**kwargs)
  1. See GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef

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)
  1. client: ComputeOptimizerClient
  2. paginator: GetLambdaFunctionRecommendationsPaginator
  3. 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)
    ...
  1. See LambdaFunctionRecommendationFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetLambdaFunctionRecommendationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef = {  # (1)
    "functionArns": ...,
}

parent.paginate(**kwargs)
  1. See GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef

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)
  1. client: ComputeOptimizerClient
  2. paginator: GetRecommendationPreferencesPaginator
  3. 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)
    ...
  1. See ResourceTypeType
  2. See ScopeTypeDef
  3. See PaginatorConfigTypeDef
  4. See GetRecommendationPreferencesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef = {  # (1)
    "resourceType": ...,
}

parent.paginate(**kwargs)
  1. See GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef

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