@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,224 +0,0 @@
1
- import { __extends } from "tslib";
2
- import { PutPipelineDefinitionInput, PutPipelineDefinitionOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1PutPipelineDefinitionCommand, serializeAws_json1_1PutPipelineDefinitionCommand, } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Adds tasks, schedules, and preconditions to the specified pipeline. You can use <code>PutPipelineDefinition</code> to populate a new pipeline.</p>
8
- * <p>
9
- * <code>PutPipelineDefinition</code> also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one
10
- * of the following three validation errors exists in the pipeline.
11
- * </p>
12
- * <ol>
13
- * <li>An object is missing a name or identifier field.</li>
14
- * <li>A string or reference field is empty.</li>
15
- * <li>The number of objects in the pipeline exceeds the maximum allowed objects.</li>
16
- * <li>The pipeline is in a FINISHED state.</li>
17
- * </ol>
18
- * <p>
19
- * Pipeline object definitions are passed to the <code>PutPipelineDefinition</code> action and returned by the <a>GetPipelineDefinition</a> action.
20
- * </p>
21
- * <examples>
22
- * <example>
23
- * <name>Example 1</name>
24
- * <description>
25
- * This example sets an valid pipeline configuration and returns success.
26
- * </description>
27
- * <request>
28
- *
29
- * POST / HTTP/1.1
30
- * Content-Type: application/x-amz-json-1.1
31
- * X-Amz-Target: DataPipeline.PutPipelineDefinition
32
- * Content-Length: 914
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-0937003356ZJEXAMPLE",
38
- * "pipelineObjects":
39
- * [
40
- * {"id": "Default",
41
- * "name": "Default",
42
- * "fields":
43
- * [
44
- * {"key": "workerGroup",
45
- * "stringValue": "workerGroup"}
46
- * ]
47
- * },
48
- * {"id": "Schedule",
49
- * "name": "Schedule",
50
- * "fields":
51
- * [
52
- * {"key": "startDateTime",
53
- * "stringValue": "2012-12-12T00:00:00"},
54
- * {"key": "type",
55
- * "stringValue": "Schedule"},
56
- * {"key": "period",
57
- * "stringValue": "1 hour"},
58
- * {"key": "endDateTime",
59
- * "stringValue": "2012-12-21T18:00:00"}
60
- * ]
61
- * },
62
- * {"id": "SayHello",
63
- * "name": "SayHello",
64
- * "fields":
65
- * [
66
- * {"key": "type",
67
- * "stringValue": "ShellCommandActivity"},
68
- * {"key": "command",
69
- * "stringValue": "echo hello"},
70
- * {"key": "parent",
71
- * "refValue": "Default"},
72
- * {"key": "schedule",
73
- * "refValue": "Schedule"}
74
- * ]
75
- * }
76
- * ]
77
- * }
78
- *
79
- * </request>
80
- * <response>
81
- *
82
- * HTTP/1.1 200
83
- * x-amzn-RequestId: f74afc14-0754-11e2-af6f-6bc7a6be60d9
84
- * Content-Type: application/x-amz-json-1.1
85
- * Content-Length: 18
86
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
87
- *
88
- * {"errored": false}
89
- *
90
- *
91
- * </response>
92
- * </example>
93
- * <example>
94
- * <name>Example 2</name>
95
- * <description>
96
- * This example sets an invalid pipeline configuration (the value for <code>workerGroup</code> is an empty string) and returns an error message.
97
- * </description>
98
- * <request>
99
- *
100
- * POST / HTTP/1.1
101
- * Content-Type: application/x-amz-json-1.1
102
- * X-Amz-Target: DataPipeline.PutPipelineDefinition
103
- * Content-Length: 903
104
- * Host: datapipeline.us-east-1.amazonaws.com
105
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
106
- * Authorization: AuthParams
107
- *
108
- * {"pipelineId": "df-06372391ZG65EXAMPLE",
109
- * "pipelineObjects":
110
- * [
111
- * {"id": "Default",
112
- * "name": "Default",
113
- * "fields":
114
- * [
115
- * {"key": "workerGroup",
116
- * "stringValue": ""}
117
- * ]
118
- * },
119
- * {"id": "Schedule",
120
- * "name": "Schedule",
121
- * "fields":
122
- * [
123
- * {"key": "startDateTime",
124
- * "stringValue": "2012-09-25T17:00:00"},
125
- * {"key": "type",
126
- * "stringValue": "Schedule"},
127
- * {"key": "period",
128
- * "stringValue": "1 hour"},
129
- * {"key": "endDateTime",
130
- * "stringValue": "2012-09-25T18:00:00"}
131
- * ]
132
- * },
133
- * {"id": "SayHello",
134
- * "name": "SayHello",
135
- * "fields":
136
- * [
137
- * {"key": "type",
138
- * "stringValue": "ShellCommandActivity"},
139
- * {"key": "command",
140
- * "stringValue": "echo hello"},
141
- * {"key": "parent",
142
- * "refValue": "Default"},
143
- * {"key": "schedule",
144
- * "refValue": "Schedule"}
145
- *
146
- * ]
147
- * }
148
- * ]
149
- * }
150
- *
151
- * </request>
152
- * <response>
153
- *
154
- * HTTP/1.1 200
155
- * x-amzn-RequestId: f74afc14-0754-11e2-af6f-6bc7a6be60d9
156
- * Content-Type: application/x-amz-json-1.1
157
- * Content-Length: 18
158
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
159
- *
160
- * {"__type": "com.amazon.setl.webservice#InvalidRequestException",
161
- * "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"}
162
- *
163
- *
164
- * </response>
165
- * </example>
166
- * </examples>
167
- * @example
168
- * Use a bare-bones client and the command you need to make an API call.
169
- * ```javascript
170
- * import { DataPipelineClient, PutPipelineDefinitionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
171
- * // const { DataPipelineClient, PutPipelineDefinitionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
172
- * const client = new DataPipelineClient(config);
173
- * const command = new PutPipelineDefinitionCommand(input);
174
- * const response = await client.send(command);
175
- * ```
176
- *
177
- * @see {@link PutPipelineDefinitionCommandInput} for command's `input` shape.
178
- * @see {@link PutPipelineDefinitionCommandOutput} for command's `response` shape.
179
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
180
- *
181
- */
182
- var PutPipelineDefinitionCommand = /** @class */ (function (_super) {
183
- __extends(PutPipelineDefinitionCommand, _super);
184
- // Start section: command_properties
185
- // End section: command_properties
186
- function PutPipelineDefinitionCommand(input) {
187
- var _this =
188
- // Start section: command_constructor
189
- _super.call(this) || this;
190
- _this.input = input;
191
- return _this;
192
- // End section: command_constructor
193
- }
194
- /**
195
- * @internal
196
- */
197
- PutPipelineDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
198
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
199
- var stack = clientStack.concat(this.middlewareStack);
200
- var logger = configuration.logger;
201
- var clientName = "DataPipelineClient";
202
- var commandName = "PutPipelineDefinitionCommand";
203
- var handlerExecutionContext = {
204
- logger: logger,
205
- clientName: clientName,
206
- commandName: commandName,
207
- inputFilterSensitiveLog: PutPipelineDefinitionInput.filterSensitiveLog,
208
- outputFilterSensitiveLog: PutPipelineDefinitionOutput.filterSensitiveLog,
209
- };
210
- var requestHandler = configuration.requestHandler;
211
- return stack.resolve(function (request) {
212
- return requestHandler.handle(request.request, options || {});
213
- }, handlerExecutionContext);
214
- };
215
- PutPipelineDefinitionCommand.prototype.serialize = function (input, context) {
216
- return serializeAws_json1_1PutPipelineDefinitionCommand(input, context);
217
- };
218
- PutPipelineDefinitionCommand.prototype.deserialize = function (output, context) {
219
- return deserializeAws_json1_1PutPipelineDefinitionCommand(output, context);
220
- };
221
- return PutPipelineDefinitionCommand;
222
- }($Command));
223
- export { PutPipelineDefinitionCommand };
224
- //# sourceMappingURL=PutPipelineDefinitionCommand.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PutPipelineDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/PutP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,kBAAkB;SACzE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,gDAAS,GAAjB,UAAkB,KAAwC,EAAE,OAAuB;QACjF,OAAO,gDAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,kDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kDAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAIH,mCAAC;AAAD,CAAC,AAtDD,CAAkD,QAAQ,GAsDzD"}
@@ -1,103 +0,0 @@
1
- import { __extends } from "tslib";
2
- import { QueryObjectsInput, QueryObjectsOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1QueryObjectsCommand, serializeAws_json1_1QueryObjectsCommand, } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Queries the specified pipeline for the names of objects that match the specified set of conditions.</p>
8
- *
9
- * <examples>
10
- * <request>
11
- *
12
- * POST / HTTP/1.1
13
- * Content-Type: application/x-amz-json-1.1
14
- * X-Amz-Target: DataPipeline.QueryObjects
15
- * Content-Length: 123
16
- * Host: datapipeline.us-east-1.amazonaws.com
17
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
18
- * Authorization: AuthParams
19
- *
20
- * {"pipelineId": "df-06372391ZG65EXAMPLE",
21
- * "query":
22
- * {"selectors":
23
- * [
24
- * ]
25
- * },
26
- * "sphere": "INSTANCE",
27
- * "marker": "",
28
- * "limit": 10}
29
- *
30
- * </request>
31
- *
32
- *
33
- * <response>
34
- *
35
- * x-amzn-RequestId: 14d704c1-0775-11e2-af6f-6bc7a6be60d9
36
- * Content-Type: application/x-amz-json-1.1
37
- * Content-Length: 72
38
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
39
- *
40
- * {"hasMoreResults": false,
41
- * "ids":
42
- * ["@SayHello_1_2012-09-25T17:00:00"]
43
- * }
44
- * </response>
45
- * </examples>
46
- * @example
47
- * Use a bare-bones client and the command you need to make an API call.
48
- * ```javascript
49
- * import { DataPipelineClient, QueryObjectsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
50
- * // const { DataPipelineClient, QueryObjectsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
51
- * const client = new DataPipelineClient(config);
52
- * const command = new QueryObjectsCommand(input);
53
- * const response = await client.send(command);
54
- * ```
55
- *
56
- * @see {@link QueryObjectsCommandInput} for command's `input` shape.
57
- * @see {@link QueryObjectsCommandOutput} for command's `response` shape.
58
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
59
- *
60
- */
61
- var QueryObjectsCommand = /** @class */ (function (_super) {
62
- __extends(QueryObjectsCommand, _super);
63
- // Start section: command_properties
64
- // End section: command_properties
65
- function QueryObjectsCommand(input) {
66
- var _this =
67
- // Start section: command_constructor
68
- _super.call(this) || this;
69
- _this.input = input;
70
- return _this;
71
- // End section: command_constructor
72
- }
73
- /**
74
- * @internal
75
- */
76
- QueryObjectsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
77
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
78
- var stack = clientStack.concat(this.middlewareStack);
79
- var logger = configuration.logger;
80
- var clientName = "DataPipelineClient";
81
- var commandName = "QueryObjectsCommand";
82
- var handlerExecutionContext = {
83
- logger: logger,
84
- clientName: clientName,
85
- commandName: commandName,
86
- inputFilterSensitiveLog: QueryObjectsInput.filterSensitiveLog,
87
- outputFilterSensitiveLog: QueryObjectsOutput.filterSensitiveLog,
88
- };
89
- var requestHandler = configuration.requestHandler;
90
- return stack.resolve(function (request) {
91
- return requestHandler.handle(request.request, options || {});
92
- }, handlerExecutionContext);
93
- };
94
- QueryObjectsCommand.prototype.serialize = function (input, context) {
95
- return serializeAws_json1_1QueryObjectsCommand(input, context);
96
- };
97
- QueryObjectsCommand.prototype.deserialize = function (output, context) {
98
- return deserializeAws_json1_1QueryObjectsCommand(output, context);
99
- };
100
- return QueryObjectsCommand;
101
- }($Command));
102
- export { QueryObjectsCommand };
103
- //# sourceMappingURL=QueryObjectsCommand.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryObjectsCommand.js","sourceRoot":"","sources":["../../../commands/QueryObjectsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH;IAAyC,uCAIxC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,6BAAqB,KAA+B;QAApD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0B;;QAGlD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,+CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aA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@
1
- import { __extends } from "tslib";
2
- import { ReportTaskProgressInput, ReportTaskProgressOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1ReportTaskProgressCommand, serializeAws_json1_1ReportTaskProgressCommand, } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Task runners call <code>ReportTaskProgress</code> when assigned a task to acknowledge that it has the task. If the web service does not
8
- * receive this acknowledgement within 2 minutes, it assigns the task in a subsequent <a>PollForTask</a> call. After this initial acknowledgement,
9
- * the task runner only needs to report progress every 15 minutes to maintain its ownership of the task. You can change this reporting time
10
- * from 15 minutes by specifying a <code>reportProgressTimeout</code> field in your pipeline.</p>
11
- * <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
12
- * and reassigns the task in a subsequent response to <a>PollForTask</a>. Task runners should call <code>ReportTaskProgress</code> every 60 seconds.</p>
13
- * <examples>
14
- * <request>
15
- *
16
- * POST / HTTP/1.1
17
- * Content-Type: application/x-amz-json-1.1
18
- * X-Amz-Target: DataPipeline.ReportTaskProgress
19
- * Content-Length: 832
20
- * Host: datapipeline.us-east-1.amazonaws.com
21
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
22
- * Authorization: AuthParams
23
- *
24
- * {"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",
25
- * "fields":
26
- * [
27
- * {"key": "percentComplete",
28
- * "stringValue": "50"}
29
- * ]
30
- * }
31
- *
32
- * </request>
33
- *
34
- * <response>
35
- *
36
- * x-amzn-RequestId: 640bd023-0775-11e2-af6f-6bc7a6be60d9
37
- * Content-Type: application/x-amz-json-1.1
38
- * Content-Length: 18
39
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
40
- *
41
- * {"canceled": false}
42
- *
43
- * </response>
44
- * </examples>
45
- * @example
46
- * Use a bare-bones client and the command you need to make an API call.
47
- * ```javascript
48
- * import { DataPipelineClient, ReportTaskProgressCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
49
- * // const { DataPipelineClient, ReportTaskProgressCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
50
- * const client = new DataPipelineClient(config);
51
- * const command = new ReportTaskProgressCommand(input);
52
- * const response = await client.send(command);
53
- * ```
54
- *
55
- * @see {@link ReportTaskProgressCommandInput} for command's `input` shape.
56
- * @see {@link ReportTaskProgressCommandOutput} for command's `response` shape.
57
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
58
- *
59
- */
60
- var ReportTaskProgressCommand = /** @class */ (function (_super) {
61
- __extends(ReportTaskProgressCommand, _super);
62
- // Start section: command_properties
63
- // End section: command_properties
64
- function ReportTaskProgressCommand(input) {
65
- var _this =
66
- // Start section: command_constructor
67
- _super.call(this) || this;
68
- _this.input = input;
69
- return _this;
70
- // End section: command_constructor
71
- }
72
- /**
73
- * @internal
74
- */
75
- ReportTaskProgressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
- var stack = clientStack.concat(this.middlewareStack);
78
- var logger = configuration.logger;
79
- var clientName = "DataPipelineClient";
80
- var commandName = "ReportTaskProgressCommand";
81
- var handlerExecutionContext = {
82
- logger: logger,
83
- clientName: clientName,
84
- commandName: commandName,
85
- inputFilterSensitiveLog: ReportTaskProgressInput.filterSensitiveLog,
86
- outputFilterSensitiveLog: ReportTaskProgressOutput.filterSensitiveLog,
87
- };
88
- var requestHandler = configuration.requestHandler;
89
- return stack.resolve(function (request) {
90
- return requestHandler.handle(request.request, options || {});
91
- }, handlerExecutionContext);
92
- };
93
- ReportTaskProgressCommand.prototype.serialize = function (input, context) {
94
- return serializeAws_json1_1ReportTaskProgressCommand(input, context);
95
- };
96
- ReportTaskProgressCommand.prototype.deserialize = function (output, context) {
97
- return deserializeAws_json1_1ReportTaskProgressCommand(output, context);
98
- };
99
- return ReportTaskProgressCommand;
100
- }($Command));
101
- export { ReportTaskProgressCommand };
102
- //# sourceMappingURL=ReportTaskProgressCommand.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReportTaskProgressCommand.js","sourceRoot":"","sources":["../../../commands/ReportT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,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
@@ -1,97 +0,0 @@
1
- import { __extends } from "tslib";
2
- import { ReportTaskRunnerHeartbeatInput, ReportTaskRunnerHeartbeatOutput } from "../models/models_0";
3
- import { deserializeAws_json1_1ReportTaskRunnerHeartbeatCommand, serializeAws_json1_1ReportTaskRunnerHeartbeatCommand, } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Task runners call <code>ReportTaskRunnerHeartbeat</code> every 15 minutes to indicate that they are operational.
8
- * If the AWS Data Pipeline Task Runner is launched on a resource managed by AWS Data Pipeline, the web service can use
9
- * this call to detect when the task runner application has failed and restart a new instance.</p>
10
- *
11
- * <examples>
12
- * <request>
13
- *
14
- * POST / HTTP/1.1
15
- * Content-Type: application/x-amz-json-1.1
16
- * X-Amz-Target: DataPipeline.ReportTaskRunnerHeartbeat
17
- * Content-Length: 84
18
- * Host: datapipeline.us-east-1.amazonaws.com
19
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
20
- * Authorization: AuthParams
21
- *
22
- * {"taskrunnerId": "1234567890",
23
- * "workerGroup": "wg-12345",
24
- * "hostname": "example.com"}
25
- *
26
- * </request>
27
- *
28
- * <response>
29
- *
30
- * Status:
31
- * x-amzn-RequestId: b3104dc5-0734-11e2-af6f-6bc7a6be60d9
32
- * Content-Type: application/x-amz-json-1.1
33
- * Content-Length: 20
34
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
35
- *
36
- * {"terminate": false}
37
- *
38
- * </response>
39
- * </examples>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { DataPipelineClient, ReportTaskRunnerHeartbeatCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
44
- * // const { DataPipelineClient, ReportTaskRunnerHeartbeatCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
45
- * const client = new DataPipelineClient(config);
46
- * const command = new ReportTaskRunnerHeartbeatCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link ReportTaskRunnerHeartbeatCommandInput} for command's `input` shape.
51
- * @see {@link ReportTaskRunnerHeartbeatCommandOutput} for command's `response` shape.
52
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
- var ReportTaskRunnerHeartbeatCommand = /** @class */ (function (_super) {
56
- __extends(ReportTaskRunnerHeartbeatCommand, _super);
57
- // Start section: command_properties
58
- // End section: command_properties
59
- function ReportTaskRunnerHeartbeatCommand(input) {
60
- var _this =
61
- // Start section: command_constructor
62
- _super.call(this) || this;
63
- _this.input = input;
64
- return _this;
65
- // End section: command_constructor
66
- }
67
- /**
68
- * @internal
69
- */
70
- ReportTaskRunnerHeartbeatCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
- var stack = clientStack.concat(this.middlewareStack);
73
- var logger = configuration.logger;
74
- var clientName = "DataPipelineClient";
75
- var commandName = "ReportTaskRunnerHeartbeatCommand";
76
- var handlerExecutionContext = {
77
- logger: logger,
78
- clientName: clientName,
79
- commandName: commandName,
80
- inputFilterSensitiveLog: ReportTaskRunnerHeartbeatInput.filterSensitiveLog,
81
- outputFilterSensitiveLog: ReportTaskRunnerHeartbeatOutput.filterSensitiveLog,
82
- };
83
- var requestHandler = configuration.requestHandler;
84
- return stack.resolve(function (request) {
85
- return requestHandler.handle(request.request, options || {});
86
- }, handlerExecutionContext);
87
- };
88
- ReportTaskRunnerHeartbeatCommand.prototype.serialize = function (input, context) {
89
- return serializeAws_json1_1ReportTaskRunnerHeartbeatCommand(input, context);
90
- };
91
- ReportTaskRunnerHeartbeatCommand.prototype.deserialize = function (output, context) {
92
- return deserializeAws_json1_1ReportTaskRunnerHeartbeatCommand(output, context);
93
- };
94
- return ReportTaskRunnerHeartbeatCommand;
95
- }($Command));
96
- export { ReportTaskRunnerHeartbeatCommand };
97
- //# sourceMappingURL=ReportTaskRunnerHeartbeatCommand.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReportTaskRunnerHeartbeatCommand.js","sourceRoot":"","sources":["../../../commands/ReportTaskRunnerHeartbeatCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH;IAAsD,oDAIrD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,0CAAqB,KAA4C;QAAjE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuC;;QAG/D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,4DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,kCAAkC,CAAC;QACvD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,8BAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,+BAA+B,CAAC,kBAAkB;SAC7E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
@@ -1,97 +0,0 @@
1
- import { __extends } from "tslib";
2
- import { SetStatusInput } from "../models/models_0";
3
- import { deserializeAws_json1_1SetStatusCommand, serializeAws_json1_1SetStatusCommand } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Requests that the status of the specified physical or logical pipeline objects be updated in the specified pipeline.
8
- * This update might not occur immediately, but is eventually consistent. The status that can be set depends on the type of object (for example, DataNode or Activity).
9
- * You cannot perform this operation on <code>FINISHED</code> pipelines and attempting to do so returns <code>InvalidRequestException</code>.</p>
10
- *
11
- * <examples>
12
- * <request>
13
- *
14
- * POST / HTTP/1.1
15
- * Content-Type: application/x-amz-json-1.1
16
- * X-Amz-Target: DataPipeline.SetStatus
17
- * Content-Length: 100
18
- * Host: datapipeline.us-east-1.amazonaws.com
19
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
20
- * Authorization: AuthParams
21
- *
22
- * {"pipelineId": "df-0634701J7KEXAMPLE",
23
- * "objectIds":
24
- * ["o-08600941GHJWMBR9E2"],
25
- * "status": "pause"}
26
- *
27
- * </request>
28
- *
29
- * <response>
30
- *
31
- * x-amzn-RequestId: e83b8ab7-076a-11e2-af6f-6bc7a6be60d9
32
- * Content-Type: application/x-amz-json-1.1
33
- * Content-Length: 0
34
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
35
- *
36
- * Unexpected response: 200, OK, undefined
37
- *
38
- * </response>
39
- * </examples>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { DataPipelineClient, SetStatusCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
44
- * // const { DataPipelineClient, SetStatusCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
45
- * const client = new DataPipelineClient(config);
46
- * const command = new SetStatusCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link SetStatusCommandInput} for command's `input` shape.
51
- * @see {@link SetStatusCommandOutput} for command's `response` shape.
52
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
- var SetStatusCommand = /** @class */ (function (_super) {
56
- __extends(SetStatusCommand, _super);
57
- // Start section: command_properties
58
- // End section: command_properties
59
- function SetStatusCommand(input) {
60
- var _this =
61
- // Start section: command_constructor
62
- _super.call(this) || this;
63
- _this.input = input;
64
- return _this;
65
- // End section: command_constructor
66
- }
67
- /**
68
- * @internal
69
- */
70
- SetStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
- var stack = clientStack.concat(this.middlewareStack);
73
- var logger = configuration.logger;
74
- var clientName = "DataPipelineClient";
75
- var commandName = "SetStatusCommand";
76
- var handlerExecutionContext = {
77
- logger: logger,
78
- clientName: clientName,
79
- commandName: commandName,
80
- inputFilterSensitiveLog: SetStatusInput.filterSensitiveLog,
81
- outputFilterSensitiveLog: function (output) { return output; },
82
- };
83
- var requestHandler = configuration.requestHandler;
84
- return stack.resolve(function (request) {
85
- return requestHandler.handle(request.request, options || {});
86
- }, handlerExecutionContext);
87
- };
88
- SetStatusCommand.prototype.serialize = function (input, context) {
89
- return serializeAws_json1_1SetStatusCommand(input, context);
90
- };
91
- SetStatusCommand.prototype.deserialize = function (output, context) {
92
- return deserializeAws_json1_1SetStatusCommand(output, context);
93
- };
94
- return SetStatusCommand;
95
- }($Command));
96
- export { SetStatusCommand };
97
- //# sourceMappingURL=SetStatusCommand.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SetStatusCommand.js","sourceRoot":"","sources":["../../../commands/SetStatusCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAAE,MAAM,0BAA0B,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH;IAAsC,oCAIrC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,0BAAqB,KAA4B;QAAjD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuB;;QAG/C,mCAAmC;IACrC,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