Enum rusoto_iam::UpdateRoleError [−][src]
pub enum UpdateRoleError { NoSuchEntity(String), ServiceFailure(String), UnmodifiableEntity(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by UpdateRole
Variants
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 UpdateRoleError
[src]
impl UpdateRoleError
pub fn from_body(body: &str) -> UpdateRoleError
[src]
pub fn from_body(body: &str) -> UpdateRoleError
Trait Implementations
impl Debug for UpdateRoleError
[src]
impl Debug for UpdateRoleError
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 UpdateRoleError
[src]
impl PartialEq for UpdateRoleError
fn eq(&self, other: &UpdateRoleError) -> bool
[src]
fn eq(&self, other: &UpdateRoleError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UpdateRoleError) -> bool
[src]
fn ne(&self, other: &UpdateRoleError) -> bool
This method tests for !=
.
impl From<XmlParseError> for UpdateRoleError
[src]
impl From<XmlParseError> for UpdateRoleError
fn from(err: XmlParseError) -> UpdateRoleError
[src]
fn from(err: XmlParseError) -> UpdateRoleError
Performs the conversion.
impl From<CredentialsError> for UpdateRoleError
[src]
impl From<CredentialsError> for UpdateRoleError
fn from(err: CredentialsError) -> UpdateRoleError
[src]
fn from(err: CredentialsError) -> UpdateRoleError
Performs the conversion.
impl From<HttpDispatchError> for UpdateRoleError
[src]
impl From<HttpDispatchError> for UpdateRoleError
fn from(err: HttpDispatchError) -> UpdateRoleError
[src]
fn from(err: HttpDispatchError) -> UpdateRoleError
Performs the conversion.
impl From<Error> for UpdateRoleError
[src]
impl From<Error> for UpdateRoleError
fn from(err: Error) -> UpdateRoleError
[src]
fn from(err: Error) -> UpdateRoleError
Performs the conversion.
impl Display for UpdateRoleError
[src]
impl Display for UpdateRoleError
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 UpdateRoleError
[src]
impl Error for UpdateRoleError
Auto Trait Implementations
impl Send for UpdateRoleError
impl Send for UpdateRoleError
impl Sync for UpdateRoleError
impl Sync for UpdateRoleError