amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.SpotFleetRequestConfig

Description

 
Synopsis

Documentation

data SpotFleetRequestConfig Source #

Describes a Spot Fleet request.

See: newSpotFleetRequestConfig smart constructor.

Constructors

SpotFleetRequestConfig' 

Fields

Instances

Instances details
FromXML SpotFleetRequestConfig Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotFleetRequestConfig

Generic SpotFleetRequestConfig Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotFleetRequestConfig

Associated Types

type Rep SpotFleetRequestConfig :: Type -> Type #

Read SpotFleetRequestConfig Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotFleetRequestConfig

Show SpotFleetRequestConfig Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotFleetRequestConfig

NFData SpotFleetRequestConfig Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotFleetRequestConfig

Methods

rnf :: SpotFleetRequestConfig -> () #

Eq SpotFleetRequestConfig Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotFleetRequestConfig

Hashable SpotFleetRequestConfig Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotFleetRequestConfig

type Rep SpotFleetRequestConfig Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotFleetRequestConfig

type Rep SpotFleetRequestConfig = D1 ('MetaData "SpotFleetRequestConfig" "Amazonka.EC2.Types.SpotFleetRequestConfig" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "SpotFleetRequestConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activityStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActivityStatus)) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "spotFleetRequestConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SpotFleetRequestConfigData)))) :*: (S1 ('MetaSel ('Just "spotFleetRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "spotFleetRequestState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchState)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))))

newSpotFleetRequestConfig :: SpotFleetRequestConfig Source #

Create a value of SpotFleetRequestConfig 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:activityStatus:SpotFleetRequestConfig', spotFleetRequestConfig_activityStatus - The progress of the Spot Fleet request. If there is an error, the status is error. After all requests are placed, the status is pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the fleet is decreased, the status is pending_termination while Spot Instances are terminating.

$sel:createTime:SpotFleetRequestConfig', spotFleetRequestConfig_createTime - The creation date and time of the request.

$sel:spotFleetRequestConfig:SpotFleetRequestConfig', spotFleetRequestConfig_spotFleetRequestConfig - The configuration of the Spot Fleet request.

$sel:spotFleetRequestId:SpotFleetRequestConfig', spotFleetRequestConfig_spotFleetRequestId - The ID of the Spot Fleet request.

$sel:spotFleetRequestState:SpotFleetRequestConfig', spotFleetRequestConfig_spotFleetRequestState - The state of the Spot Fleet request.

$sel:tags:SpotFleetRequestConfig', spotFleetRequestConfig_tags - The tags for a Spot Fleet resource.

spotFleetRequestConfig_activityStatus :: Lens' SpotFleetRequestConfig (Maybe ActivityStatus) Source #

The progress of the Spot Fleet request. If there is an error, the status is error. After all requests are placed, the status is pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the fleet is decreased, the status is pending_termination while Spot Instances are terminating.

spotFleetRequestConfig_createTime :: Lens' SpotFleetRequestConfig (Maybe UTCTime) Source #

The creation date and time of the request.

spotFleetRequestConfig_tags :: Lens' SpotFleetRequestConfig (Maybe [Tag]) Source #

The tags for a Spot Fleet resource.