Version: (assembly version)
public abstract CancelCommandResponse CancelCommand( String commandId, List<String> instanceIds )
The ID of the command you want to cancel.
(Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested.
|DuplicateInstanceIdException||You cannot specify an instance ID in more than one association.|
|InvalidInstanceIdException||The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.|
Supported in: 4.5, 4.0, 3.5