Enum rusoto_iot::CreatePolicyError [] [src]

pub enum CreatePolicyError {
    InternalFailure(String),
    InvalidRequest(String),
    MalformedPolicy(String),
    ResourceAlreadyExists(String),
    ServiceUnavailable(String),
    Throttling(String),
    Unauthorized(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by CreatePolicy

Variants

An unexpected error has occurred.

The request is not valid.

The policy documentation is not valid.

The resource already exists.

The service is temporarily unavailable.

The rate exceeds the limit.

You are not authorized to perform this operation.

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 CreatePolicyError
[src]

Trait Implementations

impl Debug for CreatePolicyError
[src]

Formats the value using the given formatter.

impl PartialEq for CreatePolicyError
[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 CreatePolicyError
[src]

Performs the conversion.

impl From<CredentialsError> for CreatePolicyError
[src]

Performs the conversion.

impl From<HttpDispatchError> for CreatePolicyError
[src]

Performs the conversion.

impl From<Error> for CreatePolicyError
[src]

Performs the conversion.

impl Display for CreatePolicyError
[src]

Formats the value using the given formatter. Read more

impl Error for CreatePolicyError
[src]

A short description of the error. Read more

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