Enum aws_sdk_cognitoidentity::Error
source · [−]#[non_exhaustive]
pub enum Error {
ConcurrentModificationException(ConcurrentModificationException),
DeveloperUserAlreadyRegisteredException(DeveloperUserAlreadyRegisteredException),
ExternalServiceException(ExternalServiceException),
InternalErrorException(InternalErrorException),
InvalidIdentityPoolConfigurationException(InvalidIdentityPoolConfigurationException),
InvalidParameterException(InvalidParameterException),
LimitExceededException(LimitExceededException),
NotAuthorizedException(NotAuthorizedException),
ResourceConflictException(ResourceConflictException),
ResourceNotFoundException(ResourceNotFoundException),
TooManyRequestsException(TooManyRequestsException),
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
ConcurrentModificationException(ConcurrentModificationException)
Thrown if there are parallel requests to modify a resource.
DeveloperUserAlreadyRegisteredException(DeveloperUserAlreadyRegisteredException)
The provided developer user identifier is already registered with Cognito under a different identity ID.
ExternalServiceException(ExternalServiceException)
An exception thrown when a dependent service such as Facebook or Twitter is not responding
InternalErrorException(InternalErrorException)
Thrown when the service encounters an error during processing the request.
InvalidIdentityPoolConfigurationException(InvalidIdentityPoolConfigurationException)
Thrown if the identity pool has no role associated for the given auth type (auth/unauth) or if the AssumeRole fails.
InvalidParameterException(InvalidParameterException)
Thrown for missing or bad input parameter(s).
LimitExceededException(LimitExceededException)
Thrown when the total number of user pools has exceeded a preset limit.
NotAuthorizedException(NotAuthorizedException)
Thrown when a user is not authorized to access the requested resource.
ResourceConflictException(ResourceConflictException)
Thrown when a user tries to use a login which is already linked to another account.
ResourceNotFoundException(ResourceNotFoundException)
Thrown when the requested resource (for example, a dataset or record) does not exist.
TooManyRequestsException(TooManyRequestsException)
Thrown when a request is throttled.
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<CreateIdentityPoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateIdentityPoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateIdentityPoolError, R>) -> Self
fn from(err: SdkError<CreateIdentityPoolError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteIdentitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteIdentitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteIdentitiesError, R>) -> Self
fn from(err: SdkError<DeleteIdentitiesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteIdentityPoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteIdentityPoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteIdentityPoolError, R>) -> Self
fn from(err: SdkError<DeleteIdentityPoolError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeIdentityError, R>) -> Self
fn from(err: SdkError<DescribeIdentityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeIdentityPoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeIdentityPoolError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeIdentityPoolError, R>) -> Self
fn from(err: SdkError<DescribeIdentityPoolError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetCredentialsForIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCredentialsForIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCredentialsForIdentityError, R>) -> Self
fn from(err: SdkError<GetCredentialsForIdentityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetIdError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetIdError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetIdError, R>) -> Self
fn from(err: SdkError<GetIdError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetIdentityPoolRolesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetIdentityPoolRolesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetIdentityPoolRolesError, R>) -> Self
fn from(err: SdkError<GetIdentityPoolRolesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetOpenIdTokenError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetOpenIdTokenError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetOpenIdTokenError, R>) -> Self
fn from(err: SdkError<GetOpenIdTokenError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetOpenIdTokenForDeveloperIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetOpenIdTokenForDeveloperIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetOpenIdTokenForDeveloperIdentityError, R>) -> Self
fn from(err: SdkError<GetOpenIdTokenForDeveloperIdentityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetPrincipalTagAttributeMapError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPrincipalTagAttributeMapError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetPrincipalTagAttributeMapError, R>) -> Self
fn from(err: SdkError<GetPrincipalTagAttributeMapError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListIdentitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListIdentitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListIdentitiesError, R>) -> Self
fn from(err: SdkError<ListIdentitiesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListIdentityPoolsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListIdentityPoolsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListIdentityPoolsError, R>) -> Self
fn from(err: SdkError<ListIdentityPoolsError, 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<LookupDeveloperIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<LookupDeveloperIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<LookupDeveloperIdentityError, R>) -> Self
fn from(err: SdkError<LookupDeveloperIdentityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<MergeDeveloperIdentitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<MergeDeveloperIdentitiesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<MergeDeveloperIdentitiesError, R>) -> Self
fn from(err: SdkError<MergeDeveloperIdentitiesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetIdentityPoolRolesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetIdentityPoolRolesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetIdentityPoolRolesError, R>) -> Self
fn from(err: SdkError<SetIdentityPoolRolesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetPrincipalTagAttributeMapError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetPrincipalTagAttributeMapError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetPrincipalTagAttributeMapError, R>) -> Self
fn from(err: SdkError<SetPrincipalTagAttributeMapError, 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<UnlinkDeveloperIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UnlinkDeveloperIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UnlinkDeveloperIdentityError, R>) -> Self
fn from(err: SdkError<UnlinkDeveloperIdentityError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UnlinkIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UnlinkIdentityError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UnlinkIdentityError, R>) -> Self
fn from(err: SdkError<UnlinkIdentityError, 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