@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,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 { DeleteDatasetRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0DeleteDatasetCommand,
|
|
18
|
-
serializeAws_json1_0DeleteDatasetCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface DeleteDatasetCommandInput extends DeleteDatasetRequest {}
|
|
22
|
-
export interface DeleteDatasetCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Deletes a dataset and associated artifacts. The operation will check to see if any
|
|
26
|
-
* inference scheduler or data ingestion job is currently using the dataset, and if there
|
|
27
|
-
* isn't, the dataset, its metadata, and any associated data stored in S3 will be deleted.
|
|
28
|
-
* This does not affect any models that used this dataset for training and evaluation, but
|
|
29
|
-
* does prevent it from being used in the future. </p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { LookoutEquipmentClient, DeleteDatasetCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
34
|
-
* // const { LookoutEquipmentClient, DeleteDatasetCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
35
|
-
* const client = new LookoutEquipmentClient(config);
|
|
36
|
-
* const command = new DeleteDatasetCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DeleteDatasetCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DeleteDatasetCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DeleteDatasetCommand extends $Command<
|
|
46
|
-
DeleteDatasetCommandInput,
|
|
47
|
-
DeleteDatasetCommandOutput,
|
|
48
|
-
LookoutEquipmentClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DeleteDatasetCommandInput) {
|
|
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<DeleteDatasetCommandInput, DeleteDatasetCommandOutput> {
|
|
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 = "DeleteDatasetCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DeleteDatasetRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
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: DeleteDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_0DeleteDatasetCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteDatasetCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0DeleteDatasetCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,96 +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 { DeleteInferenceSchedulerRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0DeleteInferenceSchedulerCommand,
|
|
18
|
-
serializeAws_json1_0DeleteInferenceSchedulerCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface DeleteInferenceSchedulerCommandInput extends DeleteInferenceSchedulerRequest {}
|
|
22
|
-
export interface DeleteInferenceSchedulerCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes an inference scheduler that has been set up. Already processed output results
|
|
26
|
-
* are not affected. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LookoutEquipmentClient, DeleteInferenceSchedulerCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, DeleteInferenceSchedulerCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new DeleteInferenceSchedulerCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeleteInferenceSchedulerCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeleteInferenceSchedulerCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeleteInferenceSchedulerCommand extends $Command<
|
|
43
|
-
DeleteInferenceSchedulerCommandInput,
|
|
44
|
-
DeleteInferenceSchedulerCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeleteInferenceSchedulerCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LookoutEquipmentClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeleteInferenceSchedulerCommandInput, DeleteInferenceSchedulerCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LookoutEquipmentClient";
|
|
70
|
-
const commandName = "DeleteInferenceSchedulerCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeleteInferenceSchedulerRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DeleteInferenceSchedulerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0DeleteInferenceSchedulerCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteInferenceSchedulerCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0DeleteInferenceSchedulerCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +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 { DeleteModelRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0DeleteModelCommand,
|
|
18
|
-
serializeAws_json1_0DeleteModelCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface DeleteModelCommandInput extends DeleteModelRequest {}
|
|
22
|
-
export interface DeleteModelCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes an ML model currently available for Amazon Lookout for Equipment. This will prevent it from
|
|
26
|
-
* being used with an inference scheduler, even one that is already set up. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LookoutEquipmentClient, DeleteModelCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, DeleteModelCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new DeleteModelCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeleteModelCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeleteModelCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeleteModelCommand extends $Command<
|
|
43
|
-
DeleteModelCommandInput,
|
|
44
|
-
DeleteModelCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeleteModelCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LookoutEquipmentClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeleteModelCommandInput, DeleteModelCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LookoutEquipmentClient";
|
|
70
|
-
const commandName = "DeleteModelCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeleteModelRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DeleteModelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0DeleteModelCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteModelCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0DeleteModelCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +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 { DescribeDataIngestionJobRequest, DescribeDataIngestionJobResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0DescribeDataIngestionJobCommand,
|
|
18
|
-
serializeAws_json1_0DescribeDataIngestionJobCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface DescribeDataIngestionJobCommandInput extends DescribeDataIngestionJobRequest {}
|
|
22
|
-
export interface DescribeDataIngestionJobCommandOutput extends DescribeDataIngestionJobResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Provides information on a specific data ingestion job such as creation time, dataset
|
|
26
|
-
* ARN, status, and so on. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LookoutEquipmentClient, DescribeDataIngestionJobCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, DescribeDataIngestionJobCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new DescribeDataIngestionJobCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeDataIngestionJobCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeDataIngestionJobCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeDataIngestionJobCommand extends $Command<
|
|
43
|
-
DescribeDataIngestionJobCommandInput,
|
|
44
|
-
DescribeDataIngestionJobCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeDataIngestionJobCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LookoutEquipmentClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DescribeDataIngestionJobCommandInput, DescribeDataIngestionJobCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LookoutEquipmentClient";
|
|
70
|
-
const commandName = "DescribeDataIngestionJobCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeDataIngestionJobRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeDataIngestionJobResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DescribeDataIngestionJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0DescribeDataIngestionJobCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDataIngestionJobCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0DescribeDataIngestionJobCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,95 +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 { DescribeDatasetRequest, DescribeDatasetResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0DescribeDatasetCommand,
|
|
18
|
-
serializeAws_json1_0DescribeDatasetCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface DescribeDatasetCommandInput extends DescribeDatasetRequest {}
|
|
22
|
-
export interface DescribeDatasetCommandOutput extends DescribeDatasetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Provides a JSON description of the data that is in each time series dataset, including names, column names, and data types.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { LookoutEquipmentClient, DescribeDatasetCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
30
|
-
* // const { LookoutEquipmentClient, DescribeDatasetCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
31
|
-
* const client = new LookoutEquipmentClient(config);
|
|
32
|
-
* const command = new DescribeDatasetCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeDatasetCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeDatasetCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeDatasetCommand extends $Command<
|
|
42
|
-
DescribeDatasetCommandInput,
|
|
43
|
-
DescribeDatasetCommandOutput,
|
|
44
|
-
LookoutEquipmentClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeDatasetCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: LookoutEquipmentClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DescribeDatasetCommandInput, DescribeDatasetCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "LookoutEquipmentClient";
|
|
69
|
-
const commandName = "DescribeDatasetCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeDatasetRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeDatasetResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DescribeDatasetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0DescribeDatasetCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDatasetCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_0DescribeDatasetCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { DescribeInferenceSchedulerRequest, DescribeInferenceSchedulerResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0DescribeInferenceSchedulerCommand,
|
|
18
|
-
serializeAws_json1_0DescribeInferenceSchedulerCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface DescribeInferenceSchedulerCommandInput extends DescribeInferenceSchedulerRequest {}
|
|
22
|
-
export interface DescribeInferenceSchedulerCommandOutput extends DescribeInferenceSchedulerResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Specifies information about the inference scheduler being used, including name, model,
|
|
26
|
-
* status, and associated metadata </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LookoutEquipmentClient, DescribeInferenceSchedulerCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, DescribeInferenceSchedulerCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new DescribeInferenceSchedulerCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeInferenceSchedulerCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeInferenceSchedulerCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeInferenceSchedulerCommand extends $Command<
|
|
43
|
-
DescribeInferenceSchedulerCommandInput,
|
|
44
|
-
DescribeInferenceSchedulerCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeInferenceSchedulerCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LookoutEquipmentClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DescribeInferenceSchedulerCommandInput, DescribeInferenceSchedulerCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LookoutEquipmentClient";
|
|
70
|
-
const commandName = "DescribeInferenceSchedulerCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeInferenceSchedulerRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeInferenceSchedulerResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DescribeInferenceSchedulerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0DescribeInferenceSchedulerCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<DescribeInferenceSchedulerCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0DescribeInferenceSchedulerCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,96 +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 { DescribeModelRequest, DescribeModelResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0DescribeModelCommand,
|
|
18
|
-
serializeAws_json1_0DescribeModelCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface DescribeModelCommandInput extends DescribeModelRequest {}
|
|
22
|
-
export interface DescribeModelCommandOutput extends DescribeModelResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Provides a JSON containing the overall information about a specific ML model, including model name and ARN,
|
|
26
|
-
* dataset, training and evaluation information, status, and so on. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LookoutEquipmentClient, DescribeModelCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, DescribeModelCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new DescribeModelCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeModelCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeModelCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeModelCommand extends $Command<
|
|
43
|
-
DescribeModelCommandInput,
|
|
44
|
-
DescribeModelCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeModelCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LookoutEquipmentClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DescribeModelCommandInput, DescribeModelCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LookoutEquipmentClient";
|
|
70
|
-
const commandName = "DescribeModelCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeModelRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeModelResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DescribeModelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0DescribeModelCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeModelCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0DescribeModelCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|