Enum aws_sdk_ecrpublic::error::PutImageErrorKind[][src]

#[non_exhaustive]
pub enum PutImageErrorKind {
    ImageAlreadyExistsException(ImageAlreadyExistsException),
    ImageDigestDoesNotMatchException(ImageDigestDoesNotMatchException),
    ImageTagAlreadyExistsException(ImageTagAlreadyExistsException),
    InvalidParameterException(InvalidParameterException),
    LayersNotFoundException(LayersNotFoundException),
    LimitExceededException(LimitExceededException),
    ReferencedImagesNotFoundException(ReferencedImagesNotFoundException),
    RegistryNotFoundException(RegistryNotFoundException),
    RepositoryNotFoundException(RepositoryNotFoundException),
    ServerException(ServerException),
    UnsupportedCommandException(UnsupportedCommandException),
    Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description

Types of errors that can occur for the PutImage operation.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ImageAlreadyExistsException(ImageAlreadyExistsException)

The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.

Tuple Fields of ImageAlreadyExistsException

0: ImageAlreadyExistsException
ImageDigestDoesNotMatchException(ImageDigestDoesNotMatchException)

The specified image digest does not match the digest that Amazon ECR calculated for the image.

Tuple Fields of ImageDigestDoesNotMatchException

0: ImageDigestDoesNotMatchException
ImageTagAlreadyExistsException(ImageTagAlreadyExistsException)

The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.

Tuple Fields of ImageTagAlreadyExistsException

0: ImageTagAlreadyExistsException
InvalidParameterException(InvalidParameterException)

The specified parameter is invalid. Review the available parameters for the API request.

Tuple Fields of InvalidParameterException

0: InvalidParameterException
LayersNotFoundException(LayersNotFoundException)

The specified layers could not be found, or the specified layer is not valid for this repository.

Tuple Fields of LayersNotFoundException

0: LayersNotFoundException
LimitExceededException(LimitExceededException)

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.

Tuple Fields of LimitExceededException

0: LimitExceededException
ReferencedImagesNotFoundException(ReferencedImagesNotFoundException)

The manifest list is referencing an image that does not exist.

Tuple Fields of ReferencedImagesNotFoundException

0: ReferencedImagesNotFoundException
RegistryNotFoundException(RegistryNotFoundException)

The registry does not exist.

Tuple Fields of RegistryNotFoundException

0: RegistryNotFoundException
RepositoryNotFoundException(RepositoryNotFoundException)

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.

Tuple Fields of RepositoryNotFoundException

0: RepositoryNotFoundException
ServerException(ServerException)

These errors are usually caused by a server-side issue.

Tuple Fields of ServerException

0: ServerException
UnsupportedCommandException(UnsupportedCommandException)

The action is not supported in this Region.

Tuple Fields of UnsupportedCommandException

0: UnsupportedCommandException
Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unexpected error, eg. invalid JSON returned by the service or an unknown error code

Tuple Fields of Unhandled

0: Box<dyn Error + Send + Sync + 'static>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more