Skip to content

/AWS1/CL_SSM=>LISTCOMMANDS()

About ListCommands

Lists the commands requested by users of the Amazon Web Services account.

Method Signature

IMPORTING

Optional arguments:

IV_COMMANDID TYPE /AWS1/SSMCOMMANDID /AWS1/SSMCOMMANDID

(Optional) If provided, lists only the specified command.

IV_INSTANCEID TYPE /AWS1/SSMINSTANCEID /AWS1/SSMINSTANCEID

(Optional) Lists commands issued against this managed node ID.

You can't specify a managed node ID in the same command that you specify Status = Pending. This is because the command hasn't reached the managed node yet.

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMLISTCOMMANDSRESULT /AWS1/CL_SSMLISTCOMMANDSRESULT