#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), BadRequestException(BadRequestException), InternalServerException(InternalServerException), ResourceInUseException(ResourceInUseException), ResourceNotFoundException(ResourceNotFoundException), TagsAlreadyExistException(TagsAlreadyExistException), 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)

User does not have permissions to perform this action.

§

BadRequestException(BadRequestException)

The request is not understood by the server.

§

InternalServerException(InternalServerException)

The server encountered an internal error and is unable to complete the request.

§

ResourceInUseException(ResourceInUseException)

The resource is already created or in use.

§

ResourceNotFoundException(ResourceNotFoundException)

The resource does not exist in the customer account.

§

TagsAlreadyExistException(TagsAlreadyExistException)

Tags are already registered for the specified application ARN.

§

TooManyTagsException(TooManyTagsException)

The number of the provided tags is beyond the limit, or the number of total tags you are trying to attach to the specified resource exceeds the limit.

§

ValidationException(ValidationException)

The parameter is not valid.

§

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<AddWorkloadError> for Error

source§

fn from(err: AddWorkloadError) -> Self

Converts to this type from the input type.
source§

impl From<CreateApplicationError> for Error

source§

fn from(err: CreateApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateComponentError> for Error

source§

fn from(err: CreateComponentError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLogPatternError> for Error

source§

fn from(err: CreateLogPatternError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApplicationError> for Error

source§

fn from(err: DeleteApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteComponentError> for Error

source§

fn from(err: DeleteComponentError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLogPatternError> for Error

source§

fn from(err: DeleteLogPatternError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeApplicationError> for Error

source§

fn from(err: DescribeApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeComponentConfigurationError> for Error

source§

fn from(err: DescribeComponentConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeComponentConfigurationRecommendationError> for Error

source§

fn from(err: DescribeComponentConfigurationRecommendationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeComponentError> for Error

source§

fn from(err: DescribeComponentError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeLogPatternError> for Error

source§

fn from(err: DescribeLogPatternError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeObservationError> for Error

source§

fn from(err: DescribeObservationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeProblemError> for Error

source§

fn from(err: DescribeProblemError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeProblemObservationsError> for Error

source§

fn from(err: DescribeProblemObservationsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeWorkloadError> for Error

source§

fn from(err: DescribeWorkloadError) -> Self

Converts to this type from the input type.
source§

impl From<ListApplicationsError> for Error

source§

fn from(err: ListApplicationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListComponentsError> for Error

source§

fn from(err: ListComponentsError) -> Self

Converts to this type from the input type.
source§

impl From<ListConfigurationHistoryError> for Error

source§

fn from(err: ListConfigurationHistoryError) -> Self

Converts to this type from the input type.
source§

impl From<ListLogPatternSetsError> for Error

source§

fn from(err: ListLogPatternSetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListLogPatternsError> for Error

source§

fn from(err: ListLogPatternsError) -> Self

Converts to this type from the input type.
source§

impl From<ListProblemsError> for Error

source§

fn from(err: ListProblemsError) -> 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<ListWorkloadsError> for Error

source§

fn from(err: ListWorkloadsError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveWorkloadError> for Error

source§

fn from(err: RemoveWorkloadError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<ListProblemsError, 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<ListWorkloadsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<RemoveWorkloadError, 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<UpdateApplicationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<UpdateWorkloadError, 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<UpdateApplicationError> for Error

source§

fn from(err: UpdateApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateComponentConfigurationError> for Error

source§

fn from(err: UpdateComponentConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateComponentError> for Error

source§

fn from(err: UpdateComponentError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateLogPatternError> for Error

source§

fn from(err: UpdateLogPatternError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateProblemError> for Error

source§

fn from(err: UpdateProblemError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateWorkloadError> for Error

source§

fn from(err: UpdateWorkloadError) -> 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