@aws-sdk/client-iottwinmaker 3.312.0 → 3.316.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/IoTTwinMaker.js +38 -476
- package/dist-cjs/protocols/Aws_restJson1.js +652 -1355
- package/dist-es/IoTTwinMaker.js +38 -476
- package/dist-es/protocols/Aws_restJson1.js +606 -1309
- package/dist-types/IoTTwinMaker.d.ts +47 -86
- package/dist-types/ts3.4/IoTTwinMaker.d.ts +4 -1
- package/package.json +6 -6
package/dist-cjs/IoTTwinMaker.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IoTTwinMaker = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const BatchPutPropertyValuesCommand_1 = require("./commands/BatchPutPropertyValuesCommand");
|
|
5
6
|
const CreateComponentTypeCommand_1 = require("./commands/CreateComponentTypeCommand");
|
|
6
7
|
const CreateEntityCommand_1 = require("./commands/CreateEntityCommand");
|
|
@@ -36,482 +37,43 @@ const UpdatePricingPlanCommand_1 = require("./commands/UpdatePricingPlanCommand"
|
|
|
36
37
|
const UpdateSceneCommand_1 = require("./commands/UpdateSceneCommand");
|
|
37
38
|
const UpdateWorkspaceCommand_1 = require("./commands/UpdateWorkspaceCommand");
|
|
38
39
|
const IoTTwinMakerClient_1 = require("./IoTTwinMakerClient");
|
|
40
|
+
const commands = {
|
|
41
|
+
BatchPutPropertyValuesCommand: BatchPutPropertyValuesCommand_1.BatchPutPropertyValuesCommand,
|
|
42
|
+
CreateComponentTypeCommand: CreateComponentTypeCommand_1.CreateComponentTypeCommand,
|
|
43
|
+
CreateEntityCommand: CreateEntityCommand_1.CreateEntityCommand,
|
|
44
|
+
CreateSceneCommand: CreateSceneCommand_1.CreateSceneCommand,
|
|
45
|
+
CreateSyncJobCommand: CreateSyncJobCommand_1.CreateSyncJobCommand,
|
|
46
|
+
CreateWorkspaceCommand: CreateWorkspaceCommand_1.CreateWorkspaceCommand,
|
|
47
|
+
DeleteComponentTypeCommand: DeleteComponentTypeCommand_1.DeleteComponentTypeCommand,
|
|
48
|
+
DeleteEntityCommand: DeleteEntityCommand_1.DeleteEntityCommand,
|
|
49
|
+
DeleteSceneCommand: DeleteSceneCommand_1.DeleteSceneCommand,
|
|
50
|
+
DeleteSyncJobCommand: DeleteSyncJobCommand_1.DeleteSyncJobCommand,
|
|
51
|
+
DeleteWorkspaceCommand: DeleteWorkspaceCommand_1.DeleteWorkspaceCommand,
|
|
52
|
+
ExecuteQueryCommand: ExecuteQueryCommand_1.ExecuteQueryCommand,
|
|
53
|
+
GetComponentTypeCommand: GetComponentTypeCommand_1.GetComponentTypeCommand,
|
|
54
|
+
GetEntityCommand: GetEntityCommand_1.GetEntityCommand,
|
|
55
|
+
GetPricingPlanCommand: GetPricingPlanCommand_1.GetPricingPlanCommand,
|
|
56
|
+
GetPropertyValueCommand: GetPropertyValueCommand_1.GetPropertyValueCommand,
|
|
57
|
+
GetPropertyValueHistoryCommand: GetPropertyValueHistoryCommand_1.GetPropertyValueHistoryCommand,
|
|
58
|
+
GetSceneCommand: GetSceneCommand_1.GetSceneCommand,
|
|
59
|
+
GetSyncJobCommand: GetSyncJobCommand_1.GetSyncJobCommand,
|
|
60
|
+
GetWorkspaceCommand: GetWorkspaceCommand_1.GetWorkspaceCommand,
|
|
61
|
+
ListComponentTypesCommand: ListComponentTypesCommand_1.ListComponentTypesCommand,
|
|
62
|
+
ListEntitiesCommand: ListEntitiesCommand_1.ListEntitiesCommand,
|
|
63
|
+
ListScenesCommand: ListScenesCommand_1.ListScenesCommand,
|
|
64
|
+
ListSyncJobsCommand: ListSyncJobsCommand_1.ListSyncJobsCommand,
|
|
65
|
+
ListSyncResourcesCommand: ListSyncResourcesCommand_1.ListSyncResourcesCommand,
|
|
66
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
67
|
+
ListWorkspacesCommand: ListWorkspacesCommand_1.ListWorkspacesCommand,
|
|
68
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
69
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
70
|
+
UpdateComponentTypeCommand: UpdateComponentTypeCommand_1.UpdateComponentTypeCommand,
|
|
71
|
+
UpdateEntityCommand: UpdateEntityCommand_1.UpdateEntityCommand,
|
|
72
|
+
UpdatePricingPlanCommand: UpdatePricingPlanCommand_1.UpdatePricingPlanCommand,
|
|
73
|
+
UpdateSceneCommand: UpdateSceneCommand_1.UpdateSceneCommand,
|
|
74
|
+
UpdateWorkspaceCommand: UpdateWorkspaceCommand_1.UpdateWorkspaceCommand,
|
|
75
|
+
};
|
|
39
76
|
class IoTTwinMaker extends IoTTwinMakerClient_1.IoTTwinMakerClient {
|
|
40
|
-
batchPutPropertyValues(args, optionsOrCb, cb) {
|
|
41
|
-
const command = new BatchPutPropertyValuesCommand_1.BatchPutPropertyValuesCommand(args);
|
|
42
|
-
if (typeof optionsOrCb === "function") {
|
|
43
|
-
this.send(command, optionsOrCb);
|
|
44
|
-
}
|
|
45
|
-
else if (typeof cb === "function") {
|
|
46
|
-
if (typeof optionsOrCb !== "object")
|
|
47
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
48
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
return this.send(command, optionsOrCb);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
createComponentType(args, optionsOrCb, cb) {
|
|
55
|
-
const command = new CreateComponentTypeCommand_1.CreateComponentTypeCommand(args);
|
|
56
|
-
if (typeof optionsOrCb === "function") {
|
|
57
|
-
this.send(command, optionsOrCb);
|
|
58
|
-
}
|
|
59
|
-
else if (typeof cb === "function") {
|
|
60
|
-
if (typeof optionsOrCb !== "object")
|
|
61
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
62
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
return this.send(command, optionsOrCb);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
createEntity(args, optionsOrCb, cb) {
|
|
69
|
-
const command = new CreateEntityCommand_1.CreateEntityCommand(args);
|
|
70
|
-
if (typeof optionsOrCb === "function") {
|
|
71
|
-
this.send(command, optionsOrCb);
|
|
72
|
-
}
|
|
73
|
-
else if (typeof cb === "function") {
|
|
74
|
-
if (typeof optionsOrCb !== "object")
|
|
75
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
76
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
return this.send(command, optionsOrCb);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
createScene(args, optionsOrCb, cb) {
|
|
83
|
-
const command = new CreateSceneCommand_1.CreateSceneCommand(args);
|
|
84
|
-
if (typeof optionsOrCb === "function") {
|
|
85
|
-
this.send(command, optionsOrCb);
|
|
86
|
-
}
|
|
87
|
-
else if (typeof cb === "function") {
|
|
88
|
-
if (typeof optionsOrCb !== "object")
|
|
89
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
90
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
return this.send(command, optionsOrCb);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
createSyncJob(args, optionsOrCb, cb) {
|
|
97
|
-
const command = new CreateSyncJobCommand_1.CreateSyncJobCommand(args);
|
|
98
|
-
if (typeof optionsOrCb === "function") {
|
|
99
|
-
this.send(command, optionsOrCb);
|
|
100
|
-
}
|
|
101
|
-
else if (typeof cb === "function") {
|
|
102
|
-
if (typeof optionsOrCb !== "object")
|
|
103
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
104
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
return this.send(command, optionsOrCb);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
createWorkspace(args, optionsOrCb, cb) {
|
|
111
|
-
const command = new CreateWorkspaceCommand_1.CreateWorkspaceCommand(args);
|
|
112
|
-
if (typeof optionsOrCb === "function") {
|
|
113
|
-
this.send(command, optionsOrCb);
|
|
114
|
-
}
|
|
115
|
-
else if (typeof cb === "function") {
|
|
116
|
-
if (typeof optionsOrCb !== "object")
|
|
117
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
118
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
119
|
-
}
|
|
120
|
-
else {
|
|
121
|
-
return this.send(command, optionsOrCb);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
deleteComponentType(args, optionsOrCb, cb) {
|
|
125
|
-
const command = new DeleteComponentTypeCommand_1.DeleteComponentTypeCommand(args);
|
|
126
|
-
if (typeof optionsOrCb === "function") {
|
|
127
|
-
this.send(command, optionsOrCb);
|
|
128
|
-
}
|
|
129
|
-
else if (typeof cb === "function") {
|
|
130
|
-
if (typeof optionsOrCb !== "object")
|
|
131
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
132
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
return this.send(command, optionsOrCb);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
deleteEntity(args, optionsOrCb, cb) {
|
|
139
|
-
const command = new DeleteEntityCommand_1.DeleteEntityCommand(args);
|
|
140
|
-
if (typeof optionsOrCb === "function") {
|
|
141
|
-
this.send(command, optionsOrCb);
|
|
142
|
-
}
|
|
143
|
-
else if (typeof cb === "function") {
|
|
144
|
-
if (typeof optionsOrCb !== "object")
|
|
145
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
146
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
return this.send(command, optionsOrCb);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
deleteScene(args, optionsOrCb, cb) {
|
|
153
|
-
const command = new DeleteSceneCommand_1.DeleteSceneCommand(args);
|
|
154
|
-
if (typeof optionsOrCb === "function") {
|
|
155
|
-
this.send(command, optionsOrCb);
|
|
156
|
-
}
|
|
157
|
-
else if (typeof cb === "function") {
|
|
158
|
-
if (typeof optionsOrCb !== "object")
|
|
159
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
160
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
return this.send(command, optionsOrCb);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
deleteSyncJob(args, optionsOrCb, cb) {
|
|
167
|
-
const command = new DeleteSyncJobCommand_1.DeleteSyncJobCommand(args);
|
|
168
|
-
if (typeof optionsOrCb === "function") {
|
|
169
|
-
this.send(command, optionsOrCb);
|
|
170
|
-
}
|
|
171
|
-
else if (typeof cb === "function") {
|
|
172
|
-
if (typeof optionsOrCb !== "object")
|
|
173
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
174
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
return this.send(command, optionsOrCb);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
deleteWorkspace(args, optionsOrCb, cb) {
|
|
181
|
-
const command = new DeleteWorkspaceCommand_1.DeleteWorkspaceCommand(args);
|
|
182
|
-
if (typeof optionsOrCb === "function") {
|
|
183
|
-
this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
else if (typeof cb === "function") {
|
|
186
|
-
if (typeof optionsOrCb !== "object")
|
|
187
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
188
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
189
|
-
}
|
|
190
|
-
else {
|
|
191
|
-
return this.send(command, optionsOrCb);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
executeQuery(args, optionsOrCb, cb) {
|
|
195
|
-
const command = new ExecuteQueryCommand_1.ExecuteQueryCommand(args);
|
|
196
|
-
if (typeof optionsOrCb === "function") {
|
|
197
|
-
this.send(command, optionsOrCb);
|
|
198
|
-
}
|
|
199
|
-
else if (typeof cb === "function") {
|
|
200
|
-
if (typeof optionsOrCb !== "object")
|
|
201
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
202
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
return this.send(command, optionsOrCb);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
getComponentType(args, optionsOrCb, cb) {
|
|
209
|
-
const command = new GetComponentTypeCommand_1.GetComponentTypeCommand(args);
|
|
210
|
-
if (typeof optionsOrCb === "function") {
|
|
211
|
-
this.send(command, optionsOrCb);
|
|
212
|
-
}
|
|
213
|
-
else if (typeof cb === "function") {
|
|
214
|
-
if (typeof optionsOrCb !== "object")
|
|
215
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
216
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
return this.send(command, optionsOrCb);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
getEntity(args, optionsOrCb, cb) {
|
|
223
|
-
const command = new GetEntityCommand_1.GetEntityCommand(args);
|
|
224
|
-
if (typeof optionsOrCb === "function") {
|
|
225
|
-
this.send(command, optionsOrCb);
|
|
226
|
-
}
|
|
227
|
-
else if (typeof cb === "function") {
|
|
228
|
-
if (typeof optionsOrCb !== "object")
|
|
229
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
230
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
return this.send(command, optionsOrCb);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
getPricingPlan(args, optionsOrCb, cb) {
|
|
237
|
-
const command = new GetPricingPlanCommand_1.GetPricingPlanCommand(args);
|
|
238
|
-
if (typeof optionsOrCb === "function") {
|
|
239
|
-
this.send(command, optionsOrCb);
|
|
240
|
-
}
|
|
241
|
-
else if (typeof cb === "function") {
|
|
242
|
-
if (typeof optionsOrCb !== "object")
|
|
243
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
244
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
245
|
-
}
|
|
246
|
-
else {
|
|
247
|
-
return this.send(command, optionsOrCb);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
getPropertyValue(args, optionsOrCb, cb) {
|
|
251
|
-
const command = new GetPropertyValueCommand_1.GetPropertyValueCommand(args);
|
|
252
|
-
if (typeof optionsOrCb === "function") {
|
|
253
|
-
this.send(command, optionsOrCb);
|
|
254
|
-
}
|
|
255
|
-
else if (typeof cb === "function") {
|
|
256
|
-
if (typeof optionsOrCb !== "object")
|
|
257
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
258
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
259
|
-
}
|
|
260
|
-
else {
|
|
261
|
-
return this.send(command, optionsOrCb);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
getPropertyValueHistory(args, optionsOrCb, cb) {
|
|
265
|
-
const command = new GetPropertyValueHistoryCommand_1.GetPropertyValueHistoryCommand(args);
|
|
266
|
-
if (typeof optionsOrCb === "function") {
|
|
267
|
-
this.send(command, optionsOrCb);
|
|
268
|
-
}
|
|
269
|
-
else if (typeof cb === "function") {
|
|
270
|
-
if (typeof optionsOrCb !== "object")
|
|
271
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
272
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
273
|
-
}
|
|
274
|
-
else {
|
|
275
|
-
return this.send(command, optionsOrCb);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
getScene(args, optionsOrCb, cb) {
|
|
279
|
-
const command = new GetSceneCommand_1.GetSceneCommand(args);
|
|
280
|
-
if (typeof optionsOrCb === "function") {
|
|
281
|
-
this.send(command, optionsOrCb);
|
|
282
|
-
}
|
|
283
|
-
else if (typeof cb === "function") {
|
|
284
|
-
if (typeof optionsOrCb !== "object")
|
|
285
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
286
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
287
|
-
}
|
|
288
|
-
else {
|
|
289
|
-
return this.send(command, optionsOrCb);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
getSyncJob(args, optionsOrCb, cb) {
|
|
293
|
-
const command = new GetSyncJobCommand_1.GetSyncJobCommand(args);
|
|
294
|
-
if (typeof optionsOrCb === "function") {
|
|
295
|
-
this.send(command, optionsOrCb);
|
|
296
|
-
}
|
|
297
|
-
else if (typeof cb === "function") {
|
|
298
|
-
if (typeof optionsOrCb !== "object")
|
|
299
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
300
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
301
|
-
}
|
|
302
|
-
else {
|
|
303
|
-
return this.send(command, optionsOrCb);
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
getWorkspace(args, optionsOrCb, cb) {
|
|
307
|
-
const command = new GetWorkspaceCommand_1.GetWorkspaceCommand(args);
|
|
308
|
-
if (typeof optionsOrCb === "function") {
|
|
309
|
-
this.send(command, optionsOrCb);
|
|
310
|
-
}
|
|
311
|
-
else if (typeof cb === "function") {
|
|
312
|
-
if (typeof optionsOrCb !== "object")
|
|
313
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
314
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
315
|
-
}
|
|
316
|
-
else {
|
|
317
|
-
return this.send(command, optionsOrCb);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
listComponentTypes(args, optionsOrCb, cb) {
|
|
321
|
-
const command = new ListComponentTypesCommand_1.ListComponentTypesCommand(args);
|
|
322
|
-
if (typeof optionsOrCb === "function") {
|
|
323
|
-
this.send(command, optionsOrCb);
|
|
324
|
-
}
|
|
325
|
-
else if (typeof cb === "function") {
|
|
326
|
-
if (typeof optionsOrCb !== "object")
|
|
327
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
328
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
329
|
-
}
|
|
330
|
-
else {
|
|
331
|
-
return this.send(command, optionsOrCb);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
listEntities(args, optionsOrCb, cb) {
|
|
335
|
-
const command = new ListEntitiesCommand_1.ListEntitiesCommand(args);
|
|
336
|
-
if (typeof optionsOrCb === "function") {
|
|
337
|
-
this.send(command, optionsOrCb);
|
|
338
|
-
}
|
|
339
|
-
else if (typeof cb === "function") {
|
|
340
|
-
if (typeof optionsOrCb !== "object")
|
|
341
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
342
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
343
|
-
}
|
|
344
|
-
else {
|
|
345
|
-
return this.send(command, optionsOrCb);
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
listScenes(args, optionsOrCb, cb) {
|
|
349
|
-
const command = new ListScenesCommand_1.ListScenesCommand(args);
|
|
350
|
-
if (typeof optionsOrCb === "function") {
|
|
351
|
-
this.send(command, optionsOrCb);
|
|
352
|
-
}
|
|
353
|
-
else if (typeof cb === "function") {
|
|
354
|
-
if (typeof optionsOrCb !== "object")
|
|
355
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
356
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
357
|
-
}
|
|
358
|
-
else {
|
|
359
|
-
return this.send(command, optionsOrCb);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
listSyncJobs(args, optionsOrCb, cb) {
|
|
363
|
-
const command = new ListSyncJobsCommand_1.ListSyncJobsCommand(args);
|
|
364
|
-
if (typeof optionsOrCb === "function") {
|
|
365
|
-
this.send(command, optionsOrCb);
|
|
366
|
-
}
|
|
367
|
-
else if (typeof cb === "function") {
|
|
368
|
-
if (typeof optionsOrCb !== "object")
|
|
369
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
370
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
371
|
-
}
|
|
372
|
-
else {
|
|
373
|
-
return this.send(command, optionsOrCb);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
listSyncResources(args, optionsOrCb, cb) {
|
|
377
|
-
const command = new ListSyncResourcesCommand_1.ListSyncResourcesCommand(args);
|
|
378
|
-
if (typeof optionsOrCb === "function") {
|
|
379
|
-
this.send(command, optionsOrCb);
|
|
380
|
-
}
|
|
381
|
-
else if (typeof cb === "function") {
|
|
382
|
-
if (typeof optionsOrCb !== "object")
|
|
383
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
384
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
385
|
-
}
|
|
386
|
-
else {
|
|
387
|
-
return this.send(command, optionsOrCb);
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
391
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
392
|
-
if (typeof optionsOrCb === "function") {
|
|
393
|
-
this.send(command, optionsOrCb);
|
|
394
|
-
}
|
|
395
|
-
else if (typeof cb === "function") {
|
|
396
|
-
if (typeof optionsOrCb !== "object")
|
|
397
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
398
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
399
|
-
}
|
|
400
|
-
else {
|
|
401
|
-
return this.send(command, optionsOrCb);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
listWorkspaces(args, optionsOrCb, cb) {
|
|
405
|
-
const command = new ListWorkspacesCommand_1.ListWorkspacesCommand(args);
|
|
406
|
-
if (typeof optionsOrCb === "function") {
|
|
407
|
-
this.send(command, optionsOrCb);
|
|
408
|
-
}
|
|
409
|
-
else if (typeof cb === "function") {
|
|
410
|
-
if (typeof optionsOrCb !== "object")
|
|
411
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
412
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
413
|
-
}
|
|
414
|
-
else {
|
|
415
|
-
return this.send(command, optionsOrCb);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
tagResource(args, optionsOrCb, cb) {
|
|
419
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
420
|
-
if (typeof optionsOrCb === "function") {
|
|
421
|
-
this.send(command, optionsOrCb);
|
|
422
|
-
}
|
|
423
|
-
else if (typeof cb === "function") {
|
|
424
|
-
if (typeof optionsOrCb !== "object")
|
|
425
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
426
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
427
|
-
}
|
|
428
|
-
else {
|
|
429
|
-
return this.send(command, optionsOrCb);
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
untagResource(args, optionsOrCb, cb) {
|
|
433
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
434
|
-
if (typeof optionsOrCb === "function") {
|
|
435
|
-
this.send(command, optionsOrCb);
|
|
436
|
-
}
|
|
437
|
-
else if (typeof cb === "function") {
|
|
438
|
-
if (typeof optionsOrCb !== "object")
|
|
439
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
440
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
441
|
-
}
|
|
442
|
-
else {
|
|
443
|
-
return this.send(command, optionsOrCb);
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
updateComponentType(args, optionsOrCb, cb) {
|
|
447
|
-
const command = new UpdateComponentTypeCommand_1.UpdateComponentTypeCommand(args);
|
|
448
|
-
if (typeof optionsOrCb === "function") {
|
|
449
|
-
this.send(command, optionsOrCb);
|
|
450
|
-
}
|
|
451
|
-
else if (typeof cb === "function") {
|
|
452
|
-
if (typeof optionsOrCb !== "object")
|
|
453
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
454
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
455
|
-
}
|
|
456
|
-
else {
|
|
457
|
-
return this.send(command, optionsOrCb);
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
updateEntity(args, optionsOrCb, cb) {
|
|
461
|
-
const command = new UpdateEntityCommand_1.UpdateEntityCommand(args);
|
|
462
|
-
if (typeof optionsOrCb === "function") {
|
|
463
|
-
this.send(command, optionsOrCb);
|
|
464
|
-
}
|
|
465
|
-
else if (typeof cb === "function") {
|
|
466
|
-
if (typeof optionsOrCb !== "object")
|
|
467
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
468
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
469
|
-
}
|
|
470
|
-
else {
|
|
471
|
-
return this.send(command, optionsOrCb);
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
updatePricingPlan(args, optionsOrCb, cb) {
|
|
475
|
-
const command = new UpdatePricingPlanCommand_1.UpdatePricingPlanCommand(args);
|
|
476
|
-
if (typeof optionsOrCb === "function") {
|
|
477
|
-
this.send(command, optionsOrCb);
|
|
478
|
-
}
|
|
479
|
-
else if (typeof cb === "function") {
|
|
480
|
-
if (typeof optionsOrCb !== "object")
|
|
481
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
482
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
483
|
-
}
|
|
484
|
-
else {
|
|
485
|
-
return this.send(command, optionsOrCb);
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
updateScene(args, optionsOrCb, cb) {
|
|
489
|
-
const command = new UpdateSceneCommand_1.UpdateSceneCommand(args);
|
|
490
|
-
if (typeof optionsOrCb === "function") {
|
|
491
|
-
this.send(command, optionsOrCb);
|
|
492
|
-
}
|
|
493
|
-
else if (typeof cb === "function") {
|
|
494
|
-
if (typeof optionsOrCb !== "object")
|
|
495
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
496
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
497
|
-
}
|
|
498
|
-
else {
|
|
499
|
-
return this.send(command, optionsOrCb);
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
updateWorkspace(args, optionsOrCb, cb) {
|
|
503
|
-
const command = new UpdateWorkspaceCommand_1.UpdateWorkspaceCommand(args);
|
|
504
|
-
if (typeof optionsOrCb === "function") {
|
|
505
|
-
this.send(command, optionsOrCb);
|
|
506
|
-
}
|
|
507
|
-
else if (typeof cb === "function") {
|
|
508
|
-
if (typeof optionsOrCb !== "object")
|
|
509
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
510
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
511
|
-
}
|
|
512
|
-
else {
|
|
513
|
-
return this.send(command, optionsOrCb);
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
77
|
}
|
|
517
78
|
exports.IoTTwinMaker = IoTTwinMaker;
|
|
79
|
+
(0, smithy_client_1.createAggregatedClient)(commands, IoTTwinMaker);
|