Skip to content

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)
  1. client: CodeGuruReviewerClient
  2. paginator: ListRepositoryAssociationsPaginator
  3. 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)
    ...
  1. See ProviderTypeType
  2. See RepositoryAssociationStateType
  3. See PaginatorConfigTypeDef
  4. See ListRepositoryAssociationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListRepositoryAssociationsRequestPaginateTypeDef = {  # (1)
    "ProviderTypes": ...,
}

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