Class: AWS.IoTEventsData
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.IoTEventsData
- Identifier:
- ioteventsdata
- API Version:
- 2018-10-23
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to detectors, list detectors, and view or update a detector's status.
For more information, see What is IoT Events? in the IoT Events Developer Guide.
Sending a Request Using IoTEventsData
var ioteventsdata = new AWS.IoTEventsData();
ioteventsdata.batchAcknowledgeAlarm(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the IoTEventsData object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var ioteventsdata = new AWS.IoTEventsData({apiVersion: '2018-10-23'});
You can also set the API version globally in AWS.config.apiVersions using
the ioteventsdata service identifier:
AWS.config.apiVersions = {
ioteventsdata: '2018-10-23',
// other service API versions
};
var ioteventsdata = new AWS.IoTEventsData();
Constructor Summary collapse
-
new AWS.IoTEventsData(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
batchAcknowledgeAlarm(params = {}, callback) ⇒ AWS.Request
Acknowledges one or more alarms.
-
batchDeleteDetector(params = {}, callback) ⇒ AWS.Request
Deletes one or more detectors that were created.
-
batchDisableAlarm(params = {}, callback) ⇒ AWS.Request
Disables one or more alarms.
-
batchEnableAlarm(params = {}, callback) ⇒ AWS.Request
Enables one or more alarms.
-
batchPutMessage(params = {}, callback) ⇒ AWS.Request
Sends a set of messages to the IoT Events system.
-
batchResetAlarm(params = {}, callback) ⇒ AWS.Request
Resets one or more alarms.
-
batchSnoozeAlarm(params = {}, callback) ⇒ AWS.Request
Changes one or more alarms to the snooze mode.
-
batchUpdateDetector(params = {}, callback) ⇒ AWS.Request
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
.
-
describeAlarm(params = {}, callback) ⇒ AWS.Request
Retrieves information about an alarm.
.
-
describeDetector(params = {}, callback) ⇒ AWS.Request
Returns information about the specified detector (instance).
.
-
listAlarms(params = {}, callback) ⇒ AWS.Request
Lists one or more alarms.
-
listDetectors(params = {}, callback) ⇒ AWS.Request
Lists detectors (the instances of a detector model).
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.IoTEventsData(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.