@aws-sdk/client-lookoutequipment 3.160.0 → 3.163.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +2 -3
  3. package/dist-cjs/LookoutEquipment.js +135 -0
  4. package/dist-cjs/commands/CreateLabelCommand.js +36 -0
  5. package/dist-cjs/commands/CreateLabelGroupCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteLabelCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteLabelGroupCommand.js +36 -0
  8. package/dist-cjs/commands/DescribeLabelCommand.js +36 -0
  9. package/dist-cjs/commands/DescribeLabelGroupCommand.js +36 -0
  10. package/dist-cjs/commands/ListLabelGroupsCommand.js +36 -0
  11. package/dist-cjs/commands/ListLabelsCommand.js +36 -0
  12. package/dist-cjs/commands/UpdateLabelGroupCommand.js +36 -0
  13. package/dist-cjs/commands/index.js +9 -0
  14. package/dist-cjs/endpoints.js +1 -0
  15. package/dist-cjs/models/models_0.js +82 -2
  16. package/dist-cjs/pagination/ListLabelGroupsPaginator.js +36 -0
  17. package/dist-cjs/pagination/ListLabelsPaginator.js +36 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_json1_0.js +704 -21
  20. package/dist-es/LookoutEquipment.js +135 -0
  21. package/dist-es/commands/CreateLabelCommand.js +39 -0
  22. package/dist-es/commands/CreateLabelGroupCommand.js +39 -0
  23. package/dist-es/commands/DeleteLabelCommand.js +39 -0
  24. package/dist-es/commands/DeleteLabelGroupCommand.js +39 -0
  25. package/dist-es/commands/DescribeLabelCommand.js +39 -0
  26. package/dist-es/commands/DescribeLabelGroupCommand.js +39 -0
  27. package/dist-es/commands/ListLabelGroupsCommand.js +39 -0
  28. package/dist-es/commands/ListLabelsCommand.js +39 -0
  29. package/dist-es/commands/UpdateLabelGroupCommand.js +39 -0
  30. package/dist-es/commands/index.js +9 -0
  31. package/dist-es/endpoints.js +1 -0
  32. package/dist-es/models/models_0.js +28 -0
  33. package/dist-es/pagination/ListLabelGroupsPaginator.js +75 -0
  34. package/dist-es/pagination/ListLabelsPaginator.js +75 -0
  35. package/dist-es/pagination/index.js +2 -0
  36. package/dist-es/protocols/Aws_json1_0.js +1005 -154
  37. package/dist-types/LookoutEquipment.d.ts +85 -5
  38. package/dist-types/LookoutEquipmentClient.d.ts +13 -5
  39. package/dist-types/commands/CreateLabelCommand.d.ts +37 -0
  40. package/dist-types/commands/CreateLabelGroupCommand.d.ts +37 -0
  41. package/dist-types/commands/DeleteLabelCommand.d.ts +37 -0
  42. package/dist-types/commands/DeleteLabelGroupCommand.d.ts +37 -0
  43. package/dist-types/commands/DescribeLabelCommand.d.ts +37 -0
  44. package/dist-types/commands/DescribeLabelGroupCommand.d.ts +37 -0
  45. package/dist-types/commands/ListInferenceEventsCommand.d.ts +2 -2
  46. package/dist-types/commands/ListLabelGroupsCommand.d.ts +37 -0
  47. package/dist-types/commands/ListLabelsCommand.d.ts +37 -0
  48. package/dist-types/commands/UpdateLabelGroupCommand.d.ts +37 -0
  49. package/dist-types/commands/index.d.ts +9 -0
  50. package/dist-types/models/models_0.d.ts +573 -49
  51. package/dist-types/pagination/ListLabelGroupsPaginator.d.ts +4 -0
  52. package/dist-types/pagination/ListLabelsPaginator.d.ts +4 -0
  53. package/dist-types/pagination/index.d.ts +2 -0
  54. package/dist-types/protocols/Aws_json1_0.d.ts +27 -0
  55. package/dist-types/ts3.4/LookoutEquipment.d.ts +45 -0
  56. package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +11 -2
  57. package/dist-types/ts3.4/commands/CreateLabelCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/CreateLabelGroupCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/DeleteLabelCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/DeleteLabelGroupCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/DescribeLabelCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/DescribeLabelGroupCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListLabelGroupsCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListLabelsCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/UpdateLabelGroupCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +56 -1
  68. package/dist-types/ts3.4/pagination/ListLabelGroupsPaginator.d.ts +4 -0
  69. package/dist-types/ts3.4/pagination/ListLabelsPaginator.d.ts +4 -0
  70. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  71. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +27 -0
  72. package/package.json +26 -26
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-lookoutequipment
9
+
10
+
11
+
12
+
13
+
14
+ # [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-lookoutequipment
17
+
18
+
19
+
20
+
21
+
22
+ # [3.161.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.160.0...v3.161.0) (2022-08-30)
23
+
24
+
25
+ ### Features
26
+
27
+ * **client-lookoutequipment:** This release adds new apis for providing labels. ([d89e69a](https://github.com/aws/aws-sdk-js-v3/commit/d89e69ae2f73e193fa5b00b83d4a623a55fea4af))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.160.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.159.0...v3.160.0) (2022-08-29)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-lookoutequipment
package/README.md CHANGED
@@ -9,9 +9,8 @@
9
9
 
10
10
  AWS SDK for JavaScript LookoutEquipment Client for Node.js, Browser and React Native.
11
11
 
12
- <p>Amazon Lookout for Equipment is a machine learning service that uses advanced analytics
13
- to identify anomalies in machines from sensor data for use in predictive maintenance.
14
- </p>
12
+ <p>Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify
13
+ anomalies in machines from sensor data for use in predictive maintenance. </p>
15
14
 
16
15
  ## Installing
17
16
 
@@ -3,19 +3,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LookoutEquipment = void 0;
4
4
  const CreateDatasetCommand_1 = require("./commands/CreateDatasetCommand");
5
5
  const CreateInferenceSchedulerCommand_1 = require("./commands/CreateInferenceSchedulerCommand");
6
+ const CreateLabelCommand_1 = require("./commands/CreateLabelCommand");
7
+ const CreateLabelGroupCommand_1 = require("./commands/CreateLabelGroupCommand");
6
8
  const CreateModelCommand_1 = require("./commands/CreateModelCommand");
7
9
  const DeleteDatasetCommand_1 = require("./commands/DeleteDatasetCommand");
8
10
  const DeleteInferenceSchedulerCommand_1 = require("./commands/DeleteInferenceSchedulerCommand");
11
+ const DeleteLabelCommand_1 = require("./commands/DeleteLabelCommand");
12
+ const DeleteLabelGroupCommand_1 = require("./commands/DeleteLabelGroupCommand");
9
13
  const DeleteModelCommand_1 = require("./commands/DeleteModelCommand");
10
14
  const DescribeDataIngestionJobCommand_1 = require("./commands/DescribeDataIngestionJobCommand");
11
15
  const DescribeDatasetCommand_1 = require("./commands/DescribeDatasetCommand");
12
16
  const DescribeInferenceSchedulerCommand_1 = require("./commands/DescribeInferenceSchedulerCommand");
17
+ const DescribeLabelCommand_1 = require("./commands/DescribeLabelCommand");
18
+ const DescribeLabelGroupCommand_1 = require("./commands/DescribeLabelGroupCommand");
13
19
  const DescribeModelCommand_1 = require("./commands/DescribeModelCommand");
14
20
  const ListDataIngestionJobsCommand_1 = require("./commands/ListDataIngestionJobsCommand");
15
21
  const ListDatasetsCommand_1 = require("./commands/ListDatasetsCommand");
16
22
  const ListInferenceEventsCommand_1 = require("./commands/ListInferenceEventsCommand");
17
23
  const ListInferenceExecutionsCommand_1 = require("./commands/ListInferenceExecutionsCommand");
18
24
  const ListInferenceSchedulersCommand_1 = require("./commands/ListInferenceSchedulersCommand");
25
+ const ListLabelGroupsCommand_1 = require("./commands/ListLabelGroupsCommand");
26
+ const ListLabelsCommand_1 = require("./commands/ListLabelsCommand");
19
27
  const ListModelsCommand_1 = require("./commands/ListModelsCommand");
20
28
  const ListSensorStatisticsCommand_1 = require("./commands/ListSensorStatisticsCommand");
21
29
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
@@ -25,6 +33,7 @@ const StopInferenceSchedulerCommand_1 = require("./commands/StopInferenceSchedul
25
33
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
26
34
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
27
35
  const UpdateInferenceSchedulerCommand_1 = require("./commands/UpdateInferenceSchedulerCommand");
36
+ const UpdateLabelGroupCommand_1 = require("./commands/UpdateLabelGroupCommand");
28
37
  const LookoutEquipmentClient_1 = require("./LookoutEquipmentClient");
29
38
  class LookoutEquipment extends LookoutEquipmentClient_1.LookoutEquipmentClient {
30
39
  createDataset(args, optionsOrCb, cb) {
@@ -55,6 +64,34 @@ class LookoutEquipment extends LookoutEquipmentClient_1.LookoutEquipmentClient {
55
64
  return this.send(command, optionsOrCb);
56
65
  }
57
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
+ }
58
95
  createModel(args, optionsOrCb, cb) {
59
96
  const command = new CreateModelCommand_1.CreateModelCommand(args);
60
97
  if (typeof optionsOrCb === "function") {
@@ -97,6 +134,34 @@ class LookoutEquipment extends LookoutEquipmentClient_1.LookoutEquipmentClient {
97
134
  return this.send(command, optionsOrCb);
98
135
  }
99
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
+ }
100
165
  deleteModel(args, optionsOrCb, cb) {
101
166
  const command = new DeleteModelCommand_1.DeleteModelCommand(args);
102
167
  if (typeof optionsOrCb === "function") {
@@ -153,6 +218,34 @@ class LookoutEquipment extends LookoutEquipmentClient_1.LookoutEquipmentClient {
153
218
  return this.send(command, optionsOrCb);
154
219
  }
155
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
+ }
156
249
  describeModel(args, optionsOrCb, cb) {
157
250
  const command = new DescribeModelCommand_1.DescribeModelCommand(args);
158
251
  if (typeof optionsOrCb === "function") {
@@ -237,6 +330,34 @@ class LookoutEquipment extends LookoutEquipmentClient_1.LookoutEquipmentClient {
237
330
  return this.send(command, optionsOrCb);
238
331
  }
239
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
+ }
240
361
  listModels(args, optionsOrCb, cb) {
241
362
  const command = new ListModelsCommand_1.ListModelsCommand(args);
242
363
  if (typeof optionsOrCb === "function") {
@@ -363,5 +484,19 @@ class LookoutEquipment extends LookoutEquipmentClient_1.LookoutEquipmentClient {
363
484
  return this.send(command, optionsOrCb);
364
485
  }
365
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
+ }
366
501
  }
367
502
  exports.LookoutEquipment = LookoutEquipment;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateLabelCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class CreateLabelCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LookoutEquipmentClient";
18
+ const commandName = "CreateLabelCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateLabelRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateLabelResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0CreateLabelCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0CreateLabelCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateLabelCommand = CreateLabelCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateLabelGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class CreateLabelGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LookoutEquipmentClient";
18
+ const commandName = "CreateLabelGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateLabelGroupRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateLabelGroupResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0CreateLabelGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0CreateLabelGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateLabelGroupCommand = CreateLabelGroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteLabelCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class DeleteLabelCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LookoutEquipmentClient";
18
+ const commandName = "DeleteLabelCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteLabelRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0DeleteLabelCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteLabelCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteLabelCommand = DeleteLabelCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteLabelGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class DeleteLabelGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LookoutEquipmentClient";
18
+ const commandName = "DeleteLabelGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteLabelGroupRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0DeleteLabelGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteLabelGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteLabelGroupCommand = DeleteLabelGroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeLabelCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class DescribeLabelCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LookoutEquipmentClient";
18
+ const commandName = "DescribeLabelCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeLabelRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeLabelResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0DescribeLabelCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DescribeLabelCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DescribeLabelCommand = DescribeLabelCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeLabelGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class DescribeLabelGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LookoutEquipmentClient";
18
+ const commandName = "DescribeLabelGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeLabelGroupRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeLabelGroupResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0DescribeLabelGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0DescribeLabelGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DescribeLabelGroupCommand = DescribeLabelGroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListLabelGroupsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class ListLabelGroupsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LookoutEquipmentClient";
18
+ const commandName = "ListLabelGroupsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListLabelGroupsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListLabelGroupsResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListLabelGroupsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListLabelGroupsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListLabelGroupsCommand = ListLabelGroupsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListLabelsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class ListLabelsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LookoutEquipmentClient";
18
+ const commandName = "ListLabelsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListLabelsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListLabelsResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0ListLabelsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0ListLabelsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListLabelsCommand = ListLabelsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateLabelGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class UpdateLabelGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LookoutEquipmentClient";
18
+ const commandName = "UpdateLabelGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateLabelGroupRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_0_1.serializeAws_json1_0UpdateLabelGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_0_1.deserializeAws_json1_0UpdateLabelGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateLabelGroupCommand = UpdateLabelGroupCommand;
@@ -3,19 +3,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./CreateDatasetCommand"), exports);
5
5
  tslib_1.__exportStar(require("./CreateInferenceSchedulerCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateLabelCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateLabelGroupCommand"), exports);
6
8
  tslib_1.__exportStar(require("./CreateModelCommand"), exports);
7
9
  tslib_1.__exportStar(require("./DeleteDatasetCommand"), exports);
8
10
  tslib_1.__exportStar(require("./DeleteInferenceSchedulerCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteLabelCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteLabelGroupCommand"), exports);
9
13
  tslib_1.__exportStar(require("./DeleteModelCommand"), exports);
10
14
  tslib_1.__exportStar(require("./DescribeDataIngestionJobCommand"), exports);
11
15
  tslib_1.__exportStar(require("./DescribeDatasetCommand"), exports);
12
16
  tslib_1.__exportStar(require("./DescribeInferenceSchedulerCommand"), exports);
17
+ tslib_1.__exportStar(require("./DescribeLabelCommand"), exports);
18
+ tslib_1.__exportStar(require("./DescribeLabelGroupCommand"), exports);
13
19
  tslib_1.__exportStar(require("./DescribeModelCommand"), exports);
14
20
  tslib_1.__exportStar(require("./ListDataIngestionJobsCommand"), exports);
15
21
  tslib_1.__exportStar(require("./ListDatasetsCommand"), exports);
16
22
  tslib_1.__exportStar(require("./ListInferenceEventsCommand"), exports);
17
23
  tslib_1.__exportStar(require("./ListInferenceExecutionsCommand"), exports);
18
24
  tslib_1.__exportStar(require("./ListInferenceSchedulersCommand"), exports);
25
+ tslib_1.__exportStar(require("./ListLabelGroupsCommand"), exports);
26
+ tslib_1.__exportStar(require("./ListLabelsCommand"), exports);
19
27
  tslib_1.__exportStar(require("./ListModelsCommand"), exports);
20
28
  tslib_1.__exportStar(require("./ListSensorStatisticsCommand"), exports);
21
29
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
@@ -25,3 +33,4 @@ tslib_1.__exportStar(require("./StopInferenceSchedulerCommand"), exports);
25
33
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
26
34
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
27
35
  tslib_1.__exportStar(require("./UpdateInferenceSchedulerCommand"), exports);
36
+ tslib_1.__exportStar(require("./UpdateLabelGroupCommand"), exports);
@@ -22,6 +22,7 @@ const partitionHash = {
22
22
  "eu-west-1",
23
23
  "eu-west-2",
24
24
  "eu-west-3",
25
+ "me-central-1",
25
26
  "me-south-1",
26
27
  "sa-east-1",
27
28
  "us-east-1",