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

Description

 
Synopsis

Documentation

data InstanceStatusEvent Source #

Describes a scheduled event for an instance.

See: newInstanceStatusEvent smart constructor.

Constructors

InstanceStatusEvent' 

Fields

Instances

Instances details
FromXML InstanceStatusEvent Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStatusEvent

Generic InstanceStatusEvent Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStatusEvent

Associated Types

type Rep InstanceStatusEvent :: Type -> Type #

Read InstanceStatusEvent Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStatusEvent

Show InstanceStatusEvent Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStatusEvent

NFData InstanceStatusEvent Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStatusEvent

Methods

rnf :: InstanceStatusEvent -> () #

Eq InstanceStatusEvent Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStatusEvent

Hashable InstanceStatusEvent Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStatusEvent

type Rep InstanceStatusEvent Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStatusEvent

type Rep InstanceStatusEvent = D1 ('MetaData "InstanceStatusEvent" "Amazonka.EC2.Types.InstanceStatusEvent" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "InstanceStatusEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventCode)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "notAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "notBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "notBeforeDeadline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))))

newInstanceStatusEvent :: InstanceStatusEvent Source #

Create a value of InstanceStatusEvent 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:InstanceStatusEvent', instanceStatusEvent_code - The event code.

$sel:description:InstanceStatusEvent', instanceStatusEvent_description - A description of the event.

After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].

$sel:instanceEventId:InstanceStatusEvent', instanceStatusEvent_instanceEventId - The ID of the event.

$sel:notAfter:InstanceStatusEvent', instanceStatusEvent_notAfter - The latest scheduled end time for the event.

$sel:notBefore:InstanceStatusEvent', instanceStatusEvent_notBefore - The earliest scheduled start time for the event.

$sel:notBeforeDeadline:InstanceStatusEvent', instanceStatusEvent_notBeforeDeadline - The deadline for starting the event.

instanceStatusEvent_description :: Lens' InstanceStatusEvent (Maybe Text) Source #

A description of the event.

After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].

instanceStatusEvent_notAfter :: Lens' InstanceStatusEvent (Maybe UTCTime) Source #

The latest scheduled end time for the event.

instanceStatusEvent_notBefore :: Lens' InstanceStatusEvent (Maybe UTCTime) Source #

The earliest scheduled start time for the event.