Enum rusoto_iam::PutUserPolicyError [−][src]
pub enum PutUserPolicyError { LimitExceeded(String), MalformedPolicyDocument(String), NoSuchEntity(String), ServiceFailure(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PutUserPolicy
Variants
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.
NoSuchEntity(String)
The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
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 PutUserPolicyError
[src]
impl PutUserPolicyError
pub fn from_body(body: &str) -> PutUserPolicyError
[src]
pub fn from_body(body: &str) -> PutUserPolicyError
Trait Implementations
impl Debug for PutUserPolicyError
[src]
impl Debug for PutUserPolicyError
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 PutUserPolicyError
[src]
impl PartialEq for PutUserPolicyError
fn eq(&self, other: &PutUserPolicyError) -> bool
[src]
fn eq(&self, other: &PutUserPolicyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PutUserPolicyError) -> bool
[src]
fn ne(&self, other: &PutUserPolicyError) -> bool
This method tests for !=
.
impl From<XmlParseError> for PutUserPolicyError
[src]
impl From<XmlParseError> for PutUserPolicyError
fn from(err: XmlParseError) -> PutUserPolicyError
[src]
fn from(err: XmlParseError) -> PutUserPolicyError
Performs the conversion.
impl From<CredentialsError> for PutUserPolicyError
[src]
impl From<CredentialsError> for PutUserPolicyError
fn from(err: CredentialsError) -> PutUserPolicyError
[src]
fn from(err: CredentialsError) -> PutUserPolicyError
Performs the conversion.
impl From<HttpDispatchError> for PutUserPolicyError
[src]
impl From<HttpDispatchError> for PutUserPolicyError
fn from(err: HttpDispatchError) -> PutUserPolicyError
[src]
fn from(err: HttpDispatchError) -> PutUserPolicyError
Performs the conversion.
impl From<Error> for PutUserPolicyError
[src]
impl From<Error> for PutUserPolicyError
fn from(err: Error) -> PutUserPolicyError
[src]
fn from(err: Error) -> PutUserPolicyError
Performs the conversion.
impl Display for PutUserPolicyError
[src]
impl Display for PutUserPolicyError
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 PutUserPolicyError
[src]
impl Error for PutUserPolicyError
Auto Trait Implementations
impl Send for PutUserPolicyError
impl Send for PutUserPolicyError
impl Sync for PutUserPolicyError
impl Sync for PutUserPolicyError