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"). boto3 documentation

# ListPackageVersionAssetsPaginator usage example

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListPackageVersionAssetsPaginator

def get_list_package_version_assets_paginator() -> ListPackageVersionAssetsPaginator:
    return Session().client("codeartifact").get_paginator("list_package_version_assets")
# ListPackageVersionAssetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListPackageVersionAssetsPaginator

session = Session()

client = Session().client("codeartifact")  # (1)
paginator: ListPackageVersionAssetsPaginator = client.get_paginator("list_package_version_assets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CodeArtifactClient
  2. paginator: ListPackageVersionAssetsPaginator
  3. item: ListPackageVersionAssetsResultTypeDef

paginate#

Type annotations and code completion for ListPackageVersionAssetsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    packageVersion: str,
    domainOwner: str = ...,
    namespace: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListPackageVersionAssetsResultTypeDef]:  # (3)
    ...
  1. See PackageFormatType
  2. See PaginatorConfigTypeDef
  3. See ListPackageVersionAssetsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPackageVersionAssetsRequestListPackageVersionAssetsPaginateTypeDef = {  # (1)
    "domain": ...,
    "repository": ...,
    "format": ...,
    "package": ...,
    "packageVersion": ...,
}

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

ListPackageVersionsPaginator#

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

# ListPackageVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListPackageVersionsPaginator

def get_list_package_versions_paginator() -> ListPackageVersionsPaginator:
    return Session().client("codeartifact").get_paginator("list_package_versions")
# ListPackageVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListPackageVersionsPaginator

session = Session()

client = Session().client("codeartifact")  # (1)
paginator: ListPackageVersionsPaginator = client.get_paginator("list_package_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CodeArtifactClient
  2. paginator: ListPackageVersionsPaginator
  3. item: ListPackageVersionsResultTypeDef

paginate#

Type annotations and code completion for ListPackageVersionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    domain: str,
    repository: str,
    format: PackageFormatType,  # (1)
    package: str,
    domainOwner: str = ...,
    namespace: str = ...,
    status: PackageVersionStatusType = ...,  # (2)
    sortBy: PackageVersionSortTypeType = ...,  # (3)
    originType: PackageVersionOriginTypeType = ...,  # (4)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (5)
) -> _PageIterator[ListPackageVersionsResultTypeDef]:  # (6)
    ...
  1. See PackageFormatType
  2. See PackageVersionStatusType
  3. See PackageVersionSortTypeType
  4. See PackageVersionOriginTypeType
  5. See PaginatorConfigTypeDef
  6. See ListPackageVersionsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPackageVersionsRequestListPackageVersionsPaginateTypeDef = {  # (1)
    "domain": ...,
    "repository": ...,
    "format": ...,
    "package": ...,
}

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

ListPackagesPaginator#

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

# ListPackagesPaginator usage example

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListPackagesPaginator

def get_list_packages_paginator() -> ListPackagesPaginator:
    return Session().client("codeartifact").get_paginator("list_packages")
# ListPackagesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListPackagesPaginator

session = Session()

client = Session().client("codeartifact")  # (1)
paginator: ListPackagesPaginator = client.get_paginator("list_packages")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CodeArtifactClient
  2. paginator: ListPackagesPaginator
  3. item: ListPackagesResultTypeDef

paginate#

Type annotations and code completion for ListPackagesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    domain: str,
    repository: str,
    domainOwner: str = ...,
    format: PackageFormatType = ...,  # (1)
    namespace: str = ...,
    packagePrefix: str = ...,
    publish: AllowPublishType = ...,  # (2)
    upstream: AllowUpstreamType = ...,  # (3)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> _PageIterator[ListPackagesResultTypeDef]:  # (5)
    ...
  1. See PackageFormatType
  2. See AllowPublishType
  3. See AllowUpstreamType
  4. See PaginatorConfigTypeDef
  5. See ListPackagesResultTypeDef
# paginate method usage example with argument unpacking

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

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

ListRepositoriesPaginator#

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

# ListRepositoriesPaginator usage example

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListRepositoriesPaginator

def get_list_repositories_paginator() -> ListRepositoriesPaginator:
    return Session().client("codeartifact").get_paginator("list_repositories")
# ListRepositoriesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListRepositoriesPaginator

session = Session()

client = Session().client("codeartifact")  # (1)
paginator: ListRepositoriesPaginator = client.get_paginator("list_repositories")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CodeArtifactClient
  2. paginator: ListRepositoriesPaginator
  3. item: ListRepositoriesResultTypeDef

paginate#

Type annotations and code completion for ListRepositoriesPaginator.paginate method.

# paginate method definition

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

kwargs: ListRepositoriesRequestListRepositoriesPaginateTypeDef = {  # (1)
    "repositoryPrefix": ...,
}

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

ListRepositoriesInDomainPaginator#

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

# ListRepositoriesInDomainPaginator usage example

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListRepositoriesInDomainPaginator

def get_list_repositories_in_domain_paginator() -> ListRepositoriesInDomainPaginator:
    return Session().client("codeartifact").get_paginator("list_repositories_in_domain")
# ListRepositoriesInDomainPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListRepositoriesInDomainPaginator

session = Session()

client = Session().client("codeartifact")  # (1)
paginator: ListRepositoriesInDomainPaginator = client.get_paginator("list_repositories_in_domain")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CodeArtifactClient
  2. paginator: ListRepositoriesInDomainPaginator
  3. item: ListRepositoriesInDomainResultTypeDef

paginate#

Type annotations and code completion for ListRepositoriesInDomainPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    domain: str,
    domainOwner: str = ...,
    administratorAccount: str = ...,
    repositoryPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListRepositoriesInDomainResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListRepositoriesInDomainResultTypeDef
# paginate method usage example with argument unpacking

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

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

ListSubPackageGroupsPaginator#

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

# ListSubPackageGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListSubPackageGroupsPaginator

def get_list_sub_package_groups_paginator() -> ListSubPackageGroupsPaginator:
    return Session().client("codeartifact").get_paginator("list_sub_package_groups")
# ListSubPackageGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_codeartifact.paginator import ListSubPackageGroupsPaginator

session = Session()

client = Session().client("codeartifact")  # (1)
paginator: ListSubPackageGroupsPaginator = client.get_paginator("list_sub_package_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CodeArtifactClient
  2. paginator: ListSubPackageGroupsPaginator
  3. item: ListSubPackageGroupsResultTypeDef

paginate#

Type annotations and code completion for ListSubPackageGroupsPaginator.paginate method.

# paginate method definition

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

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

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