Enum aws_sdk_iot::Error[][src]

#[non_exhaustive]
pub enum Error {
Show 32 variants CertificateConflictException(CertificateConflictException), CertificateStateException(CertificateStateException), CertificateValidationException(CertificateValidationException), ConflictException(ConflictException), ConflictingResourceUpdateException(ConflictingResourceUpdateException), DeleteConflictException(DeleteConflictException), IndexNotReadyException(IndexNotReadyException), InternalException(InternalException), InternalFailureException(InternalFailureException), InternalServerException(InternalServerException), InvalidAggregationException(InvalidAggregationException), InvalidQueryException(InvalidQueryException), InvalidRequestException(InvalidRequestException), InvalidResponseException(InvalidResponseException), InvalidStateTransitionException(InvalidStateTransitionException), LimitExceededException(LimitExceededException), MalformedPolicyException(MalformedPolicyException), NotConfiguredException(NotConfiguredException), RegistrationCodeValidationException(RegistrationCodeValidationException), ResourceAlreadyExistsException(ResourceAlreadyExistsException), ResourceNotFoundException(ResourceNotFoundException), ResourceRegistrationFailureException(ResourceRegistrationFailureException), ServiceUnavailableException(ServiceUnavailableException), SqlParseException(SqlParseException), TaskAlreadyExistsException(TaskAlreadyExistsException), ThrottlingException(ThrottlingException), TransferAlreadyCompletedException(TransferAlreadyCompletedException), TransferConflictException(TransferConflictException), UnauthorizedException(UnauthorizedException), VersionConflictException(VersionConflictException), VersionsLimitExceededException(VersionsLimitExceededException), 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.

CertificateConflictException(CertificateConflictException)

Unable to verify the CA certificate used to sign the device certificate you are attempting to register. This is happens when you have registered more than one CA certificate that has the same subject field and public key.

CertificateStateException(CertificateStateException)

The certificate operation is not allowed.

CertificateValidationException(CertificateValidationException)

The certificate is invalid.

ConflictException(ConflictException)

Tuple Fields

A resource with the same name already exists.

ConflictingResourceUpdateException(ConflictingResourceUpdateException)

A conflicting resource update exception. This exception is thrown when two pending updates cause a conflict.

DeleteConflictException(DeleteConflictException)

Tuple Fields

You can't delete the resource because it is attached to one or more resources.

IndexNotReadyException(IndexNotReadyException)

Tuple Fields

The index is not ready.

InternalException(InternalException)

Tuple Fields

An unexpected error has occurred.

InternalFailureException(InternalFailureException)

Tuple Fields

An unexpected error has occurred.

InternalServerException(InternalServerException)

Tuple Fields

Internal error from the service that indicates an unexpected error or that the service is unavailable.

InvalidAggregationException(InvalidAggregationException)

The aggregation is invalid.

InvalidQueryException(InvalidQueryException)

Tuple Fields

The query is invalid.

InvalidRequestException(InvalidRequestException)

Tuple Fields

The request is not valid.

InvalidResponseException(InvalidResponseException)

Tuple Fields

The response is invalid.

InvalidStateTransitionException(InvalidStateTransitionException)

An attempt was made to change to an invalid state, for example by deleting a job or a job execution which is "IN_PROGRESS" without setting the force parameter.

LimitExceededException(LimitExceededException)

Tuple Fields

A limit has been exceeded.

MalformedPolicyException(MalformedPolicyException)

Tuple Fields

The policy documentation is not valid.

NotConfiguredException(NotConfiguredException)

Tuple Fields

The resource is not configured.

RegistrationCodeValidationException(RegistrationCodeValidationException)

The registration code is invalid.

ResourceAlreadyExistsException(ResourceAlreadyExistsException)

The resource already exists.

ResourceNotFoundException(ResourceNotFoundException)

The specified resource does not exist.

ResourceRegistrationFailureException(ResourceRegistrationFailureException)

The resource registration failed.

ServiceUnavailableException(ServiceUnavailableException)

The service is temporarily unavailable.

SqlParseException(SqlParseException)

Tuple Fields

The Rule-SQL expression can't be parsed correctly.

TaskAlreadyExistsException(TaskAlreadyExistsException)

This exception occurs if you attempt to start a task with the same task-id as an existing task but with a different clientRequestToken.

ThrottlingException(ThrottlingException)

Tuple Fields

The rate exceeds the limit.

TransferAlreadyCompletedException(TransferAlreadyCompletedException)

You can't revert the certificate transfer because the transfer is already complete.

TransferConflictException(TransferConflictException)

You can't transfer the certificate because authorization policies are still attached.

UnauthorizedException(UnauthorizedException)

Tuple Fields

You are not authorized to perform this operation.

VersionConflictException(VersionConflictException)

Tuple Fields

An exception thrown when the version of an entity specified with the expectedVersion parameter does not match the latest version in the system.

VersionsLimitExceededException(VersionsLimitExceededException)

The number of policy versions exceeds the limit.

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

Tuple Fields

0: 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

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.

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

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.

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