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]
impl GetCredentialsForIdentityError
pub fn from_body(body: &str) -> GetCredentialsForIdentityError
[src]
pub fn from_body(body: &str) -> GetCredentialsForIdentityError
Trait Implementations
impl Debug for GetCredentialsForIdentityError
[src]
impl Debug for GetCredentialsForIdentityError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for GetCredentialsForIdentityError
[src]
impl PartialEq for GetCredentialsForIdentityError
fn eq(&self, other: &GetCredentialsForIdentityError) -> bool
[src]
fn eq(&self, other: &GetCredentialsForIdentityError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetCredentialsForIdentityError) -> bool
[src]
fn ne(&self, other: &GetCredentialsForIdentityError) -> bool
This method tests for !=
.
impl From<Error> for GetCredentialsForIdentityError
[src]
impl From<Error> for GetCredentialsForIdentityError
fn from(err: Error) -> GetCredentialsForIdentityError
[src]
fn from(err: Error) -> GetCredentialsForIdentityError
Performs the conversion.
impl From<CredentialsError> for GetCredentialsForIdentityError
[src]
impl From<CredentialsError> for GetCredentialsForIdentityError
fn from(err: CredentialsError) -> GetCredentialsForIdentityError
[src]
fn from(err: CredentialsError) -> GetCredentialsForIdentityError
Performs the conversion.
impl From<HttpDispatchError> for GetCredentialsForIdentityError
[src]
impl From<HttpDispatchError> for GetCredentialsForIdentityError
fn from(err: HttpDispatchError) -> GetCredentialsForIdentityError
[src]
fn from(err: HttpDispatchError) -> GetCredentialsForIdentityError
Performs the conversion.
impl From<Error> for GetCredentialsForIdentityError
[src]
impl From<Error> for GetCredentialsForIdentityError
fn from(err: Error) -> GetCredentialsForIdentityError
[src]
fn from(err: Error) -> GetCredentialsForIdentityError
Performs the conversion.
impl Display for GetCredentialsForIdentityError
[src]
impl Display for GetCredentialsForIdentityError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for GetCredentialsForIdentityError
[src]
impl Error for GetCredentialsForIdentityError
Auto Trait Implementations
impl Send for GetCredentialsForIdentityError
impl Send for GetCredentialsForIdentityError
impl Sync for GetCredentialsForIdentityError
impl Sync for GetCredentialsForIdentityError