Module aws_sdk_ecr::error
source · [−]Expand description
Errors that can occur when calling the service.
Modules
Structs
BatchCheckLayerAvailability
operation.BatchDeleteImage
operation.BatchGetImage
operation.BatchGetRepositoryScanningConfiguration
operation.CompleteLayerUpload
operation.CreatePullThroughCacheRule
operation.CreateRepository
operation.DeleteLifecyclePolicy
operation.DeletePullThroughCacheRule
operation.DeleteRegistryPolicy
operation.DeleteRepository
operation.DeleteRepositoryPolicy
operation.DescribeImageReplicationStatus
operation.DescribeImageScanFindings
operation.DescribeImages
operation.DescribePullThroughCacheRules
operation.DescribeRegistry
operation.DescribeRepositories
operation.The specified layer upload does not contain any layer parts.
GetAuthorizationToken
operation.GetDownloadUrlForLayer
operation.GetLifecyclePolicy
operation.GetLifecyclePolicyPreview
operation.GetRegistryPolicy
operation.GetRegistryScanningConfiguration
operation.GetRepositoryPolicy
operation.The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.
The specified image digest does not match the digest that Amazon ECR calculated for the image.
The image requested does not exist in the specified repository.
The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.
InitiateLayerUpload
operation.The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
The specified parameter is invalid. Review the available parameters for the API request.
An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
The operation failed due to a KMS exception.
The image layer already exists in the associated repository.
The specified layer is not available because it is not associated with an image. Unassociated image layers may be cleaned up at any time.
Layer parts must be at least 5 MiB in size.
The specified layers could not be found, or the specified layer is not valid for this repository.
The lifecycle policy could not be found, and no policy is set to the repository.
The previous lifecycle policy preview request has not completed. Wait and try again.
There is no dry run for this repository.
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR service quotas in the Amazon Elastic Container Registry User Guide.
ListImages
operation.ListTagsForResource
operation.A pull through cache rule with these settings already exists for the private registry.
The pull through cache rule was not found. Specify a valid pull through cache rule and try again.
PutImage
operation.PutImageScanningConfiguration
operation.PutImageTagMutability
operation.PutLifecyclePolicy
operation.PutRegistryPolicy
operation.PutRegistryScanningConfiguration
operation.PutReplicationConfiguration
operation.The manifest list is referencing an image that does not exist.
The registry doesn't have an associated registry policy.
The specified repository already exists in the specified registry.
The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force
parameter.
The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
The specified repository and registry combination does not have an associated repository policy.
The specified image scan could not be found. Ensure that image scanning is enabled on the repository and try again.
These errors are usually caused by a server-side issue.
SetRepositoryPolicy
operation.StartImageScan
operation.StartLifecyclePolicyPreview
operation.TagResource
operation.The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.
The image is of a type that cannot be scanned.
The specified upstream registry isn't supported.
UntagResource
operation.UploadLayerPart
operation.The upload could not be found, or the specified upload ID is not valid for this repository.
There was an exception validating this request.
Enums
BatchCheckLayerAvailability
operation.BatchDeleteImage
operation.BatchGetImage
operation.BatchGetRepositoryScanningConfiguration
operation.CompleteLayerUpload
operation.CreatePullThroughCacheRule
operation.CreateRepository
operation.DeleteLifecyclePolicy
operation.DeletePullThroughCacheRule
operation.DeleteRegistryPolicy
operation.DeleteRepository
operation.DeleteRepositoryPolicy
operation.DescribeImageReplicationStatus
operation.DescribeImageScanFindings
operation.DescribeImages
operation.DescribePullThroughCacheRules
operation.DescribeRegistry
operation.DescribeRepositories
operation.GetAuthorizationToken
operation.GetDownloadUrlForLayer
operation.GetLifecyclePolicy
operation.GetLifecyclePolicyPreview
operation.GetRegistryPolicy
operation.GetRegistryScanningConfiguration
operation.GetRepositoryPolicy
operation.InitiateLayerUpload
operation.ListImages
operation.ListTagsForResource
operation.PutImage
operation.PutImageScanningConfiguration
operation.PutImageTagMutability
operation.PutLifecyclePolicy
operation.PutRegistryPolicy
operation.PutRegistryScanningConfiguration
operation.PutReplicationConfiguration
operation.SetRepositoryPolicy
operation.StartImageScan
operation.StartLifecyclePolicyPreview
operation.TagResource
operation.UntagResource
operation.UploadLayerPart
operation.