@aws-sdk/client-iot-events 3.299.0 → 3.301.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-types/commands/CreateAlarmModelCommand.d.ts +155 -0
- package/dist-types/commands/CreateDetectorModelCommand.d.ts +387 -0
- package/dist-types/commands/CreateInputCommand.d.ts +17 -0
- package/dist-types/commands/DeleteAlarmModelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDetectorModelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInputCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAlarmModelCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDetectorModelAnalysisCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDetectorModelCommand.d.ts +4 -0
- package/dist-types/commands/DescribeInputCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLoggingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/GetDetectorModelAnalysisResultsCommand.d.ts +5 -0
- package/dist-types/commands/ListAlarmModelVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListAlarmModelsCommand.d.ts +4 -0
- package/dist-types/commands/ListDetectorModelVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListDetectorModelsCommand.d.ts +4 -0
- package/dist-types/commands/ListInputRoutingsCommand.d.ts +15 -0
- package/dist-types/commands/ListInputsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutLoggingOptionsCommand.d.ts +13 -0
- package/dist-types/commands/StartDetectorModelAnalysisCommand.d.ts +376 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAlarmModelCommand.d.ts +148 -0
- package/dist-types/commands/UpdateDetectorModelCommand.d.ts +380 -0
- package/dist-types/commands/UpdateInputCommand.d.ts +11 -0
- package/package.json +8 -8
|
@@ -29,6 +29,11 @@ export interface GetDetectorModelAnalysisResultsCommandOutput extends GetDetecto
|
|
|
29
29
|
* import { IoTEventsClient, GetDetectorModelAnalysisResultsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
30
30
|
* // const { IoTEventsClient, GetDetectorModelAnalysisResultsCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
31
31
|
* const client = new IoTEventsClient(config);
|
|
32
|
+
* const input = { // GetDetectorModelAnalysisResultsRequest
|
|
33
|
+
* analysisId: "STRING_VALUE", // required
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new GetDetectorModelAnalysisResultsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListAlarmModelVersionsCommandOutput extends ListAlarmModelVersi
|
|
|
27
27
|
* import { IoTEventsClient, ListAlarmModelVersionsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsClient, ListAlarmModelVersionsCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsClient(config);
|
|
30
|
+
* const input = { // ListAlarmModelVersionsRequest
|
|
31
|
+
* alarmModelName: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListAlarmModelVersionsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListAlarmModelsCommandOutput extends ListAlarmModelsResponse, _
|
|
|
27
27
|
* import { IoTEventsClient, ListAlarmModelsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsClient, ListAlarmModelsCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsClient(config);
|
|
30
|
+
* const input = { // ListAlarmModelsRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListAlarmModelsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListDetectorModelVersionsCommandOutput extends ListDetectorMode
|
|
|
27
27
|
* import { IoTEventsClient, ListDetectorModelVersionsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsClient, ListDetectorModelVersionsCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsClient(config);
|
|
30
|
+
* const input = { // ListDetectorModelVersionsRequest
|
|
31
|
+
* detectorModelName: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListDetectorModelVersionsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListDetectorModelsCommandOutput extends ListDetectorModelsRespo
|
|
|
27
27
|
* import { IoTEventsClient, ListDetectorModelsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsClient, ListDetectorModelsCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsClient(config);
|
|
30
|
+
* const input = { // ListDetectorModelsRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListDetectorModelsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -28,6 +28,21 @@ export interface ListInputRoutingsCommandOutput extends ListInputRoutingsRespons
|
|
|
28
28
|
* import { IoTEventsClient, ListInputRoutingsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
29
29
|
* // const { IoTEventsClient, ListInputRoutingsCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
30
30
|
* const client = new IoTEventsClient(config);
|
|
31
|
+
* const input = { // ListInputRoutingsRequest
|
|
32
|
+
* inputIdentifier: { // InputIdentifier
|
|
33
|
+
* iotEventsInputIdentifier: { // IotEventsInputIdentifier
|
|
34
|
+
* inputName: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* iotSiteWiseInputIdentifier: { // IotSiteWiseInputIdentifier
|
|
37
|
+
* iotSiteWiseAssetModelPropertyIdentifier: { // IotSiteWiseAssetModelPropertyIdentifier
|
|
38
|
+
* assetModelId: "STRING_VALUE", // required
|
|
39
|
+
* propertyId: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
31
46
|
* const command = new ListInputRoutingsCommand(input);
|
|
32
47
|
* const response = await client.send(command);
|
|
33
48
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListInputsCommandOutput extends ListInputsResponse, __MetadataB
|
|
|
26
26
|
* import { IoTEventsClient, ListInputsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
27
27
|
* // const { IoTEventsClient, ListInputsCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
28
28
|
* const client = new IoTEventsClient(config);
|
|
29
|
+
* const input = { // ListInputsRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListInputsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { IoTEventsClient, ListTagsForResourceCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
27
27
|
* // const { IoTEventsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
28
28
|
* const client = new IoTEventsClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,19 @@ export interface PutLoggingOptionsCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { IoTEventsClient, PutLoggingOptionsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
31
31
|
* // const { IoTEventsClient, PutLoggingOptionsCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
32
32
|
* const client = new IoTEventsClient(config);
|
|
33
|
+
* const input = { // PutLoggingOptionsRequest
|
|
34
|
+
* loggingOptions: { // LoggingOptions
|
|
35
|
+
* roleArn: "STRING_VALUE", // required
|
|
36
|
+
* level: "STRING_VALUE", // required
|
|
37
|
+
* enabled: true || false, // required
|
|
38
|
+
* detectorDebugOptions: [ // DetectorDebugOptions
|
|
39
|
+
* { // DetectorDebugOption
|
|
40
|
+
* detectorModelName: "STRING_VALUE", // required
|
|
41
|
+
* keyValue: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
33
46
|
* const command = new PutLoggingOptionsCommand(input);
|
|
34
47
|
* const response = await client.send(command);
|
|
35
48
|
* ```
|
|
@@ -28,6 +28,382 @@ export interface StartDetectorModelAnalysisCommandOutput extends StartDetectorMo
|
|
|
28
28
|
* import { IoTEventsClient, StartDetectorModelAnalysisCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
29
29
|
* // const { IoTEventsClient, StartDetectorModelAnalysisCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
30
30
|
* const client = new IoTEventsClient(config);
|
|
31
|
+
* const input = { // StartDetectorModelAnalysisRequest
|
|
32
|
+
* detectorModelDefinition: { // DetectorModelDefinition
|
|
33
|
+
* states: [ // States // required
|
|
34
|
+
* { // State
|
|
35
|
+
* stateName: "STRING_VALUE", // required
|
|
36
|
+
* onInput: { // OnInputLifecycle
|
|
37
|
+
* events: [ // Events
|
|
38
|
+
* { // Event
|
|
39
|
+
* eventName: "STRING_VALUE", // required
|
|
40
|
+
* condition: "STRING_VALUE",
|
|
41
|
+
* actions: [ // Actions
|
|
42
|
+
* { // Action
|
|
43
|
+
* setVariable: { // SetVariableAction
|
|
44
|
+
* variableName: "STRING_VALUE", // required
|
|
45
|
+
* value: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* sns: { // SNSTopicPublishAction
|
|
48
|
+
* targetArn: "STRING_VALUE", // required
|
|
49
|
+
* payload: { // Payload
|
|
50
|
+
* contentExpression: "STRING_VALUE", // required
|
|
51
|
+
* type: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* iotTopicPublish: { // IotTopicPublishAction
|
|
55
|
+
* mqttTopic: "STRING_VALUE", // required
|
|
56
|
+
* payload: {
|
|
57
|
+
* contentExpression: "STRING_VALUE", // required
|
|
58
|
+
* type: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* setTimer: { // SetTimerAction
|
|
62
|
+
* timerName: "STRING_VALUE", // required
|
|
63
|
+
* seconds: Number("int"),
|
|
64
|
+
* durationExpression: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* clearTimer: { // ClearTimerAction
|
|
67
|
+
* timerName: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* resetTimer: { // ResetTimerAction
|
|
70
|
+
* timerName: "STRING_VALUE", // required
|
|
71
|
+
* },
|
|
72
|
+
* lambda: { // LambdaAction
|
|
73
|
+
* functionArn: "STRING_VALUE", // required
|
|
74
|
+
* payload: {
|
|
75
|
+
* contentExpression: "STRING_VALUE", // required
|
|
76
|
+
* type: "STRING_VALUE", // required
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* iotEvents: { // IotEventsAction
|
|
80
|
+
* inputName: "STRING_VALUE", // required
|
|
81
|
+
* payload: {
|
|
82
|
+
* contentExpression: "STRING_VALUE", // required
|
|
83
|
+
* type: "STRING_VALUE", // required
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* sqs: { // SqsAction
|
|
87
|
+
* queueUrl: "STRING_VALUE", // required
|
|
88
|
+
* useBase64: true || false,
|
|
89
|
+
* payload: {
|
|
90
|
+
* contentExpression: "STRING_VALUE", // required
|
|
91
|
+
* type: "STRING_VALUE", // required
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* firehose: { // FirehoseAction
|
|
95
|
+
* deliveryStreamName: "STRING_VALUE", // required
|
|
96
|
+
* separator: "STRING_VALUE",
|
|
97
|
+
* payload: "<Payload>",
|
|
98
|
+
* },
|
|
99
|
+
* dynamoDB: { // DynamoDBAction
|
|
100
|
+
* hashKeyType: "STRING_VALUE",
|
|
101
|
+
* hashKeyField: "STRING_VALUE", // required
|
|
102
|
+
* hashKeyValue: "STRING_VALUE", // required
|
|
103
|
+
* rangeKeyType: "STRING_VALUE",
|
|
104
|
+
* rangeKeyField: "STRING_VALUE",
|
|
105
|
+
* rangeKeyValue: "STRING_VALUE",
|
|
106
|
+
* operation: "STRING_VALUE",
|
|
107
|
+
* payloadField: "STRING_VALUE",
|
|
108
|
+
* tableName: "STRING_VALUE", // required
|
|
109
|
+
* payload: "<Payload>",
|
|
110
|
+
* },
|
|
111
|
+
* dynamoDBv2: { // DynamoDBv2Action
|
|
112
|
+
* tableName: "STRING_VALUE", // required
|
|
113
|
+
* payload: "<Payload>",
|
|
114
|
+
* },
|
|
115
|
+
* iotSiteWise: { // IotSiteWiseAction
|
|
116
|
+
* entryId: "STRING_VALUE",
|
|
117
|
+
* assetId: "STRING_VALUE",
|
|
118
|
+
* propertyId: "STRING_VALUE",
|
|
119
|
+
* propertyAlias: "STRING_VALUE",
|
|
120
|
+
* propertyValue: { // AssetPropertyValue
|
|
121
|
+
* value: { // AssetPropertyVariant
|
|
122
|
+
* stringValue: "STRING_VALUE",
|
|
123
|
+
* integerValue: "STRING_VALUE",
|
|
124
|
+
* doubleValue: "STRING_VALUE",
|
|
125
|
+
* booleanValue: "STRING_VALUE",
|
|
126
|
+
* },
|
|
127
|
+
* timestamp: { // AssetPropertyTimestamp
|
|
128
|
+
* timeInSeconds: "STRING_VALUE", // required
|
|
129
|
+
* offsetInNanos: "STRING_VALUE",
|
|
130
|
+
* },
|
|
131
|
+
* quality: "STRING_VALUE",
|
|
132
|
+
* },
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* ],
|
|
136
|
+
* },
|
|
137
|
+
* ],
|
|
138
|
+
* transitionEvents: [ // TransitionEvents
|
|
139
|
+
* { // TransitionEvent
|
|
140
|
+
* eventName: "STRING_VALUE", // required
|
|
141
|
+
* condition: "STRING_VALUE", // required
|
|
142
|
+
* actions: [
|
|
143
|
+
* {
|
|
144
|
+
* setVariable: {
|
|
145
|
+
* variableName: "STRING_VALUE", // required
|
|
146
|
+
* value: "STRING_VALUE", // required
|
|
147
|
+
* },
|
|
148
|
+
* sns: {
|
|
149
|
+
* targetArn: "STRING_VALUE", // required
|
|
150
|
+
* payload: "<Payload>",
|
|
151
|
+
* },
|
|
152
|
+
* iotTopicPublish: {
|
|
153
|
+
* mqttTopic: "STRING_VALUE", // required
|
|
154
|
+
* payload: "<Payload>",
|
|
155
|
+
* },
|
|
156
|
+
* setTimer: {
|
|
157
|
+
* timerName: "STRING_VALUE", // required
|
|
158
|
+
* seconds: Number("int"),
|
|
159
|
+
* durationExpression: "STRING_VALUE",
|
|
160
|
+
* },
|
|
161
|
+
* clearTimer: {
|
|
162
|
+
* timerName: "STRING_VALUE", // required
|
|
163
|
+
* },
|
|
164
|
+
* resetTimer: {
|
|
165
|
+
* timerName: "STRING_VALUE", // required
|
|
166
|
+
* },
|
|
167
|
+
* lambda: {
|
|
168
|
+
* functionArn: "STRING_VALUE", // required
|
|
169
|
+
* payload: "<Payload>",
|
|
170
|
+
* },
|
|
171
|
+
* iotEvents: {
|
|
172
|
+
* inputName: "STRING_VALUE", // required
|
|
173
|
+
* payload: "<Payload>",
|
|
174
|
+
* },
|
|
175
|
+
* sqs: {
|
|
176
|
+
* queueUrl: "STRING_VALUE", // required
|
|
177
|
+
* useBase64: true || false,
|
|
178
|
+
* payload: "<Payload>",
|
|
179
|
+
* },
|
|
180
|
+
* firehose: {
|
|
181
|
+
* deliveryStreamName: "STRING_VALUE", // required
|
|
182
|
+
* separator: "STRING_VALUE",
|
|
183
|
+
* payload: "<Payload>",
|
|
184
|
+
* },
|
|
185
|
+
* dynamoDB: {
|
|
186
|
+
* hashKeyType: "STRING_VALUE",
|
|
187
|
+
* hashKeyField: "STRING_VALUE", // required
|
|
188
|
+
* hashKeyValue: "STRING_VALUE", // required
|
|
189
|
+
* rangeKeyType: "STRING_VALUE",
|
|
190
|
+
* rangeKeyField: "STRING_VALUE",
|
|
191
|
+
* rangeKeyValue: "STRING_VALUE",
|
|
192
|
+
* operation: "STRING_VALUE",
|
|
193
|
+
* payloadField: "STRING_VALUE",
|
|
194
|
+
* tableName: "STRING_VALUE", // required
|
|
195
|
+
* payload: "<Payload>",
|
|
196
|
+
* },
|
|
197
|
+
* dynamoDBv2: {
|
|
198
|
+
* tableName: "STRING_VALUE", // required
|
|
199
|
+
* payload: "<Payload>",
|
|
200
|
+
* },
|
|
201
|
+
* iotSiteWise: {
|
|
202
|
+
* entryId: "STRING_VALUE",
|
|
203
|
+
* assetId: "STRING_VALUE",
|
|
204
|
+
* propertyId: "STRING_VALUE",
|
|
205
|
+
* propertyAlias: "STRING_VALUE",
|
|
206
|
+
* propertyValue: {
|
|
207
|
+
* value: {
|
|
208
|
+
* stringValue: "STRING_VALUE",
|
|
209
|
+
* integerValue: "STRING_VALUE",
|
|
210
|
+
* doubleValue: "STRING_VALUE",
|
|
211
|
+
* booleanValue: "STRING_VALUE",
|
|
212
|
+
* },
|
|
213
|
+
* timestamp: {
|
|
214
|
+
* timeInSeconds: "STRING_VALUE", // required
|
|
215
|
+
* offsetInNanos: "STRING_VALUE",
|
|
216
|
+
* },
|
|
217
|
+
* quality: "STRING_VALUE",
|
|
218
|
+
* },
|
|
219
|
+
* },
|
|
220
|
+
* },
|
|
221
|
+
* ],
|
|
222
|
+
* nextState: "STRING_VALUE", // required
|
|
223
|
+
* },
|
|
224
|
+
* ],
|
|
225
|
+
* },
|
|
226
|
+
* onEnter: { // OnEnterLifecycle
|
|
227
|
+
* events: [
|
|
228
|
+
* {
|
|
229
|
+
* eventName: "STRING_VALUE", // required
|
|
230
|
+
* condition: "STRING_VALUE",
|
|
231
|
+
* actions: [
|
|
232
|
+
* {
|
|
233
|
+
* setVariable: {
|
|
234
|
+
* variableName: "STRING_VALUE", // required
|
|
235
|
+
* value: "STRING_VALUE", // required
|
|
236
|
+
* },
|
|
237
|
+
* sns: {
|
|
238
|
+
* targetArn: "STRING_VALUE", // required
|
|
239
|
+
* payload: "<Payload>",
|
|
240
|
+
* },
|
|
241
|
+
* iotTopicPublish: {
|
|
242
|
+
* mqttTopic: "STRING_VALUE", // required
|
|
243
|
+
* payload: "<Payload>",
|
|
244
|
+
* },
|
|
245
|
+
* setTimer: {
|
|
246
|
+
* timerName: "STRING_VALUE", // required
|
|
247
|
+
* seconds: Number("int"),
|
|
248
|
+
* durationExpression: "STRING_VALUE",
|
|
249
|
+
* },
|
|
250
|
+
* clearTimer: {
|
|
251
|
+
* timerName: "STRING_VALUE", // required
|
|
252
|
+
* },
|
|
253
|
+
* resetTimer: {
|
|
254
|
+
* timerName: "STRING_VALUE", // required
|
|
255
|
+
* },
|
|
256
|
+
* lambda: {
|
|
257
|
+
* functionArn: "STRING_VALUE", // required
|
|
258
|
+
* payload: "<Payload>",
|
|
259
|
+
* },
|
|
260
|
+
* iotEvents: {
|
|
261
|
+
* inputName: "STRING_VALUE", // required
|
|
262
|
+
* payload: "<Payload>",
|
|
263
|
+
* },
|
|
264
|
+
* sqs: {
|
|
265
|
+
* queueUrl: "STRING_VALUE", // required
|
|
266
|
+
* useBase64: true || false,
|
|
267
|
+
* payload: "<Payload>",
|
|
268
|
+
* },
|
|
269
|
+
* firehose: {
|
|
270
|
+
* deliveryStreamName: "STRING_VALUE", // required
|
|
271
|
+
* separator: "STRING_VALUE",
|
|
272
|
+
* payload: "<Payload>",
|
|
273
|
+
* },
|
|
274
|
+
* dynamoDB: {
|
|
275
|
+
* hashKeyType: "STRING_VALUE",
|
|
276
|
+
* hashKeyField: "STRING_VALUE", // required
|
|
277
|
+
* hashKeyValue: "STRING_VALUE", // required
|
|
278
|
+
* rangeKeyType: "STRING_VALUE",
|
|
279
|
+
* rangeKeyField: "STRING_VALUE",
|
|
280
|
+
* rangeKeyValue: "STRING_VALUE",
|
|
281
|
+
* operation: "STRING_VALUE",
|
|
282
|
+
* payloadField: "STRING_VALUE",
|
|
283
|
+
* tableName: "STRING_VALUE", // required
|
|
284
|
+
* payload: "<Payload>",
|
|
285
|
+
* },
|
|
286
|
+
* dynamoDBv2: {
|
|
287
|
+
* tableName: "STRING_VALUE", // required
|
|
288
|
+
* payload: "<Payload>",
|
|
289
|
+
* },
|
|
290
|
+
* iotSiteWise: {
|
|
291
|
+
* entryId: "STRING_VALUE",
|
|
292
|
+
* assetId: "STRING_VALUE",
|
|
293
|
+
* propertyId: "STRING_VALUE",
|
|
294
|
+
* propertyAlias: "STRING_VALUE",
|
|
295
|
+
* propertyValue: {
|
|
296
|
+
* value: {
|
|
297
|
+
* stringValue: "STRING_VALUE",
|
|
298
|
+
* integerValue: "STRING_VALUE",
|
|
299
|
+
* doubleValue: "STRING_VALUE",
|
|
300
|
+
* booleanValue: "STRING_VALUE",
|
|
301
|
+
* },
|
|
302
|
+
* timestamp: {
|
|
303
|
+
* timeInSeconds: "STRING_VALUE", // required
|
|
304
|
+
* offsetInNanos: "STRING_VALUE",
|
|
305
|
+
* },
|
|
306
|
+
* quality: "STRING_VALUE",
|
|
307
|
+
* },
|
|
308
|
+
* },
|
|
309
|
+
* },
|
|
310
|
+
* ],
|
|
311
|
+
* },
|
|
312
|
+
* ],
|
|
313
|
+
* },
|
|
314
|
+
* onExit: { // OnExitLifecycle
|
|
315
|
+
* events: [
|
|
316
|
+
* {
|
|
317
|
+
* eventName: "STRING_VALUE", // required
|
|
318
|
+
* condition: "STRING_VALUE",
|
|
319
|
+
* actions: [
|
|
320
|
+
* {
|
|
321
|
+
* setVariable: {
|
|
322
|
+
* variableName: "STRING_VALUE", // required
|
|
323
|
+
* value: "STRING_VALUE", // required
|
|
324
|
+
* },
|
|
325
|
+
* sns: {
|
|
326
|
+
* targetArn: "STRING_VALUE", // required
|
|
327
|
+
* payload: "<Payload>",
|
|
328
|
+
* },
|
|
329
|
+
* iotTopicPublish: {
|
|
330
|
+
* mqttTopic: "STRING_VALUE", // required
|
|
331
|
+
* payload: "<Payload>",
|
|
332
|
+
* },
|
|
333
|
+
* setTimer: {
|
|
334
|
+
* timerName: "STRING_VALUE", // required
|
|
335
|
+
* seconds: Number("int"),
|
|
336
|
+
* durationExpression: "STRING_VALUE",
|
|
337
|
+
* },
|
|
338
|
+
* clearTimer: {
|
|
339
|
+
* timerName: "STRING_VALUE", // required
|
|
340
|
+
* },
|
|
341
|
+
* resetTimer: {
|
|
342
|
+
* timerName: "STRING_VALUE", // required
|
|
343
|
+
* },
|
|
344
|
+
* lambda: {
|
|
345
|
+
* functionArn: "STRING_VALUE", // required
|
|
346
|
+
* payload: "<Payload>",
|
|
347
|
+
* },
|
|
348
|
+
* iotEvents: {
|
|
349
|
+
* inputName: "STRING_VALUE", // required
|
|
350
|
+
* payload: "<Payload>",
|
|
351
|
+
* },
|
|
352
|
+
* sqs: {
|
|
353
|
+
* queueUrl: "STRING_VALUE", // required
|
|
354
|
+
* useBase64: true || false,
|
|
355
|
+
* payload: "<Payload>",
|
|
356
|
+
* },
|
|
357
|
+
* firehose: {
|
|
358
|
+
* deliveryStreamName: "STRING_VALUE", // required
|
|
359
|
+
* separator: "STRING_VALUE",
|
|
360
|
+
* payload: "<Payload>",
|
|
361
|
+
* },
|
|
362
|
+
* dynamoDB: {
|
|
363
|
+
* hashKeyType: "STRING_VALUE",
|
|
364
|
+
* hashKeyField: "STRING_VALUE", // required
|
|
365
|
+
* hashKeyValue: "STRING_VALUE", // required
|
|
366
|
+
* rangeKeyType: "STRING_VALUE",
|
|
367
|
+
* rangeKeyField: "STRING_VALUE",
|
|
368
|
+
* rangeKeyValue: "STRING_VALUE",
|
|
369
|
+
* operation: "STRING_VALUE",
|
|
370
|
+
* payloadField: "STRING_VALUE",
|
|
371
|
+
* tableName: "STRING_VALUE", // required
|
|
372
|
+
* payload: "<Payload>",
|
|
373
|
+
* },
|
|
374
|
+
* dynamoDBv2: {
|
|
375
|
+
* tableName: "STRING_VALUE", // required
|
|
376
|
+
* payload: "<Payload>",
|
|
377
|
+
* },
|
|
378
|
+
* iotSiteWise: {
|
|
379
|
+
* entryId: "STRING_VALUE",
|
|
380
|
+
* assetId: "STRING_VALUE",
|
|
381
|
+
* propertyId: "STRING_VALUE",
|
|
382
|
+
* propertyAlias: "STRING_VALUE",
|
|
383
|
+
* propertyValue: {
|
|
384
|
+
* value: {
|
|
385
|
+
* stringValue: "STRING_VALUE",
|
|
386
|
+
* integerValue: "STRING_VALUE",
|
|
387
|
+
* doubleValue: "STRING_VALUE",
|
|
388
|
+
* booleanValue: "STRING_VALUE",
|
|
389
|
+
* },
|
|
390
|
+
* timestamp: {
|
|
391
|
+
* timeInSeconds: "STRING_VALUE", // required
|
|
392
|
+
* offsetInNanos: "STRING_VALUE",
|
|
393
|
+
* },
|
|
394
|
+
* quality: "STRING_VALUE",
|
|
395
|
+
* },
|
|
396
|
+
* },
|
|
397
|
+
* },
|
|
398
|
+
* ],
|
|
399
|
+
* },
|
|
400
|
+
* ],
|
|
401
|
+
* },
|
|
402
|
+
* },
|
|
403
|
+
* ],
|
|
404
|
+
* initialStateName: "STRING_VALUE", // required
|
|
405
|
+
* },
|
|
406
|
+
* };
|
|
31
407
|
* const command = new StartDetectorModelAnalysisCommand(input);
|
|
32
408
|
* const response = await client.send(command);
|
|
33
409
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
27
27
|
* import { IoTEventsClient, TagResourceCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
28
28
|
* // const { IoTEventsClient, TagResourceCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
29
29
|
* const client = new IoTEventsClient(config);
|
|
30
|
+
* const input = { // TagResourceRequest
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* tags: [ // Tags // required
|
|
33
|
+
* { // Tag
|
|
34
|
+
* key: "STRING_VALUE", // required
|
|
35
|
+
* value: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
30
39
|
* const command = new TagResourceCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { IoTEventsClient, UntagResourceCommand } from "@aws-sdk/client-iot-events"; // ES Modules import
|
|
27
27
|
* // const { IoTEventsClient, UntagResourceCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import
|
|
28
28
|
* const client = new IoTEventsClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeys // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|