@aws-sdk/client-data-pipeline 3.926.0 → 3.928.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 (40) hide show
  1. package/dist-cjs/index.js +498 -619
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/DataPipelineClient.js +2 -0
  4. package/dist-es/commands/ActivatePipelineCommand.js +3 -9
  5. package/dist-es/commands/AddTagsCommand.js +3 -9
  6. package/dist-es/commands/CreatePipelineCommand.js +3 -9
  7. package/dist-es/commands/DeactivatePipelineCommand.js +3 -9
  8. package/dist-es/commands/DeletePipelineCommand.js +3 -9
  9. package/dist-es/commands/DescribeObjectsCommand.js +3 -9
  10. package/dist-es/commands/DescribePipelinesCommand.js +3 -9
  11. package/dist-es/commands/EvaluateExpressionCommand.js +3 -9
  12. package/dist-es/commands/GetPipelineDefinitionCommand.js +3 -9
  13. package/dist-es/commands/ListPipelinesCommand.js +3 -9
  14. package/dist-es/commands/PollForTaskCommand.js +3 -9
  15. package/dist-es/commands/PutPipelineDefinitionCommand.js +3 -9
  16. package/dist-es/commands/QueryObjectsCommand.js +3 -9
  17. package/dist-es/commands/RemoveTagsCommand.js +3 -9
  18. package/dist-es/commands/ReportTaskProgressCommand.js +3 -9
  19. package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +3 -9
  20. package/dist-es/commands/SetStatusCommand.js +3 -9
  21. package/dist-es/commands/SetTaskStatusCommand.js +3 -9
  22. package/dist-es/commands/ValidatePipelineDefinitionCommand.js +3 -9
  23. package/dist-es/runtimeConfig.shared.js +7 -0
  24. package/dist-es/schemas/schemas_0.js +446 -0
  25. package/dist-types/DataPipelineClient.d.ts +10 -1
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  27. package/dist-types/runtimeConfig.d.ts +1 -0
  28. package/dist-types/runtimeConfig.native.d.ts +1 -0
  29. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  30. package/dist-types/schemas/schemas_0.d.ts +93 -0
  31. package/dist-types/ts3.4/DataPipelineClient.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
  37. package/package.json +5 -5
  38. package/dist-es/protocols/Aws_json1_1.js +0 -475
  39. package/dist-types/protocols/Aws_json1_1.d.ts +0 -173
  40. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -233
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class DataPipelineClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class DataPipelineClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class DataPipelineServiceException extends smithyClient.ServiceException {
113
+ let DataPipelineServiceException$1 = class DataPipelineServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, DataPipelineServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class InternalServiceError extends DataPipelineServiceException {
120
+ let InternalServiceError$1 = class InternalServiceError extends DataPipelineServiceException$1 {
121
121
  name = "InternalServiceError";
122
122
  $fault = "server";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ class InternalServiceError extends DataPipelineServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, InternalServiceError.prototype);
130
130
  }
131
- }
132
- class InvalidRequestException extends DataPipelineServiceException {
131
+ };
132
+ let InvalidRequestException$1 = class InvalidRequestException extends DataPipelineServiceException$1 {
133
133
  name = "InvalidRequestException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ class InvalidRequestException extends DataPipelineServiceException {
140
140
  });
141
141
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
142
142
  }
143
- }
144
- class PipelineDeletedException extends DataPipelineServiceException {
143
+ };
144
+ let PipelineDeletedException$1 = class PipelineDeletedException extends DataPipelineServiceException$1 {
145
145
  name = "PipelineDeletedException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ class PipelineDeletedException extends DataPipelineServiceException {
152
152
  });
153
153
  Object.setPrototypeOf(this, PipelineDeletedException.prototype);
154
154
  }
155
- }
156
- class PipelineNotFoundException extends DataPipelineServiceException {
155
+ };
156
+ let PipelineNotFoundException$1 = class PipelineNotFoundException extends DataPipelineServiceException$1 {
157
157
  name = "PipelineNotFoundException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ class PipelineNotFoundException extends DataPipelineServiceException {
164
164
  });
165
165
  Object.setPrototypeOf(this, PipelineNotFoundException.prototype);
166
166
  }
167
- }
168
- class TaskNotFoundException extends DataPipelineServiceException {
167
+ };
168
+ let TaskNotFoundException$1 = class TaskNotFoundException extends DataPipelineServiceException$1 {
169
169
  name = "TaskNotFoundException";
170
170
  $fault = "client";
171
171
  constructor(opts) {
@@ -176,7 +176,7 @@ class TaskNotFoundException extends DataPipelineServiceException {
176
176
  });
177
177
  Object.setPrototypeOf(this, TaskNotFoundException.prototype);
178
178
  }
179
- }
179
+ };
180
180
  const OperatorType = {
181
181
  Between: "BETWEEN",
182
182
  Equal: "EQ",
@@ -190,487 +190,456 @@ const TaskStatus = {
190
190
  FINISHED: "FINISHED",
191
191
  };
192
192
 
193
- const se_ActivatePipelineCommand = async (input, context) => {
194
- const headers = sharedHeaders("ActivatePipeline");
195
- let body;
196
- body = JSON.stringify(se_ActivatePipelineInput(input));
197
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
198
- };
199
- const se_AddTagsCommand = async (input, context) => {
200
- const headers = sharedHeaders("AddTags");
201
- let body;
202
- body = JSON.stringify(smithyClient._json(input));
203
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
204
- };
205
- const se_CreatePipelineCommand = async (input, context) => {
206
- const headers = sharedHeaders("CreatePipeline");
207
- let body;
208
- body = JSON.stringify(smithyClient._json(input));
209
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
210
- };
211
- const se_DeactivatePipelineCommand = async (input, context) => {
212
- const headers = sharedHeaders("DeactivatePipeline");
213
- let body;
214
- body = JSON.stringify(smithyClient._json(input));
215
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
216
- };
217
- const se_DeletePipelineCommand = async (input, context) => {
218
- const headers = sharedHeaders("DeletePipeline");
219
- let body;
220
- body = JSON.stringify(smithyClient._json(input));
221
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
222
- };
223
- const se_DescribeObjectsCommand = async (input, context) => {
224
- const headers = sharedHeaders("DescribeObjects");
225
- let body;
226
- body = JSON.stringify(smithyClient._json(input));
227
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
228
- };
229
- const se_DescribePipelinesCommand = async (input, context) => {
230
- const headers = sharedHeaders("DescribePipelines");
231
- let body;
232
- body = JSON.stringify(smithyClient._json(input));
233
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
234
- };
235
- const se_EvaluateExpressionCommand = async (input, context) => {
236
- const headers = sharedHeaders("EvaluateExpression");
237
- let body;
238
- body = JSON.stringify(smithyClient._json(input));
239
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
240
- };
241
- const se_GetPipelineDefinitionCommand = async (input, context) => {
242
- const headers = sharedHeaders("GetPipelineDefinition");
243
- let body;
244
- body = JSON.stringify(smithyClient._json(input));
245
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
246
- };
247
- const se_ListPipelinesCommand = async (input, context) => {
248
- const headers = sharedHeaders("ListPipelines");
249
- let body;
250
- body = JSON.stringify(smithyClient._json(input));
251
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
252
- };
253
- const se_PollForTaskCommand = async (input, context) => {
254
- const headers = sharedHeaders("PollForTask");
255
- let body;
256
- body = JSON.stringify(smithyClient._json(input));
257
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
258
- };
259
- const se_PutPipelineDefinitionCommand = async (input, context) => {
260
- const headers = sharedHeaders("PutPipelineDefinition");
261
- let body;
262
- body = JSON.stringify(smithyClient._json(input));
263
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
264
- };
265
- const se_QueryObjectsCommand = async (input, context) => {
266
- const headers = sharedHeaders("QueryObjects");
267
- let body;
268
- body = JSON.stringify(smithyClient._json(input));
269
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
270
- };
271
- const se_RemoveTagsCommand = async (input, context) => {
272
- const headers = sharedHeaders("RemoveTags");
273
- let body;
274
- body = JSON.stringify(smithyClient._json(input));
275
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
276
- };
277
- const se_ReportTaskProgressCommand = async (input, context) => {
278
- const headers = sharedHeaders("ReportTaskProgress");
279
- let body;
280
- body = JSON.stringify(smithyClient._json(input));
281
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
282
- };
283
- const se_ReportTaskRunnerHeartbeatCommand = async (input, context) => {
284
- const headers = sharedHeaders("ReportTaskRunnerHeartbeat");
285
- let body;
286
- body = JSON.stringify(smithyClient._json(input));
287
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
288
- };
289
- const se_SetStatusCommand = async (input, context) => {
290
- const headers = sharedHeaders("SetStatus");
291
- let body;
292
- body = JSON.stringify(smithyClient._json(input));
293
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
294
- };
295
- const se_SetTaskStatusCommand = async (input, context) => {
296
- const headers = sharedHeaders("SetTaskStatus");
297
- let body;
298
- body = JSON.stringify(smithyClient._json(input));
299
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
300
- };
301
- const se_ValidatePipelineDefinitionCommand = async (input, context) => {
302
- const headers = sharedHeaders("ValidatePipelineDefinition");
303
- let body;
304
- body = JSON.stringify(smithyClient._json(input));
305
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
306
- };
307
- const de_ActivatePipelineCommand = async (output, context) => {
308
- if (output.statusCode >= 300) {
309
- return de_CommandError(output, context);
310
- }
311
- const data = await core$1.parseJsonBody(output.body, context);
312
- let contents = {};
313
- contents = smithyClient._json(data);
314
- const response = {
315
- $metadata: deserializeMetadata(output),
316
- ...contents,
317
- };
318
- return response;
319
- };
320
- const de_AddTagsCommand = async (output, context) => {
321
- if (output.statusCode >= 300) {
322
- return de_CommandError(output, context);
323
- }
324
- const data = await core$1.parseJsonBody(output.body, context);
325
- let contents = {};
326
- contents = smithyClient._json(data);
327
- const response = {
328
- $metadata: deserializeMetadata(output),
329
- ...contents,
330
- };
331
- return response;
332
- };
333
- const de_CreatePipelineCommand = async (output, context) => {
334
- if (output.statusCode >= 300) {
335
- return de_CommandError(output, context);
336
- }
337
- const data = await core$1.parseJsonBody(output.body, context);
338
- let contents = {};
339
- contents = smithyClient._json(data);
340
- const response = {
341
- $metadata: deserializeMetadata(output),
342
- ...contents,
343
- };
344
- return response;
345
- };
346
- const de_DeactivatePipelineCommand = async (output, context) => {
347
- if (output.statusCode >= 300) {
348
- return de_CommandError(output, context);
349
- }
350
- const data = await core$1.parseJsonBody(output.body, context);
351
- let contents = {};
352
- contents = smithyClient._json(data);
353
- const response = {
354
- $metadata: deserializeMetadata(output),
355
- ...contents,
356
- };
357
- return response;
358
- };
359
- const de_DeletePipelineCommand = async (output, context) => {
360
- if (output.statusCode >= 300) {
361
- return de_CommandError(output, context);
362
- }
363
- await smithyClient.collectBody(output.body, context);
364
- const response = {
365
- $metadata: deserializeMetadata(output),
366
- };
367
- return response;
368
- };
369
- const de_DescribeObjectsCommand = async (output, context) => {
370
- if (output.statusCode >= 300) {
371
- return de_CommandError(output, context);
372
- }
373
- const data = await core$1.parseJsonBody(output.body, context);
374
- let contents = {};
375
- contents = smithyClient._json(data);
376
- const response = {
377
- $metadata: deserializeMetadata(output),
378
- ...contents,
379
- };
380
- return response;
381
- };
382
- const de_DescribePipelinesCommand = async (output, context) => {
383
- if (output.statusCode >= 300) {
384
- return de_CommandError(output, context);
385
- }
386
- const data = await core$1.parseJsonBody(output.body, context);
387
- let contents = {};
388
- contents = smithyClient._json(data);
389
- const response = {
390
- $metadata: deserializeMetadata(output),
391
- ...contents,
392
- };
393
- return response;
394
- };
395
- const de_EvaluateExpressionCommand = async (output, context) => {
396
- if (output.statusCode >= 300) {
397
- return de_CommandError(output, context);
398
- }
399
- const data = await core$1.parseJsonBody(output.body, context);
400
- let contents = {};
401
- contents = smithyClient._json(data);
402
- const response = {
403
- $metadata: deserializeMetadata(output),
404
- ...contents,
405
- };
406
- return response;
407
- };
408
- const de_GetPipelineDefinitionCommand = async (output, context) => {
409
- if (output.statusCode >= 300) {
410
- return de_CommandError(output, context);
411
- }
412
- const data = await core$1.parseJsonBody(output.body, context);
413
- let contents = {};
414
- contents = smithyClient._json(data);
415
- const response = {
416
- $metadata: deserializeMetadata(output),
417
- ...contents,
418
- };
419
- return response;
420
- };
421
- const de_ListPipelinesCommand = async (output, context) => {
422
- if (output.statusCode >= 300) {
423
- return de_CommandError(output, context);
424
- }
425
- const data = await core$1.parseJsonBody(output.body, context);
426
- let contents = {};
427
- contents = smithyClient._json(data);
428
- const response = {
429
- $metadata: deserializeMetadata(output),
430
- ...contents,
431
- };
432
- return response;
433
- };
434
- const de_PollForTaskCommand = async (output, context) => {
435
- if (output.statusCode >= 300) {
436
- return de_CommandError(output, context);
437
- }
438
- const data = await core$1.parseJsonBody(output.body, context);
439
- let contents = {};
440
- contents = smithyClient._json(data);
441
- const response = {
442
- $metadata: deserializeMetadata(output),
443
- ...contents,
444
- };
445
- return response;
446
- };
447
- const de_PutPipelineDefinitionCommand = async (output, context) => {
448
- if (output.statusCode >= 300) {
449
- return de_CommandError(output, context);
450
- }
451
- const data = await core$1.parseJsonBody(output.body, context);
452
- let contents = {};
453
- contents = smithyClient._json(data);
454
- const response = {
455
- $metadata: deserializeMetadata(output),
456
- ...contents,
457
- };
458
- return response;
459
- };
460
- const de_QueryObjectsCommand = async (output, context) => {
461
- if (output.statusCode >= 300) {
462
- return de_CommandError(output, context);
463
- }
464
- const data = await core$1.parseJsonBody(output.body, context);
465
- let contents = {};
466
- contents = smithyClient._json(data);
467
- const response = {
468
- $metadata: deserializeMetadata(output),
469
- ...contents,
470
- };
471
- return response;
472
- };
473
- const de_RemoveTagsCommand = async (output, context) => {
474
- if (output.statusCode >= 300) {
475
- return de_CommandError(output, context);
476
- }
477
- const data = await core$1.parseJsonBody(output.body, context);
478
- let contents = {};
479
- contents = smithyClient._json(data);
480
- const response = {
481
- $metadata: deserializeMetadata(output),
482
- ...contents,
483
- };
484
- return response;
485
- };
486
- const de_ReportTaskProgressCommand = async (output, context) => {
487
- if (output.statusCode >= 300) {
488
- return de_CommandError(output, context);
489
- }
490
- const data = await core$1.parseJsonBody(output.body, context);
491
- let contents = {};
492
- contents = smithyClient._json(data);
493
- const response = {
494
- $metadata: deserializeMetadata(output),
495
- ...contents,
496
- };
497
- return response;
498
- };
499
- const de_ReportTaskRunnerHeartbeatCommand = async (output, context) => {
500
- if (output.statusCode >= 300) {
501
- return de_CommandError(output, context);
502
- }
503
- const data = await core$1.parseJsonBody(output.body, context);
504
- let contents = {};
505
- contents = smithyClient._json(data);
506
- const response = {
507
- $metadata: deserializeMetadata(output),
508
- ...contents,
509
- };
510
- return response;
511
- };
512
- const de_SetStatusCommand = async (output, context) => {
513
- if (output.statusCode >= 300) {
514
- return de_CommandError(output, context);
515
- }
516
- await smithyClient.collectBody(output.body, context);
517
- const response = {
518
- $metadata: deserializeMetadata(output),
519
- };
520
- return response;
521
- };
522
- const de_SetTaskStatusCommand = async (output, context) => {
523
- if (output.statusCode >= 300) {
524
- return de_CommandError(output, context);
525
- }
526
- const data = await core$1.parseJsonBody(output.body, context);
527
- let contents = {};
528
- contents = smithyClient._json(data);
529
- const response = {
530
- $metadata: deserializeMetadata(output),
531
- ...contents,
532
- };
533
- return response;
534
- };
535
- const de_ValidatePipelineDefinitionCommand = async (output, context) => {
536
- if (output.statusCode >= 300) {
537
- return de_CommandError(output, context);
538
- }
539
- const data = await core$1.parseJsonBody(output.body, context);
540
- let contents = {};
541
- contents = smithyClient._json(data);
542
- const response = {
543
- $metadata: deserializeMetadata(output),
544
- ...contents,
545
- };
546
- return response;
547
- };
548
- const de_CommandError = async (output, context) => {
549
- const parsedOutput = {
550
- ...output,
551
- body: await core$1.parseJsonErrorBody(output.body, context),
552
- };
553
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
554
- switch (errorCode) {
555
- case "InternalServiceError":
556
- case "com.amazonaws.datapipeline#InternalServiceError":
557
- throw await de_InternalServiceErrorRes(parsedOutput);
558
- case "InvalidRequestException":
559
- case "com.amazonaws.datapipeline#InvalidRequestException":
560
- throw await de_InvalidRequestExceptionRes(parsedOutput);
561
- case "PipelineDeletedException":
562
- case "com.amazonaws.datapipeline#PipelineDeletedException":
563
- throw await de_PipelineDeletedExceptionRes(parsedOutput);
564
- case "PipelineNotFoundException":
565
- case "com.amazonaws.datapipeline#PipelineNotFoundException":
566
- throw await de_PipelineNotFoundExceptionRes(parsedOutput);
567
- case "TaskNotFoundException":
568
- case "com.amazonaws.datapipeline#TaskNotFoundException":
569
- throw await de_TaskNotFoundExceptionRes(parsedOutput);
570
- default:
571
- const parsedBody = parsedOutput.body;
572
- return throwDefaultError({
573
- output,
574
- parsedBody,
575
- errorCode,
576
- });
577
- }
578
- };
579
- const de_InternalServiceErrorRes = async (parsedOutput, context) => {
580
- const body = parsedOutput.body;
581
- const deserialized = smithyClient._json(body);
582
- const exception = new InternalServiceError({
583
- $metadata: deserializeMetadata(parsedOutput),
584
- ...deserialized,
585
- });
586
- return smithyClient.decorateServiceException(exception, body);
587
- };
588
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
589
- const body = parsedOutput.body;
590
- const deserialized = smithyClient._json(body);
591
- const exception = new InvalidRequestException({
592
- $metadata: deserializeMetadata(parsedOutput),
593
- ...deserialized,
594
- });
595
- return smithyClient.decorateServiceException(exception, body);
596
- };
597
- const de_PipelineDeletedExceptionRes = async (parsedOutput, context) => {
598
- const body = parsedOutput.body;
599
- const deserialized = smithyClient._json(body);
600
- const exception = new PipelineDeletedException({
601
- $metadata: deserializeMetadata(parsedOutput),
602
- ...deserialized,
603
- });
604
- return smithyClient.decorateServiceException(exception, body);
605
- };
606
- const de_PipelineNotFoundExceptionRes = async (parsedOutput, context) => {
607
- const body = parsedOutput.body;
608
- const deserialized = smithyClient._json(body);
609
- const exception = new PipelineNotFoundException({
610
- $metadata: deserializeMetadata(parsedOutput),
611
- ...deserialized,
612
- });
613
- return smithyClient.decorateServiceException(exception, body);
614
- };
615
- const de_TaskNotFoundExceptionRes = async (parsedOutput, context) => {
616
- const body = parsedOutput.body;
617
- const deserialized = smithyClient._json(body);
618
- const exception = new TaskNotFoundException({
619
- $metadata: deserializeMetadata(parsedOutput),
620
- ...deserialized,
621
- });
622
- return smithyClient.decorateServiceException(exception, body);
623
- };
624
- const se_ActivatePipelineInput = (input, context) => {
625
- return smithyClient.take(input, {
626
- parameterValues: smithyClient._json,
627
- pipelineId: [],
628
- startTimestamp: (_) => _.getTime() / 1_000,
629
- });
630
- };
631
- const deserializeMetadata = (output) => ({
632
- httpStatusCode: output.statusCode,
633
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
634
- extendedRequestId: output.headers["x-amz-id-2"],
635
- cfId: output.headers["x-amz-cf-id"],
636
- });
637
- const throwDefaultError = smithyClient.withBaseException(DataPipelineServiceException);
638
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
639
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
640
- const contents = {
641
- protocol,
642
- hostname,
643
- port,
644
- method: "POST",
645
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
646
- headers,
647
- };
648
- if (body !== undefined) {
649
- contents.body = body;
650
- }
651
- return new protocolHttp.HttpRequest(contents);
652
- };
653
- function sharedHeaders(operation) {
654
- return {
655
- "content-type": "application/x-amz-json-1.1",
656
- "x-amz-target": `DataPipeline.${operation}`,
657
- };
658
- }
193
+ const _AP = "ActivatePipeline";
194
+ const _API = "ActivatePipelineInput";
195
+ const _APO = "ActivatePipelineOutput";
196
+ const _AT = "AddTags";
197
+ const _ATI = "AddTagsInput";
198
+ const _ATO = "AddTagsOutput";
199
+ const _CP = "CreatePipeline";
200
+ const _CPI = "CreatePipelineInput";
201
+ const _CPO = "CreatePipelineOutput";
202
+ const _DO = "DescribeObjects";
203
+ const _DOI = "DescribeObjectsInput";
204
+ const _DOO = "DescribeObjectsOutput";
205
+ const _DP = "DeactivatePipeline";
206
+ const _DPI = "DeactivatePipelineInput";
207
+ const _DPIe = "DeletePipelineInput";
208
+ const _DPIes = "DescribePipelinesInput";
209
+ const _DPO = "DeactivatePipelineOutput";
210
+ const _DPOe = "DescribePipelinesOutput";
211
+ const _DPe = "DeletePipeline";
212
+ const _DPes = "DescribePipelines";
213
+ const _EE = "EvaluateExpression";
214
+ const _EEI = "EvaluateExpressionInput";
215
+ const _EEO = "EvaluateExpressionOutput";
216
+ const _F = "Field";
217
+ const _GPD = "GetPipelineDefinition";
218
+ const _GPDI = "GetPipelineDefinitionInput";
219
+ const _GPDO = "GetPipelineDefinitionOutput";
220
+ const _II = "InstanceIdentity";
221
+ const _IRE = "InvalidRequestException";
222
+ const _ISE = "InternalServiceError";
223
+ const _LP = "ListPipelines";
224
+ const _LPI = "ListPipelinesInput";
225
+ const _LPO = "ListPipelinesOutput";
226
+ const _O = "Operator";
227
+ const _PA = "ParameterAttribute";
228
+ const _PAL = "ParameterAttributeList";
229
+ const _PD = "PipelineDescription";
230
+ const _PDE = "PipelineDeletedException";
231
+ const _PDL = "PipelineDescriptionList";
232
+ const _PFT = "PollForTask";
233
+ const _PFTI = "PollForTaskInput";
234
+ const _PFTO = "PollForTaskOutput";
235
+ const _PIN = "PipelineIdName";
236
+ const _PNFE = "PipelineNotFoundException";
237
+ const _PO = "ParameterObject";
238
+ const _POL = "ParameterObjectList";
239
+ const _POLi = "PipelineObjectList";
240
+ const _POM = "PipelineObjectMap";
241
+ const _POi = "PipelineObject";
242
+ const _PPD = "PutPipelineDefinition";
243
+ const _PPDI = "PutPipelineDefinitionInput";
244
+ const _PPDO = "PutPipelineDefinitionOutput";
245
+ const _PV = "ParameterValue";
246
+ const _PVL = "ParameterValueList";
247
+ const _Q = "Query";
248
+ const _QO = "QueryObjects";
249
+ const _QOI = "QueryObjectsInput";
250
+ const _QOO = "QueryObjectsOutput";
251
+ const _RT = "RemoveTags";
252
+ const _RTI = "RemoveTagsInput";
253
+ const _RTO = "RemoveTagsOutput";
254
+ const _RTP = "ReportTaskProgress";
255
+ const _RTPI = "ReportTaskProgressInput";
256
+ const _RTPO = "ReportTaskProgressOutput";
257
+ const _RTRH = "ReportTaskRunnerHeartbeat";
258
+ const _RTRHI = "ReportTaskRunnerHeartbeatInput";
259
+ const _RTRHO = "ReportTaskRunnerHeartbeatOutput";
260
+ const _S = "Selector";
261
+ const _SL = "SelectorList";
262
+ const _SS = "SetStatus";
263
+ const _SSI = "SetStatusInput";
264
+ const _STS = "SetTaskStatus";
265
+ const _STSI = "SetTaskStatusInput";
266
+ const _STSO = "SetTaskStatusOutput";
267
+ const _T = "Tag";
268
+ const _TNFE = "TaskNotFoundException";
269
+ const _TO = "TaskObject";
270
+ const _VE = "ValidationError";
271
+ const _VEa = "ValidationErrors";
272
+ const _VPD = "ValidatePipelineDefinition";
273
+ const _VPDI = "ValidatePipelineDefinitionInput";
274
+ const _VPDO = "ValidatePipelineDefinitionOutput";
275
+ const _VW = "ValidationWarning";
276
+ const _VWa = "ValidationWarnings";
277
+ const _a = "attributes";
278
+ const _aI = "attemptId";
279
+ const _c = "client";
280
+ const _cA = "cancelActive";
281
+ const _ca = "canceled";
282
+ const _d = "description";
283
+ const _do = "document";
284
+ const _e = "expression";
285
+ const _eE = "evaluateExpressions";
286
+ const _eEv = "evaluatedExpression";
287
+ const _eI = "errorId";
288
+ const _eM = "errorMessage";
289
+ const _eST = "errorStackTrace";
290
+ const _er = "error";
291
+ const _err = "errored";
292
+ const _erro = "errors";
293
+ const _f = "fields";
294
+ const _fL = "fieldList";
295
+ const _fN = "fieldName";
296
+ const _h = "hostname";
297
+ const _hMR = "hasMoreResults";
298
+ const _i = "id";
299
+ const _iI = "instanceIdentity";
300
+ const _id = "ids";
301
+ const _k = "key";
302
+ const _l = "limit";
303
+ const _m = "marker";
304
+ const _me = "message";
305
+ const _n = "name";
306
+ const _o = "operator";
307
+ const _oI = "objectIds";
308
+ const _oIb = "objectId";
309
+ const _ob = "objects";
310
+ const _pDL = "pipelineDescriptionList";
311
+ const _pI = "pipelineId";
312
+ const _pIL = "pipelineIdList";
313
+ const _pIi = "pipelineIds";
314
+ const _pL = "pipelineList";
315
+ const _pO = "pipelineObjects";
316
+ const _pOa = "parameterObjects";
317
+ const _pV = "parameterValues";
318
+ const _q = "query";
319
+ const _rV = "refValue";
320
+ const _s = "signature";
321
+ const _sT = "startTimestamp";
322
+ const _sV = "stringValue";
323
+ const _se = "server";
324
+ const _sel = "selectors";
325
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.datapipeline";
326
+ const _sp = "sphere";
327
+ const _st = "status";
328
+ const _t = "tags";
329
+ const _tI = "taskId";
330
+ const _tIa = "taskrunnerId";
331
+ const _tK = "tagKeys";
332
+ const _tL = "tagList";
333
+ const _tO = "taskObject";
334
+ const _tS = "taskStatus";
335
+ const _te = "terminate";
336
+ const _ty = "type";
337
+ const _uI = "uniqueId";
338
+ const _v = "version";
339
+ const _vE = "validationErrors";
340
+ const _vW = "validationWarnings";
341
+ const _va = "values";
342
+ const _val = "value";
343
+ const _w = "warnings";
344
+ const _wG = "workerGroup";
345
+ const n0 = "com.amazonaws.datapipeline";
346
+ var ActivatePipelineInput = [
347
+ 3,
348
+ n0,
349
+ _API,
350
+ 0,
351
+ [_pI, _pV, _sT],
352
+ [0, () => ParameterValueList, 4],
353
+ ];
354
+ var ActivatePipelineOutput = [3, n0, _APO, 0, [], []];
355
+ var AddTagsInput = [3, n0, _ATI, 0, [_pI, _t], [0, () => tagList]];
356
+ var AddTagsOutput = [3, n0, _ATO, 0, [], []];
357
+ var CreatePipelineInput = [3, n0, _CPI, 0, [_n, _uI, _d, _t], [0, 0, 0, () => tagList]];
358
+ var CreatePipelineOutput = [3, n0, _CPO, 0, [_pI], [0]];
359
+ var DeactivatePipelineInput = [3, n0, _DPI, 0, [_pI, _cA], [0, 2]];
360
+ var DeactivatePipelineOutput = [3, n0, _DPO, 0, [], []];
361
+ var DeletePipelineInput = [3, n0, _DPIe, 0, [_pI], [0]];
362
+ var DescribeObjectsInput = [3, n0, _DOI, 0, [_pI, _oI, _eE, _m], [0, 64 | 0, 2, 0]];
363
+ var DescribeObjectsOutput = [
364
+ 3,
365
+ n0,
366
+ _DOO,
367
+ 0,
368
+ [_pO, _m, _hMR],
369
+ [() => PipelineObjectList, 0, 2],
370
+ ];
371
+ var DescribePipelinesInput = [3, n0, _DPIes, 0, [_pIi], [64 | 0]];
372
+ var DescribePipelinesOutput = [3, n0, _DPOe, 0, [_pDL], [() => PipelineDescriptionList]];
373
+ var EvaluateExpressionInput = [3, n0, _EEI, 0, [_pI, _oIb, _e], [0, 0, 0]];
374
+ var EvaluateExpressionOutput = [3, n0, _EEO, 0, [_eEv], [0]];
375
+ var Field = [3, n0, _F, 0, [_k, _sV, _rV], [0, 0, 0]];
376
+ var GetPipelineDefinitionInput = [3, n0, _GPDI, 0, [_pI, _v], [0, 0]];
377
+ var GetPipelineDefinitionOutput = [
378
+ 3,
379
+ n0,
380
+ _GPDO,
381
+ 0,
382
+ [_pO, _pOa, _pV],
383
+ [() => PipelineObjectList, () => ParameterObjectList, () => ParameterValueList],
384
+ ];
385
+ var InstanceIdentity = [3, n0, _II, 0, [_do, _s], [0, 0]];
386
+ var InternalServiceError = [
387
+ -3,
388
+ n0,
389
+ _ISE,
390
+ {
391
+ [_er]: _se,
392
+ },
393
+ [_me],
394
+ [0],
395
+ ];
396
+ schema.TypeRegistry.for(n0).registerError(InternalServiceError, InternalServiceError$1);
397
+ var InvalidRequestException = [
398
+ -3,
399
+ n0,
400
+ _IRE,
401
+ {
402
+ [_er]: _c,
403
+ },
404
+ [_me],
405
+ [0],
406
+ ];
407
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
408
+ var ListPipelinesInput = [3, n0, _LPI, 0, [_m], [0]];
409
+ var ListPipelinesOutput = [3, n0, _LPO, 0, [_pIL, _m, _hMR], [() => pipelineList, 0, 2]];
410
+ var Operator = [3, n0, _O, 0, [_ty, _va], [0, 64 | 0]];
411
+ var ParameterAttribute = [3, n0, _PA, 0, [_k, _sV], [0, 0]];
412
+ var ParameterObject = [3, n0, _PO, 0, [_i, _a], [0, () => ParameterAttributeList]];
413
+ var ParameterValue = [3, n0, _PV, 0, [_i, _sV], [0, 0]];
414
+ var PipelineDeletedException = [
415
+ -3,
416
+ n0,
417
+ _PDE,
418
+ {
419
+ [_er]: _c,
420
+ },
421
+ [_me],
422
+ [0],
423
+ ];
424
+ schema.TypeRegistry.for(n0).registerError(PipelineDeletedException, PipelineDeletedException$1);
425
+ var PipelineDescription = [
426
+ 3,
427
+ n0,
428
+ _PD,
429
+ 0,
430
+ [_pI, _n, _f, _d, _t],
431
+ [0, 0, () => fieldList, 0, () => tagList],
432
+ ];
433
+ var PipelineIdName = [3, n0, _PIN, 0, [_i, _n], [0, 0]];
434
+ var PipelineNotFoundException = [
435
+ -3,
436
+ n0,
437
+ _PNFE,
438
+ {
439
+ [_er]: _c,
440
+ },
441
+ [_me],
442
+ [0],
443
+ ];
444
+ schema.TypeRegistry.for(n0).registerError(PipelineNotFoundException, PipelineNotFoundException$1);
445
+ var PipelineObject = [3, n0, _POi, 0, [_i, _n, _f], [0, 0, () => fieldList]];
446
+ var PollForTaskInput = [3, n0, _PFTI, 0, [_wG, _h, _iI], [0, 0, () => InstanceIdentity]];
447
+ var PollForTaskOutput = [3, n0, _PFTO, 0, [_tO], [() => TaskObject]];
448
+ var PutPipelineDefinitionInput = [
449
+ 3,
450
+ n0,
451
+ _PPDI,
452
+ 0,
453
+ [_pI, _pO, _pOa, _pV],
454
+ [0, () => PipelineObjectList, () => ParameterObjectList, () => ParameterValueList],
455
+ ];
456
+ var PutPipelineDefinitionOutput = [
457
+ 3,
458
+ n0,
459
+ _PPDO,
460
+ 0,
461
+ [_vE, _vW, _err],
462
+ [() => ValidationErrors, () => ValidationWarnings, 2],
463
+ ];
464
+ var Query = [3, n0, _Q, 0, [_sel], [() => SelectorList]];
465
+ var QueryObjectsInput = [
466
+ 3,
467
+ n0,
468
+ _QOI,
469
+ 0,
470
+ [_pI, _q, _sp, _m, _l],
471
+ [0, () => Query, 0, 0, 1],
472
+ ];
473
+ var QueryObjectsOutput = [3, n0, _QOO, 0, [_id, _m, _hMR], [64 | 0, 0, 2]];
474
+ var RemoveTagsInput = [3, n0, _RTI, 0, [_pI, _tK], [0, 64 | 0]];
475
+ var RemoveTagsOutput = [3, n0, _RTO, 0, [], []];
476
+ var ReportTaskProgressInput = [3, n0, _RTPI, 0, [_tI, _f], [0, () => fieldList]];
477
+ var ReportTaskProgressOutput = [3, n0, _RTPO, 0, [_ca], [2]];
478
+ var ReportTaskRunnerHeartbeatInput = [3, n0, _RTRHI, 0, [_tIa, _wG, _h], [0, 0, 0]];
479
+ var ReportTaskRunnerHeartbeatOutput = [3, n0, _RTRHO, 0, [_te], [2]];
480
+ var Selector = [3, n0, _S, 0, [_fN, _o], [0, () => Operator]];
481
+ var SetStatusInput = [3, n0, _SSI, 0, [_pI, _oI, _st], [0, 64 | 0, 0]];
482
+ var SetTaskStatusInput = [3, n0, _STSI, 0, [_tI, _tS, _eI, _eM, _eST], [0, 0, 0, 0, 0]];
483
+ var SetTaskStatusOutput = [3, n0, _STSO, 0, [], []];
484
+ var Tag = [3, n0, _T, 0, [_k, _val], [0, 0]];
485
+ var TaskNotFoundException = [
486
+ -3,
487
+ n0,
488
+ _TNFE,
489
+ {
490
+ [_er]: _c,
491
+ },
492
+ [_me],
493
+ [0],
494
+ ];
495
+ schema.TypeRegistry.for(n0).registerError(TaskNotFoundException, TaskNotFoundException$1);
496
+ var TaskObject = [
497
+ 3,
498
+ n0,
499
+ _TO,
500
+ 0,
501
+ [_tI, _pI, _aI, _ob],
502
+ [0, 0, 0, () => PipelineObjectMap],
503
+ ];
504
+ var ValidatePipelineDefinitionInput = [
505
+ 3,
506
+ n0,
507
+ _VPDI,
508
+ 0,
509
+ [_pI, _pO, _pOa, _pV],
510
+ [0, () => PipelineObjectList, () => ParameterObjectList, () => ParameterValueList],
511
+ ];
512
+ var ValidatePipelineDefinitionOutput = [
513
+ 3,
514
+ n0,
515
+ _VPDO,
516
+ 0,
517
+ [_vE, _vW, _err],
518
+ [() => ValidationErrors, () => ValidationWarnings, 2],
519
+ ];
520
+ var ValidationError = [3, n0, _VE, 0, [_i, _erro], [0, 64 | 0]];
521
+ var ValidationWarning = [3, n0, _VW, 0, [_i, _w], [0, 64 | 0]];
522
+ var __Unit = "unit";
523
+ var DataPipelineServiceException = [-3, _sm, "DataPipelineServiceException", 0, [], []];
524
+ schema.TypeRegistry.for(_sm).registerError(DataPipelineServiceException, DataPipelineServiceException$1);
525
+ var fieldList = [1, n0, _fL, 0, () => Field];
526
+ var ParameterAttributeList = [1, n0, _PAL, 0, () => ParameterAttribute];
527
+ var ParameterObjectList = [1, n0, _POL, 0, () => ParameterObject];
528
+ var ParameterValueList = [1, n0, _PVL, 0, () => ParameterValue];
529
+ var PipelineDescriptionList = [1, n0, _PDL, 0, () => PipelineDescription];
530
+ var pipelineList = [1, n0, _pL, 0, () => PipelineIdName];
531
+ var PipelineObjectList = [1, n0, _POLi, 0, () => PipelineObject];
532
+ var SelectorList = [1, n0, _SL, 0, () => Selector];
533
+ var tagList = [1, n0, _tL, 0, () => Tag];
534
+ var ValidationErrors = [1, n0, _VEa, 0, () => ValidationError];
535
+ var ValidationWarnings = [1, n0, _VWa, 0, () => ValidationWarning];
536
+ var PipelineObjectMap = [2, n0, _POM, 0, 0, () => PipelineObject];
537
+ var ActivatePipeline = [
538
+ 9,
539
+ n0,
540
+ _AP,
541
+ 0,
542
+ () => ActivatePipelineInput,
543
+ () => ActivatePipelineOutput,
544
+ ];
545
+ var AddTags = [9, n0, _AT, 0, () => AddTagsInput, () => AddTagsOutput];
546
+ var CreatePipeline = [
547
+ 9,
548
+ n0,
549
+ _CP,
550
+ 0,
551
+ () => CreatePipelineInput,
552
+ () => CreatePipelineOutput,
553
+ ];
554
+ var DeactivatePipeline = [
555
+ 9,
556
+ n0,
557
+ _DP,
558
+ 0,
559
+ () => DeactivatePipelineInput,
560
+ () => DeactivatePipelineOutput,
561
+ ];
562
+ var DeletePipeline = [9, n0, _DPe, 0, () => DeletePipelineInput, () => __Unit];
563
+ var DescribeObjects = [
564
+ 9,
565
+ n0,
566
+ _DO,
567
+ 0,
568
+ () => DescribeObjectsInput,
569
+ () => DescribeObjectsOutput,
570
+ ];
571
+ var DescribePipelines = [
572
+ 9,
573
+ n0,
574
+ _DPes,
575
+ 0,
576
+ () => DescribePipelinesInput,
577
+ () => DescribePipelinesOutput,
578
+ ];
579
+ var EvaluateExpression = [
580
+ 9,
581
+ n0,
582
+ _EE,
583
+ 0,
584
+ () => EvaluateExpressionInput,
585
+ () => EvaluateExpressionOutput,
586
+ ];
587
+ var GetPipelineDefinition = [
588
+ 9,
589
+ n0,
590
+ _GPD,
591
+ 0,
592
+ () => GetPipelineDefinitionInput,
593
+ () => GetPipelineDefinitionOutput,
594
+ ];
595
+ var ListPipelines = [9, n0, _LP, 0, () => ListPipelinesInput, () => ListPipelinesOutput];
596
+ var PollForTask = [9, n0, _PFT, 0, () => PollForTaskInput, () => PollForTaskOutput];
597
+ var PutPipelineDefinition = [
598
+ 9,
599
+ n0,
600
+ _PPD,
601
+ 0,
602
+ () => PutPipelineDefinitionInput,
603
+ () => PutPipelineDefinitionOutput,
604
+ ];
605
+ var QueryObjects = [9, n0, _QO, 0, () => QueryObjectsInput, () => QueryObjectsOutput];
606
+ var RemoveTags = [9, n0, _RT, 0, () => RemoveTagsInput, () => RemoveTagsOutput];
607
+ var ReportTaskProgress = [
608
+ 9,
609
+ n0,
610
+ _RTP,
611
+ 0,
612
+ () => ReportTaskProgressInput,
613
+ () => ReportTaskProgressOutput,
614
+ ];
615
+ var ReportTaskRunnerHeartbeat = [
616
+ 9,
617
+ n0,
618
+ _RTRH,
619
+ 0,
620
+ () => ReportTaskRunnerHeartbeatInput,
621
+ () => ReportTaskRunnerHeartbeatOutput,
622
+ ];
623
+ var SetStatus = [9, n0, _SS, 0, () => SetStatusInput, () => __Unit];
624
+ var SetTaskStatus = [9, n0, _STS, 0, () => SetTaskStatusInput, () => SetTaskStatusOutput];
625
+ var ValidatePipelineDefinition = [
626
+ 9,
627
+ n0,
628
+ _VPD,
629
+ 0,
630
+ () => ValidatePipelineDefinitionInput,
631
+ () => ValidatePipelineDefinitionOutput,
632
+ ];
659
633
 
660
634
  class ActivatePipelineCommand extends smithyClient.Command
661
635
  .classBuilder()
662
636
  .ep(commonParams)
663
637
  .m(function (Command, cs, config, o) {
664
- return [
665
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
666
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
667
- ];
638
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
668
639
  })
669
640
  .s("DataPipeline", "ActivatePipeline", {})
670
641
  .n("DataPipelineClient", "ActivatePipelineCommand")
671
- .f(void 0, void 0)
672
- .ser(se_ActivatePipelineCommand)
673
- .de(de_ActivatePipelineCommand)
642
+ .sc(ActivatePipeline)
674
643
  .build() {
675
644
  }
676
645
 
@@ -678,16 +647,11 @@ class AddTagsCommand extends smithyClient.Command
678
647
  .classBuilder()
679
648
  .ep(commonParams)
680
649
  .m(function (Command, cs, config, o) {
681
- return [
682
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
683
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
684
- ];
650
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
685
651
  })
686
652
  .s("DataPipeline", "AddTags", {})
687
653
  .n("DataPipelineClient", "AddTagsCommand")
688
- .f(void 0, void 0)
689
- .ser(se_AddTagsCommand)
690
- .de(de_AddTagsCommand)
654
+ .sc(AddTags)
691
655
  .build() {
692
656
  }
693
657
 
@@ -695,16 +659,11 @@ class CreatePipelineCommand extends smithyClient.Command
695
659
  .classBuilder()
696
660
  .ep(commonParams)
697
661
  .m(function (Command, cs, config, o) {
698
- return [
699
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
700
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
701
- ];
662
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
702
663
  })
703
664
  .s("DataPipeline", "CreatePipeline", {})
704
665
  .n("DataPipelineClient", "CreatePipelineCommand")
705
- .f(void 0, void 0)
706
- .ser(se_CreatePipelineCommand)
707
- .de(de_CreatePipelineCommand)
666
+ .sc(CreatePipeline)
708
667
  .build() {
709
668
  }
710
669
 
@@ -712,16 +671,11 @@ class DeactivatePipelineCommand extends smithyClient.Command
712
671
  .classBuilder()
713
672
  .ep(commonParams)
714
673
  .m(function (Command, cs, config, o) {
715
- return [
716
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
717
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
718
- ];
674
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
719
675
  })
720
676
  .s("DataPipeline", "DeactivatePipeline", {})
721
677
  .n("DataPipelineClient", "DeactivatePipelineCommand")
722
- .f(void 0, void 0)
723
- .ser(se_DeactivatePipelineCommand)
724
- .de(de_DeactivatePipelineCommand)
678
+ .sc(DeactivatePipeline)
725
679
  .build() {
726
680
  }
727
681
 
@@ -729,16 +683,11 @@ class DeletePipelineCommand extends smithyClient.Command
729
683
  .classBuilder()
730
684
  .ep(commonParams)
731
685
  .m(function (Command, cs, config, o) {
732
- return [
733
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
734
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
735
- ];
686
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
736
687
  })
737
688
  .s("DataPipeline", "DeletePipeline", {})
738
689
  .n("DataPipelineClient", "DeletePipelineCommand")
739
- .f(void 0, void 0)
740
- .ser(se_DeletePipelineCommand)
741
- .de(de_DeletePipelineCommand)
690
+ .sc(DeletePipeline)
742
691
  .build() {
743
692
  }
744
693
 
@@ -746,16 +695,11 @@ class DescribeObjectsCommand extends smithyClient.Command
746
695
  .classBuilder()
747
696
  .ep(commonParams)
748
697
  .m(function (Command, cs, config, o) {
749
- return [
750
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
751
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
752
- ];
698
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
753
699
  })
754
700
  .s("DataPipeline", "DescribeObjects", {})
755
701
  .n("DataPipelineClient", "DescribeObjectsCommand")
756
- .f(void 0, void 0)
757
- .ser(se_DescribeObjectsCommand)
758
- .de(de_DescribeObjectsCommand)
702
+ .sc(DescribeObjects)
759
703
  .build() {
760
704
  }
761
705
 
@@ -763,16 +707,11 @@ class DescribePipelinesCommand extends smithyClient.Command
763
707
  .classBuilder()
764
708
  .ep(commonParams)
765
709
  .m(function (Command, cs, config, o) {
766
- return [
767
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
768
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
769
- ];
710
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
770
711
  })
771
712
  .s("DataPipeline", "DescribePipelines", {})
772
713
  .n("DataPipelineClient", "DescribePipelinesCommand")
773
- .f(void 0, void 0)
774
- .ser(se_DescribePipelinesCommand)
775
- .de(de_DescribePipelinesCommand)
714
+ .sc(DescribePipelines)
776
715
  .build() {
777
716
  }
778
717
 
@@ -780,16 +719,11 @@ class EvaluateExpressionCommand extends smithyClient.Command
780
719
  .classBuilder()
781
720
  .ep(commonParams)
782
721
  .m(function (Command, cs, config, o) {
783
- return [
784
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
785
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
786
- ];
722
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
787
723
  })
788
724
  .s("DataPipeline", "EvaluateExpression", {})
789
725
  .n("DataPipelineClient", "EvaluateExpressionCommand")
790
- .f(void 0, void 0)
791
- .ser(se_EvaluateExpressionCommand)
792
- .de(de_EvaluateExpressionCommand)
726
+ .sc(EvaluateExpression)
793
727
  .build() {
794
728
  }
795
729
 
@@ -797,16 +731,11 @@ class GetPipelineDefinitionCommand extends smithyClient.Command
797
731
  .classBuilder()
798
732
  .ep(commonParams)
799
733
  .m(function (Command, cs, config, o) {
800
- return [
801
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
802
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
803
- ];
734
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
804
735
  })
805
736
  .s("DataPipeline", "GetPipelineDefinition", {})
806
737
  .n("DataPipelineClient", "GetPipelineDefinitionCommand")
807
- .f(void 0, void 0)
808
- .ser(se_GetPipelineDefinitionCommand)
809
- .de(de_GetPipelineDefinitionCommand)
738
+ .sc(GetPipelineDefinition)
810
739
  .build() {
811
740
  }
812
741
 
@@ -814,16 +743,11 @@ class ListPipelinesCommand extends smithyClient.Command
814
743
  .classBuilder()
815
744
  .ep(commonParams)
816
745
  .m(function (Command, cs, config, o) {
817
- return [
818
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
819
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
820
- ];
746
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
821
747
  })
822
748
  .s("DataPipeline", "ListPipelines", {})
823
749
  .n("DataPipelineClient", "ListPipelinesCommand")
824
- .f(void 0, void 0)
825
- .ser(se_ListPipelinesCommand)
826
- .de(de_ListPipelinesCommand)
750
+ .sc(ListPipelines)
827
751
  .build() {
828
752
  }
829
753
 
@@ -831,16 +755,11 @@ class PollForTaskCommand extends smithyClient.Command
831
755
  .classBuilder()
832
756
  .ep(commonParams)
833
757
  .m(function (Command, cs, config, o) {
834
- return [
835
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
836
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
837
- ];
758
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
838
759
  })
839
760
  .s("DataPipeline", "PollForTask", {})
840
761
  .n("DataPipelineClient", "PollForTaskCommand")
841
- .f(void 0, void 0)
842
- .ser(se_PollForTaskCommand)
843
- .de(de_PollForTaskCommand)
762
+ .sc(PollForTask)
844
763
  .build() {
845
764
  }
846
765
 
@@ -848,16 +767,11 @@ class PutPipelineDefinitionCommand extends smithyClient.Command
848
767
  .classBuilder()
849
768
  .ep(commonParams)
850
769
  .m(function (Command, cs, config, o) {
851
- return [
852
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
853
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
854
- ];
770
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
855
771
  })
856
772
  .s("DataPipeline", "PutPipelineDefinition", {})
857
773
  .n("DataPipelineClient", "PutPipelineDefinitionCommand")
858
- .f(void 0, void 0)
859
- .ser(se_PutPipelineDefinitionCommand)
860
- .de(de_PutPipelineDefinitionCommand)
774
+ .sc(PutPipelineDefinition)
861
775
  .build() {
862
776
  }
863
777
 
@@ -865,16 +779,11 @@ class QueryObjectsCommand extends smithyClient.Command
865
779
  .classBuilder()
866
780
  .ep(commonParams)
867
781
  .m(function (Command, cs, config, o) {
868
- return [
869
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
870
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
871
- ];
782
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
872
783
  })
873
784
  .s("DataPipeline", "QueryObjects", {})
874
785
  .n("DataPipelineClient", "QueryObjectsCommand")
875
- .f(void 0, void 0)
876
- .ser(se_QueryObjectsCommand)
877
- .de(de_QueryObjectsCommand)
786
+ .sc(QueryObjects)
878
787
  .build() {
879
788
  }
880
789
 
@@ -882,16 +791,11 @@ class RemoveTagsCommand extends smithyClient.Command
882
791
  .classBuilder()
883
792
  .ep(commonParams)
884
793
  .m(function (Command, cs, config, o) {
885
- return [
886
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
887
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
888
- ];
794
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
889
795
  })
890
796
  .s("DataPipeline", "RemoveTags", {})
891
797
  .n("DataPipelineClient", "RemoveTagsCommand")
892
- .f(void 0, void 0)
893
- .ser(se_RemoveTagsCommand)
894
- .de(de_RemoveTagsCommand)
798
+ .sc(RemoveTags)
895
799
  .build() {
896
800
  }
897
801
 
@@ -899,16 +803,11 @@ class ReportTaskProgressCommand extends smithyClient.Command
899
803
  .classBuilder()
900
804
  .ep(commonParams)
901
805
  .m(function (Command, cs, config, o) {
902
- return [
903
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
904
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
905
- ];
806
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
906
807
  })
907
808
  .s("DataPipeline", "ReportTaskProgress", {})
908
809
  .n("DataPipelineClient", "ReportTaskProgressCommand")
909
- .f(void 0, void 0)
910
- .ser(se_ReportTaskProgressCommand)
911
- .de(de_ReportTaskProgressCommand)
810
+ .sc(ReportTaskProgress)
912
811
  .build() {
913
812
  }
914
813
 
@@ -916,16 +815,11 @@ class ReportTaskRunnerHeartbeatCommand extends smithyClient.Command
916
815
  .classBuilder()
917
816
  .ep(commonParams)
918
817
  .m(function (Command, cs, config, o) {
919
- return [
920
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
921
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
922
- ];
818
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
923
819
  })
924
820
  .s("DataPipeline", "ReportTaskRunnerHeartbeat", {})
925
821
  .n("DataPipelineClient", "ReportTaskRunnerHeartbeatCommand")
926
- .f(void 0, void 0)
927
- .ser(se_ReportTaskRunnerHeartbeatCommand)
928
- .de(de_ReportTaskRunnerHeartbeatCommand)
822
+ .sc(ReportTaskRunnerHeartbeat)
929
823
  .build() {
930
824
  }
931
825
 
@@ -933,16 +827,11 @@ class SetStatusCommand extends smithyClient.Command
933
827
  .classBuilder()
934
828
  .ep(commonParams)
935
829
  .m(function (Command, cs, config, o) {
936
- return [
937
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
938
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
939
- ];
830
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
940
831
  })
941
832
  .s("DataPipeline", "SetStatus", {})
942
833
  .n("DataPipelineClient", "SetStatusCommand")
943
- .f(void 0, void 0)
944
- .ser(se_SetStatusCommand)
945
- .de(de_SetStatusCommand)
834
+ .sc(SetStatus)
946
835
  .build() {
947
836
  }
948
837
 
@@ -950,16 +839,11 @@ class SetTaskStatusCommand extends smithyClient.Command
950
839
  .classBuilder()
951
840
  .ep(commonParams)
952
841
  .m(function (Command, cs, config, o) {
953
- return [
954
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
955
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
956
- ];
842
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
957
843
  })
958
844
  .s("DataPipeline", "SetTaskStatus", {})
959
845
  .n("DataPipelineClient", "SetTaskStatusCommand")
960
- .f(void 0, void 0)
961
- .ser(se_SetTaskStatusCommand)
962
- .de(de_SetTaskStatusCommand)
846
+ .sc(SetTaskStatus)
963
847
  .build() {
964
848
  }
965
849
 
@@ -967,16 +851,11 @@ class ValidatePipelineDefinitionCommand extends smithyClient.Command
967
851
  .classBuilder()
968
852
  .ep(commonParams)
969
853
  .m(function (Command, cs, config, o) {
970
- return [
971
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
972
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
973
- ];
854
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
974
855
  })
975
856
  .s("DataPipeline", "ValidatePipelineDefinition", {})
976
857
  .n("DataPipelineClient", "ValidatePipelineDefinitionCommand")
977
- .f(void 0, void 0)
978
- .ser(se_ValidatePipelineDefinitionCommand)
979
- .de(de_ValidatePipelineDefinitionCommand)
858
+ .sc(ValidatePipelineDefinition)
980
859
  .build() {
981
860
  }
982
861
 
@@ -1024,19 +903,19 @@ exports.AddTagsCommand = AddTagsCommand;
1024
903
  exports.CreatePipelineCommand = CreatePipelineCommand;
1025
904
  exports.DataPipeline = DataPipeline;
1026
905
  exports.DataPipelineClient = DataPipelineClient;
1027
- exports.DataPipelineServiceException = DataPipelineServiceException;
906
+ exports.DataPipelineServiceException = DataPipelineServiceException$1;
1028
907
  exports.DeactivatePipelineCommand = DeactivatePipelineCommand;
1029
908
  exports.DeletePipelineCommand = DeletePipelineCommand;
1030
909
  exports.DescribeObjectsCommand = DescribeObjectsCommand;
1031
910
  exports.DescribePipelinesCommand = DescribePipelinesCommand;
1032
911
  exports.EvaluateExpressionCommand = EvaluateExpressionCommand;
1033
912
  exports.GetPipelineDefinitionCommand = GetPipelineDefinitionCommand;
1034
- exports.InternalServiceError = InternalServiceError;
1035
- exports.InvalidRequestException = InvalidRequestException;
913
+ exports.InternalServiceError = InternalServiceError$1;
914
+ exports.InvalidRequestException = InvalidRequestException$1;
1036
915
  exports.ListPipelinesCommand = ListPipelinesCommand;
1037
916
  exports.OperatorType = OperatorType;
1038
- exports.PipelineDeletedException = PipelineDeletedException;
1039
- exports.PipelineNotFoundException = PipelineNotFoundException;
917
+ exports.PipelineDeletedException = PipelineDeletedException$1;
918
+ exports.PipelineNotFoundException = PipelineNotFoundException$1;
1040
919
  exports.PollForTaskCommand = PollForTaskCommand;
1041
920
  exports.PutPipelineDefinitionCommand = PutPipelineDefinitionCommand;
1042
921
  exports.QueryObjectsCommand = QueryObjectsCommand;
@@ -1045,7 +924,7 @@ exports.ReportTaskProgressCommand = ReportTaskProgressCommand;
1045
924
  exports.ReportTaskRunnerHeartbeatCommand = ReportTaskRunnerHeartbeatCommand;
1046
925
  exports.SetStatusCommand = SetStatusCommand;
1047
926
  exports.SetTaskStatusCommand = SetTaskStatusCommand;
1048
- exports.TaskNotFoundException = TaskNotFoundException;
927
+ exports.TaskNotFoundException = TaskNotFoundException$1;
1049
928
  exports.TaskStatus = TaskStatus;
1050
929
  exports.ValidatePipelineDefinitionCommand = ValidatePipelineDefinitionCommand;
1051
930
  exports.paginateDescribeObjects = paginateDescribeObjects;