ECR#
Client#
- class ECR.Client#
A low-level client representing Amazon Elastic Container Registry (ECR)
Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the familiar Docker CLI, or their 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 private repositories with resource-based permissions using IAM so that specific users or Amazon EC2 instances can access repositories and images.
Amazon ECR has service endpoints in each supported Region. For more information, see Amazon ECR endpoints in the Amazon Web Services General Reference.
client = session.create_client('ecr')
These are the available methods:
- batch_check_layer_availability
- batch_delete_image
- batch_get_image
- batch_get_repository_scanning_configuration
- can_paginate
- close
- complete_layer_upload
- create_pull_through_cache_rule
- create_repository
- create_repository_creation_template
- delete_lifecycle_policy
- delete_pull_through_cache_rule
- delete_registry_policy
- delete_repository
- delete_repository_creation_template
- delete_repository_policy
- describe_image_replication_status
- describe_image_scan_findings
- describe_images
- describe_pull_through_cache_rules
- describe_registry
- describe_repositories
- describe_repository_creation_templates
- get_account_setting
- get_authorization_token
- get_download_url_for_layer
- get_lifecycle_policy
- get_lifecycle_policy_preview
- get_paginator
- get_registry_policy
- get_registry_scanning_configuration
- get_repository_policy
- get_waiter
- initiate_layer_upload
- list_images
- list_tags_for_resource
- put_account_setting
- put_image
- put_image_scanning_configuration
- put_image_tag_mutability
- put_lifecycle_policy
- put_registry_policy
- put_registry_scanning_configuration
- put_replication_configuration
- set_repository_policy
- start_image_scan
- start_lifecycle_policy_preview
- tag_resource
- untag_resource
- update_pull_through_cache_rule
- update_repository_creation_template
- upload_layer_part
- validate_pull_through_cache_rule
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
- KmsException
- LayerAlreadyExistsException
- LayerInaccessibleException
- LayerPartTooSmallException
- LayersNotFoundException
- LifecyclePolicyNotFoundException
- LifecyclePolicyPreviewInProgressException
- LifecyclePolicyPreviewNotFoundException
- LimitExceededException
- PullThroughCacheRuleAlreadyExistsException
- PullThroughCacheRuleNotFoundException
- ReferencedImagesNotFoundException
- RegistryPolicyNotFoundException
- RepositoryAlreadyExistsException
- RepositoryNotEmptyException
- RepositoryNotFoundException
- RepositoryPolicyNotFoundException
- ScanNotFoundException
- SecretNotFoundException
- ServerException
- TemplateAlreadyExistsException
- TemplateNotFoundException
- TooManyTagsException
- UnableToAccessSecretException
- UnableToDecryptSecretValueException
- UnableToGetUpstreamImageException
- UnableToGetUpstreamLayerException
- UnsupportedImageTypeException
- UnsupportedUpstreamRegistryException
- UploadNotFoundException
- ValidationException
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:
Waiters#
Waiters are available on a client instance via the get_waiter
method. For more detailed instructions and examples on the usage or waiters, see the waiters user guide.
The available waiters are: