pub enum GetCommandInvocationError {
InternalServerError(String),
InvalidCommandId(String),
InvalidInstanceId(String),
InvalidPluginName(String),
InvocationDoesNotExist(String),
}
Expand description
Errors returned by GetCommandInvocation
Variants§
InternalServerError(String)
An error occurred on the server side.
InvalidCommandId(String)
The specified command ID is not valid. Verify the ID and try again.
InvalidInstanceId(String)
The following problems can cause this exception:
You do not have permission to access the instance.
SSM Agent is not running. Verify that SSM Agent is running.
SSM Agent is not registered with the SSM endpoint. Try reinstalling SSM Agent.
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.
Implementations§
Source§impl GetCommandInvocationError
impl GetCommandInvocationError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetCommandInvocationError>
Trait Implementations§
Source§impl Debug for GetCommandInvocationError
impl Debug for GetCommandInvocationError
Source§impl Display for GetCommandInvocationError
impl Display for GetCommandInvocationError
Source§impl Error for GetCommandInvocationError
impl Error for GetCommandInvocationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl StructuralPartialEq for GetCommandInvocationError
Auto Trait Implementations§
impl Freeze for GetCommandInvocationError
impl RefUnwindSafe for GetCommandInvocationError
impl Send for GetCommandInvocationError
impl Sync for GetCommandInvocationError
impl Unpin for GetCommandInvocationError
impl UnwindSafe for GetCommandInvocationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more