amazonka-ec2-0.3.6.1: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.CancelSpotInstanceRequests

Contents

Description

Cancels one or more Spot Instance requests. Spot Instances are instances that Amazon EC2 starts on your behalf when the bid 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, see Spot Instance Requests in the Amazon Elastic Compute CloudUser Guide.

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

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CancelSpotInstanceRequests.html

Synopsis

Request

Request constructor

Request lenses

csirDryRun :: Lens' CancelSpotInstanceRequests (Maybe Bool) Source

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

csirSpotInstanceRequestIds :: Lens' CancelSpotInstanceRequests [Text] Source

One or more Spot Instance request IDs.

Response

Response constructor

Response lenses