#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), ConflictException(ConflictException), InsufficientCapacityException(InsufficientCapacityException), InternalServerException(InternalServerException), InvalidPaginationException(InvalidPaginationException), ResourceNotFoundException(ResourceNotFoundException), ServiceQuotaExceededException(ServiceQuotaExceededException), ThrottlingException(ThrottlingException), TooManyTagsException(TooManyTagsException), ValidationException(ValidationException), Unhandled(Unhandled), }
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.
§

AccessDeniedException(AccessDeniedException)

You do not have sufficient access to perform this action.

§

ConflictException(ConflictException)

The submitted action has conflicts.

§

InsufficientCapacityException(InsufficientCapacityException)

There is an insufficient capacity to perform the action.

§

InternalServerException(InternalServerException)

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

§

InvalidPaginationException(InvalidPaginationException)

The provided pagination token is invalid.

§

ResourceNotFoundException(ResourceNotFoundException)

The resource could not be found.

§

ServiceQuotaExceededException(ServiceQuotaExceededException)

The service limit was exceeded.

§

ThrottlingException(ThrottlingException)

The request was denied due to request throttling.

§

TooManyTagsException(TooManyTagsException)

The request exceeded the number of tags allowed for a resource.

§

ValidationException(ValidationException)

The input failed to satisfy the constraints specified by an AWS service.

§

Unhandled(Unhandled)

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

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

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<ConvertRecoveryPointToSnapshotError> for Error

source§

fn from(err: ConvertRecoveryPointToSnapshotError) -> Self

Converts to this type from the input type.
source§

impl From<CreateEndpointAccessError> for Error

source§

fn from(err: CreateEndpointAccessError) -> Self

Converts to this type from the input type.
source§

impl From<CreateNamespaceError> for Error

source§

fn from(err: CreateNamespaceError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSnapshotError> for Error

source§

fn from(err: CreateSnapshotError) -> Self

Converts to this type from the input type.
source§

impl From<CreateUsageLimitError> for Error

source§

fn from(err: CreateUsageLimitError) -> Self

Converts to this type from the input type.
source§

impl From<CreateWorkgroupError> for Error

source§

fn from(err: CreateWorkgroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteEndpointAccessError> for Error

source§

fn from(err: DeleteEndpointAccessError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteNamespaceError> for Error

source§

fn from(err: DeleteNamespaceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteResourcePolicyError> for Error

source§

fn from(err: DeleteResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSnapshotError> for Error

source§

fn from(err: DeleteSnapshotError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteUsageLimitError> for Error

source§

fn from(err: DeleteUsageLimitError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteWorkgroupError> for Error

source§

fn from(err: DeleteWorkgroupError) -> Self

Converts to this type from the input type.
source§

impl From<GetCredentialsError> for Error

source§

fn from(err: GetCredentialsError) -> Self

Converts to this type from the input type.
source§

impl From<GetEndpointAccessError> for Error

source§

fn from(err: GetEndpointAccessError) -> Self

Converts to this type from the input type.
source§

impl From<GetNamespaceError> for Error

source§

fn from(err: GetNamespaceError) -> Self

Converts to this type from the input type.
source§

impl From<GetRecoveryPointError> for Error

source§

fn from(err: GetRecoveryPointError) -> Self

Converts to this type from the input type.
source§

impl From<GetResourcePolicyError> for Error

source§

fn from(err: GetResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetSnapshotError> for Error

source§

fn from(err: GetSnapshotError) -> Self

Converts to this type from the input type.
source§

impl From<GetTableRestoreStatusError> for Error

source§

fn from(err: GetTableRestoreStatusError) -> Self

Converts to this type from the input type.
source§

impl From<GetUsageLimitError> for Error

source§

fn from(err: GetUsageLimitError) -> Self

Converts to this type from the input type.
source§

impl From<GetWorkgroupError> for Error

source§

fn from(err: GetWorkgroupError) -> Self

Converts to this type from the input type.
source§

impl From<ListEndpointAccessError> for Error

source§

fn from(err: ListEndpointAccessError) -> Self

Converts to this type from the input type.
source§

impl From<ListNamespacesError> for Error

source§

fn from(err: ListNamespacesError) -> Self

Converts to this type from the input type.
source§

impl From<ListRecoveryPointsError> for Error

source§

fn from(err: ListRecoveryPointsError) -> Self

Converts to this type from the input type.
source§

impl From<ListSnapshotsError> for Error

source§

fn from(err: ListSnapshotsError) -> Self

Converts to this type from the input type.
source§

impl From<ListTableRestoreStatusError> for Error

source§

fn from(err: ListTableRestoreStatusError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsForResourceError> for Error

source§

fn from(err: ListTagsForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<ListUsageLimitsError> for Error

source§

fn from(err: ListUsageLimitsError) -> Self

Converts to this type from the input type.
source§

impl From<ListWorkgroupsError> for Error

source§

fn from(err: ListWorkgroupsError) -> Self

Converts to this type from the input type.
source§

impl From<PutResourcePolicyError> for Error

source§

fn from(err: PutResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<RestoreFromRecoveryPointError> for Error

source§

fn from(err: RestoreFromRecoveryPointError) -> Self

Converts to this type from the input type.
source§

impl From<RestoreFromSnapshotError> for Error

source§

fn from(err: RestoreFromSnapshotError) -> Self

Converts to this type from the input type.
source§

impl From<RestoreTableFromSnapshotError> for Error

source§

fn from(err: RestoreTableFromSnapshotError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ConvertRecoveryPointToSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ConvertRecoveryPointToSnapshotError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateEndpointAccessError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateEndpointAccessError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateNamespaceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateNamespaceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateSnapshotError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateUsageLimitError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateUsageLimitError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateWorkgroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateWorkgroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteEndpointAccessError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteEndpointAccessError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteNamespaceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteNamespaceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteResourcePolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteResourcePolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteSnapshotError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteUsageLimitError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteUsageLimitError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteWorkgroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteWorkgroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetCredentialsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetCredentialsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetEndpointAccessError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetEndpointAccessError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetNamespaceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetNamespaceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRecoveryPointError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetRecoveryPointError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetResourcePolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetResourcePolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetSnapshotError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetTableRestoreStatusError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetTableRestoreStatusError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetUsageLimitError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetUsageLimitError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetWorkgroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetWorkgroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListEndpointAccessError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListEndpointAccessError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListNamespacesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListNamespacesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRecoveryPointsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListRecoveryPointsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListSnapshotsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListSnapshotsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTableRestoreStatusError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListTableRestoreStatusError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListTagsForResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListUsageLimitsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListUsageLimitsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListWorkgroupsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListWorkgroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutResourcePolicyError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutResourcePolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RestoreFromRecoveryPointError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RestoreFromRecoveryPointError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RestoreFromSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RestoreFromSnapshotError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RestoreTableFromSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RestoreTableFromSnapshotError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<TagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UntagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateEndpointAccessError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateEndpointAccessError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateNamespaceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateNamespaceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateSnapshotError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateUsageLimitError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateUsageLimitError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateWorkgroupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateWorkgroupError, R>) -> Self

Converts to this type from the input type.
source§

impl From<TagResourceError> for Error

source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateEndpointAccessError> for Error

source§

fn from(err: UpdateEndpointAccessError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateNamespaceError> for Error

source§

fn from(err: UpdateNamespaceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateSnapshotError> for Error

source§

fn from(err: UpdateSnapshotError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateUsageLimitError> for Error

source§

fn from(err: UpdateUsageLimitError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateWorkgroupError> for Error

source§

fn from(err: UpdateWorkgroupError) -> Self

Converts to this type from the input type.
source§

impl RequestId for Error

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more