amazonka-imagebuilder-2.0: Amazon EC2 Image Builder 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.ImageBuilder.Types.ComponentState

Description

 
Synopsis

Documentation

data ComponentState Source #

A group of fields that describe the current status of components that are no longer active.

See: newComponentState smart constructor.

Constructors

ComponentState' 

Fields

Instances

Instances details
FromJSON ComponentState Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ComponentState

Generic ComponentState Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ComponentState

Associated Types

type Rep ComponentState :: Type -> Type #

Read ComponentState Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ComponentState

Show ComponentState Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ComponentState

NFData ComponentState Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ComponentState

Methods

rnf :: ComponentState -> () #

Eq ComponentState Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ComponentState

Hashable ComponentState Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ComponentState

type Rep ComponentState Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.ComponentState

type Rep ComponentState = D1 ('MetaData "ComponentState" "Amazonka.ImageBuilder.Types.ComponentState" "amazonka-imagebuilder-2.0-BBLLjX59RW72O8VbQ3vKvH" 'False) (C1 ('MetaCons "ComponentState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComponentStatus))))

newComponentState :: ComponentState Source #

Create a value of ComponentState 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:reason:ComponentState', componentState_reason - Describes how or why the component changed state.

$sel:status:ComponentState', componentState_status - The current state of the component.

componentState_reason :: Lens' ComponentState (Maybe Text) Source #

Describes how or why the component changed state.

componentState_status :: Lens' ComponentState (Maybe ComponentStatus) Source #

The current state of the component.