Enum rusoto_iam::CreateRoleError
[−]
[src]
pub enum CreateRoleError { EntityAlreadyExists(String), LimitExceeded(String), MalformedPolicyDocument(String), ServiceFailure(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateRole
Variants
EntityAlreadyExists(String)
The request was rejected because it attempted to create a resource that already exists.
LimitExceeded(String)
The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.
MalformedPolicyDocument(String)
The request was rejected because the policy document was malformed. The error message describes the specific error.
ServiceFailure(String)
The request processing has failed because of an unknown error, exception or failure.
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 CreateRoleError
[src]
fn from_body(body: &str) -> CreateRoleError
Trait Implementations
impl Debug for CreateRoleError
[src]
impl PartialEq for CreateRoleError
[src]
fn eq(&self, __arg_0: &CreateRoleError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateRoleError) -> bool
This method tests for !=
.
impl From<XmlParseError> for CreateRoleError
[src]
fn from(err: XmlParseError) -> CreateRoleError
Performs the conversion.
impl From<CredentialsError> for CreateRoleError
[src]
fn from(err: CredentialsError) -> CreateRoleError
Performs the conversion.
impl From<HttpDispatchError> for CreateRoleError
[src]
fn from(err: HttpDispatchError) -> CreateRoleError
Performs the conversion.