@aws-sdk/client-iotthingsgraph 3.186.0 → 3.188.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/CHANGELOG.md +8 -0
- package/dist-es/IoTThingsGraph.js +142 -149
- package/dist-es/IoTThingsGraphClient.js +22 -28
- package/dist-es/commands/AssociateEntityToThingCommand.js +21 -28
- package/dist-es/commands/CreateFlowTemplateCommand.js +21 -28
- package/dist-es/commands/CreateSystemInstanceCommand.js +21 -28
- package/dist-es/commands/CreateSystemTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteFlowTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteNamespaceCommand.js +21 -28
- package/dist-es/commands/DeleteSystemInstanceCommand.js +21 -28
- package/dist-es/commands/DeleteSystemTemplateCommand.js +21 -28
- package/dist-es/commands/DeploySystemInstanceCommand.js +21 -28
- package/dist-es/commands/DeprecateFlowTemplateCommand.js +21 -28
- package/dist-es/commands/DeprecateSystemTemplateCommand.js +21 -28
- package/dist-es/commands/DescribeNamespaceCommand.js +21 -28
- package/dist-es/commands/DissociateEntityFromThingCommand.js +21 -28
- package/dist-es/commands/GetEntitiesCommand.js +21 -28
- package/dist-es/commands/GetFlowTemplateCommand.js +21 -28
- package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +21 -28
- package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +21 -28
- package/dist-es/commands/GetSystemInstanceCommand.js +21 -28
- package/dist-es/commands/GetSystemTemplateCommand.js +21 -28
- package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +21 -28
- package/dist-es/commands/GetUploadStatusCommand.js +21 -28
- package/dist-es/commands/ListFlowExecutionMessagesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/SearchEntitiesCommand.js +21 -28
- package/dist-es/commands/SearchFlowExecutionsCommand.js +21 -28
- package/dist-es/commands/SearchFlowTemplatesCommand.js +21 -28
- package/dist-es/commands/SearchSystemInstancesCommand.js +21 -28
- package/dist-es/commands/SearchSystemTemplatesCommand.js +21 -28
- package/dist-es/commands/SearchThingsCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UndeploySystemInstanceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateFlowTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateSystemTemplateCommand.js +21 -28
- package/dist-es/commands/UploadEntityDefinitionsCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IoTThingsGraphServiceException.js +5 -10
- package/dist-es/models/models_0.js +341 -166
- package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +25 -68
- package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +25 -68
- package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +25 -68
- package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
- package/dist-es/pagination/SearchEntitiesPaginator.js +25 -68
- package/dist-es/pagination/SearchFlowExecutionsPaginator.js +25 -68
- package/dist-es/pagination/SearchFlowTemplatesPaginator.js +25 -68
- package/dist-es/pagination/SearchSystemInstancesPaginator.js +25 -68
- package/dist-es/pagination/SearchSystemTemplatesPaginator.js +25 -68
- package/dist-es/pagination/SearchThingsPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +2228 -2918
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { AssociateEntityToThingCommand, } from "./commands/AssociateEntityToThingCommand";
|
|
3
2
|
import { CreateFlowTemplateCommand, } from "./commands/CreateFlowTemplateCommand";
|
|
4
3
|
import { CreateSystemInstanceCommand, } from "./commands/CreateSystemInstanceCommand";
|
|
@@ -35,501 +34,495 @@ import { UpdateFlowTemplateCommand, } from "./commands/UpdateFlowTemplateCommand
|
|
|
35
34
|
import { UpdateSystemTemplateCommand, } from "./commands/UpdateSystemTemplateCommand";
|
|
36
35
|
import { UploadEntityDefinitionsCommand, } from "./commands/UploadEntityDefinitionsCommand";
|
|
37
36
|
import { IoTThingsGraphClient } from "./IoTThingsGraphClient";
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
42
|
-
}
|
|
43
|
-
IoTThingsGraph.prototype.associateEntityToThing = function (args, optionsOrCb, cb) {
|
|
44
|
-
var command = new AssociateEntityToThingCommand(args);
|
|
37
|
+
export class IoTThingsGraph extends IoTThingsGraphClient {
|
|
38
|
+
associateEntityToThing(args, optionsOrCb, cb) {
|
|
39
|
+
const command = new AssociateEntityToThingCommand(args);
|
|
45
40
|
if (typeof optionsOrCb === "function") {
|
|
46
41
|
this.send(command, optionsOrCb);
|
|
47
42
|
}
|
|
48
43
|
else if (typeof cb === "function") {
|
|
49
44
|
if (typeof optionsOrCb !== "object")
|
|
50
|
-
throw new Error(
|
|
45
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
51
46
|
this.send(command, optionsOrCb || {}, cb);
|
|
52
47
|
}
|
|
53
48
|
else {
|
|
54
49
|
return this.send(command, optionsOrCb);
|
|
55
50
|
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
}
|
|
52
|
+
createFlowTemplate(args, optionsOrCb, cb) {
|
|
53
|
+
const command = new CreateFlowTemplateCommand(args);
|
|
59
54
|
if (typeof optionsOrCb === "function") {
|
|
60
55
|
this.send(command, optionsOrCb);
|
|
61
56
|
}
|
|
62
57
|
else if (typeof cb === "function") {
|
|
63
58
|
if (typeof optionsOrCb !== "object")
|
|
64
|
-
throw new Error(
|
|
59
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
65
60
|
this.send(command, optionsOrCb || {}, cb);
|
|
66
61
|
}
|
|
67
62
|
else {
|
|
68
63
|
return this.send(command, optionsOrCb);
|
|
69
64
|
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
65
|
+
}
|
|
66
|
+
createSystemInstance(args, optionsOrCb, cb) {
|
|
67
|
+
const command = new CreateSystemInstanceCommand(args);
|
|
73
68
|
if (typeof optionsOrCb === "function") {
|
|
74
69
|
this.send(command, optionsOrCb);
|
|
75
70
|
}
|
|
76
71
|
else if (typeof cb === "function") {
|
|
77
72
|
if (typeof optionsOrCb !== "object")
|
|
78
|
-
throw new Error(
|
|
73
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
79
74
|
this.send(command, optionsOrCb || {}, cb);
|
|
80
75
|
}
|
|
81
76
|
else {
|
|
82
77
|
return this.send(command, optionsOrCb);
|
|
83
78
|
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
79
|
+
}
|
|
80
|
+
createSystemTemplate(args, optionsOrCb, cb) {
|
|
81
|
+
const command = new CreateSystemTemplateCommand(args);
|
|
87
82
|
if (typeof optionsOrCb === "function") {
|
|
88
83
|
this.send(command, optionsOrCb);
|
|
89
84
|
}
|
|
90
85
|
else if (typeof cb === "function") {
|
|
91
86
|
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error(
|
|
87
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
93
88
|
this.send(command, optionsOrCb || {}, cb);
|
|
94
89
|
}
|
|
95
90
|
else {
|
|
96
91
|
return this.send(command, optionsOrCb);
|
|
97
92
|
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
93
|
+
}
|
|
94
|
+
deleteFlowTemplate(args, optionsOrCb, cb) {
|
|
95
|
+
const command = new DeleteFlowTemplateCommand(args);
|
|
101
96
|
if (typeof optionsOrCb === "function") {
|
|
102
97
|
this.send(command, optionsOrCb);
|
|
103
98
|
}
|
|
104
99
|
else if (typeof cb === "function") {
|
|
105
100
|
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error(
|
|
101
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
107
102
|
this.send(command, optionsOrCb || {}, cb);
|
|
108
103
|
}
|
|
109
104
|
else {
|
|
110
105
|
return this.send(command, optionsOrCb);
|
|
111
106
|
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
107
|
+
}
|
|
108
|
+
deleteNamespace(args, optionsOrCb, cb) {
|
|
109
|
+
const command = new DeleteNamespaceCommand(args);
|
|
115
110
|
if (typeof optionsOrCb === "function") {
|
|
116
111
|
this.send(command, optionsOrCb);
|
|
117
112
|
}
|
|
118
113
|
else if (typeof cb === "function") {
|
|
119
114
|
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error(
|
|
115
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
121
116
|
this.send(command, optionsOrCb || {}, cb);
|
|
122
117
|
}
|
|
123
118
|
else {
|
|
124
119
|
return this.send(command, optionsOrCb);
|
|
125
120
|
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
121
|
+
}
|
|
122
|
+
deleteSystemInstance(args, optionsOrCb, cb) {
|
|
123
|
+
const command = new DeleteSystemInstanceCommand(args);
|
|
129
124
|
if (typeof optionsOrCb === "function") {
|
|
130
125
|
this.send(command, optionsOrCb);
|
|
131
126
|
}
|
|
132
127
|
else if (typeof cb === "function") {
|
|
133
128
|
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error(
|
|
129
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
135
130
|
this.send(command, optionsOrCb || {}, cb);
|
|
136
131
|
}
|
|
137
132
|
else {
|
|
138
133
|
return this.send(command, optionsOrCb);
|
|
139
134
|
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
135
|
+
}
|
|
136
|
+
deleteSystemTemplate(args, optionsOrCb, cb) {
|
|
137
|
+
const command = new DeleteSystemTemplateCommand(args);
|
|
143
138
|
if (typeof optionsOrCb === "function") {
|
|
144
139
|
this.send(command, optionsOrCb);
|
|
145
140
|
}
|
|
146
141
|
else if (typeof cb === "function") {
|
|
147
142
|
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error(
|
|
143
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
149
144
|
this.send(command, optionsOrCb || {}, cb);
|
|
150
145
|
}
|
|
151
146
|
else {
|
|
152
147
|
return this.send(command, optionsOrCb);
|
|
153
148
|
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
|
|
149
|
+
}
|
|
150
|
+
deploySystemInstance(args, optionsOrCb, cb) {
|
|
151
|
+
const command = new DeploySystemInstanceCommand(args);
|
|
157
152
|
if (typeof optionsOrCb === "function") {
|
|
158
153
|
this.send(command, optionsOrCb);
|
|
159
154
|
}
|
|
160
155
|
else if (typeof cb === "function") {
|
|
161
156
|
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error(
|
|
157
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
158
|
this.send(command, optionsOrCb || {}, cb);
|
|
164
159
|
}
|
|
165
160
|
else {
|
|
166
161
|
return this.send(command, optionsOrCb);
|
|
167
162
|
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
163
|
+
}
|
|
164
|
+
deprecateFlowTemplate(args, optionsOrCb, cb) {
|
|
165
|
+
const command = new DeprecateFlowTemplateCommand(args);
|
|
171
166
|
if (typeof optionsOrCb === "function") {
|
|
172
167
|
this.send(command, optionsOrCb);
|
|
173
168
|
}
|
|
174
169
|
else if (typeof cb === "function") {
|
|
175
170
|
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error(
|
|
171
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
172
|
this.send(command, optionsOrCb || {}, cb);
|
|
178
173
|
}
|
|
179
174
|
else {
|
|
180
175
|
return this.send(command, optionsOrCb);
|
|
181
176
|
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
177
|
+
}
|
|
178
|
+
deprecateSystemTemplate(args, optionsOrCb, cb) {
|
|
179
|
+
const command = new DeprecateSystemTemplateCommand(args);
|
|
185
180
|
if (typeof optionsOrCb === "function") {
|
|
186
181
|
this.send(command, optionsOrCb);
|
|
187
182
|
}
|
|
188
183
|
else if (typeof cb === "function") {
|
|
189
184
|
if (typeof optionsOrCb !== "object")
|
|
190
|
-
throw new Error(
|
|
185
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
191
186
|
this.send(command, optionsOrCb || {}, cb);
|
|
192
187
|
}
|
|
193
188
|
else {
|
|
194
189
|
return this.send(command, optionsOrCb);
|
|
195
190
|
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
|
|
191
|
+
}
|
|
192
|
+
describeNamespace(args, optionsOrCb, cb) {
|
|
193
|
+
const command = new DescribeNamespaceCommand(args);
|
|
199
194
|
if (typeof optionsOrCb === "function") {
|
|
200
195
|
this.send(command, optionsOrCb);
|
|
201
196
|
}
|
|
202
197
|
else if (typeof cb === "function") {
|
|
203
198
|
if (typeof optionsOrCb !== "object")
|
|
204
|
-
throw new Error(
|
|
199
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
205
200
|
this.send(command, optionsOrCb || {}, cb);
|
|
206
201
|
}
|
|
207
202
|
else {
|
|
208
203
|
return this.send(command, optionsOrCb);
|
|
209
204
|
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
|
|
205
|
+
}
|
|
206
|
+
dissociateEntityFromThing(args, optionsOrCb, cb) {
|
|
207
|
+
const command = new DissociateEntityFromThingCommand(args);
|
|
213
208
|
if (typeof optionsOrCb === "function") {
|
|
214
209
|
this.send(command, optionsOrCb);
|
|
215
210
|
}
|
|
216
211
|
else if (typeof cb === "function") {
|
|
217
212
|
if (typeof optionsOrCb !== "object")
|
|
218
|
-
throw new Error(
|
|
213
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
219
214
|
this.send(command, optionsOrCb || {}, cb);
|
|
220
215
|
}
|
|
221
216
|
else {
|
|
222
217
|
return this.send(command, optionsOrCb);
|
|
223
218
|
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
|
|
219
|
+
}
|
|
220
|
+
getEntities(args, optionsOrCb, cb) {
|
|
221
|
+
const command = new GetEntitiesCommand(args);
|
|
227
222
|
if (typeof optionsOrCb === "function") {
|
|
228
223
|
this.send(command, optionsOrCb);
|
|
229
224
|
}
|
|
230
225
|
else if (typeof cb === "function") {
|
|
231
226
|
if (typeof optionsOrCb !== "object")
|
|
232
|
-
throw new Error(
|
|
227
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
233
228
|
this.send(command, optionsOrCb || {}, cb);
|
|
234
229
|
}
|
|
235
230
|
else {
|
|
236
231
|
return this.send(command, optionsOrCb);
|
|
237
232
|
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
|
|
233
|
+
}
|
|
234
|
+
getFlowTemplate(args, optionsOrCb, cb) {
|
|
235
|
+
const command = new GetFlowTemplateCommand(args);
|
|
241
236
|
if (typeof optionsOrCb === "function") {
|
|
242
237
|
this.send(command, optionsOrCb);
|
|
243
238
|
}
|
|
244
239
|
else if (typeof cb === "function") {
|
|
245
240
|
if (typeof optionsOrCb !== "object")
|
|
246
|
-
throw new Error(
|
|
241
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
247
242
|
this.send(command, optionsOrCb || {}, cb);
|
|
248
243
|
}
|
|
249
244
|
else {
|
|
250
245
|
return this.send(command, optionsOrCb);
|
|
251
246
|
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
|
|
247
|
+
}
|
|
248
|
+
getFlowTemplateRevisions(args, optionsOrCb, cb) {
|
|
249
|
+
const command = new GetFlowTemplateRevisionsCommand(args);
|
|
255
250
|
if (typeof optionsOrCb === "function") {
|
|
256
251
|
this.send(command, optionsOrCb);
|
|
257
252
|
}
|
|
258
253
|
else if (typeof cb === "function") {
|
|
259
254
|
if (typeof optionsOrCb !== "object")
|
|
260
|
-
throw new Error(
|
|
255
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
261
256
|
this.send(command, optionsOrCb || {}, cb);
|
|
262
257
|
}
|
|
263
258
|
else {
|
|
264
259
|
return this.send(command, optionsOrCb);
|
|
265
260
|
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
|
|
261
|
+
}
|
|
262
|
+
getNamespaceDeletionStatus(args, optionsOrCb, cb) {
|
|
263
|
+
const command = new GetNamespaceDeletionStatusCommand(args);
|
|
269
264
|
if (typeof optionsOrCb === "function") {
|
|
270
265
|
this.send(command, optionsOrCb);
|
|
271
266
|
}
|
|
272
267
|
else if (typeof cb === "function") {
|
|
273
268
|
if (typeof optionsOrCb !== "object")
|
|
274
|
-
throw new Error(
|
|
269
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
275
270
|
this.send(command, optionsOrCb || {}, cb);
|
|
276
271
|
}
|
|
277
272
|
else {
|
|
278
273
|
return this.send(command, optionsOrCb);
|
|
279
274
|
}
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
|
|
275
|
+
}
|
|
276
|
+
getSystemInstance(args, optionsOrCb, cb) {
|
|
277
|
+
const command = new GetSystemInstanceCommand(args);
|
|
283
278
|
if (typeof optionsOrCb === "function") {
|
|
284
279
|
this.send(command, optionsOrCb);
|
|
285
280
|
}
|
|
286
281
|
else if (typeof cb === "function") {
|
|
287
282
|
if (typeof optionsOrCb !== "object")
|
|
288
|
-
throw new Error(
|
|
283
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
289
284
|
this.send(command, optionsOrCb || {}, cb);
|
|
290
285
|
}
|
|
291
286
|
else {
|
|
292
287
|
return this.send(command, optionsOrCb);
|
|
293
288
|
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
|
|
289
|
+
}
|
|
290
|
+
getSystemTemplate(args, optionsOrCb, cb) {
|
|
291
|
+
const command = new GetSystemTemplateCommand(args);
|
|
297
292
|
if (typeof optionsOrCb === "function") {
|
|
298
293
|
this.send(command, optionsOrCb);
|
|
299
294
|
}
|
|
300
295
|
else if (typeof cb === "function") {
|
|
301
296
|
if (typeof optionsOrCb !== "object")
|
|
302
|
-
throw new Error(
|
|
297
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
303
298
|
this.send(command, optionsOrCb || {}, cb);
|
|
304
299
|
}
|
|
305
300
|
else {
|
|
306
301
|
return this.send(command, optionsOrCb);
|
|
307
302
|
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
303
|
+
}
|
|
304
|
+
getSystemTemplateRevisions(args, optionsOrCb, cb) {
|
|
305
|
+
const command = new GetSystemTemplateRevisionsCommand(args);
|
|
311
306
|
if (typeof optionsOrCb === "function") {
|
|
312
307
|
this.send(command, optionsOrCb);
|
|
313
308
|
}
|
|
314
309
|
else if (typeof cb === "function") {
|
|
315
310
|
if (typeof optionsOrCb !== "object")
|
|
316
|
-
throw new Error(
|
|
311
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
317
312
|
this.send(command, optionsOrCb || {}, cb);
|
|
318
313
|
}
|
|
319
314
|
else {
|
|
320
315
|
return this.send(command, optionsOrCb);
|
|
321
316
|
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
|
|
317
|
+
}
|
|
318
|
+
getUploadStatus(args, optionsOrCb, cb) {
|
|
319
|
+
const command = new GetUploadStatusCommand(args);
|
|
325
320
|
if (typeof optionsOrCb === "function") {
|
|
326
321
|
this.send(command, optionsOrCb);
|
|
327
322
|
}
|
|
328
323
|
else if (typeof cb === "function") {
|
|
329
324
|
if (typeof optionsOrCb !== "object")
|
|
330
|
-
throw new Error(
|
|
325
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
326
|
this.send(command, optionsOrCb || {}, cb);
|
|
332
327
|
}
|
|
333
328
|
else {
|
|
334
329
|
return this.send(command, optionsOrCb);
|
|
335
330
|
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
|
|
331
|
+
}
|
|
332
|
+
listFlowExecutionMessages(args, optionsOrCb, cb) {
|
|
333
|
+
const command = new ListFlowExecutionMessagesCommand(args);
|
|
339
334
|
if (typeof optionsOrCb === "function") {
|
|
340
335
|
this.send(command, optionsOrCb);
|
|
341
336
|
}
|
|
342
337
|
else if (typeof cb === "function") {
|
|
343
338
|
if (typeof optionsOrCb !== "object")
|
|
344
|
-
throw new Error(
|
|
339
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
345
340
|
this.send(command, optionsOrCb || {}, cb);
|
|
346
341
|
}
|
|
347
342
|
else {
|
|
348
343
|
return this.send(command, optionsOrCb);
|
|
349
344
|
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
|
|
345
|
+
}
|
|
346
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
347
|
+
const command = new ListTagsForResourceCommand(args);
|
|
353
348
|
if (typeof optionsOrCb === "function") {
|
|
354
349
|
this.send(command, optionsOrCb);
|
|
355
350
|
}
|
|
356
351
|
else if (typeof cb === "function") {
|
|
357
352
|
if (typeof optionsOrCb !== "object")
|
|
358
|
-
throw new Error(
|
|
353
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
359
354
|
this.send(command, optionsOrCb || {}, cb);
|
|
360
355
|
}
|
|
361
356
|
else {
|
|
362
357
|
return this.send(command, optionsOrCb);
|
|
363
358
|
}
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
|
|
359
|
+
}
|
|
360
|
+
searchEntities(args, optionsOrCb, cb) {
|
|
361
|
+
const command = new SearchEntitiesCommand(args);
|
|
367
362
|
if (typeof optionsOrCb === "function") {
|
|
368
363
|
this.send(command, optionsOrCb);
|
|
369
364
|
}
|
|
370
365
|
else if (typeof cb === "function") {
|
|
371
366
|
if (typeof optionsOrCb !== "object")
|
|
372
|
-
throw new Error(
|
|
367
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
373
368
|
this.send(command, optionsOrCb || {}, cb);
|
|
374
369
|
}
|
|
375
370
|
else {
|
|
376
371
|
return this.send(command, optionsOrCb);
|
|
377
372
|
}
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
|
|
373
|
+
}
|
|
374
|
+
searchFlowExecutions(args, optionsOrCb, cb) {
|
|
375
|
+
const command = new SearchFlowExecutionsCommand(args);
|
|
381
376
|
if (typeof optionsOrCb === "function") {
|
|
382
377
|
this.send(command, optionsOrCb);
|
|
383
378
|
}
|
|
384
379
|
else if (typeof cb === "function") {
|
|
385
380
|
if (typeof optionsOrCb !== "object")
|
|
386
|
-
throw new Error(
|
|
381
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
387
382
|
this.send(command, optionsOrCb || {}, cb);
|
|
388
383
|
}
|
|
389
384
|
else {
|
|
390
385
|
return this.send(command, optionsOrCb);
|
|
391
386
|
}
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
|
|
387
|
+
}
|
|
388
|
+
searchFlowTemplates(args, optionsOrCb, cb) {
|
|
389
|
+
const command = new SearchFlowTemplatesCommand(args);
|
|
395
390
|
if (typeof optionsOrCb === "function") {
|
|
396
391
|
this.send(command, optionsOrCb);
|
|
397
392
|
}
|
|
398
393
|
else if (typeof cb === "function") {
|
|
399
394
|
if (typeof optionsOrCb !== "object")
|
|
400
|
-
throw new Error(
|
|
395
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
401
396
|
this.send(command, optionsOrCb || {}, cb);
|
|
402
397
|
}
|
|
403
398
|
else {
|
|
404
399
|
return this.send(command, optionsOrCb);
|
|
405
400
|
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
|
|
401
|
+
}
|
|
402
|
+
searchSystemInstances(args, optionsOrCb, cb) {
|
|
403
|
+
const command = new SearchSystemInstancesCommand(args);
|
|
409
404
|
if (typeof optionsOrCb === "function") {
|
|
410
405
|
this.send(command, optionsOrCb);
|
|
411
406
|
}
|
|
412
407
|
else if (typeof cb === "function") {
|
|
413
408
|
if (typeof optionsOrCb !== "object")
|
|
414
|
-
throw new Error(
|
|
409
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
415
410
|
this.send(command, optionsOrCb || {}, cb);
|
|
416
411
|
}
|
|
417
412
|
else {
|
|
418
413
|
return this.send(command, optionsOrCb);
|
|
419
414
|
}
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
|
|
415
|
+
}
|
|
416
|
+
searchSystemTemplates(args, optionsOrCb, cb) {
|
|
417
|
+
const command = new SearchSystemTemplatesCommand(args);
|
|
423
418
|
if (typeof optionsOrCb === "function") {
|
|
424
419
|
this.send(command, optionsOrCb);
|
|
425
420
|
}
|
|
426
421
|
else if (typeof cb === "function") {
|
|
427
422
|
if (typeof optionsOrCb !== "object")
|
|
428
|
-
throw new Error(
|
|
423
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
429
424
|
this.send(command, optionsOrCb || {}, cb);
|
|
430
425
|
}
|
|
431
426
|
else {
|
|
432
427
|
return this.send(command, optionsOrCb);
|
|
433
428
|
}
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
|
|
429
|
+
}
|
|
430
|
+
searchThings(args, optionsOrCb, cb) {
|
|
431
|
+
const command = new SearchThingsCommand(args);
|
|
437
432
|
if (typeof optionsOrCb === "function") {
|
|
438
433
|
this.send(command, optionsOrCb);
|
|
439
434
|
}
|
|
440
435
|
else if (typeof cb === "function") {
|
|
441
436
|
if (typeof optionsOrCb !== "object")
|
|
442
|
-
throw new Error(
|
|
437
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
443
438
|
this.send(command, optionsOrCb || {}, cb);
|
|
444
439
|
}
|
|
445
440
|
else {
|
|
446
441
|
return this.send(command, optionsOrCb);
|
|
447
442
|
}
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
|
|
443
|
+
}
|
|
444
|
+
tagResource(args, optionsOrCb, cb) {
|
|
445
|
+
const command = new TagResourceCommand(args);
|
|
451
446
|
if (typeof optionsOrCb === "function") {
|
|
452
447
|
this.send(command, optionsOrCb);
|
|
453
448
|
}
|
|
454
449
|
else if (typeof cb === "function") {
|
|
455
450
|
if (typeof optionsOrCb !== "object")
|
|
456
|
-
throw new Error(
|
|
451
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
457
452
|
this.send(command, optionsOrCb || {}, cb);
|
|
458
453
|
}
|
|
459
454
|
else {
|
|
460
455
|
return this.send(command, optionsOrCb);
|
|
461
456
|
}
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
|
|
457
|
+
}
|
|
458
|
+
undeploySystemInstance(args, optionsOrCb, cb) {
|
|
459
|
+
const command = new UndeploySystemInstanceCommand(args);
|
|
465
460
|
if (typeof optionsOrCb === "function") {
|
|
466
461
|
this.send(command, optionsOrCb);
|
|
467
462
|
}
|
|
468
463
|
else if (typeof cb === "function") {
|
|
469
464
|
if (typeof optionsOrCb !== "object")
|
|
470
|
-
throw new Error(
|
|
465
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
471
466
|
this.send(command, optionsOrCb || {}, cb);
|
|
472
467
|
}
|
|
473
468
|
else {
|
|
474
469
|
return this.send(command, optionsOrCb);
|
|
475
470
|
}
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
|
|
471
|
+
}
|
|
472
|
+
untagResource(args, optionsOrCb, cb) {
|
|
473
|
+
const command = new UntagResourceCommand(args);
|
|
479
474
|
if (typeof optionsOrCb === "function") {
|
|
480
475
|
this.send(command, optionsOrCb);
|
|
481
476
|
}
|
|
482
477
|
else if (typeof cb === "function") {
|
|
483
478
|
if (typeof optionsOrCb !== "object")
|
|
484
|
-
throw new Error(
|
|
479
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
485
480
|
this.send(command, optionsOrCb || {}, cb);
|
|
486
481
|
}
|
|
487
482
|
else {
|
|
488
483
|
return this.send(command, optionsOrCb);
|
|
489
484
|
}
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
|
|
485
|
+
}
|
|
486
|
+
updateFlowTemplate(args, optionsOrCb, cb) {
|
|
487
|
+
const command = new UpdateFlowTemplateCommand(args);
|
|
493
488
|
if (typeof optionsOrCb === "function") {
|
|
494
489
|
this.send(command, optionsOrCb);
|
|
495
490
|
}
|
|
496
491
|
else if (typeof cb === "function") {
|
|
497
492
|
if (typeof optionsOrCb !== "object")
|
|
498
|
-
throw new Error(
|
|
493
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
499
494
|
this.send(command, optionsOrCb || {}, cb);
|
|
500
495
|
}
|
|
501
496
|
else {
|
|
502
497
|
return this.send(command, optionsOrCb);
|
|
503
498
|
}
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
|
|
499
|
+
}
|
|
500
|
+
updateSystemTemplate(args, optionsOrCb, cb) {
|
|
501
|
+
const command = new UpdateSystemTemplateCommand(args);
|
|
507
502
|
if (typeof optionsOrCb === "function") {
|
|
508
503
|
this.send(command, optionsOrCb);
|
|
509
504
|
}
|
|
510
505
|
else if (typeof cb === "function") {
|
|
511
506
|
if (typeof optionsOrCb !== "object")
|
|
512
|
-
throw new Error(
|
|
507
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
513
508
|
this.send(command, optionsOrCb || {}, cb);
|
|
514
509
|
}
|
|
515
510
|
else {
|
|
516
511
|
return this.send(command, optionsOrCb);
|
|
517
512
|
}
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
|
|
513
|
+
}
|
|
514
|
+
uploadEntityDefinitions(args, optionsOrCb, cb) {
|
|
515
|
+
const command = new UploadEntityDefinitionsCommand(args);
|
|
521
516
|
if (typeof optionsOrCb === "function") {
|
|
522
517
|
this.send(command, optionsOrCb);
|
|
523
518
|
}
|
|
524
519
|
else if (typeof cb === "function") {
|
|
525
520
|
if (typeof optionsOrCb !== "object")
|
|
526
|
-
throw new Error(
|
|
521
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
527
522
|
this.send(command, optionsOrCb || {}, cb);
|
|
528
523
|
}
|
|
529
524
|
else {
|
|
530
525
|
return this.send(command, optionsOrCb);
|
|
531
526
|
}
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
}(IoTThingsGraphClient));
|
|
535
|
-
export { IoTThingsGraph };
|
|
527
|
+
}
|
|
528
|
+
}
|