#[non_exhaustive]
pub enum Error {
Show 21 variants AcceleratorNotDisabledException(AcceleratorNotDisabledException), AcceleratorNotFoundException(AcceleratorNotFoundException), AccessDeniedException(AccessDeniedException), AssociatedEndpointGroupFoundException(AssociatedEndpointGroupFoundException), AssociatedListenerFoundException(AssociatedListenerFoundException), AttachmentNotFoundException(AttachmentNotFoundException), ByoipCidrNotFoundException(ByoipCidrNotFoundException), ConflictException(ConflictException), EndpointAlreadyExistsException(EndpointAlreadyExistsException), EndpointGroupAlreadyExistsException(EndpointGroupAlreadyExistsException), EndpointGroupNotFoundException(EndpointGroupNotFoundException), EndpointNotFoundException(EndpointNotFoundException), IncorrectCidrStateException(IncorrectCidrStateException), InternalServiceErrorException(InternalServiceErrorException), InvalidArgumentException(InvalidArgumentException), InvalidNextTokenException(InvalidNextTokenException), InvalidPortRangeException(InvalidPortRangeException), LimitExceededException(LimitExceededException), ListenerNotFoundException(ListenerNotFoundException), TransactionInProgressException(TransactionInProgressException), 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.
§

AcceleratorNotDisabledException(AcceleratorNotDisabledException)

The accelerator that you specified could not be disabled.

§

AcceleratorNotFoundException(AcceleratorNotFoundException)

The accelerator that you specified doesn't exist.

§

AccessDeniedException(AccessDeniedException)

You don't have access permission.

§

AssociatedEndpointGroupFoundException(AssociatedEndpointGroupFoundException)

The listener that you specified has an endpoint group associated with it. You must remove all dependent resources from a listener before you can delete it.

§

AssociatedListenerFoundException(AssociatedListenerFoundException)

The accelerator that you specified has a listener associated with it. You must remove all dependent resources from an accelerator before you can delete it.

§

AttachmentNotFoundException(AttachmentNotFoundException)

No cross-account attachment was found.

§

ByoipCidrNotFoundException(ByoipCidrNotFoundException)

The CIDR that you specified was not found or is incorrect.

§

ConflictException(ConflictException)

You can't use both of those options.

§

EndpointAlreadyExistsException(EndpointAlreadyExistsException)

The endpoint that you specified doesn't exist.

§

EndpointGroupAlreadyExistsException(EndpointGroupAlreadyExistsException)

The endpoint group that you specified already exists.

§

EndpointGroupNotFoundException(EndpointGroupNotFoundException)

The endpoint group that you specified doesn't exist.

§

EndpointNotFoundException(EndpointNotFoundException)

The endpoint that you specified doesn't exist.

§

IncorrectCidrStateException(IncorrectCidrStateException)

The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.

§

InternalServiceErrorException(InternalServiceErrorException)

There was an internal error for Global Accelerator.

§

InvalidArgumentException(InvalidArgumentException)

An argument that you specified is invalid.

§

InvalidNextTokenException(InvalidNextTokenException)

There isn't another item to return.

§

InvalidPortRangeException(InvalidPortRangeException)

The port numbers that you specified are not valid numbers or are not unique for this accelerator.

§

LimitExceededException(LimitExceededException)

Processing your request would cause you to exceed an Global Accelerator limit.

§

ListenerNotFoundException(ListenerNotFoundException)

The listener that you specified doesn't exist.

§

TransactionInProgressException(TransactionInProgressException)

There's already a transaction in progress. Another transaction can't be processed.

§

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

source§

fn from(err: AddCustomRoutingEndpointsError) -> Self

Converts to this type from the input type.
source§

impl From<AddEndpointsError> for Error

source§

fn from(err: AddEndpointsError) -> Self

Converts to this type from the input type.
source§

impl From<AdvertiseByoipCidrError> for Error

source§

fn from(err: AdvertiseByoipCidrError) -> Self

Converts to this type from the input type.
source§

impl From<AllowCustomRoutingTrafficError> for Error

source§

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

source§

fn from(err: CreateAcceleratorError) -> Self

Converts to this type from the input type.
source§

impl From<CreateCrossAccountAttachmentError> for Error

source§

fn from(err: CreateCrossAccountAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<CreateCustomRoutingAcceleratorError> for Error

source§

fn from(err: CreateCustomRoutingAcceleratorError) -> Self

Converts to this type from the input type.
source§

impl From<CreateCustomRoutingEndpointGroupError> for Error

source§

fn from(err: CreateCustomRoutingEndpointGroupError) -> Self

Converts to this type from the input type.
source§

impl From<CreateCustomRoutingListenerError> for Error

source§

fn from(err: CreateCustomRoutingListenerError) -> Self

Converts to this type from the input type.
source§

impl From<CreateEndpointGroupError> for Error

source§

fn from(err: CreateEndpointGroupError) -> Self

Converts to this type from the input type.
source§

impl From<CreateListenerError> for Error

source§

fn from(err: CreateListenerError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAcceleratorError> for Error

source§

fn from(err: DeleteAcceleratorError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCrossAccountAttachmentError> for Error

source§

fn from(err: DeleteCrossAccountAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCustomRoutingAcceleratorError> for Error

source§

fn from(err: DeleteCustomRoutingAcceleratorError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCustomRoutingEndpointGroupError> for Error

source§

fn from(err: DeleteCustomRoutingEndpointGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCustomRoutingListenerError> for Error

source§

fn from(err: DeleteCustomRoutingListenerError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteEndpointGroupError> for Error

source§

fn from(err: DeleteEndpointGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteListenerError> for Error

source§

fn from(err: DeleteListenerError) -> Self

Converts to this type from the input type.
source§

impl From<DenyCustomRoutingTrafficError> for Error

source§

fn from(err: DenyCustomRoutingTrafficError) -> Self

Converts to this type from the input type.
source§

impl From<DeprovisionByoipCidrError> for Error

source§

fn from(err: DeprovisionByoipCidrError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAcceleratorAttributesError> for Error

source§

fn from(err: DescribeAcceleratorAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAcceleratorError> for Error

source§

fn from(err: DescribeAcceleratorError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeCrossAccountAttachmentError> for Error

source§

fn from(err: DescribeCrossAccountAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeCustomRoutingAcceleratorAttributesError> for Error

source§

fn from(err: DescribeCustomRoutingAcceleratorAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeCustomRoutingAcceleratorError> for Error

source§

fn from(err: DescribeCustomRoutingAcceleratorError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeCustomRoutingEndpointGroupError> for Error

source§

fn from(err: DescribeCustomRoutingEndpointGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeCustomRoutingListenerError> for Error

source§

fn from(err: DescribeCustomRoutingListenerError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEndpointGroupError> for Error

source§

fn from(err: DescribeEndpointGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeListenerError> for Error

source§

fn from(err: DescribeListenerError) -> Self

Converts to this type from the input type.
source§

impl From<ListAcceleratorsError> for Error

source§

fn from(err: ListAcceleratorsError) -> Self

Converts to this type from the input type.
source§

impl From<ListByoipCidrsError> for Error

source§

fn from(err: ListByoipCidrsError) -> Self

Converts to this type from the input type.
source§

impl From<ListCrossAccountAttachmentsError> for Error

source§

fn from(err: ListCrossAccountAttachmentsError) -> Self

Converts to this type from the input type.
source§

impl From<ListCrossAccountResourceAccountsError> for Error

source§

fn from(err: ListCrossAccountResourceAccountsError) -> Self

Converts to this type from the input type.
source§

impl From<ListCrossAccountResourcesError> for Error

source§

fn from(err: ListCrossAccountResourcesError) -> Self

Converts to this type from the input type.
source§

impl From<ListCustomRoutingAcceleratorsError> for Error

source§

fn from(err: ListCustomRoutingAcceleratorsError) -> Self

Converts to this type from the input type.
source§

impl From<ListCustomRoutingEndpointGroupsError> for Error

source§

fn from(err: ListCustomRoutingEndpointGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListCustomRoutingListenersError> for Error

source§

fn from(err: ListCustomRoutingListenersError) -> Self

Converts to this type from the input type.
source§

impl From<ListCustomRoutingPortMappingsByDestinationError> for Error

source§

fn from(err: ListCustomRoutingPortMappingsByDestinationError) -> Self

Converts to this type from the input type.
source§

impl From<ListCustomRoutingPortMappingsError> for Error

source§

fn from(err: ListCustomRoutingPortMappingsError) -> Self

Converts to this type from the input type.
source§

impl From<ListEndpointGroupsError> for Error

source§

fn from(err: ListEndpointGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListListenersError> for Error

source§

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

source§

fn from(err: ProvisionByoipCidrError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveCustomRoutingEndpointsError> for Error

source§

fn from(err: RemoveCustomRoutingEndpointsError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveEndpointsError> for Error

source§

fn from(err: RemoveEndpointsError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<TagResourceError> for Error

source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateAcceleratorAttributesError> for Error

source§

fn from(err: UpdateAcceleratorAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateAcceleratorError> for Error

source§

fn from(err: UpdateAcceleratorError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateCrossAccountAttachmentError> for Error

source§

fn from(err: UpdateCrossAccountAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateCustomRoutingAcceleratorAttributesError> for Error

source§

fn from(err: UpdateCustomRoutingAcceleratorAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateCustomRoutingAcceleratorError> for Error

source§

fn from(err: UpdateCustomRoutingAcceleratorError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateCustomRoutingListenerError> for Error

source§

fn from(err: UpdateCustomRoutingListenerError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateEndpointGroupError> for Error

source§

fn from(err: UpdateEndpointGroupError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateListenerError> for Error

source§

fn from(err: UpdateListenerError) -> Self

Converts to this type from the input type.
source§

impl From<WithdrawByoipCidrError> for Error

source§

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