Skip to content

/AWS1/CL_SSM=>LISTCOMMANDINVOCATIONS()

About ListCommandInvocations

An invocation is 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. ListCommandInvocations provide status about command execution.

Method Signature

IMPORTING

Optional arguments:

IV_COMMANDID TYPE /AWS1/SSMCOMMANDID /AWS1/SSMCOMMANDID

(Optional) The invocations for a specific command ID.

IV_INSTANCEID TYPE /AWS1/SSMINSTANCEID /AWS1/SSMINSTANCEID

(Optional) The command execution details for a specific managed node ID.

IV_MAXRESULTS TYPE /AWS1/SSMCOMMANDMAXRESULTS /AWS1/SSMCOMMANDMAXRESULTS

(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

IV_NEXTTOKEN TYPE /AWS1/SSMNEXTTOKEN /AWS1/SSMNEXTTOKEN

(Optional) The token for the next set of items to return. (You received this token from a previous call.)

IT_FILTERS TYPE /AWS1/CL_SSMCOMMANDFILTER=>TT_COMMANDFILTERLIST TT_COMMANDFILTERLIST

(Optional) One or more filters. Use a filter to return a more specific list of results.

IV_DETAILS TYPE /AWS1/SSMBOOLEAN /AWS1/SSMBOOLEAN

(Optional) If set this returns the response of the command executions and any command output. The default value is false.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMLISTCMDINVCSRESULT /AWS1/CL_SSMLISTCMDINVCSRESULT