#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), ApiKeyLimitExceededException(ApiKeyLimitExceededException), ApiKeyValidityOutOfBoundsException(ApiKeyValidityOutOfBoundsException), ApiLimitExceededException(ApiLimitExceededException), BadRequestException(BadRequestException), ConcurrentModificationException(ConcurrentModificationException), GraphQlSchemaException(GraphQlSchemaException), InternalFailureException(InternalFailureException), LimitExceededException(LimitExceededException), NotFoundException(NotFoundException), UnauthorizedException(UnauthorizedException), 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 access to perform this operation on this resource.

§

ApiKeyLimitExceededException(ApiKeyLimitExceededException)

The API key exceeded a limit. Try your request again.

§

ApiKeyValidityOutOfBoundsException(ApiKeyValidityOutOfBoundsException)

The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey) or from update (for UpdateApiKey).

§

ApiLimitExceededException(ApiLimitExceededException)

The GraphQL API exceeded a limit. Try your request again.

§

BadRequestException(BadRequestException)

The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.

§

ConcurrentModificationException(ConcurrentModificationException)

Another modification is in progress at this time and it must complete before you can make your change.

§

GraphQlSchemaException(GraphQlSchemaException)

The GraphQL schema is not valid.

§

InternalFailureException(InternalFailureException)

An internal AppSync error occurred. Try your request again.

§

LimitExceededException(LimitExceededException)

The request exceeded a limit. Try your request again.

§

NotFoundException(NotFoundException)

The resource specified in the request was not found. Check the resource, and then try again.

§

UnauthorizedException(UnauthorizedException)

You aren't authorized to perform this operation.

§

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, demand: &mut Demand<'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<AssociateApiError> for Error

source§

fn from(err: AssociateApiError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateMergedGraphqlApiError> for Error

source§

fn from(err: AssociateMergedGraphqlApiError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateSourceGraphqlApiError> for Error

source§

fn from(err: AssociateSourceGraphqlApiError) -> Self

Converts to this type from the input type.
source§

impl From<CreateApiCacheError> for Error

source§

fn from(err: CreateApiCacheError) -> Self

Converts to this type from the input type.
source§

impl From<CreateApiKeyError> for Error

source§

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

source§

fn from(err: CreateDomainNameError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFunctionError> for Error

source§

fn from(err: CreateFunctionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateGraphqlApiError> for Error

source§

fn from(err: CreateGraphqlApiError) -> Self

Converts to this type from the input type.
source§

impl From<CreateResolverError> for Error

source§

fn from(err: CreateResolverError) -> Self

Converts to this type from the input type.
source§

impl From<CreateTypeError> for Error

source§

fn from(err: CreateTypeError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApiCacheError> for Error

source§

fn from(err: DeleteApiCacheError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApiKeyError> for Error

source§

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

source§

fn from(err: DeleteDomainNameError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFunctionError> for Error

source§

fn from(err: DeleteFunctionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteGraphqlApiError> for Error

source§

fn from(err: DeleteGraphqlApiError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteResolverError> for Error

source§

fn from(err: DeleteResolverError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteTypeError> for Error

source§

fn from(err: DeleteTypeError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateApiError> for Error

source§

fn from(err: DisassociateApiError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateMergedGraphqlApiError> for Error

source§

fn from(err: DisassociateMergedGraphqlApiError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateSourceGraphqlApiError> for Error

source§

fn from(err: DisassociateSourceGraphqlApiError) -> Self

Converts to this type from the input type.
source§

impl From<EvaluateCodeError> for Error

source§

fn from(err: EvaluateCodeError) -> Self

Converts to this type from the input type.
source§

impl From<EvaluateMappingTemplateError> for Error

source§

fn from(err: EvaluateMappingTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<FlushApiCacheError> for Error

source§

fn from(err: FlushApiCacheError) -> Self

Converts to this type from the input type.
source§

impl From<GetApiAssociationError> for Error

source§

fn from(err: GetApiAssociationError) -> Self

Converts to this type from the input type.
source§

impl From<GetApiCacheError> for Error

source§

fn from(err: GetApiCacheError) -> Self

Converts to this type from the input type.
source§

impl From<GetDataSourceError> for Error

source§

fn from(err: GetDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<GetDomainNameError> for Error

source§

fn from(err: GetDomainNameError) -> Self

Converts to this type from the input type.
source§

impl From<GetFunctionError> for Error

source§

fn from(err: GetFunctionError) -> Self

Converts to this type from the input type.
source§

impl From<GetGraphqlApiError> for Error

source§

fn from(err: GetGraphqlApiError) -> Self

Converts to this type from the input type.
source§

impl From<GetIntrospectionSchemaError> for Error

source§

fn from(err: GetIntrospectionSchemaError) -> Self

Converts to this type from the input type.
source§

impl From<GetResolverError> for Error

source§

fn from(err: GetResolverError) -> Self

Converts to this type from the input type.
source§

impl From<GetSchemaCreationStatusError> for Error

source§

fn from(err: GetSchemaCreationStatusError) -> Self

Converts to this type from the input type.
source§

impl From<GetSourceApiAssociationError> for Error

source§

fn from(err: GetSourceApiAssociationError) -> Self

Converts to this type from the input type.
source§

impl From<GetTypeError> for Error

source§

fn from(err: GetTypeError) -> Self

Converts to this type from the input type.
source§

impl From<ListApiKeysError> for Error

source§

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

source§

fn from(err: ListDomainNamesError) -> Self

Converts to this type from the input type.
source§

impl From<ListFunctionsError> for Error

source§

fn from(err: ListFunctionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListGraphqlApisError> for Error

source§

fn from(err: ListGraphqlApisError) -> Self

Converts to this type from the input type.
source§

impl From<ListResolversByFunctionError> for Error

source§

fn from(err: ListResolversByFunctionError) -> Self

Converts to this type from the input type.
source§

impl From<ListResolversError> for Error

source§

fn from(err: ListResolversError) -> Self

Converts to this type from the input type.
source§

impl From<ListSourceApiAssociationsError> for Error

source§

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

source§

fn from(err: ListTypesByAssociationError) -> Self

Converts to this type from the input type.
source§

impl From<ListTypesError> for Error

source§

fn from(err: ListTypesError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateDataSourceError, R>> for Errorwhere 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<CreateDomainNameError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteDataSourceError, R>> for Errorwhere 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<DeleteDomainNameError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListDataSourcesError, R>> for Errorwhere 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<ListDomainNamesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateDataSourceError, R>> for Errorwhere 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<UpdateDomainNameError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<StartSchemaCreationError> for Error

source§

fn from(err: StartSchemaCreationError) -> Self

Converts to this type from the input type.
source§

impl From<StartSchemaMergeError> for Error

source§

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

source§

fn from(err: UpdateApiCacheError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateApiKeyError> for Error

source§

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

source§

fn from(err: UpdateDomainNameError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFunctionError> for Error

source§

fn from(err: UpdateFunctionError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateGraphqlApiError> for Error

source§

fn from(err: UpdateGraphqlApiError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateResolverError> for Error

source§

fn from(err: UpdateResolverError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateSourceApiAssociationError> for Error

source§

fn from(err: UpdateSourceApiAssociationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateTypeError> for Error

source§

fn from(err: UpdateTypeError) -> 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<E> Provider for Ewhere E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. Read more
source§

impl<T> Same<T> 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