@aws-sdk/client-iot-events-data 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +692 -625
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/IoTEventsDataClient.js +2 -0
- package/dist-es/commands/BatchAcknowledgeAlarmCommand.js +3 -9
- package/dist-es/commands/BatchDeleteDetectorCommand.js +3 -9
- package/dist-es/commands/BatchDisableAlarmCommand.js +3 -9
- package/dist-es/commands/BatchEnableAlarmCommand.js +3 -9
- package/dist-es/commands/BatchPutMessageCommand.js +3 -9
- package/dist-es/commands/BatchResetAlarmCommand.js +3 -9
- package/dist-es/commands/BatchSnoozeAlarmCommand.js +3 -9
- package/dist-es/commands/BatchUpdateDetectorCommand.js +3 -9
- package/dist-es/commands/DescribeAlarmCommand.js +3 -9
- package/dist-es/commands/DescribeDetectorCommand.js +3 -9
- package/dist-es/commands/ListAlarmsCommand.js +3 -9
- package/dist-es/commands/ListDetectorsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +656 -0
- package/dist-types/IoTEventsDataClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +97 -0
- package/dist-types/ts3.4/IoTEventsDataClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +102 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -531
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class IoTEventsDataClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,12 +110,12 @@ class IoTEventsDataClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class IoTEventsDataServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let IoTEventsDataServiceException$1 = class IoTEventsDataServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, IoTEventsDataServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
};
|
|
119
119
|
|
|
120
120
|
const CustomerActionName = {
|
|
121
121
|
ACKNOWLEDGE: "ACKNOWLEDGE",
|
|
@@ -153,7 +153,7 @@ const ErrorCode = {
|
|
|
153
153
|
ServiceUnavailableException: "ServiceUnavailableException",
|
|
154
154
|
ThrottlingException: "ThrottlingException",
|
|
155
155
|
};
|
|
156
|
-
class InternalFailureException extends IoTEventsDataServiceException {
|
|
156
|
+
let InternalFailureException$1 = class InternalFailureException extends IoTEventsDataServiceException$1 {
|
|
157
157
|
name = "InternalFailureException";
|
|
158
158
|
$fault = "server";
|
|
159
159
|
constructor(opts) {
|
|
@@ -164,8 +164,8 @@ class InternalFailureException extends IoTEventsDataServiceException {
|
|
|
164
164
|
});
|
|
165
165
|
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
166
166
|
}
|
|
167
|
-
}
|
|
168
|
-
class InvalidRequestException extends IoTEventsDataServiceException {
|
|
167
|
+
};
|
|
168
|
+
let InvalidRequestException$1 = class InvalidRequestException extends IoTEventsDataServiceException$1 {
|
|
169
169
|
name = "InvalidRequestException";
|
|
170
170
|
$fault = "client";
|
|
171
171
|
constructor(opts) {
|
|
@@ -176,8 +176,8 @@ class InvalidRequestException extends IoTEventsDataServiceException {
|
|
|
176
176
|
});
|
|
177
177
|
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
178
178
|
}
|
|
179
|
-
}
|
|
180
|
-
class ServiceUnavailableException extends IoTEventsDataServiceException {
|
|
179
|
+
};
|
|
180
|
+
let ServiceUnavailableException$1 = class ServiceUnavailableException extends IoTEventsDataServiceException$1 {
|
|
181
181
|
name = "ServiceUnavailableException";
|
|
182
182
|
$fault = "server";
|
|
183
183
|
constructor(opts) {
|
|
@@ -188,8 +188,8 @@ class ServiceUnavailableException extends IoTEventsDataServiceException {
|
|
|
188
188
|
});
|
|
189
189
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
190
190
|
}
|
|
191
|
-
}
|
|
192
|
-
class ThrottlingException extends IoTEventsDataServiceException {
|
|
191
|
+
};
|
|
192
|
+
let ThrottlingException$1 = class ThrottlingException extends IoTEventsDataServiceException$1 {
|
|
193
193
|
name = "ThrottlingException";
|
|
194
194
|
$fault = "client";
|
|
195
195
|
constructor(opts) {
|
|
@@ -200,8 +200,8 @@ class ThrottlingException extends IoTEventsDataServiceException {
|
|
|
200
200
|
});
|
|
201
201
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
202
202
|
}
|
|
203
|
-
}
|
|
204
|
-
class ResourceNotFoundException extends IoTEventsDataServiceException {
|
|
203
|
+
};
|
|
204
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends IoTEventsDataServiceException$1 {
|
|
205
205
|
name = "ResourceNotFoundException";
|
|
206
206
|
$fault = "client";
|
|
207
207
|
constructor(opts) {
|
|
@@ -212,548 +212,670 @@ class ResourceNotFoundException extends IoTEventsDataServiceException {
|
|
|
212
212
|
});
|
|
213
213
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
214
214
|
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
const se_BatchAcknowledgeAlarmCommand = async (input, context) => {
|
|
218
|
-
const b = core.requestBuilder(input, context);
|
|
219
|
-
const headers = {
|
|
220
|
-
"content-type": "application/json",
|
|
221
|
-
};
|
|
222
|
-
b.bp("/alarms/acknowledge");
|
|
223
|
-
let body;
|
|
224
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
225
|
-
acknowledgeActionRequests: (_) => smithyClient._json(_),
|
|
226
|
-
}));
|
|
227
|
-
b.m("POST").h(headers).b(body);
|
|
228
|
-
return b.build();
|
|
229
|
-
};
|
|
230
|
-
const se_BatchDeleteDetectorCommand = async (input, context) => {
|
|
231
|
-
const b = core.requestBuilder(input, context);
|
|
232
|
-
const headers = {
|
|
233
|
-
"content-type": "application/json",
|
|
234
|
-
};
|
|
235
|
-
b.bp("/detectors/delete");
|
|
236
|
-
let body;
|
|
237
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
238
|
-
detectors: (_) => smithyClient._json(_),
|
|
239
|
-
}));
|
|
240
|
-
b.m("POST").h(headers).b(body);
|
|
241
|
-
return b.build();
|
|
242
|
-
};
|
|
243
|
-
const se_BatchDisableAlarmCommand = async (input, context) => {
|
|
244
|
-
const b = core.requestBuilder(input, context);
|
|
245
|
-
const headers = {
|
|
246
|
-
"content-type": "application/json",
|
|
247
|
-
};
|
|
248
|
-
b.bp("/alarms/disable");
|
|
249
|
-
let body;
|
|
250
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
251
|
-
disableActionRequests: (_) => smithyClient._json(_),
|
|
252
|
-
}));
|
|
253
|
-
b.m("POST").h(headers).b(body);
|
|
254
|
-
return b.build();
|
|
255
|
-
};
|
|
256
|
-
const se_BatchEnableAlarmCommand = async (input, context) => {
|
|
257
|
-
const b = core.requestBuilder(input, context);
|
|
258
|
-
const headers = {
|
|
259
|
-
"content-type": "application/json",
|
|
260
|
-
};
|
|
261
|
-
b.bp("/alarms/enable");
|
|
262
|
-
let body;
|
|
263
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
264
|
-
enableActionRequests: (_) => smithyClient._json(_),
|
|
265
|
-
}));
|
|
266
|
-
b.m("POST").h(headers).b(body);
|
|
267
|
-
return b.build();
|
|
268
|
-
};
|
|
269
|
-
const se_BatchPutMessageCommand = async (input, context) => {
|
|
270
|
-
const b = core.requestBuilder(input, context);
|
|
271
|
-
const headers = {
|
|
272
|
-
"content-type": "application/json",
|
|
273
|
-
};
|
|
274
|
-
b.bp("/inputs/messages");
|
|
275
|
-
let body;
|
|
276
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
277
|
-
messages: (_) => se_Messages(_, context),
|
|
278
|
-
}));
|
|
279
|
-
b.m("POST").h(headers).b(body);
|
|
280
|
-
return b.build();
|
|
281
|
-
};
|
|
282
|
-
const se_BatchResetAlarmCommand = async (input, context) => {
|
|
283
|
-
const b = core.requestBuilder(input, context);
|
|
284
|
-
const headers = {
|
|
285
|
-
"content-type": "application/json",
|
|
286
|
-
};
|
|
287
|
-
b.bp("/alarms/reset");
|
|
288
|
-
let body;
|
|
289
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
290
|
-
resetActionRequests: (_) => smithyClient._json(_),
|
|
291
|
-
}));
|
|
292
|
-
b.m("POST").h(headers).b(body);
|
|
293
|
-
return b.build();
|
|
294
|
-
};
|
|
295
|
-
const se_BatchSnoozeAlarmCommand = async (input, context) => {
|
|
296
|
-
const b = core.requestBuilder(input, context);
|
|
297
|
-
const headers = {
|
|
298
|
-
"content-type": "application/json",
|
|
299
|
-
};
|
|
300
|
-
b.bp("/alarms/snooze");
|
|
301
|
-
let body;
|
|
302
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
303
|
-
snoozeActionRequests: (_) => smithyClient._json(_),
|
|
304
|
-
}));
|
|
305
|
-
b.m("POST").h(headers).b(body);
|
|
306
|
-
return b.build();
|
|
307
|
-
};
|
|
308
|
-
const se_BatchUpdateDetectorCommand = async (input, context) => {
|
|
309
|
-
const b = core.requestBuilder(input, context);
|
|
310
|
-
const headers = {
|
|
311
|
-
"content-type": "application/json",
|
|
312
|
-
};
|
|
313
|
-
b.bp("/detectors");
|
|
314
|
-
let body;
|
|
315
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
316
|
-
detectors: (_) => smithyClient._json(_),
|
|
317
|
-
}));
|
|
318
|
-
b.m("POST").h(headers).b(body);
|
|
319
|
-
return b.build();
|
|
320
|
-
};
|
|
321
|
-
const se_DescribeAlarmCommand = async (input, context) => {
|
|
322
|
-
const b = core.requestBuilder(input, context);
|
|
323
|
-
const headers = {};
|
|
324
|
-
b.bp("/alarms/{alarmModelName}/keyValues");
|
|
325
|
-
b.p("alarmModelName", () => input.alarmModelName, "{alarmModelName}", false);
|
|
326
|
-
const query = smithyClient.map({
|
|
327
|
-
[_kV]: [, input[_kV]],
|
|
328
|
-
});
|
|
329
|
-
let body;
|
|
330
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
331
|
-
return b.build();
|
|
332
|
-
};
|
|
333
|
-
const se_DescribeDetectorCommand = async (input, context) => {
|
|
334
|
-
const b = core.requestBuilder(input, context);
|
|
335
|
-
const headers = {};
|
|
336
|
-
b.bp("/detectors/{detectorModelName}/keyValues");
|
|
337
|
-
b.p("detectorModelName", () => input.detectorModelName, "{detectorModelName}", false);
|
|
338
|
-
const query = smithyClient.map({
|
|
339
|
-
[_kV]: [, input[_kV]],
|
|
340
|
-
});
|
|
341
|
-
let body;
|
|
342
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
343
|
-
return b.build();
|
|
344
|
-
};
|
|
345
|
-
const se_ListAlarmsCommand = async (input, context) => {
|
|
346
|
-
const b = core.requestBuilder(input, context);
|
|
347
|
-
const headers = {};
|
|
348
|
-
b.bp("/alarms/{alarmModelName}");
|
|
349
|
-
b.p("alarmModelName", () => input.alarmModelName, "{alarmModelName}", false);
|
|
350
|
-
const query = smithyClient.map({
|
|
351
|
-
[_nT]: [, input[_nT]],
|
|
352
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
353
|
-
});
|
|
354
|
-
let body;
|
|
355
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
356
|
-
return b.build();
|
|
357
|
-
};
|
|
358
|
-
const se_ListDetectorsCommand = async (input, context) => {
|
|
359
|
-
const b = core.requestBuilder(input, context);
|
|
360
|
-
const headers = {};
|
|
361
|
-
b.bp("/detectors/{detectorModelName}");
|
|
362
|
-
b.p("detectorModelName", () => input.detectorModelName, "{detectorModelName}", false);
|
|
363
|
-
const query = smithyClient.map({
|
|
364
|
-
[_sN]: [, input[_sN]],
|
|
365
|
-
[_nT]: [, input[_nT]],
|
|
366
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
367
|
-
});
|
|
368
|
-
let body;
|
|
369
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
370
|
-
return b.build();
|
|
371
|
-
};
|
|
372
|
-
const de_BatchAcknowledgeAlarmCommand = async (output, context) => {
|
|
373
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
374
|
-
return de_CommandError(output, context);
|
|
375
|
-
}
|
|
376
|
-
const contents = smithyClient.map({
|
|
377
|
-
$metadata: deserializeMetadata(output),
|
|
378
|
-
});
|
|
379
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
380
|
-
const doc = smithyClient.take(data, {
|
|
381
|
-
errorEntries: smithyClient._json,
|
|
382
|
-
});
|
|
383
|
-
Object.assign(contents, doc);
|
|
384
|
-
return contents;
|
|
385
|
-
};
|
|
386
|
-
const de_BatchDeleteDetectorCommand = async (output, context) => {
|
|
387
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
388
|
-
return de_CommandError(output, context);
|
|
389
|
-
}
|
|
390
|
-
const contents = smithyClient.map({
|
|
391
|
-
$metadata: deserializeMetadata(output),
|
|
392
|
-
});
|
|
393
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
394
|
-
const doc = smithyClient.take(data, {
|
|
395
|
-
batchDeleteDetectorErrorEntries: smithyClient._json,
|
|
396
|
-
});
|
|
397
|
-
Object.assign(contents, doc);
|
|
398
|
-
return contents;
|
|
399
|
-
};
|
|
400
|
-
const de_BatchDisableAlarmCommand = async (output, context) => {
|
|
401
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
402
|
-
return de_CommandError(output, context);
|
|
403
|
-
}
|
|
404
|
-
const contents = smithyClient.map({
|
|
405
|
-
$metadata: deserializeMetadata(output),
|
|
406
|
-
});
|
|
407
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
408
|
-
const doc = smithyClient.take(data, {
|
|
409
|
-
errorEntries: smithyClient._json,
|
|
410
|
-
});
|
|
411
|
-
Object.assign(contents, doc);
|
|
412
|
-
return contents;
|
|
413
|
-
};
|
|
414
|
-
const de_BatchEnableAlarmCommand = async (output, context) => {
|
|
415
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
416
|
-
return de_CommandError(output, context);
|
|
417
|
-
}
|
|
418
|
-
const contents = smithyClient.map({
|
|
419
|
-
$metadata: deserializeMetadata(output),
|
|
420
|
-
});
|
|
421
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
422
|
-
const doc = smithyClient.take(data, {
|
|
423
|
-
errorEntries: smithyClient._json,
|
|
424
|
-
});
|
|
425
|
-
Object.assign(contents, doc);
|
|
426
|
-
return contents;
|
|
427
|
-
};
|
|
428
|
-
const de_BatchPutMessageCommand = async (output, context) => {
|
|
429
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
430
|
-
return de_CommandError(output, context);
|
|
431
|
-
}
|
|
432
|
-
const contents = smithyClient.map({
|
|
433
|
-
$metadata: deserializeMetadata(output),
|
|
434
|
-
});
|
|
435
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
436
|
-
const doc = smithyClient.take(data, {
|
|
437
|
-
BatchPutMessageErrorEntries: smithyClient._json,
|
|
438
|
-
});
|
|
439
|
-
Object.assign(contents, doc);
|
|
440
|
-
return contents;
|
|
441
|
-
};
|
|
442
|
-
const de_BatchResetAlarmCommand = async (output, context) => {
|
|
443
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
444
|
-
return de_CommandError(output, context);
|
|
445
|
-
}
|
|
446
|
-
const contents = smithyClient.map({
|
|
447
|
-
$metadata: deserializeMetadata(output),
|
|
448
|
-
});
|
|
449
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
450
|
-
const doc = smithyClient.take(data, {
|
|
451
|
-
errorEntries: smithyClient._json,
|
|
452
|
-
});
|
|
453
|
-
Object.assign(contents, doc);
|
|
454
|
-
return contents;
|
|
455
|
-
};
|
|
456
|
-
const de_BatchSnoozeAlarmCommand = async (output, context) => {
|
|
457
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
458
|
-
return de_CommandError(output, context);
|
|
459
|
-
}
|
|
460
|
-
const contents = smithyClient.map({
|
|
461
|
-
$metadata: deserializeMetadata(output),
|
|
462
|
-
});
|
|
463
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
464
|
-
const doc = smithyClient.take(data, {
|
|
465
|
-
errorEntries: smithyClient._json,
|
|
466
|
-
});
|
|
467
|
-
Object.assign(contents, doc);
|
|
468
|
-
return contents;
|
|
469
215
|
};
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
const
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
const
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
const
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
const
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
const
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
const
|
|
574
|
-
const
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
const
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
});
|
|
598
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
599
|
-
};
|
|
600
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
601
|
-
const contents = smithyClient.map({});
|
|
602
|
-
const data = parsedOutput.body;
|
|
603
|
-
const doc = smithyClient.take(data, {
|
|
604
|
-
message: smithyClient.expectString,
|
|
605
|
-
});
|
|
606
|
-
Object.assign(contents, doc);
|
|
607
|
-
const exception = new ResourceNotFoundException({
|
|
608
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
609
|
-
...contents,
|
|
610
|
-
});
|
|
611
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
612
|
-
};
|
|
613
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
614
|
-
const contents = smithyClient.map({});
|
|
615
|
-
const data = parsedOutput.body;
|
|
616
|
-
const doc = smithyClient.take(data, {
|
|
617
|
-
message: smithyClient.expectString,
|
|
618
|
-
});
|
|
619
|
-
Object.assign(contents, doc);
|
|
620
|
-
const exception = new ServiceUnavailableException({
|
|
621
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
622
|
-
...contents,
|
|
623
|
-
});
|
|
624
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
625
|
-
};
|
|
626
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
627
|
-
const contents = smithyClient.map({});
|
|
628
|
-
const data = parsedOutput.body;
|
|
629
|
-
const doc = smithyClient.take(data, {
|
|
630
|
-
message: smithyClient.expectString,
|
|
631
|
-
});
|
|
632
|
-
Object.assign(contents, doc);
|
|
633
|
-
const exception = new ThrottlingException({
|
|
634
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
635
|
-
...contents,
|
|
636
|
-
});
|
|
637
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
638
|
-
};
|
|
639
|
-
const se_Message = (input, context) => {
|
|
640
|
-
return smithyClient.take(input, {
|
|
641
|
-
inputName: [],
|
|
642
|
-
messageId: [],
|
|
643
|
-
payload: context.base64Encoder,
|
|
644
|
-
timestamp: smithyClient._json,
|
|
645
|
-
});
|
|
646
|
-
};
|
|
647
|
-
const se_Messages = (input, context) => {
|
|
648
|
-
return input
|
|
649
|
-
.filter((e) => e != null)
|
|
650
|
-
.map((entry) => {
|
|
651
|
-
return se_Message(entry, context);
|
|
652
|
-
});
|
|
653
|
-
};
|
|
654
|
-
const de_Alarm = (output, context) => {
|
|
655
|
-
return smithyClient.take(output, {
|
|
656
|
-
alarmModelName: smithyClient.expectString,
|
|
657
|
-
alarmModelVersion: smithyClient.expectString,
|
|
658
|
-
alarmState: smithyClient._json,
|
|
659
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
660
|
-
keyValue: smithyClient.expectString,
|
|
661
|
-
lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
662
|
-
severity: smithyClient.expectInt32,
|
|
663
|
-
});
|
|
664
|
-
};
|
|
665
|
-
const de_AlarmSummaries = (output, context) => {
|
|
666
|
-
const retVal = (output || [])
|
|
667
|
-
.filter((e) => e != null)
|
|
668
|
-
.map((entry) => {
|
|
669
|
-
return de_AlarmSummary(entry);
|
|
670
|
-
});
|
|
671
|
-
return retVal;
|
|
672
|
-
};
|
|
673
|
-
const de_AlarmSummary = (output, context) => {
|
|
674
|
-
return smithyClient.take(output, {
|
|
675
|
-
alarmModelName: smithyClient.expectString,
|
|
676
|
-
alarmModelVersion: smithyClient.expectString,
|
|
677
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
678
|
-
keyValue: smithyClient.expectString,
|
|
679
|
-
lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
680
|
-
stateName: smithyClient.expectString,
|
|
681
|
-
});
|
|
682
|
-
};
|
|
683
|
-
const de_Detector = (output, context) => {
|
|
684
|
-
return smithyClient.take(output, {
|
|
685
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
686
|
-
detectorModelName: smithyClient.expectString,
|
|
687
|
-
detectorModelVersion: smithyClient.expectString,
|
|
688
|
-
keyValue: smithyClient.expectString,
|
|
689
|
-
lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
690
|
-
state: (_) => de_DetectorState(_),
|
|
691
|
-
});
|
|
692
|
-
};
|
|
693
|
-
const de_DetectorState = (output, context) => {
|
|
694
|
-
return smithyClient.take(output, {
|
|
695
|
-
stateName: smithyClient.expectString,
|
|
696
|
-
timers: (_) => de_Timers(_),
|
|
697
|
-
variables: smithyClient._json,
|
|
698
|
-
});
|
|
699
|
-
};
|
|
700
|
-
const de_DetectorSummaries = (output, context) => {
|
|
701
|
-
const retVal = (output || [])
|
|
702
|
-
.filter((e) => e != null)
|
|
703
|
-
.map((entry) => {
|
|
704
|
-
return de_DetectorSummary(entry);
|
|
705
|
-
});
|
|
706
|
-
return retVal;
|
|
707
|
-
};
|
|
708
|
-
const de_DetectorSummary = (output, context) => {
|
|
709
|
-
return smithyClient.take(output, {
|
|
710
|
-
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
711
|
-
detectorModelName: smithyClient.expectString,
|
|
712
|
-
detectorModelVersion: smithyClient.expectString,
|
|
713
|
-
keyValue: smithyClient.expectString,
|
|
714
|
-
lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
715
|
-
state: smithyClient._json,
|
|
716
|
-
});
|
|
717
|
-
};
|
|
718
|
-
const de_Timer = (output, context) => {
|
|
719
|
-
return smithyClient.take(output, {
|
|
720
|
-
name: smithyClient.expectString,
|
|
721
|
-
timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
722
|
-
});
|
|
723
|
-
};
|
|
724
|
-
const de_Timers = (output, context) => {
|
|
725
|
-
const retVal = (output || [])
|
|
726
|
-
.filter((e) => e != null)
|
|
727
|
-
.map((entry) => {
|
|
728
|
-
return de_Timer(entry);
|
|
729
|
-
});
|
|
730
|
-
return retVal;
|
|
731
|
-
};
|
|
732
|
-
const deserializeMetadata = (output) => ({
|
|
733
|
-
httpStatusCode: output.statusCode,
|
|
734
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
735
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
736
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
737
|
-
});
|
|
216
|
+
|
|
217
|
+
const _A = "Alarm";
|
|
218
|
+
const _AAAR = "AcknowledgeAlarmActionRequest";
|
|
219
|
+
const _AAARc = "AcknowledgeAlarmActionRequests";
|
|
220
|
+
const _AAC = "AcknowledgeActionConfiguration";
|
|
221
|
+
const _AS = "AlarmState";
|
|
222
|
+
const _ASl = "AlarmSummary";
|
|
223
|
+
const _ASla = "AlarmSummaries";
|
|
224
|
+
const _BAA = "BatchAcknowledgeAlarm";
|
|
225
|
+
const _BAAEE = "BatchAlarmActionErrorEntry";
|
|
226
|
+
const _BAAEEa = "BatchAlarmActionErrorEntries";
|
|
227
|
+
const _BAAR = "BatchAcknowledgeAlarmRequest";
|
|
228
|
+
const _BAARa = "BatchAcknowledgeAlarmResponse";
|
|
229
|
+
const _BDA = "BatchDisableAlarm";
|
|
230
|
+
const _BDAR = "BatchDisableAlarmRequest";
|
|
231
|
+
const _BDARa = "BatchDisableAlarmResponse";
|
|
232
|
+
const _BDD = "BatchDeleteDetector";
|
|
233
|
+
const _BDDEE = "BatchDeleteDetectorErrorEntry";
|
|
234
|
+
const _BDDEEa = "BatchDeleteDetectorErrorEntries";
|
|
235
|
+
const _BDDR = "BatchDeleteDetectorRequest";
|
|
236
|
+
const _BDDRa = "BatchDeleteDetectorResponse";
|
|
237
|
+
const _BEA = "BatchEnableAlarm";
|
|
238
|
+
const _BEAR = "BatchEnableAlarmRequest";
|
|
239
|
+
const _BEARa = "BatchEnableAlarmResponse";
|
|
240
|
+
const _BPM = "BatchPutMessage";
|
|
241
|
+
const _BPMEE = "BatchPutMessageErrorEntry";
|
|
242
|
+
const _BPMEEa = "BatchPutMessageErrorEntries";
|
|
243
|
+
const _BPMR = "BatchPutMessageRequest";
|
|
244
|
+
const _BPMRa = "BatchPutMessageResponse";
|
|
245
|
+
const _BRA = "BatchResetAlarm";
|
|
246
|
+
const _BRAR = "BatchResetAlarmRequest";
|
|
247
|
+
const _BRARa = "BatchResetAlarmResponse";
|
|
248
|
+
const _BSA = "BatchSnoozeAlarm";
|
|
249
|
+
const _BSAR = "BatchSnoozeAlarmRequest";
|
|
250
|
+
const _BSARa = "BatchSnoozeAlarmResponse";
|
|
251
|
+
const _BUD = "BatchUpdateDetector";
|
|
252
|
+
const _BUDEE = "BatchUpdateDetectorErrorEntry";
|
|
253
|
+
const _BUDEEa = "BatchUpdateDetectorErrorEntries";
|
|
254
|
+
const _BUDR = "BatchUpdateDetectorRequest";
|
|
255
|
+
const _BUDRa = "BatchUpdateDetectorResponse";
|
|
256
|
+
const _CA = "CustomerAction";
|
|
257
|
+
const _D = "Detector";
|
|
258
|
+
const _DA = "DescribeAlarm";
|
|
259
|
+
const _DAAR = "DisableAlarmActionRequest";
|
|
260
|
+
const _DAARi = "DisableAlarmActionRequests";
|
|
261
|
+
const _DAC = "DisableActionConfiguration";
|
|
262
|
+
const _DAR = "DescribeAlarmRequest";
|
|
263
|
+
const _DARe = "DescribeAlarmResponse";
|
|
264
|
+
const _DD = "DescribeDetector";
|
|
265
|
+
const _DDR = "DeleteDetectorRequest";
|
|
266
|
+
const _DDRe = "DescribeDetectorRequest";
|
|
267
|
+
const _DDRel = "DeleteDetectorRequests";
|
|
268
|
+
const _DDRes = "DescribeDetectorResponse";
|
|
269
|
+
const _DS = "DetectorState";
|
|
270
|
+
const _DSD = "DetectorStateDefinition";
|
|
271
|
+
const _DSS = "DetectorStateSummary";
|
|
272
|
+
const _DSe = "DetectorSummary";
|
|
273
|
+
const _DSet = "DetectorSummaries";
|
|
274
|
+
const _EAAR = "EnableAlarmActionRequest";
|
|
275
|
+
const _EAARn = "EnableAlarmActionRequests";
|
|
276
|
+
const _EAC = "EnableActionConfiguration";
|
|
277
|
+
const _IFE = "InternalFailureException";
|
|
278
|
+
const _IRE = "InvalidRequestException";
|
|
279
|
+
const _LA = "ListAlarms";
|
|
280
|
+
const _LAR = "ListAlarmsRequest";
|
|
281
|
+
const _LARi = "ListAlarmsResponse";
|
|
282
|
+
const _LD = "ListDetectors";
|
|
283
|
+
const _LDR = "ListDetectorsRequest";
|
|
284
|
+
const _LDRi = "ListDetectorsResponse";
|
|
285
|
+
const _M = "Message";
|
|
286
|
+
const _Me = "Messages";
|
|
287
|
+
const _RAAR = "ResetAlarmActionRequest";
|
|
288
|
+
const _RAARe = "ResetAlarmActionRequests";
|
|
289
|
+
const _RAC = "ResetActionConfiguration";
|
|
290
|
+
const _RE = "RuleEvaluation";
|
|
291
|
+
const _RNFE = "ResourceNotFoundException";
|
|
292
|
+
const _SAAR = "SnoozeAlarmActionRequest";
|
|
293
|
+
const _SAARn = "SnoozeAlarmActionRequests";
|
|
294
|
+
const _SAC = "SnoozeActionConfiguration";
|
|
295
|
+
const _SCC = "StateChangeConfiguration";
|
|
296
|
+
const _SE = "SystemEvent";
|
|
297
|
+
const _SRE = "SimpleRuleEvaluation";
|
|
298
|
+
const _SUE = "ServiceUnavailableException";
|
|
299
|
+
const _T = "Timer";
|
|
300
|
+
const _TD = "TimerDefinition";
|
|
301
|
+
const _TDi = "TimerDefinitions";
|
|
302
|
+
const _TE = "ThrottlingException";
|
|
303
|
+
const _TV = "TimestampValue";
|
|
304
|
+
const _Ti = "Timers";
|
|
305
|
+
const _UDR = "UpdateDetectorRequest";
|
|
306
|
+
const _UDRp = "UpdateDetectorRequests";
|
|
307
|
+
const _V = "Variable";
|
|
308
|
+
const _VD = "VariableDefinition";
|
|
309
|
+
const _VDa = "VariableDefinitions";
|
|
310
|
+
const _Va = "Variables";
|
|
311
|
+
const _a = "alarm";
|
|
312
|
+
const _aAC = "acknowledgeActionConfiguration";
|
|
313
|
+
const _aAR = "acknowledgeActionRequests";
|
|
314
|
+
const _aMN = "alarmModelName";
|
|
315
|
+
const _aMV = "alarmModelVersion";
|
|
316
|
+
const _aN = "actionName";
|
|
317
|
+
const _aS = "alarmState";
|
|
318
|
+
const _aSl = "alarmSummaries";
|
|
319
|
+
const _bDDEE = "batchDeleteDetectorErrorEntries";
|
|
320
|
+
const _bUDEE = "batchUpdateDetectorErrorEntries";
|
|
321
|
+
const _c = "client";
|
|
322
|
+
const _cA = "customerAction";
|
|
323
|
+
const _cT = "creationTime";
|
|
324
|
+
const _d = "detectors";
|
|
325
|
+
const _dAC = "disableActionConfiguration";
|
|
326
|
+
const _dAR = "disableActionRequests";
|
|
327
|
+
const _dMN = "detectorModelName";
|
|
328
|
+
const _dMV = "detectorModelVersion";
|
|
329
|
+
const _dS = "detectorSummaries";
|
|
330
|
+
const _de = "detector";
|
|
331
|
+
const _e = "error";
|
|
332
|
+
const _eAC = "enableActionConfiguration";
|
|
333
|
+
const _eAR = "enableActionRequests";
|
|
334
|
+
const _eC = "errorCode";
|
|
335
|
+
const _eE = "errorEntries";
|
|
336
|
+
const _eM = "errorMessage";
|
|
337
|
+
const _eT = "eventType";
|
|
338
|
+
const _h = "http";
|
|
339
|
+
const _hE = "httpError";
|
|
340
|
+
const _hQ = "httpQuery";
|
|
341
|
+
const _iN = "inputName";
|
|
342
|
+
const _iPV = "inputPropertyValue";
|
|
738
343
|
const _kV = "keyValue";
|
|
344
|
+
const _lUT = "lastUpdateTime";
|
|
345
|
+
const _m = "messages";
|
|
346
|
+
const _mI = "messageId";
|
|
739
347
|
const _mR = "maxResults";
|
|
348
|
+
const _me = "message";
|
|
349
|
+
const _n = "note";
|
|
740
350
|
const _nT = "nextToken";
|
|
351
|
+
const _na = "name";
|
|
352
|
+
const _o = "operator";
|
|
353
|
+
const _p = "payload";
|
|
354
|
+
const _rAC = "resetActionConfiguration";
|
|
355
|
+
const _rAR = "resetActionRequests";
|
|
356
|
+
const _rE = "ruleEvaluation";
|
|
357
|
+
const _rI = "requestId";
|
|
358
|
+
const _s = "severity";
|
|
359
|
+
const _sAC = "snoozeActionConfiguration";
|
|
360
|
+
const _sAR = "snoozeActionRequests";
|
|
361
|
+
const _sCC = "stateChangeConfiguration";
|
|
362
|
+
const _sD = "snoozeDuration";
|
|
363
|
+
const _sE = "systemEvent";
|
|
741
364
|
const _sN = "stateName";
|
|
365
|
+
const _sRE = "simpleRuleEvaluation";
|
|
366
|
+
const _se = "server";
|
|
367
|
+
const _sec = "seconds";
|
|
368
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ioteventsdata";
|
|
369
|
+
const _st = "state";
|
|
370
|
+
const _t = "timers";
|
|
371
|
+
const _tIM = "timeInMillis";
|
|
372
|
+
const _tT = "triggerType";
|
|
373
|
+
const _tV = "thresholdValue";
|
|
374
|
+
const _ti = "timestamp";
|
|
375
|
+
const _v = "variables";
|
|
376
|
+
const _va = "value";
|
|
377
|
+
const n0 = "com.amazonaws.ioteventsdata";
|
|
378
|
+
var AcknowledgeActionConfiguration = [3, n0, _AAC, 0, [_n], [0]];
|
|
379
|
+
var AcknowledgeAlarmActionRequest = [3, n0, _AAAR, 0, [_rI, _aMN, _kV, _n], [0, 0, 0, 0]];
|
|
380
|
+
var Alarm = [
|
|
381
|
+
3,
|
|
382
|
+
n0,
|
|
383
|
+
_A,
|
|
384
|
+
0,
|
|
385
|
+
[_aMN, _aMV, _kV, _aS, _s, _cT, _lUT],
|
|
386
|
+
[0, 0, 0, () => AlarmState, 1, 4, 4],
|
|
387
|
+
];
|
|
388
|
+
var AlarmState = [
|
|
389
|
+
3,
|
|
390
|
+
n0,
|
|
391
|
+
_AS,
|
|
392
|
+
0,
|
|
393
|
+
[_sN, _rE, _cA, _sE],
|
|
394
|
+
[0, () => RuleEvaluation, () => CustomerAction, () => SystemEvent],
|
|
395
|
+
];
|
|
396
|
+
var AlarmSummary = [
|
|
397
|
+
3,
|
|
398
|
+
n0,
|
|
399
|
+
_ASl,
|
|
400
|
+
0,
|
|
401
|
+
[_aMN, _aMV, _kV, _sN, _cT, _lUT],
|
|
402
|
+
[0, 0, 0, 0, 4, 4],
|
|
403
|
+
];
|
|
404
|
+
var BatchAcknowledgeAlarmRequest = [
|
|
405
|
+
3,
|
|
406
|
+
n0,
|
|
407
|
+
_BAAR,
|
|
408
|
+
0,
|
|
409
|
+
[_aAR],
|
|
410
|
+
[() => AcknowledgeAlarmActionRequests],
|
|
411
|
+
];
|
|
412
|
+
var BatchAcknowledgeAlarmResponse = [
|
|
413
|
+
3,
|
|
414
|
+
n0,
|
|
415
|
+
_BAARa,
|
|
416
|
+
0,
|
|
417
|
+
[_eE],
|
|
418
|
+
[() => BatchAlarmActionErrorEntries],
|
|
419
|
+
];
|
|
420
|
+
var BatchAlarmActionErrorEntry = [3, n0, _BAAEE, 0, [_rI, _eC, _eM], [0, 0, 0]];
|
|
421
|
+
var BatchDeleteDetectorErrorEntry = [3, n0, _BDDEE, 0, [_mI, _eC, _eM], [0, 0, 0]];
|
|
422
|
+
var BatchDeleteDetectorRequest = [3, n0, _BDDR, 0, [_d], [() => DeleteDetectorRequests]];
|
|
423
|
+
var BatchDeleteDetectorResponse = [
|
|
424
|
+
3,
|
|
425
|
+
n0,
|
|
426
|
+
_BDDRa,
|
|
427
|
+
0,
|
|
428
|
+
[_bDDEE],
|
|
429
|
+
[() => BatchDeleteDetectorErrorEntries],
|
|
430
|
+
];
|
|
431
|
+
var BatchDisableAlarmRequest = [
|
|
432
|
+
3,
|
|
433
|
+
n0,
|
|
434
|
+
_BDAR,
|
|
435
|
+
0,
|
|
436
|
+
[_dAR],
|
|
437
|
+
[() => DisableAlarmActionRequests],
|
|
438
|
+
];
|
|
439
|
+
var BatchDisableAlarmResponse = [
|
|
440
|
+
3,
|
|
441
|
+
n0,
|
|
442
|
+
_BDARa,
|
|
443
|
+
0,
|
|
444
|
+
[_eE],
|
|
445
|
+
[() => BatchAlarmActionErrorEntries],
|
|
446
|
+
];
|
|
447
|
+
var BatchEnableAlarmRequest = [
|
|
448
|
+
3,
|
|
449
|
+
n0,
|
|
450
|
+
_BEAR,
|
|
451
|
+
0,
|
|
452
|
+
[_eAR],
|
|
453
|
+
[() => EnableAlarmActionRequests],
|
|
454
|
+
];
|
|
455
|
+
var BatchEnableAlarmResponse = [
|
|
456
|
+
3,
|
|
457
|
+
n0,
|
|
458
|
+
_BEARa,
|
|
459
|
+
0,
|
|
460
|
+
[_eE],
|
|
461
|
+
[() => BatchAlarmActionErrorEntries],
|
|
462
|
+
];
|
|
463
|
+
var BatchPutMessageErrorEntry = [3, n0, _BPMEE, 0, [_mI, _eC, _eM], [0, 0, 0]];
|
|
464
|
+
var BatchPutMessageRequest = [3, n0, _BPMR, 0, [_m], [() => Messages]];
|
|
465
|
+
var BatchPutMessageResponse = [
|
|
466
|
+
3,
|
|
467
|
+
n0,
|
|
468
|
+
_BPMRa,
|
|
469
|
+
0,
|
|
470
|
+
[_BPMEEa],
|
|
471
|
+
[() => BatchPutMessageErrorEntries],
|
|
472
|
+
];
|
|
473
|
+
var BatchResetAlarmRequest = [3, n0, _BRAR, 0, [_rAR], [() => ResetAlarmActionRequests]];
|
|
474
|
+
var BatchResetAlarmResponse = [
|
|
475
|
+
3,
|
|
476
|
+
n0,
|
|
477
|
+
_BRARa,
|
|
478
|
+
0,
|
|
479
|
+
[_eE],
|
|
480
|
+
[() => BatchAlarmActionErrorEntries],
|
|
481
|
+
];
|
|
482
|
+
var BatchSnoozeAlarmRequest = [
|
|
483
|
+
3,
|
|
484
|
+
n0,
|
|
485
|
+
_BSAR,
|
|
486
|
+
0,
|
|
487
|
+
[_sAR],
|
|
488
|
+
[() => SnoozeAlarmActionRequests],
|
|
489
|
+
];
|
|
490
|
+
var BatchSnoozeAlarmResponse = [
|
|
491
|
+
3,
|
|
492
|
+
n0,
|
|
493
|
+
_BSARa,
|
|
494
|
+
0,
|
|
495
|
+
[_eE],
|
|
496
|
+
[() => BatchAlarmActionErrorEntries],
|
|
497
|
+
];
|
|
498
|
+
var BatchUpdateDetectorErrorEntry = [3, n0, _BUDEE, 0, [_mI, _eC, _eM], [0, 0, 0]];
|
|
499
|
+
var BatchUpdateDetectorRequest = [3, n0, _BUDR, 0, [_d], [() => UpdateDetectorRequests]];
|
|
500
|
+
var BatchUpdateDetectorResponse = [
|
|
501
|
+
3,
|
|
502
|
+
n0,
|
|
503
|
+
_BUDRa,
|
|
504
|
+
0,
|
|
505
|
+
[_bUDEE],
|
|
506
|
+
[() => BatchUpdateDetectorErrorEntries],
|
|
507
|
+
];
|
|
508
|
+
var CustomerAction = [
|
|
509
|
+
3,
|
|
510
|
+
n0,
|
|
511
|
+
_CA,
|
|
512
|
+
0,
|
|
513
|
+
[_aN, _sAC, _eAC, _dAC, _aAC, _rAC],
|
|
514
|
+
[
|
|
515
|
+
0,
|
|
516
|
+
() => SnoozeActionConfiguration,
|
|
517
|
+
() => EnableActionConfiguration,
|
|
518
|
+
() => DisableActionConfiguration,
|
|
519
|
+
() => AcknowledgeActionConfiguration,
|
|
520
|
+
() => ResetActionConfiguration,
|
|
521
|
+
],
|
|
522
|
+
];
|
|
523
|
+
var DeleteDetectorRequest = [3, n0, _DDR, 0, [_mI, _dMN, _kV], [0, 0, 0]];
|
|
524
|
+
var DescribeAlarmRequest = [
|
|
525
|
+
3,
|
|
526
|
+
n0,
|
|
527
|
+
_DAR,
|
|
528
|
+
0,
|
|
529
|
+
[_aMN, _kV],
|
|
530
|
+
[
|
|
531
|
+
[0, 1],
|
|
532
|
+
[
|
|
533
|
+
0,
|
|
534
|
+
{
|
|
535
|
+
[_hQ]: _kV,
|
|
536
|
+
},
|
|
537
|
+
],
|
|
538
|
+
],
|
|
539
|
+
];
|
|
540
|
+
var DescribeAlarmResponse = [3, n0, _DARe, 0, [_a], [() => Alarm]];
|
|
541
|
+
var DescribeDetectorRequest = [
|
|
542
|
+
3,
|
|
543
|
+
n0,
|
|
544
|
+
_DDRe,
|
|
545
|
+
0,
|
|
546
|
+
[_dMN, _kV],
|
|
547
|
+
[
|
|
548
|
+
[0, 1],
|
|
549
|
+
[
|
|
550
|
+
0,
|
|
551
|
+
{
|
|
552
|
+
[_hQ]: _kV,
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
],
|
|
556
|
+
];
|
|
557
|
+
var DescribeDetectorResponse = [3, n0, _DDRes, 0, [_de], [() => Detector]];
|
|
558
|
+
var Detector = [
|
|
559
|
+
3,
|
|
560
|
+
n0,
|
|
561
|
+
_D,
|
|
562
|
+
0,
|
|
563
|
+
[_dMN, _kV, _dMV, _st, _cT, _lUT],
|
|
564
|
+
[0, 0, 0, () => DetectorState, 4, 4],
|
|
565
|
+
];
|
|
566
|
+
var DetectorState = [3, n0, _DS, 0, [_sN, _v, _t], [0, () => Variables, () => Timers]];
|
|
567
|
+
var DetectorStateDefinition = [
|
|
568
|
+
3,
|
|
569
|
+
n0,
|
|
570
|
+
_DSD,
|
|
571
|
+
0,
|
|
572
|
+
[_sN, _v, _t],
|
|
573
|
+
[0, () => VariableDefinitions, () => TimerDefinitions],
|
|
574
|
+
];
|
|
575
|
+
var DetectorStateSummary = [3, n0, _DSS, 0, [_sN], [0]];
|
|
576
|
+
var DetectorSummary = [
|
|
577
|
+
3,
|
|
578
|
+
n0,
|
|
579
|
+
_DSe,
|
|
580
|
+
0,
|
|
581
|
+
[_dMN, _kV, _dMV, _st, _cT, _lUT],
|
|
582
|
+
[0, 0, 0, () => DetectorStateSummary, 4, 4],
|
|
583
|
+
];
|
|
584
|
+
var DisableActionConfiguration = [3, n0, _DAC, 0, [_n], [0]];
|
|
585
|
+
var DisableAlarmActionRequest = [3, n0, _DAAR, 0, [_rI, _aMN, _kV, _n], [0, 0, 0, 0]];
|
|
586
|
+
var EnableActionConfiguration = [3, n0, _EAC, 0, [_n], [0]];
|
|
587
|
+
var EnableAlarmActionRequest = [3, n0, _EAAR, 0, [_rI, _aMN, _kV, _n], [0, 0, 0, 0]];
|
|
588
|
+
var InternalFailureException = [
|
|
589
|
+
-3,
|
|
590
|
+
n0,
|
|
591
|
+
_IFE,
|
|
592
|
+
{
|
|
593
|
+
[_e]: _se,
|
|
594
|
+
[_hE]: 500,
|
|
595
|
+
},
|
|
596
|
+
[_me],
|
|
597
|
+
[0],
|
|
598
|
+
];
|
|
599
|
+
schema.TypeRegistry.for(n0).registerError(InternalFailureException, InternalFailureException$1);
|
|
600
|
+
var InvalidRequestException = [
|
|
601
|
+
-3,
|
|
602
|
+
n0,
|
|
603
|
+
_IRE,
|
|
604
|
+
{
|
|
605
|
+
[_e]: _c,
|
|
606
|
+
[_hE]: 400,
|
|
607
|
+
},
|
|
608
|
+
[_me],
|
|
609
|
+
[0],
|
|
610
|
+
];
|
|
611
|
+
schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
|
|
612
|
+
var ListAlarmsRequest = [
|
|
613
|
+
3,
|
|
614
|
+
n0,
|
|
615
|
+
_LAR,
|
|
616
|
+
0,
|
|
617
|
+
[_aMN, _nT, _mR],
|
|
618
|
+
[
|
|
619
|
+
[0, 1],
|
|
620
|
+
[
|
|
621
|
+
0,
|
|
622
|
+
{
|
|
623
|
+
[_hQ]: _nT,
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
[
|
|
627
|
+
1,
|
|
628
|
+
{
|
|
629
|
+
[_hQ]: _mR,
|
|
630
|
+
},
|
|
631
|
+
],
|
|
632
|
+
],
|
|
633
|
+
];
|
|
634
|
+
var ListAlarmsResponse = [3, n0, _LARi, 0, [_aSl, _nT], [() => AlarmSummaries, 0]];
|
|
635
|
+
var ListDetectorsRequest = [
|
|
636
|
+
3,
|
|
637
|
+
n0,
|
|
638
|
+
_LDR,
|
|
639
|
+
0,
|
|
640
|
+
[_dMN, _sN, _nT, _mR],
|
|
641
|
+
[
|
|
642
|
+
[0, 1],
|
|
643
|
+
[
|
|
644
|
+
0,
|
|
645
|
+
{
|
|
646
|
+
[_hQ]: _sN,
|
|
647
|
+
},
|
|
648
|
+
],
|
|
649
|
+
[
|
|
650
|
+
0,
|
|
651
|
+
{
|
|
652
|
+
[_hQ]: _nT,
|
|
653
|
+
},
|
|
654
|
+
],
|
|
655
|
+
[
|
|
656
|
+
1,
|
|
657
|
+
{
|
|
658
|
+
[_hQ]: _mR,
|
|
659
|
+
},
|
|
660
|
+
],
|
|
661
|
+
],
|
|
662
|
+
];
|
|
663
|
+
var ListDetectorsResponse = [3, n0, _LDRi, 0, [_dS, _nT], [() => DetectorSummaries, 0]];
|
|
664
|
+
var Message = [3, n0, _M, 0, [_mI, _iN, _p, _ti], [0, 0, 21, () => TimestampValue]];
|
|
665
|
+
var ResetActionConfiguration = [3, n0, _RAC, 0, [_n], [0]];
|
|
666
|
+
var ResetAlarmActionRequest = [3, n0, _RAAR, 0, [_rI, _aMN, _kV, _n], [0, 0, 0, 0]];
|
|
667
|
+
var ResourceNotFoundException = [
|
|
668
|
+
-3,
|
|
669
|
+
n0,
|
|
670
|
+
_RNFE,
|
|
671
|
+
{
|
|
672
|
+
[_e]: _c,
|
|
673
|
+
[_hE]: 404,
|
|
674
|
+
},
|
|
675
|
+
[_me],
|
|
676
|
+
[0],
|
|
677
|
+
];
|
|
678
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
679
|
+
var RuleEvaluation = [3, n0, _RE, 0, [_sRE], [() => SimpleRuleEvaluation]];
|
|
680
|
+
var ServiceUnavailableException = [
|
|
681
|
+
-3,
|
|
682
|
+
n0,
|
|
683
|
+
_SUE,
|
|
684
|
+
{
|
|
685
|
+
[_e]: _se,
|
|
686
|
+
[_hE]: 503,
|
|
687
|
+
},
|
|
688
|
+
[_me],
|
|
689
|
+
[0],
|
|
690
|
+
];
|
|
691
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
|
|
692
|
+
var SimpleRuleEvaluation = [3, n0, _SRE, 0, [_iPV, _o, _tV], [0, 0, 0]];
|
|
693
|
+
var SnoozeActionConfiguration = [3, n0, _SAC, 0, [_sD, _n], [1, 0]];
|
|
694
|
+
var SnoozeAlarmActionRequest = [
|
|
695
|
+
3,
|
|
696
|
+
n0,
|
|
697
|
+
_SAAR,
|
|
698
|
+
0,
|
|
699
|
+
[_rI, _aMN, _kV, _n, _sD],
|
|
700
|
+
[0, 0, 0, 0, 1],
|
|
701
|
+
];
|
|
702
|
+
var StateChangeConfiguration = [3, n0, _SCC, 0, [_tT], [0]];
|
|
703
|
+
var SystemEvent = [3, n0, _SE, 0, [_eT, _sCC], [0, () => StateChangeConfiguration]];
|
|
704
|
+
var ThrottlingException = [
|
|
705
|
+
-3,
|
|
706
|
+
n0,
|
|
707
|
+
_TE,
|
|
708
|
+
{
|
|
709
|
+
[_e]: _c,
|
|
710
|
+
[_hE]: 429,
|
|
711
|
+
},
|
|
712
|
+
[_me],
|
|
713
|
+
[0],
|
|
714
|
+
];
|
|
715
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
716
|
+
var Timer = [3, n0, _T, 0, [_na, _ti], [0, 4]];
|
|
717
|
+
var TimerDefinition = [3, n0, _TD, 0, [_na, _sec], [0, 1]];
|
|
718
|
+
var TimestampValue = [3, n0, _TV, 0, [_tIM], [1]];
|
|
719
|
+
var UpdateDetectorRequest = [
|
|
720
|
+
3,
|
|
721
|
+
n0,
|
|
722
|
+
_UDR,
|
|
723
|
+
0,
|
|
724
|
+
[_mI, _dMN, _kV, _st],
|
|
725
|
+
[0, 0, 0, () => DetectorStateDefinition],
|
|
726
|
+
];
|
|
727
|
+
var Variable = [3, n0, _V, 0, [_na, _va], [0, 0]];
|
|
728
|
+
var VariableDefinition = [3, n0, _VD, 0, [_na, _va], [0, 0]];
|
|
729
|
+
var IoTEventsDataServiceException = [-3, _sm, "IoTEventsDataServiceException", 0, [], []];
|
|
730
|
+
schema.TypeRegistry.for(_sm).registerError(IoTEventsDataServiceException, IoTEventsDataServiceException$1);
|
|
731
|
+
var AcknowledgeAlarmActionRequests = [1, n0, _AAARc, 0, () => AcknowledgeAlarmActionRequest];
|
|
732
|
+
var AlarmSummaries = [1, n0, _ASla, 0, () => AlarmSummary];
|
|
733
|
+
var BatchAlarmActionErrorEntries = [1, n0, _BAAEEa, 0, () => BatchAlarmActionErrorEntry];
|
|
734
|
+
var BatchDeleteDetectorErrorEntries = [1, n0, _BDDEEa, 0, () => BatchDeleteDetectorErrorEntry];
|
|
735
|
+
var BatchPutMessageErrorEntries = [1, n0, _BPMEEa, 0, () => BatchPutMessageErrorEntry];
|
|
736
|
+
var BatchUpdateDetectorErrorEntries = [1, n0, _BUDEEa, 0, () => BatchUpdateDetectorErrorEntry];
|
|
737
|
+
var DeleteDetectorRequests = [1, n0, _DDRel, 0, () => DeleteDetectorRequest];
|
|
738
|
+
var DetectorSummaries = [1, n0, _DSet, 0, () => DetectorSummary];
|
|
739
|
+
var DisableAlarmActionRequests = [1, n0, _DAARi, 0, () => DisableAlarmActionRequest];
|
|
740
|
+
var EnableAlarmActionRequests = [1, n0, _EAARn, 0, () => EnableAlarmActionRequest];
|
|
741
|
+
var Messages = [1, n0, _Me, 0, () => Message];
|
|
742
|
+
var ResetAlarmActionRequests = [1, n0, _RAARe, 0, () => ResetAlarmActionRequest];
|
|
743
|
+
var SnoozeAlarmActionRequests = [1, n0, _SAARn, 0, () => SnoozeAlarmActionRequest];
|
|
744
|
+
var TimerDefinitions = [1, n0, _TDi, 0, () => TimerDefinition];
|
|
745
|
+
var Timers = [1, n0, _Ti, 0, () => Timer];
|
|
746
|
+
var UpdateDetectorRequests = [1, n0, _UDRp, 0, () => UpdateDetectorRequest];
|
|
747
|
+
var VariableDefinitions = [1, n0, _VDa, 0, () => VariableDefinition];
|
|
748
|
+
var Variables = [1, n0, _Va, 0, () => Variable];
|
|
749
|
+
var BatchAcknowledgeAlarm = [
|
|
750
|
+
9,
|
|
751
|
+
n0,
|
|
752
|
+
_BAA,
|
|
753
|
+
{
|
|
754
|
+
[_h]: ["POST", "/alarms/acknowledge", 202],
|
|
755
|
+
},
|
|
756
|
+
() => BatchAcknowledgeAlarmRequest,
|
|
757
|
+
() => BatchAcknowledgeAlarmResponse,
|
|
758
|
+
];
|
|
759
|
+
var BatchDeleteDetector = [
|
|
760
|
+
9,
|
|
761
|
+
n0,
|
|
762
|
+
_BDD,
|
|
763
|
+
{
|
|
764
|
+
[_h]: ["POST", "/detectors/delete", 200],
|
|
765
|
+
},
|
|
766
|
+
() => BatchDeleteDetectorRequest,
|
|
767
|
+
() => BatchDeleteDetectorResponse,
|
|
768
|
+
];
|
|
769
|
+
var BatchDisableAlarm = [
|
|
770
|
+
9,
|
|
771
|
+
n0,
|
|
772
|
+
_BDA,
|
|
773
|
+
{
|
|
774
|
+
[_h]: ["POST", "/alarms/disable", 202],
|
|
775
|
+
},
|
|
776
|
+
() => BatchDisableAlarmRequest,
|
|
777
|
+
() => BatchDisableAlarmResponse,
|
|
778
|
+
];
|
|
779
|
+
var BatchEnableAlarm = [
|
|
780
|
+
9,
|
|
781
|
+
n0,
|
|
782
|
+
_BEA,
|
|
783
|
+
{
|
|
784
|
+
[_h]: ["POST", "/alarms/enable", 202],
|
|
785
|
+
},
|
|
786
|
+
() => BatchEnableAlarmRequest,
|
|
787
|
+
() => BatchEnableAlarmResponse,
|
|
788
|
+
];
|
|
789
|
+
var BatchPutMessage = [
|
|
790
|
+
9,
|
|
791
|
+
n0,
|
|
792
|
+
_BPM,
|
|
793
|
+
{
|
|
794
|
+
[_h]: ["POST", "/inputs/messages", 200],
|
|
795
|
+
},
|
|
796
|
+
() => BatchPutMessageRequest,
|
|
797
|
+
() => BatchPutMessageResponse,
|
|
798
|
+
];
|
|
799
|
+
var BatchResetAlarm = [
|
|
800
|
+
9,
|
|
801
|
+
n0,
|
|
802
|
+
_BRA,
|
|
803
|
+
{
|
|
804
|
+
[_h]: ["POST", "/alarms/reset", 202],
|
|
805
|
+
},
|
|
806
|
+
() => BatchResetAlarmRequest,
|
|
807
|
+
() => BatchResetAlarmResponse,
|
|
808
|
+
];
|
|
809
|
+
var BatchSnoozeAlarm = [
|
|
810
|
+
9,
|
|
811
|
+
n0,
|
|
812
|
+
_BSA,
|
|
813
|
+
{
|
|
814
|
+
[_h]: ["POST", "/alarms/snooze", 202],
|
|
815
|
+
},
|
|
816
|
+
() => BatchSnoozeAlarmRequest,
|
|
817
|
+
() => BatchSnoozeAlarmResponse,
|
|
818
|
+
];
|
|
819
|
+
var BatchUpdateDetector = [
|
|
820
|
+
9,
|
|
821
|
+
n0,
|
|
822
|
+
_BUD,
|
|
823
|
+
{
|
|
824
|
+
[_h]: ["POST", "/detectors", 200],
|
|
825
|
+
},
|
|
826
|
+
() => BatchUpdateDetectorRequest,
|
|
827
|
+
() => BatchUpdateDetectorResponse,
|
|
828
|
+
];
|
|
829
|
+
var DescribeAlarm = [
|
|
830
|
+
9,
|
|
831
|
+
n0,
|
|
832
|
+
_DA,
|
|
833
|
+
{
|
|
834
|
+
[_h]: ["GET", "/alarms/{alarmModelName}/keyValues", 200],
|
|
835
|
+
},
|
|
836
|
+
() => DescribeAlarmRequest,
|
|
837
|
+
() => DescribeAlarmResponse,
|
|
838
|
+
];
|
|
839
|
+
var DescribeDetector = [
|
|
840
|
+
9,
|
|
841
|
+
n0,
|
|
842
|
+
_DD,
|
|
843
|
+
{
|
|
844
|
+
[_h]: ["GET", "/detectors/{detectorModelName}/keyValues", 200],
|
|
845
|
+
},
|
|
846
|
+
() => DescribeDetectorRequest,
|
|
847
|
+
() => DescribeDetectorResponse,
|
|
848
|
+
];
|
|
849
|
+
var ListAlarms = [
|
|
850
|
+
9,
|
|
851
|
+
n0,
|
|
852
|
+
_LA,
|
|
853
|
+
{
|
|
854
|
+
[_h]: ["GET", "/alarms/{alarmModelName}", 200],
|
|
855
|
+
},
|
|
856
|
+
() => ListAlarmsRequest,
|
|
857
|
+
() => ListAlarmsResponse,
|
|
858
|
+
];
|
|
859
|
+
var ListDetectors = [
|
|
860
|
+
9,
|
|
861
|
+
n0,
|
|
862
|
+
_LD,
|
|
863
|
+
{
|
|
864
|
+
[_h]: ["GET", "/detectors/{detectorModelName}", 200],
|
|
865
|
+
},
|
|
866
|
+
() => ListDetectorsRequest,
|
|
867
|
+
() => ListDetectorsResponse,
|
|
868
|
+
];
|
|
742
869
|
|
|
743
870
|
class BatchAcknowledgeAlarmCommand extends smithyClient.Command
|
|
744
871
|
.classBuilder()
|
|
745
872
|
.ep(commonParams)
|
|
746
873
|
.m(function (Command, cs, config, o) {
|
|
747
|
-
return [
|
|
748
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
749
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
750
|
-
];
|
|
874
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
751
875
|
})
|
|
752
876
|
.s("IotColumboDataService", "BatchAcknowledgeAlarm", {})
|
|
753
877
|
.n("IoTEventsDataClient", "BatchAcknowledgeAlarmCommand")
|
|
754
|
-
.
|
|
755
|
-
.ser(se_BatchAcknowledgeAlarmCommand)
|
|
756
|
-
.de(de_BatchAcknowledgeAlarmCommand)
|
|
878
|
+
.sc(BatchAcknowledgeAlarm)
|
|
757
879
|
.build() {
|
|
758
880
|
}
|
|
759
881
|
|
|
@@ -761,16 +883,11 @@ class BatchDeleteDetectorCommand extends smithyClient.Command
|
|
|
761
883
|
.classBuilder()
|
|
762
884
|
.ep(commonParams)
|
|
763
885
|
.m(function (Command, cs, config, o) {
|
|
764
|
-
return [
|
|
765
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
766
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
767
|
-
];
|
|
886
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
768
887
|
})
|
|
769
888
|
.s("IotColumboDataService", "BatchDeleteDetector", {})
|
|
770
889
|
.n("IoTEventsDataClient", "BatchDeleteDetectorCommand")
|
|
771
|
-
.
|
|
772
|
-
.ser(se_BatchDeleteDetectorCommand)
|
|
773
|
-
.de(de_BatchDeleteDetectorCommand)
|
|
890
|
+
.sc(BatchDeleteDetector)
|
|
774
891
|
.build() {
|
|
775
892
|
}
|
|
776
893
|
|
|
@@ -778,16 +895,11 @@ class BatchDisableAlarmCommand extends smithyClient.Command
|
|
|
778
895
|
.classBuilder()
|
|
779
896
|
.ep(commonParams)
|
|
780
897
|
.m(function (Command, cs, config, o) {
|
|
781
|
-
return [
|
|
782
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
783
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
784
|
-
];
|
|
898
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
785
899
|
})
|
|
786
900
|
.s("IotColumboDataService", "BatchDisableAlarm", {})
|
|
787
901
|
.n("IoTEventsDataClient", "BatchDisableAlarmCommand")
|
|
788
|
-
.
|
|
789
|
-
.ser(se_BatchDisableAlarmCommand)
|
|
790
|
-
.de(de_BatchDisableAlarmCommand)
|
|
902
|
+
.sc(BatchDisableAlarm)
|
|
791
903
|
.build() {
|
|
792
904
|
}
|
|
793
905
|
|
|
@@ -795,16 +907,11 @@ class BatchEnableAlarmCommand extends smithyClient.Command
|
|
|
795
907
|
.classBuilder()
|
|
796
908
|
.ep(commonParams)
|
|
797
909
|
.m(function (Command, cs, config, o) {
|
|
798
|
-
return [
|
|
799
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
800
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
801
|
-
];
|
|
910
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
802
911
|
})
|
|
803
912
|
.s("IotColumboDataService", "BatchEnableAlarm", {})
|
|
804
913
|
.n("IoTEventsDataClient", "BatchEnableAlarmCommand")
|
|
805
|
-
.
|
|
806
|
-
.ser(se_BatchEnableAlarmCommand)
|
|
807
|
-
.de(de_BatchEnableAlarmCommand)
|
|
914
|
+
.sc(BatchEnableAlarm)
|
|
808
915
|
.build() {
|
|
809
916
|
}
|
|
810
917
|
|
|
@@ -812,16 +919,11 @@ class BatchPutMessageCommand extends smithyClient.Command
|
|
|
812
919
|
.classBuilder()
|
|
813
920
|
.ep(commonParams)
|
|
814
921
|
.m(function (Command, cs, config, o) {
|
|
815
|
-
return [
|
|
816
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
817
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
818
|
-
];
|
|
922
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
819
923
|
})
|
|
820
924
|
.s("IotColumboDataService", "BatchPutMessage", {})
|
|
821
925
|
.n("IoTEventsDataClient", "BatchPutMessageCommand")
|
|
822
|
-
.
|
|
823
|
-
.ser(se_BatchPutMessageCommand)
|
|
824
|
-
.de(de_BatchPutMessageCommand)
|
|
926
|
+
.sc(BatchPutMessage)
|
|
825
927
|
.build() {
|
|
826
928
|
}
|
|
827
929
|
|
|
@@ -829,16 +931,11 @@ class BatchResetAlarmCommand extends smithyClient.Command
|
|
|
829
931
|
.classBuilder()
|
|
830
932
|
.ep(commonParams)
|
|
831
933
|
.m(function (Command, cs, config, o) {
|
|
832
|
-
return [
|
|
833
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
834
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
835
|
-
];
|
|
934
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
836
935
|
})
|
|
837
936
|
.s("IotColumboDataService", "BatchResetAlarm", {})
|
|
838
937
|
.n("IoTEventsDataClient", "BatchResetAlarmCommand")
|
|
839
|
-
.
|
|
840
|
-
.ser(se_BatchResetAlarmCommand)
|
|
841
|
-
.de(de_BatchResetAlarmCommand)
|
|
938
|
+
.sc(BatchResetAlarm)
|
|
842
939
|
.build() {
|
|
843
940
|
}
|
|
844
941
|
|
|
@@ -846,16 +943,11 @@ class BatchSnoozeAlarmCommand extends smithyClient.Command
|
|
|
846
943
|
.classBuilder()
|
|
847
944
|
.ep(commonParams)
|
|
848
945
|
.m(function (Command, cs, config, o) {
|
|
849
|
-
return [
|
|
850
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
851
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
852
|
-
];
|
|
946
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
853
947
|
})
|
|
854
948
|
.s("IotColumboDataService", "BatchSnoozeAlarm", {})
|
|
855
949
|
.n("IoTEventsDataClient", "BatchSnoozeAlarmCommand")
|
|
856
|
-
.
|
|
857
|
-
.ser(se_BatchSnoozeAlarmCommand)
|
|
858
|
-
.de(de_BatchSnoozeAlarmCommand)
|
|
950
|
+
.sc(BatchSnoozeAlarm)
|
|
859
951
|
.build() {
|
|
860
952
|
}
|
|
861
953
|
|
|
@@ -863,16 +955,11 @@ class BatchUpdateDetectorCommand extends smithyClient.Command
|
|
|
863
955
|
.classBuilder()
|
|
864
956
|
.ep(commonParams)
|
|
865
957
|
.m(function (Command, cs, config, o) {
|
|
866
|
-
return [
|
|
867
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
868
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
869
|
-
];
|
|
958
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
870
959
|
})
|
|
871
960
|
.s("IotColumboDataService", "BatchUpdateDetector", {})
|
|
872
961
|
.n("IoTEventsDataClient", "BatchUpdateDetectorCommand")
|
|
873
|
-
.
|
|
874
|
-
.ser(se_BatchUpdateDetectorCommand)
|
|
875
|
-
.de(de_BatchUpdateDetectorCommand)
|
|
962
|
+
.sc(BatchUpdateDetector)
|
|
876
963
|
.build() {
|
|
877
964
|
}
|
|
878
965
|
|
|
@@ -880,16 +967,11 @@ class DescribeAlarmCommand extends smithyClient.Command
|
|
|
880
967
|
.classBuilder()
|
|
881
968
|
.ep(commonParams)
|
|
882
969
|
.m(function (Command, cs, config, o) {
|
|
883
|
-
return [
|
|
884
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
885
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
886
|
-
];
|
|
970
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
887
971
|
})
|
|
888
972
|
.s("IotColumboDataService", "DescribeAlarm", {})
|
|
889
973
|
.n("IoTEventsDataClient", "DescribeAlarmCommand")
|
|
890
|
-
.
|
|
891
|
-
.ser(se_DescribeAlarmCommand)
|
|
892
|
-
.de(de_DescribeAlarmCommand)
|
|
974
|
+
.sc(DescribeAlarm)
|
|
893
975
|
.build() {
|
|
894
976
|
}
|
|
895
977
|
|
|
@@ -897,16 +979,11 @@ class DescribeDetectorCommand extends smithyClient.Command
|
|
|
897
979
|
.classBuilder()
|
|
898
980
|
.ep(commonParams)
|
|
899
981
|
.m(function (Command, cs, config, o) {
|
|
900
|
-
return [
|
|
901
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
902
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
903
|
-
];
|
|
982
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
904
983
|
})
|
|
905
984
|
.s("IotColumboDataService", "DescribeDetector", {})
|
|
906
985
|
.n("IoTEventsDataClient", "DescribeDetectorCommand")
|
|
907
|
-
.
|
|
908
|
-
.ser(se_DescribeDetectorCommand)
|
|
909
|
-
.de(de_DescribeDetectorCommand)
|
|
986
|
+
.sc(DescribeDetector)
|
|
910
987
|
.build() {
|
|
911
988
|
}
|
|
912
989
|
|
|
@@ -914,16 +991,11 @@ class ListAlarmsCommand extends smithyClient.Command
|
|
|
914
991
|
.classBuilder()
|
|
915
992
|
.ep(commonParams)
|
|
916
993
|
.m(function (Command, cs, config, o) {
|
|
917
|
-
return [
|
|
918
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
919
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
920
|
-
];
|
|
994
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
921
995
|
})
|
|
922
996
|
.s("IotColumboDataService", "ListAlarms", {})
|
|
923
997
|
.n("IoTEventsDataClient", "ListAlarmsCommand")
|
|
924
|
-
.
|
|
925
|
-
.ser(se_ListAlarmsCommand)
|
|
926
|
-
.de(de_ListAlarmsCommand)
|
|
998
|
+
.sc(ListAlarms)
|
|
927
999
|
.build() {
|
|
928
1000
|
}
|
|
929
1001
|
|
|
@@ -931,16 +1003,11 @@ class ListDetectorsCommand extends smithyClient.Command
|
|
|
931
1003
|
.classBuilder()
|
|
932
1004
|
.ep(commonParams)
|
|
933
1005
|
.m(function (Command, cs, config, o) {
|
|
934
|
-
return [
|
|
935
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
936
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
937
|
-
];
|
|
1006
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
938
1007
|
})
|
|
939
1008
|
.s("IotColumboDataService", "ListDetectors", {})
|
|
940
1009
|
.n("IoTEventsDataClient", "ListDetectorsCommand")
|
|
941
|
-
.
|
|
942
|
-
.ser(se_ListDetectorsCommand)
|
|
943
|
-
.de(de_ListDetectorsCommand)
|
|
1010
|
+
.sc(ListDetectors)
|
|
944
1011
|
.build() {
|
|
945
1012
|
}
|
|
946
1013
|
|
|
@@ -985,14 +1052,14 @@ exports.DescribeAlarmCommand = DescribeAlarmCommand;
|
|
|
985
1052
|
exports.DescribeDetectorCommand = DescribeDetectorCommand;
|
|
986
1053
|
exports.ErrorCode = ErrorCode;
|
|
987
1054
|
exports.EventType = EventType;
|
|
988
|
-
exports.InternalFailureException = InternalFailureException;
|
|
989
|
-
exports.InvalidRequestException = InvalidRequestException;
|
|
1055
|
+
exports.InternalFailureException = InternalFailureException$1;
|
|
1056
|
+
exports.InvalidRequestException = InvalidRequestException$1;
|
|
990
1057
|
exports.IoTEventsData = IoTEventsData;
|
|
991
1058
|
exports.IoTEventsDataClient = IoTEventsDataClient;
|
|
992
|
-
exports.IoTEventsDataServiceException = IoTEventsDataServiceException;
|
|
1059
|
+
exports.IoTEventsDataServiceException = IoTEventsDataServiceException$1;
|
|
993
1060
|
exports.ListAlarmsCommand = ListAlarmsCommand;
|
|
994
1061
|
exports.ListDetectorsCommand = ListDetectorsCommand;
|
|
995
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
996
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
997
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1062
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1063
|
+
exports.ServiceUnavailableException = ServiceUnavailableException$1;
|
|
1064
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
998
1065
|
exports.TriggerType = TriggerType;
|