Enum rusoto_iam::CreatePolicyError
[−]
[src]
pub enum CreatePolicyError { EntityAlreadyExists(String), InvalidInput(String), LimitExceeded(String), MalformedPolicyDocument(String), ServiceFailure(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreatePolicy
Variants
EntityAlreadyExists(String)
The request was rejected because it attempted to create a resource that already exists.
InvalidInput(String)
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
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 CreatePolicyError
[src]
fn from_body(body: &str) -> CreatePolicyError
Trait Implementations
impl Debug for CreatePolicyError
[src]
impl PartialEq for CreatePolicyError
[src]
fn eq(&self, __arg_0: &CreatePolicyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreatePolicyError) -> bool
This method tests for !=
.
impl From<XmlParseError> for CreatePolicyError
[src]
fn from(err: XmlParseError) -> CreatePolicyError
Performs the conversion.
impl From<CredentialsError> for CreatePolicyError
[src]
fn from(err: CredentialsError) -> CreatePolicyError
Performs the conversion.
impl From<HttpDispatchError> for CreatePolicyError
[src]
fn from(err: HttpDispatchError) -> CreatePolicyError
Performs the conversion.