@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,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 { ListDataIngestionJobsRequest, ListDataIngestionJobsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0ListDataIngestionJobsCommand,
|
|
18
|
-
serializeAws_json1_0ListDataIngestionJobsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface ListDataIngestionJobsCommandInput extends ListDataIngestionJobsRequest {}
|
|
22
|
-
export interface ListDataIngestionJobsCommandOutput extends ListDataIngestionJobsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Provides a list of all data ingestion jobs, including dataset name and ARN, S3 location
|
|
26
|
-
* of the input data, 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, ListDataIngestionJobsCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, ListDataIngestionJobsCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new ListDataIngestionJobsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListDataIngestionJobsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListDataIngestionJobsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListDataIngestionJobsCommand extends $Command<
|
|
43
|
-
ListDataIngestionJobsCommandInput,
|
|
44
|
-
ListDataIngestionJobsCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListDataIngestionJobsCommandInput) {
|
|
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<ListDataIngestionJobsCommandInput, ListDataIngestionJobsCommandOutput> {
|
|
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 = "ListDataIngestionJobsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListDataIngestionJobsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListDataIngestionJobsResponse.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: ListDataIngestionJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0ListDataIngestionJobsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDataIngestionJobsCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0ListDataIngestionJobsCommand(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 { ListDatasetsRequest, ListDatasetsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0ListDatasetsCommand,
|
|
18
|
-
serializeAws_json1_0ListDatasetsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface ListDatasetsCommandInput extends ListDatasetsRequest {}
|
|
22
|
-
export interface ListDatasetsCommandOutput extends ListDatasetsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists all datasets currently available in your account, filtering on the dataset name.
|
|
26
|
-
* </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LookoutEquipmentClient, ListDatasetsCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, ListDatasetsCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new ListDatasetsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListDatasetsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListDatasetsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListDatasetsCommand extends $Command<
|
|
43
|
-
ListDatasetsCommandInput,
|
|
44
|
-
ListDatasetsCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListDatasetsCommandInput) {
|
|
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<ListDatasetsCommandInput, ListDatasetsCommandOutput> {
|
|
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 = "ListDatasetsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListDatasetsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListDatasetsResponse.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: ListDatasetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0ListDatasetsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDatasetsCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0ListDatasetsCommand(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 { ListInferenceExecutionsRequest, ListInferenceExecutionsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0ListInferenceExecutionsCommand,
|
|
18
|
-
serializeAws_json1_0ListInferenceExecutionsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface ListInferenceExecutionsCommandInput extends ListInferenceExecutionsRequest {}
|
|
22
|
-
export interface ListInferenceExecutionsCommandOutput extends ListInferenceExecutionsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Lists all inference executions that have been performed by the specified inference
|
|
26
|
-
* scheduler. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LookoutEquipmentClient, ListInferenceExecutionsCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, ListInferenceExecutionsCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new ListInferenceExecutionsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListInferenceExecutionsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListInferenceExecutionsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListInferenceExecutionsCommand extends $Command<
|
|
43
|
-
ListInferenceExecutionsCommandInput,
|
|
44
|
-
ListInferenceExecutionsCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListInferenceExecutionsCommandInput) {
|
|
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<ListInferenceExecutionsCommandInput, ListInferenceExecutionsCommandOutput> {
|
|
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 = "ListInferenceExecutionsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListInferenceExecutionsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListInferenceExecutionsResponse.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: ListInferenceExecutionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0ListInferenceExecutionsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListInferenceExecutionsCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0ListInferenceExecutionsCommand(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 { ListInferenceSchedulersRequest, ListInferenceSchedulersResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0ListInferenceSchedulersCommand,
|
|
18
|
-
serializeAws_json1_0ListInferenceSchedulersCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface ListInferenceSchedulersCommandInput extends ListInferenceSchedulersRequest {}
|
|
22
|
-
export interface ListInferenceSchedulersCommandOutput extends ListInferenceSchedulersResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves a list of all inference schedulers currently available for your account.
|
|
26
|
-
* </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LookoutEquipmentClient, ListInferenceSchedulersCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, ListInferenceSchedulersCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new ListInferenceSchedulersCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListInferenceSchedulersCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListInferenceSchedulersCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListInferenceSchedulersCommand extends $Command<
|
|
43
|
-
ListInferenceSchedulersCommandInput,
|
|
44
|
-
ListInferenceSchedulersCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListInferenceSchedulersCommandInput) {
|
|
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<ListInferenceSchedulersCommandInput, ListInferenceSchedulersCommandOutput> {
|
|
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 = "ListInferenceSchedulersCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListInferenceSchedulersRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListInferenceSchedulersResponse.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: ListInferenceSchedulersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0ListInferenceSchedulersCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListInferenceSchedulersCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0ListInferenceSchedulersCommand(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 { ListModelsRequest, ListModelsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0ListModelsCommand,
|
|
18
|
-
serializeAws_json1_0ListModelsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface ListModelsCommandInput extends ListModelsRequest {}
|
|
22
|
-
export interface ListModelsCommandOutput extends ListModelsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Generates a list of all models in the account, including model name and ARN, dataset,
|
|
26
|
-
* and status. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LookoutEquipmentClient, ListModelsCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
31
|
-
* // const { LookoutEquipmentClient, ListModelsCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
32
|
-
* const client = new LookoutEquipmentClient(config);
|
|
33
|
-
* const command = new ListModelsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListModelsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListModelsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListModelsCommand extends $Command<
|
|
43
|
-
ListModelsCommandInput,
|
|
44
|
-
ListModelsCommandOutput,
|
|
45
|
-
LookoutEquipmentClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListModelsCommandInput) {
|
|
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<ListModelsCommandInput, ListModelsCommandOutput> {
|
|
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 = "ListModelsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListModelsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListModelsResponse.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: ListModelsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0ListModelsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListModelsCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0ListModelsCommand(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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0ListTagsForResourceCommand,
|
|
18
|
-
serializeAws_json1_0ListTagsForResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists all the tags for a specified resource, including key and value. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { LookoutEquipmentClient, ListTagsForResourceCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
30
|
-
* // const { LookoutEquipmentClient, ListTagsForResourceCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
31
|
-
* const client = new LookoutEquipmentClient(config);
|
|
32
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
42
|
-
ListTagsForResourceCommandInput,
|
|
43
|
-
ListTagsForResourceCommandOutput,
|
|
44
|
-
LookoutEquipmentClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
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<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
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 = "ListTagsForResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0ListTagsForResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { StartDataIngestionJobRequest, StartDataIngestionJobResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_0StartDataIngestionJobCommand,
|
|
18
|
-
serializeAws_json1_0StartDataIngestionJobCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_0";
|
|
20
|
-
|
|
21
|
-
export interface StartDataIngestionJobCommandInput extends StartDataIngestionJobRequest {}
|
|
22
|
-
export interface StartDataIngestionJobCommandOutput extends StartDataIngestionJobResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Starts a data ingestion job. Amazon Lookout for Equipment returns the job status. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { LookoutEquipmentClient, StartDataIngestionJobCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
|
|
30
|
-
* // const { LookoutEquipmentClient, StartDataIngestionJobCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
|
|
31
|
-
* const client = new LookoutEquipmentClient(config);
|
|
32
|
-
* const command = new StartDataIngestionJobCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link StartDataIngestionJobCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link StartDataIngestionJobCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link LookoutEquipmentClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class StartDataIngestionJobCommand extends $Command<
|
|
42
|
-
StartDataIngestionJobCommandInput,
|
|
43
|
-
StartDataIngestionJobCommandOutput,
|
|
44
|
-
LookoutEquipmentClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: StartDataIngestionJobCommandInput) {
|
|
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<StartDataIngestionJobCommandInput, StartDataIngestionJobCommandOutput> {
|
|
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 = "StartDataIngestionJobCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: StartDataIngestionJobRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: StartDataIngestionJobResponse.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: StartDataIngestionJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0StartDataIngestionJobCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartDataIngestionJobCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_0StartDataIngestionJobCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|