Enum rusoto_iam::CreateRoleError [] [src]

pub enum CreateRoleError {
    EntityAlreadyExists(String),
    InvalidInput(String),
    LimitExceeded(String),
    MalformedPolicyDocument(String),
    ServiceFailure(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by CreateRole

Variants

The request was rejected because it attempted to create a resource that already exists.

The request was rejected because an invalid or out-of-range value was supplied for an input parameter.

The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.

The request was rejected because the policy document was malformed. The error message describes the specific error.

The request processing has failed because of an unknown error, exception or failure.

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

Trait Implementations

impl Debug for CreateRoleError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for CreateRoleError
[src]

[src]

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

[src]

This method tests for !=.

impl From<XmlParseError> for CreateRoleError
[src]

[src]

Performs the conversion.

impl From<CredentialsError> for CreateRoleError
[src]

[src]

Performs the conversion.

impl From<HttpDispatchError> for CreateRoleError
[src]

[src]

Performs the conversion.

impl From<Error> for CreateRoleError
[src]

[src]

Performs the conversion.

impl Display for CreateRoleError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for CreateRoleError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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