Enum aws_sdk_eventbridge::Error
source · #[non_exhaustive]pub enum Error {
ConcurrentModificationException(ConcurrentModificationException),
IllegalStatusException(IllegalStatusException),
InternalException(InternalException),
InvalidEventPatternException(InvalidEventPatternException),
InvalidStateException(InvalidStateException),
LimitExceededException(LimitExceededException),
ManagedRuleException(ManagedRuleException),
OperationDisabledException(OperationDisabledException),
PolicyLengthExceededException(PolicyLengthExceededException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ResourceNotFoundException(ResourceNotFoundException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ConcurrentModificationException(ConcurrentModificationException)
There is concurrent modification on a rule, target, archive, or replay.
IllegalStatusException(IllegalStatusException)
An error occurred because a replay can be canceled only when the state is Running or Starting.
InternalException(InternalException)
This exception occurs due to unexpected causes.
InvalidEventPatternException(InvalidEventPatternException)
The event pattern is not valid.
InvalidStateException(InvalidStateException)
The specified state is not a valid state for an event source.
LimitExceededException(LimitExceededException)
The request failed because it attempted to create resource beyond the allowed service quota.
ManagedRuleException(ManagedRuleException)
This rule was created by an Amazon Web Services service on behalf of your account. It is managed by that service. If you see this error in response to DeleteRule
or RemoveTargets
, you can use the Force
parameter in those calls to delete the rule or remove targets from the rule. You cannot modify these managed rules by using DisableRule
, EnableRule
, PutTargets
, PutRule
, TagResource
, or UntagResource
.
OperationDisabledException(OperationDisabledException)
The operation you are attempting is not available in this region.
PolicyLengthExceededException(PolicyLengthExceededException)
The event bus policy is too long. For more information, see the limits.
ResourceAlreadyExistsException(ResourceAlreadyExistsException)
The resource you are trying to create already exists.
ResourceNotFoundException(ResourceNotFoundException)
An entity that you specified does not exist.
Unhandled(Unhandled)
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 Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<ActivateEventSourceError> for Error
impl From<ActivateEventSourceError> for Error
source§fn from(err: ActivateEventSourceError) -> Self
fn from(err: ActivateEventSourceError) -> Self
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<CancelReplayError> for Error
impl From<CancelReplayError> for Error
source§fn from(err: CancelReplayError) -> Self
fn from(err: CancelReplayError) -> Self
source§impl From<CreateApiDestinationError> for Error
impl From<CreateApiDestinationError> for Error
source§fn from(err: CreateApiDestinationError) -> Self
fn from(err: CreateApiDestinationError) -> Self
source§impl From<CreateArchiveError> for Error
impl From<CreateArchiveError> for Error
source§fn from(err: CreateArchiveError) -> Self
fn from(err: CreateArchiveError) -> Self
source§impl From<CreateConnectionError> for Error
impl From<CreateConnectionError> for Error
source§fn from(err: CreateConnectionError) -> Self
fn from(err: CreateConnectionError) -> Self
source§impl From<CreateEndpointError> for Error
impl From<CreateEndpointError> for Error
source§fn from(err: CreateEndpointError) -> Self
fn from(err: CreateEndpointError) -> Self
source§impl From<CreateEventBusError> for Error
impl From<CreateEventBusError> for Error
source§fn from(err: CreateEventBusError) -> Self
fn from(err: CreateEventBusError) -> Self
source§impl From<CreatePartnerEventSourceError> for Error
impl From<CreatePartnerEventSourceError> for Error
source§fn from(err: CreatePartnerEventSourceError) -> Self
fn from(err: CreatePartnerEventSourceError) -> Self
source§impl From<DeactivateEventSourceError> for Error
impl From<DeactivateEventSourceError> for Error
source§fn from(err: DeactivateEventSourceError) -> Self
fn from(err: DeactivateEventSourceError) -> Self
source§fn from(err: DeauthorizeConnectionError) -> Self
fn from(err: DeauthorizeConnectionError) -> Self
source§impl From<DeleteApiDestinationError> for Error
impl From<DeleteApiDestinationError> for Error
source§fn from(err: DeleteApiDestinationError) -> Self
fn from(err: DeleteApiDestinationError) -> Self
source§impl From<DeleteArchiveError> for Error
impl From<DeleteArchiveError> for Error
source§fn from(err: DeleteArchiveError) -> Self
fn from(err: DeleteArchiveError) -> Self
source§impl From<DeleteConnectionError> for Error
impl From<DeleteConnectionError> for Error
source§fn from(err: DeleteConnectionError) -> Self
fn from(err: DeleteConnectionError) -> Self
source§impl From<DeleteEndpointError> for Error
impl From<DeleteEndpointError> for Error
source§fn from(err: DeleteEndpointError) -> Self
fn from(err: DeleteEndpointError) -> Self
source§impl From<DeleteEventBusError> for Error
impl From<DeleteEventBusError> for Error
source§fn from(err: DeleteEventBusError) -> Self
fn from(err: DeleteEventBusError) -> Self
source§impl From<DeletePartnerEventSourceError> for Error
impl From<DeletePartnerEventSourceError> for Error
source§fn from(err: DeletePartnerEventSourceError) -> Self
fn from(err: DeletePartnerEventSourceError) -> Self
source§impl From<DeleteRuleError> for Error
impl From<DeleteRuleError> for Error
source§fn from(err: DeleteRuleError) -> Self
fn from(err: DeleteRuleError) -> Self
source§impl From<DescribeApiDestinationError> for Error
impl From<DescribeApiDestinationError> for Error
source§fn from(err: DescribeApiDestinationError) -> Self
fn from(err: DescribeApiDestinationError) -> Self
source§impl From<DescribeArchiveError> for Error
impl From<DescribeArchiveError> for Error
source§fn from(err: DescribeArchiveError) -> Self
fn from(err: DescribeArchiveError) -> Self
source§impl From<DescribeConnectionError> for Error
impl From<DescribeConnectionError> for Error
source§fn from(err: DescribeConnectionError) -> Self
fn from(err: DescribeConnectionError) -> Self
source§impl From<DescribeEndpointError> for Error
impl From<DescribeEndpointError> for Error
source§fn from(err: DescribeEndpointError) -> Self
fn from(err: DescribeEndpointError) -> Self
source§impl From<DescribeEventBusError> for Error
impl From<DescribeEventBusError> for Error
source§fn from(err: DescribeEventBusError) -> Self
fn from(err: DescribeEventBusError) -> Self
source§impl From<DescribeEventSourceError> for Error
impl From<DescribeEventSourceError> for Error
source§fn from(err: DescribeEventSourceError) -> Self
fn from(err: DescribeEventSourceError) -> Self
source§impl From<DescribePartnerEventSourceError> for Error
impl From<DescribePartnerEventSourceError> for Error
source§fn from(err: DescribePartnerEventSourceError) -> Self
fn from(err: DescribePartnerEventSourceError) -> Self
source§impl From<DescribeReplayError> for Error
impl From<DescribeReplayError> for Error
source§fn from(err: DescribeReplayError) -> Self
fn from(err: DescribeReplayError) -> Self
source§impl From<DescribeRuleError> for Error
impl From<DescribeRuleError> for Error
source§fn from(err: DescribeRuleError) -> Self
fn from(err: DescribeRuleError) -> Self
source§impl From<DisableRuleError> for Error
impl From<DisableRuleError> for Error
source§fn from(err: DisableRuleError) -> Self
fn from(err: DisableRuleError) -> Self
source§impl From<EnableRuleError> for Error
impl From<EnableRuleError> for Error
source§fn from(err: EnableRuleError) -> Self
fn from(err: EnableRuleError) -> Self
source§impl From<ListApiDestinationsError> for Error
impl From<ListApiDestinationsError> for Error
source§fn from(err: ListApiDestinationsError) -> Self
fn from(err: ListApiDestinationsError) -> Self
source§impl From<ListArchivesError> for Error
impl From<ListArchivesError> for Error
source§fn from(err: ListArchivesError) -> Self
fn from(err: ListArchivesError) -> Self
source§impl From<ListConnectionsError> for Error
impl From<ListConnectionsError> for Error
source§fn from(err: ListConnectionsError) -> Self
fn from(err: ListConnectionsError) -> Self
source§impl From<ListEndpointsError> for Error
impl From<ListEndpointsError> for Error
source§fn from(err: ListEndpointsError) -> Self
fn from(err: ListEndpointsError) -> Self
source§impl From<ListEventBusesError> for Error
impl From<ListEventBusesError> for Error
source§fn from(err: ListEventBusesError) -> Self
fn from(err: ListEventBusesError) -> Self
source§impl From<ListEventSourcesError> for Error
impl From<ListEventSourcesError> for Error
source§fn from(err: ListEventSourcesError) -> Self
fn from(err: ListEventSourcesError) -> Self
source§impl From<ListPartnerEventSourceAccountsError> for Error
impl From<ListPartnerEventSourceAccountsError> for Error
source§fn from(err: ListPartnerEventSourceAccountsError) -> Self
fn from(err: ListPartnerEventSourceAccountsError) -> Self
source§impl From<ListPartnerEventSourcesError> for Error
impl From<ListPartnerEventSourcesError> for Error
source§fn from(err: ListPartnerEventSourcesError) -> Self
fn from(err: ListPartnerEventSourcesError) -> Self
source§impl From<ListReplaysError> for Error
impl From<ListReplaysError> for Error
source§fn from(err: ListReplaysError) -> Self
fn from(err: ListReplaysError) -> Self
source§impl From<ListRuleNamesByTargetError> for Error
impl From<ListRuleNamesByTargetError> for Error
source§fn from(err: ListRuleNamesByTargetError) -> Self
fn from(err: ListRuleNamesByTargetError) -> Self
source§impl From<ListRulesError> for Error
impl From<ListRulesError> for Error
source§fn from(err: ListRulesError) -> Self
fn from(err: ListRulesError) -> Self
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
source§impl From<ListTargetsByRuleError> for Error
impl From<ListTargetsByRuleError> for Error
source§fn from(err: ListTargetsByRuleError) -> Self
fn from(err: ListTargetsByRuleError) -> Self
source§impl From<PutEventsError> for Error
impl From<PutEventsError> for Error
source§fn from(err: PutEventsError) -> Self
fn from(err: PutEventsError) -> Self
source§impl From<PutPartnerEventsError> for Error
impl From<PutPartnerEventsError> for Error
source§fn from(err: PutPartnerEventsError) -> Self
fn from(err: PutPartnerEventsError) -> Self
source§impl From<PutPermissionError> for Error
impl From<PutPermissionError> for Error
source§fn from(err: PutPermissionError) -> Self
fn from(err: PutPermissionError) -> Self
source§impl From<PutRuleError> for Error
impl From<PutRuleError> for Error
source§fn from(err: PutRuleError) -> Self
fn from(err: PutRuleError) -> Self
source§impl From<PutTargetsError> for Error
impl From<PutTargetsError> for Error
source§fn from(err: PutTargetsError) -> Self
fn from(err: PutTargetsError) -> Self
source§impl From<RemovePermissionError> for Error
impl From<RemovePermissionError> for Error
source§fn from(err: RemovePermissionError) -> Self
fn from(err: RemovePermissionError) -> Self
source§impl From<RemoveTargetsError> for Error
impl From<RemoveTargetsError> for Error
source§fn from(err: RemoveTargetsError) -> Self
fn from(err: RemoveTargetsError) -> Self
source§impl<R> From<SdkError<ActivateEventSourceError, R>> for Error
impl<R> From<SdkError<ActivateEventSourceError, R>> for Error
source§fn from(err: SdkError<ActivateEventSourceError, R>) -> Self
fn from(err: SdkError<ActivateEventSourceError, R>) -> Self
source§impl<R> From<SdkError<CancelReplayError, R>> for Error
impl<R> From<SdkError<CancelReplayError, R>> for Error
source§fn from(err: SdkError<CancelReplayError, R>) -> Self
fn from(err: SdkError<CancelReplayError, R>) -> Self
source§impl<R> From<SdkError<CreateApiDestinationError, R>> for Error
impl<R> From<SdkError<CreateApiDestinationError, R>> for Error
source§fn from(err: SdkError<CreateApiDestinationError, R>) -> Self
fn from(err: SdkError<CreateApiDestinationError, R>) -> Self
source§impl<R> From<SdkError<CreateArchiveError, R>> for Error
impl<R> From<SdkError<CreateArchiveError, R>> for Error
source§fn from(err: SdkError<CreateArchiveError, R>) -> Self
fn from(err: SdkError<CreateArchiveError, R>) -> Self
source§impl<R> From<SdkError<CreateConnectionError, R>> for Error
impl<R> From<SdkError<CreateConnectionError, R>> for Error
source§fn from(err: SdkError<CreateConnectionError, R>) -> Self
fn from(err: SdkError<CreateConnectionError, R>) -> Self
source§impl<R> From<SdkError<CreateEndpointError, R>> for Error
impl<R> From<SdkError<CreateEndpointError, R>> for Error
source§fn from(err: SdkError<CreateEndpointError, R>) -> Self
fn from(err: SdkError<CreateEndpointError, R>) -> Self
source§impl<R> From<SdkError<CreateEventBusError, R>> for Error
impl<R> From<SdkError<CreateEventBusError, R>> for Error
source§fn from(err: SdkError<CreateEventBusError, R>) -> Self
fn from(err: SdkError<CreateEventBusError, R>) -> Self
source§impl<R> From<SdkError<CreatePartnerEventSourceError, R>> for Error
impl<R> From<SdkError<CreatePartnerEventSourceError, R>> for Error
source§fn from(err: SdkError<CreatePartnerEventSourceError, R>) -> Self
fn from(err: SdkError<CreatePartnerEventSourceError, R>) -> Self
source§impl<R> From<SdkError<DeactivateEventSourceError, R>> for Error
impl<R> From<SdkError<DeactivateEventSourceError, R>> for Error
source§fn from(err: SdkError<DeactivateEventSourceError, R>) -> Self
fn from(err: SdkError<DeactivateEventSourceError, R>) -> Self
source§fn from(err: SdkError<DeauthorizeConnectionError, R>) -> Self
fn from(err: SdkError<DeauthorizeConnectionError, R>) -> Self
source§impl<R> From<SdkError<DeleteApiDestinationError, R>> for Error
impl<R> From<SdkError<DeleteApiDestinationError, R>> for Error
source§fn from(err: SdkError<DeleteApiDestinationError, R>) -> Self
fn from(err: SdkError<DeleteApiDestinationError, R>) -> Self
source§impl<R> From<SdkError<DeleteArchiveError, R>> for Error
impl<R> From<SdkError<DeleteArchiveError, R>> for Error
source§fn from(err: SdkError<DeleteArchiveError, R>) -> Self
fn from(err: SdkError<DeleteArchiveError, R>) -> Self
source§impl<R> From<SdkError<DeleteConnectionError, R>> for Error
impl<R> From<SdkError<DeleteConnectionError, R>> for Error
source§fn from(err: SdkError<DeleteConnectionError, R>) -> Self
fn from(err: SdkError<DeleteConnectionError, R>) -> Self
source§impl<R> From<SdkError<DeleteEndpointError, R>> for Error
impl<R> From<SdkError<DeleteEndpointError, R>> for Error
source§fn from(err: SdkError<DeleteEndpointError, R>) -> Self
fn from(err: SdkError<DeleteEndpointError, R>) -> Self
source§impl<R> From<SdkError<DeleteEventBusError, R>> for Error
impl<R> From<SdkError<DeleteEventBusError, R>> for Error
source§fn from(err: SdkError<DeleteEventBusError, R>) -> Self
fn from(err: SdkError<DeleteEventBusError, R>) -> Self
source§impl<R> From<SdkError<DeletePartnerEventSourceError, R>> for Error
impl<R> From<SdkError<DeletePartnerEventSourceError, R>> for Error
source§fn from(err: SdkError<DeletePartnerEventSourceError, R>) -> Self
fn from(err: SdkError<DeletePartnerEventSourceError, R>) -> Self
source§impl<R> From<SdkError<DeleteRuleError, R>> for Error
impl<R> From<SdkError<DeleteRuleError, R>> for Error
source§fn from(err: SdkError<DeleteRuleError, R>) -> Self
fn from(err: SdkError<DeleteRuleError, R>) -> Self
source§impl<R> From<SdkError<DescribeApiDestinationError, R>> for Error
impl<R> From<SdkError<DescribeApiDestinationError, R>> for Error
source§fn from(err: SdkError<DescribeApiDestinationError, R>) -> Self
fn from(err: SdkError<DescribeApiDestinationError, R>) -> Self
source§impl<R> From<SdkError<DescribeArchiveError, R>> for Error
impl<R> From<SdkError<DescribeArchiveError, R>> for Error
source§fn from(err: SdkError<DescribeArchiveError, R>) -> Self
fn from(err: SdkError<DescribeArchiveError, R>) -> Self
source§impl<R> From<SdkError<DescribeConnectionError, R>> for Error
impl<R> From<SdkError<DescribeConnectionError, R>> for Error
source§fn from(err: SdkError<DescribeConnectionError, R>) -> Self
fn from(err: SdkError<DescribeConnectionError, R>) -> Self
source§impl<R> From<SdkError<DescribeEndpointError, R>> for Error
impl<R> From<SdkError<DescribeEndpointError, R>> for Error
source§fn from(err: SdkError<DescribeEndpointError, R>) -> Self
fn from(err: SdkError<DescribeEndpointError, R>) -> Self
source§impl<R> From<SdkError<DescribeEventBusError, R>> for Error
impl<R> From<SdkError<DescribeEventBusError, R>> for Error
source§fn from(err: SdkError<DescribeEventBusError, R>) -> Self
fn from(err: SdkError<DescribeEventBusError, R>) -> Self
source§impl<R> From<SdkError<DescribeEventSourceError, R>> for Error
impl<R> From<SdkError<DescribeEventSourceError, R>> for Error
source§fn from(err: SdkError<DescribeEventSourceError, R>) -> Self
fn from(err: SdkError<DescribeEventSourceError, R>) -> Self
source§impl<R> From<SdkError<DescribePartnerEventSourceError, R>> for Error
impl<R> From<SdkError<DescribePartnerEventSourceError, R>> for Error
source§fn from(err: SdkError<DescribePartnerEventSourceError, R>) -> Self
fn from(err: SdkError<DescribePartnerEventSourceError, R>) -> Self
source§impl<R> From<SdkError<DescribeReplayError, R>> for Error
impl<R> From<SdkError<DescribeReplayError, R>> for Error
source§fn from(err: SdkError<DescribeReplayError, R>) -> Self
fn from(err: SdkError<DescribeReplayError, R>) -> Self
source§impl<R> From<SdkError<DescribeRuleError, R>> for Error
impl<R> From<SdkError<DescribeRuleError, R>> for Error
source§fn from(err: SdkError<DescribeRuleError, R>) -> Self
fn from(err: SdkError<DescribeRuleError, R>) -> Self
source§impl<R> From<SdkError<DisableRuleError, R>> for Error
impl<R> From<SdkError<DisableRuleError, R>> for Error
source§fn from(err: SdkError<DisableRuleError, R>) -> Self
fn from(err: SdkError<DisableRuleError, R>) -> Self
source§impl<R> From<SdkError<EnableRuleError, R>> for Error
impl<R> From<SdkError<EnableRuleError, R>> for Error
source§fn from(err: SdkError<EnableRuleError, R>) -> Self
fn from(err: SdkError<EnableRuleError, R>) -> Self
source§impl<R> From<SdkError<ListApiDestinationsError, R>> for Error
impl<R> From<SdkError<ListApiDestinationsError, R>> for Error
source§fn from(err: SdkError<ListApiDestinationsError, R>) -> Self
fn from(err: SdkError<ListApiDestinationsError, R>) -> Self
source§impl<R> From<SdkError<ListArchivesError, R>> for Error
impl<R> From<SdkError<ListArchivesError, R>> for Error
source§fn from(err: SdkError<ListArchivesError, R>) -> Self
fn from(err: SdkError<ListArchivesError, R>) -> Self
source§impl<R> From<SdkError<ListConnectionsError, R>> for Error
impl<R> From<SdkError<ListConnectionsError, R>> for Error
source§fn from(err: SdkError<ListConnectionsError, R>) -> Self
fn from(err: SdkError<ListConnectionsError, R>) -> Self
source§impl<R> From<SdkError<ListEndpointsError, R>> for Error
impl<R> From<SdkError<ListEndpointsError, R>> for Error
source§fn from(err: SdkError<ListEndpointsError, R>) -> Self
fn from(err: SdkError<ListEndpointsError, R>) -> Self
source§impl<R> From<SdkError<ListEventBusesError, R>> for Error
impl<R> From<SdkError<ListEventBusesError, R>> for Error
source§fn from(err: SdkError<ListEventBusesError, R>) -> Self
fn from(err: SdkError<ListEventBusesError, R>) -> Self
source§impl<R> From<SdkError<ListEventSourcesError, R>> for Error
impl<R> From<SdkError<ListEventSourcesError, R>> for Error
source§fn from(err: SdkError<ListEventSourcesError, R>) -> Self
fn from(err: SdkError<ListEventSourcesError, R>) -> Self
source§impl<R> From<SdkError<ListPartnerEventSourceAccountsError, R>> for Error
impl<R> From<SdkError<ListPartnerEventSourceAccountsError, R>> for Error
source§fn from(err: SdkError<ListPartnerEventSourceAccountsError, R>) -> Self
fn from(err: SdkError<ListPartnerEventSourceAccountsError, R>) -> Self
source§impl<R> From<SdkError<ListPartnerEventSourcesError, R>> for Error
impl<R> From<SdkError<ListPartnerEventSourcesError, R>> for Error
source§fn from(err: SdkError<ListPartnerEventSourcesError, R>) -> Self
fn from(err: SdkError<ListPartnerEventSourcesError, R>) -> Self
source§impl<R> From<SdkError<ListReplaysError, R>> for Error
impl<R> From<SdkError<ListReplaysError, R>> for Error
source§fn from(err: SdkError<ListReplaysError, R>) -> Self
fn from(err: SdkError<ListReplaysError, R>) -> Self
source§impl<R> From<SdkError<ListRuleNamesByTargetError, R>> for Error
impl<R> From<SdkError<ListRuleNamesByTargetError, R>> for Error
source§fn from(err: SdkError<ListRuleNamesByTargetError, R>) -> Self
fn from(err: SdkError<ListRuleNamesByTargetError, R>) -> Self
source§impl<R> From<SdkError<ListRulesError, R>> for Error
impl<R> From<SdkError<ListRulesError, R>> for Error
source§fn from(err: SdkError<ListRulesError, R>) -> Self
fn from(err: SdkError<ListRulesError, R>) -> Self
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
source§impl<R> From<SdkError<ListTargetsByRuleError, R>> for Error
impl<R> From<SdkError<ListTargetsByRuleError, R>> for Error
source§fn from(err: SdkError<ListTargetsByRuleError, R>) -> Self
fn from(err: SdkError<ListTargetsByRuleError, R>) -> Self
source§impl<R> From<SdkError<PutEventsError, R>> for Error
impl<R> From<SdkError<PutEventsError, R>> for Error
source§fn from(err: SdkError<PutEventsError, R>) -> Self
fn from(err: SdkError<PutEventsError, R>) -> Self
source§impl<R> From<SdkError<PutPartnerEventsError, R>> for Error
impl<R> From<SdkError<PutPartnerEventsError, R>> for Error
source§fn from(err: SdkError<PutPartnerEventsError, R>) -> Self
fn from(err: SdkError<PutPartnerEventsError, R>) -> Self
source§impl<R> From<SdkError<PutPermissionError, R>> for Error
impl<R> From<SdkError<PutPermissionError, R>> for Error
source§fn from(err: SdkError<PutPermissionError, R>) -> Self
fn from(err: SdkError<PutPermissionError, R>) -> Self
source§impl<R> From<SdkError<PutRuleError, R>> for Error
impl<R> From<SdkError<PutRuleError, R>> for Error
source§fn from(err: SdkError<PutRuleError, R>) -> Self
fn from(err: SdkError<PutRuleError, R>) -> Self
source§impl<R> From<SdkError<PutTargetsError, R>> for Error
impl<R> From<SdkError<PutTargetsError, R>> for Error
source§fn from(err: SdkError<PutTargetsError, R>) -> Self
fn from(err: SdkError<PutTargetsError, R>) -> Self
source§impl<R> From<SdkError<RemovePermissionError, R>> for Error
impl<R> From<SdkError<RemovePermissionError, R>> for Error
source§fn from(err: SdkError<RemovePermissionError, R>) -> Self
fn from(err: SdkError<RemovePermissionError, R>) -> Self
source§impl<R> From<SdkError<RemoveTargetsError, R>> for Error
impl<R> From<SdkError<RemoveTargetsError, R>> for Error
source§fn from(err: SdkError<RemoveTargetsError, R>) -> Self
fn from(err: SdkError<RemoveTargetsError, R>) -> Self
source§impl<R> From<SdkError<StartReplayError, R>> for Error
impl<R> From<SdkError<StartReplayError, R>> for Error
source§fn from(err: SdkError<StartReplayError, R>) -> Self
fn from(err: SdkError<StartReplayError, R>) -> Self
source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
source§impl<R> From<SdkError<TestEventPatternError, R>> for Error
impl<R> From<SdkError<TestEventPatternError, R>> for Error
source§fn from(err: SdkError<TestEventPatternError, R>) -> Self
fn from(err: SdkError<TestEventPatternError, R>) -> Self
source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
source§impl<R> From<SdkError<UpdateApiDestinationError, R>> for Error
impl<R> From<SdkError<UpdateApiDestinationError, R>> for Error
source§fn from(err: SdkError<UpdateApiDestinationError, R>) -> Self
fn from(err: SdkError<UpdateApiDestinationError, R>) -> Self
source§impl<R> From<SdkError<UpdateArchiveError, R>> for Error
impl<R> From<SdkError<UpdateArchiveError, R>> for Error
source§fn from(err: SdkError<UpdateArchiveError, R>) -> Self
fn from(err: SdkError<UpdateArchiveError, R>) -> Self
source§impl<R> From<SdkError<UpdateConnectionError, R>> for Error
impl<R> From<SdkError<UpdateConnectionError, R>> for Error
source§fn from(err: SdkError<UpdateConnectionError, R>) -> Self
fn from(err: SdkError<UpdateConnectionError, R>) -> Self
source§impl<R> From<SdkError<UpdateEndpointError, R>> for Error
impl<R> From<SdkError<UpdateEndpointError, R>> for Error
source§fn from(err: SdkError<UpdateEndpointError, R>) -> Self
fn from(err: SdkError<UpdateEndpointError, R>) -> Self
source§impl<R> From<SdkError<UpdateEventBusError, R>> for Error
impl<R> From<SdkError<UpdateEventBusError, R>> for Error
source§fn from(err: SdkError<UpdateEventBusError, R>) -> Self
fn from(err: SdkError<UpdateEventBusError, R>) -> Self
source§impl From<StartReplayError> for Error
impl From<StartReplayError> for Error
source§fn from(err: StartReplayError) -> Self
fn from(err: StartReplayError) -> Self
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
source§impl From<TestEventPatternError> for Error
impl From<TestEventPatternError> for Error
source§fn from(err: TestEventPatternError) -> Self
fn from(err: TestEventPatternError) -> Self
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl From<UpdateApiDestinationError> for Error
impl From<UpdateApiDestinationError> for Error
source§fn from(err: UpdateApiDestinationError) -> Self
fn from(err: UpdateApiDestinationError) -> Self
source§impl From<UpdateArchiveError> for Error
impl From<UpdateArchiveError> for Error
source§fn from(err: UpdateArchiveError) -> Self
fn from(err: UpdateArchiveError) -> Self
source§impl From<UpdateConnectionError> for Error
impl From<UpdateConnectionError> for Error
source§fn from(err: UpdateConnectionError) -> Self
fn from(err: UpdateConnectionError) -> Self
source§impl From<UpdateEndpointError> for Error
impl From<UpdateEndpointError> for Error
source§fn from(err: UpdateEndpointError) -> Self
fn from(err: UpdateEndpointError) -> Self
source§impl From<UpdateEventBusError> for Error
impl From<UpdateEventBusError> for Error
source§fn from(err: UpdateEventBusError) -> Self
fn from(err: UpdateEventBusError) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more