Enum rusoto_ssm::UpdateManagedInstanceRoleError
[−]
[src]
pub enum UpdateManagedInstanceRoleError { InternalServerError(String), InvalidInstanceId(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by UpdateManagedInstanceRole
Variants
InternalServerError(String)
An error occurred on the server side.
InvalidInstanceId(String)
The following problems can cause this exception:
You do not have permission to access the instance.
The SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running.
The SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling the SSM Agent or EC2Config service.
The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
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 UpdateManagedInstanceRoleError
[src]
pub fn from_body(body: &str) -> UpdateManagedInstanceRoleError
[src]
Trait Implementations
impl Debug for UpdateManagedInstanceRoleError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for UpdateManagedInstanceRoleError
[src]
fn eq(&self, __arg_0: &UpdateManagedInstanceRoleError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UpdateManagedInstanceRoleError) -> bool
[src]
This method tests for !=
.
impl From<Error> for UpdateManagedInstanceRoleError
[src]
fn from(err: Error) -> UpdateManagedInstanceRoleError
[src]
Performs the conversion.
impl From<CredentialsError> for UpdateManagedInstanceRoleError
[src]
fn from(err: CredentialsError) -> UpdateManagedInstanceRoleError
[src]
Performs the conversion.
impl From<HttpDispatchError> for UpdateManagedInstanceRoleError
[src]
fn from(err: HttpDispatchError) -> UpdateManagedInstanceRoleError
[src]
Performs the conversion.
impl From<Error> for UpdateManagedInstanceRoleError
[src]
fn from(err: Error) -> UpdateManagedInstanceRoleError
[src]
Performs the conversion.
impl Display for UpdateManagedInstanceRoleError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more