#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), ConflictException(ConflictException), CoreNetworkPolicyException(CoreNetworkPolicyException), InternalServerException(InternalServerException), ResourceNotFoundException(ResourceNotFoundException), 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 do not have sufficient access to perform this action.

§

ConflictException(ConflictException)

There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.

§

CoreNetworkPolicyException(CoreNetworkPolicyException)

Describes a core network policy exception.

§

InternalServerException(InternalServerException)

The request has failed due to an internal error.

§

ResourceNotFoundException(ResourceNotFoundException)

The specified resource could not be found.

§

ServiceQuotaExceededException(ServiceQuotaExceededException)

A service limit was exceeded.

§

ThrottlingException(ThrottlingException)

The request was denied due to request throttling.

§

ValidationException(ValidationException)

The input fails to satisfy the constraints.

§

Unhandled(Unhandled)

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AcceptAttachmentError> for Error

source§

fn from(err: AcceptAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateConnectPeerError> for Error

source§

fn from(err: AssociateConnectPeerError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateCustomerGatewayError> for Error

source§

fn from(err: AssociateCustomerGatewayError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateLinkError> for Error

source§

fn from(err: AssociateLinkError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateTransitGatewayConnectPeerError> for Error

source§

fn from(err: AssociateTransitGatewayConnectPeerError) -> Self

Converts to this type from the input type.
source§

impl From<CreateConnectAttachmentError> for Error

source§

fn from(err: CreateConnectAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<CreateConnectPeerError> for Error

source§

fn from(err: CreateConnectPeerError) -> Self

Converts to this type from the input type.
source§

impl From<CreateConnectionError> for Error

source§

fn from(err: CreateConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateCoreNetworkError> for Error

source§

fn from(err: CreateCoreNetworkError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDeviceError> for Error

source§

fn from(err: CreateDeviceError) -> Self

Converts to this type from the input type.
source§

impl From<CreateGlobalNetworkError> for Error

source§

fn from(err: CreateGlobalNetworkError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLinkError> for Error

source§

fn from(err: CreateLinkError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSiteError> for Error

source§

fn from(err: CreateSiteError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSiteToSiteVpnAttachmentError> for Error

source§

fn from(err: CreateSiteToSiteVpnAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<CreateTransitGatewayPeeringError> for Error

source§

fn from(err: CreateTransitGatewayPeeringError) -> Self

Converts to this type from the input type.
source§

impl From<CreateTransitGatewayRouteTableAttachmentError> for Error

source§

fn from(err: CreateTransitGatewayRouteTableAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<CreateVpcAttachmentError> for Error

source§

fn from(err: CreateVpcAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAttachmentError> for Error

source§

fn from(err: DeleteAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteConnectPeerError> for Error

source§

fn from(err: DeleteConnectPeerError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteConnectionError> for Error

source§

fn from(err: DeleteConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCoreNetworkError> for Error

source§

fn from(err: DeleteCoreNetworkError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCoreNetworkPolicyVersionError> for Error

source§

fn from(err: DeleteCoreNetworkPolicyVersionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDeviceError> for Error

source§

fn from(err: DeleteDeviceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteGlobalNetworkError> for Error

source§

fn from(err: DeleteGlobalNetworkError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLinkError> for Error

source§

fn from(err: DeleteLinkError) -> Self

Converts to this type from the input type.
source§

impl From<DeletePeeringError> for Error

source§

fn from(err: DeletePeeringError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteResourcePolicyError> for Error

source§

fn from(err: DeleteResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSiteError> for Error

source§

fn from(err: DeleteSiteError) -> Self

Converts to this type from the input type.
source§

impl From<DeregisterTransitGatewayError> for Error

source§

fn from(err: DeregisterTransitGatewayError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeGlobalNetworksError> for Error

source§

fn from(err: DescribeGlobalNetworksError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateConnectPeerError> for Error

source§

fn from(err: DisassociateConnectPeerError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateCustomerGatewayError> for Error

source§

fn from(err: DisassociateCustomerGatewayError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateLinkError> for Error

source§

fn from(err: DisassociateLinkError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateTransitGatewayConnectPeerError> for Error

source§

fn from(err: DisassociateTransitGatewayConnectPeerError) -> Self

Converts to this type from the input type.
source§

impl From<ExecuteCoreNetworkChangeSetError> for Error

source§

fn from(err: ExecuteCoreNetworkChangeSetError) -> Self

Converts to this type from the input type.
source§

impl From<GetConnectAttachmentError> for Error

source§

fn from(err: GetConnectAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<GetConnectPeerAssociationsError> for Error

source§

fn from(err: GetConnectPeerAssociationsError) -> Self

Converts to this type from the input type.
source§

impl From<GetConnectPeerError> for Error

source§

fn from(err: GetConnectPeerError) -> Self

Converts to this type from the input type.
source§

impl From<GetConnectionsError> for Error

source§

fn from(err: GetConnectionsError) -> Self

Converts to this type from the input type.
source§

impl From<GetCoreNetworkChangeEventsError> for Error

source§

fn from(err: GetCoreNetworkChangeEventsError) -> Self

Converts to this type from the input type.
source§

impl From<GetCoreNetworkChangeSetError> for Error

source§

fn from(err: GetCoreNetworkChangeSetError) -> Self

Converts to this type from the input type.
source§

impl From<GetCoreNetworkError> for Error

source§

fn from(err: GetCoreNetworkError) -> Self

Converts to this type from the input type.
source§

impl From<GetCoreNetworkPolicyError> for Error

source§

fn from(err: GetCoreNetworkPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetCustomerGatewayAssociationsError> for Error

source§

fn from(err: GetCustomerGatewayAssociationsError) -> Self

Converts to this type from the input type.
source§

impl From<GetDevicesError> for Error

source§

fn from(err: GetDevicesError) -> Self

Converts to this type from the input type.
source§

impl From<GetLinkAssociationsError> for Error

source§

fn from(err: GetLinkAssociationsError) -> Self

Converts to this type from the input type.
source§

impl From<GetLinksError> for Error

source§

fn from(err: GetLinksError) -> Self

Converts to this type from the input type.
source§

impl From<GetNetworkResourceCountsError> for Error

source§

fn from(err: GetNetworkResourceCountsError) -> Self

Converts to this type from the input type.
source§

impl From<GetNetworkResourceRelationshipsError> for Error

source§

fn from(err: GetNetworkResourceRelationshipsError) -> Self

Converts to this type from the input type.
source§

impl From<GetNetworkResourcesError> for Error

source§

fn from(err: GetNetworkResourcesError) -> Self

Converts to this type from the input type.
source§

impl From<GetNetworkRoutesError> for Error

source§

fn from(err: GetNetworkRoutesError) -> Self

Converts to this type from the input type.
source§

impl From<GetNetworkTelemetryError> for Error

source§

fn from(err: GetNetworkTelemetryError) -> Self

Converts to this type from the input type.
source§

impl From<GetResourcePolicyError> for Error

source§

fn from(err: GetResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetRouteAnalysisError> for Error

source§

fn from(err: GetRouteAnalysisError) -> Self

Converts to this type from the input type.
source§

impl From<GetSiteToSiteVpnAttachmentError> for Error

source§

fn from(err: GetSiteToSiteVpnAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<GetSitesError> for Error

source§

fn from(err: GetSitesError) -> Self

Converts to this type from the input type.
source§

impl From<GetTransitGatewayConnectPeerAssociationsError> for Error

source§

fn from(err: GetTransitGatewayConnectPeerAssociationsError) -> Self

Converts to this type from the input type.
source§

impl From<GetTransitGatewayPeeringError> for Error

source§

fn from(err: GetTransitGatewayPeeringError) -> Self

Converts to this type from the input type.
source§

impl From<GetTransitGatewayRegistrationsError> for Error

source§

fn from(err: GetTransitGatewayRegistrationsError) -> Self

Converts to this type from the input type.
source§

impl From<GetTransitGatewayRouteTableAttachmentError> for Error

source§

fn from(err: GetTransitGatewayRouteTableAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<GetVpcAttachmentError> for Error

source§

fn from(err: GetVpcAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<ListAttachmentsError> for Error

source§

fn from(err: ListAttachmentsError) -> Self

Converts to this type from the input type.
source§

impl From<ListConnectPeersError> for Error

source§

fn from(err: ListConnectPeersError) -> Self

Converts to this type from the input type.
source§

impl From<ListCoreNetworkPolicyVersionsError> for Error

source§

fn from(err: ListCoreNetworkPolicyVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListCoreNetworksError> for Error

source§

fn from(err: ListCoreNetworksError) -> Self

Converts to this type from the input type.
source§

impl From<ListOrganizationServiceAccessStatusError> for Error

source§

fn from(err: ListOrganizationServiceAccessStatusError) -> Self

Converts to this type from the input type.
source§

impl From<ListPeeringsError> for Error

source§

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

source§

fn from(err: PutCoreNetworkPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<PutResourcePolicyError> for Error

source§

fn from(err: PutResourcePolicyError) -> Self

Converts to this type from the input type.
source§

impl From<RegisterTransitGatewayError> for Error

source§

fn from(err: RegisterTransitGatewayError) -> Self

Converts to this type from the input type.
source§

impl From<RejectAttachmentError> for Error

source§

fn from(err: RejectAttachmentError) -> Self

Converts to this type from the input type.
source§

impl From<RestoreCoreNetworkPolicyVersionError> for Error

source§

fn from(err: RestoreCoreNetworkPolicyVersionError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<StartOrganizationServiceAccessUpdateError> for Error

source§

fn from(err: StartOrganizationServiceAccessUpdateError) -> Self

Converts to this type from the input type.
source§

impl From<StartRouteAnalysisError> for Error

source§

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

source§

fn from(err: UpdateConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateCoreNetworkError> for Error

source§

fn from(err: UpdateCoreNetworkError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateDeviceError> for Error

source§

fn from(err: UpdateDeviceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateGlobalNetworkError> for Error

source§

fn from(err: UpdateGlobalNetworkError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateLinkError> for Error

source§

fn from(err: UpdateLinkError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateNetworkResourceMetadataError> for Error

source§

fn from(err: UpdateNetworkResourceMetadataError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateSiteError> for Error

source§

fn from(err: UpdateSiteError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateVpcAttachmentError> for Error

source§

fn from(err: UpdateVpcAttachmentError) -> Self

Converts to this type from the input type.
source§

impl RequestId for Error

source§

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

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more