Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data SpotPlacementScore Source #
The Spot placement score for this Region or Availability Zone. The score
is calculated based on the assumption that the capacity-optimized
allocation strategy is used and that all of the Availability Zones in
the Region can be used.
See: newSpotPlacementScore
smart constructor.
SpotPlacementScore' | |
|
Instances
newSpotPlacementScore :: SpotPlacementScore Source #
Create a value of SpotPlacementScore
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:availabilityZoneId:SpotPlacementScore'
, spotPlacementScore_availabilityZoneId
- The Availability Zone.
$sel:region:SpotPlacementScore'
, spotPlacementScore_region
- The Region.
$sel:score:SpotPlacementScore'
, spotPlacementScore_score
- The placement score, on a scale from 1
to 10
. A score of 10
indicates that your Spot request is highly likely to succeed in this
Region or Availability Zone. A score of 1
indicates that your Spot
request is not likely to succeed.
spotPlacementScore_availabilityZoneId :: Lens' SpotPlacementScore (Maybe Text) Source #
The Availability Zone.
spotPlacementScore_region :: Lens' SpotPlacementScore (Maybe Text) Source #
The Region.
spotPlacementScore_score :: Lens' SpotPlacementScore (Maybe Int) Source #
The placement score, on a scale from 1
to 10
. A score of 10
indicates that your Spot request is highly likely to succeed in this
Region or Availability Zone. A score of 1
indicates that your Spot
request is not likely to succeed.