Enum aws_sdk_iam::Error [−][src]
#[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
ConcurrentModificationException(ConcurrentModificationException)
Tuple Fields
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)
Tuple Fields
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)
Tuple Fields
The request was rejected because the credential report does not exist. To generate a credential report, use GenerateCredentialReport.
CredentialReportNotReadyException(CredentialReportNotReadyException)
Tuple Fields
The request was rejected because the credential report is still being generated.
DeleteConflictException(DeleteConflictException)
Tuple Fields
The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.
DuplicateCertificateException(DuplicateCertificateException)
Tuple Fields
The request was rejected because the same certificate is associated with an IAM user in the account.
DuplicateSshPublicKeyException(DuplicateSshPublicKeyException)
Tuple Fields
The request was rejected because the SSH public key is already associated with the specified IAM user.
EntityAlreadyExistsException(EntityAlreadyExistsException)
Tuple Fields
The request was rejected because it attempted to create a resource that already exists.
EntityTemporarilyUnmodifiableException(EntityTemporarilyUnmodifiableException)
Tuple Fields
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)
Tuple Fields
The request was rejected because the authentication code was not recognized. The error message describes the specific error.
InvalidCertificateException(InvalidCertificateException)
Tuple Fields
The request was rejected because the certificate is invalid.
InvalidInputException(InvalidInputException)
Tuple Fields
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
InvalidPublicKeyException(InvalidPublicKeyException)
Tuple Fields
The request was rejected because the public key is malformed or otherwise invalid.
InvalidUserTypeException(InvalidUserTypeException)
Tuple Fields
The request was rejected because the type of user for the transaction was incorrect.
KeyPairMismatchException(KeyPairMismatchException)
Tuple Fields
The request was rejected because the public key certificate and the private key do not match.
LimitExceededException(LimitExceededException)
Tuple Fields
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)
Tuple Fields
The request was rejected because the certificate was malformed or expired. The error message describes the specific error.
MalformedPolicyDocumentException(MalformedPolicyDocumentException)
Tuple Fields
The request was rejected because the policy document was malformed. The error message describes the specific error.
NoSuchEntityException(NoSuchEntityException)
Tuple Fields
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
PasswordPolicyViolationException(PasswordPolicyViolationException)
Tuple Fields
The request was rejected because the provided password did not meet the requirements imposed by the account password policy.
PolicyEvaluationException(PolicyEvaluationException)
Tuple Fields
The request failed because a provided policy could not be successfully evaluated. An additional detailed message indicates the source of the failure.
PolicyNotAttachableException(PolicyNotAttachableException)
Tuple Fields
The request failed because Amazon Web Services service role policies can only be attached to the service-linked role for that service.
ReportGenerationLimitExceededException(ReportGenerationLimitExceededException)
Tuple Fields
The request failed because the maximum number of concurrent requests for this account are already running.
ServiceFailureException(ServiceFailureException)
Tuple Fields
The request processing has failed because of an unknown error, exception or failure.
ServiceNotSupportedException(ServiceNotSupportedException)
Tuple Fields
The specified service does not support service-specific credentials.
UnmodifiableEntityException(UnmodifiableEntityException)
Tuple Fields
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)
Tuple Fields
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
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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