Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 AmazonElastic Compute Cloud User Guide.
Canceling a Spot Instance request does not terminate running Spot Instances associated with the request.
- data CancelSpotInstanceRequests
- cancelSpotInstanceRequests :: CancelSpotInstanceRequests
- csirDryRun :: Lens' CancelSpotInstanceRequests (Maybe Bool)
- csirSpotInstanceRequestIds :: Lens' CancelSpotInstanceRequests [Text]
- data CancelSpotInstanceRequestsResponse
- cancelSpotInstanceRequestsResponse :: CancelSpotInstanceRequestsResponse
- csirrCancelledSpotInstanceRequests :: Lens' CancelSpotInstanceRequestsResponse [CancelledSpotInstanceRequest]
Request
data CancelSpotInstanceRequests Source
Request constructor
cancelSpotInstanceRequests :: CancelSpotInstanceRequests Source
CancelSpotInstanceRequests
constructor.
The fields accessible through corresponding lenses are:
Request lenses
csirSpotInstanceRequestIds :: Lens' CancelSpotInstanceRequests [Text] Source
One or more Spot Instance request IDs.
Response
Response constructor
cancelSpotInstanceRequestsResponse :: CancelSpotInstanceRequestsResponse Source
CancelSpotInstanceRequestsResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
csirrCancelledSpotInstanceRequests :: Lens' CancelSpotInstanceRequestsResponse [CancelledSpotInstanceRequest] Source
One or more Spot Instance requests.