Enum rusoto_cognito_sync::RegisterDeviceError[][src]

pub enum RegisterDeviceError {
    InternalError(String),
    InvalidConfiguration(String),
    InvalidParameter(String),
    NotAuthorized(String),
    ResourceNotFound(String),
    TooManyRequests(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by RegisterDevice

Variants

Indicates an internal service error.

Thrown when a request parameter does not comply with the associated constraints.

Thrown when a user is not authorized to access the requested resource.

Thrown if the resource doesn't exist.

Thrown if the request is throttled.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl RegisterDeviceError
[src]

Trait Implementations

impl Debug for RegisterDeviceError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for RegisterDeviceError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Error> for RegisterDeviceError
[src]

Performs the conversion.

impl From<CredentialsError> for RegisterDeviceError
[src]

Performs the conversion.

impl From<HttpDispatchError> for RegisterDeviceError
[src]

Performs the conversion.

impl From<Error> for RegisterDeviceError
[src]

Performs the conversion.

impl Display for RegisterDeviceError
[src]

Formats the value using the given formatter. Read more

impl Error for RegisterDeviceError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations