@aws-sdk/client-codebuild 3.131.0 → 3.142.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 +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/BatchDeleteBuildsCommand.js +2 -2
- package/dist-cjs/commands/BatchGetBuildBatchesCommand.js +2 -2
- package/dist-cjs/commands/BatchGetBuildsCommand.js +2 -2
- package/dist-cjs/commands/BatchGetProjectsCommand.js +2 -2
- package/dist-cjs/commands/BatchGetReportGroupsCommand.js +2 -2
- package/dist-cjs/commands/BatchGetReportsCommand.js +2 -2
- package/dist-cjs/commands/CreateProjectCommand.js +2 -2
- package/dist-cjs/commands/CreateReportGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateWebhookCommand.js +2 -2
- package/dist-cjs/commands/DeleteBuildBatchCommand.js +2 -2
- package/dist-cjs/commands/DeleteProjectCommand.js +2 -2
- package/dist-cjs/commands/DeleteReportCommand.js +2 -2
- package/dist-cjs/commands/DeleteReportGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteSourceCredentialsCommand.js +2 -2
- package/dist-cjs/commands/DeleteWebhookCommand.js +2 -2
- package/dist-cjs/commands/DescribeCodeCoveragesCommand.js +2 -2
- package/dist-cjs/commands/DescribeTestCasesCommand.js +2 -2
- package/dist-cjs/commands/GetReportGroupTrendCommand.js +2 -2
- package/dist-cjs/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/ImportSourceCredentialsCommand.js +2 -2
- package/dist-cjs/commands/InvalidateProjectCacheCommand.js +2 -2
- package/dist-cjs/commands/ListBuildBatchesCommand.js +2 -2
- package/dist-cjs/commands/ListBuildBatchesForProjectCommand.js +2 -2
- package/dist-cjs/commands/ListBuildsCommand.js +2 -2
- package/dist-cjs/commands/ListBuildsForProjectCommand.js +2 -2
- package/dist-cjs/commands/ListCuratedEnvironmentImagesCommand.js +2 -2
- package/dist-cjs/commands/ListProjectsCommand.js +2 -2
- package/dist-cjs/commands/ListReportGroupsCommand.js +2 -2
- package/dist-cjs/commands/ListReportsCommand.js +2 -2
- package/dist-cjs/commands/ListReportsForReportGroupCommand.js +2 -2
- package/dist-cjs/commands/ListSharedProjectsCommand.js +2 -2
- package/dist-cjs/commands/ListSharedReportGroupsCommand.js +2 -2
- package/dist-cjs/commands/ListSourceCredentialsCommand.js +2 -2
- package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/RetryBuildBatchCommand.js +2 -2
- package/dist-cjs/commands/RetryBuildCommand.js +2 -2
- package/dist-cjs/commands/StartBuildBatchCommand.js +2 -2
- package/dist-cjs/commands/StartBuildCommand.js +2 -2
- package/dist-cjs/commands/StopBuildBatchCommand.js +2 -2
- package/dist-cjs/commands/StopBuildCommand.js +2 -2
- package/dist-cjs/commands/UpdateProjectCommand.js +2 -2
- package/dist-cjs/commands/UpdateProjectVisibilityCommand.js +2 -2
- package/dist-cjs/commands/UpdateReportGroupCommand.js +2 -2
- package/dist-cjs/commands/UpdateWebhookCommand.js +2 -2
- package/dist-cjs/models/models_0.js +577 -863
- package/dist-cjs/protocols/Aws_json1_1.js +227 -416
- package/dist-es/commands/BatchDeleteBuildsCommand.js +3 -3
- package/dist-es/commands/BatchGetBuildBatchesCommand.js +3 -3
- package/dist-es/commands/BatchGetBuildsCommand.js +3 -3
- package/dist-es/commands/BatchGetProjectsCommand.js +3 -3
- package/dist-es/commands/BatchGetReportGroupsCommand.js +3 -3
- package/dist-es/commands/BatchGetReportsCommand.js +3 -3
- package/dist-es/commands/CreateProjectCommand.js +3 -3
- package/dist-es/commands/CreateReportGroupCommand.js +3 -3
- package/dist-es/commands/CreateWebhookCommand.js +3 -3
- package/dist-es/commands/DeleteBuildBatchCommand.js +3 -3
- package/dist-es/commands/DeleteProjectCommand.js +3 -3
- package/dist-es/commands/DeleteReportCommand.js +3 -3
- package/dist-es/commands/DeleteReportGroupCommand.js +3 -3
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-es/commands/DeleteSourceCredentialsCommand.js +3 -3
- package/dist-es/commands/DeleteWebhookCommand.js +3 -3
- package/dist-es/commands/DescribeCodeCoveragesCommand.js +3 -3
- package/dist-es/commands/DescribeTestCasesCommand.js +3 -3
- package/dist-es/commands/GetReportGroupTrendCommand.js +3 -3
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -3
- package/dist-es/commands/ImportSourceCredentialsCommand.js +3 -3
- package/dist-es/commands/InvalidateProjectCacheCommand.js +3 -3
- package/dist-es/commands/ListBuildBatchesCommand.js +3 -3
- package/dist-es/commands/ListBuildBatchesForProjectCommand.js +3 -3
- package/dist-es/commands/ListBuildsCommand.js +3 -3
- package/dist-es/commands/ListBuildsForProjectCommand.js +3 -3
- package/dist-es/commands/ListCuratedEnvironmentImagesCommand.js +3 -3
- package/dist-es/commands/ListProjectsCommand.js +3 -3
- package/dist-es/commands/ListReportGroupsCommand.js +3 -3
- package/dist-es/commands/ListReportsCommand.js +3 -3
- package/dist-es/commands/ListReportsForReportGroupCommand.js +3 -3
- package/dist-es/commands/ListSharedProjectsCommand.js +3 -3
- package/dist-es/commands/ListSharedReportGroupsCommand.js +3 -3
- package/dist-es/commands/ListSourceCredentialsCommand.js +3 -3
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-es/commands/RetryBuildBatchCommand.js +3 -3
- package/dist-es/commands/RetryBuildCommand.js +3 -3
- package/dist-es/commands/StartBuildBatchCommand.js +3 -3
- package/dist-es/commands/StartBuildCommand.js +3 -3
- package/dist-es/commands/StopBuildBatchCommand.js +3 -3
- package/dist-es/commands/StopBuildCommand.js +3 -3
- package/dist-es/commands/UpdateProjectCommand.js +3 -3
- package/dist-es/commands/UpdateProjectVisibilityCommand.js +3 -3
- package/dist-es/commands/UpdateReportGroupCommand.js +3 -3
- package/dist-es/commands/UpdateWebhookCommand.js +3 -3
- package/dist-es/models/models_0.js +143 -572
- package/dist-es/protocols/Aws_json1_1.js +361 -417
- package/dist-types/models/models_0.d.ts +572 -858
- package/dist-types/ts3.4/models/models_0.d.ts +286 -572
- package/package.json +6 -6
|
@@ -475,7 +475,6 @@ const deserializeAws_json1_1BatchDeleteBuildsCommandError = async (output, conte
|
|
|
475
475
|
...output,
|
|
476
476
|
body: await parseBody(output.body, context),
|
|
477
477
|
};
|
|
478
|
-
let response;
|
|
479
478
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
480
479
|
switch (errorCode) {
|
|
481
480
|
case "InvalidInputException":
|
|
@@ -483,14 +482,12 @@ const deserializeAws_json1_1BatchDeleteBuildsCommandError = async (output, conte
|
|
|
483
482
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
484
483
|
default:
|
|
485
484
|
const parsedBody = parsedOutput.body;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
$metadata,
|
|
485
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
486
|
+
output,
|
|
487
|
+
parsedBody,
|
|
488
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
489
|
+
errorCode,
|
|
492
490
|
});
|
|
493
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
494
491
|
}
|
|
495
492
|
};
|
|
496
493
|
const deserializeAws_json1_1BatchGetBuildBatchesCommand = async (output, context) => {
|
|
@@ -512,7 +509,6 @@ const deserializeAws_json1_1BatchGetBuildBatchesCommandError = async (output, co
|
|
|
512
509
|
...output,
|
|
513
510
|
body: await parseBody(output.body, context),
|
|
514
511
|
};
|
|
515
|
-
let response;
|
|
516
512
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
517
513
|
switch (errorCode) {
|
|
518
514
|
case "InvalidInputException":
|
|
@@ -520,14 +516,12 @@ const deserializeAws_json1_1BatchGetBuildBatchesCommandError = async (output, co
|
|
|
520
516
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
521
517
|
default:
|
|
522
518
|
const parsedBody = parsedOutput.body;
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
$metadata,
|
|
519
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
520
|
+
output,
|
|
521
|
+
parsedBody,
|
|
522
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
523
|
+
errorCode,
|
|
529
524
|
});
|
|
530
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
531
525
|
}
|
|
532
526
|
};
|
|
533
527
|
const deserializeAws_json1_1BatchGetBuildsCommand = async (output, context) => {
|
|
@@ -549,7 +543,6 @@ const deserializeAws_json1_1BatchGetBuildsCommandError = async (output, context)
|
|
|
549
543
|
...output,
|
|
550
544
|
body: await parseBody(output.body, context),
|
|
551
545
|
};
|
|
552
|
-
let response;
|
|
553
546
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
554
547
|
switch (errorCode) {
|
|
555
548
|
case "InvalidInputException":
|
|
@@ -557,14 +550,12 @@ const deserializeAws_json1_1BatchGetBuildsCommandError = async (output, context)
|
|
|
557
550
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
558
551
|
default:
|
|
559
552
|
const parsedBody = parsedOutput.body;
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
$metadata,
|
|
553
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
554
|
+
output,
|
|
555
|
+
parsedBody,
|
|
556
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
557
|
+
errorCode,
|
|
566
558
|
});
|
|
567
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
568
559
|
}
|
|
569
560
|
};
|
|
570
561
|
const deserializeAws_json1_1BatchGetProjectsCommand = async (output, context) => {
|
|
@@ -586,7 +577,6 @@ const deserializeAws_json1_1BatchGetProjectsCommandError = async (output, contex
|
|
|
586
577
|
...output,
|
|
587
578
|
body: await parseBody(output.body, context),
|
|
588
579
|
};
|
|
589
|
-
let response;
|
|
590
580
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
591
581
|
switch (errorCode) {
|
|
592
582
|
case "InvalidInputException":
|
|
@@ -594,14 +584,12 @@ const deserializeAws_json1_1BatchGetProjectsCommandError = async (output, contex
|
|
|
594
584
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
595
585
|
default:
|
|
596
586
|
const parsedBody = parsedOutput.body;
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
$metadata,
|
|
587
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
588
|
+
output,
|
|
589
|
+
parsedBody,
|
|
590
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
591
|
+
errorCode,
|
|
603
592
|
});
|
|
604
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
605
593
|
}
|
|
606
594
|
};
|
|
607
595
|
const deserializeAws_json1_1BatchGetReportGroupsCommand = async (output, context) => {
|
|
@@ -623,7 +611,6 @@ const deserializeAws_json1_1BatchGetReportGroupsCommandError = async (output, co
|
|
|
623
611
|
...output,
|
|
624
612
|
body: await parseBody(output.body, context),
|
|
625
613
|
};
|
|
626
|
-
let response;
|
|
627
614
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
628
615
|
switch (errorCode) {
|
|
629
616
|
case "InvalidInputException":
|
|
@@ -631,14 +618,12 @@ const deserializeAws_json1_1BatchGetReportGroupsCommandError = async (output, co
|
|
|
631
618
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
632
619
|
default:
|
|
633
620
|
const parsedBody = parsedOutput.body;
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
$metadata,
|
|
621
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
622
|
+
output,
|
|
623
|
+
parsedBody,
|
|
624
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
625
|
+
errorCode,
|
|
640
626
|
});
|
|
641
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
642
627
|
}
|
|
643
628
|
};
|
|
644
629
|
const deserializeAws_json1_1BatchGetReportsCommand = async (output, context) => {
|
|
@@ -660,7 +645,6 @@ const deserializeAws_json1_1BatchGetReportsCommandError = async (output, context
|
|
|
660
645
|
...output,
|
|
661
646
|
body: await parseBody(output.body, context),
|
|
662
647
|
};
|
|
663
|
-
let response;
|
|
664
648
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
665
649
|
switch (errorCode) {
|
|
666
650
|
case "InvalidInputException":
|
|
@@ -668,14 +652,12 @@ const deserializeAws_json1_1BatchGetReportsCommandError = async (output, context
|
|
|
668
652
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
669
653
|
default:
|
|
670
654
|
const parsedBody = parsedOutput.body;
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
$metadata,
|
|
655
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
656
|
+
output,
|
|
657
|
+
parsedBody,
|
|
658
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
659
|
+
errorCode,
|
|
677
660
|
});
|
|
678
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
679
661
|
}
|
|
680
662
|
};
|
|
681
663
|
const deserializeAws_json1_1CreateProjectCommand = async (output, context) => {
|
|
@@ -697,7 +679,6 @@ const deserializeAws_json1_1CreateProjectCommandError = async (output, context)
|
|
|
697
679
|
...output,
|
|
698
680
|
body: await parseBody(output.body, context),
|
|
699
681
|
};
|
|
700
|
-
let response;
|
|
701
682
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
702
683
|
switch (errorCode) {
|
|
703
684
|
case "AccountLimitExceededException":
|
|
@@ -711,14 +692,12 @@ const deserializeAws_json1_1CreateProjectCommandError = async (output, context)
|
|
|
711
692
|
throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
712
693
|
default:
|
|
713
694
|
const parsedBody = parsedOutput.body;
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
$metadata,
|
|
695
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
696
|
+
output,
|
|
697
|
+
parsedBody,
|
|
698
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
699
|
+
errorCode,
|
|
720
700
|
});
|
|
721
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
722
701
|
}
|
|
723
702
|
};
|
|
724
703
|
const deserializeAws_json1_1CreateReportGroupCommand = async (output, context) => {
|
|
@@ -740,7 +719,6 @@ const deserializeAws_json1_1CreateReportGroupCommandError = async (output, conte
|
|
|
740
719
|
...output,
|
|
741
720
|
body: await parseBody(output.body, context),
|
|
742
721
|
};
|
|
743
|
-
let response;
|
|
744
722
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
745
723
|
switch (errorCode) {
|
|
746
724
|
case "AccountLimitExceededException":
|
|
@@ -754,14 +732,12 @@ const deserializeAws_json1_1CreateReportGroupCommandError = async (output, conte
|
|
|
754
732
|
throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
755
733
|
default:
|
|
756
734
|
const parsedBody = parsedOutput.body;
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
$metadata,
|
|
735
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
736
|
+
output,
|
|
737
|
+
parsedBody,
|
|
738
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
739
|
+
errorCode,
|
|
763
740
|
});
|
|
764
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
765
741
|
}
|
|
766
742
|
};
|
|
767
743
|
const deserializeAws_json1_1CreateWebhookCommand = async (output, context) => {
|
|
@@ -783,7 +759,6 @@ const deserializeAws_json1_1CreateWebhookCommandError = async (output, context)
|
|
|
783
759
|
...output,
|
|
784
760
|
body: await parseBody(output.body, context),
|
|
785
761
|
};
|
|
786
|
-
let response;
|
|
787
762
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
788
763
|
switch (errorCode) {
|
|
789
764
|
case "InvalidInputException":
|
|
@@ -800,14 +775,12 @@ const deserializeAws_json1_1CreateWebhookCommandError = async (output, context)
|
|
|
800
775
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
801
776
|
default:
|
|
802
777
|
const parsedBody = parsedOutput.body;
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
$metadata,
|
|
778
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
779
|
+
output,
|
|
780
|
+
parsedBody,
|
|
781
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
782
|
+
errorCode,
|
|
809
783
|
});
|
|
810
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
811
784
|
}
|
|
812
785
|
};
|
|
813
786
|
const deserializeAws_json1_1DeleteBuildBatchCommand = async (output, context) => {
|
|
@@ -829,7 +802,6 @@ const deserializeAws_json1_1DeleteBuildBatchCommandError = async (output, contex
|
|
|
829
802
|
...output,
|
|
830
803
|
body: await parseBody(output.body, context),
|
|
831
804
|
};
|
|
832
|
-
let response;
|
|
833
805
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
834
806
|
switch (errorCode) {
|
|
835
807
|
case "InvalidInputException":
|
|
@@ -837,14 +809,12 @@ const deserializeAws_json1_1DeleteBuildBatchCommandError = async (output, contex
|
|
|
837
809
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
838
810
|
default:
|
|
839
811
|
const parsedBody = parsedOutput.body;
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
$metadata,
|
|
812
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
813
|
+
output,
|
|
814
|
+
parsedBody,
|
|
815
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
816
|
+
errorCode,
|
|
846
817
|
});
|
|
847
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
848
818
|
}
|
|
849
819
|
};
|
|
850
820
|
const deserializeAws_json1_1DeleteProjectCommand = async (output, context) => {
|
|
@@ -866,7 +836,6 @@ const deserializeAws_json1_1DeleteProjectCommandError = async (output, context)
|
|
|
866
836
|
...output,
|
|
867
837
|
body: await parseBody(output.body, context),
|
|
868
838
|
};
|
|
869
|
-
let response;
|
|
870
839
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
871
840
|
switch (errorCode) {
|
|
872
841
|
case "InvalidInputException":
|
|
@@ -874,14 +843,12 @@ const deserializeAws_json1_1DeleteProjectCommandError = async (output, context)
|
|
|
874
843
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
875
844
|
default:
|
|
876
845
|
const parsedBody = parsedOutput.body;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
$metadata,
|
|
846
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
847
|
+
output,
|
|
848
|
+
parsedBody,
|
|
849
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
850
|
+
errorCode,
|
|
883
851
|
});
|
|
884
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
885
852
|
}
|
|
886
853
|
};
|
|
887
854
|
const deserializeAws_json1_1DeleteReportCommand = async (output, context) => {
|
|
@@ -903,7 +870,6 @@ const deserializeAws_json1_1DeleteReportCommandError = async (output, context) =
|
|
|
903
870
|
...output,
|
|
904
871
|
body: await parseBody(output.body, context),
|
|
905
872
|
};
|
|
906
|
-
let response;
|
|
907
873
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
908
874
|
switch (errorCode) {
|
|
909
875
|
case "InvalidInputException":
|
|
@@ -911,14 +877,12 @@ const deserializeAws_json1_1DeleteReportCommandError = async (output, context) =
|
|
|
911
877
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
912
878
|
default:
|
|
913
879
|
const parsedBody = parsedOutput.body;
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
$metadata,
|
|
880
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
881
|
+
output,
|
|
882
|
+
parsedBody,
|
|
883
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
884
|
+
errorCode,
|
|
920
885
|
});
|
|
921
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
922
886
|
}
|
|
923
887
|
};
|
|
924
888
|
const deserializeAws_json1_1DeleteReportGroupCommand = async (output, context) => {
|
|
@@ -940,7 +904,6 @@ const deserializeAws_json1_1DeleteReportGroupCommandError = async (output, conte
|
|
|
940
904
|
...output,
|
|
941
905
|
body: await parseBody(output.body, context),
|
|
942
906
|
};
|
|
943
|
-
let response;
|
|
944
907
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
945
908
|
switch (errorCode) {
|
|
946
909
|
case "InvalidInputException":
|
|
@@ -948,14 +911,12 @@ const deserializeAws_json1_1DeleteReportGroupCommandError = async (output, conte
|
|
|
948
911
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
949
912
|
default:
|
|
950
913
|
const parsedBody = parsedOutput.body;
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
$metadata,
|
|
914
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
915
|
+
output,
|
|
916
|
+
parsedBody,
|
|
917
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
918
|
+
errorCode,
|
|
957
919
|
});
|
|
958
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
959
920
|
}
|
|
960
921
|
};
|
|
961
922
|
const deserializeAws_json1_1DeleteResourcePolicyCommand = async (output, context) => {
|
|
@@ -977,7 +938,6 @@ const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, co
|
|
|
977
938
|
...output,
|
|
978
939
|
body: await parseBody(output.body, context),
|
|
979
940
|
};
|
|
980
|
-
let response;
|
|
981
941
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
982
942
|
switch (errorCode) {
|
|
983
943
|
case "InvalidInputException":
|
|
@@ -985,14 +945,12 @@ const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, co
|
|
|
985
945
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
986
946
|
default:
|
|
987
947
|
const parsedBody = parsedOutput.body;
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
$metadata,
|
|
948
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
949
|
+
output,
|
|
950
|
+
parsedBody,
|
|
951
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
952
|
+
errorCode,
|
|
994
953
|
});
|
|
995
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
996
954
|
}
|
|
997
955
|
};
|
|
998
956
|
const deserializeAws_json1_1DeleteSourceCredentialsCommand = async (output, context) => {
|
|
@@ -1014,7 +972,6 @@ const deserializeAws_json1_1DeleteSourceCredentialsCommandError = async (output,
|
|
|
1014
972
|
...output,
|
|
1015
973
|
body: await parseBody(output.body, context),
|
|
1016
974
|
};
|
|
1017
|
-
let response;
|
|
1018
975
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1019
976
|
switch (errorCode) {
|
|
1020
977
|
case "InvalidInputException":
|
|
@@ -1025,14 +982,12 @@ const deserializeAws_json1_1DeleteSourceCredentialsCommandError = async (output,
|
|
|
1025
982
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1026
983
|
default:
|
|
1027
984
|
const parsedBody = parsedOutput.body;
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
$metadata,
|
|
985
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
986
|
+
output,
|
|
987
|
+
parsedBody,
|
|
988
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
989
|
+
errorCode,
|
|
1034
990
|
});
|
|
1035
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1036
991
|
}
|
|
1037
992
|
};
|
|
1038
993
|
const deserializeAws_json1_1DeleteWebhookCommand = async (output, context) => {
|
|
@@ -1054,7 +1009,6 @@ const deserializeAws_json1_1DeleteWebhookCommandError = async (output, context)
|
|
|
1054
1009
|
...output,
|
|
1055
1010
|
body: await parseBody(output.body, context),
|
|
1056
1011
|
};
|
|
1057
|
-
let response;
|
|
1058
1012
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1059
1013
|
switch (errorCode) {
|
|
1060
1014
|
case "InvalidInputException":
|
|
@@ -1068,14 +1022,12 @@ const deserializeAws_json1_1DeleteWebhookCommandError = async (output, context)
|
|
|
1068
1022
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1069
1023
|
default:
|
|
1070
1024
|
const parsedBody = parsedOutput.body;
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
$metadata,
|
|
1025
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1026
|
+
output,
|
|
1027
|
+
parsedBody,
|
|
1028
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1029
|
+
errorCode,
|
|
1077
1030
|
});
|
|
1078
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1079
1031
|
}
|
|
1080
1032
|
};
|
|
1081
1033
|
const deserializeAws_json1_1DescribeCodeCoveragesCommand = async (output, context) => {
|
|
@@ -1097,7 +1049,6 @@ const deserializeAws_json1_1DescribeCodeCoveragesCommandError = async (output, c
|
|
|
1097
1049
|
...output,
|
|
1098
1050
|
body: await parseBody(output.body, context),
|
|
1099
1051
|
};
|
|
1100
|
-
let response;
|
|
1101
1052
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1102
1053
|
switch (errorCode) {
|
|
1103
1054
|
case "InvalidInputException":
|
|
@@ -1105,14 +1056,12 @@ const deserializeAws_json1_1DescribeCodeCoveragesCommandError = async (output, c
|
|
|
1105
1056
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1106
1057
|
default:
|
|
1107
1058
|
const parsedBody = parsedOutput.body;
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
$metadata,
|
|
1059
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1060
|
+
output,
|
|
1061
|
+
parsedBody,
|
|
1062
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1063
|
+
errorCode,
|
|
1114
1064
|
});
|
|
1115
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1116
1065
|
}
|
|
1117
1066
|
};
|
|
1118
1067
|
const deserializeAws_json1_1DescribeTestCasesCommand = async (output, context) => {
|
|
@@ -1134,7 +1083,6 @@ const deserializeAws_json1_1DescribeTestCasesCommandError = async (output, conte
|
|
|
1134
1083
|
...output,
|
|
1135
1084
|
body: await parseBody(output.body, context),
|
|
1136
1085
|
};
|
|
1137
|
-
let response;
|
|
1138
1086
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1139
1087
|
switch (errorCode) {
|
|
1140
1088
|
case "InvalidInputException":
|
|
@@ -1145,14 +1093,12 @@ const deserializeAws_json1_1DescribeTestCasesCommandError = async (output, conte
|
|
|
1145
1093
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1146
1094
|
default:
|
|
1147
1095
|
const parsedBody = parsedOutput.body;
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
$metadata,
|
|
1096
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1097
|
+
output,
|
|
1098
|
+
parsedBody,
|
|
1099
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1100
|
+
errorCode,
|
|
1154
1101
|
});
|
|
1155
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1156
1102
|
}
|
|
1157
1103
|
};
|
|
1158
1104
|
const deserializeAws_json1_1GetReportGroupTrendCommand = async (output, context) => {
|
|
@@ -1174,7 +1120,6 @@ const deserializeAws_json1_1GetReportGroupTrendCommandError = async (output, con
|
|
|
1174
1120
|
...output,
|
|
1175
1121
|
body: await parseBody(output.body, context),
|
|
1176
1122
|
};
|
|
1177
|
-
let response;
|
|
1178
1123
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1179
1124
|
switch (errorCode) {
|
|
1180
1125
|
case "InvalidInputException":
|
|
@@ -1185,14 +1130,12 @@ const deserializeAws_json1_1GetReportGroupTrendCommandError = async (output, con
|
|
|
1185
1130
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1186
1131
|
default:
|
|
1187
1132
|
const parsedBody = parsedOutput.body;
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
$metadata,
|
|
1133
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1134
|
+
output,
|
|
1135
|
+
parsedBody,
|
|
1136
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1137
|
+
errorCode,
|
|
1194
1138
|
});
|
|
1195
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1196
1139
|
}
|
|
1197
1140
|
};
|
|
1198
1141
|
const deserializeAws_json1_1GetResourcePolicyCommand = async (output, context) => {
|
|
@@ -1214,7 +1157,6 @@ const deserializeAws_json1_1GetResourcePolicyCommandError = async (output, conte
|
|
|
1214
1157
|
...output,
|
|
1215
1158
|
body: await parseBody(output.body, context),
|
|
1216
1159
|
};
|
|
1217
|
-
let response;
|
|
1218
1160
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1219
1161
|
switch (errorCode) {
|
|
1220
1162
|
case "InvalidInputException":
|
|
@@ -1225,14 +1167,12 @@ const deserializeAws_json1_1GetResourcePolicyCommandError = async (output, conte
|
|
|
1225
1167
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1226
1168
|
default:
|
|
1227
1169
|
const parsedBody = parsedOutput.body;
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
$metadata,
|
|
1170
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1171
|
+
output,
|
|
1172
|
+
parsedBody,
|
|
1173
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1174
|
+
errorCode,
|
|
1234
1175
|
});
|
|
1235
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1236
1176
|
}
|
|
1237
1177
|
};
|
|
1238
1178
|
const deserializeAws_json1_1ImportSourceCredentialsCommand = async (output, context) => {
|
|
@@ -1254,7 +1194,6 @@ const deserializeAws_json1_1ImportSourceCredentialsCommandError = async (output,
|
|
|
1254
1194
|
...output,
|
|
1255
1195
|
body: await parseBody(output.body, context),
|
|
1256
1196
|
};
|
|
1257
|
-
let response;
|
|
1258
1197
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1259
1198
|
switch (errorCode) {
|
|
1260
1199
|
case "AccountLimitExceededException":
|
|
@@ -1268,14 +1207,12 @@ const deserializeAws_json1_1ImportSourceCredentialsCommandError = async (output,
|
|
|
1268
1207
|
throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1269
1208
|
default:
|
|
1270
1209
|
const parsedBody = parsedOutput.body;
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
$metadata,
|
|
1210
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1211
|
+
output,
|
|
1212
|
+
parsedBody,
|
|
1213
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1214
|
+
errorCode,
|
|
1277
1215
|
});
|
|
1278
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1279
1216
|
}
|
|
1280
1217
|
};
|
|
1281
1218
|
const deserializeAws_json1_1InvalidateProjectCacheCommand = async (output, context) => {
|
|
@@ -1297,7 +1234,6 @@ const deserializeAws_json1_1InvalidateProjectCacheCommandError = async (output,
|
|
|
1297
1234
|
...output,
|
|
1298
1235
|
body: await parseBody(output.body, context),
|
|
1299
1236
|
};
|
|
1300
|
-
let response;
|
|
1301
1237
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1302
1238
|
switch (errorCode) {
|
|
1303
1239
|
case "InvalidInputException":
|
|
@@ -1308,14 +1244,12 @@ const deserializeAws_json1_1InvalidateProjectCacheCommandError = async (output,
|
|
|
1308
1244
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1309
1245
|
default:
|
|
1310
1246
|
const parsedBody = parsedOutput.body;
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
$metadata,
|
|
1247
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1248
|
+
output,
|
|
1249
|
+
parsedBody,
|
|
1250
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1251
|
+
errorCode,
|
|
1317
1252
|
});
|
|
1318
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1319
1253
|
}
|
|
1320
1254
|
};
|
|
1321
1255
|
const deserializeAws_json1_1ListBuildBatchesCommand = async (output, context) => {
|
|
@@ -1337,7 +1271,6 @@ const deserializeAws_json1_1ListBuildBatchesCommandError = async (output, contex
|
|
|
1337
1271
|
...output,
|
|
1338
1272
|
body: await parseBody(output.body, context),
|
|
1339
1273
|
};
|
|
1340
|
-
let response;
|
|
1341
1274
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1342
1275
|
switch (errorCode) {
|
|
1343
1276
|
case "InvalidInputException":
|
|
@@ -1345,14 +1278,12 @@ const deserializeAws_json1_1ListBuildBatchesCommandError = async (output, contex
|
|
|
1345
1278
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1346
1279
|
default:
|
|
1347
1280
|
const parsedBody = parsedOutput.body;
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
$metadata,
|
|
1281
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1282
|
+
output,
|
|
1283
|
+
parsedBody,
|
|
1284
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1285
|
+
errorCode,
|
|
1354
1286
|
});
|
|
1355
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1356
1287
|
}
|
|
1357
1288
|
};
|
|
1358
1289
|
const deserializeAws_json1_1ListBuildBatchesForProjectCommand = async (output, context) => {
|
|
@@ -1374,7 +1305,6 @@ const deserializeAws_json1_1ListBuildBatchesForProjectCommandError = async (outp
|
|
|
1374
1305
|
...output,
|
|
1375
1306
|
body: await parseBody(output.body, context),
|
|
1376
1307
|
};
|
|
1377
|
-
let response;
|
|
1378
1308
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1379
1309
|
switch (errorCode) {
|
|
1380
1310
|
case "InvalidInputException":
|
|
@@ -1385,14 +1315,12 @@ const deserializeAws_json1_1ListBuildBatchesForProjectCommandError = async (outp
|
|
|
1385
1315
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1386
1316
|
default:
|
|
1387
1317
|
const parsedBody = parsedOutput.body;
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
$metadata,
|
|
1318
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1319
|
+
output,
|
|
1320
|
+
parsedBody,
|
|
1321
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1322
|
+
errorCode,
|
|
1394
1323
|
});
|
|
1395
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1396
1324
|
}
|
|
1397
1325
|
};
|
|
1398
1326
|
const deserializeAws_json1_1ListBuildsCommand = async (output, context) => {
|
|
@@ -1414,7 +1342,6 @@ const deserializeAws_json1_1ListBuildsCommandError = async (output, context) =>
|
|
|
1414
1342
|
...output,
|
|
1415
1343
|
body: await parseBody(output.body, context),
|
|
1416
1344
|
};
|
|
1417
|
-
let response;
|
|
1418
1345
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1419
1346
|
switch (errorCode) {
|
|
1420
1347
|
case "InvalidInputException":
|
|
@@ -1422,14 +1349,12 @@ const deserializeAws_json1_1ListBuildsCommandError = async (output, context) =>
|
|
|
1422
1349
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1423
1350
|
default:
|
|
1424
1351
|
const parsedBody = parsedOutput.body;
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
$metadata,
|
|
1352
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1353
|
+
output,
|
|
1354
|
+
parsedBody,
|
|
1355
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1356
|
+
errorCode,
|
|
1431
1357
|
});
|
|
1432
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1433
1358
|
}
|
|
1434
1359
|
};
|
|
1435
1360
|
const deserializeAws_json1_1ListBuildsForProjectCommand = async (output, context) => {
|
|
@@ -1451,7 +1376,6 @@ const deserializeAws_json1_1ListBuildsForProjectCommandError = async (output, co
|
|
|
1451
1376
|
...output,
|
|
1452
1377
|
body: await parseBody(output.body, context),
|
|
1453
1378
|
};
|
|
1454
|
-
let response;
|
|
1455
1379
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1456
1380
|
switch (errorCode) {
|
|
1457
1381
|
case "InvalidInputException":
|
|
@@ -1462,14 +1386,12 @@ const deserializeAws_json1_1ListBuildsForProjectCommandError = async (output, co
|
|
|
1462
1386
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1463
1387
|
default:
|
|
1464
1388
|
const parsedBody = parsedOutput.body;
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
$metadata,
|
|
1389
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1390
|
+
output,
|
|
1391
|
+
parsedBody,
|
|
1392
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1393
|
+
errorCode,
|
|
1471
1394
|
});
|
|
1472
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1473
1395
|
}
|
|
1474
1396
|
};
|
|
1475
1397
|
const deserializeAws_json1_1ListCuratedEnvironmentImagesCommand = async (output, context) => {
|
|
@@ -1491,20 +1413,14 @@ const deserializeAws_json1_1ListCuratedEnvironmentImagesCommandError = async (ou
|
|
|
1491
1413
|
...output,
|
|
1492
1414
|
body: await parseBody(output.body, context),
|
|
1493
1415
|
};
|
|
1494
|
-
let response;
|
|
1495
1416
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
$fault: "client",
|
|
1504
|
-
$metadata,
|
|
1505
|
-
});
|
|
1506
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1507
|
-
}
|
|
1417
|
+
const parsedBody = parsedOutput.body;
|
|
1418
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1419
|
+
output,
|
|
1420
|
+
parsedBody,
|
|
1421
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1422
|
+
errorCode,
|
|
1423
|
+
});
|
|
1508
1424
|
};
|
|
1509
1425
|
const deserializeAws_json1_1ListProjectsCommand = async (output, context) => {
|
|
1510
1426
|
if (output.statusCode >= 300) {
|
|
@@ -1525,7 +1441,6 @@ const deserializeAws_json1_1ListProjectsCommandError = async (output, context) =
|
|
|
1525
1441
|
...output,
|
|
1526
1442
|
body: await parseBody(output.body, context),
|
|
1527
1443
|
};
|
|
1528
|
-
let response;
|
|
1529
1444
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1530
1445
|
switch (errorCode) {
|
|
1531
1446
|
case "InvalidInputException":
|
|
@@ -1533,14 +1448,12 @@ const deserializeAws_json1_1ListProjectsCommandError = async (output, context) =
|
|
|
1533
1448
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1534
1449
|
default:
|
|
1535
1450
|
const parsedBody = parsedOutput.body;
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
$metadata,
|
|
1451
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1452
|
+
output,
|
|
1453
|
+
parsedBody,
|
|
1454
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1455
|
+
errorCode,
|
|
1542
1456
|
});
|
|
1543
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1544
1457
|
}
|
|
1545
1458
|
};
|
|
1546
1459
|
const deserializeAws_json1_1ListReportGroupsCommand = async (output, context) => {
|
|
@@ -1562,7 +1475,6 @@ const deserializeAws_json1_1ListReportGroupsCommandError = async (output, contex
|
|
|
1562
1475
|
...output,
|
|
1563
1476
|
body: await parseBody(output.body, context),
|
|
1564
1477
|
};
|
|
1565
|
-
let response;
|
|
1566
1478
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1567
1479
|
switch (errorCode) {
|
|
1568
1480
|
case "InvalidInputException":
|
|
@@ -1570,14 +1482,12 @@ const deserializeAws_json1_1ListReportGroupsCommandError = async (output, contex
|
|
|
1570
1482
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1571
1483
|
default:
|
|
1572
1484
|
const parsedBody = parsedOutput.body;
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
$metadata,
|
|
1485
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1486
|
+
output,
|
|
1487
|
+
parsedBody,
|
|
1488
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1489
|
+
errorCode,
|
|
1579
1490
|
});
|
|
1580
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1581
1491
|
}
|
|
1582
1492
|
};
|
|
1583
1493
|
const deserializeAws_json1_1ListReportsCommand = async (output, context) => {
|
|
@@ -1599,7 +1509,6 @@ const deserializeAws_json1_1ListReportsCommandError = async (output, context) =>
|
|
|
1599
1509
|
...output,
|
|
1600
1510
|
body: await parseBody(output.body, context),
|
|
1601
1511
|
};
|
|
1602
|
-
let response;
|
|
1603
1512
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1604
1513
|
switch (errorCode) {
|
|
1605
1514
|
case "InvalidInputException":
|
|
@@ -1607,14 +1516,12 @@ const deserializeAws_json1_1ListReportsCommandError = async (output, context) =>
|
|
|
1607
1516
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1608
1517
|
default:
|
|
1609
1518
|
const parsedBody = parsedOutput.body;
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
$metadata,
|
|
1519
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1520
|
+
output,
|
|
1521
|
+
parsedBody,
|
|
1522
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1523
|
+
errorCode,
|
|
1616
1524
|
});
|
|
1617
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1618
1525
|
}
|
|
1619
1526
|
};
|
|
1620
1527
|
const deserializeAws_json1_1ListReportsForReportGroupCommand = async (output, context) => {
|
|
@@ -1636,7 +1543,6 @@ const deserializeAws_json1_1ListReportsForReportGroupCommandError = async (outpu
|
|
|
1636
1543
|
...output,
|
|
1637
1544
|
body: await parseBody(output.body, context),
|
|
1638
1545
|
};
|
|
1639
|
-
let response;
|
|
1640
1546
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1641
1547
|
switch (errorCode) {
|
|
1642
1548
|
case "InvalidInputException":
|
|
@@ -1647,14 +1553,12 @@ const deserializeAws_json1_1ListReportsForReportGroupCommandError = async (outpu
|
|
|
1647
1553
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1648
1554
|
default:
|
|
1649
1555
|
const parsedBody = parsedOutput.body;
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
$metadata,
|
|
1556
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1557
|
+
output,
|
|
1558
|
+
parsedBody,
|
|
1559
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1560
|
+
errorCode,
|
|
1656
1561
|
});
|
|
1657
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1658
1562
|
}
|
|
1659
1563
|
};
|
|
1660
1564
|
const deserializeAws_json1_1ListSharedProjectsCommand = async (output, context) => {
|
|
@@ -1676,7 +1580,6 @@ const deserializeAws_json1_1ListSharedProjectsCommandError = async (output, cont
|
|
|
1676
1580
|
...output,
|
|
1677
1581
|
body: await parseBody(output.body, context),
|
|
1678
1582
|
};
|
|
1679
|
-
let response;
|
|
1680
1583
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1681
1584
|
switch (errorCode) {
|
|
1682
1585
|
case "InvalidInputException":
|
|
@@ -1684,14 +1587,12 @@ const deserializeAws_json1_1ListSharedProjectsCommandError = async (output, cont
|
|
|
1684
1587
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1685
1588
|
default:
|
|
1686
1589
|
const parsedBody = parsedOutput.body;
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
$metadata,
|
|
1590
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1591
|
+
output,
|
|
1592
|
+
parsedBody,
|
|
1593
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1594
|
+
errorCode,
|
|
1693
1595
|
});
|
|
1694
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1695
1596
|
}
|
|
1696
1597
|
};
|
|
1697
1598
|
const deserializeAws_json1_1ListSharedReportGroupsCommand = async (output, context) => {
|
|
@@ -1713,7 +1614,6 @@ const deserializeAws_json1_1ListSharedReportGroupsCommandError = async (output,
|
|
|
1713
1614
|
...output,
|
|
1714
1615
|
body: await parseBody(output.body, context),
|
|
1715
1616
|
};
|
|
1716
|
-
let response;
|
|
1717
1617
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1718
1618
|
switch (errorCode) {
|
|
1719
1619
|
case "InvalidInputException":
|
|
@@ -1721,14 +1621,12 @@ const deserializeAws_json1_1ListSharedReportGroupsCommandError = async (output,
|
|
|
1721
1621
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1722
1622
|
default:
|
|
1723
1623
|
const parsedBody = parsedOutput.body;
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
$metadata,
|
|
1624
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1625
|
+
output,
|
|
1626
|
+
parsedBody,
|
|
1627
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1628
|
+
errorCode,
|
|
1730
1629
|
});
|
|
1731
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1732
1630
|
}
|
|
1733
1631
|
};
|
|
1734
1632
|
const deserializeAws_json1_1ListSourceCredentialsCommand = async (output, context) => {
|
|
@@ -1750,7 +1648,6 @@ const deserializeAws_json1_1ListSourceCredentialsCommandError = async (output, c
|
|
|
1750
1648
|
...output,
|
|
1751
1649
|
body: await parseBody(output.body, context),
|
|
1752
1650
|
};
|
|
1753
|
-
let response;
|
|
1754
1651
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1755
1652
|
switch (errorCode) {
|
|
1756
1653
|
case "InvalidInputException":
|
|
@@ -1758,14 +1655,12 @@ const deserializeAws_json1_1ListSourceCredentialsCommandError = async (output, c
|
|
|
1758
1655
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1759
1656
|
default:
|
|
1760
1657
|
const parsedBody = parsedOutput.body;
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
$metadata,
|
|
1658
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1659
|
+
output,
|
|
1660
|
+
parsedBody,
|
|
1661
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1662
|
+
errorCode,
|
|
1767
1663
|
});
|
|
1768
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1769
1664
|
}
|
|
1770
1665
|
};
|
|
1771
1666
|
const deserializeAws_json1_1PutResourcePolicyCommand = async (output, context) => {
|
|
@@ -1787,7 +1682,6 @@ const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, conte
|
|
|
1787
1682
|
...output,
|
|
1788
1683
|
body: await parseBody(output.body, context),
|
|
1789
1684
|
};
|
|
1790
|
-
let response;
|
|
1791
1685
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1792
1686
|
switch (errorCode) {
|
|
1793
1687
|
case "InvalidInputException":
|
|
@@ -1798,14 +1692,12 @@ const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, conte
|
|
|
1798
1692
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1799
1693
|
default:
|
|
1800
1694
|
const parsedBody = parsedOutput.body;
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
$metadata,
|
|
1695
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1696
|
+
output,
|
|
1697
|
+
parsedBody,
|
|
1698
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1699
|
+
errorCode,
|
|
1807
1700
|
});
|
|
1808
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1809
1701
|
}
|
|
1810
1702
|
};
|
|
1811
1703
|
const deserializeAws_json1_1RetryBuildCommand = async (output, context) => {
|
|
@@ -1827,7 +1719,6 @@ const deserializeAws_json1_1RetryBuildCommandError = async (output, context) =>
|
|
|
1827
1719
|
...output,
|
|
1828
1720
|
body: await parseBody(output.body, context),
|
|
1829
1721
|
};
|
|
1830
|
-
let response;
|
|
1831
1722
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1832
1723
|
switch (errorCode) {
|
|
1833
1724
|
case "AccountLimitExceededException":
|
|
@@ -1841,14 +1732,12 @@ const deserializeAws_json1_1RetryBuildCommandError = async (output, context) =>
|
|
|
1841
1732
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1842
1733
|
default:
|
|
1843
1734
|
const parsedBody = parsedOutput.body;
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
$metadata,
|
|
1735
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1736
|
+
output,
|
|
1737
|
+
parsedBody,
|
|
1738
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1739
|
+
errorCode,
|
|
1850
1740
|
});
|
|
1851
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1852
1741
|
}
|
|
1853
1742
|
};
|
|
1854
1743
|
const deserializeAws_json1_1RetryBuildBatchCommand = async (output, context) => {
|
|
@@ -1870,7 +1759,6 @@ const deserializeAws_json1_1RetryBuildBatchCommandError = async (output, context
|
|
|
1870
1759
|
...output,
|
|
1871
1760
|
body: await parseBody(output.body, context),
|
|
1872
1761
|
};
|
|
1873
|
-
let response;
|
|
1874
1762
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1875
1763
|
switch (errorCode) {
|
|
1876
1764
|
case "InvalidInputException":
|
|
@@ -1881,14 +1769,12 @@ const deserializeAws_json1_1RetryBuildBatchCommandError = async (output, context
|
|
|
1881
1769
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1882
1770
|
default:
|
|
1883
1771
|
const parsedBody = parsedOutput.body;
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
$metadata,
|
|
1772
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1773
|
+
output,
|
|
1774
|
+
parsedBody,
|
|
1775
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1776
|
+
errorCode,
|
|
1890
1777
|
});
|
|
1891
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1892
1778
|
}
|
|
1893
1779
|
};
|
|
1894
1780
|
const deserializeAws_json1_1StartBuildCommand = async (output, context) => {
|
|
@@ -1910,7 +1796,6 @@ const deserializeAws_json1_1StartBuildCommandError = async (output, context) =>
|
|
|
1910
1796
|
...output,
|
|
1911
1797
|
body: await parseBody(output.body, context),
|
|
1912
1798
|
};
|
|
1913
|
-
let response;
|
|
1914
1799
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1915
1800
|
switch (errorCode) {
|
|
1916
1801
|
case "AccountLimitExceededException":
|
|
@@ -1924,14 +1809,12 @@ const deserializeAws_json1_1StartBuildCommandError = async (output, context) =>
|
|
|
1924
1809
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1925
1810
|
default:
|
|
1926
1811
|
const parsedBody = parsedOutput.body;
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
$metadata,
|
|
1812
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1813
|
+
output,
|
|
1814
|
+
parsedBody,
|
|
1815
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1816
|
+
errorCode,
|
|
1933
1817
|
});
|
|
1934
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1935
1818
|
}
|
|
1936
1819
|
};
|
|
1937
1820
|
const deserializeAws_json1_1StartBuildBatchCommand = async (output, context) => {
|
|
@@ -1953,7 +1836,6 @@ const deserializeAws_json1_1StartBuildBatchCommandError = async (output, context
|
|
|
1953
1836
|
...output,
|
|
1954
1837
|
body: await parseBody(output.body, context),
|
|
1955
1838
|
};
|
|
1956
|
-
let response;
|
|
1957
1839
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1958
1840
|
switch (errorCode) {
|
|
1959
1841
|
case "InvalidInputException":
|
|
@@ -1964,14 +1846,12 @@ const deserializeAws_json1_1StartBuildBatchCommandError = async (output, context
|
|
|
1964
1846
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1965
1847
|
default:
|
|
1966
1848
|
const parsedBody = parsedOutput.body;
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
$metadata,
|
|
1849
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1850
|
+
output,
|
|
1851
|
+
parsedBody,
|
|
1852
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1853
|
+
errorCode,
|
|
1973
1854
|
});
|
|
1974
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1975
1855
|
}
|
|
1976
1856
|
};
|
|
1977
1857
|
const deserializeAws_json1_1StopBuildCommand = async (output, context) => {
|
|
@@ -1993,7 +1873,6 @@ const deserializeAws_json1_1StopBuildCommandError = async (output, context) => {
|
|
|
1993
1873
|
...output,
|
|
1994
1874
|
body: await parseBody(output.body, context),
|
|
1995
1875
|
};
|
|
1996
|
-
let response;
|
|
1997
1876
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1998
1877
|
switch (errorCode) {
|
|
1999
1878
|
case "InvalidInputException":
|
|
@@ -2004,14 +1883,12 @@ const deserializeAws_json1_1StopBuildCommandError = async (output, context) => {
|
|
|
2004
1883
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2005
1884
|
default:
|
|
2006
1885
|
const parsedBody = parsedOutput.body;
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
$metadata,
|
|
1886
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1887
|
+
output,
|
|
1888
|
+
parsedBody,
|
|
1889
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1890
|
+
errorCode,
|
|
2013
1891
|
});
|
|
2014
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2015
1892
|
}
|
|
2016
1893
|
};
|
|
2017
1894
|
const deserializeAws_json1_1StopBuildBatchCommand = async (output, context) => {
|
|
@@ -2033,7 +1910,6 @@ const deserializeAws_json1_1StopBuildBatchCommandError = async (output, context)
|
|
|
2033
1910
|
...output,
|
|
2034
1911
|
body: await parseBody(output.body, context),
|
|
2035
1912
|
};
|
|
2036
|
-
let response;
|
|
2037
1913
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2038
1914
|
switch (errorCode) {
|
|
2039
1915
|
case "InvalidInputException":
|
|
@@ -2044,14 +1920,12 @@ const deserializeAws_json1_1StopBuildBatchCommandError = async (output, context)
|
|
|
2044
1920
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2045
1921
|
default:
|
|
2046
1922
|
const parsedBody = parsedOutput.body;
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
$metadata,
|
|
1923
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1924
|
+
output,
|
|
1925
|
+
parsedBody,
|
|
1926
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1927
|
+
errorCode,
|
|
2053
1928
|
});
|
|
2054
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2055
1929
|
}
|
|
2056
1930
|
};
|
|
2057
1931
|
const deserializeAws_json1_1UpdateProjectCommand = async (output, context) => {
|
|
@@ -2073,7 +1947,6 @@ const deserializeAws_json1_1UpdateProjectCommandError = async (output, context)
|
|
|
2073
1947
|
...output,
|
|
2074
1948
|
body: await parseBody(output.body, context),
|
|
2075
1949
|
};
|
|
2076
|
-
let response;
|
|
2077
1950
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2078
1951
|
switch (errorCode) {
|
|
2079
1952
|
case "InvalidInputException":
|
|
@@ -2084,14 +1957,12 @@ const deserializeAws_json1_1UpdateProjectCommandError = async (output, context)
|
|
|
2084
1957
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2085
1958
|
default:
|
|
2086
1959
|
const parsedBody = parsedOutput.body;
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
$metadata,
|
|
1960
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1961
|
+
output,
|
|
1962
|
+
parsedBody,
|
|
1963
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
1964
|
+
errorCode,
|
|
2093
1965
|
});
|
|
2094
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2095
1966
|
}
|
|
2096
1967
|
};
|
|
2097
1968
|
const deserializeAws_json1_1UpdateProjectVisibilityCommand = async (output, context) => {
|
|
@@ -2113,7 +1984,6 @@ const deserializeAws_json1_1UpdateProjectVisibilityCommandError = async (output,
|
|
|
2113
1984
|
...output,
|
|
2114
1985
|
body: await parseBody(output.body, context),
|
|
2115
1986
|
};
|
|
2116
|
-
let response;
|
|
2117
1987
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2118
1988
|
switch (errorCode) {
|
|
2119
1989
|
case "InvalidInputException":
|
|
@@ -2124,14 +1994,12 @@ const deserializeAws_json1_1UpdateProjectVisibilityCommandError = async (output,
|
|
|
2124
1994
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2125
1995
|
default:
|
|
2126
1996
|
const parsedBody = parsedOutput.body;
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
$metadata,
|
|
1997
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1998
|
+
output,
|
|
1999
|
+
parsedBody,
|
|
2000
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
2001
|
+
errorCode,
|
|
2133
2002
|
});
|
|
2134
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2135
2003
|
}
|
|
2136
2004
|
};
|
|
2137
2005
|
const deserializeAws_json1_1UpdateReportGroupCommand = async (output, context) => {
|
|
@@ -2153,7 +2021,6 @@ const deserializeAws_json1_1UpdateReportGroupCommandError = async (output, conte
|
|
|
2153
2021
|
...output,
|
|
2154
2022
|
body: await parseBody(output.body, context),
|
|
2155
2023
|
};
|
|
2156
|
-
let response;
|
|
2157
2024
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2158
2025
|
switch (errorCode) {
|
|
2159
2026
|
case "InvalidInputException":
|
|
@@ -2164,14 +2031,12 @@ const deserializeAws_json1_1UpdateReportGroupCommandError = async (output, conte
|
|
|
2164
2031
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2165
2032
|
default:
|
|
2166
2033
|
const parsedBody = parsedOutput.body;
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
$metadata,
|
|
2034
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2035
|
+
output,
|
|
2036
|
+
parsedBody,
|
|
2037
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
2038
|
+
errorCode,
|
|
2173
2039
|
});
|
|
2174
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2175
2040
|
}
|
|
2176
2041
|
};
|
|
2177
2042
|
const deserializeAws_json1_1UpdateWebhookCommand = async (output, context) => {
|
|
@@ -2193,7 +2058,6 @@ const deserializeAws_json1_1UpdateWebhookCommandError = async (output, context)
|
|
|
2193
2058
|
...output,
|
|
2194
2059
|
body: await parseBody(output.body, context),
|
|
2195
2060
|
};
|
|
2196
|
-
let response;
|
|
2197
2061
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2198
2062
|
switch (errorCode) {
|
|
2199
2063
|
case "InvalidInputException":
|
|
@@ -2207,14 +2071,12 @@ const deserializeAws_json1_1UpdateWebhookCommandError = async (output, context)
|
|
|
2207
2071
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2208
2072
|
default:
|
|
2209
2073
|
const parsedBody = parsedOutput.body;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
$metadata,
|
|
2074
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2075
|
+
output,
|
|
2076
|
+
parsedBody,
|
|
2077
|
+
exceptionCtor: CodeBuildServiceException_1.CodeBuildServiceException,
|
|
2078
|
+
errorCode,
|
|
2216
2079
|
});
|
|
2217
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2218
2080
|
}
|
|
2219
2081
|
};
|
|
2220
2082
|
const deserializeAws_json1_1AccountLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -2311,9 +2173,6 @@ const serializeAws_json1_1BuildBatchIds = (input, context) => {
|
|
|
2311
2173
|
return input
|
|
2312
2174
|
.filter((e) => e != null)
|
|
2313
2175
|
.map((entry) => {
|
|
2314
|
-
if (entry === null) {
|
|
2315
|
-
return null;
|
|
2316
|
-
}
|
|
2317
2176
|
return entry;
|
|
2318
2177
|
});
|
|
2319
2178
|
};
|
|
@@ -2321,9 +2180,6 @@ const serializeAws_json1_1BuildIds = (input, context) => {
|
|
|
2321
2180
|
return input
|
|
2322
2181
|
.filter((e) => e != null)
|
|
2323
2182
|
.map((entry) => {
|
|
2324
|
-
if (entry === null) {
|
|
2325
|
-
return null;
|
|
2326
|
-
}
|
|
2327
2183
|
return entry;
|
|
2328
2184
|
});
|
|
2329
2185
|
};
|
|
@@ -2344,9 +2200,6 @@ const serializeAws_json1_1ComputeTypesAllowed = (input, context) => {
|
|
|
2344
2200
|
return input
|
|
2345
2201
|
.filter((e) => e != null)
|
|
2346
2202
|
.map((entry) => {
|
|
2347
|
-
if (entry === null) {
|
|
2348
|
-
return null;
|
|
2349
|
-
}
|
|
2350
2203
|
return entry;
|
|
2351
2204
|
});
|
|
2352
2205
|
};
|
|
@@ -2475,9 +2328,6 @@ const serializeAws_json1_1EnvironmentVariables = (input, context) => {
|
|
|
2475
2328
|
return input
|
|
2476
2329
|
.filter((e) => e != null)
|
|
2477
2330
|
.map((entry) => {
|
|
2478
|
-
if (entry === null) {
|
|
2479
|
-
return null;
|
|
2480
|
-
}
|
|
2481
2331
|
return serializeAws_json1_1EnvironmentVariable(entry, context);
|
|
2482
2332
|
});
|
|
2483
2333
|
};
|
|
@@ -2485,9 +2335,6 @@ const serializeAws_json1_1FilterGroup = (input, context) => {
|
|
|
2485
2335
|
return input
|
|
2486
2336
|
.filter((e) => e != null)
|
|
2487
2337
|
.map((entry) => {
|
|
2488
|
-
if (entry === null) {
|
|
2489
|
-
return null;
|
|
2490
|
-
}
|
|
2491
2338
|
return serializeAws_json1_1WebhookFilter(entry, context);
|
|
2492
2339
|
});
|
|
2493
2340
|
};
|
|
@@ -2495,9 +2342,6 @@ const serializeAws_json1_1FilterGroups = (input, context) => {
|
|
|
2495
2342
|
return input
|
|
2496
2343
|
.filter((e) => e != null)
|
|
2497
2344
|
.map((entry) => {
|
|
2498
|
-
if (entry === null) {
|
|
2499
|
-
return null;
|
|
2500
|
-
}
|
|
2501
2345
|
return serializeAws_json1_1FilterGroup(entry, context);
|
|
2502
2346
|
});
|
|
2503
2347
|
};
|
|
@@ -2642,9 +2486,6 @@ const serializeAws_json1_1ProjectArtifactsList = (input, context) => {
|
|
|
2642
2486
|
return input
|
|
2643
2487
|
.filter((e) => e != null)
|
|
2644
2488
|
.map((entry) => {
|
|
2645
|
-
if (entry === null) {
|
|
2646
|
-
return null;
|
|
2647
|
-
}
|
|
2648
2489
|
return serializeAws_json1_1ProjectArtifacts(entry, context);
|
|
2649
2490
|
});
|
|
2650
2491
|
};
|
|
@@ -2670,9 +2511,6 @@ const serializeAws_json1_1ProjectCacheModes = (input, context) => {
|
|
|
2670
2511
|
return input
|
|
2671
2512
|
.filter((e) => e != null)
|
|
2672
2513
|
.map((entry) => {
|
|
2673
|
-
if (entry === null) {
|
|
2674
|
-
return null;
|
|
2675
|
-
}
|
|
2676
2514
|
return entry;
|
|
2677
2515
|
});
|
|
2678
2516
|
};
|
|
@@ -2705,9 +2543,6 @@ const serializeAws_json1_1ProjectFileSystemLocations = (input, context) => {
|
|
|
2705
2543
|
return input
|
|
2706
2544
|
.filter((e) => e != null)
|
|
2707
2545
|
.map((entry) => {
|
|
2708
|
-
if (entry === null) {
|
|
2709
|
-
return null;
|
|
2710
|
-
}
|
|
2711
2546
|
return serializeAws_json1_1ProjectFileSystemLocation(entry, context);
|
|
2712
2547
|
});
|
|
2713
2548
|
};
|
|
@@ -2715,9 +2550,6 @@ const serializeAws_json1_1ProjectNames = (input, context) => {
|
|
|
2715
2550
|
return input
|
|
2716
2551
|
.filter((e) => e != null)
|
|
2717
2552
|
.map((entry) => {
|
|
2718
|
-
if (entry === null) {
|
|
2719
|
-
return null;
|
|
2720
|
-
}
|
|
2721
2553
|
return entry;
|
|
2722
2554
|
});
|
|
2723
2555
|
};
|
|
@@ -2725,9 +2557,6 @@ const serializeAws_json1_1ProjectSecondarySourceVersions = (input, context) => {
|
|
|
2725
2557
|
return input
|
|
2726
2558
|
.filter((e) => e != null)
|
|
2727
2559
|
.map((entry) => {
|
|
2728
|
-
if (entry === null) {
|
|
2729
|
-
return null;
|
|
2730
|
-
}
|
|
2731
2560
|
return serializeAws_json1_1ProjectSourceVersion(entry, context);
|
|
2732
2561
|
});
|
|
2733
2562
|
};
|
|
@@ -2753,9 +2582,6 @@ const serializeAws_json1_1ProjectSources = (input, context) => {
|
|
|
2753
2582
|
return input
|
|
2754
2583
|
.filter((e) => e != null)
|
|
2755
2584
|
.map((entry) => {
|
|
2756
|
-
if (entry === null) {
|
|
2757
|
-
return null;
|
|
2758
|
-
}
|
|
2759
2585
|
return serializeAws_json1_1ProjectSource(entry, context);
|
|
2760
2586
|
});
|
|
2761
2587
|
};
|
|
@@ -2781,9 +2607,6 @@ const serializeAws_json1_1ReportArns = (input, context) => {
|
|
|
2781
2607
|
return input
|
|
2782
2608
|
.filter((e) => e != null)
|
|
2783
2609
|
.map((entry) => {
|
|
2784
|
-
if (entry === null) {
|
|
2785
|
-
return null;
|
|
2786
|
-
}
|
|
2787
2610
|
return entry;
|
|
2788
2611
|
});
|
|
2789
2612
|
};
|
|
@@ -2804,9 +2627,6 @@ const serializeAws_json1_1ReportGroupArns = (input, context) => {
|
|
|
2804
2627
|
return input
|
|
2805
2628
|
.filter((e) => e != null)
|
|
2806
2629
|
.map((entry) => {
|
|
2807
|
-
if (entry === null) {
|
|
2808
|
-
return null;
|
|
2809
|
-
}
|
|
2810
2630
|
return entry;
|
|
2811
2631
|
});
|
|
2812
2632
|
};
|
|
@@ -2845,9 +2665,6 @@ const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
|
2845
2665
|
return input
|
|
2846
2666
|
.filter((e) => e != null)
|
|
2847
2667
|
.map((entry) => {
|
|
2848
|
-
if (entry === null) {
|
|
2849
|
-
return null;
|
|
2850
|
-
}
|
|
2851
2668
|
return entry;
|
|
2852
2669
|
});
|
|
2853
2670
|
};
|
|
@@ -2997,9 +2814,6 @@ const serializeAws_json1_1Subnets = (input, context) => {
|
|
|
2997
2814
|
return input
|
|
2998
2815
|
.filter((e) => e != null)
|
|
2999
2816
|
.map((entry) => {
|
|
3000
|
-
if (entry === null) {
|
|
3001
|
-
return null;
|
|
3002
|
-
}
|
|
3003
2817
|
return entry;
|
|
3004
2818
|
});
|
|
3005
2819
|
};
|
|
@@ -3013,9 +2827,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
3013
2827
|
return input
|
|
3014
2828
|
.filter((e) => e != null)
|
|
3015
2829
|
.map((entry) => {
|
|
3016
|
-
if (entry === null) {
|
|
3017
|
-
return null;
|
|
3018
|
-
}
|
|
3019
2830
|
return serializeAws_json1_1Tag(entry, context);
|
|
3020
2831
|
});
|
|
3021
2832
|
};
|