Enum rusoto_iam::PutRolePolicyError [−][src]
pub enum PutRolePolicyError { LimitExceeded(String), MalformedPolicyDocument(String), NoSuchEntity(String), ServiceFailure(String), UnmodifiableEntity(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PutRolePolicy
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.
UnmodifiableEntity(String)
The request was rejected because only the service that depends on the service-linked role can modify or delete the role on your behalf. The error message includes the name of the service that depends on this service-linked role. You must request the change through that service.
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 PutRolePolicyError
[src]
impl PutRolePolicyError
pub fn from_body(body: &str) -> PutRolePolicyError
[src]
pub fn from_body(body: &str) -> PutRolePolicyError
Trait Implementations
impl Debug for PutRolePolicyError
[src]
impl Debug for PutRolePolicyError
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 PutRolePolicyError
[src]
impl PartialEq for PutRolePolicyError
fn eq(&self, other: &PutRolePolicyError) -> bool
[src]
fn eq(&self, other: &PutRolePolicyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PutRolePolicyError) -> bool
[src]
fn ne(&self, other: &PutRolePolicyError) -> bool
This method tests for !=
.
impl From<XmlParseError> for PutRolePolicyError
[src]
impl From<XmlParseError> for PutRolePolicyError
fn from(err: XmlParseError) -> PutRolePolicyError
[src]
fn from(err: XmlParseError) -> PutRolePolicyError
Performs the conversion.
impl From<CredentialsError> for PutRolePolicyError
[src]
impl From<CredentialsError> for PutRolePolicyError
fn from(err: CredentialsError) -> PutRolePolicyError
[src]
fn from(err: CredentialsError) -> PutRolePolicyError
Performs the conversion.
impl From<HttpDispatchError> for PutRolePolicyError
[src]
impl From<HttpDispatchError> for PutRolePolicyError
fn from(err: HttpDispatchError) -> PutRolePolicyError
[src]
fn from(err: HttpDispatchError) -> PutRolePolicyError
Performs the conversion.
impl From<Error> for PutRolePolicyError
[src]
impl From<Error> for PutRolePolicyError
fn from(err: Error) -> PutRolePolicyError
[src]
fn from(err: Error) -> PutRolePolicyError
Performs the conversion.
impl Display for PutRolePolicyError
[src]
impl Display for PutRolePolicyError
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 PutRolePolicyError
[src]
impl Error for PutRolePolicyError
Auto Trait Implementations
impl Send for PutRolePolicyError
impl Send for PutRolePolicyError
impl Sync for PutRolePolicyError
impl Sync for PutRolePolicyError