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: ListAppAssessmentResourceDriftsRequestListAppAssessmentResourceDriftsPaginateTypeDef = { # (1)
"assessmentArn": ...,
}
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: ListResourceGroupingRecommendationsRequestListResourceGroupingRecommendationsPaginateTypeDef = { # (1)
"appArn": ...,
}
parent.paginate(**kwargs)