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