libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTEvents.Types.OnEnterLifecycle

Description

 
Synopsis

Documentation

data OnEnterLifecycle Source #

When entering this state, perform these actions if the condition is TRUE.

See: newOnEnterLifecycle smart constructor.

Constructors

OnEnterLifecycle' 

Fields

  • events :: Maybe [Event]

    Specifies the actions that are performed when the state is entered and the condition is TRUE.

Instances

Instances details
Eq OnEnterLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnEnterLifecycle

Read OnEnterLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnEnterLifecycle

Show OnEnterLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnEnterLifecycle

Generic OnEnterLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnEnterLifecycle

Associated Types

type Rep OnEnterLifecycle :: Type -> Type #

NFData OnEnterLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnEnterLifecycle

Methods

rnf :: OnEnterLifecycle -> () #

Hashable OnEnterLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnEnterLifecycle

ToJSON OnEnterLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnEnterLifecycle

FromJSON OnEnterLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnEnterLifecycle

type Rep OnEnterLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnEnterLifecycle

type Rep OnEnterLifecycle = D1 ('MetaData "OnEnterLifecycle" "Amazonka.IoTEvents.Types.OnEnterLifecycle" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "OnEnterLifecycle'" 'PrefixI 'True) (S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Event]))))

newOnEnterLifecycle :: OnEnterLifecycle Source #

Create a value of OnEnterLifecycle 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:events:OnEnterLifecycle', onEnterLifecycle_events - Specifies the actions that are performed when the state is entered and the condition is TRUE.

onEnterLifecycle_events :: Lens' OnEnterLifecycle (Maybe [Event]) Source #

Specifies the actions that are performed when the state is entered and the condition is TRUE.