@aws-sdk/client-lookoutequipment 3.410.0 → 3.414.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/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/package.json +29 -28
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
4
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const asPartial = (t) => t;
|
|
7
8
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
8
9
|
const extensionConfiguration = {
|
|
10
|
+
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
12
|
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
11
13
|
};
|
|
12
14
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
13
15
|
return {
|
|
14
16
|
...runtimeConfig,
|
|
17
|
+
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
15
18
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
19
|
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
17
20
|
};
|
|
@@ -4,12 +4,14 @@ import { CreateInferenceSchedulerCommand, } from "./commands/CreateInferenceSche
|
|
|
4
4
|
import { CreateLabelCommand } from "./commands/CreateLabelCommand";
|
|
5
5
|
import { CreateLabelGroupCommand, } from "./commands/CreateLabelGroupCommand";
|
|
6
6
|
import { CreateModelCommand } from "./commands/CreateModelCommand";
|
|
7
|
+
import { CreateRetrainingSchedulerCommand, } from "./commands/CreateRetrainingSchedulerCommand";
|
|
7
8
|
import { DeleteDatasetCommand, } from "./commands/DeleteDatasetCommand";
|
|
8
9
|
import { DeleteInferenceSchedulerCommand, } from "./commands/DeleteInferenceSchedulerCommand";
|
|
9
10
|
import { DeleteLabelCommand } from "./commands/DeleteLabelCommand";
|
|
10
11
|
import { DeleteLabelGroupCommand, } from "./commands/DeleteLabelGroupCommand";
|
|
11
12
|
import { DeleteModelCommand } from "./commands/DeleteModelCommand";
|
|
12
13
|
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
14
|
+
import { DeleteRetrainingSchedulerCommand, } from "./commands/DeleteRetrainingSchedulerCommand";
|
|
13
15
|
import { DescribeDataIngestionJobCommand, } from "./commands/DescribeDataIngestionJobCommand";
|
|
14
16
|
import { DescribeDatasetCommand, } from "./commands/DescribeDatasetCommand";
|
|
15
17
|
import { DescribeInferenceSchedulerCommand, } from "./commands/DescribeInferenceSchedulerCommand";
|
|
@@ -18,6 +20,7 @@ import { DescribeLabelGroupCommand, } from "./commands/DescribeLabelGroupCommand
|
|
|
18
20
|
import { DescribeModelCommand, } from "./commands/DescribeModelCommand";
|
|
19
21
|
import { DescribeModelVersionCommand, } from "./commands/DescribeModelVersionCommand";
|
|
20
22
|
import { DescribeResourcePolicyCommand, } from "./commands/DescribeResourcePolicyCommand";
|
|
23
|
+
import { DescribeRetrainingSchedulerCommand, } from "./commands/DescribeRetrainingSchedulerCommand";
|
|
21
24
|
import { ImportDatasetCommand, } from "./commands/ImportDatasetCommand";
|
|
22
25
|
import { ImportModelVersionCommand, } from "./commands/ImportModelVersionCommand";
|
|
23
26
|
import { ListDataIngestionJobsCommand, } from "./commands/ListDataIngestionJobsCommand";
|
|
@@ -29,17 +32,22 @@ import { ListLabelGroupsCommand, } from "./commands/ListLabelGroupsCommand";
|
|
|
29
32
|
import { ListLabelsCommand } from "./commands/ListLabelsCommand";
|
|
30
33
|
import { ListModelsCommand } from "./commands/ListModelsCommand";
|
|
31
34
|
import { ListModelVersionsCommand, } from "./commands/ListModelVersionsCommand";
|
|
35
|
+
import { ListRetrainingSchedulersCommand, } from "./commands/ListRetrainingSchedulersCommand";
|
|
32
36
|
import { ListSensorStatisticsCommand, } from "./commands/ListSensorStatisticsCommand";
|
|
33
37
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
34
38
|
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
35
39
|
import { StartDataIngestionJobCommand, } from "./commands/StartDataIngestionJobCommand";
|
|
36
40
|
import { StartInferenceSchedulerCommand, } from "./commands/StartInferenceSchedulerCommand";
|
|
41
|
+
import { StartRetrainingSchedulerCommand, } from "./commands/StartRetrainingSchedulerCommand";
|
|
37
42
|
import { StopInferenceSchedulerCommand, } from "./commands/StopInferenceSchedulerCommand";
|
|
43
|
+
import { StopRetrainingSchedulerCommand, } from "./commands/StopRetrainingSchedulerCommand";
|
|
38
44
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
39
45
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
40
46
|
import { UpdateActiveModelVersionCommand, } from "./commands/UpdateActiveModelVersionCommand";
|
|
41
47
|
import { UpdateInferenceSchedulerCommand, } from "./commands/UpdateInferenceSchedulerCommand";
|
|
42
48
|
import { UpdateLabelGroupCommand, } from "./commands/UpdateLabelGroupCommand";
|
|
49
|
+
import { UpdateModelCommand } from "./commands/UpdateModelCommand";
|
|
50
|
+
import { UpdateRetrainingSchedulerCommand, } from "./commands/UpdateRetrainingSchedulerCommand";
|
|
43
51
|
import { LookoutEquipmentClient } from "./LookoutEquipmentClient";
|
|
44
52
|
const commands = {
|
|
45
53
|
CreateDatasetCommand,
|
|
@@ -47,12 +55,14 @@ const commands = {
|
|
|
47
55
|
CreateLabelCommand,
|
|
48
56
|
CreateLabelGroupCommand,
|
|
49
57
|
CreateModelCommand,
|
|
58
|
+
CreateRetrainingSchedulerCommand,
|
|
50
59
|
DeleteDatasetCommand,
|
|
51
60
|
DeleteInferenceSchedulerCommand,
|
|
52
61
|
DeleteLabelCommand,
|
|
53
62
|
DeleteLabelGroupCommand,
|
|
54
63
|
DeleteModelCommand,
|
|
55
64
|
DeleteResourcePolicyCommand,
|
|
65
|
+
DeleteRetrainingSchedulerCommand,
|
|
56
66
|
DescribeDataIngestionJobCommand,
|
|
57
67
|
DescribeDatasetCommand,
|
|
58
68
|
DescribeInferenceSchedulerCommand,
|
|
@@ -61,6 +71,7 @@ const commands = {
|
|
|
61
71
|
DescribeModelCommand,
|
|
62
72
|
DescribeModelVersionCommand,
|
|
63
73
|
DescribeResourcePolicyCommand,
|
|
74
|
+
DescribeRetrainingSchedulerCommand,
|
|
64
75
|
ImportDatasetCommand,
|
|
65
76
|
ImportModelVersionCommand,
|
|
66
77
|
ListDataIngestionJobsCommand,
|
|
@@ -72,17 +83,22 @@ const commands = {
|
|
|
72
83
|
ListLabelsCommand,
|
|
73
84
|
ListModelsCommand,
|
|
74
85
|
ListModelVersionsCommand,
|
|
86
|
+
ListRetrainingSchedulersCommand,
|
|
75
87
|
ListSensorStatisticsCommand,
|
|
76
88
|
ListTagsForResourceCommand,
|
|
77
89
|
PutResourcePolicyCommand,
|
|
78
90
|
StartDataIngestionJobCommand,
|
|
79
91
|
StartInferenceSchedulerCommand,
|
|
92
|
+
StartRetrainingSchedulerCommand,
|
|
80
93
|
StopInferenceSchedulerCommand,
|
|
94
|
+
StopRetrainingSchedulerCommand,
|
|
81
95
|
TagResourceCommand,
|
|
82
96
|
UntagResourceCommand,
|
|
83
97
|
UpdateActiveModelVersionCommand,
|
|
84
98
|
UpdateInferenceSchedulerCommand,
|
|
85
99
|
UpdateLabelGroupCommand,
|
|
100
|
+
UpdateModelCommand,
|
|
101
|
+
UpdateRetrainingSchedulerCommand,
|
|
86
102
|
};
|
|
87
103
|
export class LookoutEquipment extends LookoutEquipmentClient {
|
|
88
104
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_CreateRetrainingSchedulerCommand, se_CreateRetrainingSchedulerCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateRetrainingSchedulerCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateRetrainingSchedulerCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LookoutEquipmentClient";
|
|
25
|
+
const commandName = "CreateRetrainingSchedulerCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateRetrainingSchedulerCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateRetrainingSchedulerCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DeleteRetrainingSchedulerCommand, se_DeleteRetrainingSchedulerCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteRetrainingSchedulerCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRetrainingSchedulerCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LookoutEquipmentClient";
|
|
25
|
+
const commandName = "DeleteRetrainingSchedulerCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteRetrainingSchedulerCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteRetrainingSchedulerCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DescribeRetrainingSchedulerCommand, se_DescribeRetrainingSchedulerCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeRetrainingSchedulerCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRetrainingSchedulerCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LookoutEquipmentClient";
|
|
25
|
+
const commandName = "DescribeRetrainingSchedulerCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeRetrainingSchedulerCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeRetrainingSchedulerCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListRetrainingSchedulersCommand, se_ListRetrainingSchedulersCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListRetrainingSchedulersCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListRetrainingSchedulersCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LookoutEquipmentClient";
|
|
25
|
+
const commandName = "ListRetrainingSchedulersCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListRetrainingSchedulersCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListRetrainingSchedulersCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StartRetrainingSchedulerCommand, se_StartRetrainingSchedulerCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartRetrainingSchedulerCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartRetrainingSchedulerCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LookoutEquipmentClient";
|
|
25
|
+
const commandName = "StartRetrainingSchedulerCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StartRetrainingSchedulerCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StartRetrainingSchedulerCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StopRetrainingSchedulerCommand, se_StopRetrainingSchedulerCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StopRetrainingSchedulerCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopRetrainingSchedulerCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LookoutEquipmentClient";
|
|
25
|
+
const commandName = "StopRetrainingSchedulerCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StopRetrainingSchedulerCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StopRetrainingSchedulerCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_UpdateModelCommand, se_UpdateModelCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateModelCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateModelCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LookoutEquipmentClient";
|
|
25
|
+
const commandName = "UpdateModelCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_UpdateModelCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_UpdateModelCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_UpdateRetrainingSchedulerCommand, se_UpdateRetrainingSchedulerCommand } from "../protocols/Aws_json1_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateRetrainingSchedulerCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRetrainingSchedulerCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LookoutEquipmentClient";
|
|
25
|
+
const commandName = "UpdateRetrainingSchedulerCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_UpdateRetrainingSchedulerCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_UpdateRetrainingSchedulerCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -3,12 +3,14 @@ export * from "./CreateInferenceSchedulerCommand";
|
|
|
3
3
|
export * from "./CreateLabelCommand";
|
|
4
4
|
export * from "./CreateLabelGroupCommand";
|
|
5
5
|
export * from "./CreateModelCommand";
|
|
6
|
+
export * from "./CreateRetrainingSchedulerCommand";
|
|
6
7
|
export * from "./DeleteDatasetCommand";
|
|
7
8
|
export * from "./DeleteInferenceSchedulerCommand";
|
|
8
9
|
export * from "./DeleteLabelCommand";
|
|
9
10
|
export * from "./DeleteLabelGroupCommand";
|
|
10
11
|
export * from "./DeleteModelCommand";
|
|
11
12
|
export * from "./DeleteResourcePolicyCommand";
|
|
13
|
+
export * from "./DeleteRetrainingSchedulerCommand";
|
|
12
14
|
export * from "./DescribeDataIngestionJobCommand";
|
|
13
15
|
export * from "./DescribeDatasetCommand";
|
|
14
16
|
export * from "./DescribeInferenceSchedulerCommand";
|
|
@@ -17,6 +19,7 @@ export * from "./DescribeLabelGroupCommand";
|
|
|
17
19
|
export * from "./DescribeModelCommand";
|
|
18
20
|
export * from "./DescribeModelVersionCommand";
|
|
19
21
|
export * from "./DescribeResourcePolicyCommand";
|
|
22
|
+
export * from "./DescribeRetrainingSchedulerCommand";
|
|
20
23
|
export * from "./ImportDatasetCommand";
|
|
21
24
|
export * from "./ImportModelVersionCommand";
|
|
22
25
|
export * from "./ListDataIngestionJobsCommand";
|
|
@@ -28,14 +31,19 @@ export * from "./ListLabelGroupsCommand";
|
|
|
28
31
|
export * from "./ListLabelsCommand";
|
|
29
32
|
export * from "./ListModelVersionsCommand";
|
|
30
33
|
export * from "./ListModelsCommand";
|
|
34
|
+
export * from "./ListRetrainingSchedulersCommand";
|
|
31
35
|
export * from "./ListSensorStatisticsCommand";
|
|
32
36
|
export * from "./ListTagsForResourceCommand";
|
|
33
37
|
export * from "./PutResourcePolicyCommand";
|
|
34
38
|
export * from "./StartDataIngestionJobCommand";
|
|
35
39
|
export * from "./StartInferenceSchedulerCommand";
|
|
40
|
+
export * from "./StartRetrainingSchedulerCommand";
|
|
36
41
|
export * from "./StopInferenceSchedulerCommand";
|
|
42
|
+
export * from "./StopRetrainingSchedulerCommand";
|
|
37
43
|
export * from "./TagResourceCommand";
|
|
38
44
|
export * from "./UntagResourceCommand";
|
|
39
45
|
export * from "./UpdateActiveModelVersionCommand";
|
|
40
46
|
export * from "./UpdateInferenceSchedulerCommand";
|
|
41
47
|
export * from "./UpdateLabelGroupCommand";
|
|
48
|
+
export * from "./UpdateModelCommand";
|
|
49
|
+
export * from "./UpdateRetrainingSchedulerCommand";
|
|
@@ -12,6 +12,13 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
this.Message = opts.Message;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
export const AutoPromotionResult = {
|
|
16
|
+
MODEL_NOT_PROMOTED: "MODEL_NOT_PROMOTED",
|
|
17
|
+
MODEL_PROMOTED: "MODEL_PROMOTED",
|
|
18
|
+
RETRAINING_CANCELLED: "RETRAINING_CANCELLED",
|
|
19
|
+
RETRAINING_CUSTOMER_ERROR: "RETRAINING_CUSTOMER_ERROR",
|
|
20
|
+
RETRAINING_INTERNAL_ERROR: "RETRAINING_INTERNAL_ERROR",
|
|
21
|
+
};
|
|
15
22
|
export class ConflictException extends __BaseException {
|
|
16
23
|
constructor(opts) {
|
|
17
24
|
super({
|
|
@@ -133,6 +140,16 @@ export const ModelStatus = {
|
|
|
133
140
|
IN_PROGRESS: "IN_PROGRESS",
|
|
134
141
|
SUCCESS: "SUCCESS",
|
|
135
142
|
};
|
|
143
|
+
export const ModelPromoteMode = {
|
|
144
|
+
MANAGED: "MANAGED",
|
|
145
|
+
MANUAL: "MANUAL",
|
|
146
|
+
};
|
|
147
|
+
export const RetrainingSchedulerStatus = {
|
|
148
|
+
PENDING: "PENDING",
|
|
149
|
+
RUNNING: "RUNNING",
|
|
150
|
+
STOPPED: "STOPPED",
|
|
151
|
+
STOPPING: "STOPPING",
|
|
152
|
+
};
|
|
136
153
|
export const IngestionJobStatus = {
|
|
137
154
|
FAILED: "FAILED",
|
|
138
155
|
IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS",
|
|
@@ -143,11 +160,6 @@ export const LatestInferenceResult = {
|
|
|
143
160
|
ANOMALOUS: "ANOMALOUS",
|
|
144
161
|
NORMAL: "NORMAL",
|
|
145
162
|
};
|
|
146
|
-
export const ModelVersionSourceType = {
|
|
147
|
-
IMPORT: "IMPORT",
|
|
148
|
-
RETRAINING: "RETRAINING",
|
|
149
|
-
TRAINING: "TRAINING",
|
|
150
|
-
};
|
|
151
163
|
export const ModelVersionStatus = {
|
|
152
164
|
CANCELED: "CANCELED",
|
|
153
165
|
FAILED: "FAILED",
|
|
@@ -155,6 +167,16 @@ export const ModelVersionStatus = {
|
|
|
155
167
|
IN_PROGRESS: "IN_PROGRESS",
|
|
156
168
|
SUCCESS: "SUCCESS",
|
|
157
169
|
};
|
|
170
|
+
export const ModelVersionSourceType = {
|
|
171
|
+
IMPORT: "IMPORT",
|
|
172
|
+
RETRAINING: "RETRAINING",
|
|
173
|
+
TRAINING: "TRAINING",
|
|
174
|
+
};
|
|
175
|
+
export const InferenceDataImportStrategy = {
|
|
176
|
+
ADD_WHEN_EMPTY: "ADD_WHEN_EMPTY",
|
|
177
|
+
NO_IMPORT: "NO_IMPORT",
|
|
178
|
+
OVERWRITE: "OVERWRITE",
|
|
179
|
+
};
|
|
158
180
|
export const InferenceExecutionStatus = {
|
|
159
181
|
FAILED: "FAILED",
|
|
160
182
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListRetrainingSchedulersCommand, } from "../commands/ListRetrainingSchedulersCommand";
|
|
2
|
+
import { LookoutEquipmentClient } from "../LookoutEquipmentClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListRetrainingSchedulersCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListRetrainingSchedulers(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof LookoutEquipmentClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected LookoutEquipment | LookoutEquipmentClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -8,4 +8,5 @@ export * from "./ListLabelGroupsPaginator";
|
|
|
8
8
|
export * from "./ListLabelsPaginator";
|
|
9
9
|
export * from "./ListModelVersionsPaginator";
|
|
10
10
|
export * from "./ListModelsPaginator";
|
|
11
|
+
export * from "./ListRetrainingSchedulersPaginator";
|
|
11
12
|
export * from "./ListSensorStatisticsPaginator";
|