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

Description

Changes one or more alarms to the snooze mode. The alarms change to the SNOOZE_DISABLED state after you set them to the snooze mode.

Synopsis

Creating a Request

data BatchSnoozeAlarm Source #

See: newBatchSnoozeAlarm smart constructor.

Constructors

BatchSnoozeAlarm' 

Fields

Instances

Instances details
Eq BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Read BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Show BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Generic BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Associated Types

type Rep BatchSnoozeAlarm :: Type -> Type #

NFData BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Methods

rnf :: BatchSnoozeAlarm -> () #

Hashable BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

ToJSON BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

AWSRequest BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Associated Types

type AWSResponse BatchSnoozeAlarm #

ToHeaders BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

ToPath BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

ToQuery BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

type Rep BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

type Rep BatchSnoozeAlarm = D1 ('MetaData "BatchSnoozeAlarm" "Amazonka.IoTEventsData.BatchSnoozeAlarm" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "BatchSnoozeAlarm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snoozeActionRequests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty SnoozeAlarmActionRequest))))
type AWSResponse BatchSnoozeAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

newBatchSnoozeAlarm Source #

Create a value of BatchSnoozeAlarm 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:snoozeActionRequests:BatchSnoozeAlarm', batchSnoozeAlarm_snoozeActionRequests - The list of snooze action requests. You can specify up to 10 requests per operation.

Request Lenses

batchSnoozeAlarm_snoozeActionRequests :: Lens' BatchSnoozeAlarm (NonEmpty SnoozeAlarmActionRequest) Source #

The list of snooze action requests. You can specify up to 10 requests per operation.

Destructuring the Response

data BatchSnoozeAlarmResponse Source #

See: newBatchSnoozeAlarmResponse smart constructor.

Constructors

BatchSnoozeAlarmResponse' 

Fields

Instances

Instances details
Eq BatchSnoozeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Read BatchSnoozeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Show BatchSnoozeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Generic BatchSnoozeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

Associated Types

type Rep BatchSnoozeAlarmResponse :: Type -> Type #

NFData BatchSnoozeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

type Rep BatchSnoozeAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchSnoozeAlarm

type Rep BatchSnoozeAlarmResponse = D1 ('MetaData "BatchSnoozeAlarmResponse" "Amazonka.IoTEventsData.BatchSnoozeAlarm" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" 'False) (C1 ('MetaCons "BatchSnoozeAlarmResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchAlarmActionErrorEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchSnoozeAlarmResponse Source #

Create a value of BatchSnoozeAlarmResponse 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:errorEntries:BatchSnoozeAlarmResponse', batchSnoozeAlarmResponse_errorEntries - A list of errors associated with the request, or null if there are no errors. Each error entry contains an entry ID that helps you identify the entry that failed.

$sel:httpStatus:BatchSnoozeAlarmResponse', batchSnoozeAlarmResponse_httpStatus - The response's http status code.

Response Lenses

batchSnoozeAlarmResponse_errorEntries :: Lens' BatchSnoozeAlarmResponse (Maybe [BatchAlarmActionErrorEntry]) Source #

A list of errors associated with the request, or null if there are no errors. Each error entry contains an entry ID that helps you identify the entry that failed.