Paginators#
Auto-generated documentation for ECR type annotations stubs module mypy-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 mypy_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 mypy_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)
- client: ECRClient
- paginator: DescribeImageScanFindingsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeImageScanFindingsRequestDescribeImageScanFindingsPaginateTypeDef = { # (1)
"repositoryName": ...,
"imageId": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: ECRClient
- 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)
filter: DescribeImagesFilterTypeDef = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[DescribeImagesResponseTypeDef]: # (4)
...
- See ImageIdentifierTypeDef
- See DescribeImagesFilterTypeDef
- See PaginatorConfigTypeDef
- See DescribeImagesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeImagesRequestDescribeImagesPaginateTypeDef = { # (1)
"repositoryName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: ECRClient
- paginator: DescribePullThroughCacheRulesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribePullThroughCacheRulesRequestDescribePullThroughCacheRulesPaginateTypeDef = { # (1)
"registryId": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: ECRClient
- 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: DescribeRepositoriesRequestDescribeRepositoriesPaginateTypeDef = { # (1)
"registryId": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: ECRClient
- paginator: DescribeRepositoryCreationTemplatesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeRepositoryCreationTemplatesRequestDescribeRepositoryCreationTemplatesPaginateTypeDef = { # (1)
"prefixes": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: ECRClient
- paginator: GetLifecyclePolicyPreviewPaginator
- 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)
...
- See ImageIdentifierTypeDef
- See LifecyclePolicyPreviewFilterTypeDef
- See PaginatorConfigTypeDef
- See GetLifecyclePolicyPreviewResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetLifecyclePolicyPreviewRequestGetLifecyclePolicyPreviewPaginateTypeDef = { # (1)
"repositoryName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: ECRClient
- paginator: ListImagesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListImagesRequestListImagesPaginateTypeDef = { # (1)
"repositoryName": ...,
}
parent.paginate(**kwargs)