@aws-sdk/client-lookoutequipment 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/LookoutEquipment.js +0 -5
- package/dist-cjs/LookoutEquipmentClient.js +0 -10
- package/dist-cjs/commands/CreateDatasetCommand.js +0 -28
- package/dist-cjs/commands/CreateInferenceSchedulerCommand.js +0 -29
- package/dist-cjs/commands/CreateModelCommand.js +0 -33
- package/dist-cjs/commands/DeleteDatasetCommand.js +0 -29
- package/dist-cjs/commands/DeleteInferenceSchedulerCommand.js +0 -26
- package/dist-cjs/commands/DeleteModelCommand.js +0 -26
- package/dist-cjs/commands/DescribeDataIngestionJobCommand.js +0 -26
- package/dist-cjs/commands/DescribeDatasetCommand.js +0 -25
- package/dist-cjs/commands/DescribeInferenceSchedulerCommand.js +0 -26
- package/dist-cjs/commands/DescribeModelCommand.js +0 -26
- package/dist-cjs/commands/ListDataIngestionJobsCommand.js +0 -26
- package/dist-cjs/commands/ListDatasetsCommand.js +0 -26
- package/dist-cjs/commands/ListInferenceExecutionsCommand.js +0 -26
- package/dist-cjs/commands/ListInferenceSchedulersCommand.js +0 -26
- package/dist-cjs/commands/ListModelsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/StartDataIngestionJobCommand.js +0 -25
- package/dist-cjs/commands/StartInferenceSchedulerCommand.js +0 -25
- package/dist-cjs/commands/StopInferenceSchedulerCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -29
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateInferenceSchedulerCommand.js +0 -25
- package/dist-cjs/commands/index.js +25 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -31
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -196
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDataIngestionJobsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDatasetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListInferenceExecutionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListInferenceSchedulersPaginator.js +0 -11
- package/dist-cjs/pagination/ListModelsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/LookoutEquipment.js +0 -1
- package/dist-es/LookoutEquipmentClient.js +0 -1
- package/dist-es/commands/CreateDatasetCommand.js +0 -1
- package/dist-es/commands/CreateInferenceSchedulerCommand.js +0 -1
- package/dist-es/commands/CreateModelCommand.js +0 -1
- package/dist-es/commands/DeleteDatasetCommand.js +0 -1
- package/dist-es/commands/DeleteInferenceSchedulerCommand.js +0 -1
- package/dist-es/commands/DeleteModelCommand.js +0 -1
- package/dist-es/commands/DescribeDataIngestionJobCommand.js +0 -1
- package/dist-es/commands/DescribeDatasetCommand.js +0 -1
- package/dist-es/commands/DescribeInferenceSchedulerCommand.js +0 -1
- package/dist-es/commands/DescribeModelCommand.js +0 -1
- package/dist-es/commands/ListDataIngestionJobsCommand.js +0 -1
- package/dist-es/commands/ListDatasetsCommand.js +0 -1
- package/dist-es/commands/ListInferenceExecutionsCommand.js +0 -1
- package/dist-es/commands/ListInferenceSchedulersCommand.js +0 -1
- package/dist-es/commands/ListModelsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/StartDataIngestionJobCommand.js +0 -1
- package/dist-es/commands/StartInferenceSchedulerCommand.js +0 -1
- package/dist-es/commands/StopInferenceSchedulerCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateInferenceSchedulerCommand.js +0 -1
- package/dist-es/commands/index.js +22 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -31
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDataIngestionJobsPaginator.js +0 -1
- package/dist-es/pagination/ListDatasetsPaginator.js +0 -1
- package/dist-es/pagination/ListInferenceExecutionsPaginator.js +0 -1
- package/dist-es/pagination/ListInferenceSchedulersPaginator.js +0 -1
- package/dist-es/pagination/ListModelsPaginator.js +0 -1
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_json1_0.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +22 -0
- package/dist-types/index.d.ts +4 -30
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/LookoutEquipment.d.ts +23 -103
- package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateInferenceSchedulerCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteInferenceSchedulerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeDataIngestionJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeInferenceSchedulerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListDataIngestionJobsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListInferenceExecutionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListInferenceSchedulersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartDataIngestionJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartInferenceSchedulerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopInferenceSchedulerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateInferenceSchedulerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +22 -0
- package/dist-types/ts3.4/index.d.ts +4 -30
- package/dist-types/ts3.4/models/models_0.d.ts +302 -1080
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/LookoutEquipment.js.map +0 -1
- package/dist-cjs/LookoutEquipmentClient.js.map +0 -1
- package/dist-cjs/commands/CreateDatasetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateInferenceSchedulerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateModelCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDatasetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteInferenceSchedulerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteModelCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDataIngestionJobCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDatasetCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeInferenceSchedulerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeModelCommand.js.map +0 -1
- package/dist-cjs/commands/ListDataIngestionJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDatasetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListInferenceExecutionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListInferenceSchedulersCommand.js.map +0 -1
- package/dist-cjs/commands/ListModelsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/StartDataIngestionJobCommand.js.map +0 -1
- package/dist-cjs/commands/StartInferenceSchedulerCommand.js.map +0 -1
- package/dist-cjs/commands/StopInferenceSchedulerCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateInferenceSchedulerCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListDataIngestionJobsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDatasetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListInferenceExecutionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListInferenceSchedulersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListModelsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/LookoutEquipment.js.map +0 -1
- package/dist-es/LookoutEquipmentClient.js.map +0 -1
- package/dist-es/commands/CreateDatasetCommand.js.map +0 -1
- package/dist-es/commands/CreateInferenceSchedulerCommand.js.map +0 -1
- package/dist-es/commands/CreateModelCommand.js.map +0 -1
- package/dist-es/commands/DeleteDatasetCommand.js.map +0 -1
- package/dist-es/commands/DeleteInferenceSchedulerCommand.js.map +0 -1
- package/dist-es/commands/DeleteModelCommand.js.map +0 -1
- package/dist-es/commands/DescribeDataIngestionJobCommand.js.map +0 -1
- package/dist-es/commands/DescribeDatasetCommand.js.map +0 -1
- package/dist-es/commands/DescribeInferenceSchedulerCommand.js.map +0 -1
- package/dist-es/commands/DescribeModelCommand.js.map +0 -1
- package/dist-es/commands/ListDataIngestionJobsCommand.js.map +0 -1
- package/dist-es/commands/ListDatasetsCommand.js.map +0 -1
- package/dist-es/commands/ListInferenceExecutionsCommand.js.map +0 -1
- package/dist-es/commands/ListInferenceSchedulersCommand.js.map +0 -1
- package/dist-es/commands/ListModelsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/StartDataIngestionJobCommand.js.map +0 -1
- package/dist-es/commands/StartInferenceSchedulerCommand.js.map +0 -1
- package/dist-es/commands/StopInferenceSchedulerCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateInferenceSchedulerCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListDataIngestionJobsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDatasetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListInferenceExecutionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListInferenceSchedulersPaginator.js.map +0 -1
- package/dist-es/pagination/ListModelsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_0.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/LookoutEquipment.ts +0 -813
- package/src/LookoutEquipmentClient.ts +0 -339
- package/src/commands/CreateDatasetCommand.ts +0 -98
- package/src/commands/CreateInferenceSchedulerCommand.ts +0 -99
- package/src/commands/CreateModelCommand.ts +0 -103
- package/src/commands/DeleteDatasetCommand.ts +0 -99
- package/src/commands/DeleteInferenceSchedulerCommand.ts +0 -96
- package/src/commands/DeleteModelCommand.ts +0 -96
- package/src/commands/DescribeDataIngestionJobCommand.ts +0 -96
- package/src/commands/DescribeDatasetCommand.ts +0 -95
- package/src/commands/DescribeInferenceSchedulerCommand.ts +0 -99
- package/src/commands/DescribeModelCommand.ts +0 -96
- package/src/commands/ListDataIngestionJobsCommand.ts +0 -96
- package/src/commands/ListDatasetsCommand.ts +0 -96
- package/src/commands/ListInferenceExecutionsCommand.ts +0 -96
- package/src/commands/ListInferenceSchedulersCommand.ts +0 -96
- package/src/commands/ListModelsCommand.ts +0 -96
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/StartDataIngestionJobCommand.ts +0 -95
- package/src/commands/StartInferenceSchedulerCommand.ts +0 -95
- package/src/commands/StopInferenceSchedulerCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -99
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateInferenceSchedulerCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -31
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2107
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDataIngestionJobsPaginator.ts +0 -59
- package/src/pagination/ListDatasetsPaginator.ts +0 -59
- package/src/pagination/ListInferenceExecutionsPaginator.ts +0 -59
- package/src/pagination/ListInferenceSchedulersPaginator.ts +0 -59
- package/src/pagination/ListModelsPaginator.ts +0 -55
- package/src/protocols/Aws_json1_0.ts +0 -3644
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
|
|
53
|
-
import {
|
|
54
|
-
CreateInferenceSchedulerCommandInput,
|
|
55
|
-
CreateInferenceSchedulerCommandOutput,
|
|
56
|
-
} from "./commands/CreateInferenceSchedulerCommand";
|
|
57
|
-
import { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand";
|
|
58
|
-
import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
|
|
59
|
-
import {
|
|
60
|
-
DeleteInferenceSchedulerCommandInput,
|
|
61
|
-
DeleteInferenceSchedulerCommandOutput,
|
|
62
|
-
} from "./commands/DeleteInferenceSchedulerCommand";
|
|
63
|
-
import { DeleteModelCommandInput, DeleteModelCommandOutput } from "./commands/DeleteModelCommand";
|
|
64
|
-
import {
|
|
65
|
-
DescribeDataIngestionJobCommandInput,
|
|
66
|
-
DescribeDataIngestionJobCommandOutput,
|
|
67
|
-
} from "./commands/DescribeDataIngestionJobCommand";
|
|
68
|
-
import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
|
|
69
|
-
import {
|
|
70
|
-
DescribeInferenceSchedulerCommandInput,
|
|
71
|
-
DescribeInferenceSchedulerCommandOutput,
|
|
72
|
-
} from "./commands/DescribeInferenceSchedulerCommand";
|
|
73
|
-
import { DescribeModelCommandInput, DescribeModelCommandOutput } from "./commands/DescribeModelCommand";
|
|
74
|
-
import {
|
|
75
|
-
ListDataIngestionJobsCommandInput,
|
|
76
|
-
ListDataIngestionJobsCommandOutput,
|
|
77
|
-
} from "./commands/ListDataIngestionJobsCommand";
|
|
78
|
-
import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
|
|
79
|
-
import {
|
|
80
|
-
ListInferenceExecutionsCommandInput,
|
|
81
|
-
ListInferenceExecutionsCommandOutput,
|
|
82
|
-
} from "./commands/ListInferenceExecutionsCommand";
|
|
83
|
-
import {
|
|
84
|
-
ListInferenceSchedulersCommandInput,
|
|
85
|
-
ListInferenceSchedulersCommandOutput,
|
|
86
|
-
} from "./commands/ListInferenceSchedulersCommand";
|
|
87
|
-
import { ListModelsCommandInput, ListModelsCommandOutput } from "./commands/ListModelsCommand";
|
|
88
|
-
import {
|
|
89
|
-
ListTagsForResourceCommandInput,
|
|
90
|
-
ListTagsForResourceCommandOutput,
|
|
91
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
92
|
-
import {
|
|
93
|
-
StartDataIngestionJobCommandInput,
|
|
94
|
-
StartDataIngestionJobCommandOutput,
|
|
95
|
-
} from "./commands/StartDataIngestionJobCommand";
|
|
96
|
-
import {
|
|
97
|
-
StartInferenceSchedulerCommandInput,
|
|
98
|
-
StartInferenceSchedulerCommandOutput,
|
|
99
|
-
} from "./commands/StartInferenceSchedulerCommand";
|
|
100
|
-
import {
|
|
101
|
-
StopInferenceSchedulerCommandInput,
|
|
102
|
-
StopInferenceSchedulerCommandOutput,
|
|
103
|
-
} from "./commands/StopInferenceSchedulerCommand";
|
|
104
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
105
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
106
|
-
import {
|
|
107
|
-
UpdateInferenceSchedulerCommandInput,
|
|
108
|
-
UpdateInferenceSchedulerCommandOutput,
|
|
109
|
-
} from "./commands/UpdateInferenceSchedulerCommand";
|
|
110
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
111
|
-
|
|
112
|
-
export type ServiceInputTypes =
|
|
113
|
-
| CreateDatasetCommandInput
|
|
114
|
-
| CreateInferenceSchedulerCommandInput
|
|
115
|
-
| CreateModelCommandInput
|
|
116
|
-
| DeleteDatasetCommandInput
|
|
117
|
-
| DeleteInferenceSchedulerCommandInput
|
|
118
|
-
| DeleteModelCommandInput
|
|
119
|
-
| DescribeDataIngestionJobCommandInput
|
|
120
|
-
| DescribeDatasetCommandInput
|
|
121
|
-
| DescribeInferenceSchedulerCommandInput
|
|
122
|
-
| DescribeModelCommandInput
|
|
123
|
-
| ListDataIngestionJobsCommandInput
|
|
124
|
-
| ListDatasetsCommandInput
|
|
125
|
-
| ListInferenceExecutionsCommandInput
|
|
126
|
-
| ListInferenceSchedulersCommandInput
|
|
127
|
-
| ListModelsCommandInput
|
|
128
|
-
| ListTagsForResourceCommandInput
|
|
129
|
-
| StartDataIngestionJobCommandInput
|
|
130
|
-
| StartInferenceSchedulerCommandInput
|
|
131
|
-
| StopInferenceSchedulerCommandInput
|
|
132
|
-
| TagResourceCommandInput
|
|
133
|
-
| UntagResourceCommandInput
|
|
134
|
-
| UpdateInferenceSchedulerCommandInput;
|
|
135
|
-
|
|
136
|
-
export type ServiceOutputTypes =
|
|
137
|
-
| CreateDatasetCommandOutput
|
|
138
|
-
| CreateInferenceSchedulerCommandOutput
|
|
139
|
-
| CreateModelCommandOutput
|
|
140
|
-
| DeleteDatasetCommandOutput
|
|
141
|
-
| DeleteInferenceSchedulerCommandOutput
|
|
142
|
-
| DeleteModelCommandOutput
|
|
143
|
-
| DescribeDataIngestionJobCommandOutput
|
|
144
|
-
| DescribeDatasetCommandOutput
|
|
145
|
-
| DescribeInferenceSchedulerCommandOutput
|
|
146
|
-
| DescribeModelCommandOutput
|
|
147
|
-
| ListDataIngestionJobsCommandOutput
|
|
148
|
-
| ListDatasetsCommandOutput
|
|
149
|
-
| ListInferenceExecutionsCommandOutput
|
|
150
|
-
| ListInferenceSchedulersCommandOutput
|
|
151
|
-
| ListModelsCommandOutput
|
|
152
|
-
| ListTagsForResourceCommandOutput
|
|
153
|
-
| StartDataIngestionJobCommandOutput
|
|
154
|
-
| StartInferenceSchedulerCommandOutput
|
|
155
|
-
| StopInferenceSchedulerCommandOutput
|
|
156
|
-
| TagResourceCommandOutput
|
|
157
|
-
| UntagResourceCommandOutput
|
|
158
|
-
| UpdateInferenceSchedulerCommandOutput;
|
|
159
|
-
|
|
160
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
161
|
-
/**
|
|
162
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
163
|
-
*/
|
|
164
|
-
requestHandler?: __HttpHandler;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
168
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
sha256?: __HashConstructor;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
177
|
-
urlParser?: __UrlParser;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* A function that can calculate the length of a request body.
|
|
181
|
-
* @internal
|
|
182
|
-
*/
|
|
183
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* A function that converts a stream into an array of bytes.
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
|
-
streamCollector?: __StreamCollector;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
|
-
base64Decoder?: __Decoder;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
199
|
-
* @internal
|
|
200
|
-
*/
|
|
201
|
-
base64Encoder?: __Encoder;
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
205
|
-
* @internal
|
|
206
|
-
*/
|
|
207
|
-
utf8Decoder?: __Decoder;
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
211
|
-
* @internal
|
|
212
|
-
*/
|
|
213
|
-
utf8Encoder?: __Encoder;
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* The runtime environment.
|
|
217
|
-
* @internal
|
|
218
|
-
*/
|
|
219
|
-
runtime?: string;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
223
|
-
* trait of an operation.
|
|
224
|
-
*/
|
|
225
|
-
disableHostPrefix?: boolean;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
229
|
-
*/
|
|
230
|
-
maxAttempts?: number | __Provider<number>;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Specifies which retry algorithm to use.
|
|
234
|
-
*/
|
|
235
|
-
retryMode?: string | __Provider<string>;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Optional logger for logging debug/info/warn/error.
|
|
239
|
-
*/
|
|
240
|
-
logger?: __Logger;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Unique service identifier.
|
|
244
|
-
* @internal
|
|
245
|
-
*/
|
|
246
|
-
serviceId?: string;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* The AWS region to which this client will send requests
|
|
250
|
-
*/
|
|
251
|
-
region?: string | __Provider<string>;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Default credentials provider; Not available in browser runtime.
|
|
255
|
-
* @internal
|
|
256
|
-
*/
|
|
257
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
263
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
267
|
-
* @internal
|
|
268
|
-
*/
|
|
269
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
type LookoutEquipmentClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
273
|
-
ClientDefaults &
|
|
274
|
-
RegionInputConfig &
|
|
275
|
-
EndpointsInputConfig &
|
|
276
|
-
RetryInputConfig &
|
|
277
|
-
HostHeaderInputConfig &
|
|
278
|
-
AwsAuthInputConfig &
|
|
279
|
-
UserAgentInputConfig;
|
|
280
|
-
/**
|
|
281
|
-
* The configuration interface of LookoutEquipmentClient class constructor that set the region, credentials and other options.
|
|
282
|
-
*/
|
|
283
|
-
export interface LookoutEquipmentClientConfig extends LookoutEquipmentClientConfigType {}
|
|
284
|
-
|
|
285
|
-
type LookoutEquipmentClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
286
|
-
Required<ClientDefaults> &
|
|
287
|
-
RegionResolvedConfig &
|
|
288
|
-
EndpointsResolvedConfig &
|
|
289
|
-
RetryResolvedConfig &
|
|
290
|
-
HostHeaderResolvedConfig &
|
|
291
|
-
AwsAuthResolvedConfig &
|
|
292
|
-
UserAgentResolvedConfig;
|
|
293
|
-
/**
|
|
294
|
-
* The resolved configuration interface of LookoutEquipmentClient class. This is resolved and normalized from the {@link LookoutEquipmentClientConfig | constructor configuration interface}.
|
|
295
|
-
*/
|
|
296
|
-
export interface LookoutEquipmentClientResolvedConfig extends LookoutEquipmentClientResolvedConfigType {}
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* <p>Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify
|
|
300
|
-
* anomalies in machines from sensor data for use in predictive maintenance. </p>
|
|
301
|
-
*/
|
|
302
|
-
export class LookoutEquipmentClient extends __Client<
|
|
303
|
-
__HttpHandlerOptions,
|
|
304
|
-
ServiceInputTypes,
|
|
305
|
-
ServiceOutputTypes,
|
|
306
|
-
LookoutEquipmentClientResolvedConfig
|
|
307
|
-
> {
|
|
308
|
-
/**
|
|
309
|
-
* The resolved configuration of LookoutEquipmentClient class. This is resolved and normalized from the {@link LookoutEquipmentClientConfig | constructor configuration interface}.
|
|
310
|
-
*/
|
|
311
|
-
readonly config: LookoutEquipmentClientResolvedConfig;
|
|
312
|
-
|
|
313
|
-
constructor(configuration: LookoutEquipmentClientConfig) {
|
|
314
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
315
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
316
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
317
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
318
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
319
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
320
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
321
|
-
super(_config_6);
|
|
322
|
-
this.config = _config_6;
|
|
323
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
324
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
325
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
326
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
327
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
328
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
333
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
334
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
335
|
-
*/
|
|
336
|
-
destroy(): void {
|
|
337
|
-
super.destroy();
|
|
338
|
-
}
|
|
339
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LookoutEquipmentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutEquipmentClient";
|
|
15
|
-
import { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0CreateDatasetCommand,
|
|
18
|
-
serializeAws_json1_0CreateDatasetCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface CreateDatasetCommandInput extends CreateDatasetRequest {}
|
|
22
|
-
export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a container for a collection of data being ingested for analysis. The dataset
|
|
26
|
-
* contains the metadata describing where the data is and what the data actually looks like.
|
|
27
|
-
* In other words, it contains the location of the data source, the data schema, and other
|
|
28
|
-
* information. A dataset also contains any tags associated with the ingested data. </p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { LookoutEquipmentClient, CreateDatasetCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
33
|
-
* // const { LookoutEquipmentClient, CreateDatasetCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
34
|
-
* const client = new LookoutEquipmentClient(config);
|
|
35
|
-
* const command = new CreateDatasetCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link CreateDatasetCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link CreateDatasetCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class CreateDatasetCommand extends $Command<
|
|
45
|
-
CreateDatasetCommandInput,
|
|
46
|
-
CreateDatasetCommandOutput,
|
|
47
|
-
LookoutEquipmentClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: CreateDatasetCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: LookoutEquipmentClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<CreateDatasetCommandInput, CreateDatasetCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "LookoutEquipmentClient";
|
|
72
|
-
const commandName = "CreateDatasetCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: CreateDatasetRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: CreateDatasetResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: CreateDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_0CreateDatasetCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDatasetCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_0CreateDatasetCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LookoutEquipmentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutEquipmentClient";
|
|
15
|
-
import { CreateInferenceSchedulerRequest, CreateInferenceSchedulerResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0CreateInferenceSchedulerCommand,
|
|
18
|
-
serializeAws_json1_0CreateInferenceSchedulerCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface CreateInferenceSchedulerCommandInput extends CreateInferenceSchedulerRequest {}
|
|
22
|
-
export interface CreateInferenceSchedulerCommandOutput extends CreateInferenceSchedulerResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Creates a scheduled inference. Scheduling an inference is setting up a continuous
|
|
26
|
-
* real-time inference plan to analyze new measurement data. When setting up the schedule, you
|
|
27
|
-
* provide an S3 bucket location for the input data, assign it a delimiter between separate
|
|
28
|
-
* entries in the data, set an offset delay if desired, and set the frequency of inferencing.
|
|
29
|
-
* You must also provide an S3 bucket location for the output data. </p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { LookoutEquipmentClient, CreateInferenceSchedulerCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
34
|
-
* // const { LookoutEquipmentClient, CreateInferenceSchedulerCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
35
|
-
* const client = new LookoutEquipmentClient(config);
|
|
36
|
-
* const command = new CreateInferenceSchedulerCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link CreateInferenceSchedulerCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link CreateInferenceSchedulerCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class CreateInferenceSchedulerCommand extends $Command<
|
|
46
|
-
CreateInferenceSchedulerCommandInput,
|
|
47
|
-
CreateInferenceSchedulerCommandOutput,
|
|
48
|
-
LookoutEquipmentClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: CreateInferenceSchedulerCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: LookoutEquipmentClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<CreateInferenceSchedulerCommandInput, CreateInferenceSchedulerCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "LookoutEquipmentClient";
|
|
73
|
-
const commandName = "CreateInferenceSchedulerCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: CreateInferenceSchedulerRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: CreateInferenceSchedulerResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: CreateInferenceSchedulerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_0CreateInferenceSchedulerCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateInferenceSchedulerCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0CreateInferenceSchedulerCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LookoutEquipmentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutEquipmentClient";
|
|
15
|
-
import { CreateModelRequest, CreateModelResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0CreateModelCommand,
|
|
18
|
-
serializeAws_json1_0CreateModelCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface CreateModelCommandInput extends CreateModelRequest {}
|
|
22
|
-
export interface CreateModelCommandOutput extends CreateModelResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an ML model for data inference. </p>
|
|
26
|
-
* <p>A machine-learning (ML) model is a mathematical model that finds patterns in your data.
|
|
27
|
-
* In Amazon Lookout for Equipment, the model learns the patterns of normal behavior and detects abnormal
|
|
28
|
-
* behavior that could be potential equipment failure (or maintenance events). The models are
|
|
29
|
-
* made by analyzing normal data and abnormalities in machine behavior that have already
|
|
30
|
-
* occurred.</p>
|
|
31
|
-
* <p>Your model is trained using a portion of the data from your dataset and uses that data
|
|
32
|
-
* to learn patterns of normal behavior and abnormal patterns that lead to equipment failure.
|
|
33
|
-
* Another portion of the data is used to evaluate the model's accuracy. </p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { LookoutEquipmentClient, CreateModelCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
38
|
-
* // const { LookoutEquipmentClient, CreateModelCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
39
|
-
* const client = new LookoutEquipmentClient(config);
|
|
40
|
-
* const command = new CreateModelCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link CreateModelCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link CreateModelCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class CreateModelCommand extends $Command<
|
|
50
|
-
CreateModelCommandInput,
|
|
51
|
-
CreateModelCommandOutput,
|
|
52
|
-
LookoutEquipmentClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: CreateModelCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: LookoutEquipmentClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<CreateModelCommandInput, CreateModelCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "LookoutEquipmentClient";
|
|
77
|
-
const commandName = "CreateModelCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: CreateModelRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: CreateModelResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: CreateModelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_0CreateModelCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateModelCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_0CreateModelCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|