@aws-sdk/client-devops-guru 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/DevOpsGuruServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +113 -3
- package/dist-cjs/protocols/Aws_restJson1.js +349 -1096
- package/dist-es/index.js +1 -0
- package/dist-es/models/DevOpsGuruServiceException.js +12 -0
- package/dist-es/models/models_0.js +103 -1
- package/dist-es/protocols/Aws_restJson1.js +667 -1208
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/DevOpsGuruServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -22
- package/dist-types/ts3.4/DevOpsGuru.d.ts +135 -0
- package/dist-types/ts3.4/DevOpsGuruClient.d.ts +99 -0
- package/dist-types/ts3.4/commands/AddNotificationChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccountHealthCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccountOverviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAnomalyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationHealthCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationOverviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeResourceCollectionHealthCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeServiceIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCostEstimationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourceCollectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAnomaliesForInsightCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNotificationChannelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOrganizationInsightsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchInsightsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchOrganizationInsightsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartCostEstimationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResourceCollectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateServiceIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -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/DevOpsGuruServiceException.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 +1831 -0
- package/dist-types/ts3.4/pagination/DescribeOrganizationResourceCollectionHealthPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeResourceCollectionHealthPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetCostEstimationPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetResourceCollectionPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAnomaliesForInsightPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEventsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListInsightsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListNotificationChannelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOrganizationInsightsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchInsightsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchOrganizationInsightsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +80 -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,7 +1,9 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
|
+
import { DevOpsGuruServiceException as __BaseException } from "../models/DevOpsGuruServiceException";
|
|
6
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
7
|
export var serializeAws_restJson1AddNotificationChannelCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6
8
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
7
9
|
return __generator(this, function (_c) {
|
|
@@ -765,16 +767,16 @@ export var deserializeAws_restJson1AddNotificationChannelCommand = function (out
|
|
|
765
767
|
});
|
|
766
768
|
}); };
|
|
767
769
|
var deserializeAws_restJson1AddNotificationChannelCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
768
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
769
|
-
var
|
|
770
|
-
return __generator(this, function (
|
|
771
|
-
switch (
|
|
770
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
771
|
+
var _c;
|
|
772
|
+
return __generator(this, function (_d) {
|
|
773
|
+
switch (_d.label) {
|
|
772
774
|
case 0:
|
|
773
775
|
_a = [__assign({}, output)];
|
|
774
|
-
|
|
776
|
+
_c = {};
|
|
775
777
|
return [4, parseBody(output.body, context)];
|
|
776
778
|
case 1:
|
|
777
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
779
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
778
780
|
errorCode = "UnknownError";
|
|
779
781
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
780
782
|
_b = errorCode;
|
|
@@ -795,58 +797,28 @@ var deserializeAws_restJson1AddNotificationChannelCommandError = function (outpu
|
|
|
795
797
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 14];
|
|
796
798
|
}
|
|
797
799
|
return [3, 16];
|
|
798
|
-
case 2:
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
case
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
case 4
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
case
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
case
|
|
811
|
-
|
|
812
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
813
|
-
case 7:
|
|
814
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
815
|
-
return [3, 17];
|
|
816
|
-
case 8:
|
|
817
|
-
_f = [{}];
|
|
818
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
819
|
-
case 9:
|
|
820
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
821
|
-
return [3, 17];
|
|
822
|
-
case 10:
|
|
823
|
-
_g = [{}];
|
|
824
|
-
return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
825
|
-
case 11:
|
|
826
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
827
|
-
return [3, 17];
|
|
828
|
-
case 12:
|
|
829
|
-
_h = [{}];
|
|
830
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
831
|
-
case 13:
|
|
832
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
833
|
-
return [3, 17];
|
|
834
|
-
case 14:
|
|
835
|
-
_j = [{}];
|
|
836
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
837
|
-
case 15:
|
|
838
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_l.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
839
|
-
return [3, 17];
|
|
800
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
801
|
+
case 3: throw _d.sent();
|
|
802
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
803
|
+
case 5: throw _d.sent();
|
|
804
|
+
case 6: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
805
|
+
case 7: throw _d.sent();
|
|
806
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
807
|
+
case 9: throw _d.sent();
|
|
808
|
+
case 10: return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
809
|
+
case 11: throw _d.sent();
|
|
810
|
+
case 12: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
811
|
+
case 13: throw _d.sent();
|
|
812
|
+
case 14: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
813
|
+
case 15: throw _d.sent();
|
|
840
814
|
case 16:
|
|
841
815
|
parsedBody = parsedOutput.body;
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
response
|
|
848
|
-
delete response.Message;
|
|
849
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
816
|
+
response = new __BaseException({
|
|
817
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
818
|
+
$fault: "client",
|
|
819
|
+
$metadata: deserializeMetadata(output),
|
|
820
|
+
});
|
|
821
|
+
throw __decorateServiceException(response, parsedBody);
|
|
850
822
|
}
|
|
851
823
|
});
|
|
852
824
|
}); };
|
|
@@ -887,16 +859,16 @@ export var deserializeAws_restJson1DescribeAccountHealthCommand = function (outp
|
|
|
887
859
|
});
|
|
888
860
|
}); };
|
|
889
861
|
var deserializeAws_restJson1DescribeAccountHealthCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
890
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
891
|
-
var
|
|
892
|
-
return __generator(this, function (
|
|
893
|
-
switch (
|
|
862
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
863
|
+
var _c;
|
|
864
|
+
return __generator(this, function (_d) {
|
|
865
|
+
switch (_d.label) {
|
|
894
866
|
case 0:
|
|
895
867
|
_a = [__assign({}, output)];
|
|
896
|
-
|
|
868
|
+
_c = {};
|
|
897
869
|
return [4, parseBody(output.body, context)];
|
|
898
870
|
case 1:
|
|
899
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
871
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
900
872
|
errorCode = "UnknownError";
|
|
901
873
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
902
874
|
_b = errorCode;
|
|
@@ -911,40 +883,22 @@ var deserializeAws_restJson1DescribeAccountHealthCommandError = function (output
|
|
|
911
883
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
912
884
|
}
|
|
913
885
|
return [3, 10];
|
|
914
|
-
case 2:
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
case
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
case 4
|
|
921
|
-
|
|
922
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
923
|
-
case 5:
|
|
924
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
925
|
-
return [3, 11];
|
|
926
|
-
case 6:
|
|
927
|
-
_e = [{}];
|
|
928
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
929
|
-
case 7:
|
|
930
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
931
|
-
return [3, 11];
|
|
932
|
-
case 8:
|
|
933
|
-
_f = [{}];
|
|
934
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
935
|
-
case 9:
|
|
936
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
937
|
-
return [3, 11];
|
|
886
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
887
|
+
case 3: throw _d.sent();
|
|
888
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
889
|
+
case 5: throw _d.sent();
|
|
890
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
891
|
+
case 7: throw _d.sent();
|
|
892
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
893
|
+
case 9: throw _d.sent();
|
|
938
894
|
case 10:
|
|
939
895
|
parsedBody = parsedOutput.body;
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
response
|
|
946
|
-
delete response.Message;
|
|
947
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
896
|
+
response = new __BaseException({
|
|
897
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
898
|
+
$fault: "client",
|
|
899
|
+
$metadata: deserializeMetadata(output),
|
|
900
|
+
});
|
|
901
|
+
throw __decorateServiceException(response, parsedBody);
|
|
948
902
|
}
|
|
949
903
|
});
|
|
950
904
|
}); };
|
|
@@ -981,16 +935,16 @@ export var deserializeAws_restJson1DescribeAccountOverviewCommand = function (ou
|
|
|
981
935
|
});
|
|
982
936
|
}); };
|
|
983
937
|
var deserializeAws_restJson1DescribeAccountOverviewCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
984
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
985
|
-
var
|
|
986
|
-
return __generator(this, function (
|
|
987
|
-
switch (
|
|
938
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
939
|
+
var _c;
|
|
940
|
+
return __generator(this, function (_d) {
|
|
941
|
+
switch (_d.label) {
|
|
988
942
|
case 0:
|
|
989
943
|
_a = [__assign({}, output)];
|
|
990
|
-
|
|
944
|
+
_c = {};
|
|
991
945
|
return [4, parseBody(output.body, context)];
|
|
992
946
|
case 1:
|
|
993
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
947
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
994
948
|
errorCode = "UnknownError";
|
|
995
949
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
996
950
|
_b = errorCode;
|
|
@@ -1005,40 +959,22 @@ var deserializeAws_restJson1DescribeAccountOverviewCommandError = function (outp
|
|
|
1005
959
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
1006
960
|
}
|
|
1007
961
|
return [3, 10];
|
|
1008
|
-
case 2:
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
case
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
case 4
|
|
1015
|
-
|
|
1016
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1017
|
-
case 5:
|
|
1018
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1019
|
-
return [3, 11];
|
|
1020
|
-
case 6:
|
|
1021
|
-
_e = [{}];
|
|
1022
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1023
|
-
case 7:
|
|
1024
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1025
|
-
return [3, 11];
|
|
1026
|
-
case 8:
|
|
1027
|
-
_f = [{}];
|
|
1028
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1029
|
-
case 9:
|
|
1030
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1031
|
-
return [3, 11];
|
|
962
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
963
|
+
case 3: throw _d.sent();
|
|
964
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
965
|
+
case 5: throw _d.sent();
|
|
966
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
967
|
+
case 7: throw _d.sent();
|
|
968
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
969
|
+
case 9: throw _d.sent();
|
|
1032
970
|
case 10:
|
|
1033
971
|
parsedBody = parsedOutput.body;
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
response
|
|
1040
|
-
delete response.Message;
|
|
1041
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
972
|
+
response = new __BaseException({
|
|
973
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
974
|
+
$fault: "client",
|
|
975
|
+
$metadata: deserializeMetadata(output),
|
|
976
|
+
});
|
|
977
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1042
978
|
}
|
|
1043
979
|
});
|
|
1044
980
|
}); };
|
|
@@ -1071,16 +1007,16 @@ export var deserializeAws_restJson1DescribeAnomalyCommand = function (output, co
|
|
|
1071
1007
|
});
|
|
1072
1008
|
}); };
|
|
1073
1009
|
var deserializeAws_restJson1DescribeAnomalyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1074
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1075
|
-
var
|
|
1076
|
-
return __generator(this, function (
|
|
1077
|
-
switch (
|
|
1010
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1011
|
+
var _c;
|
|
1012
|
+
return __generator(this, function (_d) {
|
|
1013
|
+
switch (_d.label) {
|
|
1078
1014
|
case 0:
|
|
1079
1015
|
_a = [__assign({}, output)];
|
|
1080
|
-
|
|
1016
|
+
_c = {};
|
|
1081
1017
|
return [4, parseBody(output.body, context)];
|
|
1082
1018
|
case 1:
|
|
1083
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1019
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1084
1020
|
errorCode = "UnknownError";
|
|
1085
1021
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1086
1022
|
_b = errorCode;
|
|
@@ -1097,46 +1033,24 @@ var deserializeAws_restJson1DescribeAnomalyCommandError = function (output, cont
|
|
|
1097
1033
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
1098
1034
|
}
|
|
1099
1035
|
return [3, 12];
|
|
1100
|
-
case 2:
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
case
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
case 4
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
case
|
|
1110
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1111
|
-
return [3, 13];
|
|
1112
|
-
case 6:
|
|
1113
|
-
_e = [{}];
|
|
1114
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1115
|
-
case 7:
|
|
1116
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1117
|
-
return [3, 13];
|
|
1118
|
-
case 8:
|
|
1119
|
-
_f = [{}];
|
|
1120
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1121
|
-
case 9:
|
|
1122
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1123
|
-
return [3, 13];
|
|
1124
|
-
case 10:
|
|
1125
|
-
_g = [{}];
|
|
1126
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1127
|
-
case 11:
|
|
1128
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1129
|
-
return [3, 13];
|
|
1036
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1037
|
+
case 3: throw _d.sent();
|
|
1038
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1039
|
+
case 5: throw _d.sent();
|
|
1040
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1041
|
+
case 7: throw _d.sent();
|
|
1042
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1043
|
+
case 9: throw _d.sent();
|
|
1044
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1045
|
+
case 11: throw _d.sent();
|
|
1130
1046
|
case 12:
|
|
1131
1047
|
parsedBody = parsedOutput.body;
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
response
|
|
1138
|
-
delete response.Message;
|
|
1139
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1048
|
+
response = new __BaseException({
|
|
1049
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1050
|
+
$fault: "client",
|
|
1051
|
+
$metadata: deserializeMetadata(output),
|
|
1052
|
+
});
|
|
1053
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1140
1054
|
}
|
|
1141
1055
|
});
|
|
1142
1056
|
}); };
|
|
@@ -1165,16 +1079,16 @@ export var deserializeAws_restJson1DescribeFeedbackCommand = function (output, c
|
|
|
1165
1079
|
});
|
|
1166
1080
|
}); };
|
|
1167
1081
|
var deserializeAws_restJson1DescribeFeedbackCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1168
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1169
|
-
var
|
|
1170
|
-
return __generator(this, function (
|
|
1171
|
-
switch (
|
|
1082
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1083
|
+
var _c;
|
|
1084
|
+
return __generator(this, function (_d) {
|
|
1085
|
+
switch (_d.label) {
|
|
1172
1086
|
case 0:
|
|
1173
1087
|
_a = [__assign({}, output)];
|
|
1174
|
-
|
|
1088
|
+
_c = {};
|
|
1175
1089
|
return [4, parseBody(output.body, context)];
|
|
1176
1090
|
case 1:
|
|
1177
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1091
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1178
1092
|
errorCode = "UnknownError";
|
|
1179
1093
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1180
1094
|
_b = errorCode;
|
|
@@ -1191,46 +1105,24 @@ var deserializeAws_restJson1DescribeFeedbackCommandError = function (output, con
|
|
|
1191
1105
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
1192
1106
|
}
|
|
1193
1107
|
return [3, 12];
|
|
1194
|
-
case 2:
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
case
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
case 4
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
case
|
|
1204
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1205
|
-
return [3, 13];
|
|
1206
|
-
case 6:
|
|
1207
|
-
_e = [{}];
|
|
1208
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1209
|
-
case 7:
|
|
1210
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1211
|
-
return [3, 13];
|
|
1212
|
-
case 8:
|
|
1213
|
-
_f = [{}];
|
|
1214
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1215
|
-
case 9:
|
|
1216
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1217
|
-
return [3, 13];
|
|
1218
|
-
case 10:
|
|
1219
|
-
_g = [{}];
|
|
1220
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1221
|
-
case 11:
|
|
1222
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1223
|
-
return [3, 13];
|
|
1108
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1109
|
+
case 3: throw _d.sent();
|
|
1110
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1111
|
+
case 5: throw _d.sent();
|
|
1112
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1113
|
+
case 7: throw _d.sent();
|
|
1114
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1115
|
+
case 9: throw _d.sent();
|
|
1116
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1117
|
+
case 11: throw _d.sent();
|
|
1224
1118
|
case 12:
|
|
1225
1119
|
parsedBody = parsedOutput.body;
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
response
|
|
1232
|
-
delete response.Message;
|
|
1233
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1120
|
+
response = new __BaseException({
|
|
1121
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1122
|
+
$fault: "client",
|
|
1123
|
+
$metadata: deserializeMetadata(output),
|
|
1124
|
+
});
|
|
1125
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1234
1126
|
}
|
|
1235
1127
|
});
|
|
1236
1128
|
}); };
|
|
@@ -1263,16 +1155,16 @@ export var deserializeAws_restJson1DescribeInsightCommand = function (output, co
|
|
|
1263
1155
|
});
|
|
1264
1156
|
}); };
|
|
1265
1157
|
var deserializeAws_restJson1DescribeInsightCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1266
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1267
|
-
var
|
|
1268
|
-
return __generator(this, function (
|
|
1269
|
-
switch (
|
|
1158
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1159
|
+
var _c;
|
|
1160
|
+
return __generator(this, function (_d) {
|
|
1161
|
+
switch (_d.label) {
|
|
1270
1162
|
case 0:
|
|
1271
1163
|
_a = [__assign({}, output)];
|
|
1272
|
-
|
|
1164
|
+
_c = {};
|
|
1273
1165
|
return [4, parseBody(output.body, context)];
|
|
1274
1166
|
case 1:
|
|
1275
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1167
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1276
1168
|
errorCode = "UnknownError";
|
|
1277
1169
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1278
1170
|
_b = errorCode;
|
|
@@ -1289,46 +1181,24 @@ var deserializeAws_restJson1DescribeInsightCommandError = function (output, cont
|
|
|
1289
1181
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
1290
1182
|
}
|
|
1291
1183
|
return [3, 12];
|
|
1292
|
-
case 2:
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
case
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
case 4
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
case
|
|
1302
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1303
|
-
return [3, 13];
|
|
1304
|
-
case 6:
|
|
1305
|
-
_e = [{}];
|
|
1306
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1307
|
-
case 7:
|
|
1308
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1309
|
-
return [3, 13];
|
|
1310
|
-
case 8:
|
|
1311
|
-
_f = [{}];
|
|
1312
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1313
|
-
case 9:
|
|
1314
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1315
|
-
return [3, 13];
|
|
1316
|
-
case 10:
|
|
1317
|
-
_g = [{}];
|
|
1318
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1319
|
-
case 11:
|
|
1320
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1321
|
-
return [3, 13];
|
|
1184
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1185
|
+
case 3: throw _d.sent();
|
|
1186
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1187
|
+
case 5: throw _d.sent();
|
|
1188
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1189
|
+
case 7: throw _d.sent();
|
|
1190
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1191
|
+
case 9: throw _d.sent();
|
|
1192
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1193
|
+
case 11: throw _d.sent();
|
|
1322
1194
|
case 12:
|
|
1323
1195
|
parsedBody = parsedOutput.body;
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
response
|
|
1330
|
-
delete response.Message;
|
|
1331
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1196
|
+
response = new __BaseException({
|
|
1197
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1198
|
+
$fault: "client",
|
|
1199
|
+
$metadata: deserializeMetadata(output),
|
|
1200
|
+
});
|
|
1201
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1332
1202
|
}
|
|
1333
1203
|
});
|
|
1334
1204
|
}); };
|
|
@@ -1369,16 +1239,16 @@ export var deserializeAws_restJson1DescribeOrganizationHealthCommand = function
|
|
|
1369
1239
|
});
|
|
1370
1240
|
}); };
|
|
1371
1241
|
var deserializeAws_restJson1DescribeOrganizationHealthCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1372
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1373
|
-
var
|
|
1374
|
-
return __generator(this, function (
|
|
1375
|
-
switch (
|
|
1242
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1243
|
+
var _c;
|
|
1244
|
+
return __generator(this, function (_d) {
|
|
1245
|
+
switch (_d.label) {
|
|
1376
1246
|
case 0:
|
|
1377
1247
|
_a = [__assign({}, output)];
|
|
1378
|
-
|
|
1248
|
+
_c = {};
|
|
1379
1249
|
return [4, parseBody(output.body, context)];
|
|
1380
1250
|
case 1:
|
|
1381
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1251
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1382
1252
|
errorCode = "UnknownError";
|
|
1383
1253
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1384
1254
|
_b = errorCode;
|
|
@@ -1393,40 +1263,22 @@ var deserializeAws_restJson1DescribeOrganizationHealthCommandError = function (o
|
|
|
1393
1263
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
1394
1264
|
}
|
|
1395
1265
|
return [3, 10];
|
|
1396
|
-
case 2:
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
case
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
case 4
|
|
1403
|
-
|
|
1404
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1405
|
-
case 5:
|
|
1406
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1407
|
-
return [3, 11];
|
|
1408
|
-
case 6:
|
|
1409
|
-
_e = [{}];
|
|
1410
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1411
|
-
case 7:
|
|
1412
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1413
|
-
return [3, 11];
|
|
1414
|
-
case 8:
|
|
1415
|
-
_f = [{}];
|
|
1416
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1417
|
-
case 9:
|
|
1418
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1419
|
-
return [3, 11];
|
|
1266
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1267
|
+
case 3: throw _d.sent();
|
|
1268
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1269
|
+
case 5: throw _d.sent();
|
|
1270
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1271
|
+
case 7: throw _d.sent();
|
|
1272
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1273
|
+
case 9: throw _d.sent();
|
|
1420
1274
|
case 10:
|
|
1421
1275
|
parsedBody = parsedOutput.body;
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
response
|
|
1428
|
-
delete response.Message;
|
|
1429
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1276
|
+
response = new __BaseException({
|
|
1277
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1278
|
+
$fault: "client",
|
|
1279
|
+
$metadata: deserializeMetadata(output),
|
|
1280
|
+
});
|
|
1281
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1430
1282
|
}
|
|
1431
1283
|
});
|
|
1432
1284
|
}); };
|
|
@@ -1459,16 +1311,16 @@ export var deserializeAws_restJson1DescribeOrganizationOverviewCommand = functio
|
|
|
1459
1311
|
});
|
|
1460
1312
|
}); };
|
|
1461
1313
|
var deserializeAws_restJson1DescribeOrganizationOverviewCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1462
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1463
|
-
var
|
|
1464
|
-
return __generator(this, function (
|
|
1465
|
-
switch (
|
|
1314
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1315
|
+
var _c;
|
|
1316
|
+
return __generator(this, function (_d) {
|
|
1317
|
+
switch (_d.label) {
|
|
1466
1318
|
case 0:
|
|
1467
1319
|
_a = [__assign({}, output)];
|
|
1468
|
-
|
|
1320
|
+
_c = {};
|
|
1469
1321
|
return [4, parseBody(output.body, context)];
|
|
1470
1322
|
case 1:
|
|
1471
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1323
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1472
1324
|
errorCode = "UnknownError";
|
|
1473
1325
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1474
1326
|
_b = errorCode;
|
|
@@ -1483,40 +1335,22 @@ var deserializeAws_restJson1DescribeOrganizationOverviewCommandError = function
|
|
|
1483
1335
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
1484
1336
|
}
|
|
1485
1337
|
return [3, 10];
|
|
1486
|
-
case 2:
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
case
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
case 4
|
|
1493
|
-
|
|
1494
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1495
|
-
case 5:
|
|
1496
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1497
|
-
return [3, 11];
|
|
1498
|
-
case 6:
|
|
1499
|
-
_e = [{}];
|
|
1500
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1501
|
-
case 7:
|
|
1502
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1503
|
-
return [3, 11];
|
|
1504
|
-
case 8:
|
|
1505
|
-
_f = [{}];
|
|
1506
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1507
|
-
case 9:
|
|
1508
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1509
|
-
return [3, 11];
|
|
1338
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1339
|
+
case 3: throw _d.sent();
|
|
1340
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1341
|
+
case 5: throw _d.sent();
|
|
1342
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1343
|
+
case 7: throw _d.sent();
|
|
1344
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1345
|
+
case 9: throw _d.sent();
|
|
1510
1346
|
case 10:
|
|
1511
1347
|
parsedBody = parsedOutput.body;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
response
|
|
1518
|
-
delete response.Message;
|
|
1519
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1348
|
+
response = new __BaseException({
|
|
1349
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1350
|
+
$fault: "client",
|
|
1351
|
+
$metadata: deserializeMetadata(output),
|
|
1352
|
+
});
|
|
1353
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1520
1354
|
}
|
|
1521
1355
|
});
|
|
1522
1356
|
}); };
|
|
@@ -1561,16 +1395,16 @@ export var deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthC
|
|
|
1561
1395
|
});
|
|
1562
1396
|
}); };
|
|
1563
1397
|
var deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1564
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1565
|
-
var
|
|
1566
|
-
return __generator(this, function (
|
|
1567
|
-
switch (
|
|
1398
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1399
|
+
var _c;
|
|
1400
|
+
return __generator(this, function (_d) {
|
|
1401
|
+
switch (_d.label) {
|
|
1568
1402
|
case 0:
|
|
1569
1403
|
_a = [__assign({}, output)];
|
|
1570
|
-
|
|
1404
|
+
_c = {};
|
|
1571
1405
|
return [4, parseBody(output.body, context)];
|
|
1572
1406
|
case 1:
|
|
1573
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1407
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1574
1408
|
errorCode = "UnknownError";
|
|
1575
1409
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1576
1410
|
_b = errorCode;
|
|
@@ -1585,40 +1419,22 @@ var deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommandE
|
|
|
1585
1419
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
1586
1420
|
}
|
|
1587
1421
|
return [3, 10];
|
|
1588
|
-
case 2:
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
case
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
case 4
|
|
1595
|
-
|
|
1596
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1597
|
-
case 5:
|
|
1598
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1599
|
-
return [3, 11];
|
|
1600
|
-
case 6:
|
|
1601
|
-
_e = [{}];
|
|
1602
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1603
|
-
case 7:
|
|
1604
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1605
|
-
return [3, 11];
|
|
1606
|
-
case 8:
|
|
1607
|
-
_f = [{}];
|
|
1608
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1609
|
-
case 9:
|
|
1610
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1611
|
-
return [3, 11];
|
|
1422
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1423
|
+
case 3: throw _d.sent();
|
|
1424
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1425
|
+
case 5: throw _d.sent();
|
|
1426
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1427
|
+
case 7: throw _d.sent();
|
|
1428
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1429
|
+
case 9: throw _d.sent();
|
|
1612
1430
|
case 10:
|
|
1613
1431
|
parsedBody = parsedOutput.body;
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
response
|
|
1620
|
-
delete response.Message;
|
|
1621
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1432
|
+
response = new __BaseException({
|
|
1433
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1434
|
+
$fault: "client",
|
|
1435
|
+
$metadata: deserializeMetadata(output),
|
|
1436
|
+
});
|
|
1437
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1622
1438
|
}
|
|
1623
1439
|
});
|
|
1624
1440
|
}); };
|
|
@@ -1659,16 +1475,16 @@ export var deserializeAws_restJson1DescribeResourceCollectionHealthCommand = fun
|
|
|
1659
1475
|
});
|
|
1660
1476
|
}); };
|
|
1661
1477
|
var deserializeAws_restJson1DescribeResourceCollectionHealthCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1662
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1663
|
-
var
|
|
1664
|
-
return __generator(this, function (
|
|
1665
|
-
switch (
|
|
1478
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1479
|
+
var _c;
|
|
1480
|
+
return __generator(this, function (_d) {
|
|
1481
|
+
switch (_d.label) {
|
|
1666
1482
|
case 0:
|
|
1667
1483
|
_a = [__assign({}, output)];
|
|
1668
|
-
|
|
1484
|
+
_c = {};
|
|
1669
1485
|
return [4, parseBody(output.body, context)];
|
|
1670
1486
|
case 1:
|
|
1671
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1487
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1672
1488
|
errorCode = "UnknownError";
|
|
1673
1489
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1674
1490
|
_b = errorCode;
|
|
@@ -1683,40 +1499,22 @@ var deserializeAws_restJson1DescribeResourceCollectionHealthCommandError = funct
|
|
|
1683
1499
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
1684
1500
|
}
|
|
1685
1501
|
return [3, 10];
|
|
1686
|
-
case 2:
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
case
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
case 4
|
|
1693
|
-
|
|
1694
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1695
|
-
case 5:
|
|
1696
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1697
|
-
return [3, 11];
|
|
1698
|
-
case 6:
|
|
1699
|
-
_e = [{}];
|
|
1700
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1701
|
-
case 7:
|
|
1702
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1703
|
-
return [3, 11];
|
|
1704
|
-
case 8:
|
|
1705
|
-
_f = [{}];
|
|
1706
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1707
|
-
case 9:
|
|
1708
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1709
|
-
return [3, 11];
|
|
1502
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1503
|
+
case 3: throw _d.sent();
|
|
1504
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1505
|
+
case 5: throw _d.sent();
|
|
1506
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1507
|
+
case 7: throw _d.sent();
|
|
1508
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1509
|
+
case 9: throw _d.sent();
|
|
1710
1510
|
case 10:
|
|
1711
1511
|
parsedBody = parsedOutput.body;
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
response
|
|
1718
|
-
delete response.Message;
|
|
1719
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1512
|
+
response = new __BaseException({
|
|
1513
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1514
|
+
$fault: "client",
|
|
1515
|
+
$metadata: deserializeMetadata(output),
|
|
1516
|
+
});
|
|
1517
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1720
1518
|
}
|
|
1721
1519
|
});
|
|
1722
1520
|
}); };
|
|
@@ -1745,16 +1543,16 @@ export var deserializeAws_restJson1DescribeServiceIntegrationCommand = function
|
|
|
1745
1543
|
});
|
|
1746
1544
|
}); };
|
|
1747
1545
|
var deserializeAws_restJson1DescribeServiceIntegrationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1748
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1749
|
-
var
|
|
1750
|
-
return __generator(this, function (
|
|
1751
|
-
switch (
|
|
1546
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1547
|
+
var _c;
|
|
1548
|
+
return __generator(this, function (_d) {
|
|
1549
|
+
switch (_d.label) {
|
|
1752
1550
|
case 0:
|
|
1753
1551
|
_a = [__assign({}, output)];
|
|
1754
|
-
|
|
1552
|
+
_c = {};
|
|
1755
1553
|
return [4, parseBody(output.body, context)];
|
|
1756
1554
|
case 1:
|
|
1757
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1555
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1758
1556
|
errorCode = "UnknownError";
|
|
1759
1557
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1760
1558
|
_b = errorCode;
|
|
@@ -1769,40 +1567,22 @@ var deserializeAws_restJson1DescribeServiceIntegrationCommandError = function (o
|
|
|
1769
1567
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
1770
1568
|
}
|
|
1771
1569
|
return [3, 10];
|
|
1772
|
-
case 2:
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
case
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
case 4
|
|
1779
|
-
|
|
1780
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1781
|
-
case 5:
|
|
1782
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1783
|
-
return [3, 11];
|
|
1784
|
-
case 6:
|
|
1785
|
-
_e = [{}];
|
|
1786
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1787
|
-
case 7:
|
|
1788
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1789
|
-
return [3, 11];
|
|
1790
|
-
case 8:
|
|
1791
|
-
_f = [{}];
|
|
1792
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1793
|
-
case 9:
|
|
1794
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1795
|
-
return [3, 11];
|
|
1570
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1571
|
+
case 3: throw _d.sent();
|
|
1572
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1573
|
+
case 5: throw _d.sent();
|
|
1574
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1575
|
+
case 7: throw _d.sent();
|
|
1576
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1577
|
+
case 9: throw _d.sent();
|
|
1796
1578
|
case 10:
|
|
1797
1579
|
parsedBody = parsedOutput.body;
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
response
|
|
1804
|
-
delete response.Message;
|
|
1805
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1580
|
+
response = new __BaseException({
|
|
1581
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1582
|
+
$fault: "client",
|
|
1583
|
+
$metadata: deserializeMetadata(output),
|
|
1584
|
+
});
|
|
1585
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1806
1586
|
}
|
|
1807
1587
|
});
|
|
1808
1588
|
}); };
|
|
@@ -1851,16 +1631,16 @@ export var deserializeAws_restJson1GetCostEstimationCommand = function (output,
|
|
|
1851
1631
|
});
|
|
1852
1632
|
}); };
|
|
1853
1633
|
var deserializeAws_restJson1GetCostEstimationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1854
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1855
|
-
var
|
|
1856
|
-
return __generator(this, function (
|
|
1857
|
-
switch (
|
|
1634
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1635
|
+
var _c;
|
|
1636
|
+
return __generator(this, function (_d) {
|
|
1637
|
+
switch (_d.label) {
|
|
1858
1638
|
case 0:
|
|
1859
1639
|
_a = [__assign({}, output)];
|
|
1860
|
-
|
|
1640
|
+
_c = {};
|
|
1861
1641
|
return [4, parseBody(output.body, context)];
|
|
1862
1642
|
case 1:
|
|
1863
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1643
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1864
1644
|
errorCode = "UnknownError";
|
|
1865
1645
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1866
1646
|
_b = errorCode;
|
|
@@ -1877,46 +1657,24 @@ var deserializeAws_restJson1GetCostEstimationCommandError = function (output, co
|
|
|
1877
1657
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
1878
1658
|
}
|
|
1879
1659
|
return [3, 12];
|
|
1880
|
-
case 2:
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
case
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
case 4
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
case
|
|
1890
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1891
|
-
return [3, 13];
|
|
1892
|
-
case 6:
|
|
1893
|
-
_e = [{}];
|
|
1894
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1895
|
-
case 7:
|
|
1896
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1897
|
-
return [3, 13];
|
|
1898
|
-
case 8:
|
|
1899
|
-
_f = [{}];
|
|
1900
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1901
|
-
case 9:
|
|
1902
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1903
|
-
return [3, 13];
|
|
1904
|
-
case 10:
|
|
1905
|
-
_g = [{}];
|
|
1906
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1907
|
-
case 11:
|
|
1908
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1909
|
-
return [3, 13];
|
|
1660
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1661
|
+
case 3: throw _d.sent();
|
|
1662
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1663
|
+
case 5: throw _d.sent();
|
|
1664
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1665
|
+
case 7: throw _d.sent();
|
|
1666
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1667
|
+
case 9: throw _d.sent();
|
|
1668
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1669
|
+
case 11: throw _d.sent();
|
|
1910
1670
|
case 12:
|
|
1911
1671
|
parsedBody = parsedOutput.body;
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
response
|
|
1918
|
-
delete response.Message;
|
|
1919
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1672
|
+
response = new __BaseException({
|
|
1673
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1674
|
+
$fault: "client",
|
|
1675
|
+
$metadata: deserializeMetadata(output),
|
|
1676
|
+
});
|
|
1677
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1920
1678
|
}
|
|
1921
1679
|
});
|
|
1922
1680
|
}); };
|
|
@@ -1949,16 +1707,16 @@ export var deserializeAws_restJson1GetResourceCollectionCommand = function (outp
|
|
|
1949
1707
|
});
|
|
1950
1708
|
}); };
|
|
1951
1709
|
var deserializeAws_restJson1GetResourceCollectionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1952
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1953
|
-
var
|
|
1954
|
-
return __generator(this, function (
|
|
1955
|
-
switch (
|
|
1710
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1711
|
+
var _c;
|
|
1712
|
+
return __generator(this, function (_d) {
|
|
1713
|
+
switch (_d.label) {
|
|
1956
1714
|
case 0:
|
|
1957
1715
|
_a = [__assign({}, output)];
|
|
1958
|
-
|
|
1716
|
+
_c = {};
|
|
1959
1717
|
return [4, parseBody(output.body, context)];
|
|
1960
1718
|
case 1:
|
|
1961
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1719
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1962
1720
|
errorCode = "UnknownError";
|
|
1963
1721
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1964
1722
|
_b = errorCode;
|
|
@@ -1975,46 +1733,24 @@ var deserializeAws_restJson1GetResourceCollectionCommandError = function (output
|
|
|
1975
1733
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
1976
1734
|
}
|
|
1977
1735
|
return [3, 12];
|
|
1978
|
-
case 2:
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
case
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
case 4
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
case
|
|
1988
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1989
|
-
return [3, 13];
|
|
1990
|
-
case 6:
|
|
1991
|
-
_e = [{}];
|
|
1992
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1993
|
-
case 7:
|
|
1994
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1995
|
-
return [3, 13];
|
|
1996
|
-
case 8:
|
|
1997
|
-
_f = [{}];
|
|
1998
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1999
|
-
case 9:
|
|
2000
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2001
|
-
return [3, 13];
|
|
2002
|
-
case 10:
|
|
2003
|
-
_g = [{}];
|
|
2004
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2005
|
-
case 11:
|
|
2006
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2007
|
-
return [3, 13];
|
|
1736
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1737
|
+
case 3: throw _d.sent();
|
|
1738
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1739
|
+
case 5: throw _d.sent();
|
|
1740
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1741
|
+
case 7: throw _d.sent();
|
|
1742
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1743
|
+
case 9: throw _d.sent();
|
|
1744
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1745
|
+
case 11: throw _d.sent();
|
|
2008
1746
|
case 12:
|
|
2009
1747
|
parsedBody = parsedOutput.body;
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
response
|
|
2016
|
-
delete response.Message;
|
|
2017
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1748
|
+
response = new __BaseException({
|
|
1749
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1750
|
+
$fault: "client",
|
|
1751
|
+
$metadata: deserializeMetadata(output),
|
|
1752
|
+
});
|
|
1753
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2018
1754
|
}
|
|
2019
1755
|
});
|
|
2020
1756
|
}); };
|
|
@@ -2051,16 +1787,16 @@ export var deserializeAws_restJson1ListAnomaliesForInsightCommand = function (ou
|
|
|
2051
1787
|
});
|
|
2052
1788
|
}); };
|
|
2053
1789
|
var deserializeAws_restJson1ListAnomaliesForInsightCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2054
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2055
|
-
var
|
|
2056
|
-
return __generator(this, function (
|
|
2057
|
-
switch (
|
|
1790
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1791
|
+
var _c;
|
|
1792
|
+
return __generator(this, function (_d) {
|
|
1793
|
+
switch (_d.label) {
|
|
2058
1794
|
case 0:
|
|
2059
1795
|
_a = [__assign({}, output)];
|
|
2060
|
-
|
|
1796
|
+
_c = {};
|
|
2061
1797
|
return [4, parseBody(output.body, context)];
|
|
2062
1798
|
case 1:
|
|
2063
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1799
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2064
1800
|
errorCode = "UnknownError";
|
|
2065
1801
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2066
1802
|
_b = errorCode;
|
|
@@ -2077,46 +1813,24 @@ var deserializeAws_restJson1ListAnomaliesForInsightCommandError = function (outp
|
|
|
2077
1813
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
2078
1814
|
}
|
|
2079
1815
|
return [3, 12];
|
|
2080
|
-
case 2:
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
case
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
case 4
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
case
|
|
2090
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2091
|
-
return [3, 13];
|
|
2092
|
-
case 6:
|
|
2093
|
-
_e = [{}];
|
|
2094
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2095
|
-
case 7:
|
|
2096
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2097
|
-
return [3, 13];
|
|
2098
|
-
case 8:
|
|
2099
|
-
_f = [{}];
|
|
2100
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2101
|
-
case 9:
|
|
2102
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2103
|
-
return [3, 13];
|
|
2104
|
-
case 10:
|
|
2105
|
-
_g = [{}];
|
|
2106
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2107
|
-
case 11:
|
|
2108
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2109
|
-
return [3, 13];
|
|
1816
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1817
|
+
case 3: throw _d.sent();
|
|
1818
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1819
|
+
case 5: throw _d.sent();
|
|
1820
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1821
|
+
case 7: throw _d.sent();
|
|
1822
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1823
|
+
case 9: throw _d.sent();
|
|
1824
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1825
|
+
case 11: throw _d.sent();
|
|
2110
1826
|
case 12:
|
|
2111
1827
|
parsedBody = parsedOutput.body;
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
response
|
|
2118
|
-
delete response.Message;
|
|
2119
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1828
|
+
response = new __BaseException({
|
|
1829
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1830
|
+
$fault: "client",
|
|
1831
|
+
$metadata: deserializeMetadata(output),
|
|
1832
|
+
});
|
|
1833
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2120
1834
|
}
|
|
2121
1835
|
});
|
|
2122
1836
|
}); };
|
|
@@ -2149,16 +1863,16 @@ export var deserializeAws_restJson1ListEventsCommand = function (output, context
|
|
|
2149
1863
|
});
|
|
2150
1864
|
}); };
|
|
2151
1865
|
var deserializeAws_restJson1ListEventsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2152
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2153
|
-
var
|
|
2154
|
-
return __generator(this, function (
|
|
2155
|
-
switch (
|
|
1866
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1867
|
+
var _c;
|
|
1868
|
+
return __generator(this, function (_d) {
|
|
1869
|
+
switch (_d.label) {
|
|
2156
1870
|
case 0:
|
|
2157
1871
|
_a = [__assign({}, output)];
|
|
2158
|
-
|
|
1872
|
+
_c = {};
|
|
2159
1873
|
return [4, parseBody(output.body, context)];
|
|
2160
1874
|
case 1:
|
|
2161
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1875
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2162
1876
|
errorCode = "UnknownError";
|
|
2163
1877
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2164
1878
|
_b = errorCode;
|
|
@@ -2175,46 +1889,24 @@ var deserializeAws_restJson1ListEventsCommandError = function (output, context)
|
|
|
2175
1889
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
2176
1890
|
}
|
|
2177
1891
|
return [3, 12];
|
|
2178
|
-
case 2:
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
case
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
case 4
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
case
|
|
2188
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2189
|
-
return [3, 13];
|
|
2190
|
-
case 6:
|
|
2191
|
-
_e = [{}];
|
|
2192
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2193
|
-
case 7:
|
|
2194
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2195
|
-
return [3, 13];
|
|
2196
|
-
case 8:
|
|
2197
|
-
_f = [{}];
|
|
2198
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2199
|
-
case 9:
|
|
2200
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2201
|
-
return [3, 13];
|
|
2202
|
-
case 10:
|
|
2203
|
-
_g = [{}];
|
|
2204
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2205
|
-
case 11:
|
|
2206
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2207
|
-
return [3, 13];
|
|
1892
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1893
|
+
case 3: throw _d.sent();
|
|
1894
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1895
|
+
case 5: throw _d.sent();
|
|
1896
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1897
|
+
case 7: throw _d.sent();
|
|
1898
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1899
|
+
case 9: throw _d.sent();
|
|
1900
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1901
|
+
case 11: throw _d.sent();
|
|
2208
1902
|
case 12:
|
|
2209
1903
|
parsedBody = parsedOutput.body;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
response
|
|
2216
|
-
delete response.Message;
|
|
2217
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1904
|
+
response = new __BaseException({
|
|
1905
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1906
|
+
$fault: "client",
|
|
1907
|
+
$metadata: deserializeMetadata(output),
|
|
1908
|
+
});
|
|
1909
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2218
1910
|
}
|
|
2219
1911
|
});
|
|
2220
1912
|
}); };
|
|
@@ -2251,16 +1943,16 @@ export var deserializeAws_restJson1ListInsightsCommand = function (output, conte
|
|
|
2251
1943
|
});
|
|
2252
1944
|
}); };
|
|
2253
1945
|
var deserializeAws_restJson1ListInsightsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2254
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2255
|
-
var
|
|
2256
|
-
return __generator(this, function (
|
|
2257
|
-
switch (
|
|
1946
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1947
|
+
var _c;
|
|
1948
|
+
return __generator(this, function (_d) {
|
|
1949
|
+
switch (_d.label) {
|
|
2258
1950
|
case 0:
|
|
2259
1951
|
_a = [__assign({}, output)];
|
|
2260
|
-
|
|
1952
|
+
_c = {};
|
|
2261
1953
|
return [4, parseBody(output.body, context)];
|
|
2262
1954
|
case 1:
|
|
2263
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1955
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2264
1956
|
errorCode = "UnknownError";
|
|
2265
1957
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2266
1958
|
_b = errorCode;
|
|
@@ -2275,40 +1967,22 @@ var deserializeAws_restJson1ListInsightsCommandError = function (output, context
|
|
|
2275
1967
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
2276
1968
|
}
|
|
2277
1969
|
return [3, 10];
|
|
2278
|
-
case 2:
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
case
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
case 4
|
|
2285
|
-
|
|
2286
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2287
|
-
case 5:
|
|
2288
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2289
|
-
return [3, 11];
|
|
2290
|
-
case 6:
|
|
2291
|
-
_e = [{}];
|
|
2292
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2293
|
-
case 7:
|
|
2294
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2295
|
-
return [3, 11];
|
|
2296
|
-
case 8:
|
|
2297
|
-
_f = [{}];
|
|
2298
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2299
|
-
case 9:
|
|
2300
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2301
|
-
return [3, 11];
|
|
1970
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1971
|
+
case 3: throw _d.sent();
|
|
1972
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1973
|
+
case 5: throw _d.sent();
|
|
1974
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
1975
|
+
case 7: throw _d.sent();
|
|
1976
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
1977
|
+
case 9: throw _d.sent();
|
|
2302
1978
|
case 10:
|
|
2303
1979
|
parsedBody = parsedOutput.body;
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
response
|
|
2310
|
-
delete response.Message;
|
|
2311
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1980
|
+
response = new __BaseException({
|
|
1981
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1982
|
+
$fault: "client",
|
|
1983
|
+
$metadata: deserializeMetadata(output),
|
|
1984
|
+
});
|
|
1985
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2312
1986
|
}
|
|
2313
1987
|
});
|
|
2314
1988
|
}); };
|
|
@@ -2341,16 +2015,16 @@ export var deserializeAws_restJson1ListNotificationChannelsCommand = function (o
|
|
|
2341
2015
|
});
|
|
2342
2016
|
}); };
|
|
2343
2017
|
var deserializeAws_restJson1ListNotificationChannelsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2344
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2345
|
-
var
|
|
2346
|
-
return __generator(this, function (
|
|
2347
|
-
switch (
|
|
2018
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2019
|
+
var _c;
|
|
2020
|
+
return __generator(this, function (_d) {
|
|
2021
|
+
switch (_d.label) {
|
|
2348
2022
|
case 0:
|
|
2349
2023
|
_a = [__assign({}, output)];
|
|
2350
|
-
|
|
2024
|
+
_c = {};
|
|
2351
2025
|
return [4, parseBody(output.body, context)];
|
|
2352
2026
|
case 1:
|
|
2353
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2027
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2354
2028
|
errorCode = "UnknownError";
|
|
2355
2029
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2356
2030
|
_b = errorCode;
|
|
@@ -2365,40 +2039,22 @@ var deserializeAws_restJson1ListNotificationChannelsCommandError = function (out
|
|
|
2365
2039
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
2366
2040
|
}
|
|
2367
2041
|
return [3, 10];
|
|
2368
|
-
case 2:
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
case
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
case 4
|
|
2375
|
-
|
|
2376
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2377
|
-
case 5:
|
|
2378
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2379
|
-
return [3, 11];
|
|
2380
|
-
case 6:
|
|
2381
|
-
_e = [{}];
|
|
2382
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2383
|
-
case 7:
|
|
2384
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2385
|
-
return [3, 11];
|
|
2386
|
-
case 8:
|
|
2387
|
-
_f = [{}];
|
|
2388
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2389
|
-
case 9:
|
|
2390
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2391
|
-
return [3, 11];
|
|
2042
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2043
|
+
case 3: throw _d.sent();
|
|
2044
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2045
|
+
case 5: throw _d.sent();
|
|
2046
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2047
|
+
case 7: throw _d.sent();
|
|
2048
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2049
|
+
case 9: throw _d.sent();
|
|
2392
2050
|
case 10:
|
|
2393
2051
|
parsedBody = parsedOutput.body;
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
response
|
|
2400
|
-
delete response.Message;
|
|
2401
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2052
|
+
response = new __BaseException({
|
|
2053
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2054
|
+
$fault: "client",
|
|
2055
|
+
$metadata: deserializeMetadata(output),
|
|
2056
|
+
});
|
|
2057
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2402
2058
|
}
|
|
2403
2059
|
});
|
|
2404
2060
|
}); };
|
|
@@ -2435,16 +2091,16 @@ export var deserializeAws_restJson1ListOrganizationInsightsCommand = function (o
|
|
|
2435
2091
|
});
|
|
2436
2092
|
}); };
|
|
2437
2093
|
var deserializeAws_restJson1ListOrganizationInsightsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2438
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2439
|
-
var
|
|
2440
|
-
return __generator(this, function (
|
|
2441
|
-
switch (
|
|
2094
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2095
|
+
var _c;
|
|
2096
|
+
return __generator(this, function (_d) {
|
|
2097
|
+
switch (_d.label) {
|
|
2442
2098
|
case 0:
|
|
2443
2099
|
_a = [__assign({}, output)];
|
|
2444
|
-
|
|
2100
|
+
_c = {};
|
|
2445
2101
|
return [4, parseBody(output.body, context)];
|
|
2446
2102
|
case 1:
|
|
2447
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2103
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2448
2104
|
errorCode = "UnknownError";
|
|
2449
2105
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2450
2106
|
_b = errorCode;
|
|
@@ -2459,40 +2115,22 @@ var deserializeAws_restJson1ListOrganizationInsightsCommandError = function (out
|
|
|
2459
2115
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
2460
2116
|
}
|
|
2461
2117
|
return [3, 10];
|
|
2462
|
-
case 2:
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
case
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
case 4
|
|
2469
|
-
|
|
2470
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2471
|
-
case 5:
|
|
2472
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2473
|
-
return [3, 11];
|
|
2474
|
-
case 6:
|
|
2475
|
-
_e = [{}];
|
|
2476
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2477
|
-
case 7:
|
|
2478
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2479
|
-
return [3, 11];
|
|
2480
|
-
case 8:
|
|
2481
|
-
_f = [{}];
|
|
2482
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2483
|
-
case 9:
|
|
2484
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2485
|
-
return [3, 11];
|
|
2118
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2119
|
+
case 3: throw _d.sent();
|
|
2120
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2121
|
+
case 5: throw _d.sent();
|
|
2122
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2123
|
+
case 7: throw _d.sent();
|
|
2124
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2125
|
+
case 9: throw _d.sent();
|
|
2486
2126
|
case 10:
|
|
2487
2127
|
parsedBody = parsedOutput.body;
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
response
|
|
2494
|
-
delete response.Message;
|
|
2495
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2128
|
+
response = new __BaseException({
|
|
2129
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2130
|
+
$fault: "client",
|
|
2131
|
+
$metadata: deserializeMetadata(output),
|
|
2132
|
+
});
|
|
2133
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2496
2134
|
}
|
|
2497
2135
|
});
|
|
2498
2136
|
}); };
|
|
@@ -2525,16 +2163,16 @@ export var deserializeAws_restJson1ListRecommendationsCommand = function (output
|
|
|
2525
2163
|
});
|
|
2526
2164
|
}); };
|
|
2527
2165
|
var deserializeAws_restJson1ListRecommendationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2528
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2529
|
-
var
|
|
2530
|
-
return __generator(this, function (
|
|
2531
|
-
switch (
|
|
2166
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2167
|
+
var _c;
|
|
2168
|
+
return __generator(this, function (_d) {
|
|
2169
|
+
switch (_d.label) {
|
|
2532
2170
|
case 0:
|
|
2533
2171
|
_a = [__assign({}, output)];
|
|
2534
|
-
|
|
2172
|
+
_c = {};
|
|
2535
2173
|
return [4, parseBody(output.body, context)];
|
|
2536
2174
|
case 1:
|
|
2537
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2175
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2538
2176
|
errorCode = "UnknownError";
|
|
2539
2177
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2540
2178
|
_b = errorCode;
|
|
@@ -2551,46 +2189,24 @@ var deserializeAws_restJson1ListRecommendationsCommandError = function (output,
|
|
|
2551
2189
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
2552
2190
|
}
|
|
2553
2191
|
return [3, 12];
|
|
2554
|
-
case 2:
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
case
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
case 4
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
case
|
|
2564
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2565
|
-
return [3, 13];
|
|
2566
|
-
case 6:
|
|
2567
|
-
_e = [{}];
|
|
2568
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2569
|
-
case 7:
|
|
2570
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2571
|
-
return [3, 13];
|
|
2572
|
-
case 8:
|
|
2573
|
-
_f = [{}];
|
|
2574
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2575
|
-
case 9:
|
|
2576
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2577
|
-
return [3, 13];
|
|
2578
|
-
case 10:
|
|
2579
|
-
_g = [{}];
|
|
2580
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2581
|
-
case 11:
|
|
2582
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2583
|
-
return [3, 13];
|
|
2192
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2193
|
+
case 3: throw _d.sent();
|
|
2194
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2195
|
+
case 5: throw _d.sent();
|
|
2196
|
+
case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2197
|
+
case 7: throw _d.sent();
|
|
2198
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2199
|
+
case 9: throw _d.sent();
|
|
2200
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2201
|
+
case 11: throw _d.sent();
|
|
2584
2202
|
case 12:
|
|
2585
2203
|
parsedBody = parsedOutput.body;
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
response
|
|
2592
|
-
delete response.Message;
|
|
2593
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2204
|
+
response = new __BaseException({
|
|
2205
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2206
|
+
$fault: "client",
|
|
2207
|
+
$metadata: deserializeMetadata(output),
|
|
2208
|
+
});
|
|
2209
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2594
2210
|
}
|
|
2595
2211
|
});
|
|
2596
2212
|
}); };
|
|
@@ -2613,16 +2229,16 @@ export var deserializeAws_restJson1PutFeedbackCommand = function (output, contex
|
|
|
2613
2229
|
});
|
|
2614
2230
|
}); };
|
|
2615
2231
|
var deserializeAws_restJson1PutFeedbackCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2616
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2617
|
-
var
|
|
2618
|
-
return __generator(this, function (
|
|
2619
|
-
switch (
|
|
2232
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2233
|
+
var _c;
|
|
2234
|
+
return __generator(this, function (_d) {
|
|
2235
|
+
switch (_d.label) {
|
|
2620
2236
|
case 0:
|
|
2621
2237
|
_a = [__assign({}, output)];
|
|
2622
|
-
|
|
2238
|
+
_c = {};
|
|
2623
2239
|
return [4, parseBody(output.body, context)];
|
|
2624
2240
|
case 1:
|
|
2625
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2241
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2626
2242
|
errorCode = "UnknownError";
|
|
2627
2243
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2628
2244
|
_b = errorCode;
|
|
@@ -2641,52 +2257,26 @@ var deserializeAws_restJson1PutFeedbackCommandError = function (output, context)
|
|
|
2641
2257
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 12];
|
|
2642
2258
|
}
|
|
2643
2259
|
return [3, 14];
|
|
2644
|
-
case 2:
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
case
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
case 4
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
case
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
case 6:
|
|
2657
|
-
_e = [{}];
|
|
2658
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2659
|
-
case 7:
|
|
2660
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2661
|
-
return [3, 15];
|
|
2662
|
-
case 8:
|
|
2663
|
-
_f = [{}];
|
|
2664
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2665
|
-
case 9:
|
|
2666
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2667
|
-
return [3, 15];
|
|
2668
|
-
case 10:
|
|
2669
|
-
_g = [{}];
|
|
2670
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2671
|
-
case 11:
|
|
2672
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2673
|
-
return [3, 15];
|
|
2674
|
-
case 12:
|
|
2675
|
-
_h = [{}];
|
|
2676
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2677
|
-
case 13:
|
|
2678
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2679
|
-
return [3, 15];
|
|
2260
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2261
|
+
case 3: throw _d.sent();
|
|
2262
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
2263
|
+
case 5: throw _d.sent();
|
|
2264
|
+
case 6: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2265
|
+
case 7: throw _d.sent();
|
|
2266
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2267
|
+
case 9: throw _d.sent();
|
|
2268
|
+
case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2269
|
+
case 11: throw _d.sent();
|
|
2270
|
+
case 12: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2271
|
+
case 13: throw _d.sent();
|
|
2680
2272
|
case 14:
|
|
2681
2273
|
parsedBody = parsedOutput.body;
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
response
|
|
2688
|
-
delete response.Message;
|
|
2689
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2274
|
+
response = new __BaseException({
|
|
2275
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2276
|
+
$fault: "client",
|
|
2277
|
+
$metadata: deserializeMetadata(output),
|
|
2278
|
+
});
|
|
2279
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2690
2280
|
}
|
|
2691
2281
|
});
|
|
2692
2282
|
}); };
|
|
@@ -2709,16 +2299,16 @@ export var deserializeAws_restJson1RemoveNotificationChannelCommand = function (
|
|
|
2709
2299
|
});
|
|
2710
2300
|
}); };
|
|
2711
2301
|
var deserializeAws_restJson1RemoveNotificationChannelCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2712
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2713
|
-
var
|
|
2714
|
-
return __generator(this, function (
|
|
2715
|
-
switch (
|
|
2302
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2303
|
+
var _c;
|
|
2304
|
+
return __generator(this, function (_d) {
|
|
2305
|
+
switch (_d.label) {
|
|
2716
2306
|
case 0:
|
|
2717
2307
|
_a = [__assign({}, output)];
|
|
2718
|
-
|
|
2308
|
+
_c = {};
|
|
2719
2309
|
return [4, parseBody(output.body, context)];
|
|
2720
2310
|
case 1:
|
|
2721
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2311
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2722
2312
|
errorCode = "UnknownError";
|
|
2723
2313
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2724
2314
|
_b = errorCode;
|
|
@@ -2737,52 +2327,26 @@ var deserializeAws_restJson1RemoveNotificationChannelCommandError = function (ou
|
|
|
2737
2327
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 12];
|
|
2738
2328
|
}
|
|
2739
2329
|
return [3, 14];
|
|
2740
|
-
case 2:
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
case
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
case 4
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
case
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
case 6:
|
|
2753
|
-
_e = [{}];
|
|
2754
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2755
|
-
case 7:
|
|
2756
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2757
|
-
return [3, 15];
|
|
2758
|
-
case 8:
|
|
2759
|
-
_f = [{}];
|
|
2760
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2761
|
-
case 9:
|
|
2762
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2763
|
-
return [3, 15];
|
|
2764
|
-
case 10:
|
|
2765
|
-
_g = [{}];
|
|
2766
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2767
|
-
case 11:
|
|
2768
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2769
|
-
return [3, 15];
|
|
2770
|
-
case 12:
|
|
2771
|
-
_h = [{}];
|
|
2772
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2773
|
-
case 13:
|
|
2774
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2775
|
-
return [3, 15];
|
|
2330
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2331
|
+
case 3: throw _d.sent();
|
|
2332
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
2333
|
+
case 5: throw _d.sent();
|
|
2334
|
+
case 6: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2335
|
+
case 7: throw _d.sent();
|
|
2336
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2337
|
+
case 9: throw _d.sent();
|
|
2338
|
+
case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2339
|
+
case 11: throw _d.sent();
|
|
2340
|
+
case 12: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2341
|
+
case 13: throw _d.sent();
|
|
2776
2342
|
case 14:
|
|
2777
2343
|
parsedBody = parsedOutput.body;
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
response
|
|
2784
|
-
delete response.Message;
|
|
2785
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2344
|
+
response = new __BaseException({
|
|
2345
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2346
|
+
$fault: "client",
|
|
2347
|
+
$metadata: deserializeMetadata(output),
|
|
2348
|
+
});
|
|
2349
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2786
2350
|
}
|
|
2787
2351
|
});
|
|
2788
2352
|
}); };
|
|
@@ -2819,16 +2383,16 @@ export var deserializeAws_restJson1SearchInsightsCommand = function (output, con
|
|
|
2819
2383
|
});
|
|
2820
2384
|
}); };
|
|
2821
2385
|
var deserializeAws_restJson1SearchInsightsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2822
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2823
|
-
var
|
|
2824
|
-
return __generator(this, function (
|
|
2825
|
-
switch (
|
|
2386
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2387
|
+
var _c;
|
|
2388
|
+
return __generator(this, function (_d) {
|
|
2389
|
+
switch (_d.label) {
|
|
2826
2390
|
case 0:
|
|
2827
2391
|
_a = [__assign({}, output)];
|
|
2828
|
-
|
|
2392
|
+
_c = {};
|
|
2829
2393
|
return [4, parseBody(output.body, context)];
|
|
2830
2394
|
case 1:
|
|
2831
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2395
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2832
2396
|
errorCode = "UnknownError";
|
|
2833
2397
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2834
2398
|
_b = errorCode;
|
|
@@ -2843,40 +2407,22 @@ var deserializeAws_restJson1SearchInsightsCommandError = function (output, conte
|
|
|
2843
2407
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
2844
2408
|
}
|
|
2845
2409
|
return [3, 10];
|
|
2846
|
-
case 2:
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
case
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
case 4
|
|
2853
|
-
|
|
2854
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2855
|
-
case 5:
|
|
2856
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2857
|
-
return [3, 11];
|
|
2858
|
-
case 6:
|
|
2859
|
-
_e = [{}];
|
|
2860
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2861
|
-
case 7:
|
|
2862
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2863
|
-
return [3, 11];
|
|
2864
|
-
case 8:
|
|
2865
|
-
_f = [{}];
|
|
2866
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2867
|
-
case 9:
|
|
2868
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2869
|
-
return [3, 11];
|
|
2410
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2411
|
+
case 3: throw _d.sent();
|
|
2412
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2413
|
+
case 5: throw _d.sent();
|
|
2414
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2415
|
+
case 7: throw _d.sent();
|
|
2416
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2417
|
+
case 9: throw _d.sent();
|
|
2870
2418
|
case 10:
|
|
2871
2419
|
parsedBody = parsedOutput.body;
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
response
|
|
2878
|
-
delete response.Message;
|
|
2879
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2420
|
+
response = new __BaseException({
|
|
2421
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2422
|
+
$fault: "client",
|
|
2423
|
+
$metadata: deserializeMetadata(output),
|
|
2424
|
+
});
|
|
2425
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2880
2426
|
}
|
|
2881
2427
|
});
|
|
2882
2428
|
}); };
|
|
@@ -2913,16 +2459,16 @@ export var deserializeAws_restJson1SearchOrganizationInsightsCommand = function
|
|
|
2913
2459
|
});
|
|
2914
2460
|
}); };
|
|
2915
2461
|
var deserializeAws_restJson1SearchOrganizationInsightsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2916
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2917
|
-
var
|
|
2918
|
-
return __generator(this, function (
|
|
2919
|
-
switch (
|
|
2462
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2463
|
+
var _c;
|
|
2464
|
+
return __generator(this, function (_d) {
|
|
2465
|
+
switch (_d.label) {
|
|
2920
2466
|
case 0:
|
|
2921
2467
|
_a = [__assign({}, output)];
|
|
2922
|
-
|
|
2468
|
+
_c = {};
|
|
2923
2469
|
return [4, parseBody(output.body, context)];
|
|
2924
2470
|
case 1:
|
|
2925
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2471
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2926
2472
|
errorCode = "UnknownError";
|
|
2927
2473
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2928
2474
|
_b = errorCode;
|
|
@@ -2937,40 +2483,22 @@ var deserializeAws_restJson1SearchOrganizationInsightsCommandError = function (o
|
|
|
2937
2483
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 8];
|
|
2938
2484
|
}
|
|
2939
2485
|
return [3, 10];
|
|
2940
|
-
case 2:
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
case
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
case 4
|
|
2947
|
-
|
|
2948
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2949
|
-
case 5:
|
|
2950
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2951
|
-
return [3, 11];
|
|
2952
|
-
case 6:
|
|
2953
|
-
_e = [{}];
|
|
2954
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2955
|
-
case 7:
|
|
2956
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2957
|
-
return [3, 11];
|
|
2958
|
-
case 8:
|
|
2959
|
-
_f = [{}];
|
|
2960
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2961
|
-
case 9:
|
|
2962
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2963
|
-
return [3, 11];
|
|
2486
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2487
|
+
case 3: throw _d.sent();
|
|
2488
|
+
case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2489
|
+
case 5: throw _d.sent();
|
|
2490
|
+
case 6: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2491
|
+
case 7: throw _d.sent();
|
|
2492
|
+
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2493
|
+
case 9: throw _d.sent();
|
|
2964
2494
|
case 10:
|
|
2965
2495
|
parsedBody = parsedOutput.body;
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
response
|
|
2972
|
-
delete response.Message;
|
|
2973
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2496
|
+
response = new __BaseException({
|
|
2497
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2498
|
+
$fault: "client",
|
|
2499
|
+
$metadata: deserializeMetadata(output),
|
|
2500
|
+
});
|
|
2501
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2974
2502
|
}
|
|
2975
2503
|
});
|
|
2976
2504
|
}); };
|
|
@@ -2993,16 +2521,16 @@ export var deserializeAws_restJson1StartCostEstimationCommand = function (output
|
|
|
2993
2521
|
});
|
|
2994
2522
|
}); };
|
|
2995
2523
|
var deserializeAws_restJson1StartCostEstimationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2996
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2997
|
-
var
|
|
2998
|
-
return __generator(this, function (
|
|
2999
|
-
switch (
|
|
2524
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2525
|
+
var _c;
|
|
2526
|
+
return __generator(this, function (_d) {
|
|
2527
|
+
switch (_d.label) {
|
|
3000
2528
|
case 0:
|
|
3001
2529
|
_a = [__assign({}, output)];
|
|
3002
|
-
|
|
2530
|
+
_c = {};
|
|
3003
2531
|
return [4, parseBody(output.body, context)];
|
|
3004
2532
|
case 1:
|
|
3005
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2533
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3006
2534
|
errorCode = "UnknownError";
|
|
3007
2535
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3008
2536
|
_b = errorCode;
|
|
@@ -3021,52 +2549,26 @@ var deserializeAws_restJson1StartCostEstimationCommandError = function (output,
|
|
|
3021
2549
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 12];
|
|
3022
2550
|
}
|
|
3023
2551
|
return [3, 14];
|
|
3024
|
-
case 2:
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
case
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
case 4
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
case
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
case 6:
|
|
3037
|
-
_e = [{}];
|
|
3038
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
3039
|
-
case 7:
|
|
3040
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3041
|
-
return [3, 15];
|
|
3042
|
-
case 8:
|
|
3043
|
-
_f = [{}];
|
|
3044
|
-
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
3045
|
-
case 9:
|
|
3046
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3047
|
-
return [3, 15];
|
|
3048
|
-
case 10:
|
|
3049
|
-
_g = [{}];
|
|
3050
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
3051
|
-
case 11:
|
|
3052
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3053
|
-
return [3, 15];
|
|
3054
|
-
case 12:
|
|
3055
|
-
_h = [{}];
|
|
3056
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
3057
|
-
case 13:
|
|
3058
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3059
|
-
return [3, 15];
|
|
2552
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2553
|
+
case 3: throw _d.sent();
|
|
2554
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
2555
|
+
case 5: throw _d.sent();
|
|
2556
|
+
case 6: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2557
|
+
case 7: throw _d.sent();
|
|
2558
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2559
|
+
case 9: throw _d.sent();
|
|
2560
|
+
case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2561
|
+
case 11: throw _d.sent();
|
|
2562
|
+
case 12: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2563
|
+
case 13: throw _d.sent();
|
|
3060
2564
|
case 14:
|
|
3061
2565
|
parsedBody = parsedOutput.body;
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
response
|
|
3068
|
-
delete response.Message;
|
|
3069
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2566
|
+
response = new __BaseException({
|
|
2567
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2568
|
+
$fault: "client",
|
|
2569
|
+
$metadata: deserializeMetadata(output),
|
|
2570
|
+
});
|
|
2571
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3070
2572
|
}
|
|
3071
2573
|
});
|
|
3072
2574
|
}); };
|
|
@@ -3089,16 +2591,16 @@ export var deserializeAws_restJson1UpdateResourceCollectionCommand = function (o
|
|
|
3089
2591
|
});
|
|
3090
2592
|
}); };
|
|
3091
2593
|
var deserializeAws_restJson1UpdateResourceCollectionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3092
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
3093
|
-
var
|
|
3094
|
-
return __generator(this, function (
|
|
3095
|
-
switch (
|
|
2594
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2595
|
+
var _c;
|
|
2596
|
+
return __generator(this, function (_d) {
|
|
2597
|
+
switch (_d.label) {
|
|
3096
2598
|
case 0:
|
|
3097
2599
|
_a = [__assign({}, output)];
|
|
3098
|
-
|
|
2600
|
+
_c = {};
|
|
3099
2601
|
return [4, parseBody(output.body, context)];
|
|
3100
2602
|
case 1:
|
|
3101
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2603
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3102
2604
|
errorCode = "UnknownError";
|
|
3103
2605
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3104
2606
|
_b = errorCode;
|
|
@@ -3115,46 +2617,24 @@ var deserializeAws_restJson1UpdateResourceCollectionCommandError = function (out
|
|
|
3115
2617
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
3116
2618
|
}
|
|
3117
2619
|
return [3, 12];
|
|
3118
|
-
case 2:
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
case
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
case 4
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
case
|
|
3128
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3129
|
-
return [3, 13];
|
|
3130
|
-
case 6:
|
|
3131
|
-
_e = [{}];
|
|
3132
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
3133
|
-
case 7:
|
|
3134
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3135
|
-
return [3, 13];
|
|
3136
|
-
case 8:
|
|
3137
|
-
_f = [{}];
|
|
3138
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
3139
|
-
case 9:
|
|
3140
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3141
|
-
return [3, 13];
|
|
3142
|
-
case 10:
|
|
3143
|
-
_g = [{}];
|
|
3144
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
3145
|
-
case 11:
|
|
3146
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3147
|
-
return [3, 13];
|
|
2620
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2621
|
+
case 3: throw _d.sent();
|
|
2622
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
2623
|
+
case 5: throw _d.sent();
|
|
2624
|
+
case 6: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2625
|
+
case 7: throw _d.sent();
|
|
2626
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2627
|
+
case 9: throw _d.sent();
|
|
2628
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2629
|
+
case 11: throw _d.sent();
|
|
3148
2630
|
case 12:
|
|
3149
2631
|
parsedBody = parsedOutput.body;
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
response
|
|
3156
|
-
delete response.Message;
|
|
3157
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2632
|
+
response = new __BaseException({
|
|
2633
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2634
|
+
$fault: "client",
|
|
2635
|
+
$metadata: deserializeMetadata(output),
|
|
2636
|
+
});
|
|
2637
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3158
2638
|
}
|
|
3159
2639
|
});
|
|
3160
2640
|
}); };
|
|
@@ -3177,16 +2657,16 @@ export var deserializeAws_restJson1UpdateServiceIntegrationCommand = function (o
|
|
|
3177
2657
|
});
|
|
3178
2658
|
}); };
|
|
3179
2659
|
var deserializeAws_restJson1UpdateServiceIntegrationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3180
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
3181
|
-
var
|
|
3182
|
-
return __generator(this, function (
|
|
3183
|
-
switch (
|
|
2660
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2661
|
+
var _c;
|
|
2662
|
+
return __generator(this, function (_d) {
|
|
2663
|
+
switch (_d.label) {
|
|
3184
2664
|
case 0:
|
|
3185
2665
|
_a = [__assign({}, output)];
|
|
3186
|
-
|
|
2666
|
+
_c = {};
|
|
3187
2667
|
return [4, parseBody(output.body, context)];
|
|
3188
2668
|
case 1:
|
|
3189
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2669
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3190
2670
|
errorCode = "UnknownError";
|
|
3191
2671
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3192
2672
|
_b = errorCode;
|
|
@@ -3203,76 +2683,43 @@ var deserializeAws_restJson1UpdateServiceIntegrationCommandError = function (out
|
|
|
3203
2683
|
case "com.amazonaws.devopsguru#ValidationException": return [3, 10];
|
|
3204
2684
|
}
|
|
3205
2685
|
return [3, 12];
|
|
3206
|
-
case 2:
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
case
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
case 4
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
case
|
|
3216
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3217
|
-
return [3, 13];
|
|
3218
|
-
case 6:
|
|
3219
|
-
_e = [{}];
|
|
3220
|
-
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
3221
|
-
case 7:
|
|
3222
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3223
|
-
return [3, 13];
|
|
3224
|
-
case 8:
|
|
3225
|
-
_f = [{}];
|
|
3226
|
-
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
3227
|
-
case 9:
|
|
3228
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3229
|
-
return [3, 13];
|
|
3230
|
-
case 10:
|
|
3231
|
-
_g = [{}];
|
|
3232
|
-
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
3233
|
-
case 11:
|
|
3234
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3235
|
-
return [3, 13];
|
|
2686
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2687
|
+
case 3: throw _d.sent();
|
|
2688
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
2689
|
+
case 5: throw _d.sent();
|
|
2690
|
+
case 6: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2691
|
+
case 7: throw _d.sent();
|
|
2692
|
+
case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
2693
|
+
case 9: throw _d.sent();
|
|
2694
|
+
case 10: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2695
|
+
case 11: throw _d.sent();
|
|
3236
2696
|
case 12:
|
|
3237
2697
|
parsedBody = parsedOutput.body;
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
response
|
|
3244
|
-
delete response.Message;
|
|
3245
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2698
|
+
response = new __BaseException({
|
|
2699
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2700
|
+
$fault: "client",
|
|
2701
|
+
$metadata: deserializeMetadata(output),
|
|
2702
|
+
});
|
|
2703
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3246
2704
|
}
|
|
3247
2705
|
});
|
|
3248
2706
|
}); };
|
|
3249
2707
|
var deserializeAws_restJson1AccessDeniedExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3250
|
-
var contents, data;
|
|
2708
|
+
var contents, data, exception;
|
|
3251
2709
|
return __generator(this, function (_a) {
|
|
3252
|
-
contents = {
|
|
3253
|
-
name: "AccessDeniedException",
|
|
3254
|
-
$fault: "client",
|
|
3255
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3256
|
-
Message: undefined,
|
|
3257
|
-
};
|
|
2710
|
+
contents = {};
|
|
3258
2711
|
data = parsedOutput.body;
|
|
3259
2712
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3260
2713
|
contents.Message = __expectString(data.Message);
|
|
3261
2714
|
}
|
|
3262
|
-
|
|
2715
|
+
exception = new AccessDeniedException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
2716
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
3263
2717
|
});
|
|
3264
2718
|
}); };
|
|
3265
2719
|
var deserializeAws_restJson1ConflictExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3266
|
-
var contents, data;
|
|
2720
|
+
var contents, data, exception;
|
|
3267
2721
|
return __generator(this, function (_a) {
|
|
3268
|
-
contents = {
|
|
3269
|
-
name: "ConflictException",
|
|
3270
|
-
$fault: "client",
|
|
3271
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3272
|
-
Message: undefined,
|
|
3273
|
-
ResourceId: undefined,
|
|
3274
|
-
ResourceType: undefined,
|
|
3275
|
-
};
|
|
2722
|
+
contents = {};
|
|
3276
2723
|
data = parsedOutput.body;
|
|
3277
2724
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3278
2725
|
contents.Message = __expectString(data.Message);
|
|
@@ -3283,19 +2730,14 @@ var deserializeAws_restJson1ConflictExceptionResponse = function (parsedOutput,
|
|
|
3283
2730
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
3284
2731
|
contents.ResourceType = __expectString(data.ResourceType);
|
|
3285
2732
|
}
|
|
3286
|
-
|
|
2733
|
+
exception = new ConflictException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
2734
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
3287
2735
|
});
|
|
3288
2736
|
}); };
|
|
3289
2737
|
var deserializeAws_restJson1InternalServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3290
|
-
var contents, data;
|
|
2738
|
+
var contents, data, exception;
|
|
3291
2739
|
return __generator(this, function (_a) {
|
|
3292
|
-
contents = {
|
|
3293
|
-
name: "InternalServerException",
|
|
3294
|
-
$fault: "server",
|
|
3295
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3296
|
-
Message: undefined,
|
|
3297
|
-
RetryAfterSeconds: undefined,
|
|
3298
|
-
};
|
|
2740
|
+
contents = {};
|
|
3299
2741
|
if (parsedOutput.headers["retry-after"] !== undefined) {
|
|
3300
2742
|
contents.RetryAfterSeconds = __strictParseInt32(parsedOutput.headers["retry-after"]);
|
|
3301
2743
|
}
|
|
@@ -3303,20 +2745,14 @@ var deserializeAws_restJson1InternalServerExceptionResponse = function (parsedOu
|
|
|
3303
2745
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3304
2746
|
contents.Message = __expectString(data.Message);
|
|
3305
2747
|
}
|
|
3306
|
-
|
|
2748
|
+
exception = new InternalServerException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
2749
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
3307
2750
|
});
|
|
3308
2751
|
}); };
|
|
3309
2752
|
var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3310
|
-
var contents, data;
|
|
2753
|
+
var contents, data, exception;
|
|
3311
2754
|
return __generator(this, function (_a) {
|
|
3312
|
-
contents = {
|
|
3313
|
-
name: "ResourceNotFoundException",
|
|
3314
|
-
$fault: "client",
|
|
3315
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3316
|
-
Message: undefined,
|
|
3317
|
-
ResourceId: undefined,
|
|
3318
|
-
ResourceType: undefined,
|
|
3319
|
-
};
|
|
2755
|
+
contents = {};
|
|
3320
2756
|
data = parsedOutput.body;
|
|
3321
2757
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3322
2758
|
contents.Message = __expectString(data.Message);
|
|
@@ -3327,37 +2763,26 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
|
|
|
3327
2763
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
3328
2764
|
contents.ResourceType = __expectString(data.ResourceType);
|
|
3329
2765
|
}
|
|
3330
|
-
|
|
2766
|
+
exception = new ResourceNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
2767
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
3331
2768
|
});
|
|
3332
2769
|
}); };
|
|
3333
2770
|
var deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3334
|
-
var contents, data;
|
|
2771
|
+
var contents, data, exception;
|
|
3335
2772
|
return __generator(this, function (_a) {
|
|
3336
|
-
contents = {
|
|
3337
|
-
name: "ServiceQuotaExceededException",
|
|
3338
|
-
$fault: "client",
|
|
3339
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3340
|
-
Message: undefined,
|
|
3341
|
-
};
|
|
2773
|
+
contents = {};
|
|
3342
2774
|
data = parsedOutput.body;
|
|
3343
2775
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3344
2776
|
contents.Message = __expectString(data.Message);
|
|
3345
2777
|
}
|
|
3346
|
-
|
|
2778
|
+
exception = new ServiceQuotaExceededException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
2779
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
3347
2780
|
});
|
|
3348
2781
|
}); };
|
|
3349
2782
|
var deserializeAws_restJson1ThrottlingExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3350
|
-
var contents, data;
|
|
2783
|
+
var contents, data, exception;
|
|
3351
2784
|
return __generator(this, function (_a) {
|
|
3352
|
-
contents = {
|
|
3353
|
-
name: "ThrottlingException",
|
|
3354
|
-
$fault: "client",
|
|
3355
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3356
|
-
Message: undefined,
|
|
3357
|
-
QuotaCode: undefined,
|
|
3358
|
-
RetryAfterSeconds: undefined,
|
|
3359
|
-
ServiceCode: undefined,
|
|
3360
|
-
};
|
|
2785
|
+
contents = {};
|
|
3361
2786
|
if (parsedOutput.headers["retry-after"] !== undefined) {
|
|
3362
2787
|
contents.RetryAfterSeconds = __strictParseInt32(parsedOutput.headers["retry-after"]);
|
|
3363
2788
|
}
|
|
@@ -3371,20 +2796,14 @@ var deserializeAws_restJson1ThrottlingExceptionResponse = function (parsedOutput
|
|
|
3371
2796
|
if (data.ServiceCode !== undefined && data.ServiceCode !== null) {
|
|
3372
2797
|
contents.ServiceCode = __expectString(data.ServiceCode);
|
|
3373
2798
|
}
|
|
3374
|
-
|
|
2799
|
+
exception = new ThrottlingException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
2800
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
3375
2801
|
});
|
|
3376
2802
|
}); };
|
|
3377
2803
|
var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3378
|
-
var contents, data;
|
|
2804
|
+
var contents, data, exception;
|
|
3379
2805
|
return __generator(this, function (_a) {
|
|
3380
|
-
contents = {
|
|
3381
|
-
name: "ValidationException",
|
|
3382
|
-
$fault: "client",
|
|
3383
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3384
|
-
Fields: undefined,
|
|
3385
|
-
Message: undefined,
|
|
3386
|
-
Reason: undefined,
|
|
3387
|
-
};
|
|
2806
|
+
contents = {};
|
|
3388
2807
|
data = parsedOutput.body;
|
|
3389
2808
|
if (data.Fields !== undefined && data.Fields !== null) {
|
|
3390
2809
|
contents.Fields = deserializeAws_restJson1ValidationExceptionFields(data.Fields, context);
|
|
@@ -3395,7 +2814,8 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
|
|
|
3395
2814
|
if (data.Reason !== undefined && data.Reason !== null) {
|
|
3396
2815
|
contents.Reason = __expectString(data.Reason);
|
|
3397
2816
|
}
|
|
3398
|
-
|
|
2817
|
+
exception = new ValidationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
2818
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
3399
2819
|
});
|
|
3400
2820
|
}); };
|
|
3401
2821
|
var serializeAws_restJson1AccountIdList = function (input, context) {
|
|
@@ -3718,7 +3138,7 @@ var deserializeAws_restJson1AccountHealth = function (output, context) {
|
|
|
3718
3138
|
};
|
|
3719
3139
|
};
|
|
3720
3140
|
var deserializeAws_restJson1AccountHealths = function (output, context) {
|
|
3721
|
-
|
|
3141
|
+
var retVal = (output || [])
|
|
3722
3142
|
.filter(function (e) { return e != null; })
|
|
3723
3143
|
.map(function (entry) {
|
|
3724
3144
|
if (entry === null) {
|
|
@@ -3726,6 +3146,7 @@ var deserializeAws_restJson1AccountHealths = function (output, context) {
|
|
|
3726
3146
|
}
|
|
3727
3147
|
return deserializeAws_restJson1AccountHealth(entry, context);
|
|
3728
3148
|
});
|
|
3149
|
+
return retVal;
|
|
3729
3150
|
};
|
|
3730
3151
|
var deserializeAws_restJson1AccountInsightHealth = function (output, context) {
|
|
3731
3152
|
return {
|
|
@@ -3750,7 +3171,7 @@ var deserializeAws_restJson1AnomalyResource = function (output, context) {
|
|
|
3750
3171
|
};
|
|
3751
3172
|
};
|
|
3752
3173
|
var deserializeAws_restJson1AnomalyResources = function (output, context) {
|
|
3753
|
-
|
|
3174
|
+
var retVal = (output || [])
|
|
3754
3175
|
.filter(function (e) { return e != null; })
|
|
3755
3176
|
.map(function (entry) {
|
|
3756
3177
|
if (entry === null) {
|
|
@@ -3758,6 +3179,7 @@ var deserializeAws_restJson1AnomalyResources = function (output, context) {
|
|
|
3758
3179
|
}
|
|
3759
3180
|
return deserializeAws_restJson1AnomalyResource(entry, context);
|
|
3760
3181
|
});
|
|
3182
|
+
return retVal;
|
|
3761
3183
|
};
|
|
3762
3184
|
var deserializeAws_restJson1AnomalySourceDetails = function (output, context) {
|
|
3763
3185
|
return {
|
|
@@ -3780,7 +3202,7 @@ var deserializeAws_restJson1AnomalyTimeRange = function (output, context) {
|
|
|
3780
3202
|
};
|
|
3781
3203
|
};
|
|
3782
3204
|
var deserializeAws_restJson1AssociatedResourceArns = function (output, context) {
|
|
3783
|
-
|
|
3205
|
+
var retVal = (output || [])
|
|
3784
3206
|
.filter(function (e) { return e != null; })
|
|
3785
3207
|
.map(function (entry) {
|
|
3786
3208
|
if (entry === null) {
|
|
@@ -3788,9 +3210,10 @@ var deserializeAws_restJson1AssociatedResourceArns = function (output, context)
|
|
|
3788
3210
|
}
|
|
3789
3211
|
return __expectString(entry);
|
|
3790
3212
|
});
|
|
3213
|
+
return retVal;
|
|
3791
3214
|
};
|
|
3792
3215
|
var deserializeAws_restJson1Channels = function (output, context) {
|
|
3793
|
-
|
|
3216
|
+
var retVal = (output || [])
|
|
3794
3217
|
.filter(function (e) { return e != null; })
|
|
3795
3218
|
.map(function (entry) {
|
|
3796
3219
|
if (entry === null) {
|
|
@@ -3798,6 +3221,7 @@ var deserializeAws_restJson1Channels = function (output, context) {
|
|
|
3798
3221
|
}
|
|
3799
3222
|
return deserializeAws_restJson1NotificationChannel(entry, context);
|
|
3800
3223
|
});
|
|
3224
|
+
return retVal;
|
|
3801
3225
|
};
|
|
3802
3226
|
var deserializeAws_restJson1CloudFormationCollection = function (output, context) {
|
|
3803
3227
|
return {
|
|
@@ -3829,7 +3253,7 @@ var deserializeAws_restJson1CloudFormationHealth = function (output, context) {
|
|
|
3829
3253
|
};
|
|
3830
3254
|
};
|
|
3831
3255
|
var deserializeAws_restJson1CloudFormationHealths = function (output, context) {
|
|
3832
|
-
|
|
3256
|
+
var retVal = (output || [])
|
|
3833
3257
|
.filter(function (e) { return e != null; })
|
|
3834
3258
|
.map(function (entry) {
|
|
3835
3259
|
if (entry === null) {
|
|
@@ -3837,6 +3261,7 @@ var deserializeAws_restJson1CloudFormationHealths = function (output, context) {
|
|
|
3837
3261
|
}
|
|
3838
3262
|
return deserializeAws_restJson1CloudFormationHealth(entry, context);
|
|
3839
3263
|
});
|
|
3264
|
+
return retVal;
|
|
3840
3265
|
};
|
|
3841
3266
|
var deserializeAws_restJson1CloudWatchMetricsDataSummary = function (output, context) {
|
|
3842
3267
|
return {
|
|
@@ -3862,7 +3287,7 @@ var deserializeAws_restJson1CloudWatchMetricsDetail = function (output, context)
|
|
|
3862
3287
|
};
|
|
3863
3288
|
};
|
|
3864
3289
|
var deserializeAws_restJson1CloudWatchMetricsDetails = function (output, context) {
|
|
3865
|
-
|
|
3290
|
+
var retVal = (output || [])
|
|
3866
3291
|
.filter(function (e) { return e != null; })
|
|
3867
3292
|
.map(function (entry) {
|
|
3868
3293
|
if (entry === null) {
|
|
@@ -3870,6 +3295,7 @@ var deserializeAws_restJson1CloudWatchMetricsDetails = function (output, context
|
|
|
3870
3295
|
}
|
|
3871
3296
|
return deserializeAws_restJson1CloudWatchMetricsDetail(entry, context);
|
|
3872
3297
|
});
|
|
3298
|
+
return retVal;
|
|
3873
3299
|
};
|
|
3874
3300
|
var deserializeAws_restJson1CloudWatchMetricsDimension = function (output, context) {
|
|
3875
3301
|
return {
|
|
@@ -3878,7 +3304,7 @@ var deserializeAws_restJson1CloudWatchMetricsDimension = function (output, conte
|
|
|
3878
3304
|
};
|
|
3879
3305
|
};
|
|
3880
3306
|
var deserializeAws_restJson1CloudWatchMetricsDimensions = function (output, context) {
|
|
3881
|
-
|
|
3307
|
+
var retVal = (output || [])
|
|
3882
3308
|
.filter(function (e) { return e != null; })
|
|
3883
3309
|
.map(function (entry) {
|
|
3884
3310
|
if (entry === null) {
|
|
@@ -3886,6 +3312,7 @@ var deserializeAws_restJson1CloudWatchMetricsDimensions = function (output, cont
|
|
|
3886
3312
|
}
|
|
3887
3313
|
return deserializeAws_restJson1CloudWatchMetricsDimension(entry, context);
|
|
3888
3314
|
});
|
|
3315
|
+
return retVal;
|
|
3889
3316
|
};
|
|
3890
3317
|
var deserializeAws_restJson1CostEstimationResourceCollectionFilter = function (output, context) {
|
|
3891
3318
|
return {
|
|
@@ -3898,7 +3325,7 @@ var deserializeAws_restJson1CostEstimationResourceCollectionFilter = function (o
|
|
|
3898
3325
|
};
|
|
3899
3326
|
};
|
|
3900
3327
|
var deserializeAws_restJson1CostEstimationStackNames = function (output, context) {
|
|
3901
|
-
|
|
3328
|
+
var retVal = (output || [])
|
|
3902
3329
|
.filter(function (e) { return e != null; })
|
|
3903
3330
|
.map(function (entry) {
|
|
3904
3331
|
if (entry === null) {
|
|
@@ -3906,9 +3333,10 @@ var deserializeAws_restJson1CostEstimationStackNames = function (output, context
|
|
|
3906
3333
|
}
|
|
3907
3334
|
return __expectString(entry);
|
|
3908
3335
|
});
|
|
3336
|
+
return retVal;
|
|
3909
3337
|
};
|
|
3910
3338
|
var deserializeAws_restJson1CostEstimationTagValues = function (output, context) {
|
|
3911
|
-
|
|
3339
|
+
var retVal = (output || [])
|
|
3912
3340
|
.filter(function (e) { return e != null; })
|
|
3913
3341
|
.map(function (entry) {
|
|
3914
3342
|
if (entry === null) {
|
|
@@ -3916,6 +3344,7 @@ var deserializeAws_restJson1CostEstimationTagValues = function (output, context)
|
|
|
3916
3344
|
}
|
|
3917
3345
|
return __expectString(entry);
|
|
3918
3346
|
});
|
|
3347
|
+
return retVal;
|
|
3919
3348
|
};
|
|
3920
3349
|
var deserializeAws_restJson1CostEstimationTimeRange = function (output, context) {
|
|
3921
3350
|
return {
|
|
@@ -3953,7 +3382,7 @@ var deserializeAws_restJson1EventResource = function (output, context) {
|
|
|
3953
3382
|
};
|
|
3954
3383
|
};
|
|
3955
3384
|
var deserializeAws_restJson1EventResources = function (output, context) {
|
|
3956
|
-
|
|
3385
|
+
var retVal = (output || [])
|
|
3957
3386
|
.filter(function (e) { return e != null; })
|
|
3958
3387
|
.map(function (entry) {
|
|
3959
3388
|
if (entry === null) {
|
|
@@ -3961,9 +3390,10 @@ var deserializeAws_restJson1EventResources = function (output, context) {
|
|
|
3961
3390
|
}
|
|
3962
3391
|
return deserializeAws_restJson1EventResource(entry, context);
|
|
3963
3392
|
});
|
|
3393
|
+
return retVal;
|
|
3964
3394
|
};
|
|
3965
3395
|
var deserializeAws_restJson1Events = function (output, context) {
|
|
3966
|
-
|
|
3396
|
+
var retVal = (output || [])
|
|
3967
3397
|
.filter(function (e) { return e != null; })
|
|
3968
3398
|
.map(function (entry) {
|
|
3969
3399
|
if (entry === null) {
|
|
@@ -3971,6 +3401,7 @@ var deserializeAws_restJson1Events = function (output, context) {
|
|
|
3971
3401
|
}
|
|
3972
3402
|
return deserializeAws_restJson1Event(entry, context);
|
|
3973
3403
|
});
|
|
3404
|
+
return retVal;
|
|
3974
3405
|
};
|
|
3975
3406
|
var deserializeAws_restJson1InsightFeedback = function (output, context) {
|
|
3976
3407
|
return {
|
|
@@ -4025,7 +3456,7 @@ var deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup = function (
|
|
|
4025
3456
|
};
|
|
4026
3457
|
};
|
|
4027
3458
|
var deserializeAws_restJson1PerformanceInsightsMetricDimensions = function (output, context) {
|
|
4028
|
-
|
|
3459
|
+
var retVal = (output || [])
|
|
4029
3460
|
.filter(function (e) { return e != null; })
|
|
4030
3461
|
.map(function (entry) {
|
|
4031
3462
|
if (entry === null) {
|
|
@@ -4033,6 +3464,7 @@ var deserializeAws_restJson1PerformanceInsightsMetricDimensions = function (outp
|
|
|
4033
3464
|
}
|
|
4034
3465
|
return __expectString(entry);
|
|
4035
3466
|
});
|
|
3467
|
+
return retVal;
|
|
4036
3468
|
};
|
|
4037
3469
|
var deserializeAws_restJson1PerformanceInsightsMetricFilterMap = function (output, context) {
|
|
4038
3470
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
@@ -4074,7 +3506,7 @@ var deserializeAws_restJson1PerformanceInsightsMetricsDetail = function (output,
|
|
|
4074
3506
|
};
|
|
4075
3507
|
};
|
|
4076
3508
|
var deserializeAws_restJson1PerformanceInsightsMetricsDetails = function (output, context) {
|
|
4077
|
-
|
|
3509
|
+
var retVal = (output || [])
|
|
4078
3510
|
.filter(function (e) { return e != null; })
|
|
4079
3511
|
.map(function (entry) {
|
|
4080
3512
|
if (entry === null) {
|
|
@@ -4082,6 +3514,7 @@ var deserializeAws_restJson1PerformanceInsightsMetricsDetails = function (output
|
|
|
4082
3514
|
}
|
|
4083
3515
|
return deserializeAws_restJson1PerformanceInsightsMetricsDetail(entry, context);
|
|
4084
3516
|
});
|
|
3517
|
+
return retVal;
|
|
4085
3518
|
};
|
|
4086
3519
|
var deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues = function (output, context) {
|
|
4087
3520
|
return {
|
|
@@ -4102,7 +3535,7 @@ var deserializeAws_restJson1PerformanceInsightsReferenceData = function (output,
|
|
|
4102
3535
|
};
|
|
4103
3536
|
};
|
|
4104
3537
|
var deserializeAws_restJson1PerformanceInsightsReferenceDataList = function (output, context) {
|
|
4105
|
-
|
|
3538
|
+
var retVal = (output || [])
|
|
4106
3539
|
.filter(function (e) { return e != null; })
|
|
4107
3540
|
.map(function (entry) {
|
|
4108
3541
|
if (entry === null) {
|
|
@@ -4110,6 +3543,7 @@ var deserializeAws_restJson1PerformanceInsightsReferenceDataList = function (out
|
|
|
4110
3543
|
}
|
|
4111
3544
|
return deserializeAws_restJson1PerformanceInsightsReferenceData(entry, context);
|
|
4112
3545
|
});
|
|
3546
|
+
return retVal;
|
|
4113
3547
|
};
|
|
4114
3548
|
var deserializeAws_restJson1PerformanceInsightsReferenceMetric = function (output, context) {
|
|
4115
3549
|
return {
|
|
@@ -4130,7 +3564,7 @@ var deserializeAws_restJson1PerformanceInsightsStat = function (output, context)
|
|
|
4130
3564
|
};
|
|
4131
3565
|
};
|
|
4132
3566
|
var deserializeAws_restJson1PerformanceInsightsStats = function (output, context) {
|
|
4133
|
-
|
|
3567
|
+
var retVal = (output || [])
|
|
4134
3568
|
.filter(function (e) { return e != null; })
|
|
4135
3569
|
.map(function (entry) {
|
|
4136
3570
|
if (entry === null) {
|
|
@@ -4138,6 +3572,7 @@ var deserializeAws_restJson1PerformanceInsightsStats = function (output, context
|
|
|
4138
3572
|
}
|
|
4139
3573
|
return deserializeAws_restJson1PerformanceInsightsStat(entry, context);
|
|
4140
3574
|
});
|
|
3575
|
+
return retVal;
|
|
4141
3576
|
};
|
|
4142
3577
|
var deserializeAws_restJson1PredictionTimeRange = function (output, context) {
|
|
4143
3578
|
return {
|
|
@@ -4150,7 +3585,7 @@ var deserializeAws_restJson1PredictionTimeRange = function (output, context) {
|
|
|
4150
3585
|
};
|
|
4151
3586
|
};
|
|
4152
3587
|
var deserializeAws_restJson1ProactiveAnomalies = function (output, context) {
|
|
4153
|
-
|
|
3588
|
+
var retVal = (output || [])
|
|
4154
3589
|
.filter(function (e) { return e != null; })
|
|
4155
3590
|
.map(function (entry) {
|
|
4156
3591
|
if (entry === null) {
|
|
@@ -4158,6 +3593,7 @@ var deserializeAws_restJson1ProactiveAnomalies = function (output, context) {
|
|
|
4158
3593
|
}
|
|
4159
3594
|
return deserializeAws_restJson1ProactiveAnomalySummary(entry, context);
|
|
4160
3595
|
});
|
|
3596
|
+
return retVal;
|
|
4161
3597
|
};
|
|
4162
3598
|
var deserializeAws_restJson1ProactiveAnomaly = function (output, context) {
|
|
4163
3599
|
return {
|
|
@@ -4232,7 +3668,7 @@ var deserializeAws_restJson1ProactiveInsight = function (output, context) {
|
|
|
4232
3668
|
};
|
|
4233
3669
|
};
|
|
4234
3670
|
var deserializeAws_restJson1ProactiveInsights = function (output, context) {
|
|
4235
|
-
|
|
3671
|
+
var retVal = (output || [])
|
|
4236
3672
|
.filter(function (e) { return e != null; })
|
|
4237
3673
|
.map(function (entry) {
|
|
4238
3674
|
if (entry === null) {
|
|
@@ -4240,6 +3676,7 @@ var deserializeAws_restJson1ProactiveInsights = function (output, context) {
|
|
|
4240
3676
|
}
|
|
4241
3677
|
return deserializeAws_restJson1ProactiveInsightSummary(entry, context);
|
|
4242
3678
|
});
|
|
3679
|
+
return retVal;
|
|
4243
3680
|
};
|
|
4244
3681
|
var deserializeAws_restJson1ProactiveInsightSummary = function (output, context) {
|
|
4245
3682
|
return {
|
|
@@ -4265,7 +3702,7 @@ var deserializeAws_restJson1ProactiveInsightSummary = function (output, context)
|
|
|
4265
3702
|
};
|
|
4266
3703
|
};
|
|
4267
3704
|
var deserializeAws_restJson1ProactiveOrganizationInsights = function (output, context) {
|
|
4268
|
-
|
|
3705
|
+
var retVal = (output || [])
|
|
4269
3706
|
.filter(function (e) { return e != null; })
|
|
4270
3707
|
.map(function (entry) {
|
|
4271
3708
|
if (entry === null) {
|
|
@@ -4273,6 +3710,7 @@ var deserializeAws_restJson1ProactiveOrganizationInsights = function (output, co
|
|
|
4273
3710
|
}
|
|
4274
3711
|
return deserializeAws_restJson1ProactiveOrganizationInsightSummary(entry, context);
|
|
4275
3712
|
});
|
|
3713
|
+
return retVal;
|
|
4276
3714
|
};
|
|
4277
3715
|
var deserializeAws_restJson1ProactiveOrganizationInsightSummary = function (output, context) {
|
|
4278
3716
|
return {
|
|
@@ -4297,7 +3735,7 @@ var deserializeAws_restJson1ProactiveOrganizationInsightSummary = function (outp
|
|
|
4297
3735
|
};
|
|
4298
3736
|
};
|
|
4299
3737
|
var deserializeAws_restJson1ReactiveAnomalies = function (output, context) {
|
|
4300
|
-
|
|
3738
|
+
var retVal = (output || [])
|
|
4301
3739
|
.filter(function (e) { return e != null; })
|
|
4302
3740
|
.map(function (entry) {
|
|
4303
3741
|
if (entry === null) {
|
|
@@ -4305,6 +3743,7 @@ var deserializeAws_restJson1ReactiveAnomalies = function (output, context) {
|
|
|
4305
3743
|
}
|
|
4306
3744
|
return deserializeAws_restJson1ReactiveAnomalySummary(entry, context);
|
|
4307
3745
|
});
|
|
3746
|
+
return retVal;
|
|
4308
3747
|
};
|
|
4309
3748
|
var deserializeAws_restJson1ReactiveAnomaly = function (output, context) {
|
|
4310
3749
|
return {
|
|
@@ -4376,7 +3815,7 @@ var deserializeAws_restJson1ReactiveInsight = function (output, context) {
|
|
|
4376
3815
|
};
|
|
4377
3816
|
};
|
|
4378
3817
|
var deserializeAws_restJson1ReactiveInsights = function (output, context) {
|
|
4379
|
-
|
|
3818
|
+
var retVal = (output || [])
|
|
4380
3819
|
.filter(function (e) { return e != null; })
|
|
4381
3820
|
.map(function (entry) {
|
|
4382
3821
|
if (entry === null) {
|
|
@@ -4384,6 +3823,7 @@ var deserializeAws_restJson1ReactiveInsights = function (output, context) {
|
|
|
4384
3823
|
}
|
|
4385
3824
|
return deserializeAws_restJson1ReactiveInsightSummary(entry, context);
|
|
4386
3825
|
});
|
|
3826
|
+
return retVal;
|
|
4387
3827
|
};
|
|
4388
3828
|
var deserializeAws_restJson1ReactiveInsightSummary = function (output, context) {
|
|
4389
3829
|
return {
|
|
@@ -4406,7 +3846,7 @@ var deserializeAws_restJson1ReactiveInsightSummary = function (output, context)
|
|
|
4406
3846
|
};
|
|
4407
3847
|
};
|
|
4408
3848
|
var deserializeAws_restJson1ReactiveOrganizationInsights = function (output, context) {
|
|
4409
|
-
|
|
3849
|
+
var retVal = (output || [])
|
|
4410
3850
|
.filter(function (e) { return e != null; })
|
|
4411
3851
|
.map(function (entry) {
|
|
4412
3852
|
if (entry === null) {
|
|
@@ -4414,6 +3854,7 @@ var deserializeAws_restJson1ReactiveOrganizationInsights = function (output, con
|
|
|
4414
3854
|
}
|
|
4415
3855
|
return deserializeAws_restJson1ReactiveOrganizationInsightSummary(entry, context);
|
|
4416
3856
|
});
|
|
3857
|
+
return retVal;
|
|
4417
3858
|
};
|
|
4418
3859
|
var deserializeAws_restJson1ReactiveOrganizationInsightSummary = function (output, context) {
|
|
4419
3860
|
return {
|
|
@@ -4449,7 +3890,7 @@ var deserializeAws_restJson1Recommendation = function (output, context) {
|
|
|
4449
3890
|
};
|
|
4450
3891
|
};
|
|
4451
3892
|
var deserializeAws_restJson1RecommendationRelatedAnomalies = function (output, context) {
|
|
4452
|
-
|
|
3893
|
+
var retVal = (output || [])
|
|
4453
3894
|
.filter(function (e) { return e != null; })
|
|
4454
3895
|
.map(function (entry) {
|
|
4455
3896
|
if (entry === null) {
|
|
@@ -4457,6 +3898,7 @@ var deserializeAws_restJson1RecommendationRelatedAnomalies = function (output, c
|
|
|
4457
3898
|
}
|
|
4458
3899
|
return deserializeAws_restJson1RecommendationRelatedAnomaly(entry, context);
|
|
4459
3900
|
});
|
|
3901
|
+
return retVal;
|
|
4460
3902
|
};
|
|
4461
3903
|
var deserializeAws_restJson1RecommendationRelatedAnomaly = function (output, context) {
|
|
4462
3904
|
return {
|
|
@@ -4476,7 +3918,7 @@ var deserializeAws_restJson1RecommendationRelatedAnomalyResource = function (out
|
|
|
4476
3918
|
};
|
|
4477
3919
|
};
|
|
4478
3920
|
var deserializeAws_restJson1RecommendationRelatedAnomalyResources = function (output, context) {
|
|
4479
|
-
|
|
3921
|
+
var retVal = (output || [])
|
|
4480
3922
|
.filter(function (e) { return e != null; })
|
|
4481
3923
|
.map(function (entry) {
|
|
4482
3924
|
if (entry === null) {
|
|
@@ -4484,6 +3926,7 @@ var deserializeAws_restJson1RecommendationRelatedAnomalyResources = function (ou
|
|
|
4484
3926
|
}
|
|
4485
3927
|
return deserializeAws_restJson1RecommendationRelatedAnomalyResource(entry, context);
|
|
4486
3928
|
});
|
|
3929
|
+
return retVal;
|
|
4487
3930
|
};
|
|
4488
3931
|
var deserializeAws_restJson1RecommendationRelatedAnomalySourceDetail = function (output, context) {
|
|
4489
3932
|
return {
|
|
@@ -4499,7 +3942,7 @@ var deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail =
|
|
|
4499
3942
|
};
|
|
4500
3943
|
};
|
|
4501
3944
|
var deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetails = function (output, context) {
|
|
4502
|
-
|
|
3945
|
+
var retVal = (output || [])
|
|
4503
3946
|
.filter(function (e) { return e != null; })
|
|
4504
3947
|
.map(function (entry) {
|
|
4505
3948
|
if (entry === null) {
|
|
@@ -4507,6 +3950,7 @@ var deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetails
|
|
|
4507
3950
|
}
|
|
4508
3951
|
return deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail(entry, context);
|
|
4509
3952
|
});
|
|
3953
|
+
return retVal;
|
|
4510
3954
|
};
|
|
4511
3955
|
var deserializeAws_restJson1RecommendationRelatedEvent = function (output, context) {
|
|
4512
3956
|
return {
|
|
@@ -4523,7 +3967,7 @@ var deserializeAws_restJson1RecommendationRelatedEventResource = function (outpu
|
|
|
4523
3967
|
};
|
|
4524
3968
|
};
|
|
4525
3969
|
var deserializeAws_restJson1RecommendationRelatedEventResources = function (output, context) {
|
|
4526
|
-
|
|
3970
|
+
var retVal = (output || [])
|
|
4527
3971
|
.filter(function (e) { return e != null; })
|
|
4528
3972
|
.map(function (entry) {
|
|
4529
3973
|
if (entry === null) {
|
|
@@ -4531,9 +3975,10 @@ var deserializeAws_restJson1RecommendationRelatedEventResources = function (outp
|
|
|
4531
3975
|
}
|
|
4532
3976
|
return deserializeAws_restJson1RecommendationRelatedEventResource(entry, context);
|
|
4533
3977
|
});
|
|
3978
|
+
return retVal;
|
|
4534
3979
|
};
|
|
4535
3980
|
var deserializeAws_restJson1RecommendationRelatedEvents = function (output, context) {
|
|
4536
|
-
|
|
3981
|
+
var retVal = (output || [])
|
|
4537
3982
|
.filter(function (e) { return e != null; })
|
|
4538
3983
|
.map(function (entry) {
|
|
4539
3984
|
if (entry === null) {
|
|
@@ -4541,9 +3986,10 @@ var deserializeAws_restJson1RecommendationRelatedEvents = function (output, cont
|
|
|
4541
3986
|
}
|
|
4542
3987
|
return deserializeAws_restJson1RecommendationRelatedEvent(entry, context);
|
|
4543
3988
|
});
|
|
3989
|
+
return retVal;
|
|
4544
3990
|
};
|
|
4545
3991
|
var deserializeAws_restJson1Recommendations = function (output, context) {
|
|
4546
|
-
|
|
3992
|
+
var retVal = (output || [])
|
|
4547
3993
|
.filter(function (e) { return e != null; })
|
|
4548
3994
|
.map(function (entry) {
|
|
4549
3995
|
if (entry === null) {
|
|
@@ -4551,9 +3997,10 @@ var deserializeAws_restJson1Recommendations = function (output, context) {
|
|
|
4551
3997
|
}
|
|
4552
3998
|
return deserializeAws_restJson1Recommendation(entry, context);
|
|
4553
3999
|
});
|
|
4000
|
+
return retVal;
|
|
4554
4001
|
};
|
|
4555
4002
|
var deserializeAws_restJson1RelatedAnomalySourceDetails = function (output, context) {
|
|
4556
|
-
|
|
4003
|
+
var retVal = (output || [])
|
|
4557
4004
|
.filter(function (e) { return e != null; })
|
|
4558
4005
|
.map(function (entry) {
|
|
4559
4006
|
if (entry === null) {
|
|
@@ -4561,6 +4008,7 @@ var deserializeAws_restJson1RelatedAnomalySourceDetails = function (output, cont
|
|
|
4561
4008
|
}
|
|
4562
4009
|
return deserializeAws_restJson1RecommendationRelatedAnomalySourceDetail(entry, context);
|
|
4563
4010
|
});
|
|
4011
|
+
return retVal;
|
|
4564
4012
|
};
|
|
4565
4013
|
var deserializeAws_restJson1ResourceCollection = function (output, context) {
|
|
4566
4014
|
return {
|
|
@@ -4598,7 +4046,7 @@ var deserializeAws_restJson1ServiceHealth = function (output, context) {
|
|
|
4598
4046
|
};
|
|
4599
4047
|
};
|
|
4600
4048
|
var deserializeAws_restJson1ServiceHealths = function (output, context) {
|
|
4601
|
-
|
|
4049
|
+
var retVal = (output || [])
|
|
4602
4050
|
.filter(function (e) { return e != null; })
|
|
4603
4051
|
.map(function (entry) {
|
|
4604
4052
|
if (entry === null) {
|
|
@@ -4606,6 +4054,7 @@ var deserializeAws_restJson1ServiceHealths = function (output, context) {
|
|
|
4606
4054
|
}
|
|
4607
4055
|
return deserializeAws_restJson1ServiceHealth(entry, context);
|
|
4608
4056
|
});
|
|
4057
|
+
return retVal;
|
|
4609
4058
|
};
|
|
4610
4059
|
var deserializeAws_restJson1ServiceInsightHealth = function (output, context) {
|
|
4611
4060
|
return {
|
|
@@ -4621,7 +4070,7 @@ var deserializeAws_restJson1ServiceIntegrationConfig = function (output, context
|
|
|
4621
4070
|
};
|
|
4622
4071
|
};
|
|
4623
4072
|
var deserializeAws_restJson1ServiceNames = function (output, context) {
|
|
4624
|
-
|
|
4073
|
+
var retVal = (output || [])
|
|
4625
4074
|
.filter(function (e) { return e != null; })
|
|
4626
4075
|
.map(function (entry) {
|
|
4627
4076
|
if (entry === null) {
|
|
@@ -4629,6 +4078,7 @@ var deserializeAws_restJson1ServiceNames = function (output, context) {
|
|
|
4629
4078
|
}
|
|
4630
4079
|
return __expectString(entry);
|
|
4631
4080
|
});
|
|
4081
|
+
return retVal;
|
|
4632
4082
|
};
|
|
4633
4083
|
var deserializeAws_restJson1ServiceResourceCost = function (output, context) {
|
|
4634
4084
|
return {
|
|
@@ -4640,7 +4090,7 @@ var deserializeAws_restJson1ServiceResourceCost = function (output, context) {
|
|
|
4640
4090
|
};
|
|
4641
4091
|
};
|
|
4642
4092
|
var deserializeAws_restJson1ServiceResourceCosts = function (output, context) {
|
|
4643
|
-
|
|
4093
|
+
var retVal = (output || [])
|
|
4644
4094
|
.filter(function (e) { return e != null; })
|
|
4645
4095
|
.map(function (entry) {
|
|
4646
4096
|
if (entry === null) {
|
|
@@ -4648,6 +4098,7 @@ var deserializeAws_restJson1ServiceResourceCosts = function (output, context) {
|
|
|
4648
4098
|
}
|
|
4649
4099
|
return deserializeAws_restJson1ServiceResourceCost(entry, context);
|
|
4650
4100
|
});
|
|
4101
|
+
return retVal;
|
|
4651
4102
|
};
|
|
4652
4103
|
var deserializeAws_restJson1SnsChannelConfig = function (output, context) {
|
|
4653
4104
|
return {
|
|
@@ -4655,7 +4106,7 @@ var deserializeAws_restJson1SnsChannelConfig = function (output, context) {
|
|
|
4655
4106
|
};
|
|
4656
4107
|
};
|
|
4657
4108
|
var deserializeAws_restJson1StackNames = function (output, context) {
|
|
4658
|
-
|
|
4109
|
+
var retVal = (output || [])
|
|
4659
4110
|
.filter(function (e) { return e != null; })
|
|
4660
4111
|
.map(function (entry) {
|
|
4661
4112
|
if (entry === null) {
|
|
@@ -4663,6 +4114,7 @@ var deserializeAws_restJson1StackNames = function (output, context) {
|
|
|
4663
4114
|
}
|
|
4664
4115
|
return __expectString(entry);
|
|
4665
4116
|
});
|
|
4117
|
+
return retVal;
|
|
4666
4118
|
};
|
|
4667
4119
|
var deserializeAws_restJson1TagCollection = function (output, context) {
|
|
4668
4120
|
return {
|
|
@@ -4681,7 +4133,7 @@ var deserializeAws_restJson1TagCollectionFilter = function (output, context) {
|
|
|
4681
4133
|
};
|
|
4682
4134
|
};
|
|
4683
4135
|
var deserializeAws_restJson1TagCollectionFilters = function (output, context) {
|
|
4684
|
-
|
|
4136
|
+
var retVal = (output || [])
|
|
4685
4137
|
.filter(function (e) { return e != null; })
|
|
4686
4138
|
.map(function (entry) {
|
|
4687
4139
|
if (entry === null) {
|
|
@@ -4689,9 +4141,10 @@ var deserializeAws_restJson1TagCollectionFilters = function (output, context) {
|
|
|
4689
4141
|
}
|
|
4690
4142
|
return deserializeAws_restJson1TagCollectionFilter(entry, context);
|
|
4691
4143
|
});
|
|
4144
|
+
return retVal;
|
|
4692
4145
|
};
|
|
4693
4146
|
var deserializeAws_restJson1TagCollections = function (output, context) {
|
|
4694
|
-
|
|
4147
|
+
var retVal = (output || [])
|
|
4695
4148
|
.filter(function (e) { return e != null; })
|
|
4696
4149
|
.map(function (entry) {
|
|
4697
4150
|
if (entry === null) {
|
|
@@ -4699,6 +4152,7 @@ var deserializeAws_restJson1TagCollections = function (output, context) {
|
|
|
4699
4152
|
}
|
|
4700
4153
|
return deserializeAws_restJson1TagCollection(entry, context);
|
|
4701
4154
|
});
|
|
4155
|
+
return retVal;
|
|
4702
4156
|
};
|
|
4703
4157
|
var deserializeAws_restJson1TagCostEstimationResourceCollectionFilter = function (output, context) {
|
|
4704
4158
|
return {
|
|
@@ -4709,7 +4163,7 @@ var deserializeAws_restJson1TagCostEstimationResourceCollectionFilter = function
|
|
|
4709
4163
|
};
|
|
4710
4164
|
};
|
|
4711
4165
|
var deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = function (output, context) {
|
|
4712
|
-
|
|
4166
|
+
var retVal = (output || [])
|
|
4713
4167
|
.filter(function (e) { return e != null; })
|
|
4714
4168
|
.map(function (entry) {
|
|
4715
4169
|
if (entry === null) {
|
|
@@ -4717,6 +4171,7 @@ var deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = functio
|
|
|
4717
4171
|
}
|
|
4718
4172
|
return deserializeAws_restJson1TagCostEstimationResourceCollectionFilter(entry, context);
|
|
4719
4173
|
});
|
|
4174
|
+
return retVal;
|
|
4720
4175
|
};
|
|
4721
4176
|
var deserializeAws_restJson1TagHealth = function (output, context) {
|
|
4722
4177
|
return {
|
|
@@ -4728,7 +4183,7 @@ var deserializeAws_restJson1TagHealth = function (output, context) {
|
|
|
4728
4183
|
};
|
|
4729
4184
|
};
|
|
4730
4185
|
var deserializeAws_restJson1TagHealths = function (output, context) {
|
|
4731
|
-
|
|
4186
|
+
var retVal = (output || [])
|
|
4732
4187
|
.filter(function (e) { return e != null; })
|
|
4733
4188
|
.map(function (entry) {
|
|
4734
4189
|
if (entry === null) {
|
|
@@ -4736,9 +4191,10 @@ var deserializeAws_restJson1TagHealths = function (output, context) {
|
|
|
4736
4191
|
}
|
|
4737
4192
|
return deserializeAws_restJson1TagHealth(entry, context);
|
|
4738
4193
|
});
|
|
4194
|
+
return retVal;
|
|
4739
4195
|
};
|
|
4740
4196
|
var deserializeAws_restJson1TagValues = function (output, context) {
|
|
4741
|
-
|
|
4197
|
+
var retVal = (output || [])
|
|
4742
4198
|
.filter(function (e) { return e != null; })
|
|
4743
4199
|
.map(function (entry) {
|
|
4744
4200
|
if (entry === null) {
|
|
@@ -4746,6 +4202,7 @@ var deserializeAws_restJson1TagValues = function (output, context) {
|
|
|
4746
4202
|
}
|
|
4747
4203
|
return __expectString(entry);
|
|
4748
4204
|
});
|
|
4205
|
+
return retVal;
|
|
4749
4206
|
};
|
|
4750
4207
|
var deserializeAws_restJson1TimestampMetricValuePair = function (output, context) {
|
|
4751
4208
|
return {
|
|
@@ -4756,7 +4213,7 @@ var deserializeAws_restJson1TimestampMetricValuePair = function (output, context
|
|
|
4756
4213
|
};
|
|
4757
4214
|
};
|
|
4758
4215
|
var deserializeAws_restJson1TimestampMetricValuePairList = function (output, context) {
|
|
4759
|
-
|
|
4216
|
+
var retVal = (output || [])
|
|
4760
4217
|
.filter(function (e) { return e != null; })
|
|
4761
4218
|
.map(function (entry) {
|
|
4762
4219
|
if (entry === null) {
|
|
@@ -4764,6 +4221,7 @@ var deserializeAws_restJson1TimestampMetricValuePairList = function (output, con
|
|
|
4764
4221
|
}
|
|
4765
4222
|
return deserializeAws_restJson1TimestampMetricValuePair(entry, context);
|
|
4766
4223
|
});
|
|
4224
|
+
return retVal;
|
|
4767
4225
|
};
|
|
4768
4226
|
var deserializeAws_restJson1ValidationExceptionField = function (output, context) {
|
|
4769
4227
|
return {
|
|
@@ -4772,7 +4230,7 @@ var deserializeAws_restJson1ValidationExceptionField = function (output, context
|
|
|
4772
4230
|
};
|
|
4773
4231
|
};
|
|
4774
4232
|
var deserializeAws_restJson1ValidationExceptionFields = function (output, context) {
|
|
4775
|
-
|
|
4233
|
+
var retVal = (output || [])
|
|
4776
4234
|
.filter(function (e) { return e != null; })
|
|
4777
4235
|
.map(function (entry) {
|
|
4778
4236
|
if (entry === null) {
|
|
@@ -4780,6 +4238,7 @@ var deserializeAws_restJson1ValidationExceptionFields = function (output, contex
|
|
|
4780
4238
|
}
|
|
4781
4239
|
return deserializeAws_restJson1ValidationExceptionField(entry, context);
|
|
4782
4240
|
});
|
|
4241
|
+
return retVal;
|
|
4783
4242
|
};
|
|
4784
4243
|
var deserializeMetadata = function (output) {
|
|
4785
4244
|
var _a;
|