Skip to content

/AWS1/CL_SSM=>CANCELCOMMAND()

About CancelCommand

Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.

Method Signature

IMPORTING

Required arguments:

IV_COMMANDID TYPE /AWS1/SSMCOMMANDID /AWS1/SSMCOMMANDID

The ID of the command you want to cancel.

Optional arguments:

IT_INSTANCEIDS TYPE /AWS1/CL_SSMINSTANCEIDLIST_W=>TT_INSTANCEIDLIST TT_INSTANCEIDLIST

(Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMCANCELCMDRESULT /AWS1/CL_SSMCANCELCMDRESULT