@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.
- package/CHANGELOG.md +27 -0
- package/README.md +2 -3
- package/dist-cjs/LookoutEquipment.js +135 -0
- package/dist-cjs/commands/CreateLabelCommand.js +36 -0
- package/dist-cjs/commands/CreateLabelGroupCommand.js +36 -0
- package/dist-cjs/commands/DeleteLabelCommand.js +36 -0
- package/dist-cjs/commands/DeleteLabelGroupCommand.js +36 -0
- package/dist-cjs/commands/DescribeLabelCommand.js +36 -0
- package/dist-cjs/commands/DescribeLabelGroupCommand.js +36 -0
- package/dist-cjs/commands/ListLabelGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListLabelsCommand.js +36 -0
- package/dist-cjs/commands/UpdateLabelGroupCommand.js +36 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +82 -2
- package/dist-cjs/pagination/ListLabelGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/ListLabelsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_0.js +704 -21
- package/dist-es/LookoutEquipment.js +135 -0
- package/dist-es/commands/CreateLabelCommand.js +39 -0
- package/dist-es/commands/CreateLabelGroupCommand.js +39 -0
- package/dist-es/commands/DeleteLabelCommand.js +39 -0
- package/dist-es/commands/DeleteLabelGroupCommand.js +39 -0
- package/dist-es/commands/DescribeLabelCommand.js +39 -0
- package/dist-es/commands/DescribeLabelGroupCommand.js +39 -0
- package/dist-es/commands/ListLabelGroupsCommand.js +39 -0
- package/dist-es/commands/ListLabelsCommand.js +39 -0
- package/dist-es/commands/UpdateLabelGroupCommand.js +39 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/pagination/ListLabelGroupsPaginator.js +75 -0
- package/dist-es/pagination/ListLabelsPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +1005 -154
- package/dist-types/LookoutEquipment.d.ts +85 -5
- package/dist-types/LookoutEquipmentClient.d.ts +13 -5
- package/dist-types/commands/CreateLabelCommand.d.ts +37 -0
- package/dist-types/commands/CreateLabelGroupCommand.d.ts +37 -0
- package/dist-types/commands/DeleteLabelCommand.d.ts +37 -0
- package/dist-types/commands/DeleteLabelGroupCommand.d.ts +37 -0
- package/dist-types/commands/DescribeLabelCommand.d.ts +37 -0
- package/dist-types/commands/DescribeLabelGroupCommand.d.ts +37 -0
- package/dist-types/commands/ListInferenceEventsCommand.d.ts +2 -2
- package/dist-types/commands/ListLabelGroupsCommand.d.ts +37 -0
- package/dist-types/commands/ListLabelsCommand.d.ts +37 -0
- package/dist-types/commands/UpdateLabelGroupCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +573 -49
- package/dist-types/pagination/ListLabelGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLabelsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +27 -0
- package/dist-types/ts3.4/LookoutEquipment.d.ts +45 -0
- package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +11 -2
- package/dist-types/ts3.4/commands/CreateLabelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLabelGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLabelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLabelGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLabelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLabelGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListLabelGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListLabelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLabelGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -1
- package/dist-types/ts3.4/pagination/ListLabelGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListLabelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +27 -0
- package/package.json +26 -26
|
@@ -112,6 +112,12 @@ var ResourceNotFoundException = (function (_super) {
|
|
|
112
112
|
return ResourceNotFoundException;
|
|
113
113
|
}(__BaseException));
|
|
114
114
|
export { ResourceNotFoundException };
|
|
115
|
+
export var LabelRating;
|
|
116
|
+
(function (LabelRating) {
|
|
117
|
+
LabelRating["ANOMALY"] = "ANOMALY";
|
|
118
|
+
LabelRating["NEUTRAL"] = "NEUTRAL";
|
|
119
|
+
LabelRating["NO_ANOMALY"] = "NO_ANOMALY";
|
|
120
|
+
})(LabelRating || (LabelRating = {}));
|
|
115
121
|
export var TargetSamplingRate;
|
|
116
122
|
(function (TargetSamplingRate) {
|
|
117
123
|
TargetSamplingRate["PT10M"] = "PT10M";
|
|
@@ -138,6 +144,11 @@ export var IngestionJobStatus;
|
|
|
138
144
|
IngestionJobStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
139
145
|
IngestionJobStatus["SUCCESS"] = "SUCCESS";
|
|
140
146
|
})(IngestionJobStatus || (IngestionJobStatus = {}));
|
|
147
|
+
export var LatestInferenceResult;
|
|
148
|
+
(function (LatestInferenceResult) {
|
|
149
|
+
LatestInferenceResult["ANOMALOUS"] = "ANOMALOUS";
|
|
150
|
+
LatestInferenceResult["NORMAL"] = "NORMAL";
|
|
151
|
+
})(LatestInferenceResult || (LatestInferenceResult = {}));
|
|
141
152
|
export var InferenceExecutionStatus;
|
|
142
153
|
(function (InferenceExecutionStatus) {
|
|
143
154
|
InferenceExecutionStatus["FAILED"] = "FAILED";
|
|
@@ -166,6 +177,10 @@ export var InferenceS3OutputConfigurationFilterSensitiveLog = function (obj) { r
|
|
|
166
177
|
export var InferenceOutputConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
178
|
export var CreateInferenceSchedulerRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
179
|
export var CreateInferenceSchedulerResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
export var CreateLabelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var CreateLabelResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
+
export var CreateLabelGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var CreateLabelGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
184
|
export var DataPreProcessingConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
185
|
export var LabelsS3InputConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
186
|
export var LabelsInputConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -173,6 +188,8 @@ export var CreateModelRequestFilterSensitiveLog = function (obj) { return (__ass
|
|
|
173
188
|
export var CreateModelResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
189
|
export var DeleteDatasetRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
190
|
export var DeleteInferenceSchedulerRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
export var DeleteLabelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
export var DeleteLabelGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
176
193
|
export var DeleteModelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
194
|
export var DescribeDataIngestionJobRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
195
|
export var DuplicateTimestampsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -192,6 +209,10 @@ export var DescribeDatasetRequestFilterSensitiveLog = function (obj) { return (_
|
|
|
192
209
|
export var DescribeDatasetResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
210
|
export var DescribeInferenceSchedulerRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
211
|
export var DescribeInferenceSchedulerResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
export var DescribeLabelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
|
+
export var DescribeLabelResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
|
+
export var DescribeLabelGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
+
export var DescribeLabelGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
216
|
export var DescribeModelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
217
|
export var DescribeModelResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
218
|
export var ListDataIngestionJobsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -209,6 +230,12 @@ export var ListInferenceExecutionsResponseFilterSensitiveLog = function (obj) {
|
|
|
209
230
|
export var ListInferenceSchedulersRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
231
|
export var InferenceSchedulerSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
232
|
export var ListInferenceSchedulersResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
+
export var ListLabelGroupsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
+
export var LabelGroupSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
export var ListLabelGroupsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
export var ListLabelsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
export var LabelSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
238
|
+
export var ListLabelsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
239
|
export var ListModelsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
240
|
export var ModelSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
241
|
export var ListModelsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -233,3 +260,4 @@ export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__as
|
|
|
233
260
|
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
261
|
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
262
|
export var UpdateInferenceSchedulerRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
263
|
+
export var UpdateLabelGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListLabelGroupsCommand, } from "../commands/ListLabelGroupsCommand";
|
|
3
|
+
import { LookoutEquipment } from "../LookoutEquipment";
|
|
4
|
+
import { LookoutEquipmentClient } from "../LookoutEquipmentClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListLabelGroupsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listLabelGroups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListLabelGroups(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListLabelGroups_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof LookoutEquipment)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof LookoutEquipmentClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListLabelsCommand } from "../commands/ListLabelsCommand";
|
|
3
|
+
import { LookoutEquipment } from "../LookoutEquipment";
|
|
4
|
+
import { LookoutEquipmentClient } from "../LookoutEquipmentClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListLabelsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listLabels.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListLabels(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListLabels_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof LookoutEquipment)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof LookoutEquipmentClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -4,5 +4,7 @@ export * from "./ListDatasetsPaginator";
|
|
|
4
4
|
export * from "./ListInferenceEventsPaginator";
|
|
5
5
|
export * from "./ListInferenceExecutionsPaginator";
|
|
6
6
|
export * from "./ListInferenceSchedulersPaginator";
|
|
7
|
+
export * from "./ListLabelGroupsPaginator";
|
|
8
|
+
export * from "./ListLabelsPaginator";
|
|
7
9
|
export * from "./ListModelsPaginator";
|
|
8
10
|
export * from "./ListSensorStatisticsPaginator";
|