C# Class Amazon.EC2.Model.CancelSpotInstanceRequestsRequest

Container for the parameters to the CancelSpotInstanceRequests operation.

Cancels one or more Spot Instance requests. Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current Spot Instance requests. For more information about Spot Instances, see Spot Instances in the Amazon Elastic Compute Cloud User Guide .

IMPORTANT: Canceling a Spot Instance request does not terminate running Spot Instances associated with the request.

Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CancelSpotInstanceRequestsRequest ( ) : System

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

CancelSpotInstanceRequestsRequest ( List spotInstanceRequestIds ) : System

Instantiates CancelSpotInstanceRequestsRequest with the parameterized properties

Private Methods

Method Description
IsSetSpotInstanceRequestIds ( ) : bool

Method Details

CancelSpotInstanceRequestsRequest() public method

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

CancelSpotInstanceRequestsRequest() public method

Instantiates CancelSpotInstanceRequestsRequest with the parameterized properties
public CancelSpotInstanceRequestsRequest ( List spotInstanceRequestIds ) : System
spotInstanceRequestIds List One or more Spot instance request IDs.
return System