@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,97 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { DeactivatePipelineInput, DeactivatePipelineOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeactivatePipelineCommand,
5
- serializeAws_json1_1DeactivatePipelineCommand,
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 DeactivatePipelineCommandInput extends DeactivatePipelineInput {}
21
- export interface DeactivatePipelineCommandOutput extends DeactivatePipelineOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deactivates the specified running pipeline. The pipeline is set to the <code>DEACTIVATING</code>
25
- * state until the deactivation process completes.</p>
26
- * <p>To resume a deactivated pipeline, use <a>ActivatePipeline</a>. By default, the pipeline resumes from the last completed execution.
27
- * Optionally, you can specify the date and time to resume the pipeline.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { DataPipelineClient, DeactivatePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
32
- * // const { DataPipelineClient, DeactivatePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
33
- * const client = new DataPipelineClient(config);
34
- * const command = new DeactivatePipelineCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeactivatePipelineCommandInput} for command's `input` shape.
39
- * @see {@link DeactivatePipelineCommandOutput} for command's `response` shape.
40
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeactivatePipelineCommand extends $Command<
44
- DeactivatePipelineCommandInput,
45
- DeactivatePipelineCommandOutput,
46
- DataPipelineClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeactivatePipelineCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: DataPipelineClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeactivatePipelineCommandInput, DeactivatePipelineCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "DataPipelineClient";
71
- const commandName = "DeactivatePipelineCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeactivatePipelineInput.filterSensitiveLog,
77
- outputFilterSensitiveLog: DeactivatePipelineOutput.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DeactivatePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1DeactivatePipelineCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeactivatePipelineCommandOutput> {
92
- return deserializeAws_json1_1DeactivatePipelineCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,125 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { DeletePipelineInput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeletePipelineCommand,
5
- serializeAws_json1_1DeletePipelineCommand,
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 DeletePipelineCommandInput extends DeletePipelineInput {}
21
- export interface DeletePipelineCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a pipeline, its pipeline definition, and its run history.
25
- * AWS Data Pipeline attempts to cancel instances associated with the pipeline that are currently being processed by task runners.</p>
26
- * <p>Deleting a pipeline cannot be undone. You cannot query or restore a deleted pipeline.
27
- * To temporarily pause a pipeline instead of deleting it, call <a>SetStatus</a> with the status set to <code>PAUSE</code> on individual components.
28
- * Components that are paused by <a>SetStatus</a> can be resumed.</p>
29
- *
30
- * <examples>
31
- * <request>
32
- *
33
- * POST / HTTP/1.1
34
- * Content-Type: application/x-amz-json-1.1
35
- * X-Amz-Target: DataPipeline.DeletePipeline
36
- * Content-Length: 50
37
- * Host: datapipeline.us-east-1.amazonaws.com
38
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
39
- * Authorization: AuthParams
40
- *
41
- * {"pipelineId": "df-06372391ZG65EXAMPLE"}
42
- *
43
- * </request>
44
- *
45
- * <response>
46
- *
47
- * x-amzn-RequestId: b7a88c81-0754-11e2-af6f-6bc7a6be60d9
48
- * Content-Type: application/x-amz-json-1.1
49
- * Content-Length: 0
50
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
51
- *
52
- * Unexpected response: 200, OK, undefined
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, DeletePipelineCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
60
- * // const { DataPipelineClient, DeletePipelineCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
61
- * const client = new DataPipelineClient(config);
62
- * const command = new DeletePipelineCommand(input);
63
- * const response = await client.send(command);
64
- * ```
65
- *
66
- * @see {@link DeletePipelineCommandInput} for command's `input` shape.
67
- * @see {@link DeletePipelineCommandOutput} for command's `response` shape.
68
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
69
- *
70
- */
71
- export class DeletePipelineCommand extends $Command<
72
- DeletePipelineCommandInput,
73
- DeletePipelineCommandOutput,
74
- DataPipelineClientResolvedConfig
75
- > {
76
- // Start section: command_properties
77
- // End section: command_properties
78
-
79
- constructor(readonly input: DeletePipelineCommandInput) {
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<DeletePipelineCommandInput, DeletePipelineCommandOutput> {
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 = "DeletePipelineCommand";
100
- const handlerExecutionContext: HandlerExecutionContext = {
101
- logger,
102
- clientName,
103
- commandName,
104
- inputFilterSensitiveLog: DeletePipelineInput.filterSensitiveLog,
105
- outputFilterSensitiveLog: (output: any) => output,
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: DeletePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
116
- return serializeAws_json1_1DeletePipelineCommand(input, context);
117
- }
118
-
119
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePipelineCommandOutput> {
120
- return deserializeAws_json1_1DeletePipelineCommand(output, context);
121
- }
122
-
123
- // Start section: command_body_extra
124
- // End section: command_body_extra
125
- }
@@ -1,152 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { DescribeObjectsInput, DescribeObjectsOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeObjectsCommand,
5
- serializeAws_json1_1DescribeObjectsCommand,
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 DescribeObjectsCommandInput extends DescribeObjectsInput {}
21
- export interface DescribeObjectsCommandOutput extends DescribeObjectsOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets the object definitions for a set of objects associated with the pipeline. Object definitions are composed of
25
- * a set of fields that define the properties of the object.</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.DescribeObjects
33
- * Content-Length: 98
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
- * {"pipelineId": "df-06372391ZG65EXAMPLE",
39
- * "objectIds":
40
- * ["Schedule"],
41
- * "evaluateExpressions": true}
42
- *
43
- * </request>
44
- *
45
- * <response>
46
- *
47
- * x-amzn-RequestId: 4c18ea5d-0777-11e2-8a14-21bb8a1f50ef
48
- * Content-Type: application/x-amz-json-1.1
49
- * Content-Length: 1488
50
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
51
- *
52
- * {"hasMoreResults": false,
53
- * "pipelineObjects":
54
- * [
55
- * {"fields":
56
- * [
57
- * {"key": "startDateTime",
58
- * "stringValue": "2012-12-12T00:00:00"},
59
- * {"key": "parent",
60
- * "refValue": "Default"},
61
- * {"key": "@sphere",
62
- * "stringValue": "COMPONENT"},
63
- * {"key": "type",
64
- * "stringValue": "Schedule"},
65
- * {"key": "period",
66
- * "stringValue": "1 hour"},
67
- * {"key": "endDateTime",
68
- * "stringValue": "2012-12-21T18:00:00"},
69
- * {"key": "@version",
70
- * "stringValue": "1"},
71
- * {"key": "@status",
72
- * "stringValue": "PENDING"},
73
- * {"key": "@pipelineId",
74
- * "stringValue": "df-06372391ZG65EXAMPLE"}
75
- * ],
76
- * "id": "Schedule",
77
- * "name": "Schedule"}
78
- * ]
79
- * }
80
- *
81
- * </response>
82
- * </examples>
83
- * @example
84
- * Use a bare-bones client and the command you need to make an API call.
85
- * ```javascript
86
- * import { DataPipelineClient, DescribeObjectsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
87
- * // const { DataPipelineClient, DescribeObjectsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
88
- * const client = new DataPipelineClient(config);
89
- * const command = new DescribeObjectsCommand(input);
90
- * const response = await client.send(command);
91
- * ```
92
- *
93
- * @see {@link DescribeObjectsCommandInput} for command's `input` shape.
94
- * @see {@link DescribeObjectsCommandOutput} for command's `response` shape.
95
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
96
- *
97
- */
98
- export class DescribeObjectsCommand extends $Command<
99
- DescribeObjectsCommandInput,
100
- DescribeObjectsCommandOutput,
101
- DataPipelineClientResolvedConfig
102
- > {
103
- // Start section: command_properties
104
- // End section: command_properties
105
-
106
- constructor(readonly input: DescribeObjectsCommandInput) {
107
- // Start section: command_constructor
108
- super();
109
- // End section: command_constructor
110
- }
111
-
112
- /**
113
- * @internal
114
- */
115
- resolveMiddleware(
116
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
117
- configuration: DataPipelineClientResolvedConfig,
118
- options?: __HttpHandlerOptions
119
- ): Handler<DescribeObjectsCommandInput, DescribeObjectsCommandOutput> {
120
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
121
-
122
- const stack = clientStack.concat(this.middlewareStack);
123
-
124
- const { logger } = configuration;
125
- const clientName = "DataPipelineClient";
126
- const commandName = "DescribeObjectsCommand";
127
- const handlerExecutionContext: HandlerExecutionContext = {
128
- logger,
129
- clientName,
130
- commandName,
131
- inputFilterSensitiveLog: DescribeObjectsInput.filterSensitiveLog,
132
- outputFilterSensitiveLog: DescribeObjectsOutput.filterSensitiveLog,
133
- };
134
- const { requestHandler } = configuration;
135
- return stack.resolve(
136
- (request: FinalizeHandlerArguments<any>) =>
137
- requestHandler.handle(request.request as __HttpRequest, options || {}),
138
- handlerExecutionContext
139
- );
140
- }
141
-
142
- private serialize(input: DescribeObjectsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
143
- return serializeAws_json1_1DescribeObjectsCommand(input, context);
144
- }
145
-
146
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeObjectsCommandOutput> {
147
- return deserializeAws_json1_1DescribeObjectsCommand(output, context);
148
- }
149
-
150
- // Start section: command_body_extra
151
- // End section: command_body_extra
152
- }
@@ -1,155 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { DescribePipelinesInput, DescribePipelinesOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribePipelinesCommand,
5
- serializeAws_json1_1DescribePipelinesCommand,
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 DescribePipelinesCommandInput extends DescribePipelinesInput {}
21
- export interface DescribePipelinesCommandOutput extends DescribePipelinesOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves metadata about one or more pipelines. The information retrieved includes the name of the pipeline, the pipeline identifier,
25
- * its current state, and the user account that owns the pipeline. Using account credentials, you can retrieve metadata about pipelines
26
- * that you or your IAM users have created. If you are using an IAM user account, you can retrieve metadata about only those pipelines
27
- * for which you have read permissions.</p>
28
- * <p>To retrieve the full pipeline definition instead of metadata about the pipeline, call <a>GetPipelineDefinition</a>.</p>
29
- *
30
- * <examples>
31
- * <request>
32
- *
33
- * POST / HTTP/1.1
34
- * Content-Type: application/x-amz-json-1.1
35
- * X-Amz-Target: DataPipeline.DescribePipelines
36
- * Content-Length: 70
37
- * Host: datapipeline.us-east-1.amazonaws.com
38
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
39
- * Authorization: AuthParams
40
- *
41
- * {"pipelineIds":
42
- * ["df-08785951KAKJEXAMPLE"]
43
- * }
44
- *
45
- * </request>
46
- *
47
- * <response>
48
- *
49
- * x-amzn-RequestId: 02870eb7-0736-11e2-af6f-6bc7a6be60d9
50
- * Content-Type: application/x-amz-json-1.1
51
- * Content-Length: 767
52
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
53
- *
54
- * {"pipelineDescriptionList":
55
- * [
56
- * {"description": "This is my first pipeline",
57
- * "fields":
58
- * [
59
- * {"key": "@pipelineState",
60
- * "stringValue": "SCHEDULED"},
61
- * {"key": "description",
62
- * "stringValue": "This is my first pipeline"},
63
- * {"key": "name",
64
- * "stringValue": "myPipeline"},
65
- * {"key": "@creationTime",
66
- * "stringValue": "2012-12-13T01:24:06"},
67
- * {"key": "@id",
68
- * "stringValue": "df-0937003356ZJEXAMPLE"},
69
- * {"key": "@sphere",
70
- * "stringValue": "PIPELINE"},
71
- * {"key": "@version",
72
- * "stringValue": "1"},
73
- * {"key": "@userId",
74
- * "stringValue": "924374875933"},
75
- * {"key": "@accountId",
76
- * "stringValue": "924374875933"},
77
- * {"key": "uniqueId",
78
- * "stringValue": "1234567890"}
79
- * ],
80
- * "name": "myPipeline",
81
- * "pipelineId": "df-0937003356ZJEXAMPLE"}
82
- * ]
83
- * }
84
- * </response>
85
- * </examples>
86
- * @example
87
- * Use a bare-bones client and the command you need to make an API call.
88
- * ```javascript
89
- * import { DataPipelineClient, DescribePipelinesCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
90
- * // const { DataPipelineClient, DescribePipelinesCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
91
- * const client = new DataPipelineClient(config);
92
- * const command = new DescribePipelinesCommand(input);
93
- * const response = await client.send(command);
94
- * ```
95
- *
96
- * @see {@link DescribePipelinesCommandInput} for command's `input` shape.
97
- * @see {@link DescribePipelinesCommandOutput} for command's `response` shape.
98
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
99
- *
100
- */
101
- export class DescribePipelinesCommand extends $Command<
102
- DescribePipelinesCommandInput,
103
- DescribePipelinesCommandOutput,
104
- DataPipelineClientResolvedConfig
105
- > {
106
- // Start section: command_properties
107
- // End section: command_properties
108
-
109
- constructor(readonly input: DescribePipelinesCommandInput) {
110
- // Start section: command_constructor
111
- super();
112
- // End section: command_constructor
113
- }
114
-
115
- /**
116
- * @internal
117
- */
118
- resolveMiddleware(
119
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
120
- configuration: DataPipelineClientResolvedConfig,
121
- options?: __HttpHandlerOptions
122
- ): Handler<DescribePipelinesCommandInput, DescribePipelinesCommandOutput> {
123
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
124
-
125
- const stack = clientStack.concat(this.middlewareStack);
126
-
127
- const { logger } = configuration;
128
- const clientName = "DataPipelineClient";
129
- const commandName = "DescribePipelinesCommand";
130
- const handlerExecutionContext: HandlerExecutionContext = {
131
- logger,
132
- clientName,
133
- commandName,
134
- inputFilterSensitiveLog: DescribePipelinesInput.filterSensitiveLog,
135
- outputFilterSensitiveLog: DescribePipelinesOutput.filterSensitiveLog,
136
- };
137
- const { requestHandler } = configuration;
138
- return stack.resolve(
139
- (request: FinalizeHandlerArguments<any>) =>
140
- requestHandler.handle(request.request as __HttpRequest, options || {}),
141
- handlerExecutionContext
142
- );
143
- }
144
-
145
- private serialize(input: DescribePipelinesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
146
- return serializeAws_json1_1DescribePipelinesCommand(input, context);
147
- }
148
-
149
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribePipelinesCommandOutput> {
150
- return deserializeAws_json1_1DescribePipelinesCommand(output, context);
151
- }
152
-
153
- // Start section: command_body_extra
154
- // End section: command_body_extra
155
- }
@@ -1,124 +0,0 @@
1
- import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
2
- import { EvaluateExpressionInput, EvaluateExpressionOutput } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1EvaluateExpressionCommand,
5
- serializeAws_json1_1EvaluateExpressionCommand,
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 EvaluateExpressionCommandInput extends EvaluateExpressionInput {}
21
- export interface EvaluateExpressionCommandOutput extends EvaluateExpressionOutput, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Task runners call <code>EvaluateExpression</code> to evaluate a string in the context of the specified object.
25
- * For example, a task runner can evaluate SQL queries stored in Amazon S3.</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.DescribePipelines
33
- * Content-Length: 164
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
- * {"pipelineId": "df-08785951KAKJEXAMPLE",
39
- * "objectId": "Schedule",
40
- * "expression": "Transform started at #{startDateTime} and finished at #{endDateTime}"}
41
- *
42
- * </request>
43
- *
44
- *
45
- * <response>
46
- *
47
- * x-amzn-RequestId: 02870eb7-0736-11e2-af6f-6bc7a6be60d9
48
- * Content-Type: application/x-amz-json-1.1
49
- * Content-Length: 103
50
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
51
- *
52
- * {"evaluatedExpression": "Transform started at 2012-12-12T00:00:00 and finished at 2012-12-21T18:00:00"}
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, EvaluateExpressionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
59
- * // const { DataPipelineClient, EvaluateExpressionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
60
- * const client = new DataPipelineClient(config);
61
- * const command = new EvaluateExpressionCommand(input);
62
- * const response = await client.send(command);
63
- * ```
64
- *
65
- * @see {@link EvaluateExpressionCommandInput} for command's `input` shape.
66
- * @see {@link EvaluateExpressionCommandOutput} for command's `response` shape.
67
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
68
- *
69
- */
70
- export class EvaluateExpressionCommand extends $Command<
71
- EvaluateExpressionCommandInput,
72
- EvaluateExpressionCommandOutput,
73
- DataPipelineClientResolvedConfig
74
- > {
75
- // Start section: command_properties
76
- // End section: command_properties
77
-
78
- constructor(readonly input: EvaluateExpressionCommandInput) {
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<EvaluateExpressionCommandInput, EvaluateExpressionCommandOutput> {
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 = "EvaluateExpressionCommand";
99
- const handlerExecutionContext: HandlerExecutionContext = {
100
- logger,
101
- clientName,
102
- commandName,
103
- inputFilterSensitiveLog: EvaluateExpressionInput.filterSensitiveLog,
104
- outputFilterSensitiveLog: EvaluateExpressionOutput.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: EvaluateExpressionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
115
- return serializeAws_json1_1EvaluateExpressionCommand(input, context);
116
- }
117
-
118
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<EvaluateExpressionCommandOutput> {
119
- return deserializeAws_json1_1EvaluateExpressionCommand(output, context);
120
- }
121
-
122
- // Start section: command_body_extra
123
- // End section: command_body_extra
124
- }