Creates a Spot Instance request.
Declaration Syntax
C# |
RequestSpotInstancesResponse RequestSpotInstances( RequestSpotInstancesRequest request )
Parameters
- request (RequestSpotInstancesRequest)
- Request Spot Instances request
Return Value
Request Spot Instances 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 |