Paginators#
Index > CodeGuruReviewer > Paginators
Auto-generated documentation for CodeGuruReviewer type annotations stubs module mypy-boto3-codeguru-reviewer.
ListRepositoryAssociationsPaginator#
Type annotations and code completion for boto3.client("codeguru-reviewer").get_paginator("list_repository_associations")
.
boto3 documentation
# ListRepositoryAssociationsPaginator usage example
from boto3.session import Session
from mypy_boto3_codeguru_reviewer.paginator import ListRepositoryAssociationsPaginator
def get_list_repository_associations_paginator() -> ListRepositoryAssociationsPaginator:
return Session().client("codeguru-reviewer").get_paginator("list_repository_associations")
# ListRepositoryAssociationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codeguru_reviewer.paginator import ListRepositoryAssociationsPaginator
session = Session()
client = Session().client("codeguru-reviewer") # (1)
paginator: ListRepositoryAssociationsPaginator = client.get_paginator("list_repository_associations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeGuruReviewerClient
- paginator: ListRepositoryAssociationsPaginator
- item: ListRepositoryAssociationsResponseTypeDef
paginate#
Type annotations and code completion for ListRepositoryAssociationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ProviderTypes: Sequence[ProviderTypeType] = ..., # (1)
States: Sequence[RepositoryAssociationStateType] = ..., # (2)
Names: Sequence[str] = ...,
Owners: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> PageIterator[ListRepositoryAssociationsResponseTypeDef]: # (4)
...
- See ProviderTypeType
- See RepositoryAssociationStateType
- See PaginatorConfigTypeDef
- See ListRepositoryAssociationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListRepositoryAssociationsRequestPaginateTypeDef = { # (1)
"ProviderTypes": ...,
}
parent.paginate(**kwargs)