#[non_exhaustive]
pub enum Error { BadRequestException(BadRequestException), ConflictException(ConflictException), InternalFailureException(InternalFailureException), LimitExceededException(LimitExceededException), NotFoundException(NotFoundException), 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.
§

BadRequestException(BadRequestException)

Your request didn't pass one or more validation tests. This can occur when the entity you're trying to delete doesn't exist or if it's in a non-terminal state (such as IN PROGRESS). See the exception message field for more information.

§

ConflictException(ConflictException)

A resource already exists with this name. Resource names must be unique within an Amazon Web Services account.

§

InternalFailureException(InternalFailureException)

There was an internal error. Check the error message, correct the issue, and try your request again.

§

LimitExceededException(LimitExceededException)

You've either sent too many requests or your input file is too long. Wait before retrying your request, or use a smaller file and try your request again.

§

NotFoundException(NotFoundException)

We can't find the requested resource. Check that the specified name is correct and try your request again.

§

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

source§

fn from(err: CreateCallAnalyticsCategoryError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLanguageModelError> for Error

source§

fn from(err: CreateLanguageModelError) -> Self

Converts to this type from the input type.
source§

impl From<CreateMedicalVocabularyError> for Error

source§

fn from(err: CreateMedicalVocabularyError) -> Self

Converts to this type from the input type.
source§

impl From<CreateVocabularyError> for Error

source§

fn from(err: CreateVocabularyError) -> Self

Converts to this type from the input type.
source§

impl From<CreateVocabularyFilterError> for Error

source§

fn from(err: CreateVocabularyFilterError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCallAnalyticsCategoryError> for Error

source§

fn from(err: DeleteCallAnalyticsCategoryError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCallAnalyticsJobError> for Error

source§

fn from(err: DeleteCallAnalyticsJobError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLanguageModelError> for Error

source§

fn from(err: DeleteLanguageModelError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteMedicalTranscriptionJobError> for Error

source§

fn from(err: DeleteMedicalTranscriptionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteMedicalVocabularyError> for Error

source§

fn from(err: DeleteMedicalVocabularyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteTranscriptionJobError> for Error

source§

fn from(err: DeleteTranscriptionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteVocabularyError> for Error

source§

fn from(err: DeleteVocabularyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteVocabularyFilterError> for Error

source§

fn from(err: DeleteVocabularyFilterError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeLanguageModelError> for Error

source§

fn from(err: DescribeLanguageModelError) -> Self

Converts to this type from the input type.
source§

impl From<GetCallAnalyticsCategoryError> for Error

source§

fn from(err: GetCallAnalyticsCategoryError) -> Self

Converts to this type from the input type.
source§

impl From<GetCallAnalyticsJobError> for Error

source§

fn from(err: GetCallAnalyticsJobError) -> Self

Converts to this type from the input type.
source§

impl From<GetMedicalTranscriptionJobError> for Error

source§

fn from(err: GetMedicalTranscriptionJobError) -> Self

Converts to this type from the input type.
source§

impl From<GetMedicalVocabularyError> for Error

source§

fn from(err: GetMedicalVocabularyError) -> Self

Converts to this type from the input type.
source§

impl From<GetTranscriptionJobError> for Error

source§

fn from(err: GetTranscriptionJobError) -> Self

Converts to this type from the input type.
source§

impl From<GetVocabularyError> for Error

source§

fn from(err: GetVocabularyError) -> Self

Converts to this type from the input type.
source§

impl From<GetVocabularyFilterError> for Error

source§

fn from(err: GetVocabularyFilterError) -> Self

Converts to this type from the input type.
source§

impl From<ListCallAnalyticsCategoriesError> for Error

source§

fn from(err: ListCallAnalyticsCategoriesError) -> Self

Converts to this type from the input type.
source§

impl From<ListCallAnalyticsJobsError> for Error

source§

fn from(err: ListCallAnalyticsJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListLanguageModelsError> for Error

source§

fn from(err: ListLanguageModelsError) -> Self

Converts to this type from the input type.
source§

impl From<ListMedicalTranscriptionJobsError> for Error

source§

fn from(err: ListMedicalTranscriptionJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListMedicalVocabulariesError> for Error

source§

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

source§

fn from(err: ListTranscriptionJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListVocabulariesError> for Error

source§

fn from(err: ListVocabulariesError) -> Self

Converts to this type from the input type.
source§

impl From<ListVocabularyFiltersError> for Error

source§

fn from(err: ListVocabularyFiltersError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateCallAnalyticsCategoryError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateLanguageModelError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateMedicalVocabularyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateVocabularyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateVocabularyFilterError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteCallAnalyticsCategoryError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteCallAnalyticsJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteLanguageModelError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteMedicalTranscriptionJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteMedicalVocabularyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteTranscriptionJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteVocabularyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteVocabularyFilterError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeLanguageModelError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetCallAnalyticsCategoryError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetCallAnalyticsJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetMedicalTranscriptionJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetMedicalVocabularyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetTranscriptionJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetVocabularyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetVocabularyFilterError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListCallAnalyticsCategoriesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListCallAnalyticsJobsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListLanguageModelsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListMedicalTranscriptionJobsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListMedicalVocabulariesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
where 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<ListTranscriptionJobsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListVocabulariesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListVocabularyFiltersError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartCallAnalyticsJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartMedicalTranscriptionJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartTranscriptionJobError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Error
where 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 Error
where 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<UpdateCallAnalyticsCategoryError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateMedicalVocabularyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateVocabularyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateVocabularyFilterError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl From<StartCallAnalyticsJobError> for Error

source§

fn from(err: StartCallAnalyticsJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartMedicalTranscriptionJobError> for Error

source§

fn from(err: StartMedicalTranscriptionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartTranscriptionJobError> for Error

source§

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

source§

fn from(err: UpdateCallAnalyticsCategoryError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateMedicalVocabularyError> for Error

source§

fn from(err: UpdateMedicalVocabularyError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateVocabularyError> for Error

source§

fn from(err: UpdateVocabularyError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateVocabularyFilterError> for Error

source§

fn from(err: UpdateVocabularyFilterError) -> 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 T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where 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 T
where 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 T
where 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