ssm_get_command_invocation: Returns detailed information about command execution for an...

View source: R/ssm_operations.R

ssm_get_command_invocationR Documentation

Returns detailed information about command execution for an invocation or plugin

Description

Returns detailed information about command execution for an invocation or plugin.

See https://www.paws-r-sdk.com/docs/ssm_get_command_invocation/ for full documentation.

Usage

ssm_get_command_invocation(CommandId, InstanceId, PluginName = NULL)

Arguments

CommandId

[required] (Required) The parent command ID of the invocation plugin.

InstanceId

[required] (Required) The ID of the managed node targeted by the command. A managed node can be an Amazon Elastic Compute Cloud (Amazon EC2) instance, edge device, and on-premises server or VM in your hybrid environment that is configured for Amazon Web Services Systems Manager.

PluginName

The name of the step for which you want detailed results. If the document contains only one step, you can omit the name and details for that step. If the document contains more than one step, you must specify the name of the step for which you want to view details. Be sure to specify the name of the step, not the name of a plugin like aws:RunShellScript.

To find the PluginName, check the document content and find the name of the step you want details for. Alternatively, use list_command_invocations with the CommandId and Details parameters. The PluginName is the Name attribute of the CommandPlugin object in the CommandPlugins list.


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.