amazonka-iotevents-data-2.0: Amazon IoT Events Data 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.IoTEventsData.Types.StateChangeConfiguration

Description

 
Synopsis

Documentation

data StateChangeConfiguration Source #

Contains the configuration information of alarm state changes.

See: newStateChangeConfiguration smart constructor.

Constructors

StateChangeConfiguration' 

Fields

  • triggerType :: Maybe TriggerType

    The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm automatically changes to the NORMAL state.

Instances

Instances details
FromJSON StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Generic StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Associated Types

type Rep StateChangeConfiguration :: Type -> Type #

Read StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Show StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

NFData StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Eq StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Hashable StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

type Rep StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

type Rep StateChangeConfiguration = D1 ('MetaData "StateChangeConfiguration" "Amazonka.IoTEventsData.Types.StateChangeConfiguration" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "StateChangeConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "triggerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TriggerType))))

newStateChangeConfiguration :: StateChangeConfiguration Source #

Create a value of StateChangeConfiguration 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:triggerType:StateChangeConfiguration', stateChangeConfiguration_triggerType - The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm automatically changes to the NORMAL state.

stateChangeConfiguration_triggerType :: Lens' StateChangeConfiguration (Maybe TriggerType) Source #

The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm automatically changes to the NORMAL state.