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