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