@aws-sdk/client-serverlessapplicationrepository 3.50.0 → 3.53.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/index.js +3 -0
- package/dist-cjs/models/ServerlessApplicationRepositoryServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +92 -1
- package/dist-cjs/protocols/Aws_restJson1.js +178 -615
- package/dist-es/index.js +1 -0
- package/dist-es/models/ServerlessApplicationRepositoryServiceException.js +12 -0
- package/dist-es/models/models_0.js +86 -1
- package/dist-es/protocols/Aws_restJson1.js +349 -678
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ServerlessApplicationRepositoryServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +44 -19
- package/dist-types/ts3.4/ServerlessApplicationRepository.d.ts +75 -0
- package/dist-types/ts3.4/ServerlessApplicationRepositoryClient.d.ts +87 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateApplicationVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ServerlessApplicationRepositoryServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +673 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationDependenciesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, TooManyRequestsException, } from "../models/models_0";
|
|
5
|
+
import { ServerlessApplicationRepositoryServiceException as __BaseException } from "../models/ServerlessApplicationRepositoryServiceException";
|
|
4
6
|
export var serializeAws_restJson1CreateApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
7
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
6
8
|
return __generator(this, function (_c) {
|
|
@@ -567,16 +569,16 @@ export var deserializeAws_restJson1CreateApplicationCommand = function (output,
|
|
|
567
569
|
});
|
|
568
570
|
}); };
|
|
569
571
|
var deserializeAws_restJson1CreateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
570
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
571
|
-
var
|
|
572
|
-
return __generator(this, function (
|
|
573
|
-
switch (
|
|
572
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
573
|
+
var _c;
|
|
574
|
+
return __generator(this, function (_d) {
|
|
575
|
+
switch (_d.label) {
|
|
574
576
|
case 0:
|
|
575
577
|
_a = [__assign({}, output)];
|
|
576
|
-
|
|
578
|
+
_c = {};
|
|
577
579
|
return [4, parseBody(output.body, context)];
|
|
578
580
|
case 1:
|
|
579
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
581
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
580
582
|
errorCode = "UnknownError";
|
|
581
583
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
582
584
|
_b = errorCode;
|
|
@@ -593,46 +595,24 @@ var deserializeAws_restJson1CreateApplicationCommandError = function (output, co
|
|
|
593
595
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
594
596
|
}
|
|
595
597
|
return [3, 12];
|
|
596
|
-
case 2:
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
case
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
case 4
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
case
|
|
606
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
607
|
-
return [3, 13];
|
|
608
|
-
case 6:
|
|
609
|
-
_e = [{}];
|
|
610
|
-
return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
611
|
-
case 7:
|
|
612
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
613
|
-
return [3, 13];
|
|
614
|
-
case 8:
|
|
615
|
-
_f = [{}];
|
|
616
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
617
|
-
case 9:
|
|
618
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
619
|
-
return [3, 13];
|
|
620
|
-
case 10:
|
|
621
|
-
_g = [{}];
|
|
622
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
623
|
-
case 11:
|
|
624
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
625
|
-
return [3, 13];
|
|
598
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
599
|
+
case 3: throw _d.sent();
|
|
600
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
601
|
+
case 5: throw _d.sent();
|
|
602
|
+
case 6: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
603
|
+
case 7: throw _d.sent();
|
|
604
|
+
case 8: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
605
|
+
case 9: throw _d.sent();
|
|
606
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
607
|
+
case 11: throw _d.sent();
|
|
626
608
|
case 12:
|
|
627
609
|
parsedBody = parsedOutput.body;
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
response
|
|
634
|
-
delete response.Message;
|
|
635
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
610
|
+
response = new __BaseException({
|
|
611
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
612
|
+
$fault: "client",
|
|
613
|
+
$metadata: deserializeMetadata(output),
|
|
614
|
+
});
|
|
615
|
+
throw __decorateServiceException(response, parsedBody);
|
|
636
616
|
}
|
|
637
617
|
});
|
|
638
618
|
}); };
|
|
@@ -693,16 +673,16 @@ export var deserializeAws_restJson1CreateApplicationVersionCommand = function (o
|
|
|
693
673
|
});
|
|
694
674
|
}); };
|
|
695
675
|
var deserializeAws_restJson1CreateApplicationVersionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
696
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
697
|
-
var
|
|
698
|
-
return __generator(this, function (
|
|
699
|
-
switch (
|
|
676
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
677
|
+
var _c;
|
|
678
|
+
return __generator(this, function (_d) {
|
|
679
|
+
switch (_d.label) {
|
|
700
680
|
case 0:
|
|
701
681
|
_a = [__assign({}, output)];
|
|
702
|
-
|
|
682
|
+
_c = {};
|
|
703
683
|
return [4, parseBody(output.body, context)];
|
|
704
684
|
case 1:
|
|
705
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
685
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
706
686
|
errorCode = "UnknownError";
|
|
707
687
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
708
688
|
_b = errorCode;
|
|
@@ -719,46 +699,24 @@ var deserializeAws_restJson1CreateApplicationVersionCommandError = function (out
|
|
|
719
699
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
720
700
|
}
|
|
721
701
|
return [3, 12];
|
|
722
|
-
case 2:
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
case
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
case 4
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
case
|
|
732
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
733
|
-
return [3, 13];
|
|
734
|
-
case 6:
|
|
735
|
-
_e = [{}];
|
|
736
|
-
return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
737
|
-
case 7:
|
|
738
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
739
|
-
return [3, 13];
|
|
740
|
-
case 8:
|
|
741
|
-
_f = [{}];
|
|
742
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
743
|
-
case 9:
|
|
744
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
745
|
-
return [3, 13];
|
|
746
|
-
case 10:
|
|
747
|
-
_g = [{}];
|
|
748
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
749
|
-
case 11:
|
|
750
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
751
|
-
return [3, 13];
|
|
702
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
703
|
+
case 3: throw _d.sent();
|
|
704
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
705
|
+
case 5: throw _d.sent();
|
|
706
|
+
case 6: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
707
|
+
case 7: throw _d.sent();
|
|
708
|
+
case 8: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
709
|
+
case 9: throw _d.sent();
|
|
710
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
711
|
+
case 11: throw _d.sent();
|
|
752
712
|
case 12:
|
|
753
713
|
parsedBody = parsedOutput.body;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
response
|
|
760
|
-
delete response.Message;
|
|
761
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
714
|
+
response = new __BaseException({
|
|
715
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
716
|
+
$fault: "client",
|
|
717
|
+
$metadata: deserializeMetadata(output),
|
|
718
|
+
});
|
|
719
|
+
throw __decorateServiceException(response, parsedBody);
|
|
762
720
|
}
|
|
763
721
|
});
|
|
764
722
|
}); };
|
|
@@ -799,16 +757,16 @@ export var deserializeAws_restJson1CreateCloudFormationChangeSetCommand = functi
|
|
|
799
757
|
});
|
|
800
758
|
}); };
|
|
801
759
|
var deserializeAws_restJson1CreateCloudFormationChangeSetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
802
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
803
|
-
var
|
|
804
|
-
return __generator(this, function (
|
|
805
|
-
switch (
|
|
760
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
761
|
+
var _c;
|
|
762
|
+
return __generator(this, function (_d) {
|
|
763
|
+
switch (_d.label) {
|
|
806
764
|
case 0:
|
|
807
765
|
_a = [__assign({}, output)];
|
|
808
|
-
|
|
766
|
+
_c = {};
|
|
809
767
|
return [4, parseBody(output.body, context)];
|
|
810
768
|
case 1:
|
|
811
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
769
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
812
770
|
errorCode = "UnknownError";
|
|
813
771
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
814
772
|
_b = errorCode;
|
|
@@ -823,40 +781,22 @@ var deserializeAws_restJson1CreateCloudFormationChangeSetCommandError = function
|
|
|
823
781
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 8];
|
|
824
782
|
}
|
|
825
783
|
return [3, 10];
|
|
826
|
-
case 2:
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
case
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
case 4
|
|
833
|
-
|
|
834
|
-
return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
835
|
-
case 5:
|
|
836
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
837
|
-
return [3, 11];
|
|
838
|
-
case 6:
|
|
839
|
-
_e = [{}];
|
|
840
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
841
|
-
case 7:
|
|
842
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
843
|
-
return [3, 11];
|
|
844
|
-
case 8:
|
|
845
|
-
_f = [{}];
|
|
846
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
847
|
-
case 9:
|
|
848
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
849
|
-
return [3, 11];
|
|
784
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
785
|
+
case 3: throw _d.sent();
|
|
786
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
787
|
+
case 5: throw _d.sent();
|
|
788
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
789
|
+
case 7: throw _d.sent();
|
|
790
|
+
case 8: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
791
|
+
case 9: throw _d.sent();
|
|
850
792
|
case 10:
|
|
851
793
|
parsedBody = parsedOutput.body;
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
response
|
|
858
|
-
delete response.Message;
|
|
859
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
794
|
+
response = new __BaseException({
|
|
795
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
796
|
+
$fault: "client",
|
|
797
|
+
$metadata: deserializeMetadata(output),
|
|
798
|
+
});
|
|
799
|
+
throw __decorateServiceException(response, parsedBody);
|
|
860
800
|
}
|
|
861
801
|
});
|
|
862
802
|
}); };
|
|
@@ -909,16 +849,16 @@ export var deserializeAws_restJson1CreateCloudFormationTemplateCommand = functio
|
|
|
909
849
|
});
|
|
910
850
|
}); };
|
|
911
851
|
var deserializeAws_restJson1CreateCloudFormationTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
912
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
913
|
-
var
|
|
914
|
-
return __generator(this, function (
|
|
915
|
-
switch (
|
|
852
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
853
|
+
var _c;
|
|
854
|
+
return __generator(this, function (_d) {
|
|
855
|
+
switch (_d.label) {
|
|
916
856
|
case 0:
|
|
917
857
|
_a = [__assign({}, output)];
|
|
918
|
-
|
|
858
|
+
_c = {};
|
|
919
859
|
return [4, parseBody(output.body, context)];
|
|
920
860
|
case 1:
|
|
921
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
861
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
922
862
|
errorCode = "UnknownError";
|
|
923
863
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
924
864
|
_b = errorCode;
|
|
@@ -935,46 +875,24 @@ var deserializeAws_restJson1CreateCloudFormationTemplateCommandError = function
|
|
|
935
875
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
936
876
|
}
|
|
937
877
|
return [3, 12];
|
|
938
|
-
case 2:
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
case
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
case 4
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
case
|
|
948
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
949
|
-
return [3, 13];
|
|
950
|
-
case 6:
|
|
951
|
-
_e = [{}];
|
|
952
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
953
|
-
case 7:
|
|
954
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
955
|
-
return [3, 13];
|
|
956
|
-
case 8:
|
|
957
|
-
_f = [{}];
|
|
958
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
959
|
-
case 9:
|
|
960
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
961
|
-
return [3, 13];
|
|
962
|
-
case 10:
|
|
963
|
-
_g = [{}];
|
|
964
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
965
|
-
case 11:
|
|
966
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
967
|
-
return [3, 13];
|
|
878
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
879
|
+
case 3: throw _d.sent();
|
|
880
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
881
|
+
case 5: throw _d.sent();
|
|
882
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
883
|
+
case 7: throw _d.sent();
|
|
884
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
885
|
+
case 9: throw _d.sent();
|
|
886
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
887
|
+
case 11: throw _d.sent();
|
|
968
888
|
case 12:
|
|
969
889
|
parsedBody = parsedOutput.body;
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
response
|
|
976
|
-
delete response.Message;
|
|
977
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
890
|
+
response = new __BaseException({
|
|
891
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
892
|
+
$fault: "client",
|
|
893
|
+
$metadata: deserializeMetadata(output),
|
|
894
|
+
});
|
|
895
|
+
throw __decorateServiceException(response, parsedBody);
|
|
978
896
|
}
|
|
979
897
|
});
|
|
980
898
|
}); };
|
|
@@ -997,16 +915,16 @@ export var deserializeAws_restJson1DeleteApplicationCommand = function (output,
|
|
|
997
915
|
});
|
|
998
916
|
}); };
|
|
999
917
|
var deserializeAws_restJson1DeleteApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1000
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1001
|
-
var
|
|
1002
|
-
return __generator(this, function (
|
|
1003
|
-
switch (
|
|
918
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
919
|
+
var _c;
|
|
920
|
+
return __generator(this, function (_d) {
|
|
921
|
+
switch (_d.label) {
|
|
1004
922
|
case 0:
|
|
1005
923
|
_a = [__assign({}, output)];
|
|
1006
|
-
|
|
924
|
+
_c = {};
|
|
1007
925
|
return [4, parseBody(output.body, context)];
|
|
1008
926
|
case 1:
|
|
1009
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
927
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1010
928
|
errorCode = "UnknownError";
|
|
1011
929
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1012
930
|
_b = errorCode;
|
|
@@ -1025,52 +943,26 @@ var deserializeAws_restJson1DeleteApplicationCommandError = function (output, co
|
|
|
1025
943
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 12];
|
|
1026
944
|
}
|
|
1027
945
|
return [3, 14];
|
|
1028
|
-
case 2:
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
case
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
case 4
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
case
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
case 6:
|
|
1041
|
-
_e = [{}];
|
|
1042
|
-
return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1043
|
-
case 7:
|
|
1044
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1045
|
-
return [3, 15];
|
|
1046
|
-
case 8:
|
|
1047
|
-
_f = [{}];
|
|
1048
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1049
|
-
case 9:
|
|
1050
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1051
|
-
return [3, 15];
|
|
1052
|
-
case 10:
|
|
1053
|
-
_g = [{}];
|
|
1054
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1055
|
-
case 11:
|
|
1056
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1057
|
-
return [3, 15];
|
|
1058
|
-
case 12:
|
|
1059
|
-
_h = [{}];
|
|
1060
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1061
|
-
case 13:
|
|
1062
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1063
|
-
return [3, 15];
|
|
946
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
947
|
+
case 3: throw _d.sent();
|
|
948
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
949
|
+
case 5: throw _d.sent();
|
|
950
|
+
case 6: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
951
|
+
case 7: throw _d.sent();
|
|
952
|
+
case 8: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
953
|
+
case 9: throw _d.sent();
|
|
954
|
+
case 10: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
955
|
+
case 11: throw _d.sent();
|
|
956
|
+
case 12: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
957
|
+
case 13: throw _d.sent();
|
|
1064
958
|
case 14:
|
|
1065
959
|
parsedBody = parsedOutput.body;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
response
|
|
1072
|
-
delete response.Message;
|
|
1073
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
960
|
+
response = new __BaseException({
|
|
961
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
962
|
+
$fault: "client",
|
|
963
|
+
$metadata: deserializeMetadata(output),
|
|
964
|
+
});
|
|
965
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1074
966
|
}
|
|
1075
967
|
});
|
|
1076
968
|
}); };
|
|
@@ -1147,16 +1039,16 @@ export var deserializeAws_restJson1GetApplicationCommand = function (output, con
|
|
|
1147
1039
|
});
|
|
1148
1040
|
}); };
|
|
1149
1041
|
var deserializeAws_restJson1GetApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1150
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1151
|
-
var
|
|
1152
|
-
return __generator(this, function (
|
|
1153
|
-
switch (
|
|
1042
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1043
|
+
var _c;
|
|
1044
|
+
return __generator(this, function (_d) {
|
|
1045
|
+
switch (_d.label) {
|
|
1154
1046
|
case 0:
|
|
1155
1047
|
_a = [__assign({}, output)];
|
|
1156
|
-
|
|
1048
|
+
_c = {};
|
|
1157
1049
|
return [4, parseBody(output.body, context)];
|
|
1158
1050
|
case 1:
|
|
1159
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1051
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1160
1052
|
errorCode = "UnknownError";
|
|
1161
1053
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1162
1054
|
_b = errorCode;
|
|
@@ -1173,46 +1065,24 @@ var deserializeAws_restJson1GetApplicationCommandError = function (output, conte
|
|
|
1173
1065
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
1174
1066
|
}
|
|
1175
1067
|
return [3, 12];
|
|
1176
|
-
case 2:
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
case
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
case 4
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
case
|
|
1186
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1187
|
-
return [3, 13];
|
|
1188
|
-
case 6:
|
|
1189
|
-
_e = [{}];
|
|
1190
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1191
|
-
case 7:
|
|
1192
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1193
|
-
return [3, 13];
|
|
1194
|
-
case 8:
|
|
1195
|
-
_f = [{}];
|
|
1196
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1197
|
-
case 9:
|
|
1198
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1199
|
-
return [3, 13];
|
|
1200
|
-
case 10:
|
|
1201
|
-
_g = [{}];
|
|
1202
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1203
|
-
case 11:
|
|
1204
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1205
|
-
return [3, 13];
|
|
1068
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1069
|
+
case 3: throw _d.sent();
|
|
1070
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1071
|
+
case 5: throw _d.sent();
|
|
1072
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1073
|
+
case 7: throw _d.sent();
|
|
1074
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1075
|
+
case 9: throw _d.sent();
|
|
1076
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1077
|
+
case 11: throw _d.sent();
|
|
1206
1078
|
case 12:
|
|
1207
1079
|
parsedBody = parsedOutput.body;
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
response
|
|
1214
|
-
delete response.Message;
|
|
1215
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1080
|
+
response = new __BaseException({
|
|
1081
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1082
|
+
$fault: "client",
|
|
1083
|
+
$metadata: deserializeMetadata(output),
|
|
1084
|
+
});
|
|
1085
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1216
1086
|
}
|
|
1217
1087
|
});
|
|
1218
1088
|
}); };
|
|
@@ -1241,16 +1111,16 @@ export var deserializeAws_restJson1GetApplicationPolicyCommand = function (outpu
|
|
|
1241
1111
|
});
|
|
1242
1112
|
}); };
|
|
1243
1113
|
var deserializeAws_restJson1GetApplicationPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1244
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1245
|
-
var
|
|
1246
|
-
return __generator(this, function (
|
|
1247
|
-
switch (
|
|
1114
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1115
|
+
var _c;
|
|
1116
|
+
return __generator(this, function (_d) {
|
|
1117
|
+
switch (_d.label) {
|
|
1248
1118
|
case 0:
|
|
1249
1119
|
_a = [__assign({}, output)];
|
|
1250
|
-
|
|
1120
|
+
_c = {};
|
|
1251
1121
|
return [4, parseBody(output.body, context)];
|
|
1252
1122
|
case 1:
|
|
1253
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1123
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1254
1124
|
errorCode = "UnknownError";
|
|
1255
1125
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1256
1126
|
_b = errorCode;
|
|
@@ -1267,46 +1137,24 @@ var deserializeAws_restJson1GetApplicationPolicyCommandError = function (output,
|
|
|
1267
1137
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
1268
1138
|
}
|
|
1269
1139
|
return [3, 12];
|
|
1270
|
-
case 2:
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
case
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
case 4
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
case
|
|
1280
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1281
|
-
return [3, 13];
|
|
1282
|
-
case 6:
|
|
1283
|
-
_e = [{}];
|
|
1284
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1285
|
-
case 7:
|
|
1286
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1287
|
-
return [3, 13];
|
|
1288
|
-
case 8:
|
|
1289
|
-
_f = [{}];
|
|
1290
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1291
|
-
case 9:
|
|
1292
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1293
|
-
return [3, 13];
|
|
1294
|
-
case 10:
|
|
1295
|
-
_g = [{}];
|
|
1296
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1297
|
-
case 11:
|
|
1298
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1299
|
-
return [3, 13];
|
|
1140
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1141
|
+
case 3: throw _d.sent();
|
|
1142
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1143
|
+
case 5: throw _d.sent();
|
|
1144
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1145
|
+
case 7: throw _d.sent();
|
|
1146
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1147
|
+
case 9: throw _d.sent();
|
|
1148
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1149
|
+
case 11: throw _d.sent();
|
|
1300
1150
|
case 12:
|
|
1301
1151
|
parsedBody = parsedOutput.body;
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
response
|
|
1308
|
-
delete response.Message;
|
|
1309
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1152
|
+
response = new __BaseException({
|
|
1153
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1154
|
+
$fault: "client",
|
|
1155
|
+
$metadata: deserializeMetadata(output),
|
|
1156
|
+
});
|
|
1157
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1310
1158
|
}
|
|
1311
1159
|
});
|
|
1312
1160
|
}); };
|
|
@@ -1359,16 +1207,16 @@ export var deserializeAws_restJson1GetCloudFormationTemplateCommand = function (
|
|
|
1359
1207
|
});
|
|
1360
1208
|
}); };
|
|
1361
1209
|
var deserializeAws_restJson1GetCloudFormationTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1362
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1363
|
-
var
|
|
1364
|
-
return __generator(this, function (
|
|
1365
|
-
switch (
|
|
1210
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1211
|
+
var _c;
|
|
1212
|
+
return __generator(this, function (_d) {
|
|
1213
|
+
switch (_d.label) {
|
|
1366
1214
|
case 0:
|
|
1367
1215
|
_a = [__assign({}, output)];
|
|
1368
|
-
|
|
1216
|
+
_c = {};
|
|
1369
1217
|
return [4, parseBody(output.body, context)];
|
|
1370
1218
|
case 1:
|
|
1371
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1219
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1372
1220
|
errorCode = "UnknownError";
|
|
1373
1221
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1374
1222
|
_b = errorCode;
|
|
@@ -1385,46 +1233,24 @@ var deserializeAws_restJson1GetCloudFormationTemplateCommandError = function (ou
|
|
|
1385
1233
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
1386
1234
|
}
|
|
1387
1235
|
return [3, 12];
|
|
1388
|
-
case 2:
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
case
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
case 4
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
case
|
|
1398
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1399
|
-
return [3, 13];
|
|
1400
|
-
case 6:
|
|
1401
|
-
_e = [{}];
|
|
1402
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1403
|
-
case 7:
|
|
1404
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1405
|
-
return [3, 13];
|
|
1406
|
-
case 8:
|
|
1407
|
-
_f = [{}];
|
|
1408
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1409
|
-
case 9:
|
|
1410
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1411
|
-
return [3, 13];
|
|
1412
|
-
case 10:
|
|
1413
|
-
_g = [{}];
|
|
1414
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1415
|
-
case 11:
|
|
1416
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1417
|
-
return [3, 13];
|
|
1236
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1237
|
+
case 3: throw _d.sent();
|
|
1238
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1239
|
+
case 5: throw _d.sent();
|
|
1240
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1241
|
+
case 7: throw _d.sent();
|
|
1242
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1243
|
+
case 9: throw _d.sent();
|
|
1244
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1245
|
+
case 11: throw _d.sent();
|
|
1418
1246
|
case 12:
|
|
1419
1247
|
parsedBody = parsedOutput.body;
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
response
|
|
1426
|
-
delete response.Message;
|
|
1427
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1248
|
+
response = new __BaseException({
|
|
1249
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1250
|
+
$fault: "client",
|
|
1251
|
+
$metadata: deserializeMetadata(output),
|
|
1252
|
+
});
|
|
1253
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1428
1254
|
}
|
|
1429
1255
|
});
|
|
1430
1256
|
}); };
|
|
@@ -1457,16 +1283,16 @@ export var deserializeAws_restJson1ListApplicationDependenciesCommand = function
|
|
|
1457
1283
|
});
|
|
1458
1284
|
}); };
|
|
1459
1285
|
var deserializeAws_restJson1ListApplicationDependenciesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1460
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1461
|
-
var
|
|
1462
|
-
return __generator(this, function (
|
|
1463
|
-
switch (
|
|
1286
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1287
|
+
var _c;
|
|
1288
|
+
return __generator(this, function (_d) {
|
|
1289
|
+
switch (_d.label) {
|
|
1464
1290
|
case 0:
|
|
1465
1291
|
_a = [__assign({}, output)];
|
|
1466
|
-
|
|
1292
|
+
_c = {};
|
|
1467
1293
|
return [4, parseBody(output.body, context)];
|
|
1468
1294
|
case 1:
|
|
1469
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1295
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1470
1296
|
errorCode = "UnknownError";
|
|
1471
1297
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1472
1298
|
_b = errorCode;
|
|
@@ -1483,46 +1309,24 @@ var deserializeAws_restJson1ListApplicationDependenciesCommandError = function (
|
|
|
1483
1309
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
1484
1310
|
}
|
|
1485
1311
|
return [3, 12];
|
|
1486
|
-
case 2:
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
case
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
case 4
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
case
|
|
1496
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1497
|
-
return [3, 13];
|
|
1498
|
-
case 6:
|
|
1499
|
-
_e = [{}];
|
|
1500
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1501
|
-
case 7:
|
|
1502
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1503
|
-
return [3, 13];
|
|
1504
|
-
case 8:
|
|
1505
|
-
_f = [{}];
|
|
1506
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1507
|
-
case 9:
|
|
1508
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1509
|
-
return [3, 13];
|
|
1510
|
-
case 10:
|
|
1511
|
-
_g = [{}];
|
|
1512
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1513
|
-
case 11:
|
|
1514
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1515
|
-
return [3, 13];
|
|
1312
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1313
|
+
case 3: throw _d.sent();
|
|
1314
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1315
|
+
case 5: throw _d.sent();
|
|
1316
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1317
|
+
case 7: throw _d.sent();
|
|
1318
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1319
|
+
case 9: throw _d.sent();
|
|
1320
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1321
|
+
case 11: throw _d.sent();
|
|
1516
1322
|
case 12:
|
|
1517
1323
|
parsedBody = parsedOutput.body;
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
response
|
|
1524
|
-
delete response.Message;
|
|
1525
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1324
|
+
response = new __BaseException({
|
|
1325
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1326
|
+
$fault: "client",
|
|
1327
|
+
$metadata: deserializeMetadata(output),
|
|
1328
|
+
});
|
|
1329
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1526
1330
|
}
|
|
1527
1331
|
});
|
|
1528
1332
|
}); };
|
|
@@ -1555,16 +1359,16 @@ export var deserializeAws_restJson1ListApplicationsCommand = function (output, c
|
|
|
1555
1359
|
});
|
|
1556
1360
|
}); };
|
|
1557
1361
|
var deserializeAws_restJson1ListApplicationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1558
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1559
|
-
var
|
|
1560
|
-
return __generator(this, function (
|
|
1561
|
-
switch (
|
|
1362
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1363
|
+
var _c;
|
|
1364
|
+
return __generator(this, function (_d) {
|
|
1365
|
+
switch (_d.label) {
|
|
1562
1366
|
case 0:
|
|
1563
1367
|
_a = [__assign({}, output)];
|
|
1564
|
-
|
|
1368
|
+
_c = {};
|
|
1565
1369
|
return [4, parseBody(output.body, context)];
|
|
1566
1370
|
case 1:
|
|
1567
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1371
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1568
1372
|
errorCode = "UnknownError";
|
|
1569
1373
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1570
1374
|
_b = errorCode;
|
|
@@ -1579,40 +1383,22 @@ var deserializeAws_restJson1ListApplicationsCommandError = function (output, con
|
|
|
1579
1383
|
case "com.amazonaws.serverlessapplicationrepository#NotFoundException": return [3, 8];
|
|
1580
1384
|
}
|
|
1581
1385
|
return [3, 10];
|
|
1582
|
-
case 2:
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
case
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
case 4
|
|
1589
|
-
|
|
1590
|
-
return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1591
|
-
case 5:
|
|
1592
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1593
|
-
return [3, 11];
|
|
1594
|
-
case 6:
|
|
1595
|
-
_e = [{}];
|
|
1596
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1597
|
-
case 7:
|
|
1598
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1599
|
-
return [3, 11];
|
|
1600
|
-
case 8:
|
|
1601
|
-
_f = [{}];
|
|
1602
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1603
|
-
case 9:
|
|
1604
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1605
|
-
return [3, 11];
|
|
1386
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1387
|
+
case 3: throw _d.sent();
|
|
1388
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1389
|
+
case 5: throw _d.sent();
|
|
1390
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1391
|
+
case 7: throw _d.sent();
|
|
1392
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1393
|
+
case 9: throw _d.sent();
|
|
1606
1394
|
case 10:
|
|
1607
1395
|
parsedBody = parsedOutput.body;
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
response
|
|
1614
|
-
delete response.Message;
|
|
1615
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1396
|
+
response = new __BaseException({
|
|
1397
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1398
|
+
$fault: "client",
|
|
1399
|
+
$metadata: deserializeMetadata(output),
|
|
1400
|
+
});
|
|
1401
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1616
1402
|
}
|
|
1617
1403
|
});
|
|
1618
1404
|
}); };
|
|
@@ -1645,16 +1431,16 @@ export var deserializeAws_restJson1ListApplicationVersionsCommand = function (ou
|
|
|
1645
1431
|
});
|
|
1646
1432
|
}); };
|
|
1647
1433
|
var deserializeAws_restJson1ListApplicationVersionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1648
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1649
|
-
var
|
|
1650
|
-
return __generator(this, function (
|
|
1651
|
-
switch (
|
|
1434
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1435
|
+
var _c;
|
|
1436
|
+
return __generator(this, function (_d) {
|
|
1437
|
+
switch (_d.label) {
|
|
1652
1438
|
case 0:
|
|
1653
1439
|
_a = [__assign({}, output)];
|
|
1654
|
-
|
|
1440
|
+
_c = {};
|
|
1655
1441
|
return [4, parseBody(output.body, context)];
|
|
1656
1442
|
case 1:
|
|
1657
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1443
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1658
1444
|
errorCode = "UnknownError";
|
|
1659
1445
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1660
1446
|
_b = errorCode;
|
|
@@ -1671,46 +1457,24 @@ var deserializeAws_restJson1ListApplicationVersionsCommandError = function (outp
|
|
|
1671
1457
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
1672
1458
|
}
|
|
1673
1459
|
return [3, 12];
|
|
1674
|
-
case 2:
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
case
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
case 4
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
case
|
|
1684
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1685
|
-
return [3, 13];
|
|
1686
|
-
case 6:
|
|
1687
|
-
_e = [{}];
|
|
1688
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1689
|
-
case 7:
|
|
1690
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1691
|
-
return [3, 13];
|
|
1692
|
-
case 8:
|
|
1693
|
-
_f = [{}];
|
|
1694
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1695
|
-
case 9:
|
|
1696
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1697
|
-
return [3, 13];
|
|
1698
|
-
case 10:
|
|
1699
|
-
_g = [{}];
|
|
1700
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1701
|
-
case 11:
|
|
1702
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1703
|
-
return [3, 13];
|
|
1460
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1461
|
+
case 3: throw _d.sent();
|
|
1462
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1463
|
+
case 5: throw _d.sent();
|
|
1464
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1465
|
+
case 7: throw _d.sent();
|
|
1466
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1467
|
+
case 9: throw _d.sent();
|
|
1468
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1469
|
+
case 11: throw _d.sent();
|
|
1704
1470
|
case 12:
|
|
1705
1471
|
parsedBody = parsedOutput.body;
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
response
|
|
1712
|
-
delete response.Message;
|
|
1713
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1472
|
+
response = new __BaseException({
|
|
1473
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1474
|
+
$fault: "client",
|
|
1475
|
+
$metadata: deserializeMetadata(output),
|
|
1476
|
+
});
|
|
1477
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1714
1478
|
}
|
|
1715
1479
|
});
|
|
1716
1480
|
}); };
|
|
@@ -1739,16 +1503,16 @@ export var deserializeAws_restJson1PutApplicationPolicyCommand = function (outpu
|
|
|
1739
1503
|
});
|
|
1740
1504
|
}); };
|
|
1741
1505
|
var deserializeAws_restJson1PutApplicationPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1742
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1743
|
-
var
|
|
1744
|
-
return __generator(this, function (
|
|
1745
|
-
switch (
|
|
1506
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1507
|
+
var _c;
|
|
1508
|
+
return __generator(this, function (_d) {
|
|
1509
|
+
switch (_d.label) {
|
|
1746
1510
|
case 0:
|
|
1747
1511
|
_a = [__assign({}, output)];
|
|
1748
|
-
|
|
1512
|
+
_c = {};
|
|
1749
1513
|
return [4, parseBody(output.body, context)];
|
|
1750
1514
|
case 1:
|
|
1751
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1515
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1752
1516
|
errorCode = "UnknownError";
|
|
1753
1517
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1754
1518
|
_b = errorCode;
|
|
@@ -1765,46 +1529,24 @@ var deserializeAws_restJson1PutApplicationPolicyCommandError = function (output,
|
|
|
1765
1529
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
1766
1530
|
}
|
|
1767
1531
|
return [3, 12];
|
|
1768
|
-
case 2:
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
case
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
case 4
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
case
|
|
1778
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1779
|
-
return [3, 13];
|
|
1780
|
-
case 6:
|
|
1781
|
-
_e = [{}];
|
|
1782
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1783
|
-
case 7:
|
|
1784
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1785
|
-
return [3, 13];
|
|
1786
|
-
case 8:
|
|
1787
|
-
_f = [{}];
|
|
1788
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1789
|
-
case 9:
|
|
1790
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1791
|
-
return [3, 13];
|
|
1792
|
-
case 10:
|
|
1793
|
-
_g = [{}];
|
|
1794
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1795
|
-
case 11:
|
|
1796
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1797
|
-
return [3, 13];
|
|
1532
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1533
|
+
case 3: throw _d.sent();
|
|
1534
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1535
|
+
case 5: throw _d.sent();
|
|
1536
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1537
|
+
case 7: throw _d.sent();
|
|
1538
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1539
|
+
case 9: throw _d.sent();
|
|
1540
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1541
|
+
case 11: throw _d.sent();
|
|
1798
1542
|
case 12:
|
|
1799
1543
|
parsedBody = parsedOutput.body;
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
response
|
|
1806
|
-
delete response.Message;
|
|
1807
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1544
|
+
response = new __BaseException({
|
|
1545
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1546
|
+
$fault: "client",
|
|
1547
|
+
$metadata: deserializeMetadata(output),
|
|
1548
|
+
});
|
|
1549
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1808
1550
|
}
|
|
1809
1551
|
});
|
|
1810
1552
|
}); };
|
|
@@ -1827,16 +1569,16 @@ export var deserializeAws_restJson1UnshareApplicationCommand = function (output,
|
|
|
1827
1569
|
});
|
|
1828
1570
|
}); };
|
|
1829
1571
|
var deserializeAws_restJson1UnshareApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1830
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1831
|
-
var
|
|
1832
|
-
return __generator(this, function (
|
|
1833
|
-
switch (
|
|
1572
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1573
|
+
var _c;
|
|
1574
|
+
return __generator(this, function (_d) {
|
|
1575
|
+
switch (_d.label) {
|
|
1834
1576
|
case 0:
|
|
1835
1577
|
_a = [__assign({}, output)];
|
|
1836
|
-
|
|
1578
|
+
_c = {};
|
|
1837
1579
|
return [4, parseBody(output.body, context)];
|
|
1838
1580
|
case 1:
|
|
1839
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1581
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1840
1582
|
errorCode = "UnknownError";
|
|
1841
1583
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1842
1584
|
_b = errorCode;
|
|
@@ -1853,46 +1595,24 @@ var deserializeAws_restJson1UnshareApplicationCommandError = function (output, c
|
|
|
1853
1595
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 10];
|
|
1854
1596
|
}
|
|
1855
1597
|
return [3, 12];
|
|
1856
|
-
case 2:
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
case
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
case 4
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
case
|
|
1866
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1867
|
-
return [3, 13];
|
|
1868
|
-
case 6:
|
|
1869
|
-
_e = [{}];
|
|
1870
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1871
|
-
case 7:
|
|
1872
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1873
|
-
return [3, 13];
|
|
1874
|
-
case 8:
|
|
1875
|
-
_f = [{}];
|
|
1876
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1877
|
-
case 9:
|
|
1878
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1879
|
-
return [3, 13];
|
|
1880
|
-
case 10:
|
|
1881
|
-
_g = [{}];
|
|
1882
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1883
|
-
case 11:
|
|
1884
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1885
|
-
return [3, 13];
|
|
1598
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1599
|
+
case 3: throw _d.sent();
|
|
1600
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1601
|
+
case 5: throw _d.sent();
|
|
1602
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1603
|
+
case 7: throw _d.sent();
|
|
1604
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1605
|
+
case 9: throw _d.sent();
|
|
1606
|
+
case 10: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1607
|
+
case 11: throw _d.sent();
|
|
1886
1608
|
case 12:
|
|
1887
1609
|
parsedBody = parsedOutput.body;
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
response
|
|
1894
|
-
delete response.Message;
|
|
1895
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1610
|
+
response = new __BaseException({
|
|
1611
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1612
|
+
$fault: "client",
|
|
1613
|
+
$metadata: deserializeMetadata(output),
|
|
1614
|
+
});
|
|
1615
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1896
1616
|
}
|
|
1897
1617
|
});
|
|
1898
1618
|
}); };
|
|
@@ -1969,16 +1689,16 @@ export var deserializeAws_restJson1UpdateApplicationCommand = function (output,
|
|
|
1969
1689
|
});
|
|
1970
1690
|
}); };
|
|
1971
1691
|
var deserializeAws_restJson1UpdateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1972
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1973
|
-
var
|
|
1974
|
-
return __generator(this, function (
|
|
1975
|
-
switch (
|
|
1692
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1693
|
+
var _c;
|
|
1694
|
+
return __generator(this, function (_d) {
|
|
1695
|
+
switch (_d.label) {
|
|
1976
1696
|
case 0:
|
|
1977
1697
|
_a = [__assign({}, output)];
|
|
1978
|
-
|
|
1698
|
+
_c = {};
|
|
1979
1699
|
return [4, parseBody(output.body, context)];
|
|
1980
1700
|
case 1:
|
|
1981
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1701
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1982
1702
|
errorCode = "UnknownError";
|
|
1983
1703
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1984
1704
|
_b = errorCode;
|
|
@@ -1997,65 +1717,33 @@ var deserializeAws_restJson1UpdateApplicationCommandError = function (output, co
|
|
|
1997
1717
|
case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException": return [3, 12];
|
|
1998
1718
|
}
|
|
1999
1719
|
return [3, 14];
|
|
2000
|
-
case 2:
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
case
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
case 4
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
case
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
case 6:
|
|
2013
|
-
_e = [{}];
|
|
2014
|
-
return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
2015
|
-
case 7:
|
|
2016
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2017
|
-
return [3, 15];
|
|
2018
|
-
case 8:
|
|
2019
|
-
_f = [{}];
|
|
2020
|
-
return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
2021
|
-
case 9:
|
|
2022
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2023
|
-
return [3, 15];
|
|
2024
|
-
case 10:
|
|
2025
|
-
_g = [{}];
|
|
2026
|
-
return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
2027
|
-
case 11:
|
|
2028
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2029
|
-
return [3, 15];
|
|
2030
|
-
case 12:
|
|
2031
|
-
_h = [{}];
|
|
2032
|
-
return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
2033
|
-
case 13:
|
|
2034
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2035
|
-
return [3, 15];
|
|
1720
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
1721
|
+
case 3: throw _d.sent();
|
|
1722
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
1723
|
+
case 5: throw _d.sent();
|
|
1724
|
+
case 6: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
1725
|
+
case 7: throw _d.sent();
|
|
1726
|
+
case 8: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
1727
|
+
case 9: throw _d.sent();
|
|
1728
|
+
case 10: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
1729
|
+
case 11: throw _d.sent();
|
|
1730
|
+
case 12: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
1731
|
+
case 13: throw _d.sent();
|
|
2036
1732
|
case 14:
|
|
2037
1733
|
parsedBody = parsedOutput.body;
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
response
|
|
2044
|
-
delete response.Message;
|
|
2045
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1734
|
+
response = new __BaseException({
|
|
1735
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1736
|
+
$fault: "client",
|
|
1737
|
+
$metadata: deserializeMetadata(output),
|
|
1738
|
+
});
|
|
1739
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2046
1740
|
}
|
|
2047
1741
|
});
|
|
2048
1742
|
}); };
|
|
2049
1743
|
var deserializeAws_restJson1BadRequestExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2050
|
-
var contents, data;
|
|
1744
|
+
var contents, data, exception;
|
|
2051
1745
|
return __generator(this, function (_a) {
|
|
2052
|
-
contents = {
|
|
2053
|
-
name: "BadRequestException",
|
|
2054
|
-
$fault: "client",
|
|
2055
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2056
|
-
ErrorCode: undefined,
|
|
2057
|
-
Message: undefined,
|
|
2058
|
-
};
|
|
1746
|
+
contents = {};
|
|
2059
1747
|
data = parsedOutput.body;
|
|
2060
1748
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
2061
1749
|
contents.ErrorCode = __expectString(data.errorCode);
|
|
@@ -2063,19 +1751,14 @@ var deserializeAws_restJson1BadRequestExceptionResponse = function (parsedOutput
|
|
|
2063
1751
|
if (data.message !== undefined && data.message !== null) {
|
|
2064
1752
|
contents.Message = __expectString(data.message);
|
|
2065
1753
|
}
|
|
2066
|
-
|
|
1754
|
+
exception = new BadRequestException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
1755
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
2067
1756
|
});
|
|
2068
1757
|
}); };
|
|
2069
1758
|
var deserializeAws_restJson1ConflictExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2070
|
-
var contents, data;
|
|
1759
|
+
var contents, data, exception;
|
|
2071
1760
|
return __generator(this, function (_a) {
|
|
2072
|
-
contents = {
|
|
2073
|
-
name: "ConflictException",
|
|
2074
|
-
$fault: "client",
|
|
2075
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2076
|
-
ErrorCode: undefined,
|
|
2077
|
-
Message: undefined,
|
|
2078
|
-
};
|
|
1761
|
+
contents = {};
|
|
2079
1762
|
data = parsedOutput.body;
|
|
2080
1763
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
2081
1764
|
contents.ErrorCode = __expectString(data.errorCode);
|
|
@@ -2083,19 +1766,14 @@ var deserializeAws_restJson1ConflictExceptionResponse = function (parsedOutput,
|
|
|
2083
1766
|
if (data.message !== undefined && data.message !== null) {
|
|
2084
1767
|
contents.Message = __expectString(data.message);
|
|
2085
1768
|
}
|
|
2086
|
-
|
|
1769
|
+
exception = new ConflictException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
1770
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
2087
1771
|
});
|
|
2088
1772
|
}); };
|
|
2089
1773
|
var deserializeAws_restJson1ForbiddenExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2090
|
-
var contents, data;
|
|
1774
|
+
var contents, data, exception;
|
|
2091
1775
|
return __generator(this, function (_a) {
|
|
2092
|
-
contents = {
|
|
2093
|
-
name: "ForbiddenException",
|
|
2094
|
-
$fault: "client",
|
|
2095
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2096
|
-
ErrorCode: undefined,
|
|
2097
|
-
Message: undefined,
|
|
2098
|
-
};
|
|
1776
|
+
contents = {};
|
|
2099
1777
|
data = parsedOutput.body;
|
|
2100
1778
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
2101
1779
|
contents.ErrorCode = __expectString(data.errorCode);
|
|
@@ -2103,19 +1781,14 @@ var deserializeAws_restJson1ForbiddenExceptionResponse = function (parsedOutput,
|
|
|
2103
1781
|
if (data.message !== undefined && data.message !== null) {
|
|
2104
1782
|
contents.Message = __expectString(data.message);
|
|
2105
1783
|
}
|
|
2106
|
-
|
|
1784
|
+
exception = new ForbiddenException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
1785
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
2107
1786
|
});
|
|
2108
1787
|
}); };
|
|
2109
1788
|
var deserializeAws_restJson1InternalServerErrorExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2110
|
-
var contents, data;
|
|
1789
|
+
var contents, data, exception;
|
|
2111
1790
|
return __generator(this, function (_a) {
|
|
2112
|
-
contents = {
|
|
2113
|
-
name: "InternalServerErrorException",
|
|
2114
|
-
$fault: "server",
|
|
2115
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2116
|
-
ErrorCode: undefined,
|
|
2117
|
-
Message: undefined,
|
|
2118
|
-
};
|
|
1791
|
+
contents = {};
|
|
2119
1792
|
data = parsedOutput.body;
|
|
2120
1793
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
2121
1794
|
contents.ErrorCode = __expectString(data.errorCode);
|
|
@@ -2123,19 +1796,14 @@ var deserializeAws_restJson1InternalServerErrorExceptionResponse = function (par
|
|
|
2123
1796
|
if (data.message !== undefined && data.message !== null) {
|
|
2124
1797
|
contents.Message = __expectString(data.message);
|
|
2125
1798
|
}
|
|
2126
|
-
|
|
1799
|
+
exception = new InternalServerErrorException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
1800
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
2127
1801
|
});
|
|
2128
1802
|
}); };
|
|
2129
1803
|
var deserializeAws_restJson1NotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2130
|
-
var contents, data;
|
|
1804
|
+
var contents, data, exception;
|
|
2131
1805
|
return __generator(this, function (_a) {
|
|
2132
|
-
contents = {
|
|
2133
|
-
name: "NotFoundException",
|
|
2134
|
-
$fault: "client",
|
|
2135
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2136
|
-
ErrorCode: undefined,
|
|
2137
|
-
Message: undefined,
|
|
2138
|
-
};
|
|
1806
|
+
contents = {};
|
|
2139
1807
|
data = parsedOutput.body;
|
|
2140
1808
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
2141
1809
|
contents.ErrorCode = __expectString(data.errorCode);
|
|
@@ -2143,19 +1811,14 @@ var deserializeAws_restJson1NotFoundExceptionResponse = function (parsedOutput,
|
|
|
2143
1811
|
if (data.message !== undefined && data.message !== null) {
|
|
2144
1812
|
contents.Message = __expectString(data.message);
|
|
2145
1813
|
}
|
|
2146
|
-
|
|
1814
|
+
exception = new NotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
1815
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
2147
1816
|
});
|
|
2148
1817
|
}); };
|
|
2149
1818
|
var deserializeAws_restJson1TooManyRequestsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2150
|
-
var contents, data;
|
|
1819
|
+
var contents, data, exception;
|
|
2151
1820
|
return __generator(this, function (_a) {
|
|
2152
|
-
contents = {
|
|
2153
|
-
name: "TooManyRequestsException",
|
|
2154
|
-
$fault: "client",
|
|
2155
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2156
|
-
ErrorCode: undefined,
|
|
2157
|
-
Message: undefined,
|
|
2158
|
-
};
|
|
1821
|
+
contents = {};
|
|
2159
1822
|
data = parsedOutput.body;
|
|
2160
1823
|
if (data.errorCode !== undefined && data.errorCode !== null) {
|
|
2161
1824
|
contents.ErrorCode = __expectString(data.errorCode);
|
|
@@ -2163,7 +1826,8 @@ var deserializeAws_restJson1TooManyRequestsExceptionResponse = function (parsedO
|
|
|
2163
1826
|
if (data.message !== undefined && data.message !== null) {
|
|
2164
1827
|
contents.Message = __expectString(data.message);
|
|
2165
1828
|
}
|
|
2166
|
-
|
|
1829
|
+
exception = new TooManyRequestsException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
1830
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
2167
1831
|
});
|
|
2168
1832
|
}); };
|
|
2169
1833
|
var serializeAws_restJson1__listOf__string = function (input, context) {
|
|
@@ -2241,7 +1905,7 @@ var serializeAws_restJson1Tag = function (input, context) {
|
|
|
2241
1905
|
return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { key: input.Key })), (input.Value !== undefined && input.Value !== null && { value: input.Value }));
|
|
2242
1906
|
};
|
|
2243
1907
|
var deserializeAws_restJson1__listOf__string = function (output, context) {
|
|
2244
|
-
|
|
1908
|
+
var retVal = (output || [])
|
|
2245
1909
|
.filter(function (e) { return e != null; })
|
|
2246
1910
|
.map(function (entry) {
|
|
2247
1911
|
if (entry === null) {
|
|
@@ -2249,9 +1913,10 @@ var deserializeAws_restJson1__listOf__string = function (output, context) {
|
|
|
2249
1913
|
}
|
|
2250
1914
|
return __expectString(entry);
|
|
2251
1915
|
});
|
|
1916
|
+
return retVal;
|
|
2252
1917
|
};
|
|
2253
1918
|
var deserializeAws_restJson1__listOfApplicationDependencySummary = function (output, context) {
|
|
2254
|
-
|
|
1919
|
+
var retVal = (output || [])
|
|
2255
1920
|
.filter(function (e) { return e != null; })
|
|
2256
1921
|
.map(function (entry) {
|
|
2257
1922
|
if (entry === null) {
|
|
@@ -2259,9 +1924,10 @@ var deserializeAws_restJson1__listOfApplicationDependencySummary = function (out
|
|
|
2259
1924
|
}
|
|
2260
1925
|
return deserializeAws_restJson1ApplicationDependencySummary(entry, context);
|
|
2261
1926
|
});
|
|
1927
|
+
return retVal;
|
|
2262
1928
|
};
|
|
2263
1929
|
var deserializeAws_restJson1__listOfApplicationPolicyStatement = function (output, context) {
|
|
2264
|
-
|
|
1930
|
+
var retVal = (output || [])
|
|
2265
1931
|
.filter(function (e) { return e != null; })
|
|
2266
1932
|
.map(function (entry) {
|
|
2267
1933
|
if (entry === null) {
|
|
@@ -2269,9 +1935,10 @@ var deserializeAws_restJson1__listOfApplicationPolicyStatement = function (outpu
|
|
|
2269
1935
|
}
|
|
2270
1936
|
return deserializeAws_restJson1ApplicationPolicyStatement(entry, context);
|
|
2271
1937
|
});
|
|
1938
|
+
return retVal;
|
|
2272
1939
|
};
|
|
2273
1940
|
var deserializeAws_restJson1__listOfApplicationSummary = function (output, context) {
|
|
2274
|
-
|
|
1941
|
+
var retVal = (output || [])
|
|
2275
1942
|
.filter(function (e) { return e != null; })
|
|
2276
1943
|
.map(function (entry) {
|
|
2277
1944
|
if (entry === null) {
|
|
@@ -2279,9 +1946,10 @@ var deserializeAws_restJson1__listOfApplicationSummary = function (output, conte
|
|
|
2279
1946
|
}
|
|
2280
1947
|
return deserializeAws_restJson1ApplicationSummary(entry, context);
|
|
2281
1948
|
});
|
|
1949
|
+
return retVal;
|
|
2282
1950
|
};
|
|
2283
1951
|
var deserializeAws_restJson1__listOfCapability = function (output, context) {
|
|
2284
|
-
|
|
1952
|
+
var retVal = (output || [])
|
|
2285
1953
|
.filter(function (e) { return e != null; })
|
|
2286
1954
|
.map(function (entry) {
|
|
2287
1955
|
if (entry === null) {
|
|
@@ -2289,9 +1957,10 @@ var deserializeAws_restJson1__listOfCapability = function (output, context) {
|
|
|
2289
1957
|
}
|
|
2290
1958
|
return __expectString(entry);
|
|
2291
1959
|
});
|
|
1960
|
+
return retVal;
|
|
2292
1961
|
};
|
|
2293
1962
|
var deserializeAws_restJson1__listOfParameterDefinition = function (output, context) {
|
|
2294
|
-
|
|
1963
|
+
var retVal = (output || [])
|
|
2295
1964
|
.filter(function (e) { return e != null; })
|
|
2296
1965
|
.map(function (entry) {
|
|
2297
1966
|
if (entry === null) {
|
|
@@ -2299,9 +1968,10 @@ var deserializeAws_restJson1__listOfParameterDefinition = function (output, cont
|
|
|
2299
1968
|
}
|
|
2300
1969
|
return deserializeAws_restJson1ParameterDefinition(entry, context);
|
|
2301
1970
|
});
|
|
1971
|
+
return retVal;
|
|
2302
1972
|
};
|
|
2303
1973
|
var deserializeAws_restJson1__listOfVersionSummary = function (output, context) {
|
|
2304
|
-
|
|
1974
|
+
var retVal = (output || [])
|
|
2305
1975
|
.filter(function (e) { return e != null; })
|
|
2306
1976
|
.map(function (entry) {
|
|
2307
1977
|
if (entry === null) {
|
|
@@ -2309,6 +1979,7 @@ var deserializeAws_restJson1__listOfVersionSummary = function (output, context)
|
|
|
2309
1979
|
}
|
|
2310
1980
|
return deserializeAws_restJson1VersionSummary(entry, context);
|
|
2311
1981
|
});
|
|
1982
|
+
return retVal;
|
|
2312
1983
|
};
|
|
2313
1984
|
var deserializeAws_restJson1ApplicationDependencySummary = function (output, context) {
|
|
2314
1985
|
return {
|