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.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
Eq OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

Read OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

Show 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 #

NFData OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

Methods

rnf :: OnExitLifecycle -> () #

Hashable OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

ToJSON OnExitLifecycle Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.OnExitLifecycle

FromJSON 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" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" '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.