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

Description

Enables one or more alarms. The alarms change to the NORMAL state after you enable them.

Synopsis

Creating a Request

data BatchEnableAlarm Source #

See: newBatchEnableAlarm smart constructor.

Constructors

BatchEnableAlarm' 

Fields

Instances

Instances details
ToJSON BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

ToHeaders BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

ToPath BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

ToQuery BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

AWSRequest BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Associated Types

type AWSResponse BatchEnableAlarm #

Generic BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Associated Types

type Rep BatchEnableAlarm :: Type -> Type #

Read BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Show BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

NFData BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Methods

rnf :: BatchEnableAlarm -> () #

Eq BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Hashable BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

type AWSResponse BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

type Rep BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

type Rep BatchEnableAlarm = D1 ('MetaData "BatchEnableAlarm" "Amazonka.IoTEventsData.BatchEnableAlarm" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "BatchEnableAlarm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enableActionRequests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty EnableAlarmActionRequest))))

newBatchEnableAlarm Source #

Create a value of BatchEnableAlarm 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:enableActionRequests:BatchEnableAlarm', batchEnableAlarm_enableActionRequests - The list of enable action requests. You can specify up to 10 requests per operation.

Request Lenses

batchEnableAlarm_enableActionRequests :: Lens' BatchEnableAlarm (NonEmpty EnableAlarmActionRequest) Source #

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

Destructuring the Response

data BatchEnableAlarmResponse Source #

See: newBatchEnableAlarmResponse smart constructor.

Constructors

BatchEnableAlarmResponse' 

Fields

Instances

Instances details
Generic BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Associated Types

type Rep BatchEnableAlarmResponse :: Type -> Type #

Read BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Show BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

NFData BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Eq BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

type Rep BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

type Rep BatchEnableAlarmResponse = D1 ('MetaData "BatchEnableAlarmResponse" "Amazonka.IoTEventsData.BatchEnableAlarm" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "BatchEnableAlarmResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchAlarmActionErrorEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchEnableAlarmResponse Source #

Create a value of BatchEnableAlarmResponse 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:BatchEnableAlarmResponse', batchEnableAlarmResponse_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:BatchEnableAlarmResponse', batchEnableAlarmResponse_httpStatus - The response's http status code.

Response Lenses

batchEnableAlarmResponse_errorEntries :: Lens' BatchEnableAlarmResponse (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.