@aws-sdk/client-iot-events 3.405.0 → 3.409.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/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/commands/CreateAlarmModelCommand.d.ts +7 -7
- package/dist-types/commands/CreateDetectorModelCommand.d.ts +8 -8
- package/dist-types/commands/CreateInputCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlarmModelCommand.d.ts +7 -7
- package/dist-types/commands/DescribeDetectorModelAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDetectorModelCommand.d.ts +7 -7
- package/dist-types/commands/DescribeInputCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLoggingOptionsCommand.d.ts +1 -1
- package/dist-types/commands/GetDetectorModelAnalysisResultsCommand.d.ts +1 -1
- package/dist-types/commands/ListAlarmModelVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDetectorModelVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListInputsCommand.d.ts +1 -1
- package/dist-types/commands/PutLoggingOptionsCommand.d.ts +1 -1
- package/dist-types/commands/StartDetectorModelAnalysisCommand.d.ts +5 -5
- package/dist-types/commands/UpdateAlarmModelCommand.d.ts +7 -7
- package/dist-types/commands/UpdateDetectorModelCommand.d.ts +8 -8
- package/dist-types/commands/UpdateInputCommand.d.ts +1 -1
- package/package.json +12 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://iotevents-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://iotevents.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://iotevents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://iotevents-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://iotevents.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://iotevents.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -47,7 +47,7 @@ export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse,
|
|
|
47
47
|
* alarmRule: { // AlarmRule
|
|
48
48
|
* simpleRule: { // SimpleRule
|
|
49
49
|
* inputProperty: "STRING_VALUE", // required
|
|
50
|
-
* comparisonOperator: "
|
|
50
|
+
* comparisonOperator: "GREATER" || "GREATER_OR_EQUAL" || "LESS" || "LESS_OR_EQUAL" || "EQUAL" || "NOT_EQUAL", // required
|
|
51
51
|
* threshold: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
@@ -59,7 +59,7 @@ export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse,
|
|
|
59
59
|
* functionArn: "STRING_VALUE", // required
|
|
60
60
|
* payload: { // Payload
|
|
61
61
|
* contentExpression: "STRING_VALUE", // required
|
|
62
|
-
* type: "
|
|
62
|
+
* type: "STRING" || "JSON", // required
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
65
|
* },
|
|
@@ -106,28 +106,28 @@ export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse,
|
|
|
106
106
|
* targetArn: "STRING_VALUE", // required
|
|
107
107
|
* payload: {
|
|
108
108
|
* contentExpression: "STRING_VALUE", // required
|
|
109
|
-
* type: "
|
|
109
|
+
* type: "STRING" || "JSON", // required
|
|
110
110
|
* },
|
|
111
111
|
* },
|
|
112
112
|
* iotTopicPublish: { // IotTopicPublishAction
|
|
113
113
|
* mqttTopic: "STRING_VALUE", // required
|
|
114
114
|
* payload: {
|
|
115
115
|
* contentExpression: "STRING_VALUE", // required
|
|
116
|
-
* type: "
|
|
116
|
+
* type: "STRING" || "JSON", // required
|
|
117
117
|
* },
|
|
118
118
|
* },
|
|
119
119
|
* lambda: {
|
|
120
120
|
* functionArn: "STRING_VALUE", // required
|
|
121
121
|
* payload: {
|
|
122
122
|
* contentExpression: "STRING_VALUE", // required
|
|
123
|
-
* type: "
|
|
123
|
+
* type: "STRING" || "JSON", // required
|
|
124
124
|
* },
|
|
125
125
|
* },
|
|
126
126
|
* iotEvents: { // IotEventsAction
|
|
127
127
|
* inputName: "STRING_VALUE", // required
|
|
128
128
|
* payload: {
|
|
129
129
|
* contentExpression: "STRING_VALUE", // required
|
|
130
|
-
* type: "
|
|
130
|
+
* type: "STRING" || "JSON", // required
|
|
131
131
|
* },
|
|
132
132
|
* },
|
|
133
133
|
* sqs: { // SqsAction
|
|
@@ -194,7 +194,7 @@ export interface CreateAlarmModelCommandOutput extends CreateAlarmModelResponse,
|
|
|
194
194
|
* // alarmModelArn: "STRING_VALUE",
|
|
195
195
|
* // alarmModelVersion: "STRING_VALUE",
|
|
196
196
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
197
|
-
* // status: "
|
|
197
|
+
* // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "FAILED",
|
|
198
198
|
* // };
|
|
199
199
|
*
|
|
200
200
|
* ```
|
|
@@ -51,14 +51,14 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes
|
|
|
51
51
|
* targetArn: "STRING_VALUE", // required
|
|
52
52
|
* payload: { // Payload
|
|
53
53
|
* contentExpression: "STRING_VALUE", // required
|
|
54
|
-
* type: "
|
|
54
|
+
* type: "STRING" || "JSON", // required
|
|
55
55
|
* },
|
|
56
56
|
* },
|
|
57
57
|
* iotTopicPublish: { // IotTopicPublishAction
|
|
58
58
|
* mqttTopic: "STRING_VALUE", // required
|
|
59
59
|
* payload: {
|
|
60
60
|
* contentExpression: "STRING_VALUE", // required
|
|
61
|
-
* type: "
|
|
61
|
+
* type: "STRING" || "JSON", // required
|
|
62
62
|
* },
|
|
63
63
|
* },
|
|
64
64
|
* setTimer: { // SetTimerAction
|
|
@@ -76,14 +76,14 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes
|
|
|
76
76
|
* functionArn: "STRING_VALUE", // required
|
|
77
77
|
* payload: {
|
|
78
78
|
* contentExpression: "STRING_VALUE", // required
|
|
79
|
-
* type: "
|
|
79
|
+
* type: "STRING" || "JSON", // required
|
|
80
80
|
* },
|
|
81
81
|
* },
|
|
82
82
|
* iotEvents: { // IotEventsAction
|
|
83
83
|
* inputName: "STRING_VALUE", // required
|
|
84
84
|
* payload: {
|
|
85
85
|
* contentExpression: "STRING_VALUE", // required
|
|
86
|
-
* type: "
|
|
86
|
+
* type: "STRING" || "JSON", // required
|
|
87
87
|
* },
|
|
88
88
|
* },
|
|
89
89
|
* sqs: { // SqsAction
|
|
@@ -91,7 +91,7 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes
|
|
|
91
91
|
* useBase64: true || false,
|
|
92
92
|
* payload: {
|
|
93
93
|
* contentExpression: "STRING_VALUE", // required
|
|
94
|
-
* type: "
|
|
94
|
+
* type: "STRING" || "JSON", // required
|
|
95
95
|
* },
|
|
96
96
|
* },
|
|
97
97
|
* firehose: { // FirehoseAction
|
|
@@ -415,7 +415,7 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes
|
|
|
415
415
|
* value: "STRING_VALUE", // required
|
|
416
416
|
* },
|
|
417
417
|
* ],
|
|
418
|
-
* evaluationMethod: "
|
|
418
|
+
* evaluationMethod: "BATCH" || "SERIAL",
|
|
419
419
|
* };
|
|
420
420
|
* const command = new CreateDetectorModelCommand(input);
|
|
421
421
|
* const response = await client.send(command);
|
|
@@ -428,9 +428,9 @@ export interface CreateDetectorModelCommandOutput extends CreateDetectorModelRes
|
|
|
428
428
|
* // roleArn: "STRING_VALUE",
|
|
429
429
|
* // creationTime: new Date("TIMESTAMP"),
|
|
430
430
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
431
|
-
* // status: "
|
|
431
|
+
* // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "DEPRECATED" || "DRAFT" || "PAUSED" || "FAILED",
|
|
432
432
|
* // key: "STRING_VALUE",
|
|
433
|
-
* // evaluationMethod: "
|
|
433
|
+
* // evaluationMethod: "BATCH" || "SERIAL",
|
|
434
434
|
* // },
|
|
435
435
|
* // };
|
|
436
436
|
*
|
|
@@ -56,7 +56,7 @@ export interface CreateInputCommandOutput extends CreateInputResponse, __Metadat
|
|
|
56
56
|
* // inputArn: "STRING_VALUE", // required
|
|
57
57
|
* // creationTime: new Date("TIMESTAMP"), // required
|
|
58
58
|
* // lastUpdateTime: new Date("TIMESTAMP"), // required
|
|
59
|
-
* // status: "
|
|
59
|
+
* // status: "CREATING" || "UPDATING" || "ACTIVE" || "DELETING", // required
|
|
60
60
|
* // },
|
|
61
61
|
* // };
|
|
62
62
|
*
|
|
@@ -42,7 +42,7 @@ export interface DescribeAlarmModelCommandOutput extends DescribeAlarmModelRespo
|
|
|
42
42
|
* // alarmModelArn: "STRING_VALUE",
|
|
43
43
|
* // alarmModelVersion: "STRING_VALUE",
|
|
44
44
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
45
|
-
* // status: "
|
|
45
|
+
* // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "FAILED",
|
|
46
46
|
* // statusMessage: "STRING_VALUE",
|
|
47
47
|
* // alarmModelName: "STRING_VALUE",
|
|
48
48
|
* // alarmModelDescription: "STRING_VALUE",
|
|
@@ -52,7 +52,7 @@ export interface DescribeAlarmModelCommandOutput extends DescribeAlarmModelRespo
|
|
|
52
52
|
* // alarmRule: { // AlarmRule
|
|
53
53
|
* // simpleRule: { // SimpleRule
|
|
54
54
|
* // inputProperty: "STRING_VALUE", // required
|
|
55
|
-
* // comparisonOperator: "
|
|
55
|
+
* // comparisonOperator: "GREATER" || "GREATER_OR_EQUAL" || "LESS" || "LESS_OR_EQUAL" || "EQUAL" || "NOT_EQUAL", // required
|
|
56
56
|
* // threshold: "STRING_VALUE", // required
|
|
57
57
|
* // },
|
|
58
58
|
* // },
|
|
@@ -64,7 +64,7 @@ export interface DescribeAlarmModelCommandOutput extends DescribeAlarmModelRespo
|
|
|
64
64
|
* // functionArn: "STRING_VALUE", // required
|
|
65
65
|
* // payload: { // Payload
|
|
66
66
|
* // contentExpression: "STRING_VALUE", // required
|
|
67
|
-
* // type: "
|
|
67
|
+
* // type: "STRING" || "JSON", // required
|
|
68
68
|
* // },
|
|
69
69
|
* // },
|
|
70
70
|
* // },
|
|
@@ -111,28 +111,28 @@ export interface DescribeAlarmModelCommandOutput extends DescribeAlarmModelRespo
|
|
|
111
111
|
* // targetArn: "STRING_VALUE", // required
|
|
112
112
|
* // payload: {
|
|
113
113
|
* // contentExpression: "STRING_VALUE", // required
|
|
114
|
-
* // type: "
|
|
114
|
+
* // type: "STRING" || "JSON", // required
|
|
115
115
|
* // },
|
|
116
116
|
* // },
|
|
117
117
|
* // iotTopicPublish: { // IotTopicPublishAction
|
|
118
118
|
* // mqttTopic: "STRING_VALUE", // required
|
|
119
119
|
* // payload: {
|
|
120
120
|
* // contentExpression: "STRING_VALUE", // required
|
|
121
|
-
* // type: "
|
|
121
|
+
* // type: "STRING" || "JSON", // required
|
|
122
122
|
* // },
|
|
123
123
|
* // },
|
|
124
124
|
* // lambda: {
|
|
125
125
|
* // functionArn: "STRING_VALUE", // required
|
|
126
126
|
* // payload: {
|
|
127
127
|
* // contentExpression: "STRING_VALUE", // required
|
|
128
|
-
* // type: "
|
|
128
|
+
* // type: "STRING" || "JSON", // required
|
|
129
129
|
* // },
|
|
130
130
|
* // },
|
|
131
131
|
* // iotEvents: { // IotEventsAction
|
|
132
132
|
* // inputName: "STRING_VALUE", // required
|
|
133
133
|
* // payload: {
|
|
134
134
|
* // contentExpression: "STRING_VALUE", // required
|
|
135
|
-
* // type: "
|
|
135
|
+
* // type: "STRING" || "JSON", // required
|
|
136
136
|
* // },
|
|
137
137
|
* // },
|
|
138
138
|
* // sqs: { // SqsAction
|
|
@@ -39,7 +39,7 @@ export interface DescribeDetectorModelAnalysisCommandOutput extends DescribeDete
|
|
|
39
39
|
* const command = new DescribeDetectorModelAnalysisCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
41
|
* // { // DescribeDetectorModelAnalysisResponse
|
|
42
|
-
* // status: "
|
|
42
|
+
* // status: "RUNNING" || "COMPLETE" || "FAILED",
|
|
43
43
|
* // };
|
|
44
44
|
*
|
|
45
45
|
* ```
|
|
@@ -58,14 +58,14 @@ export interface DescribeDetectorModelCommandOutput extends DescribeDetectorMode
|
|
|
58
58
|
* // targetArn: "STRING_VALUE", // required
|
|
59
59
|
* // payload: { // Payload
|
|
60
60
|
* // contentExpression: "STRING_VALUE", // required
|
|
61
|
-
* // type: "
|
|
61
|
+
* // type: "STRING" || "JSON", // required
|
|
62
62
|
* // },
|
|
63
63
|
* // },
|
|
64
64
|
* // iotTopicPublish: { // IotTopicPublishAction
|
|
65
65
|
* // mqttTopic: "STRING_VALUE", // required
|
|
66
66
|
* // payload: {
|
|
67
67
|
* // contentExpression: "STRING_VALUE", // required
|
|
68
|
-
* // type: "
|
|
68
|
+
* // type: "STRING" || "JSON", // required
|
|
69
69
|
* // },
|
|
70
70
|
* // },
|
|
71
71
|
* // setTimer: { // SetTimerAction
|
|
@@ -83,14 +83,14 @@ export interface DescribeDetectorModelCommandOutput extends DescribeDetectorMode
|
|
|
83
83
|
* // functionArn: "STRING_VALUE", // required
|
|
84
84
|
* // payload: {
|
|
85
85
|
* // contentExpression: "STRING_VALUE", // required
|
|
86
|
-
* // type: "
|
|
86
|
+
* // type: "STRING" || "JSON", // required
|
|
87
87
|
* // },
|
|
88
88
|
* // },
|
|
89
89
|
* // iotEvents: { // IotEventsAction
|
|
90
90
|
* // inputName: "STRING_VALUE", // required
|
|
91
91
|
* // payload: {
|
|
92
92
|
* // contentExpression: "STRING_VALUE", // required
|
|
93
|
-
* // type: "
|
|
93
|
+
* // type: "STRING" || "JSON", // required
|
|
94
94
|
* // },
|
|
95
95
|
* // },
|
|
96
96
|
* // sqs: { // SqsAction
|
|
@@ -98,7 +98,7 @@ export interface DescribeDetectorModelCommandOutput extends DescribeDetectorMode
|
|
|
98
98
|
* // useBase64: true || false,
|
|
99
99
|
* // payload: {
|
|
100
100
|
* // contentExpression: "STRING_VALUE", // required
|
|
101
|
-
* // type: "
|
|
101
|
+
* // type: "STRING" || "JSON", // required
|
|
102
102
|
* // },
|
|
103
103
|
* // },
|
|
104
104
|
* // firehose: { // FirehoseAction
|
|
@@ -421,9 +421,9 @@ export interface DescribeDetectorModelCommandOutput extends DescribeDetectorMode
|
|
|
421
421
|
* // roleArn: "STRING_VALUE",
|
|
422
422
|
* // creationTime: new Date("TIMESTAMP"),
|
|
423
423
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
424
|
-
* // status: "
|
|
424
|
+
* // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "DEPRECATED" || "DRAFT" || "PAUSED" || "FAILED",
|
|
425
425
|
* // key: "STRING_VALUE",
|
|
426
|
-
* // evaluationMethod: "
|
|
426
|
+
* // evaluationMethod: "BATCH" || "SERIAL",
|
|
427
427
|
* // },
|
|
428
428
|
* // },
|
|
429
429
|
* // };
|
|
@@ -43,7 +43,7 @@ export interface DescribeInputCommandOutput extends DescribeInputResponse, __Met
|
|
|
43
43
|
* // inputArn: "STRING_VALUE", // required
|
|
44
44
|
* // creationTime: new Date("TIMESTAMP"), // required
|
|
45
45
|
* // lastUpdateTime: new Date("TIMESTAMP"), // required
|
|
46
|
-
* // status: "
|
|
46
|
+
* // status: "CREATING" || "UPDATING" || "ACTIVE" || "DELETING", // required
|
|
47
47
|
* // },
|
|
48
48
|
* // inputDefinition: { // InputDefinition
|
|
49
49
|
* // attributes: [ // Attributes // required
|
|
@@ -36,7 +36,7 @@ export interface DescribeLoggingOptionsCommandOutput extends DescribeLoggingOpti
|
|
|
36
36
|
* // { // DescribeLoggingOptionsResponse
|
|
37
37
|
* // loggingOptions: { // LoggingOptions
|
|
38
38
|
* // roleArn: "STRING_VALUE", // required
|
|
39
|
-
* // level: "
|
|
39
|
+
* // level: "ERROR" || "INFO" || "DEBUG", // required
|
|
40
40
|
* // enabled: true || false, // required
|
|
41
41
|
* // detectorDebugOptions: [ // DetectorDebugOptions
|
|
42
42
|
* // { // DetectorDebugOption
|
|
@@ -44,7 +44,7 @@ export interface GetDetectorModelAnalysisResultsCommandOutput extends GetDetecto
|
|
|
44
44
|
* // analysisResults: [ // AnalysisResults
|
|
45
45
|
* // { // AnalysisResult
|
|
46
46
|
* // type: "STRING_VALUE",
|
|
47
|
-
* // level: "
|
|
47
|
+
* // level: "INFO" || "WARNING" || "ERROR",
|
|
48
48
|
* // message: "STRING_VALUE",
|
|
49
49
|
* // locations: [ // AnalysisResultLocations
|
|
50
50
|
* // { // AnalysisResultLocation
|
|
@@ -47,7 +47,7 @@ export interface ListAlarmModelVersionsCommandOutput extends ListAlarmModelVersi
|
|
|
47
47
|
* // roleArn: "STRING_VALUE",
|
|
48
48
|
* // creationTime: new Date("TIMESTAMP"),
|
|
49
49
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
50
|
-
* // status: "
|
|
50
|
+
* // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "FAILED",
|
|
51
51
|
* // statusMessage: "STRING_VALUE",
|
|
52
52
|
* // },
|
|
53
53
|
* // ],
|
|
@@ -47,8 +47,8 @@ export interface ListDetectorModelVersionsCommandOutput extends ListDetectorMode
|
|
|
47
47
|
* // roleArn: "STRING_VALUE",
|
|
48
48
|
* // creationTime: new Date("TIMESTAMP"),
|
|
49
49
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
50
|
-
* // status: "
|
|
51
|
-
* // evaluationMethod: "
|
|
50
|
+
* // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "DEPRECATED" || "DRAFT" || "PAUSED" || "FAILED",
|
|
51
|
+
* // evaluationMethod: "BATCH" || "SERIAL",
|
|
52
52
|
* // },
|
|
53
53
|
* // ],
|
|
54
54
|
* // nextToken: "STRING_VALUE",
|
|
@@ -44,7 +44,7 @@ export interface ListInputsCommandOutput extends ListInputsResponse, __MetadataB
|
|
|
44
44
|
* // inputArn: "STRING_VALUE",
|
|
45
45
|
* // creationTime: new Date("TIMESTAMP"),
|
|
46
46
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
47
|
-
* // status: "
|
|
47
|
+
* // status: "CREATING" || "UPDATING" || "ACTIVE" || "DELETING",
|
|
48
48
|
* // },
|
|
49
49
|
* // ],
|
|
50
50
|
* // nextToken: "STRING_VALUE",
|
|
@@ -37,7 +37,7 @@ export interface PutLoggingOptionsCommandOutput extends __MetadataBearer {
|
|
|
37
37
|
* const input = { // PutLoggingOptionsRequest
|
|
38
38
|
* loggingOptions: { // LoggingOptions
|
|
39
39
|
* roleArn: "STRING_VALUE", // required
|
|
40
|
-
* level: "
|
|
40
|
+
* level: "ERROR" || "INFO" || "DEBUG", // required
|
|
41
41
|
* enabled: true || false, // required
|
|
42
42
|
* detectorDebugOptions: [ // DetectorDebugOptions
|
|
43
43
|
* { // DetectorDebugOption
|
|
@@ -52,14 +52,14 @@ export interface StartDetectorModelAnalysisCommandOutput extends StartDetectorMo
|
|
|
52
52
|
* targetArn: "STRING_VALUE", // required
|
|
53
53
|
* payload: { // Payload
|
|
54
54
|
* contentExpression: "STRING_VALUE", // required
|
|
55
|
-
* type: "
|
|
55
|
+
* type: "STRING" || "JSON", // required
|
|
56
56
|
* },
|
|
57
57
|
* },
|
|
58
58
|
* iotTopicPublish: { // IotTopicPublishAction
|
|
59
59
|
* mqttTopic: "STRING_VALUE", // required
|
|
60
60
|
* payload: {
|
|
61
61
|
* contentExpression: "STRING_VALUE", // required
|
|
62
|
-
* type: "
|
|
62
|
+
* type: "STRING" || "JSON", // required
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
65
|
* setTimer: { // SetTimerAction
|
|
@@ -77,14 +77,14 @@ export interface StartDetectorModelAnalysisCommandOutput extends StartDetectorMo
|
|
|
77
77
|
* functionArn: "STRING_VALUE", // required
|
|
78
78
|
* payload: {
|
|
79
79
|
* contentExpression: "STRING_VALUE", // required
|
|
80
|
-
* type: "
|
|
80
|
+
* type: "STRING" || "JSON", // required
|
|
81
81
|
* },
|
|
82
82
|
* },
|
|
83
83
|
* iotEvents: { // IotEventsAction
|
|
84
84
|
* inputName: "STRING_VALUE", // required
|
|
85
85
|
* payload: {
|
|
86
86
|
* contentExpression: "STRING_VALUE", // required
|
|
87
|
-
* type: "
|
|
87
|
+
* type: "STRING" || "JSON", // required
|
|
88
88
|
* },
|
|
89
89
|
* },
|
|
90
90
|
* sqs: { // SqsAction
|
|
@@ -92,7 +92,7 @@ export interface StartDetectorModelAnalysisCommandOutput extends StartDetectorMo
|
|
|
92
92
|
* useBase64: true || false,
|
|
93
93
|
* payload: {
|
|
94
94
|
* contentExpression: "STRING_VALUE", // required
|
|
95
|
-
* type: "
|
|
95
|
+
* type: "STRING" || "JSON", // required
|
|
96
96
|
* },
|
|
97
97
|
* },
|
|
98
98
|
* firehose: { // FirehoseAction
|
|
@@ -39,7 +39,7 @@ export interface UpdateAlarmModelCommandOutput extends UpdateAlarmModelResponse,
|
|
|
39
39
|
* alarmRule: { // AlarmRule
|
|
40
40
|
* simpleRule: { // SimpleRule
|
|
41
41
|
* inputProperty: "STRING_VALUE", // required
|
|
42
|
-
* comparisonOperator: "
|
|
42
|
+
* comparisonOperator: "GREATER" || "GREATER_OR_EQUAL" || "LESS" || "LESS_OR_EQUAL" || "EQUAL" || "NOT_EQUAL", // required
|
|
43
43
|
* threshold: "STRING_VALUE", // required
|
|
44
44
|
* },
|
|
45
45
|
* },
|
|
@@ -51,7 +51,7 @@ export interface UpdateAlarmModelCommandOutput extends UpdateAlarmModelResponse,
|
|
|
51
51
|
* functionArn: "STRING_VALUE", // required
|
|
52
52
|
* payload: { // Payload
|
|
53
53
|
* contentExpression: "STRING_VALUE", // required
|
|
54
|
-
* type: "
|
|
54
|
+
* type: "STRING" || "JSON", // required
|
|
55
55
|
* },
|
|
56
56
|
* },
|
|
57
57
|
* },
|
|
@@ -98,28 +98,28 @@ export interface UpdateAlarmModelCommandOutput extends UpdateAlarmModelResponse,
|
|
|
98
98
|
* targetArn: "STRING_VALUE", // required
|
|
99
99
|
* payload: {
|
|
100
100
|
* contentExpression: "STRING_VALUE", // required
|
|
101
|
-
* type: "
|
|
101
|
+
* type: "STRING" || "JSON", // required
|
|
102
102
|
* },
|
|
103
103
|
* },
|
|
104
104
|
* iotTopicPublish: { // IotTopicPublishAction
|
|
105
105
|
* mqttTopic: "STRING_VALUE", // required
|
|
106
106
|
* payload: {
|
|
107
107
|
* contentExpression: "STRING_VALUE", // required
|
|
108
|
-
* type: "
|
|
108
|
+
* type: "STRING" || "JSON", // required
|
|
109
109
|
* },
|
|
110
110
|
* },
|
|
111
111
|
* lambda: {
|
|
112
112
|
* functionArn: "STRING_VALUE", // required
|
|
113
113
|
* payload: {
|
|
114
114
|
* contentExpression: "STRING_VALUE", // required
|
|
115
|
-
* type: "
|
|
115
|
+
* type: "STRING" || "JSON", // required
|
|
116
116
|
* },
|
|
117
117
|
* },
|
|
118
118
|
* iotEvents: { // IotEventsAction
|
|
119
119
|
* inputName: "STRING_VALUE", // required
|
|
120
120
|
* payload: {
|
|
121
121
|
* contentExpression: "STRING_VALUE", // required
|
|
122
|
-
* type: "
|
|
122
|
+
* type: "STRING" || "JSON", // required
|
|
123
123
|
* },
|
|
124
124
|
* },
|
|
125
125
|
* sqs: { // SqsAction
|
|
@@ -186,7 +186,7 @@ export interface UpdateAlarmModelCommandOutput extends UpdateAlarmModelResponse,
|
|
|
186
186
|
* // alarmModelArn: "STRING_VALUE",
|
|
187
187
|
* // alarmModelVersion: "STRING_VALUE",
|
|
188
188
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
189
|
-
* // status: "
|
|
189
|
+
* // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "FAILED",
|
|
190
190
|
* // };
|
|
191
191
|
*
|
|
192
192
|
* ```
|
|
@@ -52,14 +52,14 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes
|
|
|
52
52
|
* targetArn: "STRING_VALUE", // required
|
|
53
53
|
* payload: { // Payload
|
|
54
54
|
* contentExpression: "STRING_VALUE", // required
|
|
55
|
-
* type: "
|
|
55
|
+
* type: "STRING" || "JSON", // required
|
|
56
56
|
* },
|
|
57
57
|
* },
|
|
58
58
|
* iotTopicPublish: { // IotTopicPublishAction
|
|
59
59
|
* mqttTopic: "STRING_VALUE", // required
|
|
60
60
|
* payload: {
|
|
61
61
|
* contentExpression: "STRING_VALUE", // required
|
|
62
|
-
* type: "
|
|
62
|
+
* type: "STRING" || "JSON", // required
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
65
|
* setTimer: { // SetTimerAction
|
|
@@ -77,14 +77,14 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes
|
|
|
77
77
|
* functionArn: "STRING_VALUE", // required
|
|
78
78
|
* payload: {
|
|
79
79
|
* contentExpression: "STRING_VALUE", // required
|
|
80
|
-
* type: "
|
|
80
|
+
* type: "STRING" || "JSON", // required
|
|
81
81
|
* },
|
|
82
82
|
* },
|
|
83
83
|
* iotEvents: { // IotEventsAction
|
|
84
84
|
* inputName: "STRING_VALUE", // required
|
|
85
85
|
* payload: {
|
|
86
86
|
* contentExpression: "STRING_VALUE", // required
|
|
87
|
-
* type: "
|
|
87
|
+
* type: "STRING" || "JSON", // required
|
|
88
88
|
* },
|
|
89
89
|
* },
|
|
90
90
|
* sqs: { // SqsAction
|
|
@@ -92,7 +92,7 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes
|
|
|
92
92
|
* useBase64: true || false,
|
|
93
93
|
* payload: {
|
|
94
94
|
* contentExpression: "STRING_VALUE", // required
|
|
95
|
-
* type: "
|
|
95
|
+
* type: "STRING" || "JSON", // required
|
|
96
96
|
* },
|
|
97
97
|
* },
|
|
98
98
|
* firehose: { // FirehoseAction
|
|
@@ -409,7 +409,7 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes
|
|
|
409
409
|
* },
|
|
410
410
|
* detectorModelDescription: "STRING_VALUE",
|
|
411
411
|
* roleArn: "STRING_VALUE", // required
|
|
412
|
-
* evaluationMethod: "
|
|
412
|
+
* evaluationMethod: "BATCH" || "SERIAL",
|
|
413
413
|
* };
|
|
414
414
|
* const command = new UpdateDetectorModelCommand(input);
|
|
415
415
|
* const response = await client.send(command);
|
|
@@ -422,9 +422,9 @@ export interface UpdateDetectorModelCommandOutput extends UpdateDetectorModelRes
|
|
|
422
422
|
* // roleArn: "STRING_VALUE",
|
|
423
423
|
* // creationTime: new Date("TIMESTAMP"),
|
|
424
424
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
425
|
-
* // status: "
|
|
425
|
+
* // status: "ACTIVE" || "ACTIVATING" || "INACTIVE" || "DEPRECATED" || "DRAFT" || "PAUSED" || "FAILED",
|
|
426
426
|
* // key: "STRING_VALUE",
|
|
427
|
-
* // evaluationMethod: "
|
|
427
|
+
* // evaluationMethod: "BATCH" || "SERIAL",
|
|
428
428
|
* // },
|
|
429
429
|
* // };
|
|
430
430
|
*
|
|
@@ -50,7 +50,7 @@ export interface UpdateInputCommandOutput extends UpdateInputResponse, __Metadat
|
|
|
50
50
|
* // inputArn: "STRING_VALUE", // required
|
|
51
51
|
* // creationTime: new Date("TIMESTAMP"), // required
|
|
52
52
|
* // lastUpdateTime: new Date("TIMESTAMP"), // required
|
|
53
|
-
* // status: "
|
|
53
|
+
* // status: "CREATING" || "UPDATING" || "ACTIVE" || "DELETING", // required
|
|
54
54
|
* // },
|
|
55
55
|
* // };
|
|
56
56
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-events",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Events Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.409.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.409.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.409.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.408.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.408.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.408.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.408.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.408.0",
|
|
31
|
+
"@aws-sdk/types": "3.408.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.408.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.408.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.408.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
37
|
"@smithy/hash-node": "^2.0.5",
|