@aws-sdk/client-lookoutequipment 3.315.0 → 3.319.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/LookoutEquipment.js +37 -462
- package/dist-cjs/protocols/Aws_json1_0.js +6 -6
- package/dist-es/LookoutEquipment.js +37 -462
- package/dist-es/protocols/Aws_json1_0.js +6 -6
- package/dist-types/LookoutEquipment.d.ts +41 -130
- package/dist-types/ts3.4/LookoutEquipment.d.ts +4 -1
- package/package.json +8 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LookoutEquipment = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateDatasetCommand_1 = require("./commands/CreateDatasetCommand");
|
|
5
6
|
const CreateInferenceSchedulerCommand_1 = require("./commands/CreateInferenceSchedulerCommand");
|
|
6
7
|
const CreateLabelCommand_1 = require("./commands/CreateLabelCommand");
|
|
@@ -35,468 +36,42 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
|
35
36
|
const UpdateInferenceSchedulerCommand_1 = require("./commands/UpdateInferenceSchedulerCommand");
|
|
36
37
|
const UpdateLabelGroupCommand_1 = require("./commands/UpdateLabelGroupCommand");
|
|
37
38
|
const LookoutEquipmentClient_1 = require("./LookoutEquipmentClient");
|
|
39
|
+
const commands = {
|
|
40
|
+
CreateDatasetCommand: CreateDatasetCommand_1.CreateDatasetCommand,
|
|
41
|
+
CreateInferenceSchedulerCommand: CreateInferenceSchedulerCommand_1.CreateInferenceSchedulerCommand,
|
|
42
|
+
CreateLabelCommand: CreateLabelCommand_1.CreateLabelCommand,
|
|
43
|
+
CreateLabelGroupCommand: CreateLabelGroupCommand_1.CreateLabelGroupCommand,
|
|
44
|
+
CreateModelCommand: CreateModelCommand_1.CreateModelCommand,
|
|
45
|
+
DeleteDatasetCommand: DeleteDatasetCommand_1.DeleteDatasetCommand,
|
|
46
|
+
DeleteInferenceSchedulerCommand: DeleteInferenceSchedulerCommand_1.DeleteInferenceSchedulerCommand,
|
|
47
|
+
DeleteLabelCommand: DeleteLabelCommand_1.DeleteLabelCommand,
|
|
48
|
+
DeleteLabelGroupCommand: DeleteLabelGroupCommand_1.DeleteLabelGroupCommand,
|
|
49
|
+
DeleteModelCommand: DeleteModelCommand_1.DeleteModelCommand,
|
|
50
|
+
DescribeDataIngestionJobCommand: DescribeDataIngestionJobCommand_1.DescribeDataIngestionJobCommand,
|
|
51
|
+
DescribeDatasetCommand: DescribeDatasetCommand_1.DescribeDatasetCommand,
|
|
52
|
+
DescribeInferenceSchedulerCommand: DescribeInferenceSchedulerCommand_1.DescribeInferenceSchedulerCommand,
|
|
53
|
+
DescribeLabelCommand: DescribeLabelCommand_1.DescribeLabelCommand,
|
|
54
|
+
DescribeLabelGroupCommand: DescribeLabelGroupCommand_1.DescribeLabelGroupCommand,
|
|
55
|
+
DescribeModelCommand: DescribeModelCommand_1.DescribeModelCommand,
|
|
56
|
+
ListDataIngestionJobsCommand: ListDataIngestionJobsCommand_1.ListDataIngestionJobsCommand,
|
|
57
|
+
ListDatasetsCommand: ListDatasetsCommand_1.ListDatasetsCommand,
|
|
58
|
+
ListInferenceEventsCommand: ListInferenceEventsCommand_1.ListInferenceEventsCommand,
|
|
59
|
+
ListInferenceExecutionsCommand: ListInferenceExecutionsCommand_1.ListInferenceExecutionsCommand,
|
|
60
|
+
ListInferenceSchedulersCommand: ListInferenceSchedulersCommand_1.ListInferenceSchedulersCommand,
|
|
61
|
+
ListLabelGroupsCommand: ListLabelGroupsCommand_1.ListLabelGroupsCommand,
|
|
62
|
+
ListLabelsCommand: ListLabelsCommand_1.ListLabelsCommand,
|
|
63
|
+
ListModelsCommand: ListModelsCommand_1.ListModelsCommand,
|
|
64
|
+
ListSensorStatisticsCommand: ListSensorStatisticsCommand_1.ListSensorStatisticsCommand,
|
|
65
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
66
|
+
StartDataIngestionJobCommand: StartDataIngestionJobCommand_1.StartDataIngestionJobCommand,
|
|
67
|
+
StartInferenceSchedulerCommand: StartInferenceSchedulerCommand_1.StartInferenceSchedulerCommand,
|
|
68
|
+
StopInferenceSchedulerCommand: StopInferenceSchedulerCommand_1.StopInferenceSchedulerCommand,
|
|
69
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
70
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
71
|
+
UpdateInferenceSchedulerCommand: UpdateInferenceSchedulerCommand_1.UpdateInferenceSchedulerCommand,
|
|
72
|
+
UpdateLabelGroupCommand: UpdateLabelGroupCommand_1.UpdateLabelGroupCommand,
|
|
73
|
+
};
|
|
38
74
|
class LookoutEquipment extends LookoutEquipmentClient_1.LookoutEquipmentClient {
|
|
39
|
-
createDataset(args, optionsOrCb, cb) {
|
|
40
|
-
const command = new CreateDatasetCommand_1.CreateDatasetCommand(args);
|
|
41
|
-
if (typeof optionsOrCb === "function") {
|
|
42
|
-
this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
else if (typeof cb === "function") {
|
|
45
|
-
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
47
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
return this.send(command, optionsOrCb);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
createInferenceScheduler(args, optionsOrCb, cb) {
|
|
54
|
-
const command = new CreateInferenceSchedulerCommand_1.CreateInferenceSchedulerCommand(args);
|
|
55
|
-
if (typeof optionsOrCb === "function") {
|
|
56
|
-
this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
else if (typeof cb === "function") {
|
|
59
|
-
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
61
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return this.send(command, optionsOrCb);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
createLabel(args, optionsOrCb, cb) {
|
|
68
|
-
const command = new CreateLabelCommand_1.CreateLabelCommand(args);
|
|
69
|
-
if (typeof optionsOrCb === "function") {
|
|
70
|
-
this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
else if (typeof cb === "function") {
|
|
73
|
-
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
75
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
return this.send(command, optionsOrCb);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
createLabelGroup(args, optionsOrCb, cb) {
|
|
82
|
-
const command = new CreateLabelGroupCommand_1.CreateLabelGroupCommand(args);
|
|
83
|
-
if (typeof optionsOrCb === "function") {
|
|
84
|
-
this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
else if (typeof cb === "function") {
|
|
87
|
-
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
89
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return this.send(command, optionsOrCb);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
createModel(args, optionsOrCb, cb) {
|
|
96
|
-
const command = new CreateModelCommand_1.CreateModelCommand(args);
|
|
97
|
-
if (typeof optionsOrCb === "function") {
|
|
98
|
-
this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
else if (typeof cb === "function") {
|
|
101
|
-
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
return this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
deleteDataset(args, optionsOrCb, cb) {
|
|
110
|
-
const command = new DeleteDatasetCommand_1.DeleteDatasetCommand(args);
|
|
111
|
-
if (typeof optionsOrCb === "function") {
|
|
112
|
-
this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
else if (typeof cb === "function") {
|
|
115
|
-
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
return this.send(command, optionsOrCb);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
deleteInferenceScheduler(args, optionsOrCb, cb) {
|
|
124
|
-
const command = new DeleteInferenceSchedulerCommand_1.DeleteInferenceSchedulerCommand(args);
|
|
125
|
-
if (typeof optionsOrCb === "function") {
|
|
126
|
-
this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
else if (typeof cb === "function") {
|
|
129
|
-
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
131
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
return this.send(command, optionsOrCb);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
deleteLabel(args, optionsOrCb, cb) {
|
|
138
|
-
const command = new DeleteLabelCommand_1.DeleteLabelCommand(args);
|
|
139
|
-
if (typeof optionsOrCb === "function") {
|
|
140
|
-
this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
else if (typeof cb === "function") {
|
|
143
|
-
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
145
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
return this.send(command, optionsOrCb);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
deleteLabelGroup(args, optionsOrCb, cb) {
|
|
152
|
-
const command = new DeleteLabelGroupCommand_1.DeleteLabelGroupCommand(args);
|
|
153
|
-
if (typeof optionsOrCb === "function") {
|
|
154
|
-
this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
else if (typeof cb === "function") {
|
|
157
|
-
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
159
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
return this.send(command, optionsOrCb);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
deleteModel(args, optionsOrCb, cb) {
|
|
166
|
-
const command = new DeleteModelCommand_1.DeleteModelCommand(args);
|
|
167
|
-
if (typeof optionsOrCb === "function") {
|
|
168
|
-
this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
else if (typeof cb === "function") {
|
|
171
|
-
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
173
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
return this.send(command, optionsOrCb);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
describeDataIngestionJob(args, optionsOrCb, cb) {
|
|
180
|
-
const command = new DescribeDataIngestionJobCommand_1.DescribeDataIngestionJobCommand(args);
|
|
181
|
-
if (typeof optionsOrCb === "function") {
|
|
182
|
-
this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
else if (typeof cb === "function") {
|
|
185
|
-
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
187
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
188
|
-
}
|
|
189
|
-
else {
|
|
190
|
-
return this.send(command, optionsOrCb);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
describeDataset(args, optionsOrCb, cb) {
|
|
194
|
-
const command = new DescribeDatasetCommand_1.DescribeDatasetCommand(args);
|
|
195
|
-
if (typeof optionsOrCb === "function") {
|
|
196
|
-
this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
else if (typeof cb === "function") {
|
|
199
|
-
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
201
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
202
|
-
}
|
|
203
|
-
else {
|
|
204
|
-
return this.send(command, optionsOrCb);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
describeInferenceScheduler(args, optionsOrCb, cb) {
|
|
208
|
-
const command = new DescribeInferenceSchedulerCommand_1.DescribeInferenceSchedulerCommand(args);
|
|
209
|
-
if (typeof optionsOrCb === "function") {
|
|
210
|
-
this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
else if (typeof cb === "function") {
|
|
213
|
-
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
215
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
216
|
-
}
|
|
217
|
-
else {
|
|
218
|
-
return this.send(command, optionsOrCb);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
describeLabel(args, optionsOrCb, cb) {
|
|
222
|
-
const command = new DescribeLabelCommand_1.DescribeLabelCommand(args);
|
|
223
|
-
if (typeof optionsOrCb === "function") {
|
|
224
|
-
this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
else if (typeof cb === "function") {
|
|
227
|
-
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
229
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
return this.send(command, optionsOrCb);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
describeLabelGroup(args, optionsOrCb, cb) {
|
|
236
|
-
const command = new DescribeLabelGroupCommand_1.DescribeLabelGroupCommand(args);
|
|
237
|
-
if (typeof optionsOrCb === "function") {
|
|
238
|
-
this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
else if (typeof cb === "function") {
|
|
241
|
-
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
243
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
return this.send(command, optionsOrCb);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
describeModel(args, optionsOrCb, cb) {
|
|
250
|
-
const command = new DescribeModelCommand_1.DescribeModelCommand(args);
|
|
251
|
-
if (typeof optionsOrCb === "function") {
|
|
252
|
-
this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
else if (typeof cb === "function") {
|
|
255
|
-
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
257
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
258
|
-
}
|
|
259
|
-
else {
|
|
260
|
-
return this.send(command, optionsOrCb);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
listDataIngestionJobs(args, optionsOrCb, cb) {
|
|
264
|
-
const command = new ListDataIngestionJobsCommand_1.ListDataIngestionJobsCommand(args);
|
|
265
|
-
if (typeof optionsOrCb === "function") {
|
|
266
|
-
this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
else if (typeof cb === "function") {
|
|
269
|
-
if (typeof optionsOrCb !== "object")
|
|
270
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
271
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
return this.send(command, optionsOrCb);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
listDatasets(args, optionsOrCb, cb) {
|
|
278
|
-
const command = new ListDatasetsCommand_1.ListDatasetsCommand(args);
|
|
279
|
-
if (typeof optionsOrCb === "function") {
|
|
280
|
-
this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
else if (typeof cb === "function") {
|
|
283
|
-
if (typeof optionsOrCb !== "object")
|
|
284
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
return this.send(command, optionsOrCb);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
listInferenceEvents(args, optionsOrCb, cb) {
|
|
292
|
-
const command = new ListInferenceEventsCommand_1.ListInferenceEventsCommand(args);
|
|
293
|
-
if (typeof optionsOrCb === "function") {
|
|
294
|
-
this.send(command, optionsOrCb);
|
|
295
|
-
}
|
|
296
|
-
else if (typeof cb === "function") {
|
|
297
|
-
if (typeof optionsOrCb !== "object")
|
|
298
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
299
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
300
|
-
}
|
|
301
|
-
else {
|
|
302
|
-
return this.send(command, optionsOrCb);
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
listInferenceExecutions(args, optionsOrCb, cb) {
|
|
306
|
-
const command = new ListInferenceExecutionsCommand_1.ListInferenceExecutionsCommand(args);
|
|
307
|
-
if (typeof optionsOrCb === "function") {
|
|
308
|
-
this.send(command, optionsOrCb);
|
|
309
|
-
}
|
|
310
|
-
else if (typeof cb === "function") {
|
|
311
|
-
if (typeof optionsOrCb !== "object")
|
|
312
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
313
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
314
|
-
}
|
|
315
|
-
else {
|
|
316
|
-
return this.send(command, optionsOrCb);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
listInferenceSchedulers(args, optionsOrCb, cb) {
|
|
320
|
-
const command = new ListInferenceSchedulersCommand_1.ListInferenceSchedulersCommand(args);
|
|
321
|
-
if (typeof optionsOrCb === "function") {
|
|
322
|
-
this.send(command, optionsOrCb);
|
|
323
|
-
}
|
|
324
|
-
else if (typeof cb === "function") {
|
|
325
|
-
if (typeof optionsOrCb !== "object")
|
|
326
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
327
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
328
|
-
}
|
|
329
|
-
else {
|
|
330
|
-
return this.send(command, optionsOrCb);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
listLabelGroups(args, optionsOrCb, cb) {
|
|
334
|
-
const command = new ListLabelGroupsCommand_1.ListLabelGroupsCommand(args);
|
|
335
|
-
if (typeof optionsOrCb === "function") {
|
|
336
|
-
this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
else if (typeof cb === "function") {
|
|
339
|
-
if (typeof optionsOrCb !== "object")
|
|
340
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
341
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
342
|
-
}
|
|
343
|
-
else {
|
|
344
|
-
return this.send(command, optionsOrCb);
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
listLabels(args, optionsOrCb, cb) {
|
|
348
|
-
const command = new ListLabelsCommand_1.ListLabelsCommand(args);
|
|
349
|
-
if (typeof optionsOrCb === "function") {
|
|
350
|
-
this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
else if (typeof cb === "function") {
|
|
353
|
-
if (typeof optionsOrCb !== "object")
|
|
354
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
355
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
356
|
-
}
|
|
357
|
-
else {
|
|
358
|
-
return this.send(command, optionsOrCb);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
listModels(args, optionsOrCb, cb) {
|
|
362
|
-
const command = new ListModelsCommand_1.ListModelsCommand(args);
|
|
363
|
-
if (typeof optionsOrCb === "function") {
|
|
364
|
-
this.send(command, optionsOrCb);
|
|
365
|
-
}
|
|
366
|
-
else if (typeof cb === "function") {
|
|
367
|
-
if (typeof optionsOrCb !== "object")
|
|
368
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
369
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
370
|
-
}
|
|
371
|
-
else {
|
|
372
|
-
return this.send(command, optionsOrCb);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
listSensorStatistics(args, optionsOrCb, cb) {
|
|
376
|
-
const command = new ListSensorStatisticsCommand_1.ListSensorStatisticsCommand(args);
|
|
377
|
-
if (typeof optionsOrCb === "function") {
|
|
378
|
-
this.send(command, optionsOrCb);
|
|
379
|
-
}
|
|
380
|
-
else if (typeof cb === "function") {
|
|
381
|
-
if (typeof optionsOrCb !== "object")
|
|
382
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
383
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
384
|
-
}
|
|
385
|
-
else {
|
|
386
|
-
return this.send(command, optionsOrCb);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
390
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
391
|
-
if (typeof optionsOrCb === "function") {
|
|
392
|
-
this.send(command, optionsOrCb);
|
|
393
|
-
}
|
|
394
|
-
else if (typeof cb === "function") {
|
|
395
|
-
if (typeof optionsOrCb !== "object")
|
|
396
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
397
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
398
|
-
}
|
|
399
|
-
else {
|
|
400
|
-
return this.send(command, optionsOrCb);
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
startDataIngestionJob(args, optionsOrCb, cb) {
|
|
404
|
-
const command = new StartDataIngestionJobCommand_1.StartDataIngestionJobCommand(args);
|
|
405
|
-
if (typeof optionsOrCb === "function") {
|
|
406
|
-
this.send(command, optionsOrCb);
|
|
407
|
-
}
|
|
408
|
-
else if (typeof cb === "function") {
|
|
409
|
-
if (typeof optionsOrCb !== "object")
|
|
410
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
411
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
412
|
-
}
|
|
413
|
-
else {
|
|
414
|
-
return this.send(command, optionsOrCb);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
startInferenceScheduler(args, optionsOrCb, cb) {
|
|
418
|
-
const command = new StartInferenceSchedulerCommand_1.StartInferenceSchedulerCommand(args);
|
|
419
|
-
if (typeof optionsOrCb === "function") {
|
|
420
|
-
this.send(command, optionsOrCb);
|
|
421
|
-
}
|
|
422
|
-
else if (typeof cb === "function") {
|
|
423
|
-
if (typeof optionsOrCb !== "object")
|
|
424
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
425
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
426
|
-
}
|
|
427
|
-
else {
|
|
428
|
-
return this.send(command, optionsOrCb);
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
stopInferenceScheduler(args, optionsOrCb, cb) {
|
|
432
|
-
const command = new StopInferenceSchedulerCommand_1.StopInferenceSchedulerCommand(args);
|
|
433
|
-
if (typeof optionsOrCb === "function") {
|
|
434
|
-
this.send(command, optionsOrCb);
|
|
435
|
-
}
|
|
436
|
-
else if (typeof cb === "function") {
|
|
437
|
-
if (typeof optionsOrCb !== "object")
|
|
438
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
439
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
440
|
-
}
|
|
441
|
-
else {
|
|
442
|
-
return this.send(command, optionsOrCb);
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
tagResource(args, optionsOrCb, cb) {
|
|
446
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
447
|
-
if (typeof optionsOrCb === "function") {
|
|
448
|
-
this.send(command, optionsOrCb);
|
|
449
|
-
}
|
|
450
|
-
else if (typeof cb === "function") {
|
|
451
|
-
if (typeof optionsOrCb !== "object")
|
|
452
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
453
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
454
|
-
}
|
|
455
|
-
else {
|
|
456
|
-
return this.send(command, optionsOrCb);
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
untagResource(args, optionsOrCb, cb) {
|
|
460
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
461
|
-
if (typeof optionsOrCb === "function") {
|
|
462
|
-
this.send(command, optionsOrCb);
|
|
463
|
-
}
|
|
464
|
-
else if (typeof cb === "function") {
|
|
465
|
-
if (typeof optionsOrCb !== "object")
|
|
466
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
467
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
468
|
-
}
|
|
469
|
-
else {
|
|
470
|
-
return this.send(command, optionsOrCb);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
updateInferenceScheduler(args, optionsOrCb, cb) {
|
|
474
|
-
const command = new UpdateInferenceSchedulerCommand_1.UpdateInferenceSchedulerCommand(args);
|
|
475
|
-
if (typeof optionsOrCb === "function") {
|
|
476
|
-
this.send(command, optionsOrCb);
|
|
477
|
-
}
|
|
478
|
-
else if (typeof cb === "function") {
|
|
479
|
-
if (typeof optionsOrCb !== "object")
|
|
480
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
481
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
482
|
-
}
|
|
483
|
-
else {
|
|
484
|
-
return this.send(command, optionsOrCb);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
updateLabelGroup(args, optionsOrCb, cb) {
|
|
488
|
-
const command = new UpdateLabelGroupCommand_1.UpdateLabelGroupCommand(args);
|
|
489
|
-
if (typeof optionsOrCb === "function") {
|
|
490
|
-
this.send(command, optionsOrCb);
|
|
491
|
-
}
|
|
492
|
-
else if (typeof cb === "function") {
|
|
493
|
-
if (typeof optionsOrCb !== "object")
|
|
494
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
495
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
496
|
-
}
|
|
497
|
-
else {
|
|
498
|
-
return this.send(command, optionsOrCb);
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
75
|
}
|
|
502
76
|
exports.LookoutEquipment = LookoutEquipment;
|
|
77
|
+
(0, smithy_client_1.createAggregatedClient)(commands, LookoutEquipment);
|
|
@@ -1809,7 +1809,7 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
1809
1809
|
};
|
|
1810
1810
|
const se_CreateDatasetRequest = (input, context) => {
|
|
1811
1811
|
return (0, smithy_client_1.take)(input, {
|
|
1812
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1812
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1813
1813
|
DatasetName: [],
|
|
1814
1814
|
DatasetSchema: (_) => se_DatasetSchema(_, context),
|
|
1815
1815
|
ServerSideKmsKeyId: [],
|
|
@@ -1818,7 +1818,7 @@ const se_CreateDatasetRequest = (input, context) => {
|
|
|
1818
1818
|
};
|
|
1819
1819
|
const se_CreateInferenceSchedulerRequest = (input, context) => {
|
|
1820
1820
|
return (0, smithy_client_1.take)(input, {
|
|
1821
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1821
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1822
1822
|
DataDelayOffsetInMinutes: [],
|
|
1823
1823
|
DataInputConfiguration: smithy_client_1._json,
|
|
1824
1824
|
DataOutputConfiguration: smithy_client_1._json,
|
|
@@ -1832,7 +1832,7 @@ const se_CreateInferenceSchedulerRequest = (input, context) => {
|
|
|
1832
1832
|
};
|
|
1833
1833
|
const se_CreateLabelGroupRequest = (input, context) => {
|
|
1834
1834
|
return (0, smithy_client_1.take)(input, {
|
|
1835
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1835
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1836
1836
|
FaultCodes: smithy_client_1._json,
|
|
1837
1837
|
LabelGroupName: [],
|
|
1838
1838
|
Tags: smithy_client_1._json,
|
|
@@ -1840,7 +1840,7 @@ const se_CreateLabelGroupRequest = (input, context) => {
|
|
|
1840
1840
|
};
|
|
1841
1841
|
const se_CreateLabelRequest = (input, context) => {
|
|
1842
1842
|
return (0, smithy_client_1.take)(input, {
|
|
1843
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1843
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1844
1844
|
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1845
1845
|
Equipment: [],
|
|
1846
1846
|
FaultCode: [],
|
|
@@ -1852,7 +1852,7 @@ const se_CreateLabelRequest = (input, context) => {
|
|
|
1852
1852
|
};
|
|
1853
1853
|
const se_CreateModelRequest = (input, context) => {
|
|
1854
1854
|
return (0, smithy_client_1.take)(input, {
|
|
1855
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1855
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1856
1856
|
DataPreProcessingConfiguration: smithy_client_1._json,
|
|
1857
1857
|
DatasetName: [],
|
|
1858
1858
|
DatasetSchema: (_) => se_DatasetSchema(_, context),
|
|
@@ -1905,7 +1905,7 @@ const se_ListLabelsRequest = (input, context) => {
|
|
|
1905
1905
|
};
|
|
1906
1906
|
const se_StartDataIngestionJobRequest = (input, context) => {
|
|
1907
1907
|
return (0, smithy_client_1.take)(input, {
|
|
1908
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1908
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1909
1909
|
DatasetName: [],
|
|
1910
1910
|
IngestionInputConfiguration: smithy_client_1._json,
|
|
1911
1911
|
RoleArn: [],
|