@aws-sdk/client-config-service 3.137.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +1 -1
- package/dist-cjs/ConfigService.js +15 -0
- package/dist-cjs/commands/ListConformancePackComplianceScoresCommand.js +36 -0
- package/dist-cjs/commands/PutConformancePackCommand.js +2 -1
- package/dist-cjs/commands/PutDeliveryChannelCommand.js +2 -2
- package/dist-cjs/commands/PutEvaluationsCommand.js +3 -3
- package/dist-cjs/commands/PutExternalEvaluationCommand.js +3 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +30 -29
- package/dist-cjs/models/models_1.js +25 -1
- package/dist-cjs/pagination/ListConformancePackComplianceScoresPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +550 -828
- package/dist-es/ConfigService.js +15 -0
- package/dist-es/commands/ListConformancePackComplianceScoresCommand.js +39 -0
- package/dist-es/commands/PutConformancePackCommand.js +2 -1
- package/dist-es/commands/PutDeliveryChannelCommand.js +1 -1
- package/dist-es/commands/PutEvaluationsCommand.js +1 -1
- package/dist-es/commands/PutExternalEvaluationCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +13 -6
- package/dist-es/models/models_1.js +6 -0
- package/dist-es/pagination/ListConformancePackComplianceScoresPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +820 -826
- package/dist-types/ConfigService.d.ts +70 -38
- package/dist-types/ConfigServiceClient.d.ts +3 -2
- package/dist-types/commands/ListConformancePackComplianceScoresCommand.d.ts +41 -0
- package/dist-types/commands/PutConfigRuleCommand.d.ts +27 -21
- package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/PutConformancePackCommand.d.ts +4 -3
- package/dist-types/commands/PutDeliveryChannelCommand.d.ts +1 -1
- package/dist-types/commands/PutEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/PutExternalEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +24 -11
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +2 -2
- package/dist-types/commands/SelectResourceConfigCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +114 -117
- package/dist-types/models/models_1.d.ts +104 -5
- package/dist-types/pagination/ListConformancePackComplianceScoresPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/ConfigService.d.ts +5 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/ListConformancePackComplianceScoresCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutConformancePackCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutDeliveryChannelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutEvaluationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutExternalEvaluationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -43
- package/dist-types/ts3.4/models/models_1.d.ts +44 -1
- package/dist-types/ts3.4/pagination/ListConformancePackComplianceScoresPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/package.json +6 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.serializeAws_json1_1GetComplianceDetailsByResourceCommand = exports.serializeAws_json1_1GetComplianceDetailsByConfigRuleCommand = exports.serializeAws_json1_1GetAggregateResourceConfigCommand = exports.serializeAws_json1_1GetAggregateDiscoveredResourceCountsCommand = exports.serializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommand = exports.serializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommand = exports.serializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommand = exports.serializeAws_json1_1DescribeRetentionConfigurationsCommand = exports.serializeAws_json1_1DescribeRemediationExecutionStatusCommand = exports.serializeAws_json1_1DescribeRemediationExceptionsCommand = exports.serializeAws_json1_1DescribeRemediationConfigurationsCommand = exports.serializeAws_json1_1DescribePendingAggregationRequestsCommand = exports.serializeAws_json1_1DescribeOrganizationConformancePackStatusesCommand = exports.serializeAws_json1_1DescribeOrganizationConformancePacksCommand = exports.serializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommand = exports.serializeAws_json1_1DescribeOrganizationConfigRulesCommand = exports.serializeAws_json1_1DescribeDeliveryChannelStatusCommand = exports.serializeAws_json1_1DescribeDeliveryChannelsCommand = exports.serializeAws_json1_1DescribeConformancePackStatusCommand = exports.serializeAws_json1_1DescribeConformancePacksCommand = exports.serializeAws_json1_1DescribeConformancePackComplianceCommand = exports.serializeAws_json1_1DescribeConfigurationRecorderStatusCommand = exports.serializeAws_json1_1DescribeConfigurationRecordersCommand = exports.serializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommand = exports.serializeAws_json1_1DescribeConfigurationAggregatorsCommand = exports.serializeAws_json1_1DescribeConfigRulesCommand = exports.serializeAws_json1_1DescribeConfigRuleEvaluationStatusCommand = exports.serializeAws_json1_1DescribeComplianceByResourceCommand = exports.serializeAws_json1_1DescribeComplianceByConfigRuleCommand = exports.serializeAws_json1_1DescribeAggregationAuthorizationsCommand = exports.serializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand = exports.serializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommand = exports.serializeAws_json1_1DeliverConfigSnapshotCommand = exports.serializeAws_json1_1DeleteStoredQueryCommand = exports.serializeAws_json1_1DeleteRetentionConfigurationCommand = exports.serializeAws_json1_1DeleteResourceConfigCommand = exports.serializeAws_json1_1DeleteRemediationExceptionsCommand = exports.serializeAws_json1_1DeleteRemediationConfigurationCommand = exports.serializeAws_json1_1DeletePendingAggregationRequestCommand = exports.serializeAws_json1_1DeleteOrganizationConformancePackCommand = exports.serializeAws_json1_1DeleteOrganizationConfigRuleCommand = exports.serializeAws_json1_1DeleteEvaluationResultsCommand = exports.serializeAws_json1_1DeleteDeliveryChannelCommand = exports.serializeAws_json1_1DeleteConformancePackCommand = exports.serializeAws_json1_1DeleteConfigurationRecorderCommand = exports.serializeAws_json1_1DeleteConfigurationAggregatorCommand = exports.serializeAws_json1_1DeleteConfigRuleCommand = exports.serializeAws_json1_1DeleteAggregationAuthorizationCommand = exports.serializeAws_json1_1BatchGetResourceConfigCommand = exports.serializeAws_json1_1BatchGetAggregateResourceConfigCommand = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1StopConfigurationRecorderCommand = exports.deserializeAws_json1_1StartRemediationExecutionCommand = exports.deserializeAws_json1_1StartConfigurationRecorderCommand = exports.deserializeAws_json1_1StartConfigRulesEvaluationCommand = exports.deserializeAws_json1_1SelectResourceConfigCommand = exports.deserializeAws_json1_1SelectAggregateResourceConfigCommand = exports.deserializeAws_json1_1PutStoredQueryCommand = exports.deserializeAws_json1_1PutRetentionConfigurationCommand = exports.deserializeAws_json1_1PutResourceConfigCommand = exports.deserializeAws_json1_1PutRemediationExceptionsCommand = exports.deserializeAws_json1_1PutRemediationConfigurationsCommand = exports.deserializeAws_json1_1PutOrganizationConformancePackCommand = exports.deserializeAws_json1_1PutOrganizationConfigRuleCommand = exports.deserializeAws_json1_1PutExternalEvaluationCommand = exports.deserializeAws_json1_1PutEvaluationsCommand = exports.deserializeAws_json1_1PutDeliveryChannelCommand = exports.deserializeAws_json1_1PutConformancePackCommand = exports.deserializeAws_json1_1PutConfigurationRecorderCommand = exports.deserializeAws_json1_1PutConfigurationAggregatorCommand = exports.deserializeAws_json1_1PutConfigRuleCommand = exports.deserializeAws_json1_1PutAggregationAuthorizationCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListStoredQueriesCommand = exports.deserializeAws_json1_1ListDiscoveredResourcesCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_1DeleteOrganizationConformancePackCommand = exports.deserializeAws_json1_1DeleteOrganizationConfigRuleCommand = exports.deserializeAws_json1_1DeleteEvaluationResultsCommand = exports.deserializeAws_json1_1DeleteDeliveryChannelCommand = exports.deserializeAws_json1_1DeleteConformancePackCommand = exports.deserializeAws_json1_1DeleteConfigurationRecorderCommand = exports.deserializeAws_json1_1DeleteConfigurationAggregatorCommand = exports.deserializeAws_json1_1DeleteConfigRuleCommand = exports.deserializeAws_json1_1DeleteAggregationAuthorizationCommand = exports.deserializeAws_json1_1BatchGetResourceConfigCommand = exports.deserializeAws_json1_1BatchGetAggregateResourceConfigCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1StopConfigurationRecorderCommand = exports.serializeAws_json1_1StartRemediationExecutionCommand = exports.serializeAws_json1_1StartConfigurationRecorderCommand = exports.serializeAws_json1_1StartConfigRulesEvaluationCommand = exports.serializeAws_json1_1SelectResourceConfigCommand = exports.serializeAws_json1_1SelectAggregateResourceConfigCommand = exports.serializeAws_json1_1PutStoredQueryCommand = exports.serializeAws_json1_1PutRetentionConfigurationCommand = exports.serializeAws_json1_1PutResourceConfigCommand = exports.serializeAws_json1_1PutRemediationExceptionsCommand = exports.serializeAws_json1_1PutRemediationConfigurationsCommand = exports.serializeAws_json1_1PutOrganizationConformancePackCommand = exports.serializeAws_json1_1PutOrganizationConfigRuleCommand = exports.serializeAws_json1_1PutExternalEvaluationCommand = exports.serializeAws_json1_1PutEvaluationsCommand = exports.serializeAws_json1_1PutDeliveryChannelCommand = exports.serializeAws_json1_1PutConformancePackCommand = exports.serializeAws_json1_1PutConfigurationRecorderCommand = exports.serializeAws_json1_1PutConfigurationAggregatorCommand = exports.serializeAws_json1_1PutConfigRuleCommand = exports.serializeAws_json1_1PutAggregationAuthorizationCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListStoredQueriesCommand = exports.serializeAws_json1_1ListDiscoveredResourcesCommand = exports.serializeAws_json1_1ListConformancePackComplianceScoresCommand = exports.serializeAws_json1_1ListAggregateDiscoveredResourcesCommand = exports.serializeAws_json1_1GetStoredQueryCommand = exports.serializeAws_json1_1GetResourceConfigHistoryCommand = exports.serializeAws_json1_1GetOrganizationCustomRulePolicyCommand = exports.serializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand = exports.serializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand = exports.serializeAws_json1_1GetDiscoveredResourceCountsCommand = exports.serializeAws_json1_1GetCustomRulePolicyCommand = exports.serializeAws_json1_1GetConformancePackComplianceSummaryCommand = exports.serializeAws_json1_1GetConformancePackComplianceDetailsCommand = exports.serializeAws_json1_1GetComplianceSummaryByResourceTypeCommand = exports.serializeAws_json1_1GetComplianceSummaryByConfigRuleCommand = void 0;
|
|
5
|
+
exports.deserializeAws_json1_1GetStoredQueryCommand = exports.deserializeAws_json1_1GetResourceConfigHistoryCommand = exports.deserializeAws_json1_1GetOrganizationCustomRulePolicyCommand = exports.deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand = exports.deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand = exports.deserializeAws_json1_1GetDiscoveredResourceCountsCommand = exports.deserializeAws_json1_1GetCustomRulePolicyCommand = exports.deserializeAws_json1_1GetConformancePackComplianceSummaryCommand = exports.deserializeAws_json1_1GetConformancePackComplianceDetailsCommand = exports.deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommand = exports.deserializeAws_json1_1GetComplianceSummaryByConfigRuleCommand = exports.deserializeAws_json1_1GetComplianceDetailsByResourceCommand = exports.deserializeAws_json1_1GetComplianceDetailsByConfigRuleCommand = exports.deserializeAws_json1_1GetAggregateResourceConfigCommand = exports.deserializeAws_json1_1GetAggregateDiscoveredResourceCountsCommand = exports.deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommand = exports.deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommand = exports.deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommand = exports.deserializeAws_json1_1DescribeRetentionConfigurationsCommand = exports.deserializeAws_json1_1DescribeRemediationExecutionStatusCommand = exports.deserializeAws_json1_1DescribeRemediationExceptionsCommand = exports.deserializeAws_json1_1DescribeRemediationConfigurationsCommand = exports.deserializeAws_json1_1DescribePendingAggregationRequestsCommand = exports.deserializeAws_json1_1DescribeOrganizationConformancePackStatusesCommand = exports.deserializeAws_json1_1DescribeOrganizationConformancePacksCommand = exports.deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommand = exports.deserializeAws_json1_1DescribeOrganizationConfigRulesCommand = exports.deserializeAws_json1_1DescribeDeliveryChannelStatusCommand = exports.deserializeAws_json1_1DescribeDeliveryChannelsCommand = exports.deserializeAws_json1_1DescribeConformancePackStatusCommand = exports.deserializeAws_json1_1DescribeConformancePacksCommand = exports.deserializeAws_json1_1DescribeConformancePackComplianceCommand = exports.deserializeAws_json1_1DescribeConfigurationRecorderStatusCommand = exports.deserializeAws_json1_1DescribeConfigurationRecordersCommand = exports.deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommand = exports.deserializeAws_json1_1DescribeConfigurationAggregatorsCommand = exports.deserializeAws_json1_1DescribeConfigRulesCommand = exports.deserializeAws_json1_1DescribeConfigRuleEvaluationStatusCommand = exports.deserializeAws_json1_1DescribeComplianceByResourceCommand = exports.deserializeAws_json1_1DescribeComplianceByConfigRuleCommand = exports.deserializeAws_json1_1DescribeAggregationAuthorizationsCommand = exports.deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand = exports.deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommand = exports.deserializeAws_json1_1DeliverConfigSnapshotCommand = exports.deserializeAws_json1_1DeleteStoredQueryCommand = exports.deserializeAws_json1_1DeleteRetentionConfigurationCommand = exports.deserializeAws_json1_1DeleteResourceConfigCommand = exports.deserializeAws_json1_1DeleteRemediationExceptionsCommand = exports.deserializeAws_json1_1DeleteRemediationConfigurationCommand = exports.deserializeAws_json1_1DeletePendingAggregationRequestCommand = void 0;
|
|
6
|
+
exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1StopConfigurationRecorderCommand = exports.deserializeAws_json1_1StartRemediationExecutionCommand = exports.deserializeAws_json1_1StartConfigurationRecorderCommand = exports.deserializeAws_json1_1StartConfigRulesEvaluationCommand = exports.deserializeAws_json1_1SelectResourceConfigCommand = exports.deserializeAws_json1_1SelectAggregateResourceConfigCommand = exports.deserializeAws_json1_1PutStoredQueryCommand = exports.deserializeAws_json1_1PutRetentionConfigurationCommand = exports.deserializeAws_json1_1PutResourceConfigCommand = exports.deserializeAws_json1_1PutRemediationExceptionsCommand = exports.deserializeAws_json1_1PutRemediationConfigurationsCommand = exports.deserializeAws_json1_1PutOrganizationConformancePackCommand = exports.deserializeAws_json1_1PutOrganizationConfigRuleCommand = exports.deserializeAws_json1_1PutExternalEvaluationCommand = exports.deserializeAws_json1_1PutEvaluationsCommand = exports.deserializeAws_json1_1PutDeliveryChannelCommand = exports.deserializeAws_json1_1PutConformancePackCommand = exports.deserializeAws_json1_1PutConfigurationRecorderCommand = exports.deserializeAws_json1_1PutConfigurationAggregatorCommand = exports.deserializeAws_json1_1PutConfigRuleCommand = exports.deserializeAws_json1_1PutAggregationAuthorizationCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListStoredQueriesCommand = exports.deserializeAws_json1_1ListDiscoveredResourcesCommand = exports.deserializeAws_json1_1ListConformancePackComplianceScoresCommand = exports.deserializeAws_json1_1ListAggregateDiscoveredResourcesCommand = void 0;
|
|
7
7
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
const ConfigServiceServiceException_1 = require("../models/ConfigServiceServiceException");
|
|
@@ -628,6 +628,16 @@ const serializeAws_json1_1ListAggregateDiscoveredResourcesCommand = async (input
|
|
|
628
628
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
629
629
|
};
|
|
630
630
|
exports.serializeAws_json1_1ListAggregateDiscoveredResourcesCommand = serializeAws_json1_1ListAggregateDiscoveredResourcesCommand;
|
|
631
|
+
const serializeAws_json1_1ListConformancePackComplianceScoresCommand = async (input, context) => {
|
|
632
|
+
const headers = {
|
|
633
|
+
"content-type": "application/x-amz-json-1.1",
|
|
634
|
+
"x-amz-target": "StarlingDoveService.ListConformancePackComplianceScores",
|
|
635
|
+
};
|
|
636
|
+
let body;
|
|
637
|
+
body = JSON.stringify(serializeAws_json1_1ListConformancePackComplianceScoresRequest(input, context));
|
|
638
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
639
|
+
};
|
|
640
|
+
exports.serializeAws_json1_1ListConformancePackComplianceScoresCommand = serializeAws_json1_1ListConformancePackComplianceScoresCommand;
|
|
631
641
|
const serializeAws_json1_1ListDiscoveredResourcesCommand = async (input, context) => {
|
|
632
642
|
const headers = {
|
|
633
643
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -907,7 +917,6 @@ const deserializeAws_json1_1BatchGetAggregateResourceConfigCommandError = async
|
|
|
907
917
|
...output,
|
|
908
918
|
body: await parseBody(output.body, context),
|
|
909
919
|
};
|
|
910
|
-
let response;
|
|
911
920
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
912
921
|
switch (errorCode) {
|
|
913
922
|
case "NoSuchConfigurationAggregatorException":
|
|
@@ -918,14 +927,12 @@ const deserializeAws_json1_1BatchGetAggregateResourceConfigCommandError = async
|
|
|
918
927
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
919
928
|
default:
|
|
920
929
|
const parsedBody = parsedOutput.body;
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
$metadata,
|
|
930
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
931
|
+
output,
|
|
932
|
+
parsedBody,
|
|
933
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
934
|
+
errorCode,
|
|
927
935
|
});
|
|
928
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
929
936
|
}
|
|
930
937
|
};
|
|
931
938
|
const deserializeAws_json1_1BatchGetResourceConfigCommand = async (output, context) => {
|
|
@@ -947,7 +954,6 @@ const deserializeAws_json1_1BatchGetResourceConfigCommandError = async (output,
|
|
|
947
954
|
...output,
|
|
948
955
|
body: await parseBody(output.body, context),
|
|
949
956
|
};
|
|
950
|
-
let response;
|
|
951
957
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
952
958
|
switch (errorCode) {
|
|
953
959
|
case "NoAvailableConfigurationRecorderException":
|
|
@@ -958,14 +964,12 @@ const deserializeAws_json1_1BatchGetResourceConfigCommandError = async (output,
|
|
|
958
964
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
959
965
|
default:
|
|
960
966
|
const parsedBody = parsedOutput.body;
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
$metadata,
|
|
967
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
968
|
+
output,
|
|
969
|
+
parsedBody,
|
|
970
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
971
|
+
errorCode,
|
|
967
972
|
});
|
|
968
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
969
973
|
}
|
|
970
974
|
};
|
|
971
975
|
const deserializeAws_json1_1DeleteAggregationAuthorizationCommand = async (output, context) => {
|
|
@@ -984,7 +988,6 @@ const deserializeAws_json1_1DeleteAggregationAuthorizationCommandError = async (
|
|
|
984
988
|
...output,
|
|
985
989
|
body: await parseBody(output.body, context),
|
|
986
990
|
};
|
|
987
|
-
let response;
|
|
988
991
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
989
992
|
switch (errorCode) {
|
|
990
993
|
case "InvalidParameterValueException":
|
|
@@ -992,14 +995,12 @@ const deserializeAws_json1_1DeleteAggregationAuthorizationCommandError = async (
|
|
|
992
995
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
993
996
|
default:
|
|
994
997
|
const parsedBody = parsedOutput.body;
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
$metadata,
|
|
998
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
999
|
+
output,
|
|
1000
|
+
parsedBody,
|
|
1001
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1002
|
+
errorCode,
|
|
1001
1003
|
});
|
|
1002
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1003
1004
|
}
|
|
1004
1005
|
};
|
|
1005
1006
|
const deserializeAws_json1_1DeleteConfigRuleCommand = async (output, context) => {
|
|
@@ -1018,7 +1019,6 @@ const deserializeAws_json1_1DeleteConfigRuleCommandError = async (output, contex
|
|
|
1018
1019
|
...output,
|
|
1019
1020
|
body: await parseBody(output.body, context),
|
|
1020
1021
|
};
|
|
1021
|
-
let response;
|
|
1022
1022
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1023
1023
|
switch (errorCode) {
|
|
1024
1024
|
case "NoSuchConfigRuleException":
|
|
@@ -1029,14 +1029,12 @@ const deserializeAws_json1_1DeleteConfigRuleCommandError = async (output, contex
|
|
|
1029
1029
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1030
1030
|
default:
|
|
1031
1031
|
const parsedBody = parsedOutput.body;
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
$metadata,
|
|
1032
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1033
|
+
output,
|
|
1034
|
+
parsedBody,
|
|
1035
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1036
|
+
errorCode,
|
|
1038
1037
|
});
|
|
1039
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1040
1038
|
}
|
|
1041
1039
|
};
|
|
1042
1040
|
const deserializeAws_json1_1DeleteConfigurationAggregatorCommand = async (output, context) => {
|
|
@@ -1055,7 +1053,6 @@ const deserializeAws_json1_1DeleteConfigurationAggregatorCommandError = async (o
|
|
|
1055
1053
|
...output,
|
|
1056
1054
|
body: await parseBody(output.body, context),
|
|
1057
1055
|
};
|
|
1058
|
-
let response;
|
|
1059
1056
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1060
1057
|
switch (errorCode) {
|
|
1061
1058
|
case "NoSuchConfigurationAggregatorException":
|
|
@@ -1063,14 +1060,12 @@ const deserializeAws_json1_1DeleteConfigurationAggregatorCommandError = async (o
|
|
|
1063
1060
|
throw await deserializeAws_json1_1NoSuchConfigurationAggregatorExceptionResponse(parsedOutput, context);
|
|
1064
1061
|
default:
|
|
1065
1062
|
const parsedBody = parsedOutput.body;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
$metadata,
|
|
1063
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1064
|
+
output,
|
|
1065
|
+
parsedBody,
|
|
1066
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1067
|
+
errorCode,
|
|
1072
1068
|
});
|
|
1073
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1074
1069
|
}
|
|
1075
1070
|
};
|
|
1076
1071
|
const deserializeAws_json1_1DeleteConfigurationRecorderCommand = async (output, context) => {
|
|
@@ -1089,7 +1084,6 @@ const deserializeAws_json1_1DeleteConfigurationRecorderCommandError = async (out
|
|
|
1089
1084
|
...output,
|
|
1090
1085
|
body: await parseBody(output.body, context),
|
|
1091
1086
|
};
|
|
1092
|
-
let response;
|
|
1093
1087
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1094
1088
|
switch (errorCode) {
|
|
1095
1089
|
case "NoSuchConfigurationRecorderException":
|
|
@@ -1097,14 +1091,12 @@ const deserializeAws_json1_1DeleteConfigurationRecorderCommandError = async (out
|
|
|
1097
1091
|
throw await deserializeAws_json1_1NoSuchConfigurationRecorderExceptionResponse(parsedOutput, context);
|
|
1098
1092
|
default:
|
|
1099
1093
|
const parsedBody = parsedOutput.body;
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
$metadata,
|
|
1094
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1095
|
+
output,
|
|
1096
|
+
parsedBody,
|
|
1097
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1098
|
+
errorCode,
|
|
1106
1099
|
});
|
|
1107
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1108
1100
|
}
|
|
1109
1101
|
};
|
|
1110
1102
|
const deserializeAws_json1_1DeleteConformancePackCommand = async (output, context) => {
|
|
@@ -1123,7 +1115,6 @@ const deserializeAws_json1_1DeleteConformancePackCommandError = async (output, c
|
|
|
1123
1115
|
...output,
|
|
1124
1116
|
body: await parseBody(output.body, context),
|
|
1125
1117
|
};
|
|
1126
|
-
let response;
|
|
1127
1118
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1128
1119
|
switch (errorCode) {
|
|
1129
1120
|
case "NoSuchConformancePackException":
|
|
@@ -1134,14 +1125,12 @@ const deserializeAws_json1_1DeleteConformancePackCommandError = async (output, c
|
|
|
1134
1125
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1135
1126
|
default:
|
|
1136
1127
|
const parsedBody = parsedOutput.body;
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
$metadata,
|
|
1128
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1129
|
+
output,
|
|
1130
|
+
parsedBody,
|
|
1131
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1132
|
+
errorCode,
|
|
1143
1133
|
});
|
|
1144
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1145
1134
|
}
|
|
1146
1135
|
};
|
|
1147
1136
|
const deserializeAws_json1_1DeleteDeliveryChannelCommand = async (output, context) => {
|
|
@@ -1160,7 +1149,6 @@ const deserializeAws_json1_1DeleteDeliveryChannelCommandError = async (output, c
|
|
|
1160
1149
|
...output,
|
|
1161
1150
|
body: await parseBody(output.body, context),
|
|
1162
1151
|
};
|
|
1163
|
-
let response;
|
|
1164
1152
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1165
1153
|
switch (errorCode) {
|
|
1166
1154
|
case "LastDeliveryChannelDeleteFailedException":
|
|
@@ -1171,14 +1159,12 @@ const deserializeAws_json1_1DeleteDeliveryChannelCommandError = async (output, c
|
|
|
1171
1159
|
throw await deserializeAws_json1_1NoSuchDeliveryChannelExceptionResponse(parsedOutput, context);
|
|
1172
1160
|
default:
|
|
1173
1161
|
const parsedBody = parsedOutput.body;
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
$metadata,
|
|
1162
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1163
|
+
output,
|
|
1164
|
+
parsedBody,
|
|
1165
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1166
|
+
errorCode,
|
|
1180
1167
|
});
|
|
1181
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1182
1168
|
}
|
|
1183
1169
|
};
|
|
1184
1170
|
const deserializeAws_json1_1DeleteEvaluationResultsCommand = async (output, context) => {
|
|
@@ -1200,7 +1186,6 @@ const deserializeAws_json1_1DeleteEvaluationResultsCommandError = async (output,
|
|
|
1200
1186
|
...output,
|
|
1201
1187
|
body: await parseBody(output.body, context),
|
|
1202
1188
|
};
|
|
1203
|
-
let response;
|
|
1204
1189
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1205
1190
|
switch (errorCode) {
|
|
1206
1191
|
case "NoSuchConfigRuleException":
|
|
@@ -1211,14 +1196,12 @@ const deserializeAws_json1_1DeleteEvaluationResultsCommandError = async (output,
|
|
|
1211
1196
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1212
1197
|
default:
|
|
1213
1198
|
const parsedBody = parsedOutput.body;
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
$metadata,
|
|
1199
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1200
|
+
output,
|
|
1201
|
+
parsedBody,
|
|
1202
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1203
|
+
errorCode,
|
|
1220
1204
|
});
|
|
1221
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1222
1205
|
}
|
|
1223
1206
|
};
|
|
1224
1207
|
const deserializeAws_json1_1DeleteOrganizationConfigRuleCommand = async (output, context) => {
|
|
@@ -1237,7 +1220,6 @@ const deserializeAws_json1_1DeleteOrganizationConfigRuleCommandError = async (ou
|
|
|
1237
1220
|
...output,
|
|
1238
1221
|
body: await parseBody(output.body, context),
|
|
1239
1222
|
};
|
|
1240
|
-
let response;
|
|
1241
1223
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1242
1224
|
switch (errorCode) {
|
|
1243
1225
|
case "NoSuchOrganizationConfigRuleException":
|
|
@@ -1251,14 +1233,12 @@ const deserializeAws_json1_1DeleteOrganizationConfigRuleCommandError = async (ou
|
|
|
1251
1233
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1252
1234
|
default:
|
|
1253
1235
|
const parsedBody = parsedOutput.body;
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
$metadata,
|
|
1236
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1237
|
+
output,
|
|
1238
|
+
parsedBody,
|
|
1239
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1240
|
+
errorCode,
|
|
1260
1241
|
});
|
|
1261
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1262
1242
|
}
|
|
1263
1243
|
};
|
|
1264
1244
|
const deserializeAws_json1_1DeleteOrganizationConformancePackCommand = async (output, context) => {
|
|
@@ -1277,7 +1257,6 @@ const deserializeAws_json1_1DeleteOrganizationConformancePackCommandError = asyn
|
|
|
1277
1257
|
...output,
|
|
1278
1258
|
body: await parseBody(output.body, context),
|
|
1279
1259
|
};
|
|
1280
|
-
let response;
|
|
1281
1260
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1282
1261
|
switch (errorCode) {
|
|
1283
1262
|
case "NoSuchOrganizationConformancePackException":
|
|
@@ -1291,14 +1270,12 @@ const deserializeAws_json1_1DeleteOrganizationConformancePackCommandError = asyn
|
|
|
1291
1270
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
1292
1271
|
default:
|
|
1293
1272
|
const parsedBody = parsedOutput.body;
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
$metadata,
|
|
1273
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1274
|
+
output,
|
|
1275
|
+
parsedBody,
|
|
1276
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1277
|
+
errorCode,
|
|
1300
1278
|
});
|
|
1301
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1302
1279
|
}
|
|
1303
1280
|
};
|
|
1304
1281
|
const deserializeAws_json1_1DeletePendingAggregationRequestCommand = async (output, context) => {
|
|
@@ -1317,7 +1294,6 @@ const deserializeAws_json1_1DeletePendingAggregationRequestCommandError = async
|
|
|
1317
1294
|
...output,
|
|
1318
1295
|
body: await parseBody(output.body, context),
|
|
1319
1296
|
};
|
|
1320
|
-
let response;
|
|
1321
1297
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1322
1298
|
switch (errorCode) {
|
|
1323
1299
|
case "InvalidParameterValueException":
|
|
@@ -1325,14 +1301,12 @@ const deserializeAws_json1_1DeletePendingAggregationRequestCommandError = async
|
|
|
1325
1301
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
1326
1302
|
default:
|
|
1327
1303
|
const parsedBody = parsedOutput.body;
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
$metadata,
|
|
1304
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1305
|
+
output,
|
|
1306
|
+
parsedBody,
|
|
1307
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1308
|
+
errorCode,
|
|
1334
1309
|
});
|
|
1335
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1336
1310
|
}
|
|
1337
1311
|
};
|
|
1338
1312
|
const deserializeAws_json1_1DeleteRemediationConfigurationCommand = async (output, context) => {
|
|
@@ -1354,7 +1328,6 @@ const deserializeAws_json1_1DeleteRemediationConfigurationCommandError = async (
|
|
|
1354
1328
|
...output,
|
|
1355
1329
|
body: await parseBody(output.body, context),
|
|
1356
1330
|
};
|
|
1357
|
-
let response;
|
|
1358
1331
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1359
1332
|
switch (errorCode) {
|
|
1360
1333
|
case "InsufficientPermissionsException":
|
|
@@ -1371,14 +1344,12 @@ const deserializeAws_json1_1DeleteRemediationConfigurationCommandError = async (
|
|
|
1371
1344
|
throw await deserializeAws_json1_1RemediationInProgressExceptionResponse(parsedOutput, context);
|
|
1372
1345
|
default:
|
|
1373
1346
|
const parsedBody = parsedOutput.body;
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
$metadata,
|
|
1347
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1348
|
+
output,
|
|
1349
|
+
parsedBody,
|
|
1350
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1351
|
+
errorCode,
|
|
1380
1352
|
});
|
|
1381
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1382
1353
|
}
|
|
1383
1354
|
};
|
|
1384
1355
|
const deserializeAws_json1_1DeleteRemediationExceptionsCommand = async (output, context) => {
|
|
@@ -1400,7 +1371,6 @@ const deserializeAws_json1_1DeleteRemediationExceptionsCommandError = async (out
|
|
|
1400
1371
|
...output,
|
|
1401
1372
|
body: await parseBody(output.body, context),
|
|
1402
1373
|
};
|
|
1403
|
-
let response;
|
|
1404
1374
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1405
1375
|
switch (errorCode) {
|
|
1406
1376
|
case "NoSuchRemediationExceptionException":
|
|
@@ -1408,14 +1378,12 @@ const deserializeAws_json1_1DeleteRemediationExceptionsCommandError = async (out
|
|
|
1408
1378
|
throw await deserializeAws_json1_1NoSuchRemediationExceptionExceptionResponse(parsedOutput, context);
|
|
1409
1379
|
default:
|
|
1410
1380
|
const parsedBody = parsedOutput.body;
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
$metadata,
|
|
1381
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1382
|
+
output,
|
|
1383
|
+
parsedBody,
|
|
1384
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1385
|
+
errorCode,
|
|
1417
1386
|
});
|
|
1418
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1419
1387
|
}
|
|
1420
1388
|
};
|
|
1421
1389
|
const deserializeAws_json1_1DeleteResourceConfigCommand = async (output, context) => {
|
|
@@ -1434,7 +1402,6 @@ const deserializeAws_json1_1DeleteResourceConfigCommandError = async (output, co
|
|
|
1434
1402
|
...output,
|
|
1435
1403
|
body: await parseBody(output.body, context),
|
|
1436
1404
|
};
|
|
1437
|
-
let response;
|
|
1438
1405
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1439
1406
|
switch (errorCode) {
|
|
1440
1407
|
case "NoRunningConfigurationRecorderException":
|
|
@@ -1445,14 +1412,12 @@ const deserializeAws_json1_1DeleteResourceConfigCommandError = async (output, co
|
|
|
1445
1412
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1446
1413
|
default:
|
|
1447
1414
|
const parsedBody = parsedOutput.body;
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
$metadata,
|
|
1415
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1416
|
+
output,
|
|
1417
|
+
parsedBody,
|
|
1418
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1419
|
+
errorCode,
|
|
1454
1420
|
});
|
|
1455
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1456
1421
|
}
|
|
1457
1422
|
};
|
|
1458
1423
|
const deserializeAws_json1_1DeleteRetentionConfigurationCommand = async (output, context) => {
|
|
@@ -1471,7 +1436,6 @@ const deserializeAws_json1_1DeleteRetentionConfigurationCommandError = async (ou
|
|
|
1471
1436
|
...output,
|
|
1472
1437
|
body: await parseBody(output.body, context),
|
|
1473
1438
|
};
|
|
1474
|
-
let response;
|
|
1475
1439
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1476
1440
|
switch (errorCode) {
|
|
1477
1441
|
case "InvalidParameterValueException":
|
|
@@ -1482,14 +1446,12 @@ const deserializeAws_json1_1DeleteRetentionConfigurationCommandError = async (ou
|
|
|
1482
1446
|
throw await deserializeAws_json1_1NoSuchRetentionConfigurationExceptionResponse(parsedOutput, context);
|
|
1483
1447
|
default:
|
|
1484
1448
|
const parsedBody = parsedOutput.body;
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
$metadata,
|
|
1449
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1450
|
+
output,
|
|
1451
|
+
parsedBody,
|
|
1452
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1453
|
+
errorCode,
|
|
1491
1454
|
});
|
|
1492
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1493
1455
|
}
|
|
1494
1456
|
};
|
|
1495
1457
|
const deserializeAws_json1_1DeleteStoredQueryCommand = async (output, context) => {
|
|
@@ -1511,7 +1473,6 @@ const deserializeAws_json1_1DeleteStoredQueryCommandError = async (output, conte
|
|
|
1511
1473
|
...output,
|
|
1512
1474
|
body: await parseBody(output.body, context),
|
|
1513
1475
|
};
|
|
1514
|
-
let response;
|
|
1515
1476
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1516
1477
|
switch (errorCode) {
|
|
1517
1478
|
case "ResourceNotFoundException":
|
|
@@ -1522,14 +1483,12 @@ const deserializeAws_json1_1DeleteStoredQueryCommandError = async (output, conte
|
|
|
1522
1483
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1523
1484
|
default:
|
|
1524
1485
|
const parsedBody = parsedOutput.body;
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
$metadata,
|
|
1486
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1487
|
+
output,
|
|
1488
|
+
parsedBody,
|
|
1489
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1490
|
+
errorCode,
|
|
1531
1491
|
});
|
|
1532
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1533
1492
|
}
|
|
1534
1493
|
};
|
|
1535
1494
|
const deserializeAws_json1_1DeliverConfigSnapshotCommand = async (output, context) => {
|
|
@@ -1551,7 +1510,6 @@ const deserializeAws_json1_1DeliverConfigSnapshotCommandError = async (output, c
|
|
|
1551
1510
|
...output,
|
|
1552
1511
|
body: await parseBody(output.body, context),
|
|
1553
1512
|
};
|
|
1554
|
-
let response;
|
|
1555
1513
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1556
1514
|
switch (errorCode) {
|
|
1557
1515
|
case "NoAvailableConfigurationRecorderException":
|
|
@@ -1565,14 +1523,12 @@ const deserializeAws_json1_1DeliverConfigSnapshotCommandError = async (output, c
|
|
|
1565
1523
|
throw await deserializeAws_json1_1NoSuchDeliveryChannelExceptionResponse(parsedOutput, context);
|
|
1566
1524
|
default:
|
|
1567
1525
|
const parsedBody = parsedOutput.body;
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
$metadata,
|
|
1526
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1527
|
+
output,
|
|
1528
|
+
parsedBody,
|
|
1529
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1530
|
+
errorCode,
|
|
1574
1531
|
});
|
|
1575
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1576
1532
|
}
|
|
1577
1533
|
};
|
|
1578
1534
|
const deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommand = async (output, context) => {
|
|
@@ -1594,7 +1550,6 @@ const deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommandError
|
|
|
1594
1550
|
...output,
|
|
1595
1551
|
body: await parseBody(output.body, context),
|
|
1596
1552
|
};
|
|
1597
|
-
let response;
|
|
1598
1553
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1599
1554
|
switch (errorCode) {
|
|
1600
1555
|
case "InvalidLimitException":
|
|
@@ -1611,14 +1566,12 @@ const deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommandError
|
|
|
1611
1566
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1612
1567
|
default:
|
|
1613
1568
|
const parsedBody = parsedOutput.body;
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
$metadata,
|
|
1569
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1570
|
+
output,
|
|
1571
|
+
parsedBody,
|
|
1572
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1573
|
+
errorCode,
|
|
1620
1574
|
});
|
|
1621
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1622
1575
|
}
|
|
1623
1576
|
};
|
|
1624
1577
|
const deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand = async (output, context) => {
|
|
@@ -1640,7 +1593,6 @@ const deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand
|
|
|
1640
1593
|
...output,
|
|
1641
1594
|
body: await parseBody(output.body, context),
|
|
1642
1595
|
};
|
|
1643
|
-
let response;
|
|
1644
1596
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1645
1597
|
switch (errorCode) {
|
|
1646
1598
|
case "InvalidLimitException":
|
|
@@ -1657,14 +1609,12 @@ const deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand
|
|
|
1657
1609
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1658
1610
|
default:
|
|
1659
1611
|
const parsedBody = parsedOutput.body;
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
$metadata,
|
|
1612
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1613
|
+
output,
|
|
1614
|
+
parsedBody,
|
|
1615
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1616
|
+
errorCode,
|
|
1666
1617
|
});
|
|
1667
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1668
1618
|
}
|
|
1669
1619
|
};
|
|
1670
1620
|
const deserializeAws_json1_1DescribeAggregationAuthorizationsCommand = async (output, context) => {
|
|
@@ -1686,7 +1636,6 @@ const deserializeAws_json1_1DescribeAggregationAuthorizationsCommandError = asyn
|
|
|
1686
1636
|
...output,
|
|
1687
1637
|
body: await parseBody(output.body, context),
|
|
1688
1638
|
};
|
|
1689
|
-
let response;
|
|
1690
1639
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1691
1640
|
switch (errorCode) {
|
|
1692
1641
|
case "InvalidLimitException":
|
|
@@ -1700,14 +1649,12 @@ const deserializeAws_json1_1DescribeAggregationAuthorizationsCommandError = asyn
|
|
|
1700
1649
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
1701
1650
|
default:
|
|
1702
1651
|
const parsedBody = parsedOutput.body;
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
$metadata,
|
|
1652
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1653
|
+
output,
|
|
1654
|
+
parsedBody,
|
|
1655
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1656
|
+
errorCode,
|
|
1709
1657
|
});
|
|
1710
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1711
1658
|
}
|
|
1712
1659
|
};
|
|
1713
1660
|
const deserializeAws_json1_1DescribeComplianceByConfigRuleCommand = async (output, context) => {
|
|
@@ -1729,7 +1676,6 @@ const deserializeAws_json1_1DescribeComplianceByConfigRuleCommandError = async (
|
|
|
1729
1676
|
...output,
|
|
1730
1677
|
body: await parseBody(output.body, context),
|
|
1731
1678
|
};
|
|
1732
|
-
let response;
|
|
1733
1679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1734
1680
|
switch (errorCode) {
|
|
1735
1681
|
case "InvalidNextTokenException":
|
|
@@ -1743,14 +1689,12 @@ const deserializeAws_json1_1DescribeComplianceByConfigRuleCommandError = async (
|
|
|
1743
1689
|
throw await deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context);
|
|
1744
1690
|
default:
|
|
1745
1691
|
const parsedBody = parsedOutput.body;
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
$metadata,
|
|
1692
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1693
|
+
output,
|
|
1694
|
+
parsedBody,
|
|
1695
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1696
|
+
errorCode,
|
|
1752
1697
|
});
|
|
1753
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1754
1698
|
}
|
|
1755
1699
|
};
|
|
1756
1700
|
const deserializeAws_json1_1DescribeComplianceByResourceCommand = async (output, context) => {
|
|
@@ -1772,7 +1716,6 @@ const deserializeAws_json1_1DescribeComplianceByResourceCommandError = async (ou
|
|
|
1772
1716
|
...output,
|
|
1773
1717
|
body: await parseBody(output.body, context),
|
|
1774
1718
|
};
|
|
1775
|
-
let response;
|
|
1776
1719
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1777
1720
|
switch (errorCode) {
|
|
1778
1721
|
case "InvalidNextTokenException":
|
|
@@ -1783,14 +1726,12 @@ const deserializeAws_json1_1DescribeComplianceByResourceCommandError = async (ou
|
|
|
1783
1726
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
1784
1727
|
default:
|
|
1785
1728
|
const parsedBody = parsedOutput.body;
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
$metadata,
|
|
1729
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1730
|
+
output,
|
|
1731
|
+
parsedBody,
|
|
1732
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1733
|
+
errorCode,
|
|
1792
1734
|
});
|
|
1793
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1794
1735
|
}
|
|
1795
1736
|
};
|
|
1796
1737
|
const deserializeAws_json1_1DescribeConfigRuleEvaluationStatusCommand = async (output, context) => {
|
|
@@ -1812,7 +1753,6 @@ const deserializeAws_json1_1DescribeConfigRuleEvaluationStatusCommandError = asy
|
|
|
1812
1753
|
...output,
|
|
1813
1754
|
body: await parseBody(output.body, context),
|
|
1814
1755
|
};
|
|
1815
|
-
let response;
|
|
1816
1756
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1817
1757
|
switch (errorCode) {
|
|
1818
1758
|
case "InvalidNextTokenException":
|
|
@@ -1826,14 +1766,12 @@ const deserializeAws_json1_1DescribeConfigRuleEvaluationStatusCommandError = asy
|
|
|
1826
1766
|
throw await deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context);
|
|
1827
1767
|
default:
|
|
1828
1768
|
const parsedBody = parsedOutput.body;
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
$metadata,
|
|
1769
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1770
|
+
output,
|
|
1771
|
+
parsedBody,
|
|
1772
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1773
|
+
errorCode,
|
|
1835
1774
|
});
|
|
1836
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1837
1775
|
}
|
|
1838
1776
|
};
|
|
1839
1777
|
const deserializeAws_json1_1DescribeConfigRulesCommand = async (output, context) => {
|
|
@@ -1855,7 +1793,6 @@ const deserializeAws_json1_1DescribeConfigRulesCommandError = async (output, con
|
|
|
1855
1793
|
...output,
|
|
1856
1794
|
body: await parseBody(output.body, context),
|
|
1857
1795
|
};
|
|
1858
|
-
let response;
|
|
1859
1796
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1860
1797
|
switch (errorCode) {
|
|
1861
1798
|
case "InvalidNextTokenException":
|
|
@@ -1866,14 +1803,12 @@ const deserializeAws_json1_1DescribeConfigRulesCommandError = async (output, con
|
|
|
1866
1803
|
throw await deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context);
|
|
1867
1804
|
default:
|
|
1868
1805
|
const parsedBody = parsedOutput.body;
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
$metadata,
|
|
1806
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1807
|
+
output,
|
|
1808
|
+
parsedBody,
|
|
1809
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1810
|
+
errorCode,
|
|
1875
1811
|
});
|
|
1876
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1877
1812
|
}
|
|
1878
1813
|
};
|
|
1879
1814
|
const deserializeAws_json1_1DescribeConfigurationAggregatorsCommand = async (output, context) => {
|
|
@@ -1895,7 +1830,6 @@ const deserializeAws_json1_1DescribeConfigurationAggregatorsCommandError = async
|
|
|
1895
1830
|
...output,
|
|
1896
1831
|
body: await parseBody(output.body, context),
|
|
1897
1832
|
};
|
|
1898
|
-
let response;
|
|
1899
1833
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1900
1834
|
switch (errorCode) {
|
|
1901
1835
|
case "InvalidLimitException":
|
|
@@ -1912,14 +1846,12 @@ const deserializeAws_json1_1DescribeConfigurationAggregatorsCommandError = async
|
|
|
1912
1846
|
throw await deserializeAws_json1_1NoSuchConfigurationAggregatorExceptionResponse(parsedOutput, context);
|
|
1913
1847
|
default:
|
|
1914
1848
|
const parsedBody = parsedOutput.body;
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
$metadata,
|
|
1849
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1850
|
+
output,
|
|
1851
|
+
parsedBody,
|
|
1852
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1853
|
+
errorCode,
|
|
1921
1854
|
});
|
|
1922
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1923
1855
|
}
|
|
1924
1856
|
};
|
|
1925
1857
|
const deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommand = async (output, context) => {
|
|
@@ -1941,7 +1873,6 @@ const deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommandE
|
|
|
1941
1873
|
...output,
|
|
1942
1874
|
body: await parseBody(output.body, context),
|
|
1943
1875
|
};
|
|
1944
|
-
let response;
|
|
1945
1876
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1946
1877
|
switch (errorCode) {
|
|
1947
1878
|
case "InvalidLimitException":
|
|
@@ -1958,14 +1889,12 @@ const deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommandE
|
|
|
1958
1889
|
throw await deserializeAws_json1_1NoSuchConfigurationAggregatorExceptionResponse(parsedOutput, context);
|
|
1959
1890
|
default:
|
|
1960
1891
|
const parsedBody = parsedOutput.body;
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
$metadata,
|
|
1892
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1893
|
+
output,
|
|
1894
|
+
parsedBody,
|
|
1895
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1896
|
+
errorCode,
|
|
1967
1897
|
});
|
|
1968
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1969
1898
|
}
|
|
1970
1899
|
};
|
|
1971
1900
|
const deserializeAws_json1_1DescribeConfigurationRecordersCommand = async (output, context) => {
|
|
@@ -1987,7 +1916,6 @@ const deserializeAws_json1_1DescribeConfigurationRecordersCommandError = async (
|
|
|
1987
1916
|
...output,
|
|
1988
1917
|
body: await parseBody(output.body, context),
|
|
1989
1918
|
};
|
|
1990
|
-
let response;
|
|
1991
1919
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1992
1920
|
switch (errorCode) {
|
|
1993
1921
|
case "NoSuchConfigurationRecorderException":
|
|
@@ -1995,14 +1923,12 @@ const deserializeAws_json1_1DescribeConfigurationRecordersCommandError = async (
|
|
|
1995
1923
|
throw await deserializeAws_json1_1NoSuchConfigurationRecorderExceptionResponse(parsedOutput, context);
|
|
1996
1924
|
default:
|
|
1997
1925
|
const parsedBody = parsedOutput.body;
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
$metadata,
|
|
1926
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1927
|
+
output,
|
|
1928
|
+
parsedBody,
|
|
1929
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1930
|
+
errorCode,
|
|
2004
1931
|
});
|
|
2005
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2006
1932
|
}
|
|
2007
1933
|
};
|
|
2008
1934
|
const deserializeAws_json1_1DescribeConfigurationRecorderStatusCommand = async (output, context) => {
|
|
@@ -2024,7 +1950,6 @@ const deserializeAws_json1_1DescribeConfigurationRecorderStatusCommandError = as
|
|
|
2024
1950
|
...output,
|
|
2025
1951
|
body: await parseBody(output.body, context),
|
|
2026
1952
|
};
|
|
2027
|
-
let response;
|
|
2028
1953
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2029
1954
|
switch (errorCode) {
|
|
2030
1955
|
case "NoSuchConfigurationRecorderException":
|
|
@@ -2032,14 +1957,12 @@ const deserializeAws_json1_1DescribeConfigurationRecorderStatusCommandError = as
|
|
|
2032
1957
|
throw await deserializeAws_json1_1NoSuchConfigurationRecorderExceptionResponse(parsedOutput, context);
|
|
2033
1958
|
default:
|
|
2034
1959
|
const parsedBody = parsedOutput.body;
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
$metadata,
|
|
1960
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1961
|
+
output,
|
|
1962
|
+
parsedBody,
|
|
1963
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
1964
|
+
errorCode,
|
|
2041
1965
|
});
|
|
2042
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2043
1966
|
}
|
|
2044
1967
|
};
|
|
2045
1968
|
const deserializeAws_json1_1DescribeConformancePackComplianceCommand = async (output, context) => {
|
|
@@ -2061,7 +1984,6 @@ const deserializeAws_json1_1DescribeConformancePackComplianceCommandError = asyn
|
|
|
2061
1984
|
...output,
|
|
2062
1985
|
body: await parseBody(output.body, context),
|
|
2063
1986
|
};
|
|
2064
|
-
let response;
|
|
2065
1987
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2066
1988
|
switch (errorCode) {
|
|
2067
1989
|
case "InvalidLimitException":
|
|
@@ -2081,14 +2003,12 @@ const deserializeAws_json1_1DescribeConformancePackComplianceCommandError = asyn
|
|
|
2081
2003
|
throw await deserializeAws_json1_1NoSuchConformancePackExceptionResponse(parsedOutput, context);
|
|
2082
2004
|
default:
|
|
2083
2005
|
const parsedBody = parsedOutput.body;
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
$metadata,
|
|
2006
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2007
|
+
output,
|
|
2008
|
+
parsedBody,
|
|
2009
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2010
|
+
errorCode,
|
|
2090
2011
|
});
|
|
2091
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2092
2012
|
}
|
|
2093
2013
|
};
|
|
2094
2014
|
const deserializeAws_json1_1DescribeConformancePacksCommand = async (output, context) => {
|
|
@@ -2110,7 +2030,6 @@ const deserializeAws_json1_1DescribeConformancePacksCommandError = async (output
|
|
|
2110
2030
|
...output,
|
|
2111
2031
|
body: await parseBody(output.body, context),
|
|
2112
2032
|
};
|
|
2113
|
-
let response;
|
|
2114
2033
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2115
2034
|
switch (errorCode) {
|
|
2116
2035
|
case "InvalidLimitException":
|
|
@@ -2127,14 +2046,12 @@ const deserializeAws_json1_1DescribeConformancePacksCommandError = async (output
|
|
|
2127
2046
|
throw await deserializeAws_json1_1NoSuchConformancePackExceptionResponse(parsedOutput, context);
|
|
2128
2047
|
default:
|
|
2129
2048
|
const parsedBody = parsedOutput.body;
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
$metadata,
|
|
2049
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2050
|
+
output,
|
|
2051
|
+
parsedBody,
|
|
2052
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2053
|
+
errorCode,
|
|
2136
2054
|
});
|
|
2137
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2138
2055
|
}
|
|
2139
2056
|
};
|
|
2140
2057
|
const deserializeAws_json1_1DescribeConformancePackStatusCommand = async (output, context) => {
|
|
@@ -2156,7 +2073,6 @@ const deserializeAws_json1_1DescribeConformancePackStatusCommandError = async (o
|
|
|
2156
2073
|
...output,
|
|
2157
2074
|
body: await parseBody(output.body, context),
|
|
2158
2075
|
};
|
|
2159
|
-
let response;
|
|
2160
2076
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2161
2077
|
switch (errorCode) {
|
|
2162
2078
|
case "InvalidLimitException":
|
|
@@ -2170,14 +2086,12 @@ const deserializeAws_json1_1DescribeConformancePackStatusCommandError = async (o
|
|
|
2170
2086
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
2171
2087
|
default:
|
|
2172
2088
|
const parsedBody = parsedOutput.body;
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
$metadata,
|
|
2089
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2090
|
+
output,
|
|
2091
|
+
parsedBody,
|
|
2092
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2093
|
+
errorCode,
|
|
2179
2094
|
});
|
|
2180
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2181
2095
|
}
|
|
2182
2096
|
};
|
|
2183
2097
|
const deserializeAws_json1_1DescribeDeliveryChannelsCommand = async (output, context) => {
|
|
@@ -2199,7 +2113,6 @@ const deserializeAws_json1_1DescribeDeliveryChannelsCommandError = async (output
|
|
|
2199
2113
|
...output,
|
|
2200
2114
|
body: await parseBody(output.body, context),
|
|
2201
2115
|
};
|
|
2202
|
-
let response;
|
|
2203
2116
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2204
2117
|
switch (errorCode) {
|
|
2205
2118
|
case "NoSuchDeliveryChannelException":
|
|
@@ -2207,14 +2120,12 @@ const deserializeAws_json1_1DescribeDeliveryChannelsCommandError = async (output
|
|
|
2207
2120
|
throw await deserializeAws_json1_1NoSuchDeliveryChannelExceptionResponse(parsedOutput, context);
|
|
2208
2121
|
default:
|
|
2209
2122
|
const parsedBody = parsedOutput.body;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
$metadata,
|
|
2123
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2124
|
+
output,
|
|
2125
|
+
parsedBody,
|
|
2126
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2127
|
+
errorCode,
|
|
2216
2128
|
});
|
|
2217
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2218
2129
|
}
|
|
2219
2130
|
};
|
|
2220
2131
|
const deserializeAws_json1_1DescribeDeliveryChannelStatusCommand = async (output, context) => {
|
|
@@ -2236,7 +2147,6 @@ const deserializeAws_json1_1DescribeDeliveryChannelStatusCommandError = async (o
|
|
|
2236
2147
|
...output,
|
|
2237
2148
|
body: await parseBody(output.body, context),
|
|
2238
2149
|
};
|
|
2239
|
-
let response;
|
|
2240
2150
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2241
2151
|
switch (errorCode) {
|
|
2242
2152
|
case "NoSuchDeliveryChannelException":
|
|
@@ -2244,14 +2154,12 @@ const deserializeAws_json1_1DescribeDeliveryChannelStatusCommandError = async (o
|
|
|
2244
2154
|
throw await deserializeAws_json1_1NoSuchDeliveryChannelExceptionResponse(parsedOutput, context);
|
|
2245
2155
|
default:
|
|
2246
2156
|
const parsedBody = parsedOutput.body;
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
$metadata,
|
|
2157
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2158
|
+
output,
|
|
2159
|
+
parsedBody,
|
|
2160
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2161
|
+
errorCode,
|
|
2253
2162
|
});
|
|
2254
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2255
2163
|
}
|
|
2256
2164
|
};
|
|
2257
2165
|
const deserializeAws_json1_1DescribeOrganizationConfigRulesCommand = async (output, context) => {
|
|
@@ -2273,7 +2181,6 @@ const deserializeAws_json1_1DescribeOrganizationConfigRulesCommandError = async
|
|
|
2273
2181
|
...output,
|
|
2274
2182
|
body: await parseBody(output.body, context),
|
|
2275
2183
|
};
|
|
2276
|
-
let response;
|
|
2277
2184
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2278
2185
|
switch (errorCode) {
|
|
2279
2186
|
case "InvalidLimitException":
|
|
@@ -2290,14 +2197,12 @@ const deserializeAws_json1_1DescribeOrganizationConfigRulesCommandError = async
|
|
|
2290
2197
|
throw await deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse(parsedOutput, context);
|
|
2291
2198
|
default:
|
|
2292
2199
|
const parsedBody = parsedOutput.body;
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
$metadata,
|
|
2200
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2201
|
+
output,
|
|
2202
|
+
parsedBody,
|
|
2203
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2204
|
+
errorCode,
|
|
2299
2205
|
});
|
|
2300
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2301
2206
|
}
|
|
2302
2207
|
};
|
|
2303
2208
|
const deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommand = async (output, context) => {
|
|
@@ -2319,7 +2224,6 @@ const deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommandError =
|
|
|
2319
2224
|
...output,
|
|
2320
2225
|
body: await parseBody(output.body, context),
|
|
2321
2226
|
};
|
|
2322
|
-
let response;
|
|
2323
2227
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2324
2228
|
switch (errorCode) {
|
|
2325
2229
|
case "InvalidLimitException":
|
|
@@ -2336,14 +2240,12 @@ const deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommandError =
|
|
|
2336
2240
|
throw await deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse(parsedOutput, context);
|
|
2337
2241
|
default:
|
|
2338
2242
|
const parsedBody = parsedOutput.body;
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
$metadata,
|
|
2243
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2244
|
+
output,
|
|
2245
|
+
parsedBody,
|
|
2246
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2247
|
+
errorCode,
|
|
2345
2248
|
});
|
|
2346
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2347
2249
|
}
|
|
2348
2250
|
};
|
|
2349
2251
|
const deserializeAws_json1_1DescribeOrganizationConformancePacksCommand = async (output, context) => {
|
|
@@ -2365,7 +2267,6 @@ const deserializeAws_json1_1DescribeOrganizationConformancePacksCommandError = a
|
|
|
2365
2267
|
...output,
|
|
2366
2268
|
body: await parseBody(output.body, context),
|
|
2367
2269
|
};
|
|
2368
|
-
let response;
|
|
2369
2270
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2370
2271
|
switch (errorCode) {
|
|
2371
2272
|
case "InvalidLimitException":
|
|
@@ -2382,14 +2283,12 @@ const deserializeAws_json1_1DescribeOrganizationConformancePacksCommandError = a
|
|
|
2382
2283
|
throw await deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse(parsedOutput, context);
|
|
2383
2284
|
default:
|
|
2384
2285
|
const parsedBody = parsedOutput.body;
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
$metadata,
|
|
2286
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2287
|
+
output,
|
|
2288
|
+
parsedBody,
|
|
2289
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2290
|
+
errorCode,
|
|
2391
2291
|
});
|
|
2392
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2393
2292
|
}
|
|
2394
2293
|
};
|
|
2395
2294
|
const deserializeAws_json1_1DescribeOrganizationConformancePackStatusesCommand = async (output, context) => {
|
|
@@ -2411,7 +2310,6 @@ const deserializeAws_json1_1DescribeOrganizationConformancePackStatusesCommandEr
|
|
|
2411
2310
|
...output,
|
|
2412
2311
|
body: await parseBody(output.body, context),
|
|
2413
2312
|
};
|
|
2414
|
-
let response;
|
|
2415
2313
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2416
2314
|
switch (errorCode) {
|
|
2417
2315
|
case "InvalidLimitException":
|
|
@@ -2428,14 +2326,12 @@ const deserializeAws_json1_1DescribeOrganizationConformancePackStatusesCommandEr
|
|
|
2428
2326
|
throw await deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse(parsedOutput, context);
|
|
2429
2327
|
default:
|
|
2430
2328
|
const parsedBody = parsedOutput.body;
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
$metadata,
|
|
2329
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2330
|
+
output,
|
|
2331
|
+
parsedBody,
|
|
2332
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2333
|
+
errorCode,
|
|
2437
2334
|
});
|
|
2438
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2439
2335
|
}
|
|
2440
2336
|
};
|
|
2441
2337
|
const deserializeAws_json1_1DescribePendingAggregationRequestsCommand = async (output, context) => {
|
|
@@ -2457,7 +2353,6 @@ const deserializeAws_json1_1DescribePendingAggregationRequestsCommandError = asy
|
|
|
2457
2353
|
...output,
|
|
2458
2354
|
body: await parseBody(output.body, context),
|
|
2459
2355
|
};
|
|
2460
|
-
let response;
|
|
2461
2356
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2462
2357
|
switch (errorCode) {
|
|
2463
2358
|
case "InvalidLimitException":
|
|
@@ -2471,14 +2366,12 @@ const deserializeAws_json1_1DescribePendingAggregationRequestsCommandError = asy
|
|
|
2471
2366
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
2472
2367
|
default:
|
|
2473
2368
|
const parsedBody = parsedOutput.body;
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
$metadata,
|
|
2369
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2370
|
+
output,
|
|
2371
|
+
parsedBody,
|
|
2372
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2373
|
+
errorCode,
|
|
2480
2374
|
});
|
|
2481
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2482
2375
|
}
|
|
2483
2376
|
};
|
|
2484
2377
|
const deserializeAws_json1_1DescribeRemediationConfigurationsCommand = async (output, context) => {
|
|
@@ -2500,20 +2393,14 @@ const deserializeAws_json1_1DescribeRemediationConfigurationsCommandError = asyn
|
|
|
2500
2393
|
...output,
|
|
2501
2394
|
body: await parseBody(output.body, context),
|
|
2502
2395
|
};
|
|
2503
|
-
let response;
|
|
2504
2396
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
$fault: "client",
|
|
2513
|
-
$metadata,
|
|
2514
|
-
});
|
|
2515
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2516
|
-
}
|
|
2397
|
+
const parsedBody = parsedOutput.body;
|
|
2398
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2399
|
+
output,
|
|
2400
|
+
parsedBody,
|
|
2401
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2402
|
+
errorCode,
|
|
2403
|
+
});
|
|
2517
2404
|
};
|
|
2518
2405
|
const deserializeAws_json1_1DescribeRemediationExceptionsCommand = async (output, context) => {
|
|
2519
2406
|
if (output.statusCode >= 300) {
|
|
@@ -2534,7 +2421,6 @@ const deserializeAws_json1_1DescribeRemediationExceptionsCommandError = async (o
|
|
|
2534
2421
|
...output,
|
|
2535
2422
|
body: await parseBody(output.body, context),
|
|
2536
2423
|
};
|
|
2537
|
-
let response;
|
|
2538
2424
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2539
2425
|
switch (errorCode) {
|
|
2540
2426
|
case "InvalidNextTokenException":
|
|
@@ -2545,14 +2431,12 @@ const deserializeAws_json1_1DescribeRemediationExceptionsCommandError = async (o
|
|
|
2545
2431
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
2546
2432
|
default:
|
|
2547
2433
|
const parsedBody = parsedOutput.body;
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
$metadata,
|
|
2434
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2435
|
+
output,
|
|
2436
|
+
parsedBody,
|
|
2437
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2438
|
+
errorCode,
|
|
2554
2439
|
});
|
|
2555
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2556
2440
|
}
|
|
2557
2441
|
};
|
|
2558
2442
|
const deserializeAws_json1_1DescribeRemediationExecutionStatusCommand = async (output, context) => {
|
|
@@ -2574,7 +2458,6 @@ const deserializeAws_json1_1DescribeRemediationExecutionStatusCommandError = asy
|
|
|
2574
2458
|
...output,
|
|
2575
2459
|
body: await parseBody(output.body, context),
|
|
2576
2460
|
};
|
|
2577
|
-
let response;
|
|
2578
2461
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2579
2462
|
switch (errorCode) {
|
|
2580
2463
|
case "InvalidNextTokenException":
|
|
@@ -2588,14 +2471,12 @@ const deserializeAws_json1_1DescribeRemediationExecutionStatusCommandError = asy
|
|
|
2588
2471
|
throw await deserializeAws_json1_1NoSuchRemediationConfigurationExceptionResponse(parsedOutput, context);
|
|
2589
2472
|
default:
|
|
2590
2473
|
const parsedBody = parsedOutput.body;
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
$metadata,
|
|
2474
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2475
|
+
output,
|
|
2476
|
+
parsedBody,
|
|
2477
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2478
|
+
errorCode,
|
|
2597
2479
|
});
|
|
2598
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2599
2480
|
}
|
|
2600
2481
|
};
|
|
2601
2482
|
const deserializeAws_json1_1DescribeRetentionConfigurationsCommand = async (output, context) => {
|
|
@@ -2617,7 +2498,6 @@ const deserializeAws_json1_1DescribeRetentionConfigurationsCommandError = async
|
|
|
2617
2498
|
...output,
|
|
2618
2499
|
body: await parseBody(output.body, context),
|
|
2619
2500
|
};
|
|
2620
|
-
let response;
|
|
2621
2501
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2622
2502
|
switch (errorCode) {
|
|
2623
2503
|
case "InvalidNextTokenException":
|
|
@@ -2631,14 +2511,12 @@ const deserializeAws_json1_1DescribeRetentionConfigurationsCommandError = async
|
|
|
2631
2511
|
throw await deserializeAws_json1_1NoSuchRetentionConfigurationExceptionResponse(parsedOutput, context);
|
|
2632
2512
|
default:
|
|
2633
2513
|
const parsedBody = parsedOutput.body;
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
$metadata,
|
|
2514
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2515
|
+
output,
|
|
2516
|
+
parsedBody,
|
|
2517
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2518
|
+
errorCode,
|
|
2640
2519
|
});
|
|
2641
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2642
2520
|
}
|
|
2643
2521
|
};
|
|
2644
2522
|
const deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommand = async (output, context) => {
|
|
@@ -2660,7 +2538,6 @@ const deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommandErro
|
|
|
2660
2538
|
...output,
|
|
2661
2539
|
body: await parseBody(output.body, context),
|
|
2662
2540
|
};
|
|
2663
|
-
let response;
|
|
2664
2541
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2665
2542
|
switch (errorCode) {
|
|
2666
2543
|
case "InvalidLimitException":
|
|
@@ -2677,14 +2554,12 @@ const deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommandErro
|
|
|
2677
2554
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2678
2555
|
default:
|
|
2679
2556
|
const parsedBody = parsedOutput.body;
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
$metadata,
|
|
2557
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2558
|
+
output,
|
|
2559
|
+
parsedBody,
|
|
2560
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2561
|
+
errorCode,
|
|
2686
2562
|
});
|
|
2687
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2688
2563
|
}
|
|
2689
2564
|
};
|
|
2690
2565
|
const deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommand = async (output, context) => {
|
|
@@ -2706,7 +2581,6 @@ const deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommandError
|
|
|
2706
2581
|
...output,
|
|
2707
2582
|
body: await parseBody(output.body, context),
|
|
2708
2583
|
};
|
|
2709
|
-
let response;
|
|
2710
2584
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2711
2585
|
switch (errorCode) {
|
|
2712
2586
|
case "InvalidLimitException":
|
|
@@ -2723,14 +2597,12 @@ const deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommandError
|
|
|
2723
2597
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2724
2598
|
default:
|
|
2725
2599
|
const parsedBody = parsedOutput.body;
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
$metadata,
|
|
2600
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2601
|
+
output,
|
|
2602
|
+
parsedBody,
|
|
2603
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2604
|
+
errorCode,
|
|
2732
2605
|
});
|
|
2733
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2734
2606
|
}
|
|
2735
2607
|
};
|
|
2736
2608
|
const deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommand = async (output, context) => {
|
|
@@ -2752,7 +2624,6 @@ const deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommandE
|
|
|
2752
2624
|
...output,
|
|
2753
2625
|
body: await parseBody(output.body, context),
|
|
2754
2626
|
};
|
|
2755
|
-
let response;
|
|
2756
2627
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2757
2628
|
switch (errorCode) {
|
|
2758
2629
|
case "InvalidLimitException":
|
|
@@ -2769,14 +2640,12 @@ const deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommandE
|
|
|
2769
2640
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2770
2641
|
default:
|
|
2771
2642
|
const parsedBody = parsedOutput.body;
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
$metadata,
|
|
2643
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2644
|
+
output,
|
|
2645
|
+
parsedBody,
|
|
2646
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2647
|
+
errorCode,
|
|
2778
2648
|
});
|
|
2779
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2780
2649
|
}
|
|
2781
2650
|
};
|
|
2782
2651
|
const deserializeAws_json1_1GetAggregateDiscoveredResourceCountsCommand = async (output, context) => {
|
|
@@ -2798,7 +2667,6 @@ const deserializeAws_json1_1GetAggregateDiscoveredResourceCountsCommandError = a
|
|
|
2798
2667
|
...output,
|
|
2799
2668
|
body: await parseBody(output.body, context),
|
|
2800
2669
|
};
|
|
2801
|
-
let response;
|
|
2802
2670
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2803
2671
|
switch (errorCode) {
|
|
2804
2672
|
case "InvalidLimitException":
|
|
@@ -2815,14 +2683,12 @@ const deserializeAws_json1_1GetAggregateDiscoveredResourceCountsCommandError = a
|
|
|
2815
2683
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2816
2684
|
default:
|
|
2817
2685
|
const parsedBody = parsedOutput.body;
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
$metadata,
|
|
2686
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2687
|
+
output,
|
|
2688
|
+
parsedBody,
|
|
2689
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2690
|
+
errorCode,
|
|
2824
2691
|
});
|
|
2825
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2826
2692
|
}
|
|
2827
2693
|
};
|
|
2828
2694
|
const deserializeAws_json1_1GetAggregateResourceConfigCommand = async (output, context) => {
|
|
@@ -2844,7 +2710,6 @@ const deserializeAws_json1_1GetAggregateResourceConfigCommandError = async (outp
|
|
|
2844
2710
|
...output,
|
|
2845
2711
|
body: await parseBody(output.body, context),
|
|
2846
2712
|
};
|
|
2847
|
-
let response;
|
|
2848
2713
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2849
2714
|
switch (errorCode) {
|
|
2850
2715
|
case "NoSuchConfigurationAggregatorException":
|
|
@@ -2861,14 +2726,12 @@ const deserializeAws_json1_1GetAggregateResourceConfigCommandError = async (outp
|
|
|
2861
2726
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2862
2727
|
default:
|
|
2863
2728
|
const parsedBody = parsedOutput.body;
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
$metadata,
|
|
2729
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2730
|
+
output,
|
|
2731
|
+
parsedBody,
|
|
2732
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2733
|
+
errorCode,
|
|
2870
2734
|
});
|
|
2871
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2872
2735
|
}
|
|
2873
2736
|
};
|
|
2874
2737
|
const deserializeAws_json1_1GetComplianceDetailsByConfigRuleCommand = async (output, context) => {
|
|
@@ -2890,7 +2753,6 @@ const deserializeAws_json1_1GetComplianceDetailsByConfigRuleCommandError = async
|
|
|
2890
2753
|
...output,
|
|
2891
2754
|
body: await parseBody(output.body, context),
|
|
2892
2755
|
};
|
|
2893
|
-
let response;
|
|
2894
2756
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2895
2757
|
switch (errorCode) {
|
|
2896
2758
|
case "InvalidNextTokenException":
|
|
@@ -2904,14 +2766,12 @@ const deserializeAws_json1_1GetComplianceDetailsByConfigRuleCommandError = async
|
|
|
2904
2766
|
throw await deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context);
|
|
2905
2767
|
default:
|
|
2906
2768
|
const parsedBody = parsedOutput.body;
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
$metadata,
|
|
2769
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2770
|
+
output,
|
|
2771
|
+
parsedBody,
|
|
2772
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2773
|
+
errorCode,
|
|
2913
2774
|
});
|
|
2914
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2915
2775
|
}
|
|
2916
2776
|
};
|
|
2917
2777
|
const deserializeAws_json1_1GetComplianceDetailsByResourceCommand = async (output, context) => {
|
|
@@ -2933,7 +2793,6 @@ const deserializeAws_json1_1GetComplianceDetailsByResourceCommandError = async (
|
|
|
2933
2793
|
...output,
|
|
2934
2794
|
body: await parseBody(output.body, context),
|
|
2935
2795
|
};
|
|
2936
|
-
let response;
|
|
2937
2796
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2938
2797
|
switch (errorCode) {
|
|
2939
2798
|
case "InvalidParameterValueException":
|
|
@@ -2941,14 +2800,12 @@ const deserializeAws_json1_1GetComplianceDetailsByResourceCommandError = async (
|
|
|
2941
2800
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
2942
2801
|
default:
|
|
2943
2802
|
const parsedBody = parsedOutput.body;
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
$metadata,
|
|
2803
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2804
|
+
output,
|
|
2805
|
+
parsedBody,
|
|
2806
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2807
|
+
errorCode,
|
|
2950
2808
|
});
|
|
2951
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2952
2809
|
}
|
|
2953
2810
|
};
|
|
2954
2811
|
const deserializeAws_json1_1GetComplianceSummaryByConfigRuleCommand = async (output, context) => {
|
|
@@ -2970,20 +2827,14 @@ const deserializeAws_json1_1GetComplianceSummaryByConfigRuleCommandError = async
|
|
|
2970
2827
|
...output,
|
|
2971
2828
|
body: await parseBody(output.body, context),
|
|
2972
2829
|
};
|
|
2973
|
-
let response;
|
|
2974
2830
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
$fault: "client",
|
|
2983
|
-
$metadata,
|
|
2984
|
-
});
|
|
2985
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2986
|
-
}
|
|
2831
|
+
const parsedBody = parsedOutput.body;
|
|
2832
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2833
|
+
output,
|
|
2834
|
+
parsedBody,
|
|
2835
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2836
|
+
errorCode,
|
|
2837
|
+
});
|
|
2987
2838
|
};
|
|
2988
2839
|
const deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommand = async (output, context) => {
|
|
2989
2840
|
if (output.statusCode >= 300) {
|
|
@@ -3004,7 +2855,6 @@ const deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommandError = asy
|
|
|
3004
2855
|
...output,
|
|
3005
2856
|
body: await parseBody(output.body, context),
|
|
3006
2857
|
};
|
|
3007
|
-
let response;
|
|
3008
2858
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3009
2859
|
switch (errorCode) {
|
|
3010
2860
|
case "InvalidParameterValueException":
|
|
@@ -3012,14 +2862,12 @@ const deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommandError = asy
|
|
|
3012
2862
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
3013
2863
|
default:
|
|
3014
2864
|
const parsedBody = parsedOutput.body;
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
$metadata,
|
|
2865
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2866
|
+
output,
|
|
2867
|
+
parsedBody,
|
|
2868
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2869
|
+
errorCode,
|
|
3021
2870
|
});
|
|
3022
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3023
2871
|
}
|
|
3024
2872
|
};
|
|
3025
2873
|
const deserializeAws_json1_1GetConformancePackComplianceDetailsCommand = async (output, context) => {
|
|
@@ -3041,7 +2889,6 @@ const deserializeAws_json1_1GetConformancePackComplianceDetailsCommandError = as
|
|
|
3041
2889
|
...output,
|
|
3042
2890
|
body: await parseBody(output.body, context),
|
|
3043
2891
|
};
|
|
3044
|
-
let response;
|
|
3045
2892
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3046
2893
|
switch (errorCode) {
|
|
3047
2894
|
case "InvalidLimitException":
|
|
@@ -3061,14 +2908,12 @@ const deserializeAws_json1_1GetConformancePackComplianceDetailsCommandError = as
|
|
|
3061
2908
|
throw await deserializeAws_json1_1NoSuchConformancePackExceptionResponse(parsedOutput, context);
|
|
3062
2909
|
default:
|
|
3063
2910
|
const parsedBody = parsedOutput.body;
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
$metadata,
|
|
2911
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2912
|
+
output,
|
|
2913
|
+
parsedBody,
|
|
2914
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2915
|
+
errorCode,
|
|
3070
2916
|
});
|
|
3071
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3072
2917
|
}
|
|
3073
2918
|
};
|
|
3074
2919
|
const deserializeAws_json1_1GetConformancePackComplianceSummaryCommand = async (output, context) => {
|
|
@@ -3090,7 +2935,6 @@ const deserializeAws_json1_1GetConformancePackComplianceSummaryCommandError = as
|
|
|
3090
2935
|
...output,
|
|
3091
2936
|
body: await parseBody(output.body, context),
|
|
3092
2937
|
};
|
|
3093
|
-
let response;
|
|
3094
2938
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3095
2939
|
switch (errorCode) {
|
|
3096
2940
|
case "InvalidLimitException":
|
|
@@ -3104,14 +2948,12 @@ const deserializeAws_json1_1GetConformancePackComplianceSummaryCommandError = as
|
|
|
3104
2948
|
throw await deserializeAws_json1_1NoSuchConformancePackExceptionResponse(parsedOutput, context);
|
|
3105
2949
|
default:
|
|
3106
2950
|
const parsedBody = parsedOutput.body;
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
$metadata,
|
|
2951
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2952
|
+
output,
|
|
2953
|
+
parsedBody,
|
|
2954
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2955
|
+
errorCode,
|
|
3113
2956
|
});
|
|
3114
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3115
2957
|
}
|
|
3116
2958
|
};
|
|
3117
2959
|
const deserializeAws_json1_1GetCustomRulePolicyCommand = async (output, context) => {
|
|
@@ -3133,7 +2975,6 @@ const deserializeAws_json1_1GetCustomRulePolicyCommandError = async (output, con
|
|
|
3133
2975
|
...output,
|
|
3134
2976
|
body: await parseBody(output.body, context),
|
|
3135
2977
|
};
|
|
3136
|
-
let response;
|
|
3137
2978
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3138
2979
|
switch (errorCode) {
|
|
3139
2980
|
case "NoSuchConfigRuleException":
|
|
@@ -3141,14 +2982,12 @@ const deserializeAws_json1_1GetCustomRulePolicyCommandError = async (output, con
|
|
|
3141
2982
|
throw await deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context);
|
|
3142
2983
|
default:
|
|
3143
2984
|
const parsedBody = parsedOutput.body;
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
$metadata,
|
|
2985
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2986
|
+
output,
|
|
2987
|
+
parsedBody,
|
|
2988
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
2989
|
+
errorCode,
|
|
3150
2990
|
});
|
|
3151
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3152
2991
|
}
|
|
3153
2992
|
};
|
|
3154
2993
|
const deserializeAws_json1_1GetDiscoveredResourceCountsCommand = async (output, context) => {
|
|
@@ -3170,7 +3009,6 @@ const deserializeAws_json1_1GetDiscoveredResourceCountsCommandError = async (out
|
|
|
3170
3009
|
...output,
|
|
3171
3010
|
body: await parseBody(output.body, context),
|
|
3172
3011
|
};
|
|
3173
|
-
let response;
|
|
3174
3012
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3175
3013
|
switch (errorCode) {
|
|
3176
3014
|
case "InvalidLimitException":
|
|
@@ -3184,14 +3022,12 @@ const deserializeAws_json1_1GetDiscoveredResourceCountsCommandError = async (out
|
|
|
3184
3022
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3185
3023
|
default:
|
|
3186
3024
|
const parsedBody = parsedOutput.body;
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
$metadata,
|
|
3025
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3026
|
+
output,
|
|
3027
|
+
parsedBody,
|
|
3028
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3029
|
+
errorCode,
|
|
3193
3030
|
});
|
|
3194
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3195
3031
|
}
|
|
3196
3032
|
};
|
|
3197
3033
|
const deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand = async (output, context) => {
|
|
@@ -3213,7 +3049,6 @@ const deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommandError
|
|
|
3213
3049
|
...output,
|
|
3214
3050
|
body: await parseBody(output.body, context),
|
|
3215
3051
|
};
|
|
3216
|
-
let response;
|
|
3217
3052
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3218
3053
|
switch (errorCode) {
|
|
3219
3054
|
case "InvalidLimitException":
|
|
@@ -3230,14 +3065,12 @@ const deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommandError
|
|
|
3230
3065
|
throw await deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse(parsedOutput, context);
|
|
3231
3066
|
default:
|
|
3232
3067
|
const parsedBody = parsedOutput.body;
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
$metadata,
|
|
3068
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3069
|
+
output,
|
|
3070
|
+
parsedBody,
|
|
3071
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3072
|
+
errorCode,
|
|
3239
3073
|
});
|
|
3240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3241
3074
|
}
|
|
3242
3075
|
};
|
|
3243
3076
|
const deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand = async (output, context) => {
|
|
@@ -3259,7 +3092,6 @@ const deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommandE
|
|
|
3259
3092
|
...output,
|
|
3260
3093
|
body: await parseBody(output.body, context),
|
|
3261
3094
|
};
|
|
3262
|
-
let response;
|
|
3263
3095
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3264
3096
|
switch (errorCode) {
|
|
3265
3097
|
case "InvalidLimitException":
|
|
@@ -3276,14 +3108,12 @@ const deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommandE
|
|
|
3276
3108
|
throw await deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse(parsedOutput, context);
|
|
3277
3109
|
default:
|
|
3278
3110
|
const parsedBody = parsedOutput.body;
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
$metadata,
|
|
3111
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3112
|
+
output,
|
|
3113
|
+
parsedBody,
|
|
3114
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3115
|
+
errorCode,
|
|
3285
3116
|
});
|
|
3286
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3287
3117
|
}
|
|
3288
3118
|
};
|
|
3289
3119
|
const deserializeAws_json1_1GetOrganizationCustomRulePolicyCommand = async (output, context) => {
|
|
@@ -3305,7 +3135,6 @@ const deserializeAws_json1_1GetOrganizationCustomRulePolicyCommandError = async
|
|
|
3305
3135
|
...output,
|
|
3306
3136
|
body: await parseBody(output.body, context),
|
|
3307
3137
|
};
|
|
3308
|
-
let response;
|
|
3309
3138
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3310
3139
|
switch (errorCode) {
|
|
3311
3140
|
case "NoSuchOrganizationConfigRuleException":
|
|
@@ -3316,14 +3145,12 @@ const deserializeAws_json1_1GetOrganizationCustomRulePolicyCommandError = async
|
|
|
3316
3145
|
throw await deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse(parsedOutput, context);
|
|
3317
3146
|
default:
|
|
3318
3147
|
const parsedBody = parsedOutput.body;
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
$metadata,
|
|
3148
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3149
|
+
output,
|
|
3150
|
+
parsedBody,
|
|
3151
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3152
|
+
errorCode,
|
|
3325
3153
|
});
|
|
3326
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3327
3154
|
}
|
|
3328
3155
|
};
|
|
3329
3156
|
const deserializeAws_json1_1GetResourceConfigHistoryCommand = async (output, context) => {
|
|
@@ -3345,7 +3172,6 @@ const deserializeAws_json1_1GetResourceConfigHistoryCommandError = async (output
|
|
|
3345
3172
|
...output,
|
|
3346
3173
|
body: await parseBody(output.body, context),
|
|
3347
3174
|
};
|
|
3348
|
-
let response;
|
|
3349
3175
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3350
3176
|
switch (errorCode) {
|
|
3351
3177
|
case "InvalidLimitException":
|
|
@@ -3368,14 +3194,12 @@ const deserializeAws_json1_1GetResourceConfigHistoryCommandError = async (output
|
|
|
3368
3194
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3369
3195
|
default:
|
|
3370
3196
|
const parsedBody = parsedOutput.body;
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
$metadata,
|
|
3197
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3198
|
+
output,
|
|
3199
|
+
parsedBody,
|
|
3200
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3201
|
+
errorCode,
|
|
3377
3202
|
});
|
|
3378
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3379
3203
|
}
|
|
3380
3204
|
};
|
|
3381
3205
|
const deserializeAws_json1_1GetStoredQueryCommand = async (output, context) => {
|
|
@@ -3397,7 +3221,6 @@ const deserializeAws_json1_1GetStoredQueryCommandError = async (output, context)
|
|
|
3397
3221
|
...output,
|
|
3398
3222
|
body: await parseBody(output.body, context),
|
|
3399
3223
|
};
|
|
3400
|
-
let response;
|
|
3401
3224
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3402
3225
|
switch (errorCode) {
|
|
3403
3226
|
case "ResourceNotFoundException":
|
|
@@ -3408,14 +3231,12 @@ const deserializeAws_json1_1GetStoredQueryCommandError = async (output, context)
|
|
|
3408
3231
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3409
3232
|
default:
|
|
3410
3233
|
const parsedBody = parsedOutput.body;
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
$metadata,
|
|
3234
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3235
|
+
output,
|
|
3236
|
+
parsedBody,
|
|
3237
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3238
|
+
errorCode,
|
|
3417
3239
|
});
|
|
3418
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3419
3240
|
}
|
|
3420
3241
|
};
|
|
3421
3242
|
const deserializeAws_json1_1ListAggregateDiscoveredResourcesCommand = async (output, context) => {
|
|
@@ -3437,7 +3258,6 @@ const deserializeAws_json1_1ListAggregateDiscoveredResourcesCommandError = async
|
|
|
3437
3258
|
...output,
|
|
3438
3259
|
body: await parseBody(output.body, context),
|
|
3439
3260
|
};
|
|
3440
|
-
let response;
|
|
3441
3261
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3442
3262
|
switch (errorCode) {
|
|
3443
3263
|
case "InvalidLimitException":
|
|
@@ -3454,14 +3274,52 @@ const deserializeAws_json1_1ListAggregateDiscoveredResourcesCommandError = async
|
|
|
3454
3274
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3455
3275
|
default:
|
|
3456
3276
|
const parsedBody = parsedOutput.body;
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3277
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3278
|
+
output,
|
|
3279
|
+
parsedBody,
|
|
3280
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3281
|
+
errorCode,
|
|
3282
|
+
});
|
|
3283
|
+
}
|
|
3284
|
+
};
|
|
3285
|
+
const deserializeAws_json1_1ListConformancePackComplianceScoresCommand = async (output, context) => {
|
|
3286
|
+
if (output.statusCode >= 300) {
|
|
3287
|
+
return deserializeAws_json1_1ListConformancePackComplianceScoresCommandError(output, context);
|
|
3288
|
+
}
|
|
3289
|
+
const data = await parseBody(output.body, context);
|
|
3290
|
+
let contents = {};
|
|
3291
|
+
contents = deserializeAws_json1_1ListConformancePackComplianceScoresResponse(data, context);
|
|
3292
|
+
const response = {
|
|
3293
|
+
$metadata: deserializeMetadata(output),
|
|
3294
|
+
...contents,
|
|
3295
|
+
};
|
|
3296
|
+
return Promise.resolve(response);
|
|
3297
|
+
};
|
|
3298
|
+
exports.deserializeAws_json1_1ListConformancePackComplianceScoresCommand = deserializeAws_json1_1ListConformancePackComplianceScoresCommand;
|
|
3299
|
+
const deserializeAws_json1_1ListConformancePackComplianceScoresCommandError = async (output, context) => {
|
|
3300
|
+
const parsedOutput = {
|
|
3301
|
+
...output,
|
|
3302
|
+
body: await parseBody(output.body, context),
|
|
3303
|
+
};
|
|
3304
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3305
|
+
switch (errorCode) {
|
|
3306
|
+
case "InvalidLimitException":
|
|
3307
|
+
case "com.amazonaws.configservice#InvalidLimitException":
|
|
3308
|
+
throw await deserializeAws_json1_1InvalidLimitExceptionResponse(parsedOutput, context);
|
|
3309
|
+
case "InvalidNextTokenException":
|
|
3310
|
+
case "com.amazonaws.configservice#InvalidNextTokenException":
|
|
3311
|
+
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
3312
|
+
case "InvalidParameterValueException":
|
|
3313
|
+
case "com.amazonaws.configservice#InvalidParameterValueException":
|
|
3314
|
+
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
3315
|
+
default:
|
|
3316
|
+
const parsedBody = parsedOutput.body;
|
|
3317
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3318
|
+
output,
|
|
3319
|
+
parsedBody,
|
|
3320
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3321
|
+
errorCode,
|
|
3463
3322
|
});
|
|
3464
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3465
3323
|
}
|
|
3466
3324
|
};
|
|
3467
3325
|
const deserializeAws_json1_1ListDiscoveredResourcesCommand = async (output, context) => {
|
|
@@ -3483,7 +3341,6 @@ const deserializeAws_json1_1ListDiscoveredResourcesCommandError = async (output,
|
|
|
3483
3341
|
...output,
|
|
3484
3342
|
body: await parseBody(output.body, context),
|
|
3485
3343
|
};
|
|
3486
|
-
let response;
|
|
3487
3344
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3488
3345
|
switch (errorCode) {
|
|
3489
3346
|
case "InvalidLimitException":
|
|
@@ -3500,14 +3357,12 @@ const deserializeAws_json1_1ListDiscoveredResourcesCommandError = async (output,
|
|
|
3500
3357
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3501
3358
|
default:
|
|
3502
3359
|
const parsedBody = parsedOutput.body;
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
$metadata,
|
|
3360
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3361
|
+
output,
|
|
3362
|
+
parsedBody,
|
|
3363
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3364
|
+
errorCode,
|
|
3509
3365
|
});
|
|
3510
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3511
3366
|
}
|
|
3512
3367
|
};
|
|
3513
3368
|
const deserializeAws_json1_1ListStoredQueriesCommand = async (output, context) => {
|
|
@@ -3529,7 +3384,6 @@ const deserializeAws_json1_1ListStoredQueriesCommandError = async (output, conte
|
|
|
3529
3384
|
...output,
|
|
3530
3385
|
body: await parseBody(output.body, context),
|
|
3531
3386
|
};
|
|
3532
|
-
let response;
|
|
3533
3387
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3534
3388
|
switch (errorCode) {
|
|
3535
3389
|
case "InvalidNextTokenException":
|
|
@@ -3540,14 +3394,12 @@ const deserializeAws_json1_1ListStoredQueriesCommandError = async (output, conte
|
|
|
3540
3394
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3541
3395
|
default:
|
|
3542
3396
|
const parsedBody = parsedOutput.body;
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
$metadata,
|
|
3397
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3398
|
+
output,
|
|
3399
|
+
parsedBody,
|
|
3400
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3401
|
+
errorCode,
|
|
3549
3402
|
});
|
|
3550
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3551
3403
|
}
|
|
3552
3404
|
};
|
|
3553
3405
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -3569,7 +3421,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
3569
3421
|
...output,
|
|
3570
3422
|
body: await parseBody(output.body, context),
|
|
3571
3423
|
};
|
|
3572
|
-
let response;
|
|
3573
3424
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3574
3425
|
switch (errorCode) {
|
|
3575
3426
|
case "InvalidLimitException":
|
|
@@ -3586,14 +3437,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
3586
3437
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
3587
3438
|
default:
|
|
3588
3439
|
const parsedBody = parsedOutput.body;
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
$metadata,
|
|
3440
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3441
|
+
output,
|
|
3442
|
+
parsedBody,
|
|
3443
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3444
|
+
errorCode,
|
|
3595
3445
|
});
|
|
3596
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3597
3446
|
}
|
|
3598
3447
|
};
|
|
3599
3448
|
const deserializeAws_json1_1PutAggregationAuthorizationCommand = async (output, context) => {
|
|
@@ -3615,7 +3464,6 @@ const deserializeAws_json1_1PutAggregationAuthorizationCommandError = async (out
|
|
|
3615
3464
|
...output,
|
|
3616
3465
|
body: await parseBody(output.body, context),
|
|
3617
3466
|
};
|
|
3618
|
-
let response;
|
|
3619
3467
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3620
3468
|
switch (errorCode) {
|
|
3621
3469
|
case "InvalidParameterValueException":
|
|
@@ -3623,14 +3471,12 @@ const deserializeAws_json1_1PutAggregationAuthorizationCommandError = async (out
|
|
|
3623
3471
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
3624
3472
|
default:
|
|
3625
3473
|
const parsedBody = parsedOutput.body;
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
$metadata,
|
|
3474
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3475
|
+
output,
|
|
3476
|
+
parsedBody,
|
|
3477
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3478
|
+
errorCode,
|
|
3632
3479
|
});
|
|
3633
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3634
3480
|
}
|
|
3635
3481
|
};
|
|
3636
3482
|
const deserializeAws_json1_1PutConfigRuleCommand = async (output, context) => {
|
|
@@ -3649,7 +3495,6 @@ const deserializeAws_json1_1PutConfigRuleCommandError = async (output, context)
|
|
|
3649
3495
|
...output,
|
|
3650
3496
|
body: await parseBody(output.body, context),
|
|
3651
3497
|
};
|
|
3652
|
-
let response;
|
|
3653
3498
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3654
3499
|
switch (errorCode) {
|
|
3655
3500
|
case "InsufficientPermissionsException":
|
|
@@ -3669,14 +3514,12 @@ const deserializeAws_json1_1PutConfigRuleCommandError = async (output, context)
|
|
|
3669
3514
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
3670
3515
|
default:
|
|
3671
3516
|
const parsedBody = parsedOutput.body;
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
$metadata,
|
|
3517
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3518
|
+
output,
|
|
3519
|
+
parsedBody,
|
|
3520
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3521
|
+
errorCode,
|
|
3678
3522
|
});
|
|
3679
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3680
3523
|
}
|
|
3681
3524
|
};
|
|
3682
3525
|
const deserializeAws_json1_1PutConfigurationAggregatorCommand = async (output, context) => {
|
|
@@ -3698,7 +3541,6 @@ const deserializeAws_json1_1PutConfigurationAggregatorCommandError = async (outp
|
|
|
3698
3541
|
...output,
|
|
3699
3542
|
body: await parseBody(output.body, context),
|
|
3700
3543
|
};
|
|
3701
|
-
let response;
|
|
3702
3544
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3703
3545
|
switch (errorCode) {
|
|
3704
3546
|
case "InvalidParameterValueException":
|
|
@@ -3721,14 +3563,12 @@ const deserializeAws_json1_1PutConfigurationAggregatorCommandError = async (outp
|
|
|
3721
3563
|
throw await deserializeAws_json1_1OrganizationAllFeaturesNotEnabledExceptionResponse(parsedOutput, context);
|
|
3722
3564
|
default:
|
|
3723
3565
|
const parsedBody = parsedOutput.body;
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
$metadata,
|
|
3566
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3567
|
+
output,
|
|
3568
|
+
parsedBody,
|
|
3569
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3570
|
+
errorCode,
|
|
3730
3571
|
});
|
|
3731
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3732
3572
|
}
|
|
3733
3573
|
};
|
|
3734
3574
|
const deserializeAws_json1_1PutConfigurationRecorderCommand = async (output, context) => {
|
|
@@ -3747,7 +3587,6 @@ const deserializeAws_json1_1PutConfigurationRecorderCommandError = async (output
|
|
|
3747
3587
|
...output,
|
|
3748
3588
|
body: await parseBody(output.body, context),
|
|
3749
3589
|
};
|
|
3750
|
-
let response;
|
|
3751
3590
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3752
3591
|
switch (errorCode) {
|
|
3753
3592
|
case "InvalidConfigurationRecorderNameException":
|
|
@@ -3764,14 +3603,12 @@ const deserializeAws_json1_1PutConfigurationRecorderCommandError = async (output
|
|
|
3764
3603
|
throw await deserializeAws_json1_1MaxNumberOfConfigurationRecordersExceededExceptionResponse(parsedOutput, context);
|
|
3765
3604
|
default:
|
|
3766
3605
|
const parsedBody = parsedOutput.body;
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
$metadata,
|
|
3606
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3607
|
+
output,
|
|
3608
|
+
parsedBody,
|
|
3609
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3610
|
+
errorCode,
|
|
3773
3611
|
});
|
|
3774
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3775
3612
|
}
|
|
3776
3613
|
};
|
|
3777
3614
|
const deserializeAws_json1_1PutConformancePackCommand = async (output, context) => {
|
|
@@ -3793,7 +3630,6 @@ const deserializeAws_json1_1PutConformancePackCommandError = async (output, cont
|
|
|
3793
3630
|
...output,
|
|
3794
3631
|
body: await parseBody(output.body, context),
|
|
3795
3632
|
};
|
|
3796
|
-
let response;
|
|
3797
3633
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3798
3634
|
switch (errorCode) {
|
|
3799
3635
|
case "ConformancePackTemplateValidationException":
|
|
@@ -3813,14 +3649,12 @@ const deserializeAws_json1_1PutConformancePackCommandError = async (output, cont
|
|
|
3813
3649
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
3814
3650
|
default:
|
|
3815
3651
|
const parsedBody = parsedOutput.body;
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
$metadata,
|
|
3652
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3653
|
+
output,
|
|
3654
|
+
parsedBody,
|
|
3655
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3656
|
+
errorCode,
|
|
3822
3657
|
});
|
|
3823
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3824
3658
|
}
|
|
3825
3659
|
};
|
|
3826
3660
|
const deserializeAws_json1_1PutDeliveryChannelCommand = async (output, context) => {
|
|
@@ -3839,7 +3673,6 @@ const deserializeAws_json1_1PutDeliveryChannelCommandError = async (output, cont
|
|
|
3839
3673
|
...output,
|
|
3840
3674
|
body: await parseBody(output.body, context),
|
|
3841
3675
|
};
|
|
3842
|
-
let response;
|
|
3843
3676
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3844
3677
|
switch (errorCode) {
|
|
3845
3678
|
case "InsufficientDeliveryPolicyException":
|
|
@@ -3868,14 +3701,12 @@ const deserializeAws_json1_1PutDeliveryChannelCommandError = async (output, cont
|
|
|
3868
3701
|
throw await deserializeAws_json1_1NoSuchBucketExceptionResponse(parsedOutput, context);
|
|
3869
3702
|
default:
|
|
3870
3703
|
const parsedBody = parsedOutput.body;
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
$metadata,
|
|
3704
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3705
|
+
output,
|
|
3706
|
+
parsedBody,
|
|
3707
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3708
|
+
errorCode,
|
|
3877
3709
|
});
|
|
3878
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3879
3710
|
}
|
|
3880
3711
|
};
|
|
3881
3712
|
const deserializeAws_json1_1PutEvaluationsCommand = async (output, context) => {
|
|
@@ -3897,7 +3728,6 @@ const deserializeAws_json1_1PutEvaluationsCommandError = async (output, context)
|
|
|
3897
3728
|
...output,
|
|
3898
3729
|
body: await parseBody(output.body, context),
|
|
3899
3730
|
};
|
|
3900
|
-
let response;
|
|
3901
3731
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3902
3732
|
switch (errorCode) {
|
|
3903
3733
|
case "InvalidParameterValueException":
|
|
@@ -3911,14 +3741,12 @@ const deserializeAws_json1_1PutEvaluationsCommandError = async (output, context)
|
|
|
3911
3741
|
throw await deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context);
|
|
3912
3742
|
default:
|
|
3913
3743
|
const parsedBody = parsedOutput.body;
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
$metadata,
|
|
3744
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3745
|
+
output,
|
|
3746
|
+
parsedBody,
|
|
3747
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3748
|
+
errorCode,
|
|
3920
3749
|
});
|
|
3921
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3922
3750
|
}
|
|
3923
3751
|
};
|
|
3924
3752
|
const deserializeAws_json1_1PutExternalEvaluationCommand = async (output, context) => {
|
|
@@ -3940,7 +3768,6 @@ const deserializeAws_json1_1PutExternalEvaluationCommandError = async (output, c
|
|
|
3940
3768
|
...output,
|
|
3941
3769
|
body: await parseBody(output.body, context),
|
|
3942
3770
|
};
|
|
3943
|
-
let response;
|
|
3944
3771
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3945
3772
|
switch (errorCode) {
|
|
3946
3773
|
case "InvalidParameterValueException":
|
|
@@ -3951,14 +3778,12 @@ const deserializeAws_json1_1PutExternalEvaluationCommandError = async (output, c
|
|
|
3951
3778
|
throw await deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context);
|
|
3952
3779
|
default:
|
|
3953
3780
|
const parsedBody = parsedOutput.body;
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
$metadata,
|
|
3781
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3782
|
+
output,
|
|
3783
|
+
parsedBody,
|
|
3784
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3785
|
+
errorCode,
|
|
3960
3786
|
});
|
|
3961
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3962
3787
|
}
|
|
3963
3788
|
};
|
|
3964
3789
|
const deserializeAws_json1_1PutOrganizationConfigRuleCommand = async (output, context) => {
|
|
@@ -3980,7 +3805,6 @@ const deserializeAws_json1_1PutOrganizationConfigRuleCommandError = async (outpu
|
|
|
3980
3805
|
...output,
|
|
3981
3806
|
body: await parseBody(output.body, context),
|
|
3982
3807
|
};
|
|
3983
|
-
let response;
|
|
3984
3808
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3985
3809
|
switch (errorCode) {
|
|
3986
3810
|
case "InsufficientPermissionsException":
|
|
@@ -4009,14 +3833,12 @@ const deserializeAws_json1_1PutOrganizationConfigRuleCommandError = async (outpu
|
|
|
4009
3833
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
4010
3834
|
default:
|
|
4011
3835
|
const parsedBody = parsedOutput.body;
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
$metadata,
|
|
3836
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3837
|
+
output,
|
|
3838
|
+
parsedBody,
|
|
3839
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3840
|
+
errorCode,
|
|
4018
3841
|
});
|
|
4019
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4020
3842
|
}
|
|
4021
3843
|
};
|
|
4022
3844
|
const deserializeAws_json1_1PutOrganizationConformancePackCommand = async (output, context) => {
|
|
@@ -4038,7 +3860,6 @@ const deserializeAws_json1_1PutOrganizationConformancePackCommandError = async (
|
|
|
4038
3860
|
...output,
|
|
4039
3861
|
body: await parseBody(output.body, context),
|
|
4040
3862
|
};
|
|
4041
|
-
let response;
|
|
4042
3863
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4043
3864
|
switch (errorCode) {
|
|
4044
3865
|
case "InsufficientPermissionsException":
|
|
@@ -4067,14 +3888,12 @@ const deserializeAws_json1_1PutOrganizationConformancePackCommandError = async (
|
|
|
4067
3888
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
4068
3889
|
default:
|
|
4069
3890
|
const parsedBody = parsedOutput.body;
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
$metadata,
|
|
3891
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3892
|
+
output,
|
|
3893
|
+
parsedBody,
|
|
3894
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3895
|
+
errorCode,
|
|
4076
3896
|
});
|
|
4077
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4078
3897
|
}
|
|
4079
3898
|
};
|
|
4080
3899
|
const deserializeAws_json1_1PutRemediationConfigurationsCommand = async (output, context) => {
|
|
@@ -4096,7 +3915,6 @@ const deserializeAws_json1_1PutRemediationConfigurationsCommandError = async (ou
|
|
|
4096
3915
|
...output,
|
|
4097
3916
|
body: await parseBody(output.body, context),
|
|
4098
3917
|
};
|
|
4099
|
-
let response;
|
|
4100
3918
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4101
3919
|
switch (errorCode) {
|
|
4102
3920
|
case "InsufficientPermissionsException":
|
|
@@ -4107,14 +3925,12 @@ const deserializeAws_json1_1PutRemediationConfigurationsCommandError = async (ou
|
|
|
4107
3925
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
4108
3926
|
default:
|
|
4109
3927
|
const parsedBody = parsedOutput.body;
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
$metadata,
|
|
3928
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3929
|
+
output,
|
|
3930
|
+
parsedBody,
|
|
3931
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3932
|
+
errorCode,
|
|
4116
3933
|
});
|
|
4117
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4118
3934
|
}
|
|
4119
3935
|
};
|
|
4120
3936
|
const deserializeAws_json1_1PutRemediationExceptionsCommand = async (output, context) => {
|
|
@@ -4136,7 +3952,6 @@ const deserializeAws_json1_1PutRemediationExceptionsCommandError = async (output
|
|
|
4136
3952
|
...output,
|
|
4137
3953
|
body: await parseBody(output.body, context),
|
|
4138
3954
|
};
|
|
4139
|
-
let response;
|
|
4140
3955
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4141
3956
|
switch (errorCode) {
|
|
4142
3957
|
case "InsufficientPermissionsException":
|
|
@@ -4147,14 +3962,12 @@ const deserializeAws_json1_1PutRemediationExceptionsCommandError = async (output
|
|
|
4147
3962
|
throw await deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context);
|
|
4148
3963
|
default:
|
|
4149
3964
|
const parsedBody = parsedOutput.body;
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
$metadata,
|
|
3965
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3966
|
+
output,
|
|
3967
|
+
parsedBody,
|
|
3968
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
3969
|
+
errorCode,
|
|
4156
3970
|
});
|
|
4157
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4158
3971
|
}
|
|
4159
3972
|
};
|
|
4160
3973
|
const deserializeAws_json1_1PutResourceConfigCommand = async (output, context) => {
|
|
@@ -4173,7 +3986,6 @@ const deserializeAws_json1_1PutResourceConfigCommandError = async (output, conte
|
|
|
4173
3986
|
...output,
|
|
4174
3987
|
body: await parseBody(output.body, context),
|
|
4175
3988
|
};
|
|
4176
|
-
let response;
|
|
4177
3989
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4178
3990
|
switch (errorCode) {
|
|
4179
3991
|
case "InsufficientPermissionsException":
|
|
@@ -4190,14 +4002,12 @@ const deserializeAws_json1_1PutResourceConfigCommandError = async (output, conte
|
|
|
4190
4002
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
4191
4003
|
default:
|
|
4192
4004
|
const parsedBody = parsedOutput.body;
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
$metadata,
|
|
4005
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4006
|
+
output,
|
|
4007
|
+
parsedBody,
|
|
4008
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4009
|
+
errorCode,
|
|
4199
4010
|
});
|
|
4200
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4201
4011
|
}
|
|
4202
4012
|
};
|
|
4203
4013
|
const deserializeAws_json1_1PutRetentionConfigurationCommand = async (output, context) => {
|
|
@@ -4219,7 +4029,6 @@ const deserializeAws_json1_1PutRetentionConfigurationCommandError = async (outpu
|
|
|
4219
4029
|
...output,
|
|
4220
4030
|
body: await parseBody(output.body, context),
|
|
4221
4031
|
};
|
|
4222
|
-
let response;
|
|
4223
4032
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4224
4033
|
switch (errorCode) {
|
|
4225
4034
|
case "InvalidParameterValueException":
|
|
@@ -4230,14 +4039,12 @@ const deserializeAws_json1_1PutRetentionConfigurationCommandError = async (outpu
|
|
|
4230
4039
|
throw await deserializeAws_json1_1MaxNumberOfRetentionConfigurationsExceededExceptionResponse(parsedOutput, context);
|
|
4231
4040
|
default:
|
|
4232
4041
|
const parsedBody = parsedOutput.body;
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
$metadata,
|
|
4042
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4043
|
+
output,
|
|
4044
|
+
parsedBody,
|
|
4045
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4046
|
+
errorCode,
|
|
4239
4047
|
});
|
|
4240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4241
4048
|
}
|
|
4242
4049
|
};
|
|
4243
4050
|
const deserializeAws_json1_1PutStoredQueryCommand = async (output, context) => {
|
|
@@ -4259,7 +4066,6 @@ const deserializeAws_json1_1PutStoredQueryCommandError = async (output, context)
|
|
|
4259
4066
|
...output,
|
|
4260
4067
|
body: await parseBody(output.body, context),
|
|
4261
4068
|
};
|
|
4262
|
-
let response;
|
|
4263
4069
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4264
4070
|
switch (errorCode) {
|
|
4265
4071
|
case "ResourceConcurrentModificationException":
|
|
@@ -4273,14 +4079,12 @@ const deserializeAws_json1_1PutStoredQueryCommandError = async (output, context)
|
|
|
4273
4079
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
4274
4080
|
default:
|
|
4275
4081
|
const parsedBody = parsedOutput.body;
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
$metadata,
|
|
4082
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4083
|
+
output,
|
|
4084
|
+
parsedBody,
|
|
4085
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4086
|
+
errorCode,
|
|
4282
4087
|
});
|
|
4283
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4284
4088
|
}
|
|
4285
4089
|
};
|
|
4286
4090
|
const deserializeAws_json1_1SelectAggregateResourceConfigCommand = async (output, context) => {
|
|
@@ -4302,7 +4106,6 @@ const deserializeAws_json1_1SelectAggregateResourceConfigCommandError = async (o
|
|
|
4302
4106
|
...output,
|
|
4303
4107
|
body: await parseBody(output.body, context),
|
|
4304
4108
|
};
|
|
4305
|
-
let response;
|
|
4306
4109
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4307
4110
|
switch (errorCode) {
|
|
4308
4111
|
case "InvalidExpressionException":
|
|
@@ -4319,14 +4122,12 @@ const deserializeAws_json1_1SelectAggregateResourceConfigCommandError = async (o
|
|
|
4319
4122
|
throw await deserializeAws_json1_1NoSuchConfigurationAggregatorExceptionResponse(parsedOutput, context);
|
|
4320
4123
|
default:
|
|
4321
4124
|
const parsedBody = parsedOutput.body;
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
$metadata,
|
|
4125
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4126
|
+
output,
|
|
4127
|
+
parsedBody,
|
|
4128
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4129
|
+
errorCode,
|
|
4328
4130
|
});
|
|
4329
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4330
4131
|
}
|
|
4331
4132
|
};
|
|
4332
4133
|
const deserializeAws_json1_1SelectResourceConfigCommand = async (output, context) => {
|
|
@@ -4348,7 +4149,6 @@ const deserializeAws_json1_1SelectResourceConfigCommandError = async (output, co
|
|
|
4348
4149
|
...output,
|
|
4349
4150
|
body: await parseBody(output.body, context),
|
|
4350
4151
|
};
|
|
4351
|
-
let response;
|
|
4352
4152
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4353
4153
|
switch (errorCode) {
|
|
4354
4154
|
case "InvalidExpressionException":
|
|
@@ -4362,14 +4162,12 @@ const deserializeAws_json1_1SelectResourceConfigCommandError = async (output, co
|
|
|
4362
4162
|
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
4363
4163
|
default:
|
|
4364
4164
|
const parsedBody = parsedOutput.body;
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
$metadata,
|
|
4165
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4166
|
+
output,
|
|
4167
|
+
parsedBody,
|
|
4168
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4169
|
+
errorCode,
|
|
4371
4170
|
});
|
|
4372
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4373
4171
|
}
|
|
4374
4172
|
};
|
|
4375
4173
|
const deserializeAws_json1_1StartConfigRulesEvaluationCommand = async (output, context) => {
|
|
@@ -4391,7 +4189,6 @@ const deserializeAws_json1_1StartConfigRulesEvaluationCommandError = async (outp
|
|
|
4391
4189
|
...output,
|
|
4392
4190
|
body: await parseBody(output.body, context),
|
|
4393
4191
|
};
|
|
4394
|
-
let response;
|
|
4395
4192
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4396
4193
|
switch (errorCode) {
|
|
4397
4194
|
case "InvalidParameterValueException":
|
|
@@ -4408,14 +4205,12 @@ const deserializeAws_json1_1StartConfigRulesEvaluationCommandError = async (outp
|
|
|
4408
4205
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
4409
4206
|
default:
|
|
4410
4207
|
const parsedBody = parsedOutput.body;
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
$metadata,
|
|
4208
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4209
|
+
output,
|
|
4210
|
+
parsedBody,
|
|
4211
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4212
|
+
errorCode,
|
|
4417
4213
|
});
|
|
4418
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4419
4214
|
}
|
|
4420
4215
|
};
|
|
4421
4216
|
const deserializeAws_json1_1StartConfigurationRecorderCommand = async (output, context) => {
|
|
@@ -4434,7 +4229,6 @@ const deserializeAws_json1_1StartConfigurationRecorderCommandError = async (outp
|
|
|
4434
4229
|
...output,
|
|
4435
4230
|
body: await parseBody(output.body, context),
|
|
4436
4231
|
};
|
|
4437
|
-
let response;
|
|
4438
4232
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4439
4233
|
switch (errorCode) {
|
|
4440
4234
|
case "NoAvailableDeliveryChannelException":
|
|
@@ -4445,14 +4239,12 @@ const deserializeAws_json1_1StartConfigurationRecorderCommandError = async (outp
|
|
|
4445
4239
|
throw await deserializeAws_json1_1NoSuchConfigurationRecorderExceptionResponse(parsedOutput, context);
|
|
4446
4240
|
default:
|
|
4447
4241
|
const parsedBody = parsedOutput.body;
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
$metadata,
|
|
4242
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4243
|
+
output,
|
|
4244
|
+
parsedBody,
|
|
4245
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4246
|
+
errorCode,
|
|
4454
4247
|
});
|
|
4455
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4456
4248
|
}
|
|
4457
4249
|
};
|
|
4458
4250
|
const deserializeAws_json1_1StartRemediationExecutionCommand = async (output, context) => {
|
|
@@ -4474,7 +4266,6 @@ const deserializeAws_json1_1StartRemediationExecutionCommandError = async (outpu
|
|
|
4474
4266
|
...output,
|
|
4475
4267
|
body: await parseBody(output.body, context),
|
|
4476
4268
|
};
|
|
4477
|
-
let response;
|
|
4478
4269
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4479
4270
|
switch (errorCode) {
|
|
4480
4271
|
case "InsufficientPermissionsException":
|
|
@@ -4488,14 +4279,12 @@ const deserializeAws_json1_1StartRemediationExecutionCommandError = async (outpu
|
|
|
4488
4279
|
throw await deserializeAws_json1_1NoSuchRemediationConfigurationExceptionResponse(parsedOutput, context);
|
|
4489
4280
|
default:
|
|
4490
4281
|
const parsedBody = parsedOutput.body;
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
$metadata,
|
|
4282
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4283
|
+
output,
|
|
4284
|
+
parsedBody,
|
|
4285
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4286
|
+
errorCode,
|
|
4497
4287
|
});
|
|
4498
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4499
4288
|
}
|
|
4500
4289
|
};
|
|
4501
4290
|
const deserializeAws_json1_1StopConfigurationRecorderCommand = async (output, context) => {
|
|
@@ -4514,7 +4303,6 @@ const deserializeAws_json1_1StopConfigurationRecorderCommandError = async (outpu
|
|
|
4514
4303
|
...output,
|
|
4515
4304
|
body: await parseBody(output.body, context),
|
|
4516
4305
|
};
|
|
4517
|
-
let response;
|
|
4518
4306
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4519
4307
|
switch (errorCode) {
|
|
4520
4308
|
case "NoSuchConfigurationRecorderException":
|
|
@@ -4522,14 +4310,12 @@ const deserializeAws_json1_1StopConfigurationRecorderCommandError = async (outpu
|
|
|
4522
4310
|
throw await deserializeAws_json1_1NoSuchConfigurationRecorderExceptionResponse(parsedOutput, context);
|
|
4523
4311
|
default:
|
|
4524
4312
|
const parsedBody = parsedOutput.body;
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
$metadata,
|
|
4313
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4314
|
+
output,
|
|
4315
|
+
parsedBody,
|
|
4316
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4317
|
+
errorCode,
|
|
4531
4318
|
});
|
|
4532
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4533
4319
|
}
|
|
4534
4320
|
};
|
|
4535
4321
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -4548,7 +4334,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
4548
4334
|
...output,
|
|
4549
4335
|
body: await parseBody(output.body, context),
|
|
4550
4336
|
};
|
|
4551
|
-
let response;
|
|
4552
4337
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4553
4338
|
switch (errorCode) {
|
|
4554
4339
|
case "ResourceNotFoundException":
|
|
@@ -4562,14 +4347,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
4562
4347
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
4563
4348
|
default:
|
|
4564
4349
|
const parsedBody = parsedOutput.body;
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
$metadata,
|
|
4350
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4351
|
+
output,
|
|
4352
|
+
parsedBody,
|
|
4353
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4354
|
+
errorCode,
|
|
4571
4355
|
});
|
|
4572
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4573
4356
|
}
|
|
4574
4357
|
};
|
|
4575
4358
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -4588,7 +4371,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
4588
4371
|
...output,
|
|
4589
4372
|
body: await parseBody(output.body, context),
|
|
4590
4373
|
};
|
|
4591
|
-
let response;
|
|
4592
4374
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4593
4375
|
switch (errorCode) {
|
|
4594
4376
|
case "ResourceNotFoundException":
|
|
@@ -4599,14 +4381,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
4599
4381
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
4600
4382
|
default:
|
|
4601
4383
|
const parsedBody = parsedOutput.body;
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
$metadata,
|
|
4384
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4385
|
+
output,
|
|
4386
|
+
parsedBody,
|
|
4387
|
+
exceptionCtor: ConfigServiceServiceException_1.ConfigServiceServiceException,
|
|
4388
|
+
errorCode,
|
|
4608
4389
|
});
|
|
4609
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4610
4390
|
}
|
|
4611
4391
|
};
|
|
4612
4392
|
const deserializeAws_json1_1ConformancePackTemplateValidationExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -5101,9 +4881,6 @@ const serializeAws_json1_1AccountAggregationSourceAccountList = (input, context)
|
|
|
5101
4881
|
return input
|
|
5102
4882
|
.filter((e) => e != null)
|
|
5103
4883
|
.map((entry) => {
|
|
5104
|
-
if (entry === null) {
|
|
5105
|
-
return null;
|
|
5106
|
-
}
|
|
5107
4884
|
return entry;
|
|
5108
4885
|
});
|
|
5109
4886
|
};
|
|
@@ -5111,9 +4888,6 @@ const serializeAws_json1_1AccountAggregationSourceList = (input, context) => {
|
|
|
5111
4888
|
return input
|
|
5112
4889
|
.filter((e) => e != null)
|
|
5113
4890
|
.map((entry) => {
|
|
5114
|
-
if (entry === null) {
|
|
5115
|
-
return null;
|
|
5116
|
-
}
|
|
5117
4891
|
return serializeAws_json1_1AccountAggregationSource(entry, context);
|
|
5118
4892
|
});
|
|
5119
4893
|
};
|
|
@@ -5135,9 +4909,6 @@ const serializeAws_json1_1AggregatedSourceStatusTypeList = (input, context) => {
|
|
|
5135
4909
|
return input
|
|
5136
4910
|
.filter((e) => e != null)
|
|
5137
4911
|
.map((entry) => {
|
|
5138
|
-
if (entry === null) {
|
|
5139
|
-
return null;
|
|
5140
|
-
}
|
|
5141
4912
|
return entry;
|
|
5142
4913
|
});
|
|
5143
4914
|
};
|
|
@@ -5154,9 +4925,6 @@ const serializeAws_json1_1AggregatorRegionList = (input, context) => {
|
|
|
5154
4925
|
return input
|
|
5155
4926
|
.filter((e) => e != null)
|
|
5156
4927
|
.map((entry) => {
|
|
5157
|
-
if (entry === null) {
|
|
5158
|
-
return null;
|
|
5159
|
-
}
|
|
5160
4928
|
return entry;
|
|
5161
4929
|
});
|
|
5162
4930
|
};
|
|
@@ -5179,9 +4947,6 @@ const serializeAws_json1_1ComplianceResourceTypes = (input, context) => {
|
|
|
5179
4947
|
return input
|
|
5180
4948
|
.filter((e) => e != null)
|
|
5181
4949
|
.map((entry) => {
|
|
5182
|
-
if (entry === null) {
|
|
5183
|
-
return null;
|
|
5184
|
-
}
|
|
5185
4950
|
return entry;
|
|
5186
4951
|
});
|
|
5187
4952
|
};
|
|
@@ -5189,9 +4954,6 @@ const serializeAws_json1_1ComplianceTypes = (input, context) => {
|
|
|
5189
4954
|
return input
|
|
5190
4955
|
.filter((e) => e != null)
|
|
5191
4956
|
.map((entry) => {
|
|
5192
|
-
if (entry === null) {
|
|
5193
|
-
return null;
|
|
5194
|
-
}
|
|
5195
4957
|
return entry;
|
|
5196
4958
|
});
|
|
5197
4959
|
};
|
|
@@ -5227,9 +4989,6 @@ const serializeAws_json1_1ConfigRuleNames = (input, context) => {
|
|
|
5227
4989
|
return input
|
|
5228
4990
|
.filter((e) => e != null)
|
|
5229
4991
|
.map((entry) => {
|
|
5230
|
-
if (entry === null) {
|
|
5231
|
-
return null;
|
|
5232
|
-
}
|
|
5233
4992
|
return entry;
|
|
5234
4993
|
});
|
|
5235
4994
|
};
|
|
@@ -5242,9 +5001,6 @@ const serializeAws_json1_1ConfigurationAggregatorNameList = (input, context) =>
|
|
|
5242
5001
|
return input
|
|
5243
5002
|
.filter((e) => e != null)
|
|
5244
5003
|
.map((entry) => {
|
|
5245
|
-
if (entry === null) {
|
|
5246
|
-
return null;
|
|
5247
|
-
}
|
|
5248
5004
|
return entry;
|
|
5249
5005
|
});
|
|
5250
5006
|
};
|
|
@@ -5261,9 +5017,6 @@ const serializeAws_json1_1ConfigurationRecorderNameList = (input, context) => {
|
|
|
5261
5017
|
return input
|
|
5262
5018
|
.filter((e) => e != null)
|
|
5263
5019
|
.map((entry) => {
|
|
5264
|
-
if (entry === null) {
|
|
5265
|
-
return null;
|
|
5266
|
-
}
|
|
5267
5020
|
return entry;
|
|
5268
5021
|
});
|
|
5269
5022
|
};
|
|
@@ -5279,19 +5032,20 @@ const serializeAws_json1_1ConformancePackComplianceResourceIds = (input, context
|
|
|
5279
5032
|
return input
|
|
5280
5033
|
.filter((e) => e != null)
|
|
5281
5034
|
.map((entry) => {
|
|
5282
|
-
if (entry === null) {
|
|
5283
|
-
return null;
|
|
5284
|
-
}
|
|
5285
5035
|
return entry;
|
|
5286
5036
|
});
|
|
5287
5037
|
};
|
|
5038
|
+
const serializeAws_json1_1ConformancePackComplianceScoresFilters = (input, context) => {
|
|
5039
|
+
return {
|
|
5040
|
+
...(input.ConformancePackNames != null && {
|
|
5041
|
+
ConformancePackNames: serializeAws_json1_1ConformancePackNameFilter(input.ConformancePackNames, context),
|
|
5042
|
+
}),
|
|
5043
|
+
};
|
|
5044
|
+
};
|
|
5288
5045
|
const serializeAws_json1_1ConformancePackConfigRuleNames = (input, context) => {
|
|
5289
5046
|
return input
|
|
5290
5047
|
.filter((e) => e != null)
|
|
5291
5048
|
.map((entry) => {
|
|
5292
|
-
if (entry === null) {
|
|
5293
|
-
return null;
|
|
5294
|
-
}
|
|
5295
5049
|
return entry;
|
|
5296
5050
|
});
|
|
5297
5051
|
};
|
|
@@ -5317,19 +5071,20 @@ const serializeAws_json1_1ConformancePackInputParameters = (input, context) => {
|
|
|
5317
5071
|
return input
|
|
5318
5072
|
.filter((e) => e != null)
|
|
5319
5073
|
.map((entry) => {
|
|
5320
|
-
if (entry === null) {
|
|
5321
|
-
return null;
|
|
5322
|
-
}
|
|
5323
5074
|
return serializeAws_json1_1ConformancePackInputParameter(entry, context);
|
|
5324
5075
|
});
|
|
5325
5076
|
};
|
|
5077
|
+
const serializeAws_json1_1ConformancePackNameFilter = (input, context) => {
|
|
5078
|
+
return input
|
|
5079
|
+
.filter((e) => e != null)
|
|
5080
|
+
.map((entry) => {
|
|
5081
|
+
return entry;
|
|
5082
|
+
});
|
|
5083
|
+
};
|
|
5326
5084
|
const serializeAws_json1_1ConformancePackNamesList = (input, context) => {
|
|
5327
5085
|
return input
|
|
5328
5086
|
.filter((e) => e != null)
|
|
5329
5087
|
.map((entry) => {
|
|
5330
|
-
if (entry === null) {
|
|
5331
|
-
return null;
|
|
5332
|
-
}
|
|
5333
5088
|
return entry;
|
|
5334
5089
|
});
|
|
5335
5090
|
};
|
|
@@ -5337,9 +5092,6 @@ const serializeAws_json1_1ConformancePackNamesToSummarizeList = (input, context)
|
|
|
5337
5092
|
return input
|
|
5338
5093
|
.filter((e) => e != null)
|
|
5339
5094
|
.map((entry) => {
|
|
5340
|
-
if (entry === null) {
|
|
5341
|
-
return null;
|
|
5342
|
-
}
|
|
5343
5095
|
return entry;
|
|
5344
5096
|
});
|
|
5345
5097
|
};
|
|
@@ -5354,9 +5106,6 @@ const serializeAws_json1_1DebugLogDeliveryAccounts = (input, context) => {
|
|
|
5354
5106
|
return input
|
|
5355
5107
|
.filter((e) => e != null)
|
|
5356
5108
|
.map((entry) => {
|
|
5357
|
-
if (entry === null) {
|
|
5358
|
-
return null;
|
|
5359
|
-
}
|
|
5360
5109
|
return entry;
|
|
5361
5110
|
});
|
|
5362
5111
|
};
|
|
@@ -5467,9 +5216,6 @@ const serializeAws_json1_1DeliveryChannelNameList = (input, context) => {
|
|
|
5467
5216
|
return input
|
|
5468
5217
|
.filter((e) => e != null)
|
|
5469
5218
|
.map((entry) => {
|
|
5470
|
-
if (entry === null) {
|
|
5471
|
-
return null;
|
|
5472
|
-
}
|
|
5473
5219
|
return entry;
|
|
5474
5220
|
});
|
|
5475
5221
|
};
|
|
@@ -5705,9 +5451,6 @@ const serializeAws_json1_1Evaluations = (input, context) => {
|
|
|
5705
5451
|
return input
|
|
5706
5452
|
.filter((e) => e != null)
|
|
5707
5453
|
.map((entry) => {
|
|
5708
|
-
if (entry === null) {
|
|
5709
|
-
return null;
|
|
5710
|
-
}
|
|
5711
5454
|
return serializeAws_json1_1Evaluation(entry, context);
|
|
5712
5455
|
});
|
|
5713
5456
|
};
|
|
@@ -5715,9 +5458,6 @@ const serializeAws_json1_1ExcludedAccounts = (input, context) => {
|
|
|
5715
5458
|
return input
|
|
5716
5459
|
.filter((e) => e != null)
|
|
5717
5460
|
.map((entry) => {
|
|
5718
|
-
if (entry === null) {
|
|
5719
|
-
return null;
|
|
5720
|
-
}
|
|
5721
5461
|
return entry;
|
|
5722
5462
|
});
|
|
5723
5463
|
};
|
|
@@ -5907,6 +5647,17 @@ const serializeAws_json1_1ListAggregateDiscoveredResourcesRequest = (input, cont
|
|
|
5907
5647
|
...(input.ResourceType != null && { ResourceType: input.ResourceType }),
|
|
5908
5648
|
};
|
|
5909
5649
|
};
|
|
5650
|
+
const serializeAws_json1_1ListConformancePackComplianceScoresRequest = (input, context) => {
|
|
5651
|
+
return {
|
|
5652
|
+
...(input.Filters != null && {
|
|
5653
|
+
Filters: serializeAws_json1_1ConformancePackComplianceScoresFilters(input.Filters, context),
|
|
5654
|
+
}),
|
|
5655
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
5656
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5657
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
5658
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
5659
|
+
};
|
|
5660
|
+
};
|
|
5910
5661
|
const serializeAws_json1_1ListDiscoveredResourcesRequest = (input, context) => {
|
|
5911
5662
|
return {
|
|
5912
5663
|
...(input.includeDeletedResources != null && { includeDeletedResources: input.includeDeletedResources }),
|
|
@@ -5943,9 +5694,6 @@ const serializeAws_json1_1OrganizationConfigRuleNames = (input, context) => {
|
|
|
5943
5694
|
return input
|
|
5944
5695
|
.filter((e) => e != null)
|
|
5945
5696
|
.map((entry) => {
|
|
5946
|
-
if (entry === null) {
|
|
5947
|
-
return null;
|
|
5948
|
-
}
|
|
5949
5697
|
return entry;
|
|
5950
5698
|
});
|
|
5951
5699
|
};
|
|
@@ -5953,9 +5701,6 @@ const serializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs = (input, conte
|
|
|
5953
5701
|
return input
|
|
5954
5702
|
.filter((e) => e != null)
|
|
5955
5703
|
.map((entry) => {
|
|
5956
|
-
if (entry === null) {
|
|
5957
|
-
return null;
|
|
5958
|
-
}
|
|
5959
5704
|
return entry;
|
|
5960
5705
|
});
|
|
5961
5706
|
};
|
|
@@ -5963,9 +5708,6 @@ const serializeAws_json1_1OrganizationConfigRuleTriggerTypes = (input, context)
|
|
|
5963
5708
|
return input
|
|
5964
5709
|
.filter((e) => e != null)
|
|
5965
5710
|
.map((entry) => {
|
|
5966
|
-
if (entry === null) {
|
|
5967
|
-
return null;
|
|
5968
|
-
}
|
|
5969
5711
|
return entry;
|
|
5970
5712
|
});
|
|
5971
5713
|
};
|
|
@@ -5973,9 +5715,6 @@ const serializeAws_json1_1OrganizationConformancePackNames = (input, context) =>
|
|
|
5973
5715
|
return input
|
|
5974
5716
|
.filter((e) => e != null)
|
|
5975
5717
|
.map((entry) => {
|
|
5976
|
-
if (entry === null) {
|
|
5977
|
-
return null;
|
|
5978
|
-
}
|
|
5979
5718
|
return entry;
|
|
5980
5719
|
});
|
|
5981
5720
|
};
|
|
@@ -6190,9 +5929,6 @@ const serializeAws_json1_1ReevaluateConfigRuleNames = (input, context) => {
|
|
|
6190
5929
|
return input
|
|
6191
5930
|
.filter((e) => e != null)
|
|
6192
5931
|
.map((entry) => {
|
|
6193
|
-
if (entry === null) {
|
|
6194
|
-
return null;
|
|
6195
|
-
}
|
|
6196
5932
|
return entry;
|
|
6197
5933
|
});
|
|
6198
5934
|
};
|
|
@@ -6220,9 +5956,6 @@ const serializeAws_json1_1RemediationConfigurations = (input, context) => {
|
|
|
6220
5956
|
return input
|
|
6221
5957
|
.filter((e) => e != null)
|
|
6222
5958
|
.map((entry) => {
|
|
6223
|
-
if (entry === null) {
|
|
6224
|
-
return null;
|
|
6225
|
-
}
|
|
6226
5959
|
return serializeAws_json1_1RemediationConfiguration(entry, context);
|
|
6227
5960
|
});
|
|
6228
5961
|
};
|
|
@@ -6236,9 +5969,6 @@ const serializeAws_json1_1RemediationExceptionResourceKeys = (input, context) =>
|
|
|
6236
5969
|
return input
|
|
6237
5970
|
.filter((e) => e != null)
|
|
6238
5971
|
.map((entry) => {
|
|
6239
|
-
if (entry === null) {
|
|
6240
|
-
return null;
|
|
6241
|
-
}
|
|
6242
5972
|
return serializeAws_json1_1RemediationExceptionResourceKey(entry, context);
|
|
6243
5973
|
});
|
|
6244
5974
|
};
|
|
@@ -6280,9 +6010,6 @@ const serializeAws_json1_1ResourceIdentifiersList = (input, context) => {
|
|
|
6280
6010
|
return input
|
|
6281
6011
|
.filter((e) => e != null)
|
|
6282
6012
|
.map((entry) => {
|
|
6283
|
-
if (entry === null) {
|
|
6284
|
-
return null;
|
|
6285
|
-
}
|
|
6286
6013
|
return serializeAws_json1_1AggregateResourceIdentifier(entry, context);
|
|
6287
6014
|
});
|
|
6288
6015
|
};
|
|
@@ -6290,9 +6017,6 @@ const serializeAws_json1_1ResourceIdList = (input, context) => {
|
|
|
6290
6017
|
return input
|
|
6291
6018
|
.filter((e) => e != null)
|
|
6292
6019
|
.map((entry) => {
|
|
6293
|
-
if (entry === null) {
|
|
6294
|
-
return null;
|
|
6295
|
-
}
|
|
6296
6020
|
return entry;
|
|
6297
6021
|
});
|
|
6298
6022
|
};
|
|
@@ -6306,9 +6030,6 @@ const serializeAws_json1_1ResourceKeys = (input, context) => {
|
|
|
6306
6030
|
return input
|
|
6307
6031
|
.filter((e) => e != null)
|
|
6308
6032
|
.map((entry) => {
|
|
6309
|
-
if (entry === null) {
|
|
6310
|
-
return null;
|
|
6311
|
-
}
|
|
6312
6033
|
return serializeAws_json1_1ResourceKey(entry, context);
|
|
6313
6034
|
});
|
|
6314
6035
|
};
|
|
@@ -6316,9 +6037,6 @@ const serializeAws_json1_1ResourceTypeList = (input, context) => {
|
|
|
6316
6037
|
return input
|
|
6317
6038
|
.filter((e) => e != null)
|
|
6318
6039
|
.map((entry) => {
|
|
6319
|
-
if (entry === null) {
|
|
6320
|
-
return null;
|
|
6321
|
-
}
|
|
6322
6040
|
return entry;
|
|
6323
6041
|
});
|
|
6324
6042
|
};
|
|
@@ -6326,9 +6044,6 @@ const serializeAws_json1_1ResourceTypes = (input, context) => {
|
|
|
6326
6044
|
return input
|
|
6327
6045
|
.filter((e) => e != null)
|
|
6328
6046
|
.map((entry) => {
|
|
6329
|
-
if (entry === null) {
|
|
6330
|
-
return null;
|
|
6331
|
-
}
|
|
6332
6047
|
return entry;
|
|
6333
6048
|
});
|
|
6334
6049
|
};
|
|
@@ -6336,9 +6051,6 @@ const serializeAws_json1_1ResourceTypesScope = (input, context) => {
|
|
|
6336
6051
|
return input
|
|
6337
6052
|
.filter((e) => e != null)
|
|
6338
6053
|
.map((entry) => {
|
|
6339
|
-
if (entry === null) {
|
|
6340
|
-
return null;
|
|
6341
|
-
}
|
|
6342
6054
|
return entry;
|
|
6343
6055
|
});
|
|
6344
6056
|
};
|
|
@@ -6351,9 +6063,6 @@ const serializeAws_json1_1RetentionConfigurationNameList = (input, context) => {
|
|
|
6351
6063
|
return input
|
|
6352
6064
|
.filter((e) => e != null)
|
|
6353
6065
|
.map((entry) => {
|
|
6354
|
-
if (entry === null) {
|
|
6355
|
-
return null;
|
|
6356
|
-
}
|
|
6357
6066
|
return entry;
|
|
6358
6067
|
});
|
|
6359
6068
|
};
|
|
@@ -6408,9 +6117,6 @@ const serializeAws_json1_1SourceDetails = (input, context) => {
|
|
|
6408
6117
|
return input
|
|
6409
6118
|
.filter((e) => e != null)
|
|
6410
6119
|
.map((entry) => {
|
|
6411
|
-
if (entry === null) {
|
|
6412
|
-
return null;
|
|
6413
|
-
}
|
|
6414
6120
|
return serializeAws_json1_1SourceDetail(entry, context);
|
|
6415
6121
|
});
|
|
6416
6122
|
};
|
|
@@ -6444,9 +6150,6 @@ const serializeAws_json1_1StaticParameterValues = (input, context) => {
|
|
|
6444
6150
|
return input
|
|
6445
6151
|
.filter((e) => e != null)
|
|
6446
6152
|
.map((entry) => {
|
|
6447
|
-
if (entry === null) {
|
|
6448
|
-
return null;
|
|
6449
|
-
}
|
|
6450
6153
|
return entry;
|
|
6451
6154
|
});
|
|
6452
6155
|
};
|
|
@@ -6485,9 +6188,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
6485
6188
|
return input
|
|
6486
6189
|
.filter((e) => e != null)
|
|
6487
6190
|
.map((entry) => {
|
|
6488
|
-
if (entry === null) {
|
|
6489
|
-
return null;
|
|
6490
|
-
}
|
|
6491
6191
|
return entry;
|
|
6492
6192
|
});
|
|
6493
6193
|
};
|
|
@@ -6495,9 +6195,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
6495
6195
|
return input
|
|
6496
6196
|
.filter((e) => e != null)
|
|
6497
6197
|
.map((entry) => {
|
|
6498
|
-
if (entry === null) {
|
|
6499
|
-
return null;
|
|
6500
|
-
}
|
|
6501
6198
|
return serializeAws_json1_1Tag(entry, context);
|
|
6502
6199
|
});
|
|
6503
6200
|
};
|
|
@@ -6522,9 +6219,6 @@ const serializeAws_json1_1TagsList = (input, context) => {
|
|
|
6522
6219
|
return input
|
|
6523
6220
|
.filter((e) => e != null)
|
|
6524
6221
|
.map((entry) => {
|
|
6525
|
-
if (entry === null) {
|
|
6526
|
-
return null;
|
|
6527
|
-
}
|
|
6528
6222
|
return serializeAws_json1_1Tag(entry, context);
|
|
6529
6223
|
});
|
|
6530
6224
|
};
|
|
@@ -7113,6 +6807,26 @@ const deserializeAws_json1_1ConfigurationRecorderStatusList = (output, context)
|
|
|
7113
6807
|
});
|
|
7114
6808
|
return retVal;
|
|
7115
6809
|
};
|
|
6810
|
+
const deserializeAws_json1_1ConformancePackComplianceScore = (output, context) => {
|
|
6811
|
+
return {
|
|
6812
|
+
ConformancePackName: (0, smithy_client_1.expectString)(output.ConformancePackName),
|
|
6813
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
6814
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
|
|
6815
|
+
: undefined,
|
|
6816
|
+
Score: (0, smithy_client_1.expectString)(output.Score),
|
|
6817
|
+
};
|
|
6818
|
+
};
|
|
6819
|
+
const deserializeAws_json1_1ConformancePackComplianceScores = (output, context) => {
|
|
6820
|
+
const retVal = (output || [])
|
|
6821
|
+
.filter((e) => e != null)
|
|
6822
|
+
.map((entry) => {
|
|
6823
|
+
if (entry === null) {
|
|
6824
|
+
return null;
|
|
6825
|
+
}
|
|
6826
|
+
return deserializeAws_json1_1ConformancePackComplianceScore(entry, context);
|
|
6827
|
+
});
|
|
6828
|
+
return retVal;
|
|
6829
|
+
};
|
|
7116
6830
|
const deserializeAws_json1_1ConformancePackComplianceSummary = (output, context) => {
|
|
7117
6831
|
return {
|
|
7118
6832
|
ConformancePackComplianceStatus: (0, smithy_client_1.expectString)(output.ConformancePackComplianceStatus),
|
|
@@ -7952,6 +7666,14 @@ const deserializeAws_json1_1ListAggregateDiscoveredResourcesResponse = (output,
|
|
|
7952
7666
|
: undefined,
|
|
7953
7667
|
};
|
|
7954
7668
|
};
|
|
7669
|
+
const deserializeAws_json1_1ListConformancePackComplianceScoresResponse = (output, context) => {
|
|
7670
|
+
return {
|
|
7671
|
+
ConformancePackComplianceScores: output.ConformancePackComplianceScores != null
|
|
7672
|
+
? deserializeAws_json1_1ConformancePackComplianceScores(output.ConformancePackComplianceScores, context)
|
|
7673
|
+
: undefined,
|
|
7674
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
7675
|
+
};
|
|
7676
|
+
};
|
|
7955
7677
|
const deserializeAws_json1_1ListDiscoveredResourcesResponse = (output, context) => {
|
|
7956
7678
|
return {
|
|
7957
7679
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|