libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data
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.IoTEventsData.Types.SnoozeActionConfiguration

Description

 
Synopsis

Documentation

data SnoozeActionConfiguration Source #

Contains the configuration information of a snooze action.

See: newSnoozeActionConfiguration smart constructor.

Constructors

SnoozeActionConfiguration' 

Fields

  • note :: Maybe Text

    The note that you can leave when you snooze the alarm.

  • snoozeDuration :: Maybe Int

    The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.

Instances

Instances details
Eq SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Read SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Show SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Generic SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Associated Types

type Rep SnoozeActionConfiguration :: Type -> Type #

NFData SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Hashable SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

FromJSON SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

type Rep SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

type Rep SnoozeActionConfiguration = D1 ('MetaData "SnoozeActionConfiguration" "Amazonka.IoTEventsData.Types.SnoozeActionConfiguration" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "SnoozeActionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snoozeDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newSnoozeActionConfiguration :: SnoozeActionConfiguration Source #

Create a value of SnoozeActionConfiguration 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:note:SnoozeActionConfiguration', snoozeActionConfiguration_note - The note that you can leave when you snooze the alarm.

$sel:snoozeDuration:SnoozeActionConfiguration', snoozeActionConfiguration_snoozeDuration - The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.

snoozeActionConfiguration_note :: Lens' SnoozeActionConfiguration (Maybe Text) Source #

The note that you can leave when you snooze the alarm.

snoozeActionConfiguration_snoozeDuration :: Lens' SnoozeActionConfiguration (Maybe Int) Source #

The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.