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 detailed 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]
impl SimulatePrincipalPolicyError
pub fn from_body(body: &str) -> SimulatePrincipalPolicyError
[src]
pub fn from_body(body: &str) -> SimulatePrincipalPolicyError
Trait Implementations
impl Debug for SimulatePrincipalPolicyError
[src]
impl Debug for SimulatePrincipalPolicyError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SimulatePrincipalPolicyError
[src]
impl PartialEq for SimulatePrincipalPolicyError
fn eq(&self, other: &SimulatePrincipalPolicyError) -> bool
[src]
fn eq(&self, other: &SimulatePrincipalPolicyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SimulatePrincipalPolicyError) -> bool
[src]
fn ne(&self, other: &SimulatePrincipalPolicyError) -> bool
This method tests for !=
.
impl From<XmlParseError> for SimulatePrincipalPolicyError
[src]
impl From<XmlParseError> for SimulatePrincipalPolicyError
fn from(err: XmlParseError) -> SimulatePrincipalPolicyError
[src]
fn from(err: XmlParseError) -> SimulatePrincipalPolicyError
Performs the conversion.
impl From<CredentialsError> for SimulatePrincipalPolicyError
[src]
impl From<CredentialsError> for SimulatePrincipalPolicyError
fn from(err: CredentialsError) -> SimulatePrincipalPolicyError
[src]
fn from(err: CredentialsError) -> SimulatePrincipalPolicyError
Performs the conversion.
impl From<HttpDispatchError> for SimulatePrincipalPolicyError
[src]
impl From<HttpDispatchError> for SimulatePrincipalPolicyError
fn from(err: HttpDispatchError) -> SimulatePrincipalPolicyError
[src]
fn from(err: HttpDispatchError) -> SimulatePrincipalPolicyError
Performs the conversion.
impl From<Error> for SimulatePrincipalPolicyError
[src]
impl From<Error> for SimulatePrincipalPolicyError
fn from(err: Error) -> SimulatePrincipalPolicyError
[src]
fn from(err: Error) -> SimulatePrincipalPolicyError
Performs the conversion.
impl Display for SimulatePrincipalPolicyError
[src]
impl Display for SimulatePrincipalPolicyError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for SimulatePrincipalPolicyError
[src]
impl Error for SimulatePrincipalPolicyError
Auto Trait Implementations
impl Send for SimulatePrincipalPolicyError
impl Send for SimulatePrincipalPolicyError
impl Sync for SimulatePrincipalPolicyError
impl Sync for SimulatePrincipalPolicyError