@aws-sdk/client-lookoutequipment 3.409.0 → 3.413.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/README.md +64 -0
- package/dist-cjs/LookoutEquipment.js +16 -0
- package/dist-cjs/commands/CreateRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/DeleteRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/DescribeRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/ListRetrainingSchedulersCommand.js +46 -0
- package/dist-cjs/commands/StartRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/StopRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/UpdateModelCommand.js +46 -0
- package/dist-cjs/commands/UpdateRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +28 -6
- package/dist-cjs/pagination/ListRetrainingSchedulersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +502 -2
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/LookoutEquipment.js +16 -0
- package/dist-es/commands/CreateRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/DeleteRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/DescribeRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/ListRetrainingSchedulersCommand.js +42 -0
- package/dist-es/commands/StartRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/StopRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/UpdateModelCommand.js +42 -0
- package/dist-es/commands/UpdateRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +27 -5
- package/dist-es/pagination/ListRetrainingSchedulersPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +484 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/LookoutEquipment.d.ts +56 -0
- package/dist-types/LookoutEquipmentClient.d.ts +10 -2
- package/dist-types/commands/CreateDatasetCommand.d.ts +2 -2
- package/dist-types/commands/CreateInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/CreateLabelCommand.d.ts +3 -5
- package/dist-types/commands/CreateLabelGroupCommand.d.ts +3 -5
- package/dist-types/commands/CreateModelCommand.d.ts +7 -7
- package/dist-types/commands/CreateRetrainingSchedulerCommand.d.ts +147 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteInferenceSchedulerCommand.d.ts +4 -4
- package/dist-types/commands/DeleteLabelCommand.d.ts +3 -5
- package/dist-types/commands/DeleteLabelGroupCommand.d.ts +3 -5
- package/dist-types/commands/DeleteModelCommand.d.ts +4 -5
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRetrainingSchedulerCommand.d.ts +106 -0
- package/dist-types/commands/DescribeDataIngestionJobCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDatasetCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLabelCommand.d.ts +3 -5
- package/dist-types/commands/DescribeLabelGroupCommand.d.ts +3 -5
- package/dist-types/commands/DescribeModelCommand.d.ts +15 -5
- package/dist-types/commands/DescribeModelVersionCommand.d.ts +6 -2
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRetrainingSchedulerCommand.d.ts +125 -0
- package/dist-types/commands/ImportDatasetCommand.d.ts +2 -2
- package/dist-types/commands/ImportModelVersionCommand.d.ts +3 -2
- package/dist-types/commands/ListDataIngestionJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListDatasetsCommand.d.ts +2 -2
- package/dist-types/commands/ListInferenceEventsCommand.d.ts +2 -2
- package/dist-types/commands/ListInferenceExecutionsCommand.d.ts +4 -2
- package/dist-types/commands/ListInferenceSchedulersCommand.d.ts +2 -2
- package/dist-types/commands/ListLabelGroupsCommand.d.ts +3 -5
- package/dist-types/commands/ListLabelsCommand.d.ts +3 -5
- package/dist-types/commands/ListModelVersionsCommand.d.ts +5 -5
- package/dist-types/commands/ListModelsCommand.d.ts +7 -2
- package/dist-types/commands/ListRetrainingSchedulersCommand.d.ts +143 -0
- package/dist-types/commands/ListSensorStatisticsCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -2
- package/dist-types/commands/StartDataIngestionJobCommand.d.ts +3 -4
- package/dist-types/commands/StartInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/StartRetrainingSchedulerCommand.d.ts +116 -0
- package/dist-types/commands/StopInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/StopRetrainingSchedulerCommand.d.ts +116 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateActiveModelVersionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/UpdateLabelGroupCommand.d.ts +3 -5
- package/dist-types/commands/UpdateModelCommand.d.ts +116 -0
- package/dist-types/commands/UpdateRetrainingSchedulerCommand.d.ts +111 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +895 -433
- package/dist-types/pagination/ListRetrainingSchedulersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +72 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/LookoutEquipment.d.ts +136 -0
- package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateRetrainingSchedulerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteRetrainingSchedulerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeRetrainingSchedulerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRetrainingSchedulersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartRetrainingSchedulerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopRetrainingSchedulerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateRetrainingSchedulerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +137 -9
- package/dist-types/ts3.4/pagination/ListRetrainingSchedulersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +3 -1
- package/package.json +28 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Monotonicity = exports.StatisticalIssueStatus = exports.InferenceExecutionStatus = exports.
|
|
3
|
+
exports.Monotonicity = exports.StatisticalIssueStatus = exports.InferenceExecutionStatus = exports.InferenceDataImportStrategy = exports.ModelVersionSourceType = exports.ModelVersionStatus = exports.LatestInferenceResult = exports.IngestionJobStatus = exports.RetrainingSchedulerStatus = exports.ModelPromoteMode = exports.ModelStatus = exports.TargetSamplingRate = exports.LabelRating = exports.ResourceNotFoundException = exports.InferenceSchedulerStatus = exports.DataUploadFrequency = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.DatasetStatus = exports.ConflictException = exports.AutoPromotionResult = exports.AccessDeniedException = void 0;
|
|
4
4
|
const LookoutEquipmentServiceException_1 = require("./LookoutEquipmentServiceException");
|
|
5
5
|
class AccessDeniedException extends LookoutEquipmentServiceException_1.LookoutEquipmentServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -16,6 +16,13 @@ class AccessDeniedException extends LookoutEquipmentServiceException_1.LookoutEq
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
+
exports.AutoPromotionResult = {
|
|
20
|
+
MODEL_NOT_PROMOTED: "MODEL_NOT_PROMOTED",
|
|
21
|
+
MODEL_PROMOTED: "MODEL_PROMOTED",
|
|
22
|
+
RETRAINING_CANCELLED: "RETRAINING_CANCELLED",
|
|
23
|
+
RETRAINING_CUSTOMER_ERROR: "RETRAINING_CUSTOMER_ERROR",
|
|
24
|
+
RETRAINING_INTERNAL_ERROR: "RETRAINING_INTERNAL_ERROR",
|
|
25
|
+
};
|
|
19
26
|
class ConflictException extends LookoutEquipmentServiceException_1.LookoutEquipmentServiceException {
|
|
20
27
|
constructor(opts) {
|
|
21
28
|
super({
|
|
@@ -143,6 +150,16 @@ exports.ModelStatus = {
|
|
|
143
150
|
IN_PROGRESS: "IN_PROGRESS",
|
|
144
151
|
SUCCESS: "SUCCESS",
|
|
145
152
|
};
|
|
153
|
+
exports.ModelPromoteMode = {
|
|
154
|
+
MANAGED: "MANAGED",
|
|
155
|
+
MANUAL: "MANUAL",
|
|
156
|
+
};
|
|
157
|
+
exports.RetrainingSchedulerStatus = {
|
|
158
|
+
PENDING: "PENDING",
|
|
159
|
+
RUNNING: "RUNNING",
|
|
160
|
+
STOPPED: "STOPPED",
|
|
161
|
+
STOPPING: "STOPPING",
|
|
162
|
+
};
|
|
146
163
|
exports.IngestionJobStatus = {
|
|
147
164
|
FAILED: "FAILED",
|
|
148
165
|
IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS",
|
|
@@ -153,11 +170,6 @@ exports.LatestInferenceResult = {
|
|
|
153
170
|
ANOMALOUS: "ANOMALOUS",
|
|
154
171
|
NORMAL: "NORMAL",
|
|
155
172
|
};
|
|
156
|
-
exports.ModelVersionSourceType = {
|
|
157
|
-
IMPORT: "IMPORT",
|
|
158
|
-
RETRAINING: "RETRAINING",
|
|
159
|
-
TRAINING: "TRAINING",
|
|
160
|
-
};
|
|
161
173
|
exports.ModelVersionStatus = {
|
|
162
174
|
CANCELED: "CANCELED",
|
|
163
175
|
FAILED: "FAILED",
|
|
@@ -165,6 +177,16 @@ exports.ModelVersionStatus = {
|
|
|
165
177
|
IN_PROGRESS: "IN_PROGRESS",
|
|
166
178
|
SUCCESS: "SUCCESS",
|
|
167
179
|
};
|
|
180
|
+
exports.ModelVersionSourceType = {
|
|
181
|
+
IMPORT: "IMPORT",
|
|
182
|
+
RETRAINING: "RETRAINING",
|
|
183
|
+
TRAINING: "TRAINING",
|
|
184
|
+
};
|
|
185
|
+
exports.InferenceDataImportStrategy = {
|
|
186
|
+
ADD_WHEN_EMPTY: "ADD_WHEN_EMPTY",
|
|
187
|
+
NO_IMPORT: "NO_IMPORT",
|
|
188
|
+
OVERWRITE: "OVERWRITE",
|
|
189
|
+
};
|
|
168
190
|
exports.InferenceExecutionStatus = {
|
|
169
191
|
FAILED: "FAILED",
|
|
170
192
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListRetrainingSchedulers = void 0;
|
|
4
|
+
const ListRetrainingSchedulersCommand_1 = require("../commands/ListRetrainingSchedulersCommand");
|
|
5
|
+
const LookoutEquipmentClient_1 = require("../LookoutEquipmentClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListRetrainingSchedulersCommand_1.ListRetrainingSchedulersCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListRetrainingSchedulers(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof LookoutEquipmentClient_1.LookoutEquipmentClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListRetrainingSchedulers = paginateListRetrainingSchedulers;
|
|
@@ -11,4 +11,5 @@ tslib_1.__exportStar(require("./ListLabelGroupsPaginator"), exports);
|
|
|
11
11
|
tslib_1.__exportStar(require("./ListLabelsPaginator"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./ListModelVersionsPaginator"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./ListModelsPaginator"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./ListRetrainingSchedulersPaginator"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./ListSensorStatisticsPaginator"), exports);
|