ECRPublic#
Client#
- class ECRPublic.Client#
A low-level client representing Amazon Elastic Container Registry Public (ECR Public)
Amazon Elastic Container Registry Public (Amazon ECR Public) is a managed container image registry service. Amazon ECR provides both public and private registries to host your container images. You can use the Docker CLI or your preferred client to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI) images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR API for private repositories, see Amazon Elastic Container Registry API Reference.
import boto3 client = boto3.client('ecr-public')
These are the available methods:
- batch_check_layer_availability
- batch_delete_image
- can_paginate
- close
- complete_layer_upload
- create_repository
- delete_repository
- delete_repository_policy
- describe_image_tags
- describe_images
- describe_registries
- describe_repositories
- get_authorization_token
- get_paginator
- get_registry_catalog_data
- get_repository_catalog_data
- get_repository_policy
- get_waiter
- initiate_layer_upload
- list_tags_for_resource
- put_image
- put_registry_catalog_data
- put_repository_catalog_data
- set_repository_policy
- tag_resource
- untag_resource
- upload_layer_part
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- EmptyUploadException
- ImageAlreadyExistsException
- ImageDigestDoesNotMatchException
- ImageNotFoundException
- ImageTagAlreadyExistsException
- InvalidLayerException
- InvalidLayerPartException
- InvalidParameterException
- InvalidTagParameterException
- LayerAlreadyExistsException
- LayerPartTooSmallException
- LayersNotFoundException
- LimitExceededException
- ReferencedImagesNotFoundException
- RegistryNotFoundException
- RepositoryAlreadyExistsException
- RepositoryCatalogDataNotFoundException
- RepositoryNotEmptyException
- RepositoryNotFoundException
- RepositoryPolicyNotFoundException
- ServerException
- TooManyTagsException
- UnsupportedCommandException
- UploadNotFoundException
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are: