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.
Namespace: Amazon.SimpleSystemsManagement
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract CancelCommandResponse CancelCommand( CancelCommandRequest request )
Container for the necessary parameters to execute the CancelCommand service method.
Exception | Condition |
---|---|
DuplicateInstanceIdException | You cannot specify an instance ID in more than one association. |
InvalidCommandIdException | |
InvalidInstanceIdException | The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5