@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.
Files changed (240) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/LookoutEquipment.js +0 -5
  3. package/dist-cjs/LookoutEquipmentClient.js +0 -10
  4. package/dist-cjs/commands/CreateDatasetCommand.js +0 -28
  5. package/dist-cjs/commands/CreateInferenceSchedulerCommand.js +0 -29
  6. package/dist-cjs/commands/CreateModelCommand.js +0 -33
  7. package/dist-cjs/commands/DeleteDatasetCommand.js +0 -29
  8. package/dist-cjs/commands/DeleteInferenceSchedulerCommand.js +0 -26
  9. package/dist-cjs/commands/DeleteModelCommand.js +0 -26
  10. package/dist-cjs/commands/DescribeDataIngestionJobCommand.js +0 -26
  11. package/dist-cjs/commands/DescribeDatasetCommand.js +0 -25
  12. package/dist-cjs/commands/DescribeInferenceSchedulerCommand.js +0 -26
  13. package/dist-cjs/commands/DescribeModelCommand.js +0 -26
  14. package/dist-cjs/commands/ListDataIngestionJobsCommand.js +0 -26
  15. package/dist-cjs/commands/ListDatasetsCommand.js +0 -26
  16. package/dist-cjs/commands/ListInferenceExecutionsCommand.js +0 -26
  17. package/dist-cjs/commands/ListInferenceSchedulersCommand.js +0 -26
  18. package/dist-cjs/commands/ListModelsCommand.js +0 -26
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  20. package/dist-cjs/commands/StartDataIngestionJobCommand.js +0 -25
  21. package/dist-cjs/commands/StartInferenceSchedulerCommand.js +0 -25
  22. package/dist-cjs/commands/StopInferenceSchedulerCommand.js +0 -25
  23. package/dist-cjs/commands/TagResourceCommand.js +0 -29
  24. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  25. package/dist-cjs/commands/UpdateInferenceSchedulerCommand.js +0 -25
  26. package/dist-cjs/commands/index.js +25 -0
  27. package/dist-cjs/endpoints.js +1 -2
  28. package/dist-cjs/index.js +4 -31
  29. package/dist-cjs/models/index.js +0 -1
  30. package/dist-cjs/models/models_0.js +0 -196
  31. package/dist-cjs/pagination/Interfaces.js +0 -1
  32. package/dist-cjs/pagination/ListDataIngestionJobsPaginator.js +0 -11
  33. package/dist-cjs/pagination/ListDatasetsPaginator.js +0 -11
  34. package/dist-cjs/pagination/ListInferenceExecutionsPaginator.js +0 -11
  35. package/dist-cjs/pagination/ListInferenceSchedulersPaginator.js +0 -11
  36. package/dist-cjs/pagination/ListModelsPaginator.js +0 -11
  37. package/dist-cjs/pagination/index.js +9 -0
  38. package/dist-cjs/protocols/Aws_json1_0.js +0 -6
  39. package/dist-cjs/runtimeConfig.browser.js +1 -6
  40. package/dist-cjs/runtimeConfig.js +2 -7
  41. package/dist-cjs/runtimeConfig.native.js +0 -4
  42. package/dist-cjs/runtimeConfig.shared.js +0 -4
  43. package/dist-es/LookoutEquipment.js +0 -1
  44. package/dist-es/LookoutEquipmentClient.js +0 -1
  45. package/dist-es/commands/CreateDatasetCommand.js +0 -1
  46. package/dist-es/commands/CreateInferenceSchedulerCommand.js +0 -1
  47. package/dist-es/commands/CreateModelCommand.js +0 -1
  48. package/dist-es/commands/DeleteDatasetCommand.js +0 -1
  49. package/dist-es/commands/DeleteInferenceSchedulerCommand.js +0 -1
  50. package/dist-es/commands/DeleteModelCommand.js +0 -1
  51. package/dist-es/commands/DescribeDataIngestionJobCommand.js +0 -1
  52. package/dist-es/commands/DescribeDatasetCommand.js +0 -1
  53. package/dist-es/commands/DescribeInferenceSchedulerCommand.js +0 -1
  54. package/dist-es/commands/DescribeModelCommand.js +0 -1
  55. package/dist-es/commands/ListDataIngestionJobsCommand.js +0 -1
  56. package/dist-es/commands/ListDatasetsCommand.js +0 -1
  57. package/dist-es/commands/ListInferenceExecutionsCommand.js +0 -1
  58. package/dist-es/commands/ListInferenceSchedulersCommand.js +0 -1
  59. package/dist-es/commands/ListModelsCommand.js +0 -1
  60. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  61. package/dist-es/commands/StartDataIngestionJobCommand.js +0 -1
  62. package/dist-es/commands/StartInferenceSchedulerCommand.js +0 -1
  63. package/dist-es/commands/StopInferenceSchedulerCommand.js +0 -1
  64. package/dist-es/commands/TagResourceCommand.js +0 -1
  65. package/dist-es/commands/UntagResourceCommand.js +0 -1
  66. package/dist-es/commands/UpdateInferenceSchedulerCommand.js +0 -1
  67. package/dist-es/commands/index.js +22 -0
  68. package/dist-es/endpoints.js +1 -2
  69. package/dist-es/index.js +4 -31
  70. package/dist-es/models/index.js +0 -1
  71. package/dist-es/models/models_0.js +0 -1
  72. package/dist-es/pagination/Interfaces.js +0 -1
  73. package/dist-es/pagination/ListDataIngestionJobsPaginator.js +0 -1
  74. package/dist-es/pagination/ListDatasetsPaginator.js +0 -1
  75. package/dist-es/pagination/ListInferenceExecutionsPaginator.js +0 -1
  76. package/dist-es/pagination/ListInferenceSchedulersPaginator.js +0 -1
  77. package/dist-es/pagination/ListModelsPaginator.js +0 -1
  78. package/dist-es/pagination/index.js +6 -0
  79. package/dist-es/protocols/Aws_json1_0.js +0 -1
  80. package/dist-es/runtimeConfig.browser.js +1 -2
  81. package/dist-es/runtimeConfig.js +2 -3
  82. package/dist-es/runtimeConfig.native.js +0 -1
  83. package/dist-es/runtimeConfig.shared.js +0 -1
  84. package/dist-types/commands/index.d.ts +22 -0
  85. package/dist-types/index.d.ts +4 -30
  86. package/dist-types/pagination/index.d.ts +6 -0
  87. package/dist-types/ts3.4/LookoutEquipment.d.ts +23 -103
  88. package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +24 -90
  89. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +2 -23
  90. package/dist-types/ts3.4/commands/CreateInferenceSchedulerCommand.d.ts +2 -24
  91. package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +2 -28
  92. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +2 -24
  93. package/dist-types/ts3.4/commands/DeleteInferenceSchedulerCommand.d.ts +2 -21
  94. package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -21
  95. package/dist-types/ts3.4/commands/DescribeDataIngestionJobCommand.d.ts +2 -21
  96. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DescribeInferenceSchedulerCommand.d.ts +2 -21
  98. package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +2 -21
  99. package/dist-types/ts3.4/commands/ListDataIngestionJobsCommand.d.ts +2 -21
  100. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/ListInferenceExecutionsCommand.d.ts +2 -21
  102. package/dist-types/ts3.4/commands/ListInferenceSchedulersCommand.d.ts +2 -21
  103. package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +2 -21
  104. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/StartDataIngestionJobCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/StartInferenceSchedulerCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/StopInferenceSchedulerCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
  109. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/UpdateInferenceSchedulerCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/index.d.ts +22 -0
  112. package/dist-types/ts3.4/index.d.ts +4 -30
  113. package/dist-types/ts3.4/models/models_0.d.ts +302 -1080
  114. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  115. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  116. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  117. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  118. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  119. package/package.json +33 -30
  120. package/dist-cjs/LookoutEquipment.js.map +0 -1
  121. package/dist-cjs/LookoutEquipmentClient.js.map +0 -1
  122. package/dist-cjs/commands/CreateDatasetCommand.js.map +0 -1
  123. package/dist-cjs/commands/CreateInferenceSchedulerCommand.js.map +0 -1
  124. package/dist-cjs/commands/CreateModelCommand.js.map +0 -1
  125. package/dist-cjs/commands/DeleteDatasetCommand.js.map +0 -1
  126. package/dist-cjs/commands/DeleteInferenceSchedulerCommand.js.map +0 -1
  127. package/dist-cjs/commands/DeleteModelCommand.js.map +0 -1
  128. package/dist-cjs/commands/DescribeDataIngestionJobCommand.js.map +0 -1
  129. package/dist-cjs/commands/DescribeDatasetCommand.js.map +0 -1
  130. package/dist-cjs/commands/DescribeInferenceSchedulerCommand.js.map +0 -1
  131. package/dist-cjs/commands/DescribeModelCommand.js.map +0 -1
  132. package/dist-cjs/commands/ListDataIngestionJobsCommand.js.map +0 -1
  133. package/dist-cjs/commands/ListDatasetsCommand.js.map +0 -1
  134. package/dist-cjs/commands/ListInferenceExecutionsCommand.js.map +0 -1
  135. package/dist-cjs/commands/ListInferenceSchedulersCommand.js.map +0 -1
  136. package/dist-cjs/commands/ListModelsCommand.js.map +0 -1
  137. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  138. package/dist-cjs/commands/StartDataIngestionJobCommand.js.map +0 -1
  139. package/dist-cjs/commands/StartInferenceSchedulerCommand.js.map +0 -1
  140. package/dist-cjs/commands/StopInferenceSchedulerCommand.js.map +0 -1
  141. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  142. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  143. package/dist-cjs/commands/UpdateInferenceSchedulerCommand.js.map +0 -1
  144. package/dist-cjs/endpoints.js.map +0 -1
  145. package/dist-cjs/index.js.map +0 -1
  146. package/dist-cjs/models/index.js.map +0 -1
  147. package/dist-cjs/models/models_0.js.map +0 -1
  148. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  149. package/dist-cjs/pagination/ListDataIngestionJobsPaginator.js.map +0 -1
  150. package/dist-cjs/pagination/ListDatasetsPaginator.js.map +0 -1
  151. package/dist-cjs/pagination/ListInferenceExecutionsPaginator.js.map +0 -1
  152. package/dist-cjs/pagination/ListInferenceSchedulersPaginator.js.map +0 -1
  153. package/dist-cjs/pagination/ListModelsPaginator.js.map +0 -1
  154. package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
  155. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  156. package/dist-cjs/runtimeConfig.js.map +0 -1
  157. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  158. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  159. package/dist-es/LookoutEquipment.js.map +0 -1
  160. package/dist-es/LookoutEquipmentClient.js.map +0 -1
  161. package/dist-es/commands/CreateDatasetCommand.js.map +0 -1
  162. package/dist-es/commands/CreateInferenceSchedulerCommand.js.map +0 -1
  163. package/dist-es/commands/CreateModelCommand.js.map +0 -1
  164. package/dist-es/commands/DeleteDatasetCommand.js.map +0 -1
  165. package/dist-es/commands/DeleteInferenceSchedulerCommand.js.map +0 -1
  166. package/dist-es/commands/DeleteModelCommand.js.map +0 -1
  167. package/dist-es/commands/DescribeDataIngestionJobCommand.js.map +0 -1
  168. package/dist-es/commands/DescribeDatasetCommand.js.map +0 -1
  169. package/dist-es/commands/DescribeInferenceSchedulerCommand.js.map +0 -1
  170. package/dist-es/commands/DescribeModelCommand.js.map +0 -1
  171. package/dist-es/commands/ListDataIngestionJobsCommand.js.map +0 -1
  172. package/dist-es/commands/ListDatasetsCommand.js.map +0 -1
  173. package/dist-es/commands/ListInferenceExecutionsCommand.js.map +0 -1
  174. package/dist-es/commands/ListInferenceSchedulersCommand.js.map +0 -1
  175. package/dist-es/commands/ListModelsCommand.js.map +0 -1
  176. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  177. package/dist-es/commands/StartDataIngestionJobCommand.js.map +0 -1
  178. package/dist-es/commands/StartInferenceSchedulerCommand.js.map +0 -1
  179. package/dist-es/commands/StopInferenceSchedulerCommand.js.map +0 -1
  180. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  181. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  182. package/dist-es/commands/UpdateInferenceSchedulerCommand.js.map +0 -1
  183. package/dist-es/endpoints.js.map +0 -1
  184. package/dist-es/index.js.map +0 -1
  185. package/dist-es/models/index.js.map +0 -1
  186. package/dist-es/models/models_0.js.map +0 -1
  187. package/dist-es/pagination/Interfaces.js.map +0 -1
  188. package/dist-es/pagination/ListDataIngestionJobsPaginator.js.map +0 -1
  189. package/dist-es/pagination/ListDatasetsPaginator.js.map +0 -1
  190. package/dist-es/pagination/ListInferenceExecutionsPaginator.js.map +0 -1
  191. package/dist-es/pagination/ListInferenceSchedulersPaginator.js.map +0 -1
  192. package/dist-es/pagination/ListModelsPaginator.js.map +0 -1
  193. package/dist-es/protocols/Aws_json1_0.js.map +0 -1
  194. package/dist-es/runtimeConfig.browser.js.map +0 -1
  195. package/dist-es/runtimeConfig.js.map +0 -1
  196. package/dist-es/runtimeConfig.native.js.map +0 -1
  197. package/dist-es/runtimeConfig.shared.js.map +0 -1
  198. package/jest.config.js +0 -4
  199. package/src/LookoutEquipment.ts +0 -813
  200. package/src/LookoutEquipmentClient.ts +0 -339
  201. package/src/commands/CreateDatasetCommand.ts +0 -98
  202. package/src/commands/CreateInferenceSchedulerCommand.ts +0 -99
  203. package/src/commands/CreateModelCommand.ts +0 -103
  204. package/src/commands/DeleteDatasetCommand.ts +0 -99
  205. package/src/commands/DeleteInferenceSchedulerCommand.ts +0 -96
  206. package/src/commands/DeleteModelCommand.ts +0 -96
  207. package/src/commands/DescribeDataIngestionJobCommand.ts +0 -96
  208. package/src/commands/DescribeDatasetCommand.ts +0 -95
  209. package/src/commands/DescribeInferenceSchedulerCommand.ts +0 -99
  210. package/src/commands/DescribeModelCommand.ts +0 -96
  211. package/src/commands/ListDataIngestionJobsCommand.ts +0 -96
  212. package/src/commands/ListDatasetsCommand.ts +0 -96
  213. package/src/commands/ListInferenceExecutionsCommand.ts +0 -96
  214. package/src/commands/ListInferenceSchedulersCommand.ts +0 -96
  215. package/src/commands/ListModelsCommand.ts +0 -96
  216. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  217. package/src/commands/StartDataIngestionJobCommand.ts +0 -95
  218. package/src/commands/StartInferenceSchedulerCommand.ts +0 -95
  219. package/src/commands/StopInferenceSchedulerCommand.ts +0 -95
  220. package/src/commands/TagResourceCommand.ts +0 -99
  221. package/src/commands/UntagResourceCommand.ts +0 -95
  222. package/src/commands/UpdateInferenceSchedulerCommand.ts +0 -95
  223. package/src/endpoints.ts +0 -57
  224. package/src/index.ts +0 -31
  225. package/src/models/index.ts +0 -1
  226. package/src/models/models_0.ts +0 -2107
  227. package/src/pagination/Interfaces.ts +0 -8
  228. package/src/pagination/ListDataIngestionJobsPaginator.ts +0 -59
  229. package/src/pagination/ListDatasetsPaginator.ts +0 -59
  230. package/src/pagination/ListInferenceExecutionsPaginator.ts +0 -59
  231. package/src/pagination/ListInferenceSchedulersPaginator.ts +0 -59
  232. package/src/pagination/ListModelsPaginator.ts +0 -55
  233. package/src/protocols/Aws_json1_0.ts +0 -3644
  234. package/src/runtimeConfig.browser.ts +0 -41
  235. package/src/runtimeConfig.native.ts +0 -17
  236. package/src/runtimeConfig.shared.ts +0 -17
  237. package/src/runtimeConfig.ts +0 -46
  238. package/tsconfig.es.json +0 -10
  239. package/tsconfig.json +0 -33
  240. 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
- }