#[non_exhaustive]
pub enum Error {
Show 28 variants ConcurrentModificationException(ConcurrentModificationException), CredentialReportExpiredException(CredentialReportExpiredException), CredentialReportNotPresentException(CredentialReportNotPresentException), CredentialReportNotReadyException(CredentialReportNotReadyException), DeleteConflictException(DeleteConflictException), DuplicateCertificateException(DuplicateCertificateException), DuplicateSshPublicKeyException(DuplicateSshPublicKeyException), EntityAlreadyExistsException(EntityAlreadyExistsException), EntityTemporarilyUnmodifiableException(EntityTemporarilyUnmodifiableException), InvalidAuthenticationCodeException(InvalidAuthenticationCodeException), InvalidCertificateException(InvalidCertificateException), InvalidInputException(InvalidInputException), InvalidPublicKeyException(InvalidPublicKeyException), InvalidUserTypeException(InvalidUserTypeException), KeyPairMismatchException(KeyPairMismatchException), LimitExceededException(LimitExceededException), MalformedCertificateException(MalformedCertificateException), MalformedPolicyDocumentException(MalformedPolicyDocumentException), NoSuchEntityException(NoSuchEntityException), PasswordPolicyViolationException(PasswordPolicyViolationException), PolicyEvaluationException(PolicyEvaluationException), PolicyNotAttachableException(PolicyNotAttachableException), ReportGenerationLimitExceededException(ReportGenerationLimitExceededException), ServiceFailureException(ServiceFailureException), ServiceNotSupportedException(ServiceNotSupportedException), UnmodifiableEntityException(UnmodifiableEntityException), UnrecognizedPublicKeyEncodingException(UnrecognizedPublicKeyEncodingException), 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.

ConcurrentModificationException(ConcurrentModificationException)

The request was rejected because multiple requests to change this object were submitted simultaneously. Wait a few minutes and submit your request again.

CredentialReportExpiredException(CredentialReportExpiredException)

The request was rejected because the most recent credential report has expired. To generate a new credential report, use GenerateCredentialReport. For more information about credential report expiration, see Getting credential reports in the IAM User Guide.

CredentialReportNotPresentException(CredentialReportNotPresentException)

The request was rejected because the credential report does not exist. To generate a credential report, use GenerateCredentialReport.

CredentialReportNotReadyException(CredentialReportNotReadyException)

The request was rejected because the credential report is still being generated.

DeleteConflictException(DeleteConflictException)

The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.

DuplicateCertificateException(DuplicateCertificateException)

The request was rejected because the same certificate is associated with an IAM user in the account.

DuplicateSshPublicKeyException(DuplicateSshPublicKeyException)

The request was rejected because the SSH public key is already associated with the specified IAM user.

EntityAlreadyExistsException(EntityAlreadyExistsException)

The request was rejected because it attempted to create a resource that already exists.

EntityTemporarilyUnmodifiableException(EntityTemporarilyUnmodifiableException)

The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.

InvalidAuthenticationCodeException(InvalidAuthenticationCodeException)

The request was rejected because the authentication code was not recognized. The error message describes the specific error.

InvalidCertificateException(InvalidCertificateException)

The request was rejected because the certificate is invalid.

InvalidInputException(InvalidInputException)

The request was rejected because an invalid or out-of-range value was supplied for an input parameter.

InvalidPublicKeyException(InvalidPublicKeyException)

The request was rejected because the public key is malformed or otherwise invalid.

InvalidUserTypeException(InvalidUserTypeException)

The request was rejected because the type of user for the transaction was incorrect.

KeyPairMismatchException(KeyPairMismatchException)

The request was rejected because the public key certificate and the private key do not match.

LimitExceededException(LimitExceededException)

The request was rejected because it attempted to create resources beyond the current Amazon Web Services account limits. The error message describes the limit exceeded.

MalformedCertificateException(MalformedCertificateException)

The request was rejected because the certificate was malformed or expired. The error message describes the specific error.

MalformedPolicyDocumentException(MalformedPolicyDocumentException)

The request was rejected because the policy document was malformed. The error message describes the specific error.

NoSuchEntityException(NoSuchEntityException)

The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.

PasswordPolicyViolationException(PasswordPolicyViolationException)

The request was rejected because the provided password did not meet the requirements imposed by the account password policy.

PolicyEvaluationException(PolicyEvaluationException)

The request failed because a provided policy could not be successfully evaluated. An additional detailed message indicates the source of the failure.

PolicyNotAttachableException(PolicyNotAttachableException)

The request failed because Amazon Web Services service role policies can only be attached to the service-linked role for that service.

ReportGenerationLimitExceededException(ReportGenerationLimitExceededException)

The request failed because the maximum number of concurrent requests for this account are already running.

ServiceFailureException(ServiceFailureException)

The request processing has failed because of an unknown error, exception or failure.

ServiceNotSupportedException(ServiceNotSupportedException)

The specified service does not support service-specific credentials.

UnmodifiableEntityException(UnmodifiableEntityException)

The request was rejected because only the service that depends on the service-linked role can modify or delete the role on your behalf. The error message includes the name of the service that depends on this service-linked role. You must request the change through that service.

UnrecognizedPublicKeyEncodingException(UnrecognizedPublicKeyEncodingException)

The request was rejected because the public key encoding format is unsupported or unrecognized.

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.

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.

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.

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.

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.

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.

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