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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.RequestSpotFleet

Contents

Description

Creates a Spot fleet request.

You can submit a single request that specifies multiple instance types, each with its own instance weighting that reflects its value to your application workload. Amazon EC2 computes the bid price for each launch specification and requests Spot Instances in the Spot pool where the price per unit is the lowest. For more information, see Spot Fleets in the Amazon Elastic Compute Cloud User Guide.

See: AWS API Reference for RequestSpotFleet.

Synopsis

Creating a Request

requestSpotFleet Source

Creates a value of RequestSpotFleet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

rsfDryRun :: Lens' RequestSpotFleet (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.

rsfSpotFleetRequestConfig :: Lens' RequestSpotFleet SpotFleetRequestConfigData Source

The configuration for the Spot fleet request.

Destructuring the Response

requestSpotFleetResponse Source

Creates a value of RequestSpotFleetResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses