Smaws_Client_SSM.GetDeployablePatchSnapshotForInstance
val request :
Smaws_Lib.Context.t ->
get_deployable_patch_snapshot_for_instance_request ->
(get_deployable_patch_snapshot_for_instance_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of internal_server_error
| `UnsupportedFeatureRequiredException of
unsupported_feature_required_exception
| `UnsupportedOperatingSystem of unsupported_operating_system ])
Stdlib.result
Retrieves the current snapshot for the patch baseline the managed node uses. This API is primarily used by the AWS-RunPatchBaseline
Systems Manager document (SSM document).
If you run the command locally, such as with the Command Line Interface (CLI), the system attempts to use your local Amazon Web Services credentials and the operation fails. To avoid this, you can run the command in the Amazon Web Services Systems Manager console. Use Run Command, a capability of Amazon Web Services Systems Manager, with an SSM document that enables you to target a managed node with a script or command. For example, run the command using the AWS-RunShellScript
document or the AWS-RunPowerShellScript
document.