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.SnoozeAlarmActionRequest

Description

 
Synopsis

Documentation

data SnoozeAlarmActionRequest Source #

Information needed to snooze the alarm.

See: newSnoozeAlarmActionRequest smart constructor.

Constructors

SnoozeAlarmActionRequest' 

Fields

  • keyValue :: Maybe Text

    The value of the key used as a filter to select only the alarms associated with the key.

  • note :: Maybe Text

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

  • requestId :: Text

    The request ID. Each ID must be unique within each batch.

  • alarmModelName :: Text

    The name of the alarm model.

  • snoozeDuration :: Int

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

Instances

Instances details
Eq SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Read SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Show SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Generic SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Associated Types

type Rep SnoozeAlarmActionRequest :: Type -> Type #

NFData SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Hashable SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

ToJSON SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

type Rep SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

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

newSnoozeAlarmActionRequest Source #

Create a value of SnoozeAlarmActionRequest 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:keyValue:SnoozeAlarmActionRequest', snoozeAlarmActionRequest_keyValue - The value of the key used as a filter to select only the alarms associated with the key.

$sel:note:SnoozeAlarmActionRequest', snoozeAlarmActionRequest_note - The note that you can leave when you snooze the alarm.

$sel:requestId:SnoozeAlarmActionRequest', snoozeAlarmActionRequest_requestId - The request ID. Each ID must be unique within each batch.

$sel:alarmModelName:SnoozeAlarmActionRequest', snoozeAlarmActionRequest_alarmModelName - The name of the alarm model.

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

snoozeAlarmActionRequest_keyValue :: Lens' SnoozeAlarmActionRequest (Maybe Text) Source #

The value of the key used as a filter to select only the alarms associated with the key.

snoozeAlarmActionRequest_note :: Lens' SnoozeAlarmActionRequest (Maybe Text) Source #

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

snoozeAlarmActionRequest_requestId :: Lens' SnoozeAlarmActionRequest Text Source #

The request ID. Each ID must be unique within each batch.

snoozeAlarmActionRequest_snoozeDuration :: Lens' SnoozeAlarmActionRequest Int Source #

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