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)
- client: ResilienceHubClient
- paginator: ListAppAssessmentResourceDriftsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAppAssessmentResourceDriftsRequestPaginateTypeDef = { # (1)
"assessmentArn": ...,
}
parent.paginate(**kwargs)
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)
- client: ResilienceHubClient
- paginator: ListMetricsPaginator
- 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)
...
- See ConditionTypeDef
- See FieldTypeDef
- See SortTypeDef
- See PaginatorConfigTypeDef
- See ListMetricsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListMetricsRequestPaginateTypeDef = { # (1)
"conditions": ...,
}
parent.paginate(**kwargs)
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)
- client: ResilienceHubClient
- paginator: ListResourceGroupingRecommendationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListResourceGroupingRecommendationsRequestPaginateTypeDef = { # (1)
"appArn": ...,
}
parent.paginate(**kwargs)