Paginators#
Index > CodeCommit > Paginators
Auto-generated documentation for CodeCommit type annotations stubs module mypy-boto3-codecommit.
DescribePullRequestEventsPaginator#
Type annotations and code completion for boto3.client("codecommit").get_paginator("describe_pull_request_events")
.
boto3 documentation
# DescribePullRequestEventsPaginator usage example
from boto3.session import Session
from mypy_boto3_codecommit.paginator import DescribePullRequestEventsPaginator
def get_describe_pull_request_events_paginator() -> DescribePullRequestEventsPaginator:
return Session().client("codecommit").get_paginator("describe_pull_request_events")
# DescribePullRequestEventsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codecommit.paginator import DescribePullRequestEventsPaginator
session = Session()
client = Session().client("codecommit") # (1)
paginator: DescribePullRequestEventsPaginator = client.get_paginator("describe_pull_request_events") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeCommitClient
- paginator: DescribePullRequestEventsPaginator
- item: DescribePullRequestEventsOutputTypeDef
paginate#
Type annotations and code completion for DescribePullRequestEventsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
pullRequestId: str,
pullRequestEventType: PullRequestEventTypeType = ..., # (1)
actorArn: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[DescribePullRequestEventsOutputTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: DescribePullRequestEventsInputDescribePullRequestEventsPaginateTypeDef = { # (1)
"pullRequestId": ...,
}
parent.paginate(**kwargs)
GetCommentsForComparedCommitPaginator#
Type annotations and code completion for boto3.client("codecommit").get_paginator("get_comments_for_compared_commit")
.
boto3 documentation
# GetCommentsForComparedCommitPaginator usage example
from boto3.session import Session
from mypy_boto3_codecommit.paginator import GetCommentsForComparedCommitPaginator
def get_get_comments_for_compared_commit_paginator() -> GetCommentsForComparedCommitPaginator:
return Session().client("codecommit").get_paginator("get_comments_for_compared_commit")
# GetCommentsForComparedCommitPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codecommit.paginator import GetCommentsForComparedCommitPaginator
session = Session()
client = Session().client("codecommit") # (1)
paginator: GetCommentsForComparedCommitPaginator = client.get_paginator("get_comments_for_compared_commit") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeCommitClient
- paginator: GetCommentsForComparedCommitPaginator
- item: GetCommentsForComparedCommitOutputTypeDef
paginate#
Type annotations and code completion for GetCommentsForComparedCommitPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
repositoryName: str,
afterCommitId: str,
beforeCommitId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetCommentsForComparedCommitOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetCommentsForComparedCommitInputGetCommentsForComparedCommitPaginateTypeDef = { # (1)
"repositoryName": ...,
"afterCommitId": ...,
}
parent.paginate(**kwargs)
GetCommentsForPullRequestPaginator#
Type annotations and code completion for boto3.client("codecommit").get_paginator("get_comments_for_pull_request")
.
boto3 documentation
# GetCommentsForPullRequestPaginator usage example
from boto3.session import Session
from mypy_boto3_codecommit.paginator import GetCommentsForPullRequestPaginator
def get_get_comments_for_pull_request_paginator() -> GetCommentsForPullRequestPaginator:
return Session().client("codecommit").get_paginator("get_comments_for_pull_request")
# GetCommentsForPullRequestPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codecommit.paginator import GetCommentsForPullRequestPaginator
session = Session()
client = Session().client("codecommit") # (1)
paginator: GetCommentsForPullRequestPaginator = client.get_paginator("get_comments_for_pull_request") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeCommitClient
- paginator: GetCommentsForPullRequestPaginator
- item: GetCommentsForPullRequestOutputTypeDef
paginate#
Type annotations and code completion for GetCommentsForPullRequestPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
pullRequestId: str,
repositoryName: str = ...,
beforeCommitId: str = ...,
afterCommitId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetCommentsForPullRequestOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetCommentsForPullRequestInputGetCommentsForPullRequestPaginateTypeDef = { # (1)
"pullRequestId": ...,
}
parent.paginate(**kwargs)
GetDifferencesPaginator#
Type annotations and code completion for boto3.client("codecommit").get_paginator("get_differences")
.
boto3 documentation
# GetDifferencesPaginator usage example
from boto3.session import Session
from mypy_boto3_codecommit.paginator import GetDifferencesPaginator
def get_get_differences_paginator() -> GetDifferencesPaginator:
return Session().client("codecommit").get_paginator("get_differences")
# GetDifferencesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codecommit.paginator import GetDifferencesPaginator
session = Session()
client = Session().client("codecommit") # (1)
paginator: GetDifferencesPaginator = client.get_paginator("get_differences") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeCommitClient
- paginator: GetDifferencesPaginator
- item: GetDifferencesOutputTypeDef
paginate#
Type annotations and code completion for GetDifferencesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
repositoryName: str,
afterCommitSpecifier: str,
beforeCommitSpecifier: str = ...,
beforePath: str = ...,
afterPath: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetDifferencesOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetDifferencesInputGetDifferencesPaginateTypeDef = { # (1)
"repositoryName": ...,
"afterCommitSpecifier": ...,
}
parent.paginate(**kwargs)
ListBranchesPaginator#
Type annotations and code completion for boto3.client("codecommit").get_paginator("list_branches")
.
boto3 documentation
# ListBranchesPaginator usage example
from boto3.session import Session
from mypy_boto3_codecommit.paginator import ListBranchesPaginator
def get_list_branches_paginator() -> ListBranchesPaginator:
return Session().client("codecommit").get_paginator("list_branches")
# ListBranchesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codecommit.paginator import ListBranchesPaginator
session = Session()
client = Session().client("codecommit") # (1)
paginator: ListBranchesPaginator = client.get_paginator("list_branches") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeCommitClient
- paginator: ListBranchesPaginator
- item: ListBranchesOutputTypeDef
paginate#
Type annotations and code completion for ListBranchesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
repositoryName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListBranchesOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListBranchesInputListBranchesPaginateTypeDef = { # (1)
"repositoryName": ...,
}
parent.paginate(**kwargs)
ListPullRequestsPaginator#
Type annotations and code completion for boto3.client("codecommit").get_paginator("list_pull_requests")
.
boto3 documentation
# ListPullRequestsPaginator usage example
from boto3.session import Session
from mypy_boto3_codecommit.paginator import ListPullRequestsPaginator
def get_list_pull_requests_paginator() -> ListPullRequestsPaginator:
return Session().client("codecommit").get_paginator("list_pull_requests")
# ListPullRequestsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codecommit.paginator import ListPullRequestsPaginator
session = Session()
client = Session().client("codecommit") # (1)
paginator: ListPullRequestsPaginator = client.get_paginator("list_pull_requests") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeCommitClient
- paginator: ListPullRequestsPaginator
- item: ListPullRequestsOutputTypeDef
paginate#
Type annotations and code completion for ListPullRequestsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
repositoryName: str,
authorArn: str = ...,
pullRequestStatus: PullRequestStatusEnumType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListPullRequestsOutputTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListPullRequestsInputListPullRequestsPaginateTypeDef = { # (1)
"repositoryName": ...,
}
parent.paginate(**kwargs)
ListRepositoriesPaginator#
Type annotations and code completion for boto3.client("codecommit").get_paginator("list_repositories")
.
boto3 documentation
# ListRepositoriesPaginator usage example
from boto3.session import Session
from mypy_boto3_codecommit.paginator import ListRepositoriesPaginator
def get_list_repositories_paginator() -> ListRepositoriesPaginator:
return Session().client("codecommit").get_paginator("list_repositories")
# ListRepositoriesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codecommit.paginator import ListRepositoriesPaginator
session = Session()
client = Session().client("codecommit") # (1)
paginator: ListRepositoriesPaginator = client.get_paginator("list_repositories") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeCommitClient
- paginator: ListRepositoriesPaginator
- item: ListRepositoriesOutputTypeDef
paginate#
Type annotations and code completion for ListRepositoriesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
sortBy: SortByEnumType = ..., # (1)
order: OrderEnumType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[ListRepositoriesOutputTypeDef]: # (4)
...
# paginate method usage example with argument unpacking
kwargs: ListRepositoriesInputListRepositoriesPaginateTypeDef = { # (1)
"sortBy": ...,
}
parent.paginate(**kwargs)