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 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.
- 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
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
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.