#[non_exhaustive]
pub enum Error {
Show 20 variants CertificateMismatchException(CertificateMismatchException), ConcurrentModificationException(ConcurrentModificationException), InvalidArgsException(InvalidArgsException), InvalidArnException(InvalidArnException), InvalidNextTokenException(InvalidNextTokenException), InvalidPolicyException(InvalidPolicyException), InvalidRequestException(InvalidRequestException), InvalidStateException(InvalidStateException), InvalidTagException(InvalidTagException), LimitExceededException(LimitExceededException), LockoutPreventedException(LockoutPreventedException), MalformedCsrException(MalformedCsrException), MalformedCertificateException(MalformedCertificateException), PermissionAlreadyExistsException(PermissionAlreadyExistsException), RequestAlreadyProcessedException(RequestAlreadyProcessedException), RequestFailedException(RequestFailedException), RequestInProgressException(RequestInProgressException), ResourceNotFoundException(ResourceNotFoundException), TooManyTagsException(TooManyTagsException), Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description

All possible error types for this service.

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.

CertificateMismatchException(CertificateMismatchException)

The certificate authority certificate you are importing does not comply with conditions specified in the certificate that signed it.

ConcurrentModificationException(ConcurrentModificationException)

A previous update to your private CA is still ongoing.

InvalidArgsException(InvalidArgsException)

One or more of the specified arguments was not valid.

InvalidArnException(InvalidArnException)

The requested Amazon Resource Name (ARN) does not refer to an existing resource.

InvalidNextTokenException(InvalidNextTokenException)

The token specified in the NextToken argument is not valid. Use the token returned from your previous call to ListCertificateAuthorities.

InvalidPolicyException(InvalidPolicyException)

The resource policy is invalid or is missing a required statement. For general information about IAM policy and statement structure, see Overview of JSON Policies.

InvalidRequestException(InvalidRequestException)

The request action cannot be performed or is prohibited.

InvalidStateException(InvalidStateException)

The state of the private CA does not allow this action to occur.

InvalidTagException(InvalidTagException)

The tag associated with the CA is not valid. The invalid argument is contained in the message field.

LimitExceededException(LimitExceededException)

An ACM Private CA quota has been exceeded. See the exception message returned to determine the quota that was exceeded.

LockoutPreventedException(LockoutPreventedException)

The current action was prevented because it would lock the caller out from performing subsequent actions. Verify that the specified parameters would not result in the caller being denied access to the resource.

MalformedCsrException(MalformedCsrException)

The certificate signing request is invalid.

MalformedCertificateException(MalformedCertificateException)

One or more fields in the certificate are invalid.

PermissionAlreadyExistsException(PermissionAlreadyExistsException)

The designated permission has already been given to the user.

RequestAlreadyProcessedException(RequestAlreadyProcessedException)

Your request has already been completed.

RequestFailedException(RequestFailedException)

The request has failed for an unspecified reason.

RequestInProgressException(RequestInProgressException)

Your request is already in progress.

ResourceNotFoundException(ResourceNotFoundException)

A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot be found.

TooManyTagsException(TooManyTagsException)

You can associate up to 50 tags with a private CA. Exception information is contained in the exception message field.

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

An unhandled error occurred.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

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