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