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

Description

 
Synopsis

Documentation

data InstanceStateChange Source #

Describes an instance state change.

See: newInstanceStateChange smart constructor.

Constructors

InstanceStateChange' 

Fields

Instances

Instances details
FromXML InstanceStateChange Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStateChange

Generic InstanceStateChange Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStateChange

Associated Types

type Rep InstanceStateChange :: Type -> Type #

Read InstanceStateChange Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStateChange

Show InstanceStateChange Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStateChange

NFData InstanceStateChange Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStateChange

Methods

rnf :: InstanceStateChange -> () #

Eq InstanceStateChange Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStateChange

Hashable InstanceStateChange Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStateChange

type Rep InstanceStateChange Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceStateChange

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

newInstanceStateChange :: InstanceStateChange Source #

Create a value of InstanceStateChange 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:currentState:InstanceStateChange', instanceStateChange_currentState - The current state of the instance.

$sel:instanceId:InstanceStateChange', instanceStateChange_instanceId - The ID of the instance.

$sel:previousState:InstanceStateChange', instanceStateChange_previousState - The previous state of the instance.