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

Description

 
Synopsis

Documentation

data HistoryRecord Source #

Describes an event in the history of the Spot Fleet request.

See: newHistoryRecord smart constructor.

Constructors

HistoryRecord' 

Fields

  • eventInformation :: Maybe EventInformation

    Information about the event.

  • eventType :: Maybe EventType

    The event type.

    • error - An error with the Spot Fleet request.
    • fleetRequestChange - A change in the status or configuration of the Spot Fleet request.
    • instanceChange - An instance was launched or terminated.
    • Information - An informational event.
  • timestamp :: Maybe ISO8601

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

Instances

Instances details
FromXML HistoryRecord Source # 
Instance details

Defined in Amazonka.EC2.Types.HistoryRecord

Generic HistoryRecord Source # 
Instance details

Defined in Amazonka.EC2.Types.HistoryRecord

Associated Types

type Rep HistoryRecord :: Type -> Type #

Read HistoryRecord Source # 
Instance details

Defined in Amazonka.EC2.Types.HistoryRecord

Show HistoryRecord Source # 
Instance details

Defined in Amazonka.EC2.Types.HistoryRecord

NFData HistoryRecord Source # 
Instance details

Defined in Amazonka.EC2.Types.HistoryRecord

Methods

rnf :: HistoryRecord -> () #

Eq HistoryRecord Source # 
Instance details

Defined in Amazonka.EC2.Types.HistoryRecord

Hashable HistoryRecord Source # 
Instance details

Defined in Amazonka.EC2.Types.HistoryRecord

type Rep HistoryRecord Source # 
Instance details

Defined in Amazonka.EC2.Types.HistoryRecord

type Rep HistoryRecord = D1 ('MetaData "HistoryRecord" "Amazonka.EC2.Types.HistoryRecord" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "HistoryRecord'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventInformation)) :*: (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventType)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))))

newHistoryRecord :: HistoryRecord Source #

Create a value of HistoryRecord 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:eventInformation:HistoryRecord', historyRecord_eventInformation - Information about the event.

$sel:eventType:HistoryRecord', historyRecord_eventType - The event type.

  • error - An error with the Spot Fleet request.
  • fleetRequestChange - A change in the status or configuration of the Spot Fleet request.
  • instanceChange - An instance was launched or terminated.
  • Information - An informational event.

$sel:timestamp:HistoryRecord', historyRecord_timestamp - The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

historyRecord_eventType :: Lens' HistoryRecord (Maybe EventType) Source #

The event type.

  • error - An error with the Spot Fleet request.
  • fleetRequestChange - A change in the status or configuration of the Spot Fleet request.
  • instanceChange - An instance was launched or terminated.
  • Information - An informational event.

historyRecord_timestamp :: Lens' HistoryRecord (Maybe UTCTime) Source #

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