Enum aws_sdk_ssm::error::StartSessionErrorKind
source · #[non_exhaustive]
pub enum StartSessionErrorKind {
InternalServerError(InternalServerError),
InvalidDocument(InvalidDocument),
TargetNotConnected(TargetNotConnected),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the StartSession
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InternalServerError(InternalServerError)
An error occurred on the server side.
InvalidDocument(InvalidDocument)
The specified SSM document doesn't exist.
TargetNotConnected(TargetNotConnected)
The specified target managed node for the session isn't fully configured for use with Session Manager. For more information, see Getting started with Session Manager in the Amazon Web Services Systems Manager User Guide. This error is also returned if you attempt to start a session on a managed node that is located in a different account or Region
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.