@aws-sdk/client-data-pipeline 3.34.0 → 3.37.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 (285) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/DataPipeline.js +1 -21
  3. package/dist-cjs/DataPipelineClient.js +35 -0
  4. package/dist-cjs/commands/ActivatePipelineCommand.js +36 -0
  5. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -27
  6. package/dist-cjs/commands/CreatePipelineCommand.js +36 -0
  7. package/{dist/cjs → dist-cjs}/commands/DeactivatePipelineCommand.js +2 -30
  8. package/dist-cjs/commands/DeletePipelineCommand.js +36 -0
  9. package/dist-cjs/commands/DescribeObjectsCommand.js +36 -0
  10. package/dist-cjs/commands/DescribePipelinesCommand.js +36 -0
  11. package/dist-cjs/commands/EvaluateExpressionCommand.js +36 -0
  12. package/dist-cjs/commands/GetPipelineDefinitionCommand.js +36 -0
  13. package/dist-cjs/commands/ListPipelinesCommand.js +36 -0
  14. package/dist-cjs/commands/PollForTaskCommand.js +36 -0
  15. package/dist-cjs/commands/PutPipelineDefinitionCommand.js +36 -0
  16. package/dist-cjs/commands/QueryObjectsCommand.js +36 -0
  17. package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -27
  18. package/dist-cjs/commands/ReportTaskProgressCommand.js +36 -0
  19. package/dist-cjs/commands/ReportTaskRunnerHeartbeatCommand.js +36 -0
  20. package/dist-cjs/commands/SetStatusCommand.js +36 -0
  21. package/dist-cjs/commands/SetTaskStatusCommand.js +36 -0
  22. package/dist-cjs/commands/ValidatePipelineDefinitionCommand.js +36 -0
  23. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  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 -169
  27. package/{dist/cjs → dist-cjs}/pagination/DescribeObjectsPaginator.js +1 -12
  28. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  29. package/{dist/cjs → dist-cjs}/pagination/ListPipelinesPaginator.js +1 -12
  30. package/{dist/cjs → dist-cjs}/pagination/QueryObjectsPaginator.js +1 -12
  31. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  33. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  34. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  35. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  36. package/{dist/es → dist-es}/DataPipeline.js +1 -2
  37. package/{dist/es → dist-es}/DataPipelineClient.js +1 -2
  38. package/{dist/es → dist-es}/commands/ActivatePipelineCommand.js +2 -3
  39. package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -3
  40. package/{dist/es → dist-es}/commands/CreatePipelineCommand.js +2 -3
  41. package/{dist/es → dist-es}/commands/DeactivatePipelineCommand.js +2 -3
  42. package/{dist/es → dist-es}/commands/DeletePipelineCommand.js +2 -3
  43. package/{dist/es → dist-es}/commands/DescribeObjectsCommand.js +2 -3
  44. package/{dist/es → dist-es}/commands/DescribePipelinesCommand.js +2 -3
  45. package/{dist/es → dist-es}/commands/EvaluateExpressionCommand.js +2 -3
  46. package/{dist/es → dist-es}/commands/GetPipelineDefinitionCommand.js +2 -3
  47. package/{dist/es → dist-es}/commands/ListPipelinesCommand.js +2 -3
  48. package/{dist/es → dist-es}/commands/PollForTaskCommand.js +2 -3
  49. package/{dist/es → dist-es}/commands/PutPipelineDefinitionCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/QueryObjectsCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/ReportTaskProgressCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/ReportTaskRunnerHeartbeatCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/SetStatusCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/SetTaskStatusCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/ValidatePipelineDefinitionCommand.js +2 -3
  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 -1
  61. package/{dist/es → dist-es}/pagination/DescribeObjectsPaginator.js +1 -2
  62. package/dist-es/pagination/Interfaces.js +1 -0
  63. package/{dist/es → dist-es}/pagination/ListPipelinesPaginator.js +1 -2
  64. package/{dist/es → dist-es}/pagination/QueryObjectsPaginator.js +1 -2
  65. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  66. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  67. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  68. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  69. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  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 +0 -0
  101. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  102. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  103. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  104. package/dist-types/ts3.4/DataPipeline.d.ts +100 -0
  105. package/{dist/types → dist-types}/ts3.4/DataPipelineClient.d.ts +32 -113
  106. package/dist-types/ts3.4/commands/ActivatePipelineCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/DeactivatePipelineCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/DescribeObjectsCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/DescribePipelinesCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/EvaluateExpressionCommand.d.ts +17 -0
  114. package/dist-types/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/PollForTaskCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/QueryObjectsCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/ReportTaskProgressCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/SetStatusCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/SetTaskStatusCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +17 -0
  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/ts3.4/models/models_0.d.ts +655 -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 -3
  135. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  136. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  137. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  138. package/package.json +45 -42
  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 +0 -60
  162. package/dist/cjs/DataPipelineClient.js.map +0 -1
  163. package/dist/cjs/commands/ActivatePipelineCommand.js +0 -91
  164. package/dist/cjs/commands/ActivatePipelineCommand.js.map +0 -1
  165. package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
  166. package/dist/cjs/commands/CreatePipelineCommand.js +0 -91
  167. package/dist/cjs/commands/CreatePipelineCommand.js.map +0 -1
  168. package/dist/cjs/commands/DeactivatePipelineCommand.js.map +0 -1
  169. package/dist/cjs/commands/DeletePipelineCommand.js +0 -92
  170. package/dist/cjs/commands/DeletePipelineCommand.js.map +0 -1
  171. package/dist/cjs/commands/DescribeObjectsCommand.js +0 -119
  172. package/dist/cjs/commands/DescribeObjectsCommand.js.map +0 -1
  173. package/dist/cjs/commands/DescribePipelinesCommand.js +0 -122
  174. package/dist/cjs/commands/DescribePipelinesCommand.js.map +0 -1
  175. package/dist/cjs/commands/EvaluateExpressionCommand.js +0 -91
  176. package/dist/cjs/commands/EvaluateExpressionCommand.js.map +0 -1
  177. package/dist/cjs/commands/GetPipelineDefinitionCommand.js +0 -125
  178. package/dist/cjs/commands/GetPipelineDefinitionCommand.js.map +0 -1
  179. package/dist/cjs/commands/ListPipelinesCommand.js +0 -92
  180. package/dist/cjs/commands/ListPipelinesCommand.js.map +0 -1
  181. package/dist/cjs/commands/PollForTaskCommand.js +0 -139
  182. package/dist/cjs/commands/PollForTaskCommand.js.map +0 -1
  183. package/dist/cjs/commands/PutPipelineDefinitionCommand.js +0 -220
  184. package/dist/cjs/commands/PutPipelineDefinitionCommand.js.map +0 -1
  185. package/dist/cjs/commands/QueryObjectsCommand.js +0 -99
  186. package/dist/cjs/commands/QueryObjectsCommand.js.map +0 -1
  187. package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
  188. package/dist/cjs/commands/ReportTaskProgressCommand.js +0 -98
  189. package/dist/cjs/commands/ReportTaskProgressCommand.js.map +0 -1
  190. package/dist/cjs/commands/ReportTaskRunnerHeartbeatCommand.js +0 -93
  191. package/dist/cjs/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
  192. package/dist/cjs/commands/SetStatusCommand.js +0 -93
  193. package/dist/cjs/commands/SetStatusCommand.js.map +0 -1
  194. package/dist/cjs/commands/SetTaskStatusCommand.js +0 -91
  195. package/dist/cjs/commands/SetTaskStatusCommand.js.map +0 -1
  196. package/dist/cjs/commands/ValidatePipelineDefinitionCommand.js +0 -212
  197. package/dist/cjs/commands/ValidatePipelineDefinitionCommand.js.map +0 -1
  198. package/dist/cjs/endpoints.js.map +0 -1
  199. package/dist/cjs/index.js.map +0 -1
  200. package/dist/cjs/models/index.js.map +0 -1
  201. package/dist/cjs/models/models_0.js.map +0 -1
  202. package/dist/cjs/package.json +0 -91
  203. package/dist/cjs/pagination/DescribeObjectsPaginator.js.map +0 -1
  204. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  205. package/dist/cjs/pagination/ListPipelinesPaginator.js.map +0 -1
  206. package/dist/cjs/pagination/QueryObjectsPaginator.js.map +0 -1
  207. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  208. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  209. package/dist/cjs/runtimeConfig.js.map +0 -1
  210. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  211. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  212. package/dist/es/DataPipeline.js.map +0 -1
  213. package/dist/es/DataPipelineClient.js.map +0 -1
  214. package/dist/es/commands/ActivatePipelineCommand.js.map +0 -1
  215. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  216. package/dist/es/commands/CreatePipelineCommand.js.map +0 -1
  217. package/dist/es/commands/DeactivatePipelineCommand.js.map +0 -1
  218. package/dist/es/commands/DeletePipelineCommand.js.map +0 -1
  219. package/dist/es/commands/DescribeObjectsCommand.js.map +0 -1
  220. package/dist/es/commands/DescribePipelinesCommand.js.map +0 -1
  221. package/dist/es/commands/EvaluateExpressionCommand.js.map +0 -1
  222. package/dist/es/commands/GetPipelineDefinitionCommand.js.map +0 -1
  223. package/dist/es/commands/ListPipelinesCommand.js.map +0 -1
  224. package/dist/es/commands/PollForTaskCommand.js.map +0 -1
  225. package/dist/es/commands/PutPipelineDefinitionCommand.js.map +0 -1
  226. package/dist/es/commands/QueryObjectsCommand.js.map +0 -1
  227. package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
  228. package/dist/es/commands/ReportTaskProgressCommand.js.map +0 -1
  229. package/dist/es/commands/ReportTaskRunnerHeartbeatCommand.js.map +0 -1
  230. package/dist/es/commands/SetStatusCommand.js.map +0 -1
  231. package/dist/es/commands/SetTaskStatusCommand.js.map +0 -1
  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/dist/types/ts3.4/DataPipeline.d.ts +0 -1051
  251. package/dist/types/ts3.4/commands/ActivatePipelineCommand.d.ts +0 -65
  252. package/dist/types/ts3.4/commands/AddTagsCommand.d.ts +0 -35
  253. package/dist/types/ts3.4/commands/CreatePipelineCommand.d.ts +0 -65
  254. package/dist/types/ts3.4/commands/DeactivatePipelineCommand.d.ts +0 -38
  255. package/dist/types/ts3.4/commands/DeletePipelineCommand.d.ts +0 -66
  256. package/dist/types/ts3.4/commands/DescribeObjectsCommand.d.ts +0 -93
  257. package/dist/types/ts3.4/commands/DescribePipelinesCommand.d.ts +0 -96
  258. package/dist/types/ts3.4/commands/EvaluateExpressionCommand.d.ts +0 -65
  259. package/dist/types/ts3.4/commands/GetPipelineDefinitionCommand.d.ts +0 -99
  260. package/dist/types/ts3.4/commands/ListPipelinesCommand.d.ts +0 -66
  261. package/dist/types/ts3.4/commands/PollForTaskCommand.d.ts +0 -113
  262. package/dist/types/ts3.4/commands/PutPipelineDefinitionCommand.d.ts +0 -194
  263. package/dist/types/ts3.4/commands/QueryObjectsCommand.d.ts +0 -73
  264. package/dist/types/ts3.4/commands/RemoveTagsCommand.d.ts +0 -35
  265. package/dist/types/ts3.4/commands/ReportTaskProgressCommand.d.ts +0 -72
  266. package/dist/types/ts3.4/commands/ReportTaskRunnerHeartbeatCommand.d.ts +0 -67
  267. package/dist/types/ts3.4/commands/SetStatusCommand.d.ts +0 -67
  268. package/dist/types/ts3.4/commands/SetTaskStatusCommand.d.ts +0 -65
  269. package/dist/types/ts3.4/commands/ValidatePipelineDefinitionCommand.d.ts +0 -186
  270. package/dist/types/ts3.4/models/models_0.d.ts +0 -1193
  271. package/endpoints.ts +0 -57
  272. package/jest.config.js +0 -4
  273. package/models/models_0.ts +0 -1480
  274. package/pagination/DescribeObjectsPaginator.ts +0 -57
  275. package/pagination/Interfaces.ts +0 -7
  276. package/pagination/ListPipelinesPaginator.ts +0 -57
  277. package/pagination/QueryObjectsPaginator.ts +0 -58
  278. package/protocols/Aws_json1_1.ts +0 -2766
  279. package/runtimeConfig.browser.ts +0 -40
  280. package/runtimeConfig.native.ts +0 -16
  281. package/runtimeConfig.shared.ts +0 -16
  282. package/runtimeConfig.ts +0 -45
  283. package/tsconfig.es.json +0 -10
  284. package/tsconfig.json +0 -31
  285. package/tsconfig.types.json +0 -8
@@ -1,320 +0,0 @@
1
- import { ActivatePipelineCommandInput, ActivatePipelineCommandOutput } from "./commands/ActivatePipelineCommand";
2
- import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
3
- import { CreatePipelineCommandInput, CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
4
- import { DeactivatePipelineCommandInput, DeactivatePipelineCommandOutput } from "./commands/DeactivatePipelineCommand";
5
- import { DeletePipelineCommandInput, DeletePipelineCommandOutput } from "./commands/DeletePipelineCommand";
6
- import { DescribeObjectsCommandInput, DescribeObjectsCommandOutput } from "./commands/DescribeObjectsCommand";
7
- import { DescribePipelinesCommandInput, DescribePipelinesCommandOutput } from "./commands/DescribePipelinesCommand";
8
- import { EvaluateExpressionCommandInput, EvaluateExpressionCommandOutput } from "./commands/EvaluateExpressionCommand";
9
- import {
10
- GetPipelineDefinitionCommandInput,
11
- GetPipelineDefinitionCommandOutput,
12
- } from "./commands/GetPipelineDefinitionCommand";
13
- import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
14
- import { PollForTaskCommandInput, PollForTaskCommandOutput } from "./commands/PollForTaskCommand";
15
- import {
16
- PutPipelineDefinitionCommandInput,
17
- PutPipelineDefinitionCommandOutput,
18
- } from "./commands/PutPipelineDefinitionCommand";
19
- import { QueryObjectsCommandInput, QueryObjectsCommandOutput } from "./commands/QueryObjectsCommand";
20
- import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
21
- import { ReportTaskProgressCommandInput, ReportTaskProgressCommandOutput } from "./commands/ReportTaskProgressCommand";
22
- import {
23
- ReportTaskRunnerHeartbeatCommandInput,
24
- ReportTaskRunnerHeartbeatCommandOutput,
25
- } from "./commands/ReportTaskRunnerHeartbeatCommand";
26
- import { SetStatusCommandInput, SetStatusCommandOutput } from "./commands/SetStatusCommand";
27
- import { SetTaskStatusCommandInput, SetTaskStatusCommandOutput } from "./commands/SetTaskStatusCommand";
28
- import {
29
- ValidatePipelineDefinitionCommandInput,
30
- ValidatePipelineDefinitionCommandOutput,
31
- } from "./commands/ValidatePipelineDefinitionCommand";
32
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
33
- import {
34
- EndpointsInputConfig,
35
- EndpointsResolvedConfig,
36
- RegionInputConfig,
37
- RegionResolvedConfig,
38
- resolveEndpointsConfig,
39
- resolveRegionConfig,
40
- } from "@aws-sdk/config-resolver";
41
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
42
- import {
43
- HostHeaderInputConfig,
44
- HostHeaderResolvedConfig,
45
- getHostHeaderPlugin,
46
- resolveHostHeaderConfig,
47
- } from "@aws-sdk/middleware-host-header";
48
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
49
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
50
- import {
51
- AwsAuthInputConfig,
52
- AwsAuthResolvedConfig,
53
- getAwsAuthPlugin,
54
- resolveAwsAuthConfig,
55
- } from "@aws-sdk/middleware-signing";
56
- import {
57
- UserAgentInputConfig,
58
- UserAgentResolvedConfig,
59
- getUserAgentPlugin,
60
- resolveUserAgentConfig,
61
- } from "@aws-sdk/middleware-user-agent";
62
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
63
- import {
64
- Client as __Client,
65
- SmithyConfiguration as __SmithyConfiguration,
66
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
67
- } from "@aws-sdk/smithy-client";
68
- import {
69
- Provider,
70
- RegionInfoProvider,
71
- Credentials as __Credentials,
72
- Decoder as __Decoder,
73
- Encoder as __Encoder,
74
- Hash as __Hash,
75
- HashConstructor as __HashConstructor,
76
- HttpHandlerOptions as __HttpHandlerOptions,
77
- Logger as __Logger,
78
- Provider as __Provider,
79
- StreamCollector as __StreamCollector,
80
- UrlParser as __UrlParser,
81
- UserAgent as __UserAgent,
82
- } from "@aws-sdk/types";
83
-
84
- export type ServiceInputTypes =
85
- | ActivatePipelineCommandInput
86
- | AddTagsCommandInput
87
- | CreatePipelineCommandInput
88
- | DeactivatePipelineCommandInput
89
- | DeletePipelineCommandInput
90
- | DescribeObjectsCommandInput
91
- | DescribePipelinesCommandInput
92
- | EvaluateExpressionCommandInput
93
- | GetPipelineDefinitionCommandInput
94
- | ListPipelinesCommandInput
95
- | PollForTaskCommandInput
96
- | PutPipelineDefinitionCommandInput
97
- | QueryObjectsCommandInput
98
- | RemoveTagsCommandInput
99
- | ReportTaskProgressCommandInput
100
- | ReportTaskRunnerHeartbeatCommandInput
101
- | SetStatusCommandInput
102
- | SetTaskStatusCommandInput
103
- | ValidatePipelineDefinitionCommandInput;
104
-
105
- export type ServiceOutputTypes =
106
- | ActivatePipelineCommandOutput
107
- | AddTagsCommandOutput
108
- | CreatePipelineCommandOutput
109
- | DeactivatePipelineCommandOutput
110
- | DeletePipelineCommandOutput
111
- | DescribeObjectsCommandOutput
112
- | DescribePipelinesCommandOutput
113
- | EvaluateExpressionCommandOutput
114
- | GetPipelineDefinitionCommandOutput
115
- | ListPipelinesCommandOutput
116
- | PollForTaskCommandOutput
117
- | PutPipelineDefinitionCommandOutput
118
- | QueryObjectsCommandOutput
119
- | RemoveTagsCommandOutput
120
- | ReportTaskProgressCommandOutput
121
- | ReportTaskRunnerHeartbeatCommandOutput
122
- | SetStatusCommandOutput
123
- | SetTaskStatusCommandOutput
124
- | ValidatePipelineDefinitionCommandOutput;
125
-
126
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
127
- /**
128
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
129
- */
130
- requestHandler?: __HttpHandler;
131
-
132
- /**
133
- * A constructor for a class implementing the {@link __Hash} interface
134
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
135
- * @internal
136
- */
137
- sha256?: __HashConstructor;
138
-
139
- /**
140
- * The function that will be used to convert strings into HTTP endpoints.
141
- * @internal
142
- */
143
- urlParser?: __UrlParser;
144
-
145
- /**
146
- * A function that can calculate the length of a request body.
147
- * @internal
148
- */
149
- bodyLengthChecker?: (body: any) => number | undefined;
150
-
151
- /**
152
- * A function that converts a stream into an array of bytes.
153
- * @internal
154
- */
155
- streamCollector?: __StreamCollector;
156
-
157
- /**
158
- * The function that will be used to convert a base64-encoded string to a byte array.
159
- * @internal
160
- */
161
- base64Decoder?: __Decoder;
162
-
163
- /**
164
- * The function that will be used to convert binary data to a base64-encoded string.
165
- * @internal
166
- */
167
- base64Encoder?: __Encoder;
168
-
169
- /**
170
- * The function that will be used to convert a UTF8-encoded string to a byte array.
171
- * @internal
172
- */
173
- utf8Decoder?: __Decoder;
174
-
175
- /**
176
- * The function that will be used to convert binary data to a UTF-8 encoded string.
177
- * @internal
178
- */
179
- utf8Encoder?: __Encoder;
180
-
181
- /**
182
- * The runtime environment.
183
- * @internal
184
- */
185
- runtime?: string;
186
-
187
- /**
188
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
189
- * trait of an operation.
190
- */
191
- disableHostPrefix?: boolean;
192
-
193
- /**
194
- * Value for how many times a request will be made at most in case of retry.
195
- */
196
- maxAttempts?: number | __Provider<number>;
197
-
198
- /**
199
- * Specifies which retry algorithm to use.
200
- */
201
- retryMode?: string | __Provider<string>;
202
-
203
- /**
204
- * Optional logger for logging debug/info/warn/error.
205
- */
206
- logger?: __Logger;
207
-
208
- /**
209
- * Unique service identifier.
210
- * @internal
211
- */
212
- serviceId?: string;
213
-
214
- /**
215
- * The AWS region to which this client will send requests
216
- */
217
- region?: string | __Provider<string>;
218
-
219
- /**
220
- * Default credentials provider; Not available in browser runtime.
221
- * @internal
222
- */
223
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
224
-
225
- /**
226
- * Fetch related hostname, signing name or signing region with given region.
227
- * @internal
228
- */
229
- regionInfoProvider?: RegionInfoProvider;
230
-
231
- /**
232
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
233
- * @internal
234
- */
235
- defaultUserAgentProvider?: Provider<__UserAgent>;
236
- }
237
-
238
- type DataPipelineClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
239
- ClientDefaults &
240
- RegionInputConfig &
241
- EndpointsInputConfig &
242
- RetryInputConfig &
243
- HostHeaderInputConfig &
244
- AwsAuthInputConfig &
245
- UserAgentInputConfig;
246
- /**
247
- * The configuration interface of DataPipelineClient class constructor that set the region, credentials and other options.
248
- */
249
- export interface DataPipelineClientConfig extends DataPipelineClientConfigType {}
250
-
251
- type DataPipelineClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
252
- Required<ClientDefaults> &
253
- RegionResolvedConfig &
254
- EndpointsResolvedConfig &
255
- RetryResolvedConfig &
256
- HostHeaderResolvedConfig &
257
- AwsAuthResolvedConfig &
258
- UserAgentResolvedConfig;
259
- /**
260
- * The resolved configuration interface of DataPipelineClient class. This is resolved and normalized from the {@link DataPipelineClientConfig | constructor configuration interface}.
261
- */
262
- export interface DataPipelineClientResolvedConfig extends DataPipelineClientResolvedConfigType {}
263
-
264
- /**
265
- * <p>AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline
266
- * handles the details of scheduling and ensuring that data dependencies are met so that your application
267
- * can focus on processing the data.</p>
268
- *
269
- * <p>AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner.
270
- * AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing
271
- * database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use
272
- * AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide
273
- * custom data management.</p>
274
- *
275
- * <p>AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline
276
- * and define data sources, schedules, dependencies, and the transforms to be performed on the data.
277
- * Use the second set in your task runner application to receive the next task ready for processing.
278
- * The logic for performing the task, such as querying the data, running data analysis, or converting
279
- * the data from one format to another, is contained within the task runner. The task runner performs
280
- * the task assigned to it by the web service, reporting progress to the web service as it does so.
281
- * When the task is done, the task runner reports the final success or failure of the task to the web service.</p>
282
- */
283
- export class DataPipelineClient extends __Client<
284
- __HttpHandlerOptions,
285
- ServiceInputTypes,
286
- ServiceOutputTypes,
287
- DataPipelineClientResolvedConfig
288
- > {
289
- /**
290
- * The resolved configuration of DataPipelineClient class. This is resolved and normalized from the {@link DataPipelineClientConfig | constructor configuration interface}.
291
- */
292
- readonly config: DataPipelineClientResolvedConfig;
293
-
294
- constructor(configuration: DataPipelineClientConfig) {
295
- let _config_0 = __getRuntimeConfig(configuration);
296
- let _config_1 = resolveRegionConfig(_config_0);
297
- let _config_2 = resolveEndpointsConfig(_config_1);
298
- let _config_3 = resolveRetryConfig(_config_2);
299
- let _config_4 = resolveHostHeaderConfig(_config_3);
300
- let _config_5 = resolveAwsAuthConfig(_config_4);
301
- let _config_6 = resolveUserAgentConfig(_config_5);
302
- super(_config_6);
303
- this.config = _config_6;
304
- this.middlewareStack.use(getRetryPlugin(this.config));
305
- this.middlewareStack.use(getContentLengthPlugin(this.config));
306
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
307
- this.middlewareStack.use(getLoggerPlugin(this.config));
308
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
309
- this.middlewareStack.use(getUserAgentPlugin(this.config));
310
- }
311
-
312
- /**
313
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
314
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
315
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
316
- */
317
- destroy(): void {
318
- super.destroy();
319
- }
320
- }
@@ -1,124 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { ActivatePipelineInput, ActivatePipelineOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ActivatePipelineCommand,
5
- serializeAws_json1_1ActivatePipelineCommand,
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 ActivatePipelineCommandInput extends ActivatePipelineInput {}
21
- export interface ActivatePipelineCommandOutput extends ActivatePipelineOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation,
25
- * activation fails.</p>
26
- * <p>If you need to pause the pipeline to investigate an issue with a component, such as a data source or script,
27
- * call <a>DeactivatePipeline</a>.</p>
28
- * <p>To activate a finished pipeline, modify the end date for the pipeline and then activate it.</p>
29
- * <examples>
30
- * <request>
31
- *
32
- * POST / HTTP/1.1
33
- * Content-Type: application/x-amz-json-1.1
34
- * X-Amz-Target: DataPipeline.ActivatePipeline
35
- * Content-Length: 39
36
- * Host: datapipeline.us-east-1.amazonaws.com
37
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
38
- * Authorization: AuthParams
39
- *
40
- * {"pipelineId": "df-06372391ZG65EXAMPLE"}
41
- *
42
- * </request>
43
- * <response>
44
- *
45
- * HTTP/1.1 200
46
- * x-amzn-RequestId: ee19d5bf-074e-11e2-af6f-6bc7a6be60d9
47
- * Content-Type: application/x-amz-json-1.1
48
- * Content-Length: 2
49
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
50
- *
51
- * {}
52
- *
53
- * </response>
54
- * </examples>
55
- * @example
56
- * Use a bare-bones client and the command you need to make an API call.
57
- * ```javascript
58
- * import { DataPipelineClient, ActivatePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
59
- * // const { DataPipelineClient, ActivatePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
60
- * const client = new DataPipelineClient(config);
61
- * const command = new ActivatePipelineCommand(input);
62
- * const response = await client.send(command);
63
- * ```
64
- *
65
- * @see {@link ActivatePipelineCommandInput} for command's `input` shape.
66
- * @see {@link ActivatePipelineCommandOutput} for command's `response` shape.
67
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
68
- *
69
- */
70
- export class ActivatePipelineCommand extends $Command<
71
- ActivatePipelineCommandInput,
72
- ActivatePipelineCommandOutput,
73
- DataPipelineClientResolvedConfig
74
- > {
75
- // Start section: command_properties
76
- // End section: command_properties
77
-
78
- constructor(readonly input: ActivatePipelineCommandInput) {
79
- // Start section: command_constructor
80
- super();
81
- // End section: command_constructor
82
- }
83
-
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(
88
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
89
- configuration: DataPipelineClientResolvedConfig,
90
- options?: __HttpHandlerOptions
91
- ): Handler<ActivatePipelineCommandInput, ActivatePipelineCommandOutput> {
92
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
93
-
94
- const stack = clientStack.concat(this.middlewareStack);
95
-
96
- const { logger } = configuration;
97
- const clientName = "DataPipelineClient";
98
- const commandName = "ActivatePipelineCommand";
99
- const handlerExecutionContext: HandlerExecutionContext = {
100
- logger,
101
- clientName,
102
- commandName,
103
- inputFilterSensitiveLog: ActivatePipelineInput.filterSensitiveLog,
104
- outputFilterSensitiveLog: ActivatePipelineOutput.filterSensitiveLog,
105
- };
106
- const { requestHandler } = configuration;
107
- return stack.resolve(
108
- (request: FinalizeHandlerArguments<any>) =>
109
- requestHandler.handle(request.request as __HttpRequest, options || {}),
110
- handlerExecutionContext
111
- );
112
- }
113
-
114
- private serialize(input: ActivatePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
115
- return serializeAws_json1_1ActivatePipelineCommand(input, context);
116
- }
117
-
118
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ActivatePipelineCommandOutput> {
119
- return deserializeAws_json1_1ActivatePipelineCommand(output, context);
120
- }
121
-
122
- // Start section: command_body_extra
123
- // End section: command_body_extra
124
- }
@@ -1,91 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { AddTagsInput, AddTagsOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1AddTagsCommand, serializeAws_json1_1AddTagsCommand } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface AddTagsCommandInput extends AddTagsInput {}
18
- export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {}
19
-
20
- /**
21
- * <p>Adds or modifies tags for the specified pipeline.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { DataPipelineClient, AddTagsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
26
- * // const { DataPipelineClient, AddTagsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
27
- * const client = new DataPipelineClient(config);
28
- * const command = new AddTagsCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link AddTagsCommandInput} for command's `input` shape.
33
- * @see {@link AddTagsCommandOutput} for command's `response` shape.
34
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
- export class AddTagsCommand extends $Command<
38
- AddTagsCommandInput,
39
- AddTagsCommandOutput,
40
- DataPipelineClientResolvedConfig
41
- > {
42
- // Start section: command_properties
43
- // End section: command_properties
44
-
45
- constructor(readonly input: AddTagsCommandInput) {
46
- // Start section: command_constructor
47
- super();
48
- // End section: command_constructor
49
- }
50
-
51
- /**
52
- * @internal
53
- */
54
- resolveMiddleware(
55
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
56
- configuration: DataPipelineClientResolvedConfig,
57
- options?: __HttpHandlerOptions
58
- ): Handler<AddTagsCommandInput, AddTagsCommandOutput> {
59
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
60
-
61
- const stack = clientStack.concat(this.middlewareStack);
62
-
63
- const { logger } = configuration;
64
- const clientName = "DataPipelineClient";
65
- const commandName = "AddTagsCommand";
66
- const handlerExecutionContext: HandlerExecutionContext = {
67
- logger,
68
- clientName,
69
- commandName,
70
- inputFilterSensitiveLog: AddTagsInput.filterSensitiveLog,
71
- outputFilterSensitiveLog: AddTagsOutput.filterSensitiveLog,
72
- };
73
- const { requestHandler } = configuration;
74
- return stack.resolve(
75
- (request: FinalizeHandlerArguments<any>) =>
76
- requestHandler.handle(request.request as __HttpRequest, options || {}),
77
- handlerExecutionContext
78
- );
79
- }
80
-
81
- private serialize(input: AddTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
82
- return serializeAws_json1_1AddTagsCommand(input, context);
83
- }
84
-
85
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddTagsCommandOutput> {
86
- return deserializeAws_json1_1AddTagsCommand(output, context);
87
- }
88
-
89
- // Start section: command_body_extra
90
- // End section: command_body_extra
91
- }
@@ -1,124 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { CreatePipelineInput, CreatePipelineOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreatePipelineCommand,
5
- serializeAws_json1_1CreatePipelineCommand,
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 CreatePipelineCommandInput extends CreatePipelineInput {}
21
- export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a new, empty pipeline. Use <a>PutPipelineDefinition</a> to populate the pipeline.</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.CreatePipeline
32
- * Content-Length: 91
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
- * {"name": "myPipeline",
38
- * "uniqueId": "123456789",
39
- * "description": "This is my first pipeline"}
40
- *
41
- * </request>
42
- *
43
- * <response>
44
- *
45
- * HTTP/1.1 200
46
- * x-amzn-RequestId: b16911ce-0774-11e2-af6f-6bc7a6be60d9
47
- * Content-Type: application/x-amz-json-1.1
48
- * Content-Length: 40
49
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
50
- *
51
- * {"pipelineId": "df-06372391ZG65EXAMPLE"}
52
- *
53
- * </response>
54
- * </examples>
55
- * @example
56
- * Use a bare-bones client and the command you need to make an API call.
57
- * ```javascript
58
- * import { DataPipelineClient, CreatePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
59
- * // const { DataPipelineClient, CreatePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
60
- * const client = new DataPipelineClient(config);
61
- * const command = new CreatePipelineCommand(input);
62
- * const response = await client.send(command);
63
- * ```
64
- *
65
- * @see {@link CreatePipelineCommandInput} for command's `input` shape.
66
- * @see {@link CreatePipelineCommandOutput} for command's `response` shape.
67
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
68
- *
69
- */
70
- export class CreatePipelineCommand extends $Command<
71
- CreatePipelineCommandInput,
72
- CreatePipelineCommandOutput,
73
- DataPipelineClientResolvedConfig
74
- > {
75
- // Start section: command_properties
76
- // End section: command_properties
77
-
78
- constructor(readonly input: CreatePipelineCommandInput) {
79
- // Start section: command_constructor
80
- super();
81
- // End section: command_constructor
82
- }
83
-
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(
88
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
89
- configuration: DataPipelineClientResolvedConfig,
90
- options?: __HttpHandlerOptions
91
- ): Handler<CreatePipelineCommandInput, CreatePipelineCommandOutput> {
92
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
93
-
94
- const stack = clientStack.concat(this.middlewareStack);
95
-
96
- const { logger } = configuration;
97
- const clientName = "DataPipelineClient";
98
- const commandName = "CreatePipelineCommand";
99
- const handlerExecutionContext: HandlerExecutionContext = {
100
- logger,
101
- clientName,
102
- commandName,
103
- inputFilterSensitiveLog: CreatePipelineInput.filterSensitiveLog,
104
- outputFilterSensitiveLog: CreatePipelineOutput.filterSensitiveLog,
105
- };
106
- const { requestHandler } = configuration;
107
- return stack.resolve(
108
- (request: FinalizeHandlerArguments<any>) =>
109
- requestHandler.handle(request.request as __HttpRequest, options || {}),
110
- handlerExecutionContext
111
- );
112
- }
113
-
114
- private serialize(input: CreatePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
115
- return serializeAws_json1_1CreatePipelineCommand(input, context);
116
- }
117
-
118
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreatePipelineCommandOutput> {
119
- return deserializeAws_json1_1CreatePipelineCommand(output, context);
120
- }
121
-
122
- // Start section: command_body_extra
123
- // End section: command_body_extra
124
- }