Paginators#
Index > CodeArtifact > Paginators
Auto-generated documentation for CodeArtifact type annotations stubs module mypy-boto3-codeartifact.
ListAllowedRepositoriesForGroupPaginator#
Type annotations and code completion for boto3.client("codeartifact").get_paginator("list_allowed_repositories_for_group")
.
boto3 documentation
# ListAllowedRepositoriesForGroupPaginator usage example
from boto3.session import Session
from mypy_boto3_codeartifact.paginator import ListAllowedRepositoriesForGroupPaginator
def get_list_allowed_repositories_for_group_paginator() -> ListAllowedRepositoriesForGroupPaginator:
return Session().client("codeartifact").get_paginator("list_allowed_repositories_for_group")
# ListAllowedRepositoriesForGroupPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codeartifact.paginator import ListAllowedRepositoriesForGroupPaginator
session = Session()
client = Session().client("codeartifact") # (1)
paginator: ListAllowedRepositoriesForGroupPaginator = client.get_paginator("list_allowed_repositories_for_group") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeArtifactClient
- paginator: ListAllowedRepositoriesForGroupPaginator
- item: ListAllowedRepositoriesForGroupResultTypeDef
paginate#
Type annotations and code completion for ListAllowedRepositoriesForGroupPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
domain: str,
packageGroup: str,
originRestrictionType: PackageGroupOriginRestrictionTypeType, # (1)
domainOwner: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListAllowedRepositoriesForGroupResultTypeDef]: # (3)
...
- See PackageGroupOriginRestrictionTypeType
- See PaginatorConfigTypeDef
- See ListAllowedRepositoriesForGroupResultTypeDef
# paginate method usage example with argument unpacking
kwargs: ListAllowedRepositoriesForGroupRequestListAllowedRepositoriesForGroupPaginateTypeDef = { # (1)
"domain": ...,
"packageGroup": ...,
"originRestrictionType": ...,
}
parent.paginate(**kwargs)
ListAssociatedPackagesPaginator#
Type annotations and code completion for boto3.client("codeartifact").get_paginator("list_associated_packages")
.
boto3 documentation
# ListAssociatedPackagesPaginator usage example
from boto3.session import Session
from mypy_boto3_codeartifact.paginator import ListAssociatedPackagesPaginator
def get_list_associated_packages_paginator() -> ListAssociatedPackagesPaginator:
return Session().client("codeartifact").get_paginator("list_associated_packages")
# ListAssociatedPackagesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codeartifact.paginator import ListAssociatedPackagesPaginator
session = Session()
client = Session().client("codeartifact") # (1)
paginator: ListAssociatedPackagesPaginator = client.get_paginator("list_associated_packages") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeArtifactClient
- paginator: ListAssociatedPackagesPaginator
- item: ListAssociatedPackagesResultTypeDef
paginate#
Type annotations and code completion for ListAssociatedPackagesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
domain: str,
packageGroup: str,
domainOwner: str = ...,
preview: bool = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListAssociatedPackagesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAssociatedPackagesRequestListAssociatedPackagesPaginateTypeDef = { # (1)
"domain": ...,
"packageGroup": ...,
}
parent.paginate(**kwargs)
ListDomainsPaginator#
Type annotations and code completion for boto3.client("codeartifact").get_paginator("list_domains")
.
boto3 documentation
# ListDomainsPaginator usage example
from boto3.session import Session
from mypy_boto3_codeartifact.paginator import ListDomainsPaginator
def get_list_domains_paginator() -> ListDomainsPaginator:
return Session().client("codeartifact").get_paginator("list_domains")
# ListDomainsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codeartifact.paginator import ListDomainsPaginator
session = Session()
client = Session().client("codeartifact") # (1)
paginator: ListDomainsPaginator = client.get_paginator("list_domains") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeArtifactClient
- paginator: ListDomainsPaginator
- item: ListDomainsResultTypeDef
paginate#
Type annotations and code completion for ListDomainsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListDomainsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDomainsRequestListDomainsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListPackageGroupsPaginator#
Type annotations and code completion for boto3.client("codeartifact").get_paginator("list_package_groups")
.
boto3 documentation
# ListPackageGroupsPaginator usage example
from boto3.session import Session
from mypy_boto3_codeartifact.paginator import ListPackageGroupsPaginator
def get_list_package_groups_paginator() -> ListPackageGroupsPaginator:
return Session().client("codeartifact").get_paginator("list_package_groups")
# ListPackageGroupsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_codeartifact.paginator import ListPackageGroupsPaginator
session = Session()
client = Session().client("codeartifact") # (1)
paginator: ListPackageGroupsPaginator = client.get_paginator("list_package_groups") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeArtifactClient
- paginator: ListPackageGroupsPaginator
- item: ListPackageGroupsResultTypeDef
paginate#
Type annotations and code completion for ListPackageGroupsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
domain: str,
domainOwner: str = ...,
prefix: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListPackageGroupsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListPackageGroupsRequestListPackageGroupsPaginateTypeDef = { # (1)
"domain": ...,
}
parent.paginate(**kwargs)
ListPackageVersionAssetsPaginator#
Type annotations and code completion for boto3.client("codeartifact").get_paginator("list_package_version_assets")
.