@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,254 +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 { PutPipelineDefinitionInput, PutPipelineDefinitionOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1PutPipelineDefinitionCommand,
18
- serializeAws_json1_1PutPipelineDefinitionCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface PutPipelineDefinitionCommandInput extends PutPipelineDefinitionInput {}
22
- export interface PutPipelineDefinitionCommandOutput extends PutPipelineDefinitionOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Adds tasks, schedules, and preconditions to the specified pipeline. You can use <code>PutPipelineDefinition</code> to populate a new pipeline.</p>
26
- * <p>
27
- * <code>PutPipelineDefinition</code> also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one
28
- * of the following three validation errors exists in the pipeline.
29
- * </p>
30
- * <ol>
31
- * <li>An object is missing a name or identifier field.</li>
32
- * <li>A string or reference field is empty.</li>
33
- * <li>The number of objects in the pipeline exceeds the maximum allowed objects.</li>
34
- * <li>The pipeline is in a FINISHED state.</li>
35
- * </ol>
36
- * <p>
37
- * Pipeline object definitions are passed to the <code>PutPipelineDefinition</code> action and returned by the <a>GetPipelineDefinition</a> action.
38
- * </p>
39
- * <examples>
40
- * <example>
41
- * <name>Example 1</name>
42
- * <description>
43
- * This example sets an valid pipeline configuration and returns success.
44
- * </description>
45
- * <request>
46
- *
47
- * POST / HTTP/1.1
48
- * Content-Type: application/x-amz-json-1.1
49
- * X-Amz-Target: DataPipeline.PutPipelineDefinition
50
- * Content-Length: 914
51
- * Host: datapipeline.us-east-1.amazonaws.com
52
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
53
- * Authorization: AuthParams
54
- *
55
- * {"pipelineId": "df-0937003356ZJEXAMPLE",
56
- * "pipelineObjects":
57
- * [
58
- * {"id": "Default",
59
- * "name": "Default",
60
- * "fields":
61
- * [
62
- * {"key": "workerGroup",
63
- * "stringValue": "workerGroup"}
64
- * ]
65
- * },
66
- * {"id": "Schedule",
67
- * "name": "Schedule",
68
- * "fields":
69
- * [
70
- * {"key": "startDateTime",
71
- * "stringValue": "2012-12-12T00:00:00"},
72
- * {"key": "type",
73
- * "stringValue": "Schedule"},
74
- * {"key": "period",
75
- * "stringValue": "1 hour"},
76
- * {"key": "endDateTime",
77
- * "stringValue": "2012-12-21T18:00:00"}
78
- * ]
79
- * },
80
- * {"id": "SayHello",
81
- * "name": "SayHello",
82
- * "fields":
83
- * [
84
- * {"key": "type",
85
- * "stringValue": "ShellCommandActivity"},
86
- * {"key": "command",
87
- * "stringValue": "echo hello"},
88
- * {"key": "parent",
89
- * "refValue": "Default"},
90
- * {"key": "schedule",
91
- * "refValue": "Schedule"}
92
- * ]
93
- * }
94
- * ]
95
- * }
96
- *
97
- * </request>
98
- * <response>
99
- *
100
- * HTTP/1.1 200
101
- * x-amzn-RequestId: f74afc14-0754-11e2-af6f-6bc7a6be60d9
102
- * Content-Type: application/x-amz-json-1.1
103
- * Content-Length: 18
104
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
105
- *
106
- * {"errored": false}
107
- *
108
- *
109
- * </response>
110
- * </example>
111
- * <example>
112
- * <name>Example 2</name>
113
- * <description>
114
- * This example sets an invalid pipeline configuration (the value for <code>workerGroup</code> is an empty string) and returns an error message.
115
- * </description>
116
- * <request>
117
- *
118
- * POST / HTTP/1.1
119
- * Content-Type: application/x-amz-json-1.1
120
- * X-Amz-Target: DataPipeline.PutPipelineDefinition
121
- * Content-Length: 903
122
- * Host: datapipeline.us-east-1.amazonaws.com
123
- * X-Amz-Date: Mon, 12 Nov 2012 17:49:52 GMT
124
- * Authorization: AuthParams
125
- *
126
- * {"pipelineId": "df-06372391ZG65EXAMPLE",
127
- * "pipelineObjects":
128
- * [
129
- * {"id": "Default",
130
- * "name": "Default",
131
- * "fields":
132
- * [
133
- * {"key": "workerGroup",
134
- * "stringValue": ""}
135
- * ]
136
- * },
137
- * {"id": "Schedule",
138
- * "name": "Schedule",
139
- * "fields":
140
- * [
141
- * {"key": "startDateTime",
142
- * "stringValue": "2012-09-25T17:00:00"},
143
- * {"key": "type",
144
- * "stringValue": "Schedule"},
145
- * {"key": "period",
146
- * "stringValue": "1 hour"},
147
- * {"key": "endDateTime",
148
- * "stringValue": "2012-09-25T18:00:00"}
149
- * ]
150
- * },
151
- * {"id": "SayHello",
152
- * "name": "SayHello",
153
- * "fields":
154
- * [
155
- * {"key": "type",
156
- * "stringValue": "ShellCommandActivity"},
157
- * {"key": "command",
158
- * "stringValue": "echo hello"},
159
- * {"key": "parent",
160
- * "refValue": "Default"},
161
- * {"key": "schedule",
162
- * "refValue": "Schedule"}
163
- *
164
- * ]
165
- * }
166
- * ]
167
- * }
168
- *
169
- * </request>
170
- * <response>
171
- *
172
- * HTTP/1.1 200
173
- * x-amzn-RequestId: f74afc14-0754-11e2-af6f-6bc7a6be60d9
174
- * Content-Type: application/x-amz-json-1.1
175
- * Content-Length: 18
176
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
177
- *
178
- * {"__type": "com.amazon.setl.webservice#InvalidRequestException",
179
- * "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"}
180
- *
181
- *
182
- * </response>
183
- * </example>
184
- * </examples>
185
- * @example
186
- * Use a bare-bones client and the command you need to make an API call.
187
- * ```javascript
188
- * import { DataPipelineClient, PutPipelineDefinitionCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
189
- * // const { DataPipelineClient, PutPipelineDefinitionCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
190
- * const client = new DataPipelineClient(config);
191
- * const command = new PutPipelineDefinitionCommand(input);
192
- * const response = await client.send(command);
193
- * ```
194
- *
195
- * @see {@link PutPipelineDefinitionCommandInput} for command's `input` shape.
196
- * @see {@link PutPipelineDefinitionCommandOutput} for command's `response` shape.
197
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
198
- *
199
- */
200
- export class PutPipelineDefinitionCommand extends $Command<
201
- PutPipelineDefinitionCommandInput,
202
- PutPipelineDefinitionCommandOutput,
203
- DataPipelineClientResolvedConfig
204
- > {
205
- // Start section: command_properties
206
- // End section: command_properties
207
-
208
- constructor(readonly input: PutPipelineDefinitionCommandInput) {
209
- // Start section: command_constructor
210
- super();
211
- // End section: command_constructor
212
- }
213
-
214
- /**
215
- * @internal
216
- */
217
- resolveMiddleware(
218
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
219
- configuration: DataPipelineClientResolvedConfig,
220
- options?: __HttpHandlerOptions
221
- ): Handler<PutPipelineDefinitionCommandInput, PutPipelineDefinitionCommandOutput> {
222
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
223
-
224
- const stack = clientStack.concat(this.middlewareStack);
225
-
226
- const { logger } = configuration;
227
- const clientName = "DataPipelineClient";
228
- const commandName = "PutPipelineDefinitionCommand";
229
- const handlerExecutionContext: HandlerExecutionContext = {
230
- logger,
231
- clientName,
232
- commandName,
233
- inputFilterSensitiveLog: PutPipelineDefinitionInput.filterSensitiveLog,
234
- outputFilterSensitiveLog: PutPipelineDefinitionOutput.filterSensitiveLog,
235
- };
236
- const { requestHandler } = configuration;
237
- return stack.resolve(
238
- (request: FinalizeHandlerArguments<any>) =>
239
- requestHandler.handle(request.request as __HttpRequest, options || {}),
240
- handlerExecutionContext
241
- );
242
- }
243
-
244
- private serialize(input: PutPipelineDefinitionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
245
- return serializeAws_json1_1PutPipelineDefinitionCommand(input, context);
246
- }
247
-
248
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutPipelineDefinitionCommandOutput> {
249
- return deserializeAws_json1_1PutPipelineDefinitionCommand(output, context);
250
- }
251
-
252
- // Start section: command_body_extra
253
- // End section: command_body_extra
254
- }
@@ -1,133 +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 { QueryObjectsInput, QueryObjectsOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1QueryObjectsCommand,
18
- serializeAws_json1_1QueryObjectsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface QueryObjectsCommandInput extends QueryObjectsInput {}
22
- export interface QueryObjectsCommandOutput extends QueryObjectsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Queries the specified pipeline for the names of objects that match the specified set of conditions.</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.QueryObjects
33
- * Content-Length: 123
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
- * "query":
40
- * {"selectors":
41
- * [
42
- * ]
43
- * },
44
- * "sphere": "INSTANCE",
45
- * "marker": "",
46
- * "limit": 10}
47
- *
48
- * </request>
49
- *
50
- *
51
- * <response>
52
- *
53
- * x-amzn-RequestId: 14d704c1-0775-11e2-af6f-6bc7a6be60d9
54
- * Content-Type: application/x-amz-json-1.1
55
- * Content-Length: 72
56
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
57
- *
58
- * {"hasMoreResults": false,
59
- * "ids":
60
- * ["@SayHello_1_2012-09-25T17:00:00"]
61
- * }
62
- * </response>
63
- * </examples>
64
- * @example
65
- * Use a bare-bones client and the command you need to make an API call.
66
- * ```javascript
67
- * import { DataPipelineClient, QueryObjectsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
68
- * // const { DataPipelineClient, QueryObjectsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
69
- * const client = new DataPipelineClient(config);
70
- * const command = new QueryObjectsCommand(input);
71
- * const response = await client.send(command);
72
- * ```
73
- *
74
- * @see {@link QueryObjectsCommandInput} for command's `input` shape.
75
- * @see {@link QueryObjectsCommandOutput} for command's `response` shape.
76
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
77
- *
78
- */
79
- export class QueryObjectsCommand extends $Command<
80
- QueryObjectsCommandInput,
81
- QueryObjectsCommandOutput,
82
- DataPipelineClientResolvedConfig
83
- > {
84
- // Start section: command_properties
85
- // End section: command_properties
86
-
87
- constructor(readonly input: QueryObjectsCommandInput) {
88
- // Start section: command_constructor
89
- super();
90
- // End section: command_constructor
91
- }
92
-
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(
97
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
98
- configuration: DataPipelineClientResolvedConfig,
99
- options?: __HttpHandlerOptions
100
- ): Handler<QueryObjectsCommandInput, QueryObjectsCommandOutput> {
101
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
102
-
103
- const stack = clientStack.concat(this.middlewareStack);
104
-
105
- const { logger } = configuration;
106
- const clientName = "DataPipelineClient";
107
- const commandName = "QueryObjectsCommand";
108
- const handlerExecutionContext: HandlerExecutionContext = {
109
- logger,
110
- clientName,
111
- commandName,
112
- inputFilterSensitiveLog: QueryObjectsInput.filterSensitiveLog,
113
- outputFilterSensitiveLog: QueryObjectsOutput.filterSensitiveLog,
114
- };
115
- const { requestHandler } = configuration;
116
- return stack.resolve(
117
- (request: FinalizeHandlerArguments<any>) =>
118
- requestHandler.handle(request.request as __HttpRequest, options || {}),
119
- handlerExecutionContext
120
- );
121
- }
122
-
123
- private serialize(input: QueryObjectsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
124
- return serializeAws_json1_1QueryObjectsCommand(input, context);
125
- }
126
-
127
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<QueryObjectsCommandOutput> {
128
- return deserializeAws_json1_1QueryObjectsCommand(output, context);
129
- }
130
-
131
- // Start section: command_body_extra
132
- // End section: command_body_extra
133
- }
@@ -1,95 +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 { RemoveTagsInput, RemoveTagsOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1RemoveTagsCommand,
18
- serializeAws_json1_1RemoveTagsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface RemoveTagsCommandInput extends RemoveTagsInput {}
22
- export interface RemoveTagsCommandOutput extends RemoveTagsOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes existing tags from the specified pipeline.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DataPipelineClient, RemoveTagsCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
30
- * // const { DataPipelineClient, RemoveTagsCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
31
- * const client = new DataPipelineClient(config);
32
- * const command = new RemoveTagsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link RemoveTagsCommandInput} for command's `input` shape.
37
- * @see {@link RemoveTagsCommandOutput} for command's `response` shape.
38
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class RemoveTagsCommand extends $Command<
42
- RemoveTagsCommandInput,
43
- RemoveTagsCommandOutput,
44
- DataPipelineClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: RemoveTagsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: DataPipelineClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<RemoveTagsCommandInput, RemoveTagsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "DataPipelineClient";
69
- const commandName = "RemoveTagsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: RemoveTagsInput.filterSensitiveLog,
75
- outputFilterSensitiveLog: RemoveTagsOutput.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: RemoveTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1RemoveTagsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RemoveTagsCommandOutput> {
90
- return deserializeAws_json1_1RemoveTagsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,132 +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 { ReportTaskProgressInput, ReportTaskProgressOutput } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ReportTaskProgressCommand,
18
- serializeAws_json1_1ReportTaskProgressCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ReportTaskProgressCommandInput extends ReportTaskProgressInput {}
22
- export interface ReportTaskProgressCommandOutput extends ReportTaskProgressOutput, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Task runners call <code>ReportTaskProgress</code> when assigned a task to acknowledge that it has the task. If the web service does not
26
- * receive this acknowledgement within 2 minutes, it assigns the task in a subsequent <a>PollForTask</a> call. After this initial acknowledgement,
27
- * the task runner only needs to report progress every 15 minutes to maintain its ownership of the task. You can change this reporting time
28
- * from 15 minutes by specifying a <code>reportProgressTimeout</code> field in your pipeline.</p>
29
- * <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
30
- * and reassigns the task in a subsequent response to <a>PollForTask</a>. Task runners should call <code>ReportTaskProgress</code> every 60 seconds.</p>
31
- * <examples>
32
- * <request>
33
- *
34
- * POST / HTTP/1.1
35
- * Content-Type: application/x-amz-json-1.1
36
- * X-Amz-Target: DataPipeline.ReportTaskProgress
37
- * Content-Length: 832
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
- * {"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",
43
- * "fields":
44
- * [
45
- * {"key": "percentComplete",
46
- * "stringValue": "50"}
47
- * ]
48
- * }
49
- *
50
- * </request>
51
- *
52
- * <response>
53
- *
54
- * x-amzn-RequestId: 640bd023-0775-11e2-af6f-6bc7a6be60d9
55
- * Content-Type: application/x-amz-json-1.1
56
- * Content-Length: 18
57
- * Date: Mon, 12 Nov 2012 17:50:53 GMT
58
- *
59
- * {"canceled": false}
60
- *
61
- * </response>
62
- * </examples>
63
- * @example
64
- * Use a bare-bones client and the command you need to make an API call.
65
- * ```javascript
66
- * import { DataPipelineClient, ReportTaskProgressCommand } from "@aws-sdk/client-data-pipeline"; // ES Modules import
67
- * // const { DataPipelineClient, ReportTaskProgressCommand } = require("@aws-sdk/client-data-pipeline"); // CommonJS import
68
- * const client = new DataPipelineClient(config);
69
- * const command = new ReportTaskProgressCommand(input);
70
- * const response = await client.send(command);
71
- * ```
72
- *
73
- * @see {@link ReportTaskProgressCommandInput} for command's `input` shape.
74
- * @see {@link ReportTaskProgressCommandOutput} for command's `response` shape.
75
- * @see {@link DataPipelineClientResolvedConfig | config} for command's `input` shape.
76
- *
77
- */
78
- export class ReportTaskProgressCommand extends $Command<
79
- ReportTaskProgressCommandInput,
80
- ReportTaskProgressCommandOutput,
81
- DataPipelineClientResolvedConfig
82
- > {
83
- // Start section: command_properties
84
- // End section: command_properties
85
-
86
- constructor(readonly input: ReportTaskProgressCommandInput) {
87
- // Start section: command_constructor
88
- super();
89
- // End section: command_constructor
90
- }
91
-
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(
96
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
97
- configuration: DataPipelineClientResolvedConfig,
98
- options?: __HttpHandlerOptions
99
- ): Handler<ReportTaskProgressCommandInput, ReportTaskProgressCommandOutput> {
100
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
101
-
102
- const stack = clientStack.concat(this.middlewareStack);
103
-
104
- const { logger } = configuration;
105
- const clientName = "DataPipelineClient";
106
- const commandName = "ReportTaskProgressCommand";
107
- const handlerExecutionContext: HandlerExecutionContext = {
108
- logger,
109
- clientName,
110
- commandName,
111
- inputFilterSensitiveLog: ReportTaskProgressInput.filterSensitiveLog,
112
- outputFilterSensitiveLog: ReportTaskProgressOutput.filterSensitiveLog,
113
- };
114
- const { requestHandler } = configuration;
115
- return stack.resolve(
116
- (request: FinalizeHandlerArguments<any>) =>
117
- requestHandler.handle(request.request as __HttpRequest, options || {}),
118
- handlerExecutionContext
119
- );
120
- }
121
-
122
- private serialize(input: ReportTaskProgressCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
123
- return serializeAws_json1_1ReportTaskProgressCommand(input, context);
124
- }
125
-
126
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ReportTaskProgressCommandOutput> {
127
- return deserializeAws_json1_1ReportTaskProgressCommand(output, context);
128
- }
129
-
130
- // Start section: command_body_extra
131
- // End section: command_body_extra
132
- }