C# Class Amazon.SimpleSystemsManagement.Model.CancelCommandRequest

Container for the parameters to the CancelCommand operation. 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.
Inheritance: AmazonSimpleSystemsManagementRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CancelCommandRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CancelCommandRequest ( string commandId ) : System

Instantiates CancelCommandRequest with the parameterized properties

CancelCommandRequest ( string commandId, List instanceIds ) : System

Instantiates CancelCommandRequest with the parameterized properties

Private Methods

Method Description
IsSetCommandId ( ) : bool
IsSetInstanceIds ( ) : bool

Method Details

CancelCommandRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CancelCommandRequest ( ) : System
return System

CancelCommandRequest() public method

Instantiates CancelCommandRequest with the parameterized properties
public CancelCommandRequest ( string commandId ) : System
commandId string The ID of the command you want to cancel.
return System

CancelCommandRequest() public method

Instantiates CancelCommandRequest with the parameterized properties
public CancelCommandRequest ( string commandId, List instanceIds ) : System
commandId string The ID of the command you want to cancel.
instanceIds List (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.
return System