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)
- client: ECRPublicClient
- paginator: DescribeImageTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeImageTagsRequestPaginateTypeDef = { # (1)
"repositoryName": ...,
}
parent.paginate(**kwargs)
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)
- client: ECRPublicClient
- paginator: DescribeImagesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeImagesRequestPaginateTypeDef = { # (1)
"repositoryName": ...,
}
parent.paginate(**kwargs)
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)
- client: ECRPublicClient
- paginator: DescribeRegistriesPaginator
- item: DescribeRegistriesResponseTypeDef
paginate#
Type annotations and code completion for DescribeRegistriesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[DescribeRegistriesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeRegistriesRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: ECRPublicClient
- paginator: DescribeRepositoriesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeRepositoriesRequestPaginateTypeDef = { # (1)
"registryId": ...,
}
parent.paginate(**kwargs)