Enum aws_sdk_ecr::error::GetLifecyclePolicyErrorKind [−][src]
#[non_exhaustive]
pub enum GetLifecyclePolicyErrorKind {
InvalidParameterException(InvalidParameterException),
LifecyclePolicyNotFoundException(LifecyclePolicyNotFoundException),
RepositoryNotFoundException(RepositoryNotFoundException),
ServerException(ServerException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the GetLifecyclePolicy operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InvalidParameterException(InvalidParameterException)
Tuple Fields
The specified parameter is invalid. Review the available parameters for the API request.
LifecyclePolicyNotFoundException(LifecyclePolicyNotFoundException)
Tuple Fields
The lifecycle policy could not be found, and no policy is set to the repository.
RepositoryNotFoundException(RepositoryNotFoundException)
Tuple Fields
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.
ServerException(ServerException)
Tuple Fields
These errors are usually caused by a server-side issue.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetLifecyclePolicyErrorKind
impl Send for GetLifecyclePolicyErrorKind
impl Sync for GetLifecyclePolicyErrorKind
impl Unpin for GetLifecyclePolicyErrorKind
impl !UnwindSafe for GetLifecyclePolicyErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
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
