AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Version: (assembly version)
public virtual 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