ECRPublic module#
Index > ECRPublic
Auto-generated documentation for ECRPublic type annotations stubs module mypy-boto3-ecr-public.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and ECRPublic
.
From PyPI with pip#
Install boto3-stubs
for ECRPublic
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[ecr-public]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[ecr-public]'
# standalone installation
python -m pip install mypy-boto3-ecr-public
How to uninstall#
python -m pip uninstall -y mypy-boto3-ecr-public
Usage#
Code samples can be found in Examples.
ECRPublicClient#
Type annotations and code completion for boto3.client("ecr-public")
as ECRPublicClient
boto3 documentation
# ECRPublicClient usage example
from boto3.session import Session
from mypy_boto3_ecr_public.client import ECRPublicClient
def get_client() -> ECRPublicClient:
return Session().client("ecr-public")
Paginators#
Type annotations and code completion for paginators
from boto3.client("ecr-public").get_paginator("...")
.
# 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
- DescribeImagesPaginator
- DescribeRegistriesPaginator
- DescribeRepositoriesPaginator
Literals#
Type annotations for literals used in methods and schema.
# DescribeImageTagsPaginatorName usage example
from mypy_boto3_ecr_public.literals import DescribeImageTagsPaginatorName
def get_value() -> DescribeImageTagsPaginatorName:
return "describe_image_tags"
- DescribeImageTagsPaginatorName
- DescribeImagesPaginatorName
- DescribeRegistriesPaginatorName
- DescribeRepositoriesPaginatorName
- ImageFailureCodeType
- LayerAvailabilityType
- LayerFailureCodeType
- RegistryAliasStatusType
- ECRPublicServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AuthorizationDataTypeDef
- BatchCheckLayerAvailabilityRequestRequestTypeDef
- LayerFailureTypeDef
- LayerTypeDef
- ResponseMetadataTypeDef
- ImageIdentifierTypeDef
- BlobTypeDef
- CompleteLayerUploadRequestRequestTypeDef
- TagTypeDef
- RepositoryCatalogDataTypeDef
- RepositoryTypeDef
- DeleteRepositoryPolicyRequestRequestTypeDef
- DeleteRepositoryRequestRequestTypeDef
- PaginatorConfigTypeDef
- DescribeImageTagsRequestRequestTypeDef
- ImageDetailTypeDef
- DescribeRegistriesRequestRequestTypeDef
- DescribeRepositoriesRequestRequestTypeDef
- RegistryCatalogDataTypeDef
- GetRepositoryCatalogDataRequestRequestTypeDef
- GetRepositoryPolicyRequestRequestTypeDef
- ReferencedImageDetailTypeDef
- InitiateLayerUploadRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- PutImageRequestRequestTypeDef
- PutRegistryCatalogDataRequestRequestTypeDef
- RegistryAliasTypeDef
- SetRepositoryPolicyRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- BatchCheckLayerAvailabilityResponseTypeDef
- CompleteLayerUploadResponseTypeDef
- DeleteRepositoryPolicyResponseTypeDef
- GetAuthorizationTokenResponseTypeDef
- GetRepositoryPolicyResponseTypeDef
- InitiateLayerUploadResponseTypeDef
- SetRepositoryPolicyResponseTypeDef
- UploadLayerPartResponseTypeDef
- BatchDeleteImageRequestRequestTypeDef
- DescribeImagesRequestRequestTypeDef
- ImageFailureTypeDef
- ImageTypeDef
- RepositoryCatalogDataInputTypeDef
- UploadLayerPartRequestRequestTypeDef
- ListTagsForResourceResponseTypeDef
- TagResourceRequestRequestTypeDef
- GetRepositoryCatalogDataResponseTypeDef
- PutRepositoryCatalogDataResponseTypeDef
- CreateRepositoryResponseTypeDef
- DeleteRepositoryResponseTypeDef
- DescribeRepositoriesResponseTypeDef
- DescribeImageTagsRequestDescribeImageTagsPaginateTypeDef
- DescribeImagesRequestDescribeImagesPaginateTypeDef
- DescribeRegistriesRequestDescribeRegistriesPaginateTypeDef
- DescribeRepositoriesRequestDescribeRepositoriesPaginateTypeDef
- DescribeImagesResponseTypeDef
- GetRegistryCatalogDataResponseTypeDef
- PutRegistryCatalogDataResponseTypeDef
- ImageTagDetailTypeDef
- RegistryTypeDef
- BatchDeleteImageResponseTypeDef
- PutImageResponseTypeDef
- CreateRepositoryRequestRequestTypeDef
- PutRepositoryCatalogDataRequestRequestTypeDef
- DescribeImageTagsResponseTypeDef
- DescribeRegistriesResponseTypeDef