#[non_exhaustive]
pub enum Error {
Show 17 variants BatchSizeLimitExceededException(BatchSizeLimitExceededException), ConcurrentModificationException(ConcurrentModificationException), InternalServerException(InternalServerException), InvalidFilterException(InvalidFilterException), InvalidRequestException(InvalidRequestException), JobNotFoundException(JobNotFoundException), KmsKeyValidationException(KmsKeyValidationException), ResourceInUseException(ResourceInUseException), ResourceLimitExceededException(ResourceLimitExceededException), ResourceNotFoundException(ResourceNotFoundException), ResourceUnavailableException(ResourceUnavailableException), TextSizeLimitExceededException(TextSizeLimitExceededException), TooManyRequestsException(TooManyRequestsException), TooManyTagKeysException(TooManyTagKeysException), TooManyTagsException(TooManyTagsException), UnsupportedLanguageException(UnsupportedLanguageException), 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.
§

BatchSizeLimitExceededException(BatchSizeLimitExceededException)

The number of documents in the request exceeds the limit of 25. Try your request again with fewer documents.

§

ConcurrentModificationException(ConcurrentModificationException)

Concurrent modification of the tags associated with an Amazon Comprehend resource is not supported.

§

InternalServerException(InternalServerException)

An internal server error occurred. Retry your request.

§

InvalidFilterException(InvalidFilterException)

The filter specified for the operation is invalid. Specify a different filter.

§

InvalidRequestException(InvalidRequestException)

The request is invalid.

§

JobNotFoundException(JobNotFoundException)

The specified job was not found. Check the job ID and try again.

§

KmsKeyValidationException(KmsKeyValidationException)

The KMS customer managed key (CMK) entered cannot be validated. Verify the key and re-enter it.

§

ResourceInUseException(ResourceInUseException)

The specified resource name is already in use. Use a different name and try your request again.

§

ResourceLimitExceededException(ResourceLimitExceededException)

The maximum number of resources per account has been exceeded. Review the resources, and then try your request again.

§

ResourceNotFoundException(ResourceNotFoundException)

The specified resource ARN was not found. Check the ARN and try your request again.

§

ResourceUnavailableException(ResourceUnavailableException)

The specified resource is not available. Check the resource and try your request again.

§

TextSizeLimitExceededException(TextSizeLimitExceededException)

The size of the input text exceeds the limit. Use a smaller document.

§

TooManyRequestsException(TooManyRequestsException)

The number of requests exceeds the limit. Resubmit your request later.

§

TooManyTagKeysException(TooManyTagKeysException)

The request contains more tag keys than can be associated with a resource (50 tag keys per resource).

§

TooManyTagsException(TooManyTagsException)

The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.

§

UnsupportedLanguageException(UnsupportedLanguageException)

Amazon Comprehend can't process the language of the input text. For custom entity recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted. For a list of supported languages, Supported languages in the Comprehend Developer Guide.

§

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

source§

fn from(err: BatchDetectDominantLanguageError) -> Self

Converts to this type from the input type.
source§

impl From<BatchDetectEntitiesError> for Error

source§

fn from(err: BatchDetectEntitiesError) -> Self

Converts to this type from the input type.
source§

impl From<BatchDetectKeyPhrasesError> for Error

source§

fn from(err: BatchDetectKeyPhrasesError) -> Self

Converts to this type from the input type.
source§

impl From<BatchDetectSentimentError> for Error

source§

fn from(err: BatchDetectSentimentError) -> Self

Converts to this type from the input type.
source§

impl From<BatchDetectSyntaxError> for Error

source§

fn from(err: BatchDetectSyntaxError) -> Self

Converts to this type from the input type.
source§

impl From<BatchDetectTargetedSentimentError> for Error

source§

fn from(err: BatchDetectTargetedSentimentError) -> Self

Converts to this type from the input type.
source§

impl From<ClassifyDocumentError> for Error

source§

fn from(err: ClassifyDocumentError) -> Self

Converts to this type from the input type.
source§

impl From<ContainsPiiEntitiesError> for Error

source§

fn from(err: ContainsPiiEntitiesError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDatasetError> for Error

source§

fn from(err: CreateDatasetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDocumentClassifierError> for Error

source§

fn from(err: CreateDocumentClassifierError) -> Self

Converts to this type from the input type.
source§

impl From<CreateEndpointError> for Error

source§

fn from(err: CreateEndpointError) -> Self

Converts to this type from the input type.
source§

impl From<CreateEntityRecognizerError> for Error

source§

fn from(err: CreateEntityRecognizerError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFlywheelError> for Error

source§

fn from(err: CreateFlywheelError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDocumentClassifierError> for Error

source§

fn from(err: DeleteDocumentClassifierError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteEndpointError> for Error

source§

fn from(err: DeleteEndpointError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteEntityRecognizerError> for Error

source§

fn from(err: DeleteEntityRecognizerError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFlywheelError> for Error

source§

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

source§

fn from(err: DescribeDatasetError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDocumentClassificationJobError> for Error

source§

fn from(err: DescribeDocumentClassificationJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDocumentClassifierError> for Error

source§

fn from(err: DescribeDocumentClassifierError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDominantLanguageDetectionJobError> for Error

source§

fn from(err: DescribeDominantLanguageDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEndpointError> for Error

source§

fn from(err: DescribeEndpointError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEntitiesDetectionJobError> for Error

source§

fn from(err: DescribeEntitiesDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEntityRecognizerError> for Error

source§

fn from(err: DescribeEntityRecognizerError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEventsDetectionJobError> for Error

source§

fn from(err: DescribeEventsDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFlywheelError> for Error

source§

fn from(err: DescribeFlywheelError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFlywheelIterationError> for Error

source§

fn from(err: DescribeFlywheelIterationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeKeyPhrasesDetectionJobError> for Error

source§

fn from(err: DescribeKeyPhrasesDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribePiiEntitiesDetectionJobError> for Error

source§

fn from(err: DescribePiiEntitiesDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeResourcePolicyError> for Error

source§

fn from(err: DescribeResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeSentimentDetectionJobError> for Error

source§

fn from(err: DescribeSentimentDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeTargetedSentimentDetectionJobError> for Error

source§

fn from(err: DescribeTargetedSentimentDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeTopicsDetectionJobError> for Error

source§

fn from(err: DescribeTopicsDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<DetectDominantLanguageError> for Error

source§

fn from(err: DetectDominantLanguageError) -> Self

Converts to this type from the input type.
source§

impl From<DetectEntitiesError> for Error

source§

fn from(err: DetectEntitiesError) -> Self

Converts to this type from the input type.
source§

impl From<DetectKeyPhrasesError> for Error

source§

fn from(err: DetectKeyPhrasesError) -> Self

Converts to this type from the input type.
source§

impl From<DetectPiiEntitiesError> for Error

source§

fn from(err: DetectPiiEntitiesError) -> Self

Converts to this type from the input type.
source§

impl From<DetectSentimentError> for Error

source§

fn from(err: DetectSentimentError) -> Self

Converts to this type from the input type.
source§

impl From<DetectSyntaxError> for Error

source§

fn from(err: DetectSyntaxError) -> Self

Converts to this type from the input type.
source§

impl From<DetectTargetedSentimentError> for Error

source§

fn from(err: DetectTargetedSentimentError) -> Self

Converts to this type from the input type.
source§

impl From<ImportModelError> for Error

source§

fn from(err: ImportModelError) -> Self

Converts to this type from the input type.
source§

impl From<ListDatasetsError> for Error

source§

fn from(err: ListDatasetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListDocumentClassificationJobsError> for Error

source§

fn from(err: ListDocumentClassificationJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListDocumentClassifierSummariesError> for Error

source§

fn from(err: ListDocumentClassifierSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<ListDocumentClassifiersError> for Error

source§

fn from(err: ListDocumentClassifiersError) -> Self

Converts to this type from the input type.
source§

impl From<ListDominantLanguageDetectionJobsError> for Error

source§

fn from(err: ListDominantLanguageDetectionJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListEndpointsError> for Error

source§

fn from(err: ListEndpointsError) -> Self

Converts to this type from the input type.
source§

impl From<ListEntitiesDetectionJobsError> for Error

source§

fn from(err: ListEntitiesDetectionJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListEntityRecognizerSummariesError> for Error

source§

fn from(err: ListEntityRecognizerSummariesError) -> Self

Converts to this type from the input type.
source§

impl From<ListEntityRecognizersError> for Error

source§

fn from(err: ListEntityRecognizersError) -> Self

Converts to this type from the input type.
source§

impl From<ListEventsDetectionJobsError> for Error

source§

fn from(err: ListEventsDetectionJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListFlywheelIterationHistoryError> for Error

source§

fn from(err: ListFlywheelIterationHistoryError) -> Self

Converts to this type from the input type.
source§

impl From<ListFlywheelsError> for Error

source§

fn from(err: ListFlywheelsError) -> Self

Converts to this type from the input type.
source§

impl From<ListKeyPhrasesDetectionJobsError> for Error

source§

fn from(err: ListKeyPhrasesDetectionJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListPiiEntitiesDetectionJobsError> for Error

source§

fn from(err: ListPiiEntitiesDetectionJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListSentimentDetectionJobsError> for Error

source§

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

source§

fn from(err: ListTargetedSentimentDetectionJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListTopicsDetectionJobsError> for Error

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<StartDocumentClassificationJobError> for Error

source§

fn from(err: StartDocumentClassificationJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartDominantLanguageDetectionJobError> for Error

source§

fn from(err: StartDominantLanguageDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartEntitiesDetectionJobError> for Error

source§

fn from(err: StartEntitiesDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartEventsDetectionJobError> for Error

source§

fn from(err: StartEventsDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartFlywheelIterationError> for Error

source§

fn from(err: StartFlywheelIterationError) -> Self

Converts to this type from the input type.
source§

impl From<StartKeyPhrasesDetectionJobError> for Error

source§

fn from(err: StartKeyPhrasesDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartPiiEntitiesDetectionJobError> for Error

source§

fn from(err: StartPiiEntitiesDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartSentimentDetectionJobError> for Error

source§

fn from(err: StartSentimentDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartTargetedSentimentDetectionJobError> for Error

source§

fn from(err: StartTargetedSentimentDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StartTopicsDetectionJobError> for Error

source§

fn from(err: StartTopicsDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopDominantLanguageDetectionJobError> for Error

source§

fn from(err: StopDominantLanguageDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopEntitiesDetectionJobError> for Error

source§

fn from(err: StopEntitiesDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopEventsDetectionJobError> for Error

source§

fn from(err: StopEventsDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopKeyPhrasesDetectionJobError> for Error

source§

fn from(err: StopKeyPhrasesDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopPiiEntitiesDetectionJobError> for Error

source§

fn from(err: StopPiiEntitiesDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopSentimentDetectionJobError> for Error

source§

fn from(err: StopSentimentDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopTargetedSentimentDetectionJobError> for Error

source§

fn from(err: StopTargetedSentimentDetectionJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopTrainingDocumentClassifierError> for Error

source§

fn from(err: StopTrainingDocumentClassifierError) -> Self

Converts to this type from the input type.
source§

impl From<StopTrainingEntityRecognizerError> for Error

source§

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

source§

fn from(err: UpdateEndpointError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFlywheelError> for Error

source§

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