@aws-sdk/client-data-pipeline 3.183.0 → 3.185.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 (35) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/DataPipeline.js +85 -78
  4. package/dist-es/DataPipelineClient.js +28 -22
  5. package/dist-es/commands/ActivatePipelineCommand.js +28 -21
  6. package/dist-es/commands/AddTagsCommand.js +28 -21
  7. package/dist-es/commands/CreatePipelineCommand.js +28 -21
  8. package/dist-es/commands/DeactivatePipelineCommand.js +28 -21
  9. package/dist-es/commands/DeletePipelineCommand.js +29 -22
  10. package/dist-es/commands/DescribeObjectsCommand.js +28 -21
  11. package/dist-es/commands/DescribePipelinesCommand.js +28 -21
  12. package/dist-es/commands/EvaluateExpressionCommand.js +28 -21
  13. package/dist-es/commands/GetPipelineDefinitionCommand.js +28 -21
  14. package/dist-es/commands/ListPipelinesCommand.js +28 -21
  15. package/dist-es/commands/PollForTaskCommand.js +28 -21
  16. package/dist-es/commands/PutPipelineDefinitionCommand.js +28 -21
  17. package/dist-es/commands/QueryObjectsCommand.js +28 -21
  18. package/dist-es/commands/RemoveTagsCommand.js +28 -21
  19. package/dist-es/commands/ReportTaskProgressCommand.js +28 -21
  20. package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +28 -21
  21. package/dist-es/commands/SetStatusCommand.js +29 -22
  22. package/dist-es/commands/SetTaskStatusCommand.js +28 -21
  23. package/dist-es/commands/ValidatePipelineDefinitionCommand.js +28 -21
  24. package/dist-es/endpoints.js +8 -8
  25. package/dist-es/models/DataPipelineServiceException.js +10 -5
  26. package/dist-es/models/models_0.js +107 -208
  27. package/dist-es/pagination/DescribeObjectsPaginator.js +67 -24
  28. package/dist-es/pagination/ListPipelinesPaginator.js +67 -24
  29. package/dist-es/pagination/QueryObjectsPaginator.js +68 -25
  30. package/dist-es/protocols/Aws_json1_1.js +1680 -1323
  31. package/dist-es/runtimeConfig.browser.js +12 -26
  32. package/dist-es/runtimeConfig.js +12 -30
  33. package/dist-es/runtimeConfig.native.js +5 -8
  34. package/dist-es/runtimeConfig.shared.js +11 -8
  35. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-data-pipeline
@@ -1655,10 +1655,10 @@ const deserializeAws_json1_1ValidationWarnings = (output, context) => {
1655
1655
  return retVal;
1656
1656
  };
1657
1657
  const deserializeMetadata = (output) => {
1658
- var _a;
1658
+ var _a, _b;
1659
1659
  return ({
1660
1660
  httpStatusCode: output.statusCode,
1661
- requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
1661
+ requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
1662
1662
  extendedRequestId: output.headers["x-amz-id-2"],
1663
1663
  cfId: output.headers["x-amz-cf-id"],
1664
1664
  });
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { ActivatePipelineCommand, } from "./commands/ActivatePipelineCommand";
2
3
  import { AddTagsCommand } from "./commands/AddTagsCommand";
3
4
  import { CreatePipelineCommand, } from "./commands/CreatePipelineCommand";
@@ -18,271 +19,277 @@ import { SetStatusCommand } from "./commands/SetStatusCommand";
18
19
  import { SetTaskStatusCommand, } from "./commands/SetTaskStatusCommand";
19
20
  import { ValidatePipelineDefinitionCommand, } from "./commands/ValidatePipelineDefinitionCommand";
20
21
  import { DataPipelineClient } from "./DataPipelineClient";
21
- export class DataPipeline extends DataPipelineClient {
22
- activatePipeline(args, optionsOrCb, cb) {
23
- const command = new ActivatePipelineCommand(args);
22
+ var DataPipeline = (function (_super) {
23
+ __extends(DataPipeline, _super);
24
+ function DataPipeline() {
25
+ return _super !== null && _super.apply(this, arguments) || this;
26
+ }
27
+ DataPipeline.prototype.activatePipeline = function (args, optionsOrCb, cb) {
28
+ var command = new ActivatePipelineCommand(args);
24
29
  if (typeof optionsOrCb === "function") {
25
30
  this.send(command, optionsOrCb);
26
31
  }
27
32
  else if (typeof cb === "function") {
28
33
  if (typeof optionsOrCb !== "object")
29
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
34
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
30
35
  this.send(command, optionsOrCb || {}, cb);
31
36
  }
32
37
  else {
33
38
  return this.send(command, optionsOrCb);
34
39
  }
35
- }
36
- addTags(args, optionsOrCb, cb) {
37
- const command = new AddTagsCommand(args);
40
+ };
41
+ DataPipeline.prototype.addTags = function (args, optionsOrCb, cb) {
42
+ var command = new AddTagsCommand(args);
38
43
  if (typeof optionsOrCb === "function") {
39
44
  this.send(command, optionsOrCb);
40
45
  }
41
46
  else if (typeof cb === "function") {
42
47
  if (typeof optionsOrCb !== "object")
43
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
48
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
44
49
  this.send(command, optionsOrCb || {}, cb);
45
50
  }
46
51
  else {
47
52
  return this.send(command, optionsOrCb);
48
53
  }
49
- }
50
- createPipeline(args, optionsOrCb, cb) {
51
- const command = new CreatePipelineCommand(args);
54
+ };
55
+ DataPipeline.prototype.createPipeline = function (args, optionsOrCb, cb) {
56
+ var command = new CreatePipelineCommand(args);
52
57
  if (typeof optionsOrCb === "function") {
53
58
  this.send(command, optionsOrCb);
54
59
  }
55
60
  else if (typeof cb === "function") {
56
61
  if (typeof optionsOrCb !== "object")
57
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
62
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
58
63
  this.send(command, optionsOrCb || {}, cb);
59
64
  }
60
65
  else {
61
66
  return this.send(command, optionsOrCb);
62
67
  }
63
- }
64
- deactivatePipeline(args, optionsOrCb, cb) {
65
- const command = new DeactivatePipelineCommand(args);
68
+ };
69
+ DataPipeline.prototype.deactivatePipeline = function (args, optionsOrCb, cb) {
70
+ var command = new DeactivatePipelineCommand(args);
66
71
  if (typeof optionsOrCb === "function") {
67
72
  this.send(command, optionsOrCb);
68
73
  }
69
74
  else if (typeof cb === "function") {
70
75
  if (typeof optionsOrCb !== "object")
71
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
76
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
72
77
  this.send(command, optionsOrCb || {}, cb);
73
78
  }
74
79
  else {
75
80
  return this.send(command, optionsOrCb);
76
81
  }
77
- }
78
- deletePipeline(args, optionsOrCb, cb) {
79
- const command = new DeletePipelineCommand(args);
82
+ };
83
+ DataPipeline.prototype.deletePipeline = function (args, optionsOrCb, cb) {
84
+ var command = new DeletePipelineCommand(args);
80
85
  if (typeof optionsOrCb === "function") {
81
86
  this.send(command, optionsOrCb);
82
87
  }
83
88
  else if (typeof cb === "function") {
84
89
  if (typeof optionsOrCb !== "object")
85
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
90
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
86
91
  this.send(command, optionsOrCb || {}, cb);
87
92
  }
88
93
  else {
89
94
  return this.send(command, optionsOrCb);
90
95
  }
91
- }
92
- describeObjects(args, optionsOrCb, cb) {
93
- const command = new DescribeObjectsCommand(args);
96
+ };
97
+ DataPipeline.prototype.describeObjects = function (args, optionsOrCb, cb) {
98
+ var command = new DescribeObjectsCommand(args);
94
99
  if (typeof optionsOrCb === "function") {
95
100
  this.send(command, optionsOrCb);
96
101
  }
97
102
  else if (typeof cb === "function") {
98
103
  if (typeof optionsOrCb !== "object")
99
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
104
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
100
105
  this.send(command, optionsOrCb || {}, cb);
101
106
  }
102
107
  else {
103
108
  return this.send(command, optionsOrCb);
104
109
  }
105
- }
106
- describePipelines(args, optionsOrCb, cb) {
107
- const command = new DescribePipelinesCommand(args);
110
+ };
111
+ DataPipeline.prototype.describePipelines = function (args, optionsOrCb, cb) {
112
+ var command = new DescribePipelinesCommand(args);
108
113
  if (typeof optionsOrCb === "function") {
109
114
  this.send(command, optionsOrCb);
110
115
  }
111
116
  else if (typeof cb === "function") {
112
117
  if (typeof optionsOrCb !== "object")
113
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
118
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
114
119
  this.send(command, optionsOrCb || {}, cb);
115
120
  }
116
121
  else {
117
122
  return this.send(command, optionsOrCb);
118
123
  }
119
- }
120
- evaluateExpression(args, optionsOrCb, cb) {
121
- const command = new EvaluateExpressionCommand(args);
124
+ };
125
+ DataPipeline.prototype.evaluateExpression = function (args, optionsOrCb, cb) {
126
+ var command = new EvaluateExpressionCommand(args);
122
127
  if (typeof optionsOrCb === "function") {
123
128
  this.send(command, optionsOrCb);
124
129
  }
125
130
  else if (typeof cb === "function") {
126
131
  if (typeof optionsOrCb !== "object")
127
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
132
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
128
133
  this.send(command, optionsOrCb || {}, cb);
129
134
  }
130
135
  else {
131
136
  return this.send(command, optionsOrCb);
132
137
  }
133
- }
134
- getPipelineDefinition(args, optionsOrCb, cb) {
135
- const command = new GetPipelineDefinitionCommand(args);
138
+ };
139
+ DataPipeline.prototype.getPipelineDefinition = function (args, optionsOrCb, cb) {
140
+ var command = new GetPipelineDefinitionCommand(args);
136
141
  if (typeof optionsOrCb === "function") {
137
142
  this.send(command, optionsOrCb);
138
143
  }
139
144
  else if (typeof cb === "function") {
140
145
  if (typeof optionsOrCb !== "object")
141
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
146
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
142
147
  this.send(command, optionsOrCb || {}, cb);
143
148
  }
144
149
  else {
145
150
  return this.send(command, optionsOrCb);
146
151
  }
147
- }
148
- listPipelines(args, optionsOrCb, cb) {
149
- const command = new ListPipelinesCommand(args);
152
+ };
153
+ DataPipeline.prototype.listPipelines = function (args, optionsOrCb, cb) {
154
+ var command = new ListPipelinesCommand(args);
150
155
  if (typeof optionsOrCb === "function") {
151
156
  this.send(command, optionsOrCb);
152
157
  }
153
158
  else if (typeof cb === "function") {
154
159
  if (typeof optionsOrCb !== "object")
155
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
160
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
156
161
  this.send(command, optionsOrCb || {}, cb);
157
162
  }
158
163
  else {
159
164
  return this.send(command, optionsOrCb);
160
165
  }
161
- }
162
- pollForTask(args, optionsOrCb, cb) {
163
- const command = new PollForTaskCommand(args);
166
+ };
167
+ DataPipeline.prototype.pollForTask = function (args, optionsOrCb, cb) {
168
+ var command = new PollForTaskCommand(args);
164
169
  if (typeof optionsOrCb === "function") {
165
170
  this.send(command, optionsOrCb);
166
171
  }
167
172
  else if (typeof cb === "function") {
168
173
  if (typeof optionsOrCb !== "object")
169
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
174
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
170
175
  this.send(command, optionsOrCb || {}, cb);
171
176
  }
172
177
  else {
173
178
  return this.send(command, optionsOrCb);
174
179
  }
175
- }
176
- putPipelineDefinition(args, optionsOrCb, cb) {
177
- const command = new PutPipelineDefinitionCommand(args);
180
+ };
181
+ DataPipeline.prototype.putPipelineDefinition = function (args, optionsOrCb, cb) {
182
+ var command = new PutPipelineDefinitionCommand(args);
178
183
  if (typeof optionsOrCb === "function") {
179
184
  this.send(command, optionsOrCb);
180
185
  }
181
186
  else if (typeof cb === "function") {
182
187
  if (typeof optionsOrCb !== "object")
183
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
188
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
184
189
  this.send(command, optionsOrCb || {}, cb);
185
190
  }
186
191
  else {
187
192
  return this.send(command, optionsOrCb);
188
193
  }
189
- }
190
- queryObjects(args, optionsOrCb, cb) {
191
- const command = new QueryObjectsCommand(args);
194
+ };
195
+ DataPipeline.prototype.queryObjects = function (args, optionsOrCb, cb) {
196
+ var command = new QueryObjectsCommand(args);
192
197
  if (typeof optionsOrCb === "function") {
193
198
  this.send(command, optionsOrCb);
194
199
  }
195
200
  else if (typeof cb === "function") {
196
201
  if (typeof optionsOrCb !== "object")
197
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
202
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
198
203
  this.send(command, optionsOrCb || {}, cb);
199
204
  }
200
205
  else {
201
206
  return this.send(command, optionsOrCb);
202
207
  }
203
- }
204
- removeTags(args, optionsOrCb, cb) {
205
- const command = new RemoveTagsCommand(args);
208
+ };
209
+ DataPipeline.prototype.removeTags = function (args, optionsOrCb, cb) {
210
+ var command = new RemoveTagsCommand(args);
206
211
  if (typeof optionsOrCb === "function") {
207
212
  this.send(command, optionsOrCb);
208
213
  }
209
214
  else if (typeof cb === "function") {
210
215
  if (typeof optionsOrCb !== "object")
211
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
216
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
212
217
  this.send(command, optionsOrCb || {}, cb);
213
218
  }
214
219
  else {
215
220
  return this.send(command, optionsOrCb);
216
221
  }
217
- }
218
- reportTaskProgress(args, optionsOrCb, cb) {
219
- const command = new ReportTaskProgressCommand(args);
222
+ };
223
+ DataPipeline.prototype.reportTaskProgress = function (args, optionsOrCb, cb) {
224
+ var command = new ReportTaskProgressCommand(args);
220
225
  if (typeof optionsOrCb === "function") {
221
226
  this.send(command, optionsOrCb);
222
227
  }
223
228
  else if (typeof cb === "function") {
224
229
  if (typeof optionsOrCb !== "object")
225
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
230
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
226
231
  this.send(command, optionsOrCb || {}, cb);
227
232
  }
228
233
  else {
229
234
  return this.send(command, optionsOrCb);
230
235
  }
231
- }
232
- reportTaskRunnerHeartbeat(args, optionsOrCb, cb) {
233
- const command = new ReportTaskRunnerHeartbeatCommand(args);
236
+ };
237
+ DataPipeline.prototype.reportTaskRunnerHeartbeat = function (args, optionsOrCb, cb) {
238
+ var command = new ReportTaskRunnerHeartbeatCommand(args);
234
239
  if (typeof optionsOrCb === "function") {
235
240
  this.send(command, optionsOrCb);
236
241
  }
237
242
  else if (typeof cb === "function") {
238
243
  if (typeof optionsOrCb !== "object")
239
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
244
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
240
245
  this.send(command, optionsOrCb || {}, cb);
241
246
  }
242
247
  else {
243
248
  return this.send(command, optionsOrCb);
244
249
  }
245
- }
246
- setStatus(args, optionsOrCb, cb) {
247
- const command = new SetStatusCommand(args);
250
+ };
251
+ DataPipeline.prototype.setStatus = function (args, optionsOrCb, cb) {
252
+ var command = new SetStatusCommand(args);
248
253
  if (typeof optionsOrCb === "function") {
249
254
  this.send(command, optionsOrCb);
250
255
  }
251
256
  else if (typeof cb === "function") {
252
257
  if (typeof optionsOrCb !== "object")
253
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
258
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
254
259
  this.send(command, optionsOrCb || {}, cb);
255
260
  }
256
261
  else {
257
262
  return this.send(command, optionsOrCb);
258
263
  }
259
- }
260
- setTaskStatus(args, optionsOrCb, cb) {
261
- const command = new SetTaskStatusCommand(args);
264
+ };
265
+ DataPipeline.prototype.setTaskStatus = function (args, optionsOrCb, cb) {
266
+ var command = new SetTaskStatusCommand(args);
262
267
  if (typeof optionsOrCb === "function") {
263
268
  this.send(command, optionsOrCb);
264
269
  }
265
270
  else if (typeof cb === "function") {
266
271
  if (typeof optionsOrCb !== "object")
267
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
272
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
268
273
  this.send(command, optionsOrCb || {}, cb);
269
274
  }
270
275
  else {
271
276
  return this.send(command, optionsOrCb);
272
277
  }
273
- }
274
- validatePipelineDefinition(args, optionsOrCb, cb) {
275
- const command = new ValidatePipelineDefinitionCommand(args);
278
+ };
279
+ DataPipeline.prototype.validatePipelineDefinition = function (args, optionsOrCb, cb) {
280
+ var command = new ValidatePipelineDefinitionCommand(args);
276
281
  if (typeof optionsOrCb === "function") {
277
282
  this.send(command, optionsOrCb);
278
283
  }
279
284
  else if (typeof cb === "function") {
280
285
  if (typeof optionsOrCb !== "object")
281
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
286
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
282
287
  this.send(command, optionsOrCb || {}, cb);
283
288
  }
284
289
  else {
285
290
  return this.send(command, optionsOrCb);
286
291
  }
287
- }
288
- }
292
+ };
293
+ return DataPipeline;
294
+ }(DataPipelineClient));
295
+ export { DataPipeline };
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class DataPipelineClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var DataPipelineClient = (function (_super) {
13
+ __extends(DataPipelineClient, _super);
14
+ function DataPipelineClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ DataPipelineClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return DataPipelineClient;
38
+ }(__Client));
39
+ export { DataPipelineClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ActivatePipelineInputFilterSensitiveLog, ActivatePipelineOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ActivatePipelineCommand, serializeAws_json1_1ActivatePipelineCommand, } from "../protocols/Aws_json1_1";
5
- export class ActivatePipelineCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ActivatePipelineCommand = (function (_super) {
7
+ __extends(ActivatePipelineCommand, _super);
8
+ function ActivatePipelineCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ActivatePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "ActivatePipelineCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "ActivatePipelineCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ActivatePipelineInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ActivatePipelineOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ActivatePipelineCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ActivatePipelineCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ActivatePipelineCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ActivatePipelineCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ActivatePipelineCommand;
38
+ }($Command));
39
+ export { ActivatePipelineCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddTagsInputFilterSensitiveLog, AddTagsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AddTagsCommand, serializeAws_json1_1AddTagsCommand } from "../protocols/Aws_json1_1";
5
- export class AddTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddTagsCommand = (function (_super) {
7
+ __extends(AddTagsCommand, _super);
8
+ function AddTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "AddTagsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "AddTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddTagsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddTagsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AddTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AddTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AddTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddTagsCommand;
38
+ }($Command));
39
+ export { AddTagsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreatePipelineInputFilterSensitiveLog, CreatePipelineOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreatePipelineCommand, serializeAws_json1_1CreatePipelineCommand, } from "../protocols/Aws_json1_1";
5
- export class CreatePipelineCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreatePipelineCommand = (function (_super) {
7
+ __extends(CreatePipelineCommand, _super);
8
+ function CreatePipelineCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataPipelineClient";
15
- const commandName = "CreatePipelineCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataPipelineClient";
18
+ var commandName = "CreatePipelineCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePipelineInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreatePipelineOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreatePipelineCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreatePipelineCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePipelineCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreatePipelineCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePipelineCommand;
38
+ }($Command));
39
+ export { CreatePipelineCommand };