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

Description

 
Synopsis

Documentation

data SpotInstanceStatus Source #

Describes the status of a Spot Instance request.

See: newSpotInstanceStatus smart constructor.

Constructors

SpotInstanceStatus' 

Fields

Instances

Instances details
FromXML SpotInstanceStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStatus

Generic SpotInstanceStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStatus

Associated Types

type Rep SpotInstanceStatus :: Type -> Type #

Read SpotInstanceStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStatus

Show SpotInstanceStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStatus

NFData SpotInstanceStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStatus

Methods

rnf :: SpotInstanceStatus -> () #

Eq SpotInstanceStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStatus

Hashable SpotInstanceStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStatus

type Rep SpotInstanceStatus Source # 
Instance details

Defined in Amazonka.EC2.Types.SpotInstanceStatus

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

newSpotInstanceStatus :: SpotInstanceStatus Source #

Create a value of SpotInstanceStatus 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:SpotInstanceStatus', spotInstanceStatus_code - The status code. For a list of status codes, see Spot request status codes in the Amazon EC2 User Guide for Linux Instances.

$sel:message:SpotInstanceStatus', spotInstanceStatus_message - The description for the status code.

$sel:updateTime:SpotInstanceStatus', spotInstanceStatus_updateTime - The date and time of the most recent status update, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

spotInstanceStatus_code :: Lens' SpotInstanceStatus (Maybe Text) Source #

The status code. For a list of status codes, see Spot request status codes in the Amazon EC2 User Guide for Linux Instances.

spotInstanceStatus_message :: Lens' SpotInstanceStatus (Maybe Text) Source #

The description for the status code.

spotInstanceStatus_updateTime :: Lens' SpotInstanceStatus (Maybe UTCTime) Source #

The date and time of the most recent status update, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).