Enum rusoto_cognito_identity::GetCredentialsForIdentityError
[−]
[src]
pub enum GetCredentialsForIdentityError { ExternalService(String), InternalError(String), InvalidIdentityPoolConfiguration(String), InvalidParameter(String), NotAuthorized(String), ResourceConflict(String), ResourceNotFound(String), TooManyRequests(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetCredentialsForIdentity
Variants
ExternalService(String)
An exception thrown when a dependent service such as Facebook or Twitter is not responding
InternalError(String)
Thrown when the service encounters an error during processing the request.
InvalidIdentityPoolConfiguration(String)
Thrown if the identity pool has no role associated for the given auth type (auth/unauth) or if the AssumeRole fails.
InvalidParameter(String)
Thrown for missing or bad input parameter(s).
NotAuthorized(String)
Thrown when a user is not authorized to access the requested resource.
ResourceConflict(String)
Thrown when a user tries to use a login which is already linked to another account.
ResourceNotFound(String)
Thrown when the requested resource (for example, a dataset or record) does not exist.
TooManyRequests(String)
Thrown when a request is throttled.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl GetCredentialsForIdentityError
[src]
pub fn from_body(body: &str) -> GetCredentialsForIdentityError
[src]
Trait Implementations
impl Debug for GetCredentialsForIdentityError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for GetCredentialsForIdentityError
[src]
fn eq(&self, __arg_0: &GetCredentialsForIdentityError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetCredentialsForIdentityError) -> bool
[src]
This method tests for !=
.
impl From<Error> for GetCredentialsForIdentityError
[src]
fn from(err: Error) -> GetCredentialsForIdentityError
[src]
Performs the conversion.
impl From<CredentialsError> for GetCredentialsForIdentityError
[src]
fn from(err: CredentialsError) -> GetCredentialsForIdentityError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetCredentialsForIdentityError
[src]
fn from(err: HttpDispatchError) -> GetCredentialsForIdentityError
[src]
Performs the conversion.
impl From<Error> for GetCredentialsForIdentityError
[src]
fn from(err: Error) -> GetCredentialsForIdentityError
[src]
Performs the conversion.
impl Display for GetCredentialsForIdentityError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more