Enum aws_sdk_kendra::Error

source ·
#[non_exhaustive]
pub enum Error {
Show 13 variants AccessDeniedException(AccessDeniedException), ConflictException(ConflictException), FeaturedResultsConflictException(FeaturedResultsConflictException), InternalServerException(InternalServerException), InvalidRequestException(InvalidRequestException), ResourceAlreadyExistException(ResourceAlreadyExistException), ResourceInUseException(ResourceInUseException), ResourceNotFoundException(ResourceNotFoundException), ResourceUnavailableException(ResourceUnavailableException), ServiceQuotaExceededException(ServiceQuotaExceededException), ThrottlingException(ThrottlingException), 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 don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.

§

ConflictException(ConflictException)

A conflict occurred with the request. Please fix any inconsistences with your resources and try again.

§

FeaturedResultsConflictException(FeaturedResultsConflictException)

An error message with a list of conflicting queries used across different sets of featured results. This occurred with the request for a new featured results set. Check that the queries you specified for featured results are unique per featured results set for each index.

§

InternalServerException(InternalServerException)

An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.

§

InvalidRequestException(InvalidRequestException)

The input to the request is not valid. Please provide the correct input and try again.

§

ResourceAlreadyExistException(ResourceAlreadyExistException)

The resource you want to use already exists. Please check you have provided the correct resource and try again.

§

ResourceInUseException(ResourceInUseException)

The resource you want to use is currently in use. Please check you have provided the correct resource and try again.

§

ResourceNotFoundException(ResourceNotFoundException)

The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.

§

ResourceUnavailableException(ResourceUnavailableException)

The resource you want to use isn't available. Please check you have provided the correct resource and try again.

§

ServiceQuotaExceededException(ServiceQuotaExceededException)

You have exceeded the set limits for your Amazon Kendra service. Please see Quotas for more information, or contact Support to inquire about an increase of limits.

§

ThrottlingException(ThrottlingException)

The request was denied due to request throttling. Please reduce the number of requests and try again.

§

ValidationException(ValidationException)

The input fails to satisfy the constraints set by the Amazon Kendra service. Please provide the correct input and try again.

§

Unhandled(Unhandled)

👎Deprecated: Matching Unhandled directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code():    err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ } See ProvideErrorMetadata for what information is available for the error.

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

source§

fn from(err: AssociateEntitiesToExperienceError) -> Self

Converts to this type from the input type.
source§

impl From<AssociatePersonasToEntitiesError> for Error

source§

fn from(err: AssociatePersonasToEntitiesError) -> Self

Converts to this type from the input type.
source§

impl From<BatchDeleteDocumentError> for Error

source§

fn from(err: BatchDeleteDocumentError) -> Self

Converts to this type from the input type.
source§

impl From<BatchDeleteFeaturedResultsSetError> for Error

source§

fn from(err: BatchDeleteFeaturedResultsSetError) -> Self

Converts to this type from the input type.
source§

impl From<BatchGetDocumentStatusError> for Error

source§

fn from(err: BatchGetDocumentStatusError) -> Self

Converts to this type from the input type.
source§

impl From<BatchPutDocumentError> for Error

source§

fn from(err: BatchPutDocumentError) -> Self

Converts to this type from the input type.
source§

impl From<BuildError> for Error

source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
source§

impl From<ClearQuerySuggestionsError> for Error

source§

fn from(err: ClearQuerySuggestionsError) -> Self

Converts to this type from the input type.
source§

impl From<CreateAccessControlConfigurationError> for Error

source§

fn from(err: CreateAccessControlConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDataSourceError> for Error

source§

fn from(err: CreateDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<CreateExperienceError> for Error

source§

fn from(err: CreateExperienceError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFaqError> for Error

source§

fn from(err: CreateFaqError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFeaturedResultsSetError> for Error

source§

fn from(err: CreateFeaturedResultsSetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateIndexError> for Error

source§

fn from(err: CreateIndexError) -> Self

Converts to this type from the input type.
source§

impl From<CreateQuerySuggestionsBlockListError> for Error

source§

fn from(err: CreateQuerySuggestionsBlockListError) -> Self

Converts to this type from the input type.
source§

impl From<CreateThesaurusError> for Error

source§

fn from(err: CreateThesaurusError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAccessControlConfigurationError> for Error

source§

fn from(err: DeleteAccessControlConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDataSourceError> for Error

source§

fn from(err: DeleteDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteExperienceError> for Error

source§

fn from(err: DeleteExperienceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFaqError> for Error

source§

fn from(err: DeleteFaqError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteIndexError> for Error

source§

fn from(err: DeleteIndexError) -> Self

Converts to this type from the input type.
source§

impl From<DeletePrincipalMappingError> for Error

source§

fn from(err: DeletePrincipalMappingError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteQuerySuggestionsBlockListError> for Error

source§

fn from(err: DeleteQuerySuggestionsBlockListError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteThesaurusError> for Error

source§

fn from(err: DeleteThesaurusError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAccessControlConfigurationError> for Error

source§

fn from(err: DescribeAccessControlConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDataSourceError> for Error

source§

fn from(err: DescribeDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeExperienceError> for Error

source§

fn from(err: DescribeExperienceError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFaqError> for Error

source§

fn from(err: DescribeFaqError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFeaturedResultsSetError> for Error

source§

fn from(err: DescribeFeaturedResultsSetError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeIndexError> for Error

source§

fn from(err: DescribeIndexError) -> Self

Converts to this type from the input type.
source§

impl From<DescribePrincipalMappingError> for Error

source§

fn from(err: DescribePrincipalMappingError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeQuerySuggestionsBlockListError> for Error

source§

fn from(err: DescribeQuerySuggestionsBlockListError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeQuerySuggestionsConfigError> for Error

source§

fn from(err: DescribeQuerySuggestionsConfigError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeThesaurusError> for Error

source§

fn from(err: DescribeThesaurusError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateEntitiesFromExperienceError> for Error

source§

fn from(err: DisassociateEntitiesFromExperienceError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociatePersonasFromEntitiesError> for Error

source§

fn from(err: DisassociatePersonasFromEntitiesError) -> Self

Converts to this type from the input type.
source§

impl From<GetQuerySuggestionsError> for Error

source§

fn from(err: GetQuerySuggestionsError) -> Self

Converts to this type from the input type.
source§

impl From<GetSnapshotsError> for Error

source§

fn from(err: GetSnapshotsError) -> Self

Converts to this type from the input type.
source§

impl From<ListAccessControlConfigurationsError> for Error

source§

fn from(err: ListAccessControlConfigurationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListDataSourceSyncJobsError> for Error

source§

fn from(err: ListDataSourceSyncJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListDataSourcesError> for Error

source§

fn from(err: ListDataSourcesError) -> Self

Converts to this type from the input type.
source§

impl From<ListEntityPersonasError> for Error

source§

fn from(err: ListEntityPersonasError) -> Self

Converts to this type from the input type.
source§

impl From<ListExperienceEntitiesError> for Error

source§

fn from(err: ListExperienceEntitiesError) -> Self

Converts to this type from the input type.
source§

impl From<ListExperiencesError> for Error

source§

fn from(err: ListExperiencesError) -> Self

Converts to this type from the input type.
source§

impl From<ListFaqsError> for Error

source§

fn from(err: ListFaqsError) -> Self

Converts to this type from the input type.
source§

impl From<ListFeaturedResultsSetsError> for Error

source§

fn from(err: ListFeaturedResultsSetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListGroupsOlderThanOrderingIdError> for Error

source§

fn from(err: ListGroupsOlderThanOrderingIdError) -> Self

Converts to this type from the input type.
source§

impl From<ListIndicesError> for Error

source§

fn from(err: ListIndicesError) -> Self

Converts to this type from the input type.
source§

impl From<ListQuerySuggestionsBlockListsError> for Error

source§

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

source§

fn from(err: ListThesauriError) -> Self

Converts to this type from the input type.
source§

impl From<PutPrincipalMappingError> for Error

source§

fn from(err: PutPrincipalMappingError) -> Self

Converts to this type from the input type.
source§

impl From<QueryError> for Error

source§

fn from(err: QueryError) -> Self

Converts to this type from the input type.
source§

impl From<RetrieveError> for Error

source§

fn from(err: RetrieveError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<ListQuerySuggestionsBlockListsError, 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<ListThesauriError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<SubmitFeedbackError, 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<UpdateAccessControlConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<StartDataSourceSyncJobError> for Error

source§

fn from(err: StartDataSourceSyncJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopDataSourceSyncJobError> for Error

source§

fn from(err: StopDataSourceSyncJobError) -> Self

Converts to this type from the input type.
source§

impl From<SubmitFeedbackError> for Error

source§

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

source§

fn from(err: UpdateAccessControlConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateDataSourceError> for Error

source§

fn from(err: UpdateDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateExperienceError> for Error

source§

fn from(err: UpdateExperienceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFeaturedResultsSetError> for Error

source§

fn from(err: UpdateFeaturedResultsSetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateIndexError> for Error

source§

fn from(err: UpdateIndexError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateQuerySuggestionsBlockListError> for Error

source§

fn from(err: UpdateQuerySuggestionsBlockListError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateQuerySuggestionsConfigError> for Error

source§

fn from(err: UpdateQuerySuggestionsConfigError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateThesaurusError> for Error

source§

fn from(err: UpdateThesaurusError) -> Self

Converts to this type from the input type.
source§

impl ProvideErrorMetadata for Error

source§

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
source§

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

Returns the error code if it’s available.
source§

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

Returns the error message, if there is one.
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 Freeze for Error

§

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> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
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