import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { BatchAcknowledgeAlarmCommand , BatchAcknowledgeAlarmCommandInput , BatchAcknowledgeAlarmCommandOutput , } from "./commands/BatchAcknowledgeAlarmCommand" ; import { BatchDisableAlarmCommand , BatchDisableAlarmCommandInput , BatchDisableAlarmCommandOutput , } from "./commands/BatchDisableAlarmCommand" ; import { BatchEnableAlarmCommand , BatchEnableAlarmCommandInput , BatchEnableAlarmCommandOutput , } from "./commands/BatchEnableAlarmCommand" ; import { BatchPutMessageCommand , BatchPutMessageCommandInput , BatchPutMessageCommandOutput , } from "./commands/BatchPutMessageCommand" ; import { BatchResetAlarmCommand , BatchResetAlarmCommandInput , BatchResetAlarmCommandOutput , } from "./commands/BatchResetAlarmCommand" ; import { BatchSnoozeAlarmCommand , BatchSnoozeAlarmCommandInput , BatchSnoozeAlarmCommandOutput , } from "./commands/BatchSnoozeAlarmCommand" ; import { BatchUpdateDetectorCommand , BatchUpdateDetectorCommandInput , BatchUpdateDetectorCommandOutput , } from "./commands/BatchUpdateDetectorCommand" ; import { DescribeAlarmCommand , DescribeAlarmCommandInput , DescribeAlarmCommandOutput , } from "./commands/DescribeAlarmCommand" ; import { DescribeDetectorCommand , DescribeDetectorCommandInput , DescribeDetectorCommandOutput , } from "./commands/DescribeDetectorCommand" ; import { ListAlarmsCommand , ListAlarmsCommandInput , ListAlarmsCommandOutput } from "./commands/ListAlarmsCommand" ; import { ListDetectorsCommand , ListDetectorsCommandInput , ListDetectorsCommandOutput , } from "./commands/ListDetectorsCommand" ; import { IoTEventsDataClient } from "./IoTEventsDataClient" ; /**
 * <p>AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and
 *       triggers actions when such events occur. You can use AWS IoT Events Data API commands to send inputs to
 *       detectors, list detectors, and view or update a detector's status.</p>
 *          <p> For more information, see <a href="https://docs.aws.amazon.com/iotevents/latest/developerguide/what-is-iotevents.html">What is AWS IoT Events?</a> in the
 *         <i>AWS IoT Events Developer Guide</i>.</p>
 */ export class IoTEventsData extends IoTEventsDataClient { /**
     * <p>Acknowledges one or more alarms. The alarms change to the <code>ACKNOWLEDGED</code> state
     *       after you acknowledge them.</p>
     */ public batchAcknowledgeAlarm ( args , options ? ) ; public batchAcknowledgeAlarm ( args , cb ) ; public batchAcknowledgeAlarm ( args , options , cb ) ; public batchAcknowledgeAlarm ( args , optionsOrCb ? , cb ? ) { const command = new BatchAcknowledgeAlarmCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables one or more alarms. The alarms change to the <code>DISABLED</code> state after
     *       you disable them.</p>
     */ public batchDisableAlarm ( args , options ? ) ; public batchDisableAlarm ( args , cb ) ; public batchDisableAlarm ( args , options , cb ) ; public batchDisableAlarm ( args , optionsOrCb ? , cb ? ) { const command = new BatchDisableAlarmCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables one or more alarms. The alarms change to the <code>NORMAL</code> state after you
     *       enable them.</p>
     */ public batchEnableAlarm ( args , options ? ) ; public batchEnableAlarm ( args , cb ) ; public batchEnableAlarm ( args , options , cb ) ; public batchEnableAlarm ( args , optionsOrCb ? , cb ? ) { const command = new BatchEnableAlarmCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sends a set of messages to the AWS IoT Events system. Each message payload is transformed into
     *       the input you specify (<code>"inputName"</code>) and ingested into any detectors that monitor
     *       that input. If multiple messages are sent, the order in which the messages are processed isn't
     *       guaranteed. To guarantee ordering, you must send messages one at a time and wait for a
     *       successful response.</p>
     */ public batchPutMessage ( args , options ? ) ; public batchPutMessage ( args , cb ) ; public batchPutMessage ( args , options , cb ) ; public batchPutMessage ( args , optionsOrCb ? , cb ? ) { const command = new BatchPutMessageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets one or more alarms. The alarms return to the <code>NORMAL</code> state after you
     *       reset them.</p>
     */ public batchResetAlarm ( args , options ? ) ; public batchResetAlarm ( args , cb ) ; public batchResetAlarm ( args , options , cb ) ; public batchResetAlarm ( args , optionsOrCb ? , cb ? ) { const command = new BatchResetAlarmCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes one or more alarms to the snooze mode. The alarms change to the
     *         <code>SNOOZE_DISABLED</code> state after you set them to the snooze mode.</p>
     */ public batchSnoozeAlarm ( args , options ? ) ; public batchSnoozeAlarm ( args , cb ) ; public batchSnoozeAlarm ( args , options , cb ) ; public batchSnoozeAlarm ( args , optionsOrCb ? , cb ? ) { const command = new BatchSnoozeAlarmCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the state, variable values, and timer settings of one or more detectors
     *       (instances) of a specified detector model.</p>
     */ public batchUpdateDetector ( args , options ? ) ; public batchUpdateDetector ( args , cb ) ; public batchUpdateDetector ( args , options , cb ) ; public batchUpdateDetector ( args , optionsOrCb ? , cb ? ) { const command = new BatchUpdateDetectorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about an alarm.</p>
     */ public describeAlarm ( args , options ? ) ; public describeAlarm ( args , cb ) ; public describeAlarm ( args , options , cb ) ; public describeAlarm ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAlarmCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the specified detector (instance).</p>
     */ public describeDetector ( args , options ? ) ; public describeDetector ( args , cb ) ; public describeDetector ( args , options , cb ) ; public describeDetector ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDetectorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists one or more alarms. The operation returns only the metadata associated with each
     *       alarm.</p>
     */ public listAlarms ( args , options ? ) ; public listAlarms ( args , cb ) ; public listAlarms ( args , options , cb ) ; public listAlarms ( args , optionsOrCb ? , cb ? ) { const command = new ListAlarmsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists detectors (the instances of a detector model).</p>
     */ public listDetectors ( args , options ? ) ; public listDetectors ( args , cb ) ; public listDetectors ( args , options , cb ) ; public listDetectors ( args , optionsOrCb ? , cb ? ) { const command = new ListDetectorsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }