Skip to content

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)
  1. client: CodeArtifactClient
  2. paginator: ListAllowedRepositoriesForGroupPaginator
  3. 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)
    ...
  1. See PackageGroupOriginRestrictionTypeType
  2. See PaginatorConfigTypeDef
  3. See ListAllowedRepositoriesForGroupResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAllowedRepositoriesForGroupRequestListAllowedRepositoriesForGroupPaginateTypeDef = {  # (1)
    "domain": ...,
    "packageGroup": ...,
    "originRestrictionType": ...,
}

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

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)
  1. client: CodeArtifactClient
  2. paginator: ListAssociatedPackagesPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAssociatedPackagesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAssociatedPackagesRequestListAssociatedPackagesPaginateTypeDef = {  # (1)
    "domain": ...,
    "packageGroup": ...,
}

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

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)
  1. client: CodeArtifactClient
  2. paginator: ListDomainsPaginator
  3. item: ListDomainsResultTypeDef

paginate#

Type annotations and code completion for ListDomainsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListDomainsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListDomainsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListDomainsRequestListDomainsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

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)
  1. client: CodeArtifactClient
  2. paginator: ListPackageGroupsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListPackageGroupsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPackageGroupsRequestListPackageGroupsPaginateTypeDef = {  # (1)
    "domain": ...,
}

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

ListPackageVersionAssetsPaginator#

Type annotations and code completion for boto3.client("codeartifact").get_paginator("list_package_version_assets").