Skip to content

Paginators#

Index > ECR > Paginators

Auto-generated documentation for ECR type annotations stubs module types-boto3-ecr.

DescribeImageScanFindingsPaginator#

Type annotations and code completion for boto3.client("ecr").get_paginator("describe_image_scan_findings"). boto3 documentation

# DescribeImageScanFindingsPaginator usage example

from boto3.session import Session

from types_boto3_ecr.paginator import DescribeImageScanFindingsPaginator

def get_describe_image_scan_findings_paginator() -> DescribeImageScanFindingsPaginator:
    return Session().client("ecr").get_paginator("describe_image_scan_findings")
# DescribeImageScanFindingsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_ecr.paginator import DescribeImageScanFindingsPaginator

session = Session()

client = Session().client("ecr")  # (1)
paginator: DescribeImageScanFindingsPaginator = client.get_paginator("describe_image_scan_findings")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRClient
  2. paginator: DescribeImageScanFindingsPaginator
  3. item: DescribeImageScanFindingsResponseTypeDef

paginate#

Type annotations and code completion for DescribeImageScanFindingsPaginator.paginate method.

# paginate method definition

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

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

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

DescribeImagesPaginator#

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

# DescribeImagesPaginator usage example

from boto3.session import Session

from types_boto3_ecr.paginator import DescribeImagesPaginator

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

from boto3.session import Session

from types_boto3_ecr.paginator import DescribeImagesPaginator

session = Session()

client = Session().client("ecr")  # (1)
paginator: DescribeImagesPaginator = client.get_paginator("describe_images")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRClient
  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)
    filter: DescribeImagesFilterTypeDef = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[DescribeImagesResponseTypeDef]:  # (4)
    ...
  1. See ImageIdentifierTypeDef
  2. See DescribeImagesFilterTypeDef
  3. See PaginatorConfigTypeDef
  4. See DescribeImagesResponseTypeDef
# paginate method usage example with argument unpacking

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

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

DescribePullThroughCacheRulesPaginator#

Type annotations and code completion for boto3.client("ecr").get_paginator("describe_pull_through_cache_rules"). boto3 documentation

# DescribePullThroughCacheRulesPaginator usage example

from boto3.session import Session

from types_boto3_ecr.paginator import DescribePullThroughCacheRulesPaginator

def get_describe_pull_through_cache_rules_paginator() -> DescribePullThroughCacheRulesPaginator:
    return Session().client("ecr").get_paginator("describe_pull_through_cache_rules")
# DescribePullThroughCacheRulesPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_ecr.paginator import DescribePullThroughCacheRulesPaginator

session = Session()

client = Session().client("ecr")  # (1)
paginator: DescribePullThroughCacheRulesPaginator = client.get_paginator("describe_pull_through_cache_rules")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRClient
  2. paginator: DescribePullThroughCacheRulesPaginator
  3. item: DescribePullThroughCacheRulesResponseTypeDef

paginate#

Type annotations and code completion for DescribePullThroughCacheRulesPaginator.paginate method.

# paginate method definition

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

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

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

DescribeRepositoriesPaginator#

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

# DescribeRepositoriesPaginator usage example

from boto3.session import Session

from types_boto3_ecr.paginator import DescribeRepositoriesPaginator

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

from boto3.session import Session

from types_boto3_ecr.paginator import DescribeRepositoriesPaginator

session = Session()

client = Session().client("ecr")  # (1)
paginator: DescribeRepositoriesPaginator = client.get_paginator("describe_repositories")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRClient
  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: DescribeRepositoriesRequestPaginateTypeDef = {  # (1)
    "registryId": ...,
}

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

DescribeRepositoryCreationTemplatesPaginator#

Type annotations and code completion for boto3.client("ecr").get_paginator("describe_repository_creation_templates"). boto3 documentation

# DescribeRepositoryCreationTemplatesPaginator usage example

from boto3.session import Session

from types_boto3_ecr.paginator import DescribeRepositoryCreationTemplatesPaginator

def get_describe_repository_creation_templates_paginator() -> DescribeRepositoryCreationTemplatesPaginator:
    return Session().client("ecr").get_paginator("describe_repository_creation_templates")
# DescribeRepositoryCreationTemplatesPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_ecr.paginator import DescribeRepositoryCreationTemplatesPaginator

session = Session()

client = Session().client("ecr")  # (1)
paginator: DescribeRepositoryCreationTemplatesPaginator = client.get_paginator("describe_repository_creation_templates")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRClient
  2. paginator: DescribeRepositoryCreationTemplatesPaginator
  3. item: DescribeRepositoryCreationTemplatesResponseTypeDef

paginate#

Type annotations and code completion for DescribeRepositoryCreationTemplatesPaginator.paginate method.

# paginate method definition

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

kwargs: DescribeRepositoryCreationTemplatesRequestPaginateTypeDef = {  # (1)
    "prefixes": ...,
}

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

GetLifecyclePolicyPreviewPaginator#

Type annotations and code completion for boto3.client("ecr").get_paginator("get_lifecycle_policy_preview"). boto3 documentation

# GetLifecyclePolicyPreviewPaginator usage example

from boto3.session import Session

from types_boto3_ecr.paginator import GetLifecyclePolicyPreviewPaginator

def get_get_lifecycle_policy_preview_paginator() -> GetLifecyclePolicyPreviewPaginator:
    return Session().client("ecr").get_paginator("get_lifecycle_policy_preview")
# GetLifecyclePolicyPreviewPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_ecr.paginator import GetLifecyclePolicyPreviewPaginator

session = Session()

client = Session().client("ecr")  # (1)
paginator: GetLifecyclePolicyPreviewPaginator = client.get_paginator("get_lifecycle_policy_preview")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRClient
  2. paginator: GetLifecyclePolicyPreviewPaginator
  3. item: GetLifecyclePolicyPreviewResponseTypeDef

paginate#

Type annotations and code completion for GetLifecyclePolicyPreviewPaginator.paginate method.

# paginate method definition

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

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

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

ListImagesPaginator#

Type annotations and code completion for boto3.client("ecr").get_paginator("list_images"). boto3 documentation

# ListImagesPaginator usage example

from boto3.session import Session

from types_boto3_ecr.paginator import ListImagesPaginator

def get_list_images_paginator() -> ListImagesPaginator:
    return Session().client("ecr").get_paginator("list_images")
# ListImagesPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_ecr.paginator import ListImagesPaginator

session = Session()

client = Session().client("ecr")  # (1)
paginator: ListImagesPaginator = client.get_paginator("list_images")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ECRClient
  2. paginator: ListImagesPaginator
  3. item: ListImagesResponseTypeDef

paginate#

Type annotations and code completion for ListImagesPaginator.paginate method.

# paginate method definition

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

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

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