Enum aws_sdk_pinpointsmsvoicev2::Error
source · [−]#[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
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
AccessDeniedException(AccessDeniedException)
The request was denied because you don't have sufficient permissions to access the resource.
ConflictException(ConflictException)
Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.
InternalServerException(InternalServerException)
The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
ResourceNotFoundException(ResourceNotFoundException)
A requested resource couldn't be found.
ServiceQuotaExceededException(ServiceQuotaExceededException)
The request would cause a service quota to be exceeded.
ThrottlingException(ThrottlingException)
An error that occurred because too many requests were sent during a certain amount of time.
ValidationException(ValidationException)
A validation exception for a field.
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()
sourceimpl<R> From<SdkError<AssociateOriginationIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateOriginationIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateOriginationIdentityError, R>) -> Self
fn from(err: SdkError<AssociateOriginationIdentityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateConfigurationSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateConfigurationSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateConfigurationSetError, R>) -> Self
fn from(err: SdkError<CreateConfigurationSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateEventDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateEventDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateEventDestinationError, R>) -> Self
fn from(err: SdkError<CreateEventDestinationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateOptOutListError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateOptOutListError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateOptOutListError, R>) -> Self
fn from(err: SdkError<CreateOptOutListError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreatePoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreatePoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreatePoolError, R>) -> Self
fn from(err: SdkError<CreatePoolError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteConfigurationSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteConfigurationSetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteConfigurationSetError, R>) -> Self
fn from(err: SdkError<DeleteConfigurationSetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteDefaultMessageTypeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDefaultMessageTypeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDefaultMessageTypeError, R>) -> Self
fn from(err: SdkError<DeleteDefaultMessageTypeError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteDefaultSenderIdError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDefaultSenderIdError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDefaultSenderIdError, R>) -> Self
fn from(err: SdkError<DeleteDefaultSenderIdError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteEventDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteEventDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteEventDestinationError, R>) -> Self
fn from(err: SdkError<DeleteEventDestinationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteKeywordError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteKeywordError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteKeywordError, R>) -> Self
fn from(err: SdkError<DeleteKeywordError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteOptOutListError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteOptOutListError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteOptOutListError, R>) -> Self
fn from(err: SdkError<DeleteOptOutListError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteOptedOutNumberError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteOptedOutNumberError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteOptedOutNumberError, R>) -> Self
fn from(err: SdkError<DeleteOptedOutNumberError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeletePoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeletePoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeletePoolError, R>) -> Self
fn from(err: SdkError<DeletePoolError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteTextMessageSpendLimitOverrideError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteTextMessageSpendLimitOverrideError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteTextMessageSpendLimitOverrideError, R>) -> Self
fn from(err: SdkError<DeleteTextMessageSpendLimitOverrideError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteVoiceMessageSpendLimitOverrideError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteVoiceMessageSpendLimitOverrideError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteVoiceMessageSpendLimitOverrideError, R>) -> Self
fn from(err: SdkError<DeleteVoiceMessageSpendLimitOverrideError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeAccountAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAccountAttributesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAccountAttributesError, R>) -> Self
fn from(err: SdkError<DescribeAccountAttributesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeAccountLimitsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAccountLimitsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAccountLimitsError, R>) -> Self
fn from(err: SdkError<DescribeAccountLimitsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeConfigurationSetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeConfigurationSetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeConfigurationSetsError, R>) -> Self
fn from(err: SdkError<DescribeConfigurationSetsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeKeywordsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeKeywordsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeKeywordsError, R>) -> Self
fn from(err: SdkError<DescribeKeywordsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeOptOutListsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeOptOutListsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeOptOutListsError, R>) -> Self
fn from(err: SdkError<DescribeOptOutListsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeOptedOutNumbersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeOptedOutNumbersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeOptedOutNumbersError, R>) -> Self
fn from(err: SdkError<DescribeOptedOutNumbersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribePhoneNumbersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribePhoneNumbersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribePhoneNumbersError, R>) -> Self
fn from(err: SdkError<DescribePhoneNumbersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribePoolsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribePoolsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribePoolsError, R>) -> Self
fn from(err: SdkError<DescribePoolsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeSenderIdsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeSenderIdsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeSenderIdsError, R>) -> Self
fn from(err: SdkError<DescribeSenderIdsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeSpendLimitsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeSpendLimitsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeSpendLimitsError, R>) -> Self
fn from(err: SdkError<DescribeSpendLimitsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisassociateOriginationIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateOriginationIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateOriginationIdentityError, R>) -> Self
fn from(err: SdkError<DisassociateOriginationIdentityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPoolOriginationIdentitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPoolOriginationIdentitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPoolOriginationIdentitiesError, R>) -> Self
fn from(err: SdkError<ListPoolOriginationIdentitiesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutKeywordError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutKeywordError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutKeywordError, R>) -> Self
fn from(err: SdkError<PutKeywordError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutOptedOutNumberError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutOptedOutNumberError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutOptedOutNumberError, R>) -> Self
fn from(err: SdkError<PutOptedOutNumberError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ReleasePhoneNumberError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ReleasePhoneNumberError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ReleasePhoneNumberError, R>) -> Self
fn from(err: SdkError<ReleasePhoneNumberError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RequestPhoneNumberError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RequestPhoneNumberError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RequestPhoneNumberError, R>) -> Self
fn from(err: SdkError<RequestPhoneNumberError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SendTextMessageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SendTextMessageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SendTextMessageError, R>) -> Self
fn from(err: SdkError<SendTextMessageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SendVoiceMessageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SendVoiceMessageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SendVoiceMessageError, R>) -> Self
fn from(err: SdkError<SendVoiceMessageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetDefaultMessageTypeError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetDefaultMessageTypeError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetDefaultMessageTypeError, R>) -> Self
fn from(err: SdkError<SetDefaultMessageTypeError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetDefaultSenderIdError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetDefaultSenderIdError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetDefaultSenderIdError, R>) -> Self
fn from(err: SdkError<SetDefaultSenderIdError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetTextMessageSpendLimitOverrideError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetTextMessageSpendLimitOverrideError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetTextMessageSpendLimitOverrideError, R>) -> Self
fn from(err: SdkError<SetTextMessageSpendLimitOverrideError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetVoiceMessageSpendLimitOverrideError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetVoiceMessageSpendLimitOverrideError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetVoiceMessageSpendLimitOverrideError, R>) -> Self
fn from(err: SdkError<SetVoiceMessageSpendLimitOverrideError, 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.
sourceimpl<R> From<SdkError<UpdateEventDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateEventDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateEventDestinationError, R>) -> Self
fn from(err: SdkError<UpdateEventDestinationError, 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