@aws-sdk/client-data-pipeline 3.141.0 → 3.150.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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +95 -179
- package/dist-es/protocols/Aws_json1_1.js +153 -180
- package/package.json +11 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-data-pipeline
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-data-pipeline
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -214,7 +214,6 @@ const deserializeAws_json1_1ActivatePipelineCommandError = async (output, contex
|
|
|
214
214
|
...output,
|
|
215
215
|
body: await parseBody(output.body, context),
|
|
216
216
|
};
|
|
217
|
-
let response;
|
|
218
217
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
219
218
|
switch (errorCode) {
|
|
220
219
|
case "InternalServiceError":
|
|
@@ -231,14 +230,12 @@ const deserializeAws_json1_1ActivatePipelineCommandError = async (output, contex
|
|
|
231
230
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
232
231
|
default:
|
|
233
232
|
const parsedBody = parsedOutput.body;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
$metadata,
|
|
233
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
234
|
+
output,
|
|
235
|
+
parsedBody,
|
|
236
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
237
|
+
errorCode,
|
|
240
238
|
});
|
|
241
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
242
239
|
}
|
|
243
240
|
};
|
|
244
241
|
const deserializeAws_json1_1AddTagsCommand = async (output, context) => {
|
|
@@ -260,7 +257,6 @@ const deserializeAws_json1_1AddTagsCommandError = async (output, context) => {
|
|
|
260
257
|
...output,
|
|
261
258
|
body: await parseBody(output.body, context),
|
|
262
259
|
};
|
|
263
|
-
let response;
|
|
264
260
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
265
261
|
switch (errorCode) {
|
|
266
262
|
case "InternalServiceError":
|
|
@@ -277,14 +273,12 @@ const deserializeAws_json1_1AddTagsCommandError = async (output, context) => {
|
|
|
277
273
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
278
274
|
default:
|
|
279
275
|
const parsedBody = parsedOutput.body;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
$metadata,
|
|
276
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
277
|
+
output,
|
|
278
|
+
parsedBody,
|
|
279
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
280
|
+
errorCode,
|
|
286
281
|
});
|
|
287
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
288
282
|
}
|
|
289
283
|
};
|
|
290
284
|
const deserializeAws_json1_1CreatePipelineCommand = async (output, context) => {
|
|
@@ -306,7 +300,6 @@ const deserializeAws_json1_1CreatePipelineCommandError = async (output, context)
|
|
|
306
300
|
...output,
|
|
307
301
|
body: await parseBody(output.body, context),
|
|
308
302
|
};
|
|
309
|
-
let response;
|
|
310
303
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
311
304
|
switch (errorCode) {
|
|
312
305
|
case "InternalServiceError":
|
|
@@ -317,14 +310,12 @@ const deserializeAws_json1_1CreatePipelineCommandError = async (output, context)
|
|
|
317
310
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
318
311
|
default:
|
|
319
312
|
const parsedBody = parsedOutput.body;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
$metadata,
|
|
313
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
314
|
+
output,
|
|
315
|
+
parsedBody,
|
|
316
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
317
|
+
errorCode,
|
|
326
318
|
});
|
|
327
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
328
319
|
}
|
|
329
320
|
};
|
|
330
321
|
const deserializeAws_json1_1DeactivatePipelineCommand = async (output, context) => {
|
|
@@ -346,7 +337,6 @@ const deserializeAws_json1_1DeactivatePipelineCommandError = async (output, cont
|
|
|
346
337
|
...output,
|
|
347
338
|
body: await parseBody(output.body, context),
|
|
348
339
|
};
|
|
349
|
-
let response;
|
|
350
340
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
351
341
|
switch (errorCode) {
|
|
352
342
|
case "InternalServiceError":
|
|
@@ -363,14 +353,12 @@ const deserializeAws_json1_1DeactivatePipelineCommandError = async (output, cont
|
|
|
363
353
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
364
354
|
default:
|
|
365
355
|
const parsedBody = parsedOutput.body;
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
$metadata,
|
|
356
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
357
|
+
output,
|
|
358
|
+
parsedBody,
|
|
359
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
360
|
+
errorCode,
|
|
372
361
|
});
|
|
373
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
374
362
|
}
|
|
375
363
|
};
|
|
376
364
|
const deserializeAws_json1_1DeletePipelineCommand = async (output, context) => {
|
|
@@ -389,7 +377,6 @@ const deserializeAws_json1_1DeletePipelineCommandError = async (output, context)
|
|
|
389
377
|
...output,
|
|
390
378
|
body: await parseBody(output.body, context),
|
|
391
379
|
};
|
|
392
|
-
let response;
|
|
393
380
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
394
381
|
switch (errorCode) {
|
|
395
382
|
case "InternalServiceError":
|
|
@@ -403,14 +390,12 @@ const deserializeAws_json1_1DeletePipelineCommandError = async (output, context)
|
|
|
403
390
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
404
391
|
default:
|
|
405
392
|
const parsedBody = parsedOutput.body;
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
$metadata,
|
|
393
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
394
|
+
output,
|
|
395
|
+
parsedBody,
|
|
396
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
397
|
+
errorCode,
|
|
412
398
|
});
|
|
413
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
414
399
|
}
|
|
415
400
|
};
|
|
416
401
|
const deserializeAws_json1_1DescribeObjectsCommand = async (output, context) => {
|
|
@@ -432,7 +417,6 @@ const deserializeAws_json1_1DescribeObjectsCommandError = async (output, context
|
|
|
432
417
|
...output,
|
|
433
418
|
body: await parseBody(output.body, context),
|
|
434
419
|
};
|
|
435
|
-
let response;
|
|
436
420
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
437
421
|
switch (errorCode) {
|
|
438
422
|
case "InternalServiceError":
|
|
@@ -449,14 +433,12 @@ const deserializeAws_json1_1DescribeObjectsCommandError = async (output, context
|
|
|
449
433
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
450
434
|
default:
|
|
451
435
|
const parsedBody = parsedOutput.body;
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
$metadata,
|
|
436
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
437
|
+
output,
|
|
438
|
+
parsedBody,
|
|
439
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
440
|
+
errorCode,
|
|
458
441
|
});
|
|
459
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
460
442
|
}
|
|
461
443
|
};
|
|
462
444
|
const deserializeAws_json1_1DescribePipelinesCommand = async (output, context) => {
|
|
@@ -478,7 +460,6 @@ const deserializeAws_json1_1DescribePipelinesCommandError = async (output, conte
|
|
|
478
460
|
...output,
|
|
479
461
|
body: await parseBody(output.body, context),
|
|
480
462
|
};
|
|
481
|
-
let response;
|
|
482
463
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
483
464
|
switch (errorCode) {
|
|
484
465
|
case "InternalServiceError":
|
|
@@ -495,14 +476,12 @@ const deserializeAws_json1_1DescribePipelinesCommandError = async (output, conte
|
|
|
495
476
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
496
477
|
default:
|
|
497
478
|
const parsedBody = parsedOutput.body;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
$metadata,
|
|
479
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
480
|
+
output,
|
|
481
|
+
parsedBody,
|
|
482
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
483
|
+
errorCode,
|
|
504
484
|
});
|
|
505
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
506
485
|
}
|
|
507
486
|
};
|
|
508
487
|
const deserializeAws_json1_1EvaluateExpressionCommand = async (output, context) => {
|
|
@@ -524,7 +503,6 @@ const deserializeAws_json1_1EvaluateExpressionCommandError = async (output, cont
|
|
|
524
503
|
...output,
|
|
525
504
|
body: await parseBody(output.body, context),
|
|
526
505
|
};
|
|
527
|
-
let response;
|
|
528
506
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
529
507
|
switch (errorCode) {
|
|
530
508
|
case "InternalServiceError":
|
|
@@ -544,14 +522,12 @@ const deserializeAws_json1_1EvaluateExpressionCommandError = async (output, cont
|
|
|
544
522
|
throw await deserializeAws_json1_1TaskNotFoundExceptionResponse(parsedOutput, context);
|
|
545
523
|
default:
|
|
546
524
|
const parsedBody = parsedOutput.body;
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
$metadata,
|
|
525
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
526
|
+
output,
|
|
527
|
+
parsedBody,
|
|
528
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
529
|
+
errorCode,
|
|
553
530
|
});
|
|
554
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
555
531
|
}
|
|
556
532
|
};
|
|
557
533
|
const deserializeAws_json1_1GetPipelineDefinitionCommand = async (output, context) => {
|
|
@@ -573,7 +549,6 @@ const deserializeAws_json1_1GetPipelineDefinitionCommandError = async (output, c
|
|
|
573
549
|
...output,
|
|
574
550
|
body: await parseBody(output.body, context),
|
|
575
551
|
};
|
|
576
|
-
let response;
|
|
577
552
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
578
553
|
switch (errorCode) {
|
|
579
554
|
case "InternalServiceError":
|
|
@@ -590,14 +565,12 @@ const deserializeAws_json1_1GetPipelineDefinitionCommandError = async (output, c
|
|
|
590
565
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
591
566
|
default:
|
|
592
567
|
const parsedBody = parsedOutput.body;
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
$metadata,
|
|
568
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
569
|
+
output,
|
|
570
|
+
parsedBody,
|
|
571
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
572
|
+
errorCode,
|
|
599
573
|
});
|
|
600
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
601
574
|
}
|
|
602
575
|
};
|
|
603
576
|
const deserializeAws_json1_1ListPipelinesCommand = async (output, context) => {
|
|
@@ -619,7 +592,6 @@ const deserializeAws_json1_1ListPipelinesCommandError = async (output, context)
|
|
|
619
592
|
...output,
|
|
620
593
|
body: await parseBody(output.body, context),
|
|
621
594
|
};
|
|
622
|
-
let response;
|
|
623
595
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
624
596
|
switch (errorCode) {
|
|
625
597
|
case "InternalServiceError":
|
|
@@ -630,14 +602,12 @@ const deserializeAws_json1_1ListPipelinesCommandError = async (output, context)
|
|
|
630
602
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
631
603
|
default:
|
|
632
604
|
const parsedBody = parsedOutput.body;
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
$metadata,
|
|
605
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
606
|
+
output,
|
|
607
|
+
parsedBody,
|
|
608
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
609
|
+
errorCode,
|
|
639
610
|
});
|
|
640
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
641
611
|
}
|
|
642
612
|
};
|
|
643
613
|
const deserializeAws_json1_1PollForTaskCommand = async (output, context) => {
|
|
@@ -659,7 +629,6 @@ const deserializeAws_json1_1PollForTaskCommandError = async (output, context) =>
|
|
|
659
629
|
...output,
|
|
660
630
|
body: await parseBody(output.body, context),
|
|
661
631
|
};
|
|
662
|
-
let response;
|
|
663
632
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
664
633
|
switch (errorCode) {
|
|
665
634
|
case "InternalServiceError":
|
|
@@ -673,14 +642,12 @@ const deserializeAws_json1_1PollForTaskCommandError = async (output, context) =>
|
|
|
673
642
|
throw await deserializeAws_json1_1TaskNotFoundExceptionResponse(parsedOutput, context);
|
|
674
643
|
default:
|
|
675
644
|
const parsedBody = parsedOutput.body;
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
$metadata,
|
|
645
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
646
|
+
output,
|
|
647
|
+
parsedBody,
|
|
648
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
649
|
+
errorCode,
|
|
682
650
|
});
|
|
683
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
684
651
|
}
|
|
685
652
|
};
|
|
686
653
|
const deserializeAws_json1_1PutPipelineDefinitionCommand = async (output, context) => {
|
|
@@ -702,7 +669,6 @@ const deserializeAws_json1_1PutPipelineDefinitionCommandError = async (output, c
|
|
|
702
669
|
...output,
|
|
703
670
|
body: await parseBody(output.body, context),
|
|
704
671
|
};
|
|
705
|
-
let response;
|
|
706
672
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
707
673
|
switch (errorCode) {
|
|
708
674
|
case "InternalServiceError":
|
|
@@ -719,14 +685,12 @@ const deserializeAws_json1_1PutPipelineDefinitionCommandError = async (output, c
|
|
|
719
685
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
720
686
|
default:
|
|
721
687
|
const parsedBody = parsedOutput.body;
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
$metadata,
|
|
688
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
689
|
+
output,
|
|
690
|
+
parsedBody,
|
|
691
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
692
|
+
errorCode,
|
|
728
693
|
});
|
|
729
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
730
694
|
}
|
|
731
695
|
};
|
|
732
696
|
const deserializeAws_json1_1QueryObjectsCommand = async (output, context) => {
|
|
@@ -748,7 +712,6 @@ const deserializeAws_json1_1QueryObjectsCommandError = async (output, context) =
|
|
|
748
712
|
...output,
|
|
749
713
|
body: await parseBody(output.body, context),
|
|
750
714
|
};
|
|
751
|
-
let response;
|
|
752
715
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
753
716
|
switch (errorCode) {
|
|
754
717
|
case "InternalServiceError":
|
|
@@ -765,14 +728,12 @@ const deserializeAws_json1_1QueryObjectsCommandError = async (output, context) =
|
|
|
765
728
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
766
729
|
default:
|
|
767
730
|
const parsedBody = parsedOutput.body;
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
$metadata,
|
|
731
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
732
|
+
output,
|
|
733
|
+
parsedBody,
|
|
734
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
735
|
+
errorCode,
|
|
774
736
|
});
|
|
775
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
776
737
|
}
|
|
777
738
|
};
|
|
778
739
|
const deserializeAws_json1_1RemoveTagsCommand = async (output, context) => {
|
|
@@ -794,7 +755,6 @@ const deserializeAws_json1_1RemoveTagsCommandError = async (output, context) =>
|
|
|
794
755
|
...output,
|
|
795
756
|
body: await parseBody(output.body, context),
|
|
796
757
|
};
|
|
797
|
-
let response;
|
|
798
758
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
799
759
|
switch (errorCode) {
|
|
800
760
|
case "InternalServiceError":
|
|
@@ -811,14 +771,12 @@ const deserializeAws_json1_1RemoveTagsCommandError = async (output, context) =>
|
|
|
811
771
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
812
772
|
default:
|
|
813
773
|
const parsedBody = parsedOutput.body;
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
$metadata,
|
|
774
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
775
|
+
output,
|
|
776
|
+
parsedBody,
|
|
777
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
778
|
+
errorCode,
|
|
820
779
|
});
|
|
821
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
822
780
|
}
|
|
823
781
|
};
|
|
824
782
|
const deserializeAws_json1_1ReportTaskProgressCommand = async (output, context) => {
|
|
@@ -840,7 +798,6 @@ const deserializeAws_json1_1ReportTaskProgressCommandError = async (output, cont
|
|
|
840
798
|
...output,
|
|
841
799
|
body: await parseBody(output.body, context),
|
|
842
800
|
};
|
|
843
|
-
let response;
|
|
844
801
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
845
802
|
switch (errorCode) {
|
|
846
803
|
case "InternalServiceError":
|
|
@@ -860,14 +817,12 @@ const deserializeAws_json1_1ReportTaskProgressCommandError = async (output, cont
|
|
|
860
817
|
throw await deserializeAws_json1_1TaskNotFoundExceptionResponse(parsedOutput, context);
|
|
861
818
|
default:
|
|
862
819
|
const parsedBody = parsedOutput.body;
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
$metadata,
|
|
820
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
821
|
+
output,
|
|
822
|
+
parsedBody,
|
|
823
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
824
|
+
errorCode,
|
|
869
825
|
});
|
|
870
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
871
826
|
}
|
|
872
827
|
};
|
|
873
828
|
const deserializeAws_json1_1ReportTaskRunnerHeartbeatCommand = async (output, context) => {
|
|
@@ -889,7 +844,6 @@ const deserializeAws_json1_1ReportTaskRunnerHeartbeatCommandError = async (outpu
|
|
|
889
844
|
...output,
|
|
890
845
|
body: await parseBody(output.body, context),
|
|
891
846
|
};
|
|
892
|
-
let response;
|
|
893
847
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
894
848
|
switch (errorCode) {
|
|
895
849
|
case "InternalServiceError":
|
|
@@ -900,14 +854,12 @@ const deserializeAws_json1_1ReportTaskRunnerHeartbeatCommandError = async (outpu
|
|
|
900
854
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
901
855
|
default:
|
|
902
856
|
const parsedBody = parsedOutput.body;
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
$metadata,
|
|
857
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
858
|
+
output,
|
|
859
|
+
parsedBody,
|
|
860
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
861
|
+
errorCode,
|
|
909
862
|
});
|
|
910
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
911
863
|
}
|
|
912
864
|
};
|
|
913
865
|
const deserializeAws_json1_1SetStatusCommand = async (output, context) => {
|
|
@@ -926,7 +878,6 @@ const deserializeAws_json1_1SetStatusCommandError = async (output, context) => {
|
|
|
926
878
|
...output,
|
|
927
879
|
body: await parseBody(output.body, context),
|
|
928
880
|
};
|
|
929
|
-
let response;
|
|
930
881
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
931
882
|
switch (errorCode) {
|
|
932
883
|
case "InternalServiceError":
|
|
@@ -943,14 +894,12 @@ const deserializeAws_json1_1SetStatusCommandError = async (output, context) => {
|
|
|
943
894
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
944
895
|
default:
|
|
945
896
|
const parsedBody = parsedOutput.body;
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
$metadata,
|
|
897
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
898
|
+
output,
|
|
899
|
+
parsedBody,
|
|
900
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
901
|
+
errorCode,
|
|
952
902
|
});
|
|
953
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
954
903
|
}
|
|
955
904
|
};
|
|
956
905
|
const deserializeAws_json1_1SetTaskStatusCommand = async (output, context) => {
|
|
@@ -972,7 +921,6 @@ const deserializeAws_json1_1SetTaskStatusCommandError = async (output, context)
|
|
|
972
921
|
...output,
|
|
973
922
|
body: await parseBody(output.body, context),
|
|
974
923
|
};
|
|
975
|
-
let response;
|
|
976
924
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
977
925
|
switch (errorCode) {
|
|
978
926
|
case "InternalServiceError":
|
|
@@ -992,14 +940,12 @@ const deserializeAws_json1_1SetTaskStatusCommandError = async (output, context)
|
|
|
992
940
|
throw await deserializeAws_json1_1TaskNotFoundExceptionResponse(parsedOutput, context);
|
|
993
941
|
default:
|
|
994
942
|
const parsedBody = parsedOutput.body;
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
$metadata,
|
|
943
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
944
|
+
output,
|
|
945
|
+
parsedBody,
|
|
946
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
947
|
+
errorCode,
|
|
1001
948
|
});
|
|
1002
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1003
949
|
}
|
|
1004
950
|
};
|
|
1005
951
|
const deserializeAws_json1_1ValidatePipelineDefinitionCommand = async (output, context) => {
|
|
@@ -1021,7 +967,6 @@ const deserializeAws_json1_1ValidatePipelineDefinitionCommandError = async (outp
|
|
|
1021
967
|
...output,
|
|
1022
968
|
body: await parseBody(output.body, context),
|
|
1023
969
|
};
|
|
1024
|
-
let response;
|
|
1025
970
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1026
971
|
switch (errorCode) {
|
|
1027
972
|
case "InternalServiceError":
|
|
@@ -1038,14 +983,12 @@ const deserializeAws_json1_1ValidatePipelineDefinitionCommandError = async (outp
|
|
|
1038
983
|
throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
|
|
1039
984
|
default:
|
|
1040
985
|
const parsedBody = parsedOutput.body;
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
$metadata,
|
|
986
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
987
|
+
output,
|
|
988
|
+
parsedBody,
|
|
989
|
+
exceptionCtor: DataPipelineServiceException_1.DataPipelineServiceException,
|
|
990
|
+
errorCode,
|
|
1047
991
|
});
|
|
1048
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1049
992
|
}
|
|
1050
993
|
};
|
|
1051
994
|
const deserializeAws_json1_1InternalServiceErrorResponse = async (parsedOutput, context) => {
|
|
@@ -1158,9 +1101,6 @@ const serializeAws_json1_1fieldList = (input, context) => {
|
|
|
1158
1101
|
return input
|
|
1159
1102
|
.filter((e) => e != null)
|
|
1160
1103
|
.map((entry) => {
|
|
1161
|
-
if (entry === null) {
|
|
1162
|
-
return null;
|
|
1163
|
-
}
|
|
1164
1104
|
return serializeAws_json1_1Field(entry, context);
|
|
1165
1105
|
});
|
|
1166
1106
|
};
|
|
@@ -1174,9 +1114,6 @@ const serializeAws_json1_1idList = (input, context) => {
|
|
|
1174
1114
|
return input
|
|
1175
1115
|
.filter((e) => e != null)
|
|
1176
1116
|
.map((entry) => {
|
|
1177
|
-
if (entry === null) {
|
|
1178
|
-
return null;
|
|
1179
|
-
}
|
|
1180
1117
|
return entry;
|
|
1181
1118
|
});
|
|
1182
1119
|
};
|
|
@@ -1207,9 +1144,6 @@ const serializeAws_json1_1ParameterAttributeList = (input, context) => {
|
|
|
1207
1144
|
return input
|
|
1208
1145
|
.filter((e) => e != null)
|
|
1209
1146
|
.map((entry) => {
|
|
1210
|
-
if (entry === null) {
|
|
1211
|
-
return null;
|
|
1212
|
-
}
|
|
1213
1147
|
return serializeAws_json1_1ParameterAttribute(entry, context);
|
|
1214
1148
|
});
|
|
1215
1149
|
};
|
|
@@ -1225,9 +1159,6 @@ const serializeAws_json1_1ParameterObjectList = (input, context) => {
|
|
|
1225
1159
|
return input
|
|
1226
1160
|
.filter((e) => e != null)
|
|
1227
1161
|
.map((entry) => {
|
|
1228
|
-
if (entry === null) {
|
|
1229
|
-
return null;
|
|
1230
|
-
}
|
|
1231
1162
|
return serializeAws_json1_1ParameterObject(entry, context);
|
|
1232
1163
|
});
|
|
1233
1164
|
};
|
|
@@ -1241,9 +1172,6 @@ const serializeAws_json1_1ParameterValueList = (input, context) => {
|
|
|
1241
1172
|
return input
|
|
1242
1173
|
.filter((e) => e != null)
|
|
1243
1174
|
.map((entry) => {
|
|
1244
|
-
if (entry === null) {
|
|
1245
|
-
return null;
|
|
1246
|
-
}
|
|
1247
1175
|
return serializeAws_json1_1ParameterValue(entry, context);
|
|
1248
1176
|
});
|
|
1249
1177
|
};
|
|
@@ -1258,9 +1186,6 @@ const serializeAws_json1_1PipelineObjectList = (input, context) => {
|
|
|
1258
1186
|
return input
|
|
1259
1187
|
.filter((e) => e != null)
|
|
1260
1188
|
.map((entry) => {
|
|
1261
|
-
if (entry === null) {
|
|
1262
|
-
return null;
|
|
1263
|
-
}
|
|
1264
1189
|
return serializeAws_json1_1PipelineObject(entry, context);
|
|
1265
1190
|
});
|
|
1266
1191
|
};
|
|
@@ -1330,9 +1255,6 @@ const serializeAws_json1_1SelectorList = (input, context) => {
|
|
|
1330
1255
|
return input
|
|
1331
1256
|
.filter((e) => e != null)
|
|
1332
1257
|
.map((entry) => {
|
|
1333
|
-
if (entry === null) {
|
|
1334
|
-
return null;
|
|
1335
|
-
}
|
|
1336
1258
|
return serializeAws_json1_1Selector(entry, context);
|
|
1337
1259
|
});
|
|
1338
1260
|
};
|
|
@@ -1356,9 +1278,6 @@ const serializeAws_json1_1stringList = (input, context) => {
|
|
|
1356
1278
|
return input
|
|
1357
1279
|
.filter((e) => e != null)
|
|
1358
1280
|
.map((entry) => {
|
|
1359
|
-
if (entry === null) {
|
|
1360
|
-
return null;
|
|
1361
|
-
}
|
|
1362
1281
|
return entry;
|
|
1363
1282
|
});
|
|
1364
1283
|
};
|
|
@@ -1372,9 +1291,6 @@ const serializeAws_json1_1tagList = (input, context) => {
|
|
|
1372
1291
|
return input
|
|
1373
1292
|
.filter((e) => e != null)
|
|
1374
1293
|
.map((entry) => {
|
|
1375
|
-
if (entry === null) {
|
|
1376
|
-
return null;
|
|
1377
|
-
}
|
|
1378
1294
|
return serializeAws_json1_1Tag(entry, context);
|
|
1379
1295
|
});
|
|
1380
1296
|
};
|