CommandInvocation
An invocation is a copy of a command sent to a specific managed node. A command can apply to one or more managed nodes. A command invocation applies to one managed node. For example, if a user runs SendCommand
against three managed nodes, then a command invocation is created for each requested managed node ID. A command invocation returns status and detail information about a command you ran.
Types
Properties
Amazon CloudWatch Logs information where you want Amazon Web Services Systems Manager to send the command output.
Plugins processed by the command.
The document name that was requested for execution.
The Systems Manager document (SSM document) version.
The managed node ID in which this invocation was requested.
The fully qualified host name of the managed node.
Configurations for sending notifications about command status changes on a per managed node basis.
The time and date the request was sent to this managed node.
The Identity and Access Management (IAM) service role that Run Command, a capability of Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes on a per managed node basis.
The URL to the plugin's StdErr file in Amazon Simple Storage Service (Amazon S3), if the S3 bucket was defined for the parent command. For an invocation, StandardErrorUrl
is populated if there is just one plugin defined for the command, and the S3 bucket was defined for the command.
The URL to the plugin's StdOut file in Amazon Simple Storage Service (Amazon S3), if the S3 bucket was defined for the parent command. For an invocation, StandardOutputUrl
is populated if there is just one plugin defined for the command, and the S3 bucket was defined for the command.
Whether or not the invocation succeeded, failed, or is pending.
A detailed status of the command execution for each invocation (each managed node targeted by the command). StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values:
Gets the trace output sent by the agent.