Enum rusoto_cognito_identity::GetOpenIdTokenError
[−]
[src]
pub enum GetOpenIdTokenError { ExternalService(String), InternalError(String), InvalidParameter(String), NotAuthorized(String), ResourceConflict(String), ResourceNotFound(String), TooManyRequests(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetOpenIdToken
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.
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 GetOpenIdTokenError
[src]
pub fn from_body(body: &str) -> GetOpenIdTokenError
[src]
Trait Implementations
impl Debug for GetOpenIdTokenError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for GetOpenIdTokenError
[src]
fn eq(&self, __arg_0: &GetOpenIdTokenError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetOpenIdTokenError) -> bool
[src]
This method tests for !=
.
impl From<Error> for GetOpenIdTokenError
[src]
fn from(err: Error) -> GetOpenIdTokenError
[src]
Performs the conversion.
impl From<CredentialsError> for GetOpenIdTokenError
[src]
fn from(err: CredentialsError) -> GetOpenIdTokenError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetOpenIdTokenError
[src]
fn from(err: HttpDispatchError) -> GetOpenIdTokenError
[src]
Performs the conversion.
impl From<Error> for GetOpenIdTokenError
[src]
fn from(err: Error) -> GetOpenIdTokenError
[src]
Performs the conversion.
impl Display for GetOpenIdTokenError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more