#[non_exhaustive]
pub enum GetDeployablePatchSnapshotForInstanceErrorKind {
InternalServerError(InternalServerError),
UnsupportedFeatureRequiredException(UnsupportedFeatureRequiredException),
UnsupportedOperatingSystem(UnsupportedOperatingSystem),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the GetDeployablePatchSnapshotForInstance
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InternalServerError(InternalServerError)
An error occurred on the server side.
UnsupportedFeatureRequiredException(UnsupportedFeatureRequiredException)
Patching for applications released by Microsoft is only available on EC2 instances and advanced instances. To patch applications released by Microsoft on on-premises servers and VMs, you must enable advanced instances. For more information, see Enabling the advanced-instances tier in the Amazon Web Services Systems Manager User Guide.
UnsupportedOperatingSystem(UnsupportedOperatingSystem)
The operating systems you specified isn't supported, or the operation isn't supported for the operating system.
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.