amazonka-emr-2.0: Amazon EMR 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.EMR.Types.InstanceStatus

Description

 
Synopsis

Documentation

data InstanceStatus Source #

The instance status details.

See: newInstanceStatus smart constructor.

Constructors

InstanceStatus' 

Fields

Instances

Instances details
FromJSON InstanceStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceStatus

Generic InstanceStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceStatus

Associated Types

type Rep InstanceStatus :: Type -> Type #

Read InstanceStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceStatus

Show InstanceStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceStatus

NFData InstanceStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceStatus

Methods

rnf :: InstanceStatus -> () #

Eq InstanceStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceStatus

Hashable InstanceStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceStatus

type Rep InstanceStatus Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceStatus

type Rep InstanceStatus = D1 ('MetaData "InstanceStatus" "Amazonka.EMR.Types.InstanceStatus" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "InstanceStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceState)) :*: (S1 ('MetaSel ('Just "stateChangeReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceStateChangeReason)) :*: S1 ('MetaSel ('Just "timeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceTimeline)))))

newInstanceStatus :: InstanceStatus Source #

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

$sel:stateChangeReason:InstanceStatus', instanceStatus_stateChangeReason - The details of the status change reason for the instance.

$sel:timeline:InstanceStatus', instanceStatus_timeline - The timeline of the instance status over time.

instanceStatus_state :: Lens' InstanceStatus (Maybe InstanceState) Source #

The current state of the instance.

instanceStatus_stateChangeReason :: Lens' InstanceStatus (Maybe InstanceStateChangeReason) Source #

The details of the status change reason for the instance.

instanceStatus_timeline :: Lens' InstanceStatus (Maybe InstanceTimeline) Source #

The timeline of the instance status over time.