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.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
Eq BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Read BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Show BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Generic BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Associated Types

type Rep BatchEnableAlarm :: Type -> Type #

NFData BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Methods

rnf :: BatchEnableAlarm -> () #

Hashable BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

ToJSON BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

AWSRequest BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Associated Types

type AWSResponse 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

type Rep BatchEnableAlarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

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

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

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
Eq BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Read BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Show BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Generic BatchEnableAlarmResponse Source # 
Instance details

Defined in Amazonka.IoTEventsData.BatchEnableAlarm

Associated Types

type Rep BatchEnableAlarmResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" '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.