Cancels one or more Spot Instance requests.
Declaration Syntax
C# |
public CancelSpotInstanceRequestsResponse CancelSpotInstanceRequests( CancelSpotInstanceRequestsRequest request )
Parameters
- request (CancelSpotInstanceRequestsRequest)
- Cancel Spot Instance Requests request
Return Value
Cancel Spot Instance Requests Response from the service
Remarks
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.
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |