Enum rusoto_iam::SimulateCustomPolicyError
[−]
[src]
pub enum SimulateCustomPolicyError { InvalidInput(String), PolicyEvaluation(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by SimulateCustomPolicy
Variants
InvalidInput(String)
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
PolicyEvaluation(String)
The request failed because a provided policy could not be successfully evaluated. An additional detail message indicates the source of the 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 SimulateCustomPolicyError
[src]
fn from_body(body: &str) -> SimulateCustomPolicyError
[src]
Trait Implementations
impl Debug for SimulateCustomPolicyError
[src]
impl PartialEq for SimulateCustomPolicyError
[src]
fn eq(&self, __arg_0: &SimulateCustomPolicyError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SimulateCustomPolicyError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for SimulateCustomPolicyError
[src]
fn from(err: XmlParseError) -> SimulateCustomPolicyError
[src]
Performs the conversion.
impl From<CredentialsError> for SimulateCustomPolicyError
[src]
fn from(err: CredentialsError) -> SimulateCustomPolicyError
[src]
Performs the conversion.
impl From<HttpDispatchError> for SimulateCustomPolicyError
[src]
fn from(err: HttpDispatchError) -> SimulateCustomPolicyError
[src]
Performs the conversion.
impl From<Error> for SimulateCustomPolicyError
[src]
fn from(err: Error) -> SimulateCustomPolicyError
[src]
Performs the conversion.
impl Display for SimulateCustomPolicyError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more