Enum aws_sdk_ram::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 23 variants
IdempotentParameterMismatchException(IdempotentParameterMismatchException),
InvalidClientTokenException(InvalidClientTokenException),
InvalidMaxResultsException(InvalidMaxResultsException),
InvalidNextTokenException(InvalidNextTokenException),
InvalidParameterException(InvalidParameterException),
InvalidResourceTypeException(InvalidResourceTypeException),
InvalidStateTransitionException(InvalidStateTransitionException),
MalformedArnException(MalformedArnException),
MissingRequiredParameterException(MissingRequiredParameterException),
OperationNotPermittedException(OperationNotPermittedException),
ResourceArnNotFoundException(ResourceArnNotFoundException),
ResourceShareInvitationAlreadyAcceptedException(ResourceShareInvitationAlreadyAcceptedException),
ResourceShareInvitationAlreadyRejectedException(ResourceShareInvitationAlreadyRejectedException),
ResourceShareInvitationArnNotFoundException(ResourceShareInvitationArnNotFoundException),
ResourceShareInvitationExpiredException(ResourceShareInvitationExpiredException),
ResourceShareLimitExceededException(ResourceShareLimitExceededException),
ServerInternalException(ServerInternalException),
ServiceUnavailableException(ServiceUnavailableException),
TagLimitExceededException(TagLimitExceededException),
TagPolicyViolationException(TagPolicyViolationException),
ThrottlingException(ThrottlingException),
UnknownResourceException(UnknownResourceException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
IdempotentParameterMismatchException(IdempotentParameterMismatchException)
The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
InvalidClientTokenException(InvalidClientTokenException)
The client token is not valid.
InvalidMaxResultsException(InvalidMaxResultsException)
The specified value for MaxResults is not valid.
InvalidNextTokenException(InvalidNextTokenException)
The specified value for NextToken is not valid.
InvalidParameterException(InvalidParameterException)
A parameter is not valid.
InvalidResourceTypeException(InvalidResourceTypeException)
The specified resource type is not valid.
InvalidStateTransitionException(InvalidStateTransitionException)
The requested state transition is not valid.
MalformedArnException(MalformedArnException)
The format of an Amazon Resource Name (ARN) is not valid.
MissingRequiredParameterException(MissingRequiredParameterException)
A required input parameter is missing.
OperationNotPermittedException(OperationNotPermittedException)
The requested operation is not permitted.
ResourceArnNotFoundException(ResourceArnNotFoundException)
The specified Amazon Resource Name (ARN) was not found.
ResourceShareInvitationAlreadyAcceptedException(ResourceShareInvitationAlreadyAcceptedException)
The specified invitation was already accepted.
ResourceShareInvitationAlreadyRejectedException(ResourceShareInvitationAlreadyRejectedException)
The specified invitation was already rejected.
ResourceShareInvitationArnNotFoundException(ResourceShareInvitationArnNotFoundException)
The specified Amazon Resource Name (ARN) for an invitation was not found.
ResourceShareInvitationExpiredException(ResourceShareInvitationExpiredException)
The specified invitation is expired.
ResourceShareLimitExceededException(ResourceShareLimitExceededException)
This request would exceed the limit for resource shares for your account.
ServerInternalException(ServerInternalException)
The service could not respond to the request due to an internal problem.
ServiceUnavailableException(ServiceUnavailableException)
The service is not available.
TagLimitExceededException(TagLimitExceededException)
This request would exceed the limit for tags for your account.
TagPolicyViolationException(TagPolicyViolationException)
The specified tag key is a reserved word and can't be used.
ThrottlingException(ThrottlingException)
You exceeded the rate at which you are allowed to perform this operation. Please try again later.
UnknownResourceException(UnknownResourceException)
A specified resource was not found.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourcefn from(err: SdkError<AcceptResourceShareInvitationError, R>) -> Self
fn from(err: SdkError<AcceptResourceShareInvitationError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<AssociateResourceShareError, R>) -> Self
fn from(err: SdkError<AssociateResourceShareError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<AssociateResourceSharePermissionError, R>) -> Self
fn from(err: SdkError<AssociateResourceSharePermissionError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<CreateResourceShareError, R>) -> Self
fn from(err: SdkError<CreateResourceShareError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<DeleteResourceShareError, R>) -> Self
fn from(err: SdkError<DeleteResourceShareError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<DisassociateResourceShareError, R>) -> Self
fn from(err: SdkError<DisassociateResourceShareError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<DisassociateResourceSharePermissionError, R>) -> Self
fn from(err: SdkError<DisassociateResourceSharePermissionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<EnableSharingWithAwsOrganizationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<EnableSharingWithAwsOrganizationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<EnableSharingWithAwsOrganizationError, R>) -> Self
fn from(err: SdkError<EnableSharingWithAwsOrganizationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetPermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPermissionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetPermissionError, R>) -> Self
fn from(err: SdkError<GetPermissionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetResourcePoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetResourcePoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetResourcePoliciesError, R>) -> Self
fn from(err: SdkError<GetResourcePoliciesError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<GetResourceShareAssociationsError, R>) -> Self
fn from(err: SdkError<GetResourceShareAssociationsError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<GetResourceShareInvitationsError, R>) -> Self
fn from(err: SdkError<GetResourceShareInvitationsError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<GetResourceSharesError, R>) -> Self
fn from(err: SdkError<GetResourceSharesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPendingInvitationResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPendingInvitationResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPendingInvitationResourcesError, R>) -> Self
fn from(err: SdkError<ListPendingInvitationResourcesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPermissionVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPermissionVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPermissionVersionsError, R>) -> Self
fn from(err: SdkError<ListPermissionVersionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPermissionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPermissionsError, R>) -> Self
fn from(err: SdkError<ListPermissionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPrincipalsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPrincipalsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPrincipalsError, R>) -> Self
fn from(err: SdkError<ListPrincipalsError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<ListResourceSharePermissionsError, R>) -> Self
fn from(err: SdkError<ListResourceSharePermissionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListResourceTypesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListResourceTypesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListResourceTypesError, R>) -> Self
fn from(err: SdkError<ListResourceTypesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListResourcesError, R>) -> Self
fn from(err: SdkError<ListResourcesError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<PromoteResourceShareCreatedFromPolicyError, R>) -> Self
fn from(err: SdkError<PromoteResourceShareCreatedFromPolicyError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<RejectResourceShareInvitationError, R>) -> Self
fn from(err: SdkError<RejectResourceShareInvitationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
sourcefn from(err: SdkError<UpdateResourceShareError, R>) -> Self
fn from(err: SdkError<UpdateResourceShareError, R>) -> Self
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more