@aws-sdk/client-data-pipeline 3.32.0 → 3.36.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 (263) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/DataPipeline.js +1 -2
  3. package/{dist/cjs → dist-cjs}/DataPipelineClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/ActivatePipelineCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreatePipelineCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/DeactivatePipelineCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/DeletePipelineCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DescribeObjectsCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DescribePipelinesCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/EvaluateExpressionCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/GetPipelineDefinitionCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/ListPipelinesCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/PollForTaskCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/PutPipelineDefinitionCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/QueryObjectsCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/ReportTaskProgressCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/ReportTaskRunnerHeartbeatCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/SetStatusCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/SetTaskStatusCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/ValidatePipelineDefinitionCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  24. package/{dist/cjs → dist-cjs}/index.js +0 -1
  25. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  26. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  27. package/{dist/cjs → dist-cjs}/pagination/DescribeObjectsPaginator.js +1 -2
  28. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  29. package/{dist/cjs → dist-cjs}/pagination/ListPipelinesPaginator.js +1 -2
  30. package/{dist/cjs → dist-cjs}/pagination/QueryObjectsPaginator.js +1 -2
  31. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  33. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  34. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  35. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  36. package/{dist/es → dist-es}/DataPipeline.js +2 -22
  37. package/dist-es/DataPipelineClient.js +37 -0
  38. package/dist-es/commands/ActivatePipelineCommand.js +39 -0
  39. package/{dist/es → dist-es}/commands/AddTagsCommand.js +4 -30
  40. package/dist-es/commands/CreatePipelineCommand.js +39 -0
  41. package/{dist/es → dist-es}/commands/DeactivatePipelineCommand.js +4 -33
  42. package/dist-es/commands/DeletePipelineCommand.js +39 -0
  43. package/dist-es/commands/DescribeObjectsCommand.js +39 -0
  44. package/dist-es/commands/DescribePipelinesCommand.js +39 -0
  45. package/dist-es/commands/EvaluateExpressionCommand.js +39 -0
  46. package/dist-es/commands/GetPipelineDefinitionCommand.js +39 -0
  47. package/dist-es/commands/ListPipelinesCommand.js +39 -0
  48. package/dist-es/commands/PollForTaskCommand.js +39 -0
  49. package/dist-es/commands/PutPipelineDefinitionCommand.js +39 -0
  50. package/dist-es/commands/QueryObjectsCommand.js +39 -0
  51. package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +4 -30
  52. package/dist-es/commands/ReportTaskProgressCommand.js +39 -0
  53. package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +39 -0
  54. package/dist-es/commands/SetStatusCommand.js +39 -0
  55. package/dist-es/commands/SetTaskStatusCommand.js +39 -0
  56. package/dist-es/commands/ValidatePipelineDefinitionCommand.js +39 -0
  57. package/{dist/es → dist-es}/endpoints.js +1 -2
  58. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  59. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  60. package/{dist/es → dist-es}/models/models_0.js +0 -169
  61. package/{dist/es → dist-es}/pagination/DescribeObjectsPaginator.js +17 -30
  62. package/dist-es/pagination/Interfaces.js +1 -0
  63. package/{dist/es → dist-es}/pagination/ListPipelinesPaginator.js +17 -30
  64. package/{dist/es → dist-es}/pagination/QueryObjectsPaginator.js +17 -30
  65. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +424 -430
  66. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  67. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  68. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  69. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  70. package/{dist/types → dist-types}/DataPipeline.d.ts +2 -2
  71. package/{dist/types → dist-types}/DataPipelineClient.d.ts +8 -8
  72. package/{dist/types → dist-types}/commands/ActivatePipelineCommand.d.ts +2 -2
  73. package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/commands/CreatePipelineCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/commands/DeactivatePipelineCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/commands/DeletePipelineCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/commands/DescribeObjectsCommand.d.ts +2 -2
  78. package/{dist/types → dist-types}/commands/DescribePipelinesCommand.d.ts +2 -2
  79. package/{dist/types → dist-types}/commands/EvaluateExpressionCommand.d.ts +2 -2
  80. package/{dist/types → dist-types}/commands/GetPipelineDefinitionCommand.d.ts +2 -2
  81. package/{dist/types → dist-types}/commands/ListPipelinesCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/commands/PollForTaskCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/commands/PutPipelineDefinitionCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/commands/QueryObjectsCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/commands/RemoveTagsCommand.d.ts +2 -2
  86. package/{dist/types → dist-types}/commands/ReportTaskProgressCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/ReportTaskRunnerHeartbeatCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/SetStatusCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/SetTaskStatusCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/commands/ValidatePipelineDefinitionCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  92. package/{index.ts → dist-types/index.d.ts} +0 -0
  93. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  94. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  95. package/{dist/types → dist-types}/pagination/DescribeObjectsPaginator.d.ts +1 -1
  96. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  97. package/{dist/types → dist-types}/pagination/ListPipelinesPaginator.d.ts +1 -1
  98. package/{dist/types → dist-types}/pagination/QueryObjectsPaginator.d.ts +1 -1
  99. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  100. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  101. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  102. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  103. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  104. package/{dist/types → dist-types}/ts3.4/DataPipeline.d.ts +2 -2
  105. package/{dist/types → dist-types}/ts3.4/DataPipelineClient.d.ts +8 -8
  106. package/{dist/types → dist-types}/ts3.4/commands/ActivatePipelineCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/ts3.4/commands/AddTagsCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/ts3.4/commands/CreatePipelineCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/ts3.4/commands/DeactivatePipelineCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/ts3.4/commands/DeletePipelineCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/ts3.4/commands/DescribeObjectsCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/ts3.4/commands/DescribePipelinesCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/ts3.4/commands/EvaluateExpressionCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/ts3.4/commands/ListPipelinesCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/ts3.4/commands/PollForTaskCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/ts3.4/commands/QueryObjectsCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/ts3.4/commands/ReportTaskProgressCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/ts3.4/commands/SetStatusCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/ts3.4/commands/SetTaskStatusCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  126. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  127. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  128. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  129. package/{dist/types → dist-types}/ts3.4/pagination/DescribeObjectsPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  131. package/{dist/types → dist-types}/ts3.4/pagination/ListPipelinesPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/ts3.4/pagination/QueryObjectsPaginator.d.ts +1 -1
  133. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  134. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  135. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  136. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  137. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  138. package/package.json +52 -49
  139. package/DataPipeline.ts +0 -1578
  140. package/DataPipelineClient.ts +0 -320
  141. package/commands/ActivatePipelineCommand.ts +0 -124
  142. package/commands/AddTagsCommand.ts +0 -91
  143. package/commands/CreatePipelineCommand.ts +0 -124
  144. package/commands/DeactivatePipelineCommand.ts +0 -97
  145. package/commands/DeletePipelineCommand.ts +0 -125
  146. package/commands/DescribeObjectsCommand.ts +0 -152
  147. package/commands/DescribePipelinesCommand.ts +0 -155
  148. package/commands/EvaluateExpressionCommand.ts +0 -124
  149. package/commands/GetPipelineDefinitionCommand.ts +0 -158
  150. package/commands/ListPipelinesCommand.ts +0 -125
  151. package/commands/PollForTaskCommand.ts +0 -172
  152. package/commands/PutPipelineDefinitionCommand.ts +0 -253
  153. package/commands/QueryObjectsCommand.ts +0 -132
  154. package/commands/RemoveTagsCommand.ts +0 -94
  155. package/commands/ReportTaskProgressCommand.ts +0 -131
  156. package/commands/ReportTaskRunnerHeartbeatCommand.ts +0 -129
  157. package/commands/SetStatusCommand.ts +0 -123
  158. package/commands/SetTaskStatusCommand.ts +0 -124
  159. package/commands/ValidatePipelineDefinitionCommand.ts +0 -248
  160. package/dist/cjs/DataPipeline.js.map +0 -1
  161. package/dist/cjs/DataPipelineClient.js.map +0 -1
  162. package/dist/cjs/commands/ActivatePipelineCommand.js.map +0 -1
  163. package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
  164. package/dist/cjs/commands/CreatePipelineCommand.js.map +0 -1
  165. package/dist/cjs/commands/DeactivatePipelineCommand.js.map +0 -1
  166. package/dist/cjs/commands/DeletePipelineCommand.js.map +0 -1
  167. package/dist/cjs/commands/DescribeObjectsCommand.js.map +0 -1
  168. package/dist/cjs/commands/DescribePipelinesCommand.js.map +0 -1
  169. package/dist/cjs/commands/EvaluateExpressionCommand.js.map +0 -1
  170. package/dist/cjs/commands/GetPipelineDefinitionCommand.js.map +0 -1
  171. package/dist/cjs/commands/ListPipelinesCommand.js.map +0 -1
  172. package/dist/cjs/commands/PollForTaskCommand.js.map +0 -1
  173. package/dist/cjs/commands/PutPipelineDefinitionCommand.js.map +0 -1
  174. package/dist/cjs/commands/QueryObjectsCommand.js.map +0 -1
  175. package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
  176. package/dist/cjs/commands/ReportTaskProgressCommand.js.map +0 -1
  177. package/dist/cjs/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
  178. package/dist/cjs/commands/SetStatusCommand.js.map +0 -1
  179. package/dist/cjs/commands/SetTaskStatusCommand.js.map +0 -1
  180. package/dist/cjs/commands/ValidatePipelineDefinitionCommand.js.map +0 -1
  181. package/dist/cjs/endpoints.js.map +0 -1
  182. package/dist/cjs/index.js.map +0 -1
  183. package/dist/cjs/models/index.js.map +0 -1
  184. package/dist/cjs/models/models_0.js.map +0 -1
  185. package/dist/cjs/package.json +0 -91
  186. package/dist/cjs/pagination/DescribeObjectsPaginator.js.map +0 -1
  187. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  188. package/dist/cjs/pagination/ListPipelinesPaginator.js.map +0 -1
  189. package/dist/cjs/pagination/QueryObjectsPaginator.js.map +0 -1
  190. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  191. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  192. package/dist/cjs/runtimeConfig.js.map +0 -1
  193. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  194. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  195. package/dist/es/DataPipeline.js.map +0 -1
  196. package/dist/es/DataPipelineClient.js +0 -62
  197. package/dist/es/DataPipelineClient.js.map +0 -1
  198. package/dist/es/commands/ActivatePipelineCommand.js +0 -95
  199. package/dist/es/commands/ActivatePipelineCommand.js.map +0 -1
  200. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  201. package/dist/es/commands/CreatePipelineCommand.js +0 -95
  202. package/dist/es/commands/CreatePipelineCommand.js.map +0 -1
  203. package/dist/es/commands/DeactivatePipelineCommand.js.map +0 -1
  204. package/dist/es/commands/DeletePipelineCommand.js +0 -96
  205. package/dist/es/commands/DeletePipelineCommand.js.map +0 -1
  206. package/dist/es/commands/DescribeObjectsCommand.js +0 -123
  207. package/dist/es/commands/DescribeObjectsCommand.js.map +0 -1
  208. package/dist/es/commands/DescribePipelinesCommand.js +0 -126
  209. package/dist/es/commands/DescribePipelinesCommand.js.map +0 -1
  210. package/dist/es/commands/EvaluateExpressionCommand.js +0 -95
  211. package/dist/es/commands/EvaluateExpressionCommand.js.map +0 -1
  212. package/dist/es/commands/GetPipelineDefinitionCommand.js +0 -129
  213. package/dist/es/commands/GetPipelineDefinitionCommand.js.map +0 -1
  214. package/dist/es/commands/ListPipelinesCommand.js +0 -96
  215. package/dist/es/commands/ListPipelinesCommand.js.map +0 -1
  216. package/dist/es/commands/PollForTaskCommand.js +0 -143
  217. package/dist/es/commands/PollForTaskCommand.js.map +0 -1
  218. package/dist/es/commands/PutPipelineDefinitionCommand.js +0 -224
  219. package/dist/es/commands/PutPipelineDefinitionCommand.js.map +0 -1
  220. package/dist/es/commands/QueryObjectsCommand.js +0 -103
  221. package/dist/es/commands/QueryObjectsCommand.js.map +0 -1
  222. package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
  223. package/dist/es/commands/ReportTaskProgressCommand.js +0 -102
  224. package/dist/es/commands/ReportTaskProgressCommand.js.map +0 -1
  225. package/dist/es/commands/ReportTaskRunnerHeartbeatCommand.js +0 -97
  226. package/dist/es/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
  227. package/dist/es/commands/SetStatusCommand.js +0 -97
  228. package/dist/es/commands/SetStatusCommand.js.map +0 -1
  229. package/dist/es/commands/SetTaskStatusCommand.js +0 -95
  230. package/dist/es/commands/SetTaskStatusCommand.js.map +0 -1
  231. package/dist/es/commands/ValidatePipelineDefinitionCommand.js +0 -216
  232. package/dist/es/commands/ValidatePipelineDefinitionCommand.js.map +0 -1
  233. package/dist/es/endpoints.js.map +0 -1
  234. package/dist/es/index.js +0 -27
  235. package/dist/es/index.js.map +0 -1
  236. package/dist/es/models/index.js +0 -2
  237. package/dist/es/models/index.js.map +0 -1
  238. package/dist/es/models/models_0.js.map +0 -1
  239. package/dist/es/package.json +0 -91
  240. package/dist/es/pagination/DescribeObjectsPaginator.js.map +0 -1
  241. package/dist/es/pagination/Interfaces.js +0 -2
  242. package/dist/es/pagination/Interfaces.js.map +0 -1
  243. package/dist/es/pagination/ListPipelinesPaginator.js.map +0 -1
  244. package/dist/es/pagination/QueryObjectsPaginator.js.map +0 -1
  245. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  246. package/dist/es/runtimeConfig.browser.js.map +0 -1
  247. package/dist/es/runtimeConfig.js.map +0 -1
  248. package/dist/es/runtimeConfig.native.js.map +0 -1
  249. package/dist/es/runtimeConfig.shared.js.map +0 -1
  250. package/endpoints.ts +0 -57
  251. package/jest.config.js +0 -4
  252. package/models/models_0.ts +0 -1480
  253. package/pagination/DescribeObjectsPaginator.ts +0 -57
  254. package/pagination/Interfaces.ts +0 -7
  255. package/pagination/ListPipelinesPaginator.ts +0 -57
  256. package/pagination/QueryObjectsPaginator.ts +0 -58
  257. package/protocols/Aws_json1_1.ts +0 -2766
  258. package/runtimeConfig.browser.ts +0 -40
  259. package/runtimeConfig.native.ts +0 -16
  260. package/runtimeConfig.shared.ts +0 -16
  261. package/runtimeConfig.ts +0 -45
  262. package/tsconfig.es.json +0 -12
  263. package/tsconfig.json +0 -32
@@ -1,253 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { PutPipelineDefinitionInput, PutPipelineDefinitionOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1PutPipelineDefinitionCommand,
5
- serializeAws_json1_1PutPipelineDefinitionCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface PutPipelineDefinitionCommandInput extends PutPipelineDefinitionInput {}
21
- export interface PutPipelineDefinitionCommandOutput extends PutPipelineDefinitionOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds tasks, schedules, and preconditions to the specified pipeline. You can use <code>PutPipelineDefinition</code> to populate a new pipeline.</p>
25
- * <p>
26
- * <code>PutPipelineDefinition</code> also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one
27
- * of the following three validation errors exists in the pipeline.
28
- * </p>
29
- * <ol>
30
- * <li>An object is missing a name or identifier field.</li>
31
- * <li>A string or reference field is empty.</li>
32
- * <li>The number of objects in the pipeline exceeds the maximum allowed objects.</li>
33
- * <li>The pipeline is in a FINISHED state.</li>
34
- * </ol>
35
- * <p>
36
- * Pipeline object definitions are passed to the <code>PutPipelineDefinition</code> action and returned by the <a>GetPipelineDefinition</a> action.
37
- * </p>
38
- * <examples>
39
- * <example>
40
- * <name>Example 1</name>
41
- * <description>
42
- * This example sets an valid pipeline configuration and returns success.
43
- * </description>
44
- * <request>
45
- *
46
- * POST / HTTP/1.1
47
- * Content-Type: application/x-amz-json-1.1
48
- * X-Amz-Target: DataPipeline.PutPipelineDefinition
49
- * Content-Length: 914
50
- * Host: datapipeline.us-east-1.amazonaws.com
51
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
52
- * Authorization: AuthParams
53
- *
54
- * {"pipelineId": "df-0937003356ZJEXAMPLE",
55
- * "pipelineObjects":
56
- * [
57
- * {"id": "Default",
58
- * "name": "Default",
59
- * "fields":
60
- * [
61
- * {"key": "workerGroup",
62
- * "stringValue": "workerGroup"}
63
- * ]
64
- * },
65
- * {"id": "Schedule",
66
- * "name": "Schedule",
67
- * "fields":
68
- * [
69
- * {"key": "startDateTime",
70
- * "stringValue": "2012-12-12T00:00:00"},
71
- * {"key": "type",
72
- * "stringValue": "Schedule"},
73
- * {"key": "period",
74
- * "stringValue": "1 hour"},
75
- * {"key": "endDateTime",
76
- * "stringValue": "2012-12-21T18:00:00"}
77
- * ]
78
- * },
79
- * {"id": "SayHello",
80
- * "name": "SayHello",
81
- * "fields":
82
- * [
83
- * {"key": "type",
84
- * "stringValue": "ShellCommandActivity"},
85
- * {"key": "command",
86
- * "stringValue": "echo hello"},
87
- * {"key": "parent",
88
- * "refValue": "Default"},
89
- * {"key": "schedule",
90
- * "refValue": "Schedule"}
91
- * ]
92
- * }
93
- * ]
94
- * }
95
- *
96
- * </request>
97
- * <response>
98
- *
99
- * HTTP/1.1 200
100
- * x-amzn-RequestId: f74afc14-0754-11e2-af6f-6bc7a6be60d9
101
- * Content-Type: application/x-amz-json-1.1
102
- * Content-Length: 18
103
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
104
- *
105
- * {"errored": false}
106
- *
107
- *
108
- * </response>
109
- * </example>
110
- * <example>
111
- * <name>Example 2</name>
112
- * <description>
113
- * This example sets an invalid pipeline configuration (the value for <code>workerGroup</code> is an empty string) and returns an error message.
114
- * </description>
115
- * <request>
116
- *
117
- * POST / HTTP/1.1
118
- * Content-Type: application/x-amz-json-1.1
119
- * X-Amz-Target: DataPipeline.PutPipelineDefinition
120
- * Content-Length: 903
121
- * Host: datapipeline.us-east-1.amazonaws.com
122
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
123
- * Authorization: AuthParams
124
- *
125
- * {"pipelineId": "df-06372391ZG65EXAMPLE",
126
- * "pipelineObjects":
127
- * [
128
- * {"id": "Default",
129
- * "name": "Default",
130
- * "fields":
131
- * [
132
- * {"key": "workerGroup",
133
- * "stringValue": ""}
134
- * ]
135
- * },
136
- * {"id": "Schedule",
137
- * "name": "Schedule",
138
- * "fields":
139
- * [
140
- * {"key": "startDateTime",
141
- * "stringValue": "2012-09-25T17:00:00"},
142
- * {"key": "type",
143
- * "stringValue": "Schedule"},
144
- * {"key": "period",
145
- * "stringValue": "1 hour"},
146
- * {"key": "endDateTime",
147
- * "stringValue": "2012-09-25T18:00:00"}
148
- * ]
149
- * },
150
- * {"id": "SayHello",
151
- * "name": "SayHello",
152
- * "fields":
153
- * [
154
- * {"key": "type",
155
- * "stringValue": "ShellCommandActivity"},
156
- * {"key": "command",
157
- * "stringValue": "echo hello"},
158
- * {"key": "parent",
159
- * "refValue": "Default"},
160
- * {"key": "schedule",
161
- * "refValue": "Schedule"}
162
- *
163
- * ]
164
- * }
165
- * ]
166
- * }
167
- *
168
- * </request>
169
- * <response>
170
- *
171
- * HTTP/1.1 200
172
- * x-amzn-RequestId: f74afc14-0754-11e2-af6f-6bc7a6be60d9
173
- * Content-Type: application/x-amz-json-1.1
174
- * Content-Length: 18
175
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
176
- *
177
- * {"__type": "com.amazon.setl.webservice#InvalidRequestException",
178
- * "message": "Pipeline definition has errors: Could not save the pipeline definition due to FATAL errors: [com.amazon.setl.webservice.ValidationError@108d7ea9] Please call Validate to validate your pipeline"}
179
- *
180
- *
181
- * </response>
182
- * </example>
183
- * </examples>
184
- * @example
185
- * Use a bare-bones client and the command you need to make an API call.
186
- * ```javascript
187
- * import { DataPipelineClient, PutPipelineDefinitionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
188
- * // const { DataPipelineClient, PutPipelineDefinitionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
189
- * const client = new DataPipelineClient(config);
190
- * const command = new PutPipelineDefinitionCommand(input);
191
- * const response = await client.send(command);
192
- * ```
193
- *
194
- * @see {@link PutPipelineDefinitionCommandInput} for command's `input` shape.
195
- * @see {@link PutPipelineDefinitionCommandOutput} for command's `response` shape.
196
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
197
- *
198
- */
199
- export class PutPipelineDefinitionCommand extends $Command<
200
- PutPipelineDefinitionCommandInput,
201
- PutPipelineDefinitionCommandOutput,
202
- DataPipelineClientResolvedConfig
203
- > {
204
- // Start section: command_properties
205
- // End section: command_properties
206
-
207
- constructor(readonly input: PutPipelineDefinitionCommandInput) {
208
- // Start section: command_constructor
209
- super();
210
- // End section: command_constructor
211
- }
212
-
213
- /**
214
- * @internal
215
- */
216
- resolveMiddleware(
217
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
218
- configuration: DataPipelineClientResolvedConfig,
219
- options?: __HttpHandlerOptions
220
- ): Handler<PutPipelineDefinitionCommandInput, PutPipelineDefinitionCommandOutput> {
221
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
222
-
223
- const stack = clientStack.concat(this.middlewareStack);
224
-
225
- const { logger } = configuration;
226
- const clientName = "DataPipelineClient";
227
- const commandName = "PutPipelineDefinitionCommand";
228
- const handlerExecutionContext: HandlerExecutionContext = {
229
- logger,
230
- clientName,
231
- commandName,
232
- inputFilterSensitiveLog: PutPipelineDefinitionInput.filterSensitiveLog,
233
- outputFilterSensitiveLog: PutPipelineDefinitionOutput.filterSensitiveLog,
234
- };
235
- const { requestHandler } = configuration;
236
- return stack.resolve(
237
- (request: FinalizeHandlerArguments<any>) =>
238
- requestHandler.handle(request.request as __HttpRequest, options || {}),
239
- handlerExecutionContext
240
- );
241
- }
242
-
243
- private serialize(input: PutPipelineDefinitionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
244
- return serializeAws_json1_1PutPipelineDefinitionCommand(input, context);
245
- }
246
-
247
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutPipelineDefinitionCommandOutput> {
248
- return deserializeAws_json1_1PutPipelineDefinitionCommand(output, context);
249
- }
250
-
251
- // Start section: command_body_extra
252
- // End section: command_body_extra
253
- }
@@ -1,132 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { QueryObjectsInput, QueryObjectsOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1QueryObjectsCommand,
5
- serializeAws_json1_1QueryObjectsCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface QueryObjectsCommandInput extends QueryObjectsInput {}
21
- export interface QueryObjectsCommandOutput extends QueryObjectsOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Queries the specified pipeline for the names of objects that match the specified set of conditions.</p>
25
- *
26
- * <examples>
27
- * <request>
28
- *
29
- * POST / HTTP/1.1
30
- * Content-Type: application/x-amz-json-1.1
31
- * X-Amz-Target: DataPipeline.QueryObjects
32
- * Content-Length: 123
33
- * Host: datapipeline.us-east-1.amazonaws.com
34
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
35
- * Authorization: AuthParams
36
- *
37
- * {"pipelineId": "df-06372391ZG65EXAMPLE",
38
- * "query":
39
- * {"selectors":
40
- * [
41
- * ]
42
- * },
43
- * "sphere": "INSTANCE",
44
- * "marker": "",
45
- * "limit": 10}
46
- *
47
- * </request>
48
- *
49
- *
50
- * <response>
51
- *
52
- * x-amzn-RequestId: 14d704c1-0775-11e2-af6f-6bc7a6be60d9
53
- * Content-Type: application/x-amz-json-1.1
54
- * Content-Length: 72
55
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
56
- *
57
- * {"hasMoreResults": false,
58
- * "ids":
59
- * ["@SayHello_1_2012-09-25T17:00:00"]
60
- * }
61
- * </response>
62
- * </examples>
63
- * @example
64
- * Use a bare-bones client and the command you need to make an API call.
65
- * ```javascript
66
- * import { DataPipelineClient, QueryObjectsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
67
- * // const { DataPipelineClient, QueryObjectsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
68
- * const client = new DataPipelineClient(config);
69
- * const command = new QueryObjectsCommand(input);
70
- * const response = await client.send(command);
71
- * ```
72
- *
73
- * @see {@link QueryObjectsCommandInput} for command's `input` shape.
74
- * @see {@link QueryObjectsCommandOutput} for command's `response` shape.
75
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
76
- *
77
- */
78
- export class QueryObjectsCommand extends $Command<
79
- QueryObjectsCommandInput,
80
- QueryObjectsCommandOutput,
81
- DataPipelineClientResolvedConfig
82
- > {
83
- // Start section: command_properties
84
- // End section: command_properties
85
-
86
- constructor(readonly input: QueryObjectsCommandInput) {
87
- // Start section: command_constructor
88
- super();
89
- // End section: command_constructor
90
- }
91
-
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(
96
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
97
- configuration: DataPipelineClientResolvedConfig,
98
- options?: __HttpHandlerOptions
99
- ): Handler<QueryObjectsCommandInput, QueryObjectsCommandOutput> {
100
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
101
-
102
- const stack = clientStack.concat(this.middlewareStack);
103
-
104
- const { logger } = configuration;
105
- const clientName = "DataPipelineClient";
106
- const commandName = "QueryObjectsCommand";
107
- const handlerExecutionContext: HandlerExecutionContext = {
108
- logger,
109
- clientName,
110
- commandName,
111
- inputFilterSensitiveLog: QueryObjectsInput.filterSensitiveLog,
112
- outputFilterSensitiveLog: QueryObjectsOutput.filterSensitiveLog,
113
- };
114
- const { requestHandler } = configuration;
115
- return stack.resolve(
116
- (request: FinalizeHandlerArguments<any>) =>
117
- requestHandler.handle(request.request as __HttpRequest, options || {}),
118
- handlerExecutionContext
119
- );
120
- }
121
-
122
- private serialize(input: QueryObjectsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
123
- return serializeAws_json1_1QueryObjectsCommand(input, context);
124
- }
125
-
126
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<QueryObjectsCommandOutput> {
127
- return deserializeAws_json1_1QueryObjectsCommand(output, context);
128
- }
129
-
130
- // Start section: command_body_extra
131
- // End section: command_body_extra
132
- }
@@ -1,94 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { RemoveTagsInput, RemoveTagsOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1RemoveTagsCommand,
5
- serializeAws_json1_1RemoveTagsCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface RemoveTagsCommandInput extends RemoveTagsInput {}
21
- export interface RemoveTagsCommandOutput extends RemoveTagsOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Removes existing tags from the specified pipeline.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { DataPipelineClient, RemoveTagsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
29
- * // const { DataPipelineClient, RemoveTagsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
30
- * const client = new DataPipelineClient(config);
31
- * const command = new RemoveTagsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link RemoveTagsCommandInput} for command's `input` shape.
36
- * @see {@link RemoveTagsCommandOutput} for command's `response` shape.
37
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class RemoveTagsCommand extends $Command<
41
- RemoveTagsCommandInput,
42
- RemoveTagsCommandOutput,
43
- DataPipelineClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: RemoveTagsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: DataPipelineClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<RemoveTagsCommandInput, RemoveTagsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "DataPipelineClient";
68
- const commandName = "RemoveTagsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: RemoveTagsInput.filterSensitiveLog,
74
- outputFilterSensitiveLog: RemoveTagsOutput.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: RemoveTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1RemoveTagsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RemoveTagsCommandOutput> {
89
- return deserializeAws_json1_1RemoveTagsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,131 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { ReportTaskProgressInput, ReportTaskProgressOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ReportTaskProgressCommand,
5
- serializeAws_json1_1ReportTaskProgressCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ReportTaskProgressCommandInput extends ReportTaskProgressInput {}
21
- export interface ReportTaskProgressCommandOutput extends ReportTaskProgressOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Task runners call <code>ReportTaskProgress</code> when assigned a task to acknowledge that it has the task. If the web service does not
25
- * receive this acknowledgement within 2 minutes, it assigns the task in a subsequent <a>PollForTask</a> call. After this initial acknowledgement,
26
- * the task runner only needs to report progress every 15 minutes to maintain its ownership of the task. You can change this reporting time
27
- * from 15 minutes by specifying a <code>reportProgressTimeout</code> field in your pipeline.</p>
28
- * <p>If a task runner does not report its status after 5 minutes, AWS Data Pipeline assumes that the task runner is unable to process the task
29
- * and reassigns the task in a subsequent response to <a>PollForTask</a>. Task runners should call <code>ReportTaskProgress</code> every 60 seconds.</p>
30
- * <examples>
31
- * <request>
32
- *
33
- * POST / HTTP/1.1
34
- * Content-Type: application/x-amz-json-1.1
35
- * X-Amz-Target: DataPipeline.ReportTaskProgress
36
- * Content-Length: 832
37
- * Host: datapipeline.us-east-1.amazonaws.com
38
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
39
- * Authorization: AuthParams
40
- *
41
- * {"taskId": "aaGgHT4LuH0T0Y0oLrJRjas5qH0d8cDPADxqq3tn+zCWGELkCdV2JprLreXm1oxeP5EFZHFLJ69kjSsLYE0iYHYBYVGBrB+E/pYq7ANEEeGJFnSBMRiXZVA+8UJ3OzcInvXeinqBmBaKwii7hnnKb/AXjXiNTXyxgydX1KAyg1AxkwBYG4cfPYMZbuEbQJFJvv5C/2+GVXz1w94nKYTeUeepwUOFOuRLS6JVtZoYwpF56E+Yfk1IcGpFOvCZ01B4Bkuu7x3J+MD/j6kJgZLAgbCJQtI3eiW3kdGmX0p0I2BdY1ZsX6b4UiSvM3OMj6NEHJCJL4E0ZfitnhCoe24Kvjo6C2hFbZq+ei/HPgSXBQMSagkr4vS9c0ChzxH2+LNYvec6bY4kymkaZI1dvOzmpa0FcnGf5AjSK4GpsViZ/ujz6zxFv81qBXzjF0/4M1775rjV1VUdyKaixiA/sJiACNezqZqETidp8d24BDPRhGsj6pBCrnelqGFrk/gXEXUsJ+xwMifRC8UVwiKekpAvHUywVk7Ku4jH/n3i2VoLRP6FXwpUbelu34iiZ9czpXyLtyPKwxa87dlrnRVURwkcVjOt2Mcrcaqe+cbWHvNRhyrPkkdfSF3ac8/wfgVbXvLEB2k9mKc67aD9rvdc1PKX09Tk8BKklsMTpZ3TRCd4NzQlJKigMe8Jat9+1tKj4Ole5ZzW6uyTu2s2iFjEV8KXu4MaiRJyNKCdKeGhhZWY37Qk4NBK4Ppgu+C6Y41dpfOh288SLDEVx0/UySlqOEdhba7c6BiPp5r3hKj3mk9lFy5OYp1aoGLeeFmjXveTnPdf2gkWqXXg7AUbJ7jEs1F0lKZQg4szep2gcKyAJXgvXLfJJHcha8Lfb/Ee7wYmyOcAaRpDBoFNSbtoVXar46teIrpho+ZDvynUXvU0grHWGOk=:wn3SgymHZM99bEXAMPLE",
42
- * "fields":
43
- * [
44
- * {"key": "percentComplete",
45
- * "stringValue": "50"}
46
- * ]
47
- * }
48
- *
49
- * </request>
50
- *
51
- * <response>
52
- *
53
- * x-amzn-RequestId: 640bd023-0775-11e2-af6f-6bc7a6be60d9
54
- * Content-Type: application/x-amz-json-1.1
55
- * Content-Length: 18
56
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
57
- *
58
- * {"canceled": false}
59
- *
60
- * </response>
61
- * </examples>
62
- * @example
63
- * Use a bare-bones client and the command you need to make an API call.
64
- * ```javascript
65
- * import { DataPipelineClient, ReportTaskProgressCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
66
- * // const { DataPipelineClient, ReportTaskProgressCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
67
- * const client = new DataPipelineClient(config);
68
- * const command = new ReportTaskProgressCommand(input);
69
- * const response = await client.send(command);
70
- * ```
71
- *
72
- * @see {@link ReportTaskProgressCommandInput} for command's `input` shape.
73
- * @see {@link ReportTaskProgressCommandOutput} for command's `response` shape.
74
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
75
- *
76
- */
77
- export class ReportTaskProgressCommand extends $Command<
78
- ReportTaskProgressCommandInput,
79
- ReportTaskProgressCommandOutput,
80
- DataPipelineClientResolvedConfig
81
- > {
82
- // Start section: command_properties
83
- // End section: command_properties
84
-
85
- constructor(readonly input: ReportTaskProgressCommandInput) {
86
- // Start section: command_constructor
87
- super();
88
- // End section: command_constructor
89
- }
90
-
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(
95
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
96
- configuration: DataPipelineClientResolvedConfig,
97
- options?: __HttpHandlerOptions
98
- ): Handler<ReportTaskProgressCommandInput, ReportTaskProgressCommandOutput> {
99
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
100
-
101
- const stack = clientStack.concat(this.middlewareStack);
102
-
103
- const { logger } = configuration;
104
- const clientName = "DataPipelineClient";
105
- const commandName = "ReportTaskProgressCommand";
106
- const handlerExecutionContext: HandlerExecutionContext = {
107
- logger,
108
- clientName,
109
- commandName,
110
- inputFilterSensitiveLog: ReportTaskProgressInput.filterSensitiveLog,
111
- outputFilterSensitiveLog: ReportTaskProgressOutput.filterSensitiveLog,
112
- };
113
- const { requestHandler } = configuration;
114
- return stack.resolve(
115
- (request: FinalizeHandlerArguments<any>) =>
116
- requestHandler.handle(request.request as __HttpRequest, options || {}),
117
- handlerExecutionContext
118
- );
119
- }
120
-
121
- private serialize(input: ReportTaskProgressCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
122
- return serializeAws_json1_1ReportTaskProgressCommand(input, context);
123
- }
124
-
125
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ReportTaskProgressCommandOutput> {
126
- return deserializeAws_json1_1ReportTaskProgressCommand(output, context);
127
- }
128
-
129
- // Start section: command_body_extra
130
- // End section: command_body_extra
131
- }