@@ -31,31 +31,34 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
31
31
export class IoTEventsData extends IoTEventsDataClient {
32
32
/**
33
33
*
34
- * <p>Updates the state, variable values, and timer settings of one or more detectors (instances)
35
- * of a specified detector model.</p>
34
+ * <p>Sends a set of messages to the AWS IoT Events system. Each message payload is transformed
35
+ * into the input you specify (<code>"inputName"</code>) and ingested into any detectors that monitor
36
+ * that input. If multiple messages are sent, the order in which the messages are processed isn't
37
+ * guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful
38
+ * response.</p>
36
39
*
37
40
*/
38
- public batchUpdateDetector (
39
- args : BatchUpdateDetectorCommandInput ,
41
+ public batchPutMessage (
42
+ args : BatchPutMessageCommandInput ,
40
43
options ?: __HttpHandlerOptions
41
- ) : Promise < BatchUpdateDetectorCommandOutput > ;
42
- public batchUpdateDetector (
43
- args : BatchUpdateDetectorCommandInput ,
44
- cb : ( err : any , data ?: BatchUpdateDetectorCommandOutput ) => void
44
+ ) : Promise < BatchPutMessageCommandOutput > ;
45
+ public batchPutMessage (
46
+ args : BatchPutMessageCommandInput ,
47
+ cb : ( err : any , data ?: BatchPutMessageCommandOutput ) => void
45
48
) : void ;
46
- public batchUpdateDetector (
47
- args : BatchUpdateDetectorCommandInput ,
49
+ public batchPutMessage (
50
+ args : BatchPutMessageCommandInput ,
48
51
options : __HttpHandlerOptions ,
49
- cb : ( err : any , data ?: BatchUpdateDetectorCommandOutput ) => void
52
+ cb : ( err : any , data ?: BatchPutMessageCommandOutput ) => void
50
53
) : void ;
51
- public batchUpdateDetector (
52
- args : BatchUpdateDetectorCommandInput ,
54
+ public batchPutMessage (
55
+ args : BatchPutMessageCommandInput ,
53
56
optionsOrCb ?:
54
57
| __HttpHandlerOptions
55
- | ( ( err : any , data ?: BatchUpdateDetectorCommandOutput ) => void ) ,
56
- cb ?: ( err : any , data ?: BatchUpdateDetectorCommandOutput ) => void
57
- ) : Promise < BatchUpdateDetectorCommandOutput > | void {
58
- const command = new BatchUpdateDetectorCommand ( args ) ;
58
+ | ( ( err : any , data ?: BatchPutMessageCommandOutput ) => void ) ,
59
+ cb ?: ( err : any , data ?: BatchPutMessageCommandOutput ) => void
60
+ ) : Promise < BatchPutMessageCommandOutput > | void {
61
+ const command = new BatchPutMessageCommand ( args ) ;
59
62
if ( typeof optionsOrCb === "function" ) {
60
63
this . send ( command , optionsOrCb ) ;
61
64
} else if ( typeof cb === "function" ) {
@@ -69,34 +72,31 @@ export class IoTEventsData extends IoTEventsDataClient {
69
72
70
73
/**
71
74
*
72
- * <p>Sends a set of messages to the AWS IoT Events system. Each message payload is transformed
73
- * into the input you specify (<code>"inputName"</code>) and ingested into any detectors that monitor
74
- * that input. If multiple messages are sent, the order in which the messages are processed isn't
75
- * guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful
76
- * response.</p>
75
+ * <p>Updates the state, variable values, and timer settings of one or more detectors (instances)
76
+ * of a specified detector model.</p>
77
77
*
78
78
*/
79
- public batchPutMessage (
80
- args : BatchPutMessageCommandInput ,
79
+ public batchUpdateDetector (
80
+ args : BatchUpdateDetectorCommandInput ,
81
81
options ?: __HttpHandlerOptions
82
- ) : Promise < BatchPutMessageCommandOutput > ;
83
- public batchPutMessage (
84
- args : BatchPutMessageCommandInput ,
85
- cb : ( err : any , data ?: BatchPutMessageCommandOutput ) => void
82
+ ) : Promise < BatchUpdateDetectorCommandOutput > ;
83
+ public batchUpdateDetector (
84
+ args : BatchUpdateDetectorCommandInput ,
85
+ cb : ( err : any , data ?: BatchUpdateDetectorCommandOutput ) => void
86
86
) : void ;
87
- public batchPutMessage (
88
- args : BatchPutMessageCommandInput ,
87
+ public batchUpdateDetector (
88
+ args : BatchUpdateDetectorCommandInput ,
89
89
options : __HttpHandlerOptions ,
90
- cb : ( err : any , data ?: BatchPutMessageCommandOutput ) => void
90
+ cb : ( err : any , data ?: BatchUpdateDetectorCommandOutput ) => void
91
91
) : void ;
92
- public batchPutMessage (
93
- args : BatchPutMessageCommandInput ,
92
+ public batchUpdateDetector (
93
+ args : BatchUpdateDetectorCommandInput ,
94
94
optionsOrCb ?:
95
95
| __HttpHandlerOptions
96
- | ( ( err : any , data ?: BatchPutMessageCommandOutput ) => void ) ,
97
- cb ?: ( err : any , data ?: BatchPutMessageCommandOutput ) => void
98
- ) : Promise < BatchPutMessageCommandOutput > | void {
99
- const command = new BatchPutMessageCommand ( args ) ;
96
+ | ( ( err : any , data ?: BatchUpdateDetectorCommandOutput ) => void ) ,
97
+ cb ?: ( err : any , data ?: BatchUpdateDetectorCommandOutput ) => void
98
+ ) : Promise < BatchUpdateDetectorCommandOutput > | void {
99
+ const command = new BatchUpdateDetectorCommand ( args ) ;
100
100
if ( typeof optionsOrCb === "function" ) {
101
101
this . send ( command , optionsOrCb ) ;
102
102
} else if ( typeof cb === "function" ) {
0 commit comments