Skip to content

Paginators#

Index > ECRPublic > Paginators

Auto-generated documentation for ECRPublic type annotations stubs module mypy-boto3-ecr-public.

DescribeImageTagsPaginator#

Type annotations and code completion for boto3.client("ecr-public").get_paginator("describe_image_tags"). boto3 documentation

# DescribeImageTagsPaginator usage example

from boto3.session import Session

from mypy_boto3_ecr_public.paginator import DescribeImageTagsPaginator

def get_describe_image_tags_paginator() -> DescribeImageTagsPaginator:
    return Session().client("ecr-public").get_paginator("describe_image_tags")
# DescribeImageTagsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ecr_public.paginator import DescribeImageTagsPaginator

session = Session()

client = Session().client("ecr-public")  # (1)
paginator: DescribeImageTagsPaginator = client.get_paginator("describe_image_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRPublicClient
  2. paginator: DescribeImageTagsPaginator
  3. item: DescribeImageTagsResponseTypeDef

paginate#

Type annotations and code completion for DescribeImageTagsPaginator.paginate method.

# paginate method definition

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

kwargs: DescribeImageTagsRequestDescribeImageTagsPaginateTypeDef = {  # (1)
    "repositoryName": ...,
}

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

DescribeImagesPaginator#

Type annotations and code completion for boto3.client("ecr-public").get_paginator("describe_images"). boto3 documentation

# DescribeImagesPaginator usage example

from boto3.session import Session

from mypy_boto3_ecr_public.paginator import DescribeImagesPaginator

def get_describe_images_paginator() -> DescribeImagesPaginator:
    return Session().client("ecr-public").get_paginator("describe_images")
# DescribeImagesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ecr_public.paginator import DescribeImagesPaginator

session = Session()

client = Session().client("ecr-public")  # (1)
paginator: DescribeImagesPaginator = client.get_paginator("describe_images")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRPublicClient
  2. paginator: DescribeImagesPaginator
  3. item: DescribeImagesResponseTypeDef

paginate#

Type annotations and code completion for DescribeImagesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    repositoryName: str,
    registryId: str = ...,
    imageIds: Sequence[ImageIdentifierTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeImagesResponseTypeDef]:  # (3)
    ...
  1. See ImageIdentifierTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeImagesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeImagesRequestDescribeImagesPaginateTypeDef = {  # (1)
    "repositoryName": ...,
}

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

DescribeRegistriesPaginator#

Type annotations and code completion for boto3.client("ecr-public").get_paginator("describe_registries"). boto3 documentation

# DescribeRegistriesPaginator usage example

from boto3.session import Session

from mypy_boto3_ecr_public.paginator import DescribeRegistriesPaginator

def get_describe_registries_paginator() -> DescribeRegistriesPaginator:
    return Session().client("ecr-public").get_paginator("describe_registries")
# DescribeRegistriesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ecr_public.paginator import DescribeRegistriesPaginator

session = Session()

client = Session().client("ecr-public")  # (1)
paginator: DescribeRegistriesPaginator = client.get_paginator("describe_registries")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRPublicClient
  2. paginator: DescribeRegistriesPaginator
  3. item: DescribeRegistriesResponseTypeDef

paginate#

Type annotations and code completion for DescribeRegistriesPaginator.paginate method.

# paginate method definition

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

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

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

DescribeRepositoriesPaginator#

Type annotations and code completion for boto3.client("ecr-public").get_paginator("describe_repositories"). boto3 documentation

# DescribeRepositoriesPaginator usage example

from boto3.session import Session

from mypy_boto3_ecr_public.paginator import DescribeRepositoriesPaginator

def get_describe_repositories_paginator() -> DescribeRepositoriesPaginator:
    return Session().client("ecr-public").get_paginator("describe_repositories")
# DescribeRepositoriesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ecr_public.paginator import DescribeRepositoriesPaginator

session = Session()

client = Session().client("ecr-public")  # (1)
paginator: DescribeRepositoriesPaginator = client.get_paginator("describe_repositories")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRPublicClient
  2. paginator: DescribeRepositoriesPaginator
  3. item: DescribeRepositoriesResponseTypeDef

paginate#

Type annotations and code completion for DescribeRepositoriesPaginator.paginate method.

# paginate method definition

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

kwargs: DescribeRepositoriesRequestDescribeRepositoriesPaginateTypeDef = {  # (1)
    "registryId": ...,
}

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