amazonka-iotevents-2.0: Amazon IoT Events 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.IoTEvents.Types.OnExitLifecycle

Description

 
Synopsis

Documentation

data OnExitLifecycle Source #

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

See: newOnExitLifecycle smart constructor.

Constructors

OnExitLifecycle' 

Fields

  • events :: Maybe [Event]

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

Instances

Instances details
FromJSON OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

ToJSON OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

Generic OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

Associated Types

type Rep OnExitLifecycle :: Type -> Type #

Read OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

Show OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

NFData OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

Methods

rnf :: OnExitLifecycle -> () #

Eq OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

Hashable OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

type Rep OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

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

newOnExitLifecycle :: OnExitLifecycle Source #

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

onExitLifecycle_events :: Lens' OnExitLifecycle (Maybe [Event]) Source #

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