Skip to content

Paginators#

Index > ResilienceHub > Paginators

Auto-generated documentation for ResilienceHub type annotations stubs module mypy-boto3-resiliencehub.

ListAppAssessmentResourceDriftsPaginator#

Type annotations and code completion for boto3.client("resiliencehub").get_paginator("list_app_assessment_resource_drifts"). boto3 documentation

# ListAppAssessmentResourceDriftsPaginator usage example

from boto3.session import Session

from mypy_boto3_resiliencehub.paginator import ListAppAssessmentResourceDriftsPaginator

def get_list_app_assessment_resource_drifts_paginator() -> ListAppAssessmentResourceDriftsPaginator:
    return Session().client("resiliencehub").get_paginator("list_app_assessment_resource_drifts")
# ListAppAssessmentResourceDriftsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_resiliencehub.paginator import ListAppAssessmentResourceDriftsPaginator

session = Session()

client = Session().client("resiliencehub")  # (1)
paginator: ListAppAssessmentResourceDriftsPaginator = client.get_paginator("list_app_assessment_resource_drifts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ResilienceHubClient
  2. paginator: ListAppAssessmentResourceDriftsPaginator
  3. item: ListAppAssessmentResourceDriftsResponseTypeDef

paginate#

Type annotations and code completion for ListAppAssessmentResourceDriftsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    assessmentArn: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListAppAssessmentResourceDriftsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAppAssessmentResourceDriftsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAppAssessmentResourceDriftsRequestPaginateTypeDef = {  # (1)
    "assessmentArn": ...,
}

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

ListMetricsPaginator#

Type annotations and code completion for boto3.client("resiliencehub").get_paginator("list_metrics"). boto3 documentation

# ListMetricsPaginator usage example

from boto3.session import Session

from mypy_boto3_resiliencehub.paginator import ListMetricsPaginator

def get_list_metrics_paginator() -> ListMetricsPaginator:
    return Session().client("resiliencehub").get_paginator("list_metrics")
# ListMetricsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_resiliencehub.paginator import ListMetricsPaginator

session = Session()

client = Session().client("resiliencehub")  # (1)
paginator: ListMetricsPaginator = client.get_paginator("list_metrics")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ResilienceHubClient
  2. paginator: ListMetricsPaginator
  3. item: ListMetricsResponseTypeDef

paginate#

Type annotations and code completion for ListMetricsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    conditions: Sequence[ConditionTypeDef] = ...,  # (1)
    dataSource: str = ...,
    fields: Sequence[FieldTypeDef] = ...,  # (2)
    sorts: Sequence[SortTypeDef] = ...,  # (3)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> PageIterator[ListMetricsResponseTypeDef]:  # (5)
    ...
  1. See ConditionTypeDef
  2. See FieldTypeDef
  3. See SortTypeDef
  4. See PaginatorConfigTypeDef
  5. See ListMetricsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListMetricsRequestPaginateTypeDef = {  # (1)
    "conditions": ...,
}

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

ListResourceGroupingRecommendationsPaginator#

Type annotations and code completion for boto3.client("resiliencehub").get_paginator("list_resource_grouping_recommendations"). boto3 documentation

# ListResourceGroupingRecommendationsPaginator usage example

from boto3.session import Session

from mypy_boto3_resiliencehub.paginator import ListResourceGroupingRecommendationsPaginator

def get_list_resource_grouping_recommendations_paginator() -> ListResourceGroupingRecommendationsPaginator:
    return Session().client("resiliencehub").get_paginator("list_resource_grouping_recommendations")
# ListResourceGroupingRecommendationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_resiliencehub.paginator import ListResourceGroupingRecommendationsPaginator

session = Session()

client = Session().client("resiliencehub")  # (1)
paginator: ListResourceGroupingRecommendationsPaginator = client.get_paginator("list_resource_grouping_recommendations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ResilienceHubClient
  2. paginator: ListResourceGroupingRecommendationsPaginator
  3. item: ListResourceGroupingRecommendationsResponseTypeDef

paginate#

Type annotations and code completion for ListResourceGroupingRecommendationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    appArn: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListResourceGroupingRecommendationsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListResourceGroupingRecommendationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListResourceGroupingRecommendationsRequestPaginateTypeDef = {  # (1)
    "appArn": ...,
}

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