[][src]Enum rusoto_ssm::GetCommandInvocationError

pub enum GetCommandInvocationError {
    InternalServerError(String),
    InvalidCommandId(String),
    InvalidInstanceId(String),
    InvalidPluginName(String),
    InvocationDoesNotExist(String),
}

Errors returned by GetCommandInvocation

Variants

InternalServerError(String)

An error occurred on the server side.

InvalidCommandId(String)InvalidInstanceId(String)

The following problems can cause this exception:

You do not have permission to access the instance.

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.

SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling 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.

InvalidPluginName(String)

The plugin name is not valid.

InvocationDoesNotExist(String)

The command ID and instance ID you specified did not match any invocations. Verify the command ID and the instance ID and try again.

Methods

impl GetCommandInvocationError[src]

pub fn from_response(
    res: BufferedHttpResponse
) -> RusotoError<GetCommandInvocationError>
[src]

Trait Implementations

impl PartialEq<GetCommandInvocationError> for GetCommandInvocationError[src]

impl Debug for GetCommandInvocationError[src]

impl Display for GetCommandInvocationError[src]

impl Error for GetCommandInvocationError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Send for GetCommandInvocationError

impl Sync for GetCommandInvocationError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self