@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,158 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { GetPipelineDefinitionInput, GetPipelineDefinitionOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetPipelineDefinitionCommand,
5
- serializeAws_json1_1GetPipelineDefinitionCommand,
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 GetPipelineDefinitionCommandInput extends GetPipelineDefinitionInput {}
21
- export interface GetPipelineDefinitionCommandOutput extends GetPipelineDefinitionOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets the definition of the specified pipeline. You can call <code>GetPipelineDefinition</code> to retrieve
25
- * the pipeline definition that you provided using <a>PutPipelineDefinition</a>.</p>
26
- *
27
- * <examples>
28
- * <request>
29
- *
30
- * POST / HTTP/1.1
31
- * Content-Type: application/x-amz-json-1.1
32
- * X-Amz-Target: DataPipeline.GetPipelineDefinition
33
- * Content-Length: 40
34
- * Host: datapipeline.us-east-1.amazonaws.com
35
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
36
- * Authorization: AuthParams
37
- *
38
- *
39
- * {"pipelineId": "df-06372391ZG65EXAMPLE"}
40
- *
41
- * </request>
42
- * <response>
43
- *
44
- * x-amzn-RequestId: e28309e5-0776-11e2-8a14-21bb8a1f50ef
45
- * Content-Type: application/x-amz-json-1.1
46
- * Content-Length: 890
47
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
48
- *
49
- * {"pipelineObjects":
50
- * [
51
- * {"fields":
52
- * [
53
- * {"key": "workerGroup",
54
- * "stringValue": "workerGroup"}
55
- * ],
56
- * "id": "Default",
57
- * "name": "Default"},
58
- * {"fields":
59
- * [
60
- * {"key": "startDateTime",
61
- * "stringValue": "2012-09-25T17:00:00"},
62
- * {"key": "type",
63
- * "stringValue": "Schedule"},
64
- * {"key": "period",
65
- * "stringValue": "1 hour"},
66
- * {"key": "endDateTime",
67
- * "stringValue": "2012-09-25T18:00:00"}
68
- * ],
69
- * "id": "Schedule",
70
- * "name": "Schedule"},
71
- * {"fields":
72
- * [
73
- * {"key": "schedule",
74
- * "refValue": "Schedule"},
75
- * {"key": "command",
76
- * "stringValue": "echo hello"},
77
- * {"key": "parent",
78
- * "refValue": "Default"},
79
- * {"key": "type",
80
- * "stringValue": "ShellCommandActivity"}
81
- * ],
82
- * "id": "SayHello",
83
- * "name": "SayHello"}
84
- * ]
85
- * }
86
- *
87
- * </response>
88
- * </examples>
89
- * @example
90
- * Use a bare-bones client and the command you need to make an API call.
91
- * ```javascript
92
- * import { DataPipelineClient, GetPipelineDefinitionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
93
- * // const { DataPipelineClient, GetPipelineDefinitionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
94
- * const client = new DataPipelineClient(config);
95
- * const command = new GetPipelineDefinitionCommand(input);
96
- * const response = await client.send(command);
97
- * ```
98
- *
99
- * @see {@link GetPipelineDefinitionCommandInput} for command's `input` shape.
100
- * @see {@link GetPipelineDefinitionCommandOutput} for command's `response` shape.
101
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
102
- *
103
- */
104
- export class GetPipelineDefinitionCommand extends $Command<
105
- GetPipelineDefinitionCommandInput,
106
- GetPipelineDefinitionCommandOutput,
107
- DataPipelineClientResolvedConfig
108
- > {
109
- // Start section: command_properties
110
- // End section: command_properties
111
-
112
- constructor(readonly input: GetPipelineDefinitionCommandInput) {
113
- // Start section: command_constructor
114
- super();
115
- // End section: command_constructor
116
- }
117
-
118
- /**
119
- * @internal
120
- */
121
- resolveMiddleware(
122
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
123
- configuration: DataPipelineClientResolvedConfig,
124
- options?: __HttpHandlerOptions
125
- ): Handler<GetPipelineDefinitionCommandInput, GetPipelineDefinitionCommandOutput> {
126
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
127
-
128
- const stack = clientStack.concat(this.middlewareStack);
129
-
130
- const { logger } = configuration;
131
- const clientName = "DataPipelineClient";
132
- const commandName = "GetPipelineDefinitionCommand";
133
- const handlerExecutionContext: HandlerExecutionContext = {
134
- logger,
135
- clientName,
136
- commandName,
137
- inputFilterSensitiveLog: GetPipelineDefinitionInput.filterSensitiveLog,
138
- outputFilterSensitiveLog: GetPipelineDefinitionOutput.filterSensitiveLog,
139
- };
140
- const { requestHandler } = configuration;
141
- return stack.resolve(
142
- (request: FinalizeHandlerArguments<any>) =>
143
- requestHandler.handle(request.request as __HttpRequest, options || {}),
144
- handlerExecutionContext
145
- );
146
- }
147
-
148
- private serialize(input: GetPipelineDefinitionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
149
- return serializeAws_json1_1GetPipelineDefinitionCommand(input, context);
150
- }
151
-
152
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetPipelineDefinitionCommandOutput> {
153
- return deserializeAws_json1_1GetPipelineDefinitionCommand(output, context);
154
- }
155
-
156
- // Start section: command_body_extra
157
- // End section: command_body_extra
158
- }
@@ -1,125 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { ListPipelinesInput, ListPipelinesOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListPipelinesCommand,
5
- serializeAws_json1_1ListPipelinesCommand,
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 ListPipelinesCommandInput extends ListPipelinesInput {}
21
- export interface ListPipelinesCommandOutput extends ListPipelinesOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Lists the pipeline identifiers for all active pipelines that you have permission to access.</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.ListPipelines
32
- * Content-Length: 14
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
- * {}</request>
38
- *
39
- * <response>
40
- *
41
- * Status:
42
- * x-amzn-RequestId: b3104dc5-0734-11e2-af6f-6bc7a6be60d9
43
- * Content-Type: application/x-amz-json-1.1
44
- * Content-Length: 39
45
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
46
- *
47
- * {"PipelineIdList":
48
- * [
49
- * {"id": "df-08785951KAKJEXAMPLE",
50
- * "name": "MyPipeline"},
51
- * {"id": "df-08662578ISYEXAMPLE",
52
- * "name": "MySecondPipeline"}
53
- * ]
54
- * }</response>
55
- * </examples>
56
- * @example
57
- * Use a bare-bones client and the command you need to make an API call.
58
- * ```javascript
59
- * import { DataPipelineClient, ListPipelinesCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
60
- * // const { DataPipelineClient, ListPipelinesCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
61
- * const client = new DataPipelineClient(config);
62
- * const command = new ListPipelinesCommand(input);
63
- * const response = await client.send(command);
64
- * ```
65
- *
66
- * @see {@link ListPipelinesCommandInput} for command's `input` shape.
67
- * @see {@link ListPipelinesCommandOutput} for command's `response` shape.
68
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
69
- *
70
- */
71
- export class ListPipelinesCommand extends $Command<
72
- ListPipelinesCommandInput,
73
- ListPipelinesCommandOutput,
74
- DataPipelineClientResolvedConfig
75
- > {
76
- // Start section: command_properties
77
- // End section: command_properties
78
-
79
- constructor(readonly input: ListPipelinesCommandInput) {
80
- // Start section: command_constructor
81
- super();
82
- // End section: command_constructor
83
- }
84
-
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(
89
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
90
- configuration: DataPipelineClientResolvedConfig,
91
- options?: __HttpHandlerOptions
92
- ): Handler<ListPipelinesCommandInput, ListPipelinesCommandOutput> {
93
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
94
-
95
- const stack = clientStack.concat(this.middlewareStack);
96
-
97
- const { logger } = configuration;
98
- const clientName = "DataPipelineClient";
99
- const commandName = "ListPipelinesCommand";
100
- const handlerExecutionContext: HandlerExecutionContext = {
101
- logger,
102
- clientName,
103
- commandName,
104
- inputFilterSensitiveLog: ListPipelinesInput.filterSensitiveLog,
105
- outputFilterSensitiveLog: ListPipelinesOutput.filterSensitiveLog,
106
- };
107
- const { requestHandler } = configuration;
108
- return stack.resolve(
109
- (request: FinalizeHandlerArguments<any>) =>
110
- requestHandler.handle(request.request as __HttpRequest, options || {}),
111
- handlerExecutionContext
112
- );
113
- }
114
-
115
- private serialize(input: ListPipelinesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
116
- return serializeAws_json1_1ListPipelinesCommand(input, context);
117
- }
118
-
119
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPipelinesCommandOutput> {
120
- return deserializeAws_json1_1ListPipelinesCommand(output, context);
121
- }
122
-
123
- // Start section: command_body_extra
124
- // End section: command_body_extra
125
- }
@@ -1,172 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { PollForTaskInput, PollForTaskOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1PollForTaskCommand,
5
- serializeAws_json1_1PollForTaskCommand,
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 PollForTaskCommandInput extends PollForTaskInput {}
21
- export interface PollForTaskCommandOutput extends PollForTaskOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Task runners call <code>PollForTask</code> to receive a task to perform from AWS Data Pipeline. The task runner specifies which tasks it can perform
25
- * by setting a value for the <code>workerGroup</code> parameter. The task returned can come from any of the pipelines that
26
- * match the <code>workerGroup</code> value passed in by the task runner and that was launched using the IAM user credentials
27
- * specified by the task runner.</p>
28
- * <p>If tasks are ready in the work queue, <code>PollForTask</code> returns a response immediately. If no tasks are available in the queue,
29
- * <code>PollForTask</code> uses long-polling and holds on to a poll connection for up to a 90 seconds, during which time the first newly
30
- * scheduled task is handed to the task runner. To accomodate this, set the socket timeout in your task runner to 90 seconds. The task
31
- * runner should not call <code>PollForTask</code> again on the same <code>workerGroup</code> until it receives a response, and this can take up to 90 seconds.
32
- * </p>
33
- *
34
- * <examples>
35
- * <request>
36
- *
37
- * POST / HTTP/1.1
38
- * Content-Type: application/x-amz-json-1.1
39
- * X-Amz-Target: DataPipeline.PollForTask
40
- * Content-Length: 59
41
- * Host: datapipeline.us-east-1.amazonaws.com
42
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
43
- * Authorization: AuthParams
44
- *
45
- * {"workerGroup": "MyworkerGroup",
46
- * "hostname": "example.com"}
47
- *
48
- * </request>
49
- *
50
- * <response>
51
- *
52
- * x-amzn-RequestId: 41c713d2-0775-11e2-af6f-6bc7a6be60d9
53
- * Content-Type: application/x-amz-json-1.1
54
- * Content-Length: 39
55
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
56
- *
57
- * {"taskObject":
58
- * {"attemptId": "@SayHello_2012-12-12T00:00:00_Attempt=1",
59
- * "objects":
60
- * {"@SayHello_2012-12-12T00:00:00_Attempt=1":
61
- * {"fields":
62
- * [
63
- * {"key": "@componentParent",
64
- * "refValue": "SayHello"},
65
- * {"key": "@scheduledStartTime",
66
- * "stringValue": "2012-12-12T00:00:00"},
67
- * {"key": "parent",
68
- * "refValue": "SayHello"},
69
- * {"key": "@sphere",
70
- * "stringValue": "ATTEMPT"},
71
- * {"key": "workerGroup",
72
- * "stringValue": "workerGroup"},
73
- * {"key": "@instanceParent",
74
- * "refValue": "@SayHello_2012-12-12T00:00:00"},
75
- * {"key": "type",
76
- * "stringValue": "ShellCommandActivity"},
77
- * {"key": "@status",
78
- * "stringValue": "WAITING_FOR_RUNNER"},
79
- * {"key": "@version",
80
- * "stringValue": "1"},
81
- * {"key": "schedule",
82
- * "refValue": "Schedule"},
83
- * {"key": "@actualStartTime",
84
- * "stringValue": "2012-12-13T01:40:50"},
85
- * {"key": "command",
86
- * "stringValue": "echo hello"},
87
- * {"key": "@scheduledEndTime",
88
- * "stringValue": "2012-12-12T01:00:00"},
89
- * {"key": "@activeInstances",
90
- * "refValue": "@SayHello_2012-12-12T00:00:00"},
91
- * {"key": "@pipelineId",
92
- * "stringValue": "df-0937003356ZJEXAMPLE"}
93
- * ],
94
- * "id": "@SayHello_2012-12-12T00:00:00_Attempt=1",
95
- * "name": "@SayHello_2012-12-12T00:00:00_Attempt=1"}
96
- * },
97
- * "pipelineId": "df-0937003356ZJEXAMPLE",
98
- * "taskId": "2xaM4wRs5zOsIH+g9U3oVHfAgAlbSqU6XduncB0HhZ3xMnmvfePZPn4dIbYXHyWyRK+cU15MqDHwdrvftx/4wv+sNS4w34vJfv7QA9aOoOazW28l1GYSb2ZRR0N0paiQp+d1MhSKo10hOTWOsVK5S5Lnx9Qm6omFgXHyIvZRIvTlrQMpr1xuUrflyGOfbFOGpOLpvPE172MYdqpZKnbSS4TcuqgQKSWV2833fEubI57DPOP7ghWa2TcYeSIv4pdLYG53fTuwfbnbdc98g2LNUQzSVhSnt7BoqyNwht2aQ6b/UHg9A80+KVpuXuqmz3m1MXwHFgxjdmuesXNOrrlGpeLCcRWD+aGo0RN1NqhQRzNAig8V4GlaPTQzMsRCljKqvrIyAoP3Tt2XEGsHkkQo12rEX8Z90957XX2qKRwhruwYzqGkSLWjINoLdAxUJdpRXRc5DJTrBd3D5mdzn7kY1l7NEh4kFHJDt3Cx4Z3Mk8MYCACyCk/CEyy9DwuPi66cLz0NBcgbCM5LKjTBOwo1m+am+pvM1kSposE9FPP1+RFGb8k6jQBTJx3TRz1yKilnGXQTZ5xvdOFpJrklIT0OXP1MG3+auM9FlJA+1dX90QoNJE5z7axmK//MOGXUdkqFe2kiDkorqjxwDvc0Js9pVKfKvAmW8YqUbmI9l0ERpWCXXnLVHNmPWz3jaPY+OBAmuJWDmxB/Z8p94aEDg4BVXQ7LvsKQ3DLYhaB7yJ390CJT+i0mm+EBqY60V6YikPSWDFrYQ/NPi2b1DgE19mX8zHqw8qprIl4yh1Ckx2Iige4En/N5ktOoIxnASxAw/TzcE2skxdw5KlHDF+UTj71m16CR/dIaKlXijlfNlNzUBo/bNSadCQn3G5NoO501wPKI:XO50TgDNyo8EXAMPLE/g==:1"}
99
- * }
100
- *
101
- * </response>
102
- * </examples>
103
- * @example
104
- * Use a bare-bones client and the command you need to make an API call.
105
- * ```javascript
106
- * import { DataPipelineClient, PollForTaskCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
107
- * // const { DataPipelineClient, PollForTaskCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
108
- * const client = new DataPipelineClient(config);
109
- * const command = new PollForTaskCommand(input);
110
- * const response = await client.send(command);
111
- * ```
112
- *
113
- * @see {@link PollForTaskCommandInput} for command's `input` shape.
114
- * @see {@link PollForTaskCommandOutput} for command's `response` shape.
115
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
116
- *
117
- */
118
- export class PollForTaskCommand extends $Command<
119
- PollForTaskCommandInput,
120
- PollForTaskCommandOutput,
121
- DataPipelineClientResolvedConfig
122
- > {
123
- // Start section: command_properties
124
- // End section: command_properties
125
-
126
- constructor(readonly input: PollForTaskCommandInput) {
127
- // Start section: command_constructor
128
- super();
129
- // End section: command_constructor
130
- }
131
-
132
- /**
133
- * @internal
134
- */
135
- resolveMiddleware(
136
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
137
- configuration: DataPipelineClientResolvedConfig,
138
- options?: __HttpHandlerOptions
139
- ): Handler<PollForTaskCommandInput, PollForTaskCommandOutput> {
140
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
141
-
142
- const stack = clientStack.concat(this.middlewareStack);
143
-
144
- const { logger } = configuration;
145
- const clientName = "DataPipelineClient";
146
- const commandName = "PollForTaskCommand";
147
- const handlerExecutionContext: HandlerExecutionContext = {
148
- logger,
149
- clientName,
150
- commandName,
151
- inputFilterSensitiveLog: PollForTaskInput.filterSensitiveLog,
152
- outputFilterSensitiveLog: PollForTaskOutput.filterSensitiveLog,
153
- };
154
- const { requestHandler } = configuration;
155
- return stack.resolve(
156
- (request: FinalizeHandlerArguments<any>) =>
157
- requestHandler.handle(request.request as __HttpRequest, options || {}),
158
- handlerExecutionContext
159
- );
160
- }
161
-
162
- private serialize(input: PollForTaskCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
163
- return serializeAws_json1_1PollForTaskCommand(input, context);
164
- }
165
-
166
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PollForTaskCommandOutput> {
167
- return deserializeAws_json1_1PollForTaskCommand(output, context);
168
- }
169
-
170
- // Start section: command_body_extra
171
- // End section: command_body_extra
172
- }