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

Description

 
Synopsis

Documentation

data SpotInstanceStateFault Source #

Describes a Spot Instance state change.

See: newSpotInstanceStateFault smart constructor.

Constructors

SpotInstanceStateFault' 

Fields

Instances

Instances details
FromXML SpotInstanceStateFault Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStateFault

Generic SpotInstanceStateFault Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStateFault

Associated Types

type Rep SpotInstanceStateFault :: Type -> Type #

Read SpotInstanceStateFault Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStateFault

Show SpotInstanceStateFault Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStateFault

NFData SpotInstanceStateFault Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStateFault

Methods

rnf :: SpotInstanceStateFault -> () #

Eq SpotInstanceStateFault Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStateFault

Hashable SpotInstanceStateFault Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStateFault

type Rep SpotInstanceStateFault Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStateFault

type Rep SpotInstanceStateFault = D1 ('MetaData "SpotInstanceStateFault" "Amazonka.EC2.Types.SpotInstanceStateFault" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "SpotInstanceStateFault'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSpotInstanceStateFault :: SpotInstanceStateFault Source #

Create a value of SpotInstanceStateFault 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:code:SpotInstanceStateFault', spotInstanceStateFault_code - The reason code for the Spot Instance state change.

$sel:message:SpotInstanceStateFault', spotInstanceStateFault_message - The message for the Spot Instance state change.

spotInstanceStateFault_code :: Lens' SpotInstanceStateFault (Maybe Text) Source #

The reason code for the Spot Instance state change.

spotInstanceStateFault_message :: Lens' SpotInstanceStateFault (Maybe Text) Source #

The message for the Spot Instance state change.