@aws-sdk/client-config-service 3.54.1 → 3.58.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/dist-cjs/ConfigService.js +30 -0
- package/dist-cjs/ConfigServiceClient.js +13 -13
- package/dist-cjs/commands/BatchGetAggregateResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/BatchGetResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteAggregationAuthorizationCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationAggregatorCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationRecorderCommand.js +3 -3
- package/dist-cjs/commands/DeleteConformancePackCommand.js +3 -3
- package/dist-cjs/commands/DeleteDeliveryChannelCommand.js +3 -3
- package/dist-cjs/commands/DeleteEvaluationResultsCommand.js +3 -3
- package/dist-cjs/commands/DeleteOrganizationConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteOrganizationConformancePackCommand.js +3 -3
- package/dist-cjs/commands/DeletePendingAggregationRequestCommand.js +3 -3
- package/dist-cjs/commands/DeleteRemediationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteRemediationExceptionsCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteRetentionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteStoredQueryCommand.js +3 -3
- package/dist-cjs/commands/DeliverConfigSnapshotCommand.js +3 -3
- package/dist-cjs/commands/DescribeAggregateComplianceByConfigRulesCommand.js +3 -3
- package/dist-cjs/commands/DescribeAggregateComplianceByConformancePacksCommand.js +3 -3
- package/dist-cjs/commands/DescribeAggregationAuthorizationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeComplianceByConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/DescribeComplianceByResourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigRuleEvaluationStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigRulesCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationAggregatorSourcesStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationAggregatorsCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationRecorderStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationRecordersCommand.js +3 -3
- package/dist-cjs/commands/DescribeConformancePackComplianceCommand.js +3 -3
- package/dist-cjs/commands/DescribeConformancePackStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeConformancePacksCommand.js +3 -3
- package/dist-cjs/commands/DescribeDeliveryChannelStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeDeliveryChannelsCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConfigRuleStatusesCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConfigRulesCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConformancePackStatusesCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConformancePacksCommand.js +3 -3
- package/dist-cjs/commands/DescribePendingAggregationRequestsCommand.js +3 -3
- package/dist-cjs/commands/DescribeRemediationConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeRemediationExceptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeRemediationExecutionStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeRetentionConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateComplianceDetailsByConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateConfigRuleComplianceSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateConformancePackComplianceSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateDiscoveredResourceCountsCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/GetComplianceDetailsByConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/GetComplianceDetailsByResourceCommand.js +3 -3
- package/dist-cjs/commands/GetComplianceSummaryByConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/GetComplianceSummaryByResourceTypeCommand.js +3 -3
- package/dist-cjs/commands/GetConformancePackComplianceDetailsCommand.js +3 -3
- package/dist-cjs/commands/GetConformancePackComplianceSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetCustomRulePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetDiscoveredResourceCountsCommand.js +3 -3
- package/dist-cjs/commands/GetOrganizationConfigRuleDetailedStatusCommand.js +3 -3
- package/dist-cjs/commands/GetOrganizationConformancePackDetailedStatusCommand.js +3 -3
- package/dist-cjs/commands/GetOrganizationCustomRulePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetResourceConfigHistoryCommand.js +3 -3
- package/dist-cjs/commands/GetStoredQueryCommand.js +3 -3
- package/dist-cjs/commands/ListAggregateDiscoveredResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListStoredQueriesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAggregationAuthorizationCommand.js +3 -3
- package/dist-cjs/commands/PutConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationAggregatorCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationRecorderCommand.js +3 -3
- package/dist-cjs/commands/PutConformancePackCommand.js +3 -3
- package/dist-cjs/commands/PutDeliveryChannelCommand.js +3 -3
- package/dist-cjs/commands/PutEvaluationsCommand.js +3 -3
- package/dist-cjs/commands/PutExternalEvaluationCommand.js +3 -3
- package/dist-cjs/commands/PutOrganizationConfigRuleCommand.js +6 -6
- package/dist-cjs/commands/PutOrganizationConformancePackCommand.js +6 -6
- package/dist-cjs/commands/PutRemediationConfigurationsCommand.js +6 -6
- package/dist-cjs/commands/PutRemediationExceptionsCommand.js +6 -6
- package/dist-cjs/commands/PutResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/PutRetentionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutStoredQueryCommand.js +3 -3
- package/dist-cjs/commands/SelectAggregateResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/SelectResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/StartConfigRulesEvaluationCommand.js +3 -3
- package/dist-cjs/commands/StartConfigurationRecorderCommand.js +3 -3
- package/dist-cjs/commands/StartRemediationExecutionCommand.js +3 -3
- package/dist-cjs/commands/StopConfigurationRecorderCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +57 -54
- package/dist-cjs/models/models_1.js +49 -1
- package/dist-cjs/protocols/Aws_json1_1.js +779 -539
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/ConfigService.js +116 -86
- package/dist-es/commands/GetCustomRulePolicyCommand.js +39 -0
- package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +39 -0
- package/dist-es/commands/PutOrganizationConfigRuleCommand.js +1 -1
- package/dist-es/commands/PutOrganizationConformancePackCommand.js +1 -1
- package/dist-es/commands/PutRemediationConfigurationsCommand.js +1 -1
- package/dist-es/commands/PutRemediationExceptionsCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +37 -32
- package/dist-es/models/models_1.js +32 -0
- package/dist-es/pagination/DescribeAggregateComplianceByConfigRulesPaginator.js +4 -4
- package/dist-es/pagination/DescribeAggregateComplianceByConformancePacksPaginator.js +4 -4
- package/dist-es/pagination/DescribeAggregationAuthorizationsPaginator.js +4 -4
- package/dist-es/pagination/DescribeComplianceByConfigRulePaginator.js +4 -4
- package/dist-es/pagination/DescribeComplianceByResourcePaginator.js +4 -4
- package/dist-es/pagination/DescribeConfigRuleEvaluationStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeConfigRulesPaginator.js +4 -4
- package/dist-es/pagination/DescribeConfigurationAggregatorSourcesStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeConfigurationAggregatorsPaginator.js +4 -4
- package/dist-es/pagination/DescribeConformancePackCompliancePaginator.js +4 -4
- package/dist-es/pagination/DescribeConformancePackStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeConformancePacksPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrganizationConfigRuleStatusesPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrganizationConfigRulesPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrganizationConformancePackStatusesPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrganizationConformancePacksPaginator.js +4 -4
- package/dist-es/pagination/DescribePendingAggregationRequestsPaginator.js +4 -4
- package/dist-es/pagination/DescribeRemediationExceptionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeRemediationExecutionStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeRetentionConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/GetAggregateComplianceDetailsByConfigRulePaginator.js +4 -4
- package/dist-es/pagination/GetAggregateConfigRuleComplianceSummaryPaginator.js +4 -4
- package/dist-es/pagination/GetAggregateConformancePackComplianceSummaryPaginator.js +4 -4
- package/dist-es/pagination/GetAggregateDiscoveredResourceCountsPaginator.js +4 -4
- package/dist-es/pagination/GetComplianceDetailsByConfigRulePaginator.js +4 -4
- package/dist-es/pagination/GetComplianceDetailsByResourcePaginator.js +4 -4
- package/dist-es/pagination/GetConformancePackComplianceDetailsPaginator.js +4 -4
- package/dist-es/pagination/GetConformancePackComplianceSummaryPaginator.js +4 -4
- package/dist-es/pagination/GetDiscoveredResourceCountsPaginator.js +4 -4
- package/dist-es/pagination/GetOrganizationConfigRuleDetailedStatusPaginator.js +4 -4
- package/dist-es/pagination/GetOrganizationConformancePackDetailedStatusPaginator.js +4 -4
- package/dist-es/pagination/GetResourceConfigHistoryPaginator.js +4 -4
- package/dist-es/pagination/ListAggregateDiscoveredResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListStoredQueriesPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-es/pagination/SelectAggregateResourceConfigPaginator.js +4 -4
- package/dist-es/pagination/SelectResourceConfigPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +252 -3
- package/dist-types/ConfigService.d.ts +29 -15
- package/dist-types/ConfigServiceClient.d.ts +4 -2
- package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +2 -2
- package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +3 -3
- package/dist-types/commands/GetCustomRulePolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +35 -0
- package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +4 -4
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +342 -236
- package/dist-types/models/models_1.d.ts +162 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/ConfigService.d.ts +10 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetCustomRulePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOrganizationCustomRulePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutOrganizationConfigRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutRemediationExceptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +121 -90
- package/dist-types/ts3.4/models/models_1.d.ts +91 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -598,6 +598,17 @@ export var serializeAws_json1_1GetConformancePackComplianceSummaryCommand = func
|
|
|
598
598
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
599
599
|
});
|
|
600
600
|
}); };
|
|
601
|
+
export var serializeAws_json1_1GetCustomRulePolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
602
|
+
var headers, body;
|
|
603
|
+
return __generator(this, function (_a) {
|
|
604
|
+
headers = {
|
|
605
|
+
"content-type": "application/x-amz-json-1.1",
|
|
606
|
+
"x-amz-target": "StarlingDoveService.GetCustomRulePolicy",
|
|
607
|
+
};
|
|
608
|
+
body = JSON.stringify(serializeAws_json1_1GetCustomRulePolicyRequest(input, context));
|
|
609
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
610
|
+
});
|
|
611
|
+
}); };
|
|
601
612
|
export var serializeAws_json1_1GetDiscoveredResourceCountsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
602
613
|
var headers, body;
|
|
603
614
|
return __generator(this, function (_a) {
|
|
@@ -631,6 +642,17 @@ export var serializeAws_json1_1GetOrganizationConformancePackDetailedStatusComma
|
|
|
631
642
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
632
643
|
});
|
|
633
644
|
}); };
|
|
645
|
+
export var serializeAws_json1_1GetOrganizationCustomRulePolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
646
|
+
var headers, body;
|
|
647
|
+
return __generator(this, function (_a) {
|
|
648
|
+
headers = {
|
|
649
|
+
"content-type": "application/x-amz-json-1.1",
|
|
650
|
+
"x-amz-target": "StarlingDoveService.GetOrganizationCustomRulePolicy",
|
|
651
|
+
};
|
|
652
|
+
body = JSON.stringify(serializeAws_json1_1GetOrganizationCustomRulePolicyRequest(input, context));
|
|
653
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
654
|
+
});
|
|
655
|
+
}); };
|
|
634
656
|
export var serializeAws_json1_1GetResourceConfigHistoryCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
635
657
|
var headers, body;
|
|
636
658
|
return __generator(this, function (_a) {
|
|
@@ -3996,6 +4018,56 @@ var deserializeAws_json1_1GetConformancePackComplianceSummaryCommandError = func
|
|
|
3996
4018
|
}
|
|
3997
4019
|
});
|
|
3998
4020
|
}); };
|
|
4021
|
+
export var deserializeAws_json1_1GetCustomRulePolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4022
|
+
var data, contents, response;
|
|
4023
|
+
return __generator(this, function (_a) {
|
|
4024
|
+
switch (_a.label) {
|
|
4025
|
+
case 0:
|
|
4026
|
+
if (output.statusCode >= 300) {
|
|
4027
|
+
return [2, deserializeAws_json1_1GetCustomRulePolicyCommandError(output, context)];
|
|
4028
|
+
}
|
|
4029
|
+
return [4, parseBody(output.body, context)];
|
|
4030
|
+
case 1:
|
|
4031
|
+
data = _a.sent();
|
|
4032
|
+
contents = {};
|
|
4033
|
+
contents = deserializeAws_json1_1GetCustomRulePolicyResponse(data, context);
|
|
4034
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
4035
|
+
return [2, Promise.resolve(response)];
|
|
4036
|
+
}
|
|
4037
|
+
});
|
|
4038
|
+
}); };
|
|
4039
|
+
var deserializeAws_json1_1GetCustomRulePolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4040
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4041
|
+
var _c;
|
|
4042
|
+
return __generator(this, function (_d) {
|
|
4043
|
+
switch (_d.label) {
|
|
4044
|
+
case 0:
|
|
4045
|
+
_a = [__assign({}, output)];
|
|
4046
|
+
_c = {};
|
|
4047
|
+
return [4, parseBody(output.body, context)];
|
|
4048
|
+
case 1:
|
|
4049
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4050
|
+
errorCode = "UnknownError";
|
|
4051
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4052
|
+
_b = errorCode;
|
|
4053
|
+
switch (_b) {
|
|
4054
|
+
case "NoSuchConfigRuleException": return [3, 2];
|
|
4055
|
+
case "com.amazonaws.configservice#NoSuchConfigRuleException": return [3, 2];
|
|
4056
|
+
}
|
|
4057
|
+
return [3, 4];
|
|
4058
|
+
case 2: return [4, deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context)];
|
|
4059
|
+
case 3: throw _d.sent();
|
|
4060
|
+
case 4:
|
|
4061
|
+
parsedBody = parsedOutput.body;
|
|
4062
|
+
response = new __BaseException({
|
|
4063
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4064
|
+
$fault: "client",
|
|
4065
|
+
$metadata: deserializeMetadata(output),
|
|
4066
|
+
});
|
|
4067
|
+
throw __decorateServiceException(response, parsedBody);
|
|
4068
|
+
}
|
|
4069
|
+
});
|
|
4070
|
+
}); };
|
|
3999
4071
|
export var deserializeAws_json1_1GetDiscoveredResourceCountsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4000
4072
|
var data, contents, response;
|
|
4001
4073
|
return __generator(this, function (_a) {
|
|
@@ -4178,6 +4250,60 @@ var deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommandErr
|
|
|
4178
4250
|
}
|
|
4179
4251
|
});
|
|
4180
4252
|
}); };
|
|
4253
|
+
export var deserializeAws_json1_1GetOrganizationCustomRulePolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4254
|
+
var data, contents, response;
|
|
4255
|
+
return __generator(this, function (_a) {
|
|
4256
|
+
switch (_a.label) {
|
|
4257
|
+
case 0:
|
|
4258
|
+
if (output.statusCode >= 300) {
|
|
4259
|
+
return [2, deserializeAws_json1_1GetOrganizationCustomRulePolicyCommandError(output, context)];
|
|
4260
|
+
}
|
|
4261
|
+
return [4, parseBody(output.body, context)];
|
|
4262
|
+
case 1:
|
|
4263
|
+
data = _a.sent();
|
|
4264
|
+
contents = {};
|
|
4265
|
+
contents = deserializeAws_json1_1GetOrganizationCustomRulePolicyResponse(data, context);
|
|
4266
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
4267
|
+
return [2, Promise.resolve(response)];
|
|
4268
|
+
}
|
|
4269
|
+
});
|
|
4270
|
+
}); };
|
|
4271
|
+
var deserializeAws_json1_1GetOrganizationCustomRulePolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4272
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4273
|
+
var _c;
|
|
4274
|
+
return __generator(this, function (_d) {
|
|
4275
|
+
switch (_d.label) {
|
|
4276
|
+
case 0:
|
|
4277
|
+
_a = [__assign({}, output)];
|
|
4278
|
+
_c = {};
|
|
4279
|
+
return [4, parseBody(output.body, context)];
|
|
4280
|
+
case 1:
|
|
4281
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4282
|
+
errorCode = "UnknownError";
|
|
4283
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4284
|
+
_b = errorCode;
|
|
4285
|
+
switch (_b) {
|
|
4286
|
+
case "NoSuchOrganizationConfigRuleException": return [3, 2];
|
|
4287
|
+
case "com.amazonaws.configservice#NoSuchOrganizationConfigRuleException": return [3, 2];
|
|
4288
|
+
case "OrganizationAccessDeniedException": return [3, 4];
|
|
4289
|
+
case "com.amazonaws.configservice#OrganizationAccessDeniedException": return [3, 4];
|
|
4290
|
+
}
|
|
4291
|
+
return [3, 6];
|
|
4292
|
+
case 2: return [4, deserializeAws_json1_1NoSuchOrganizationConfigRuleExceptionResponse(parsedOutput, context)];
|
|
4293
|
+
case 3: throw _d.sent();
|
|
4294
|
+
case 4: return [4, deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse(parsedOutput, context)];
|
|
4295
|
+
case 5: throw _d.sent();
|
|
4296
|
+
case 6:
|
|
4297
|
+
parsedBody = parsedOutput.body;
|
|
4298
|
+
response = new __BaseException({
|
|
4299
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4300
|
+
$fault: "client",
|
|
4301
|
+
$metadata: deserializeMetadata(output),
|
|
4302
|
+
});
|
|
4303
|
+
throw __decorateServiceException(response, parsedBody);
|
|
4304
|
+
}
|
|
4305
|
+
});
|
|
4306
|
+
}); };
|
|
4181
4307
|
export var deserializeAws_json1_1GetResourceConfigHistoryCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4182
4308
|
var data, contents, response;
|
|
4183
4309
|
return __generator(this, function (_a) {
|
|
@@ -6635,6 +6761,20 @@ var serializeAws_json1_1ConformancePackNamesToSummarizeList = function (input, c
|
|
|
6635
6761
|
return entry;
|
|
6636
6762
|
});
|
|
6637
6763
|
};
|
|
6764
|
+
var serializeAws_json1_1CustomPolicyDetails = function (input, context) {
|
|
6765
|
+
return __assign(__assign(__assign({}, (input.EnableDebugLogDelivery !== undefined &&
|
|
6766
|
+
input.EnableDebugLogDelivery !== null && { EnableDebugLogDelivery: input.EnableDebugLogDelivery })), (input.PolicyRuntime !== undefined && input.PolicyRuntime !== null && { PolicyRuntime: input.PolicyRuntime })), (input.PolicyText !== undefined && input.PolicyText !== null && { PolicyText: input.PolicyText }));
|
|
6767
|
+
};
|
|
6768
|
+
var serializeAws_json1_1DebugLogDeliveryAccounts = function (input, context) {
|
|
6769
|
+
return input
|
|
6770
|
+
.filter(function (e) { return e != null; })
|
|
6771
|
+
.map(function (entry) {
|
|
6772
|
+
if (entry === null) {
|
|
6773
|
+
return null;
|
|
6774
|
+
}
|
|
6775
|
+
return entry;
|
|
6776
|
+
});
|
|
6777
|
+
};
|
|
6638
6778
|
var serializeAws_json1_1DeleteAggregationAuthorizationRequest = function (input, context) {
|
|
6639
6779
|
return __assign(__assign({}, (input.AuthorizedAccountId !== undefined &&
|
|
6640
6780
|
input.AuthorizedAccountId !== null && { AuthorizedAccountId: input.AuthorizedAccountId })), (input.AuthorizedAwsRegion !== undefined &&
|
|
@@ -6971,6 +7111,10 @@ var serializeAws_json1_1GetConformancePackComplianceSummaryRequest = function (i
|
|
|
6971
7111
|
ConformancePackNames: serializeAws_json1_1ConformancePackNamesToSummarizeList(input.ConformancePackNames, context),
|
|
6972
7112
|
})), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
6973
7113
|
};
|
|
7114
|
+
var serializeAws_json1_1GetCustomRulePolicyRequest = function (input, context) {
|
|
7115
|
+
return __assign({}, (input.ConfigRuleName !== undefined &&
|
|
7116
|
+
input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName }));
|
|
7117
|
+
};
|
|
6974
7118
|
var serializeAws_json1_1GetDiscoveredResourceCountsRequest = function (input, context) {
|
|
6975
7119
|
return __assign(__assign(__assign({}, (input.limit !== undefined && input.limit !== null && { limit: input.limit })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resourceTypes !== undefined &&
|
|
6976
7120
|
input.resourceTypes !== null && {
|
|
@@ -6991,6 +7135,10 @@ var serializeAws_json1_1GetOrganizationConformancePackDetailedStatusRequest = fu
|
|
|
6991
7135
|
OrganizationConformancePackName: input.OrganizationConformancePackName,
|
|
6992
7136
|
}));
|
|
6993
7137
|
};
|
|
7138
|
+
var serializeAws_json1_1GetOrganizationCustomRulePolicyRequest = function (input, context) {
|
|
7139
|
+
return __assign({}, (input.OrganizationConfigRuleName !== undefined &&
|
|
7140
|
+
input.OrganizationConfigRuleName !== null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName }));
|
|
7141
|
+
};
|
|
6994
7142
|
var serializeAws_json1_1GetResourceConfigHistoryRequest = function (input, context) {
|
|
6995
7143
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.chronologicalOrder !== undefined &&
|
|
6996
7144
|
input.chronologicalOrder !== null && { chronologicalOrder: input.chronologicalOrder })), (input.earlierTime !== undefined &&
|
|
@@ -7030,6 +7178,16 @@ var serializeAws_json1_1OrganizationConfigRuleNames = function (input, context)
|
|
|
7030
7178
|
return entry;
|
|
7031
7179
|
});
|
|
7032
7180
|
};
|
|
7181
|
+
var serializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs = function (input, context) {
|
|
7182
|
+
return input
|
|
7183
|
+
.filter(function (e) { return e != null; })
|
|
7184
|
+
.map(function (entry) {
|
|
7185
|
+
if (entry === null) {
|
|
7186
|
+
return null;
|
|
7187
|
+
}
|
|
7188
|
+
return entry;
|
|
7189
|
+
});
|
|
7190
|
+
};
|
|
7033
7191
|
var serializeAws_json1_1OrganizationConfigRuleTriggerTypes = function (input, context) {
|
|
7034
7192
|
return input
|
|
7035
7193
|
.filter(function (e) { return e != null; })
|
|
@@ -7050,6 +7208,21 @@ var serializeAws_json1_1OrganizationConformancePackNames = function (input, cont
|
|
|
7050
7208
|
return entry;
|
|
7051
7209
|
});
|
|
7052
7210
|
};
|
|
7211
|
+
var serializeAws_json1_1OrganizationCustomPolicyRuleMetadata = function (input, context) {
|
|
7212
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DebugLogDeliveryAccounts !== undefined &&
|
|
7213
|
+
input.DebugLogDeliveryAccounts !== null && {
|
|
7214
|
+
DebugLogDeliveryAccounts: serializeAws_json1_1DebugLogDeliveryAccounts(input.DebugLogDeliveryAccounts, context),
|
|
7215
|
+
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.InputParameters !== undefined &&
|
|
7216
|
+
input.InputParameters !== null && { InputParameters: input.InputParameters })), (input.MaximumExecutionFrequency !== undefined &&
|
|
7217
|
+
input.MaximumExecutionFrequency !== null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency })), (input.OrganizationConfigRuleTriggerTypes !== undefined &&
|
|
7218
|
+
input.OrganizationConfigRuleTriggerTypes !== null && {
|
|
7219
|
+
OrganizationConfigRuleTriggerTypes: serializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs(input.OrganizationConfigRuleTriggerTypes, context),
|
|
7220
|
+
})), (input.PolicyRuntime !== undefined && input.PolicyRuntime !== null && { PolicyRuntime: input.PolicyRuntime })), (input.PolicyText !== undefined && input.PolicyText !== null && { PolicyText: input.PolicyText })), (input.ResourceIdScope !== undefined &&
|
|
7221
|
+
input.ResourceIdScope !== null && { ResourceIdScope: input.ResourceIdScope })), (input.ResourceTypesScope !== undefined &&
|
|
7222
|
+
input.ResourceTypesScope !== null && {
|
|
7223
|
+
ResourceTypesScope: serializeAws_json1_1ResourceTypesScope(input.ResourceTypesScope, context),
|
|
7224
|
+
})), (input.TagKeyScope !== undefined && input.TagKeyScope !== null && { TagKeyScope: input.TagKeyScope })), (input.TagValueScope !== undefined && input.TagValueScope !== null && { TagValueScope: input.TagValueScope }));
|
|
7225
|
+
};
|
|
7053
7226
|
var serializeAws_json1_1OrganizationCustomRuleMetadata = function (input, context) {
|
|
7054
7227
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.InputParameters !== undefined &&
|
|
7055
7228
|
input.InputParameters !== null && { InputParameters: input.InputParameters })), (input.LambdaFunctionArn !== undefined &&
|
|
@@ -7128,11 +7301,14 @@ var serializeAws_json1_1PutExternalEvaluationRequest = function (input, context)
|
|
|
7128
7301
|
}));
|
|
7129
7302
|
};
|
|
7130
7303
|
var serializeAws_json1_1PutOrganizationConfigRuleRequest = function (input, context) {
|
|
7131
|
-
return __assign(__assign(__assign(__assign({}, (input.ExcludedAccounts !== undefined &&
|
|
7304
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ExcludedAccounts !== undefined &&
|
|
7132
7305
|
input.ExcludedAccounts !== null && {
|
|
7133
7306
|
ExcludedAccounts: serializeAws_json1_1ExcludedAccounts(input.ExcludedAccounts, context),
|
|
7134
7307
|
})), (input.OrganizationConfigRuleName !== undefined &&
|
|
7135
|
-
input.OrganizationConfigRuleName !== null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName })), (input.
|
|
7308
|
+
input.OrganizationConfigRuleName !== null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName })), (input.OrganizationCustomPolicyRuleMetadata !== undefined &&
|
|
7309
|
+
input.OrganizationCustomPolicyRuleMetadata !== null && {
|
|
7310
|
+
OrganizationCustomPolicyRuleMetadata: serializeAws_json1_1OrganizationCustomPolicyRuleMetadata(input.OrganizationCustomPolicyRuleMetadata, context),
|
|
7311
|
+
})), (input.OrganizationCustomRuleMetadata !== undefined &&
|
|
7136
7312
|
input.OrganizationCustomRuleMetadata !== null && {
|
|
7137
7313
|
OrganizationCustomRuleMetadata: serializeAws_json1_1OrganizationCustomRuleMetadata(input.OrganizationCustomRuleMetadata, context),
|
|
7138
7314
|
})), (input.OrganizationManagedRuleMetadata !== undefined &&
|
|
@@ -7347,7 +7523,10 @@ var serializeAws_json1_1SelectResourceConfigRequest = function (input, context)
|
|
|
7347
7523
|
return __assign(__assign(__assign({}, (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
7348
7524
|
};
|
|
7349
7525
|
var serializeAws_json1_1Source = function (input, context) {
|
|
7350
|
-
return __assign(__assign(__assign(
|
|
7526
|
+
return __assign(__assign(__assign(__assign({}, (input.CustomPolicyDetails !== undefined &&
|
|
7527
|
+
input.CustomPolicyDetails !== null && {
|
|
7528
|
+
CustomPolicyDetails: serializeAws_json1_1CustomPolicyDetails(input.CustomPolicyDetails, context),
|
|
7529
|
+
})), (input.Owner !== undefined && input.Owner !== null && { Owner: input.Owner })), (input.SourceDetails !== undefined &&
|
|
7351
7530
|
input.SourceDetails !== null && {
|
|
7352
7531
|
SourceDetails: serializeAws_json1_1SourceDetails(input.SourceDetails, context),
|
|
7353
7532
|
})), (input.SourceIdentifier !== undefined &&
|
|
@@ -7881,6 +8060,11 @@ var deserializeAws_json1_1ConfigRuleEvaluationStatus = function (output, context
|
|
|
7881
8060
|
LastDeactivatedTime: output.LastDeactivatedTime !== undefined && output.LastDeactivatedTime !== null
|
|
7882
8061
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastDeactivatedTime)))
|
|
7883
8062
|
: undefined,
|
|
8063
|
+
LastDebugLogDeliveryStatus: __expectString(output.LastDebugLogDeliveryStatus),
|
|
8064
|
+
LastDebugLogDeliveryStatusReason: __expectString(output.LastDebugLogDeliveryStatusReason),
|
|
8065
|
+
LastDebugLogDeliveryTime: output.LastDebugLogDeliveryTime !== undefined && output.LastDebugLogDeliveryTime !== null
|
|
8066
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastDebugLogDeliveryTime)))
|
|
8067
|
+
: undefined,
|
|
7884
8068
|
LastErrorCode: __expectString(output.LastErrorCode),
|
|
7885
8069
|
LastErrorMessage: __expectString(output.LastErrorMessage),
|
|
7886
8070
|
LastFailedEvaluationTime: output.LastFailedEvaluationTime !== undefined && output.LastFailedEvaluationTime !== null
|
|
@@ -8206,6 +8390,24 @@ var deserializeAws_json1_1ControlsList = function (output, context) {
|
|
|
8206
8390
|
});
|
|
8207
8391
|
return retVal;
|
|
8208
8392
|
};
|
|
8393
|
+
var deserializeAws_json1_1CustomPolicyDetails = function (output, context) {
|
|
8394
|
+
return {
|
|
8395
|
+
EnableDebugLogDelivery: __expectBoolean(output.EnableDebugLogDelivery),
|
|
8396
|
+
PolicyRuntime: __expectString(output.PolicyRuntime),
|
|
8397
|
+
PolicyText: __expectString(output.PolicyText),
|
|
8398
|
+
};
|
|
8399
|
+
};
|
|
8400
|
+
var deserializeAws_json1_1DebugLogDeliveryAccounts = function (output, context) {
|
|
8401
|
+
var retVal = (output || [])
|
|
8402
|
+
.filter(function (e) { return e != null; })
|
|
8403
|
+
.map(function (entry) {
|
|
8404
|
+
if (entry === null) {
|
|
8405
|
+
return null;
|
|
8406
|
+
}
|
|
8407
|
+
return __expectString(entry);
|
|
8408
|
+
});
|
|
8409
|
+
return retVal;
|
|
8410
|
+
};
|
|
8209
8411
|
var deserializeAws_json1_1DeleteEvaluationResultsResponse = function (output, context) {
|
|
8210
8412
|
return {};
|
|
8211
8413
|
};
|
|
@@ -8731,6 +8933,11 @@ var deserializeAws_json1_1GetConformancePackComplianceSummaryResponse = function
|
|
|
8731
8933
|
NextToken: __expectString(output.NextToken),
|
|
8732
8934
|
};
|
|
8733
8935
|
};
|
|
8936
|
+
var deserializeAws_json1_1GetCustomRulePolicyResponse = function (output, context) {
|
|
8937
|
+
return {
|
|
8938
|
+
PolicyText: __expectString(output.PolicyText),
|
|
8939
|
+
};
|
|
8940
|
+
};
|
|
8734
8941
|
var deserializeAws_json1_1GetDiscoveredResourceCountsResponse = function (output, context) {
|
|
8735
8942
|
return {
|
|
8736
8943
|
nextToken: __expectString(output.nextToken),
|
|
@@ -8757,6 +8964,11 @@ var deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusResponse =
|
|
|
8757
8964
|
: undefined,
|
|
8758
8965
|
};
|
|
8759
8966
|
};
|
|
8967
|
+
var deserializeAws_json1_1GetOrganizationCustomRulePolicyResponse = function (output, context) {
|
|
8968
|
+
return {
|
|
8969
|
+
PolicyText: __expectString(output.PolicyText),
|
|
8970
|
+
};
|
|
8971
|
+
};
|
|
8760
8972
|
var deserializeAws_json1_1GetResourceConfigHistoryResponse = function (output, context) {
|
|
8761
8973
|
return {
|
|
8762
8974
|
configurationItems: output.configurationItems !== undefined && output.configurationItems !== null
|
|
@@ -9067,6 +9279,9 @@ var deserializeAws_json1_1OrganizationConfigRule = function (output, context) {
|
|
|
9067
9279
|
: undefined,
|
|
9068
9280
|
OrganizationConfigRuleArn: __expectString(output.OrganizationConfigRuleArn),
|
|
9069
9281
|
OrganizationConfigRuleName: __expectString(output.OrganizationConfigRuleName),
|
|
9282
|
+
OrganizationCustomPolicyRuleMetadata: output.OrganizationCustomPolicyRuleMetadata !== undefined && output.OrganizationCustomPolicyRuleMetadata !== null
|
|
9283
|
+
? deserializeAws_json1_1OrganizationCustomPolicyRuleMetadataNoPolicy(output.OrganizationCustomPolicyRuleMetadata, context)
|
|
9284
|
+
: undefined,
|
|
9070
9285
|
OrganizationCustomRuleMetadata: output.OrganizationCustomRuleMetadata !== undefined && output.OrganizationCustomRuleMetadata !== null
|
|
9071
9286
|
? deserializeAws_json1_1OrganizationCustomRuleMetadata(output.OrganizationCustomRuleMetadata, context)
|
|
9072
9287
|
: undefined,
|
|
@@ -9119,6 +9334,17 @@ var deserializeAws_json1_1OrganizationConfigRuleStatuses = function (output, con
|
|
|
9119
9334
|
});
|
|
9120
9335
|
return retVal;
|
|
9121
9336
|
};
|
|
9337
|
+
var deserializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs = function (output, context) {
|
|
9338
|
+
var retVal = (output || [])
|
|
9339
|
+
.filter(function (e) { return e != null; })
|
|
9340
|
+
.map(function (entry) {
|
|
9341
|
+
if (entry === null) {
|
|
9342
|
+
return null;
|
|
9343
|
+
}
|
|
9344
|
+
return __expectString(entry);
|
|
9345
|
+
});
|
|
9346
|
+
return retVal;
|
|
9347
|
+
};
|
|
9122
9348
|
var deserializeAws_json1_1OrganizationConfigRuleTriggerTypes = function (output, context) {
|
|
9123
9349
|
var retVal = (output || [])
|
|
9124
9350
|
.filter(function (e) { return e != null; })
|
|
@@ -9208,6 +9434,26 @@ var deserializeAws_json1_1OrganizationConformancePackTemplateValidationException
|
|
|
9208
9434
|
message: __expectString(output.message),
|
|
9209
9435
|
};
|
|
9210
9436
|
};
|
|
9437
|
+
var deserializeAws_json1_1OrganizationCustomPolicyRuleMetadataNoPolicy = function (output, context) {
|
|
9438
|
+
return {
|
|
9439
|
+
DebugLogDeliveryAccounts: output.DebugLogDeliveryAccounts !== undefined && output.DebugLogDeliveryAccounts !== null
|
|
9440
|
+
? deserializeAws_json1_1DebugLogDeliveryAccounts(output.DebugLogDeliveryAccounts, context)
|
|
9441
|
+
: undefined,
|
|
9442
|
+
Description: __expectString(output.Description),
|
|
9443
|
+
InputParameters: __expectString(output.InputParameters),
|
|
9444
|
+
MaximumExecutionFrequency: __expectString(output.MaximumExecutionFrequency),
|
|
9445
|
+
OrganizationConfigRuleTriggerTypes: output.OrganizationConfigRuleTriggerTypes !== undefined && output.OrganizationConfigRuleTriggerTypes !== null
|
|
9446
|
+
? deserializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs(output.OrganizationConfigRuleTriggerTypes, context)
|
|
9447
|
+
: undefined,
|
|
9448
|
+
PolicyRuntime: __expectString(output.PolicyRuntime),
|
|
9449
|
+
ResourceIdScope: __expectString(output.ResourceIdScope),
|
|
9450
|
+
ResourceTypesScope: output.ResourceTypesScope !== undefined && output.ResourceTypesScope !== null
|
|
9451
|
+
? deserializeAws_json1_1ResourceTypesScope(output.ResourceTypesScope, context)
|
|
9452
|
+
: undefined,
|
|
9453
|
+
TagKeyScope: __expectString(output.TagKeyScope),
|
|
9454
|
+
TagValueScope: __expectString(output.TagValueScope),
|
|
9455
|
+
};
|
|
9456
|
+
};
|
|
9211
9457
|
var deserializeAws_json1_1OrganizationCustomRuleMetadata = function (output, context) {
|
|
9212
9458
|
return {
|
|
9213
9459
|
Description: __expectString(output.Description),
|
|
@@ -9683,6 +9929,9 @@ var deserializeAws_json1_1SelectResourceConfigResponse = function (output, conte
|
|
|
9683
9929
|
};
|
|
9684
9930
|
var deserializeAws_json1_1Source = function (output, context) {
|
|
9685
9931
|
return {
|
|
9932
|
+
CustomPolicyDetails: output.CustomPolicyDetails !== undefined && output.CustomPolicyDetails !== null
|
|
9933
|
+
? deserializeAws_json1_1CustomPolicyDetails(output.CustomPolicyDetails, context)
|
|
9934
|
+
: undefined,
|
|
9686
9935
|
Owner: __expectString(output.Owner),
|
|
9687
9936
|
SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
|
|
9688
9937
|
? deserializeAws_json1_1SourceDetails(output.SourceDetails, context)
|
|
@@ -53,9 +53,11 @@ import { GetComplianceSummaryByConfigRuleCommandInput, GetComplianceSummaryByCon
|
|
|
53
53
|
import { GetComplianceSummaryByResourceTypeCommandInput, GetComplianceSummaryByResourceTypeCommandOutput } from "./commands/GetComplianceSummaryByResourceTypeCommand";
|
|
54
54
|
import { GetConformancePackComplianceDetailsCommandInput, GetConformancePackComplianceDetailsCommandOutput } from "./commands/GetConformancePackComplianceDetailsCommand";
|
|
55
55
|
import { GetConformancePackComplianceSummaryCommandInput, GetConformancePackComplianceSummaryCommandOutput } from "./commands/GetConformancePackComplianceSummaryCommand";
|
|
56
|
+
import { GetCustomRulePolicyCommandInput, GetCustomRulePolicyCommandOutput } from "./commands/GetCustomRulePolicyCommand";
|
|
56
57
|
import { GetDiscoveredResourceCountsCommandInput, GetDiscoveredResourceCountsCommandOutput } from "./commands/GetDiscoveredResourceCountsCommand";
|
|
57
58
|
import { GetOrganizationConfigRuleDetailedStatusCommandInput, GetOrganizationConfigRuleDetailedStatusCommandOutput } from "./commands/GetOrganizationConfigRuleDetailedStatusCommand";
|
|
58
59
|
import { GetOrganizationConformancePackDetailedStatusCommandInput, GetOrganizationConformancePackDetailedStatusCommandOutput } from "./commands/GetOrganizationConformancePackDetailedStatusCommand";
|
|
60
|
+
import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRulePolicyCommandOutput } from "./commands/GetOrganizationCustomRulePolicyCommand";
|
|
59
61
|
import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "./commands/GetResourceConfigHistoryCommand";
|
|
60
62
|
import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "./commands/GetStoredQueryCommand";
|
|
61
63
|
import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "./commands/ListAggregateDiscoveredResourcesCommand";
|
|
@@ -224,8 +226,8 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
224
226
|
deleteEvaluationResults(args: DeleteEvaluationResultsCommandInput, cb: (err: any, data?: DeleteEvaluationResultsCommandOutput) => void): void;
|
|
225
227
|
deleteEvaluationResults(args: DeleteEvaluationResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEvaluationResultsCommandOutput) => void): void;
|
|
226
228
|
/**
|
|
227
|
-
* <p>Deletes the specified organization
|
|
228
|
-
* <p>Only a master account and a delegated administrator account can delete an organization
|
|
229
|
+
* <p>Deletes the specified organization Config rule and all of its evaluation results from all member accounts in that organization. </p>
|
|
230
|
+
* <p>Only a master account and a delegated administrator account can delete an organization Config rule.
|
|
229
231
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
230
232
|
* <code>ListDelegatedAdministrator</code> permissions are added.</p>
|
|
231
233
|
* <p>Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete.
|
|
@@ -235,7 +237,7 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
235
237
|
deleteOrganizationConfigRule(args: DeleteOrganizationConfigRuleCommandInput, cb: (err: any, data?: DeleteOrganizationConfigRuleCommandOutput) => void): void;
|
|
236
238
|
deleteOrganizationConfigRule(args: DeleteOrganizationConfigRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOrganizationConfigRuleCommandOutput) => void): void;
|
|
237
239
|
/**
|
|
238
|
-
* <p>Deletes the specified organization conformance pack and all of the
|
|
240
|
+
* <p>Deletes the specified organization conformance pack and all of the Config rules and remediation actions from
|
|
239
241
|
* all member accounts in that organization. </p>
|
|
240
242
|
* <p> Only a master account or a delegated administrator account can delete an organization conformance pack.
|
|
241
243
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
@@ -521,26 +523,26 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
521
523
|
describeDeliveryChannelStatus(args: DescribeDeliveryChannelStatusCommandInput, cb: (err: any, data?: DescribeDeliveryChannelStatusCommandOutput) => void): void;
|
|
522
524
|
describeDeliveryChannelStatus(args: DescribeDeliveryChannelStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDeliveryChannelStatusCommandOutput) => void): void;
|
|
523
525
|
/**
|
|
524
|
-
* <p>Returns a list of organization
|
|
526
|
+
* <p>Returns a list of organization Config rules. </p>
|
|
525
527
|
*
|
|
526
528
|
* <note>
|
|
527
529
|
* <p>When you specify the limit and the next token, you receive a paginated response.
|
|
528
|
-
* Limit and next token are not applicable if you specify organization
|
|
529
|
-
* It is only applicable, when you request all the organization
|
|
530
|
+
* Limit and next token are not applicable if you specify organization Config rule names.
|
|
531
|
+
* It is only applicable, when you request all the organization Config rules.</p>
|
|
530
532
|
* </note>
|
|
531
533
|
*/
|
|
532
534
|
describeOrganizationConfigRules(args: DescribeOrganizationConfigRulesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConfigRulesCommandOutput>;
|
|
533
535
|
describeOrganizationConfigRules(args: DescribeOrganizationConfigRulesCommandInput, cb: (err: any, data?: DescribeOrganizationConfigRulesCommandOutput) => void): void;
|
|
534
536
|
describeOrganizationConfigRules(args: DescribeOrganizationConfigRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeOrganizationConfigRulesCommandOutput) => void): void;
|
|
535
537
|
/**
|
|
536
|
-
* <p>Provides organization
|
|
538
|
+
* <p>Provides organization Config rule deployment status for an organization.</p>
|
|
537
539
|
*
|
|
538
540
|
* <note>
|
|
539
|
-
* <p>The status is not considered successful until organization
|
|
541
|
+
* <p>The status is not considered successful until organization Config rule is successfully deployed in all the member
|
|
540
542
|
* accounts with an exception of excluded accounts.</p>
|
|
541
543
|
* <p>When you specify the limit and the next token, you receive a paginated response.
|
|
542
|
-
* Limit and next token are not applicable if you specify organization
|
|
543
|
-
* It is only applicable, when you request all the organization
|
|
544
|
+
* Limit and next token are not applicable if you specify organization Config rule names.
|
|
545
|
+
* It is only applicable, when you request all the organization Config rules.</p>
|
|
544
546
|
* </note>
|
|
545
547
|
*/
|
|
546
548
|
describeOrganizationConfigRuleStatuses(args: DescribeOrganizationConfigRuleStatusesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConfigRuleStatusesCommandOutput>;
|
|
@@ -710,6 +712,12 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
710
712
|
getConformancePackComplianceSummary(args: GetConformancePackComplianceSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetConformancePackComplianceSummaryCommandOutput>;
|
|
711
713
|
getConformancePackComplianceSummary(args: GetConformancePackComplianceSummaryCommandInput, cb: (err: any, data?: GetConformancePackComplianceSummaryCommandOutput) => void): void;
|
|
712
714
|
getConformancePackComplianceSummary(args: GetConformancePackComplianceSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConformancePackComplianceSummaryCommandOutput) => void): void;
|
|
715
|
+
/**
|
|
716
|
+
* <p>Returns the policy definition containing the logic for your Config Custom Policy rule.</p>
|
|
717
|
+
*/
|
|
718
|
+
getCustomRulePolicy(args: GetCustomRulePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetCustomRulePolicyCommandOutput>;
|
|
719
|
+
getCustomRulePolicy(args: GetCustomRulePolicyCommandInput, cb: (err: any, data?: GetCustomRulePolicyCommandOutput) => void): void;
|
|
720
|
+
getCustomRulePolicy(args: GetCustomRulePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCustomRulePolicyCommandOutput) => void): void;
|
|
713
721
|
/**
|
|
714
722
|
* <p>Returns the resource types, the number of each resource type,
|
|
715
723
|
* and the total number of resources that Config is recording in
|
|
@@ -780,7 +788,7 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
780
788
|
getDiscoveredResourceCounts(args: GetDiscoveredResourceCountsCommandInput, cb: (err: any, data?: GetDiscoveredResourceCountsCommandOutput) => void): void;
|
|
781
789
|
getDiscoveredResourceCounts(args: GetDiscoveredResourceCountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDiscoveredResourceCountsCommandOutput) => void): void;
|
|
782
790
|
/**
|
|
783
|
-
* <p>Returns detailed status for each member account within an organization for a given organization
|
|
791
|
+
* <p>Returns detailed status for each member account within an organization for a given organization Config rule.</p>
|
|
784
792
|
*/
|
|
785
793
|
getOrganizationConfigRuleDetailedStatus(args: GetOrganizationConfigRuleDetailedStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetOrganizationConfigRuleDetailedStatusCommandOutput>;
|
|
786
794
|
getOrganizationConfigRuleDetailedStatus(args: GetOrganizationConfigRuleDetailedStatusCommandInput, cb: (err: any, data?: GetOrganizationConfigRuleDetailedStatusCommandOutput) => void): void;
|
|
@@ -791,6 +799,12 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
791
799
|
getOrganizationConformancePackDetailedStatus(args: GetOrganizationConformancePackDetailedStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetOrganizationConformancePackDetailedStatusCommandOutput>;
|
|
792
800
|
getOrganizationConformancePackDetailedStatus(args: GetOrganizationConformancePackDetailedStatusCommandInput, cb: (err: any, data?: GetOrganizationConformancePackDetailedStatusCommandOutput) => void): void;
|
|
793
801
|
getOrganizationConformancePackDetailedStatus(args: GetOrganizationConformancePackDetailedStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrganizationConformancePackDetailedStatusCommandOutput) => void): void;
|
|
802
|
+
/**
|
|
803
|
+
* <p>Returns the policy definition containing the logic for your organization Config Custom Policy rule.</p>
|
|
804
|
+
*/
|
|
805
|
+
getOrganizationCustomRulePolicy(args: GetOrganizationCustomRulePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetOrganizationCustomRulePolicyCommandOutput>;
|
|
806
|
+
getOrganizationCustomRulePolicy(args: GetOrganizationCustomRulePolicyCommandInput, cb: (err: any, data?: GetOrganizationCustomRulePolicyCommandOutput) => void): void;
|
|
807
|
+
getOrganizationCustomRulePolicy(args: GetOrganizationCustomRulePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrganizationCustomRulePolicyCommandOutput) => void): void;
|
|
794
808
|
/**
|
|
795
809
|
* <p>Returns a list of <code>ConfigurationItems</code> for the specified resource.
|
|
796
810
|
* The list contains details about each state of the resource
|
|
@@ -919,7 +933,7 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
919
933
|
*
|
|
920
934
|
* <p>
|
|
921
935
|
* <code>accountIds</code> that are passed will be replaced with existing accounts.
|
|
922
|
-
* If you want to add additional accounts into the aggregator, call <code>
|
|
936
|
+
* If you want to add additional accounts into the aggregator, call <code>DescribeConfigurationAggregators</code> to get the previous accounts and then append new ones.</p>
|
|
923
937
|
* <note>
|
|
924
938
|
* <p>Config should be enabled in source accounts and regions
|
|
925
939
|
* you want to aggregate.</p>
|
|
@@ -1002,9 +1016,9 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1002
1016
|
putExternalEvaluation(args: PutExternalEvaluationCommandInput, cb: (err: any, data?: PutExternalEvaluationCommandOutput) => void): void;
|
|
1003
1017
|
putExternalEvaluation(args: PutExternalEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutExternalEvaluationCommandOutput) => void): void;
|
|
1004
1018
|
/**
|
|
1005
|
-
* <p>Adds or updates organization
|
|
1019
|
+
* <p>Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your
|
|
1006
1020
|
* desired configurations.</p>
|
|
1007
|
-
* <p> Only a master account and a delegated administrator can create or update an organization
|
|
1021
|
+
* <p> Only a master account and a delegated administrator can create or update an organization Config rule.
|
|
1008
1022
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
1009
1023
|
* <code>ListDelegatedAdministrator</code> permissions are added. </p>
|
|
1010
1024
|
* <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service linked
|
|
@@ -1019,7 +1033,7 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1019
1033
|
* When you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must
|
|
1020
1034
|
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.
|
|
1021
1035
|
* If you are adding an Config managed rule, specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>
|
|
1022
|
-
* <p>The maximum number of organization
|
|
1036
|
+
* <p>The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization. </p>
|
|
1023
1037
|
* <note>
|
|
1024
1038
|
* <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p>
|
|
1025
1039
|
* <p>Specify either <code>OrganizationCustomRuleMetadata</code> or <code>OrganizationManagedRuleMetadata</code>.</p>
|
|
@@ -60,9 +60,11 @@ import { GetComplianceSummaryByConfigRuleCommandInput, GetComplianceSummaryByCon
|
|
|
60
60
|
import { GetComplianceSummaryByResourceTypeCommandInput, GetComplianceSummaryByResourceTypeCommandOutput } from "./commands/GetComplianceSummaryByResourceTypeCommand";
|
|
61
61
|
import { GetConformancePackComplianceDetailsCommandInput, GetConformancePackComplianceDetailsCommandOutput } from "./commands/GetConformancePackComplianceDetailsCommand";
|
|
62
62
|
import { GetConformancePackComplianceSummaryCommandInput, GetConformancePackComplianceSummaryCommandOutput } from "./commands/GetConformancePackComplianceSummaryCommand";
|
|
63
|
+
import { GetCustomRulePolicyCommandInput, GetCustomRulePolicyCommandOutput } from "./commands/GetCustomRulePolicyCommand";
|
|
63
64
|
import { GetDiscoveredResourceCountsCommandInput, GetDiscoveredResourceCountsCommandOutput } from "./commands/GetDiscoveredResourceCountsCommand";
|
|
64
65
|
import { GetOrganizationConfigRuleDetailedStatusCommandInput, GetOrganizationConfigRuleDetailedStatusCommandOutput } from "./commands/GetOrganizationConfigRuleDetailedStatusCommand";
|
|
65
66
|
import { GetOrganizationConformancePackDetailedStatusCommandInput, GetOrganizationConformancePackDetailedStatusCommandOutput } from "./commands/GetOrganizationConformancePackDetailedStatusCommand";
|
|
67
|
+
import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRulePolicyCommandOutput } from "./commands/GetOrganizationCustomRulePolicyCommand";
|
|
66
68
|
import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "./commands/GetResourceConfigHistoryCommand";
|
|
67
69
|
import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "./commands/GetStoredQueryCommand";
|
|
68
70
|
import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "./commands/ListAggregateDiscoveredResourcesCommand";
|
|
@@ -92,8 +94,8 @@ import { StartRemediationExecutionCommandInput, StartRemediationExecutionCommand
|
|
|
92
94
|
import { StopConfigurationRecorderCommandInput, StopConfigurationRecorderCommandOutput } from "./commands/StopConfigurationRecorderCommand";
|
|
93
95
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
94
96
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
95
|
-
export declare type ServiceInputTypes = BatchGetAggregateResourceConfigCommandInput | BatchGetResourceConfigCommandInput | DeleteAggregationAuthorizationCommandInput | DeleteConfigRuleCommandInput | DeleteConfigurationAggregatorCommandInput | DeleteConfigurationRecorderCommandInput | DeleteConformancePackCommandInput | DeleteDeliveryChannelCommandInput | DeleteEvaluationResultsCommandInput | DeleteOrganizationConfigRuleCommandInput | DeleteOrganizationConformancePackCommandInput | DeletePendingAggregationRequestCommandInput | DeleteRemediationConfigurationCommandInput | DeleteRemediationExceptionsCommandInput | DeleteResourceConfigCommandInput | DeleteRetentionConfigurationCommandInput | DeleteStoredQueryCommandInput | DeliverConfigSnapshotCommandInput | DescribeAggregateComplianceByConfigRulesCommandInput | DescribeAggregateComplianceByConformancePacksCommandInput | DescribeAggregationAuthorizationsCommandInput | DescribeComplianceByConfigRuleCommandInput | DescribeComplianceByResourceCommandInput | DescribeConfigRuleEvaluationStatusCommandInput | DescribeConfigRulesCommandInput | DescribeConfigurationAggregatorSourcesStatusCommandInput | DescribeConfigurationAggregatorsCommandInput | DescribeConfigurationRecorderStatusCommandInput | DescribeConfigurationRecordersCommandInput | DescribeConformancePackComplianceCommandInput | DescribeConformancePackStatusCommandInput | DescribeConformancePacksCommandInput | DescribeDeliveryChannelStatusCommandInput | DescribeDeliveryChannelsCommandInput | DescribeOrganizationConfigRuleStatusesCommandInput | DescribeOrganizationConfigRulesCommandInput | DescribeOrganizationConformancePackStatusesCommandInput | DescribeOrganizationConformancePacksCommandInput | DescribePendingAggregationRequestsCommandInput | DescribeRemediationConfigurationsCommandInput | DescribeRemediationExceptionsCommandInput | DescribeRemediationExecutionStatusCommandInput | DescribeRetentionConfigurationsCommandInput | GetAggregateComplianceDetailsByConfigRuleCommandInput | GetAggregateConfigRuleComplianceSummaryCommandInput | GetAggregateConformancePackComplianceSummaryCommandInput | GetAggregateDiscoveredResourceCountsCommandInput | GetAggregateResourceConfigCommandInput | GetComplianceDetailsByConfigRuleCommandInput | GetComplianceDetailsByResourceCommandInput | GetComplianceSummaryByConfigRuleCommandInput | GetComplianceSummaryByResourceTypeCommandInput | GetConformancePackComplianceDetailsCommandInput | GetConformancePackComplianceSummaryCommandInput | GetDiscoveredResourceCountsCommandInput | GetOrganizationConfigRuleDetailedStatusCommandInput | GetOrganizationConformancePackDetailedStatusCommandInput | GetResourceConfigHistoryCommandInput | GetStoredQueryCommandInput | ListAggregateDiscoveredResourcesCommandInput | ListDiscoveredResourcesCommandInput | ListStoredQueriesCommandInput | ListTagsForResourceCommandInput | PutAggregationAuthorizationCommandInput | PutConfigRuleCommandInput | PutConfigurationAggregatorCommandInput | PutConfigurationRecorderCommandInput | PutConformancePackCommandInput | PutDeliveryChannelCommandInput | PutEvaluationsCommandInput | PutExternalEvaluationCommandInput | PutOrganizationConfigRuleCommandInput | PutOrganizationConformancePackCommandInput | PutRemediationConfigurationsCommandInput | PutRemediationExceptionsCommandInput | PutResourceConfigCommandInput | PutRetentionConfigurationCommandInput | PutStoredQueryCommandInput | SelectAggregateResourceConfigCommandInput | SelectResourceConfigCommandInput | StartConfigRulesEvaluationCommandInput | StartConfigurationRecorderCommandInput | StartRemediationExecutionCommandInput | StopConfigurationRecorderCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
96
|
-
export declare type ServiceOutputTypes = BatchGetAggregateResourceConfigCommandOutput | BatchGetResourceConfigCommandOutput | DeleteAggregationAuthorizationCommandOutput | DeleteConfigRuleCommandOutput | DeleteConfigurationAggregatorCommandOutput | DeleteConfigurationRecorderCommandOutput | DeleteConformancePackCommandOutput | DeleteDeliveryChannelCommandOutput | DeleteEvaluationResultsCommandOutput | DeleteOrganizationConfigRuleCommandOutput | DeleteOrganizationConformancePackCommandOutput | DeletePendingAggregationRequestCommandOutput | DeleteRemediationConfigurationCommandOutput | DeleteRemediationExceptionsCommandOutput | DeleteResourceConfigCommandOutput | DeleteRetentionConfigurationCommandOutput | DeleteStoredQueryCommandOutput | DeliverConfigSnapshotCommandOutput | DescribeAggregateComplianceByConfigRulesCommandOutput | DescribeAggregateComplianceByConformancePacksCommandOutput | DescribeAggregationAuthorizationsCommandOutput | DescribeComplianceByConfigRuleCommandOutput | DescribeComplianceByResourceCommandOutput | DescribeConfigRuleEvaluationStatusCommandOutput | DescribeConfigRulesCommandOutput | DescribeConfigurationAggregatorSourcesStatusCommandOutput | DescribeConfigurationAggregatorsCommandOutput | DescribeConfigurationRecorderStatusCommandOutput | DescribeConfigurationRecordersCommandOutput | DescribeConformancePackComplianceCommandOutput | DescribeConformancePackStatusCommandOutput | DescribeConformancePacksCommandOutput | DescribeDeliveryChannelStatusCommandOutput | DescribeDeliveryChannelsCommandOutput | DescribeOrganizationConfigRuleStatusesCommandOutput | DescribeOrganizationConfigRulesCommandOutput | DescribeOrganizationConformancePackStatusesCommandOutput | DescribeOrganizationConformancePacksCommandOutput | DescribePendingAggregationRequestsCommandOutput | DescribeRemediationConfigurationsCommandOutput | DescribeRemediationExceptionsCommandOutput | DescribeRemediationExecutionStatusCommandOutput | DescribeRetentionConfigurationsCommandOutput | GetAggregateComplianceDetailsByConfigRuleCommandOutput | GetAggregateConfigRuleComplianceSummaryCommandOutput | GetAggregateConformancePackComplianceSummaryCommandOutput | GetAggregateDiscoveredResourceCountsCommandOutput | GetAggregateResourceConfigCommandOutput | GetComplianceDetailsByConfigRuleCommandOutput | GetComplianceDetailsByResourceCommandOutput | GetComplianceSummaryByConfigRuleCommandOutput | GetComplianceSummaryByResourceTypeCommandOutput | GetConformancePackComplianceDetailsCommandOutput | GetConformancePackComplianceSummaryCommandOutput | GetDiscoveredResourceCountsCommandOutput | GetOrganizationConfigRuleDetailedStatusCommandOutput | GetOrganizationConformancePackDetailedStatusCommandOutput | GetResourceConfigHistoryCommandOutput | GetStoredQueryCommandOutput | ListAggregateDiscoveredResourcesCommandOutput | ListDiscoveredResourcesCommandOutput | ListStoredQueriesCommandOutput | ListTagsForResourceCommandOutput | PutAggregationAuthorizationCommandOutput | PutConfigRuleCommandOutput | PutConfigurationAggregatorCommandOutput | PutConfigurationRecorderCommandOutput | PutConformancePackCommandOutput | PutDeliveryChannelCommandOutput | PutEvaluationsCommandOutput | PutExternalEvaluationCommandOutput | PutOrganizationConfigRuleCommandOutput | PutOrganizationConformancePackCommandOutput | PutRemediationConfigurationsCommandOutput | PutRemediationExceptionsCommandOutput | PutResourceConfigCommandOutput | PutRetentionConfigurationCommandOutput | PutStoredQueryCommandOutput | SelectAggregateResourceConfigCommandOutput | SelectResourceConfigCommandOutput | StartConfigRulesEvaluationCommandOutput | StartConfigurationRecorderCommandOutput | StartRemediationExecutionCommandOutput | StopConfigurationRecorderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
97
|
+
export declare type ServiceInputTypes = BatchGetAggregateResourceConfigCommandInput | BatchGetResourceConfigCommandInput | DeleteAggregationAuthorizationCommandInput | DeleteConfigRuleCommandInput | DeleteConfigurationAggregatorCommandInput | DeleteConfigurationRecorderCommandInput | DeleteConformancePackCommandInput | DeleteDeliveryChannelCommandInput | DeleteEvaluationResultsCommandInput | DeleteOrganizationConfigRuleCommandInput | DeleteOrganizationConformancePackCommandInput | DeletePendingAggregationRequestCommandInput | DeleteRemediationConfigurationCommandInput | DeleteRemediationExceptionsCommandInput | DeleteResourceConfigCommandInput | DeleteRetentionConfigurationCommandInput | DeleteStoredQueryCommandInput | DeliverConfigSnapshotCommandInput | DescribeAggregateComplianceByConfigRulesCommandInput | DescribeAggregateComplianceByConformancePacksCommandInput | DescribeAggregationAuthorizationsCommandInput | DescribeComplianceByConfigRuleCommandInput | DescribeComplianceByResourceCommandInput | DescribeConfigRuleEvaluationStatusCommandInput | DescribeConfigRulesCommandInput | DescribeConfigurationAggregatorSourcesStatusCommandInput | DescribeConfigurationAggregatorsCommandInput | DescribeConfigurationRecorderStatusCommandInput | DescribeConfigurationRecordersCommandInput | DescribeConformancePackComplianceCommandInput | DescribeConformancePackStatusCommandInput | DescribeConformancePacksCommandInput | DescribeDeliveryChannelStatusCommandInput | DescribeDeliveryChannelsCommandInput | DescribeOrganizationConfigRuleStatusesCommandInput | DescribeOrganizationConfigRulesCommandInput | DescribeOrganizationConformancePackStatusesCommandInput | DescribeOrganizationConformancePacksCommandInput | DescribePendingAggregationRequestsCommandInput | DescribeRemediationConfigurationsCommandInput | DescribeRemediationExceptionsCommandInput | DescribeRemediationExecutionStatusCommandInput | DescribeRetentionConfigurationsCommandInput | GetAggregateComplianceDetailsByConfigRuleCommandInput | GetAggregateConfigRuleComplianceSummaryCommandInput | GetAggregateConformancePackComplianceSummaryCommandInput | GetAggregateDiscoveredResourceCountsCommandInput | GetAggregateResourceConfigCommandInput | GetComplianceDetailsByConfigRuleCommandInput | GetComplianceDetailsByResourceCommandInput | GetComplianceSummaryByConfigRuleCommandInput | GetComplianceSummaryByResourceTypeCommandInput | GetConformancePackComplianceDetailsCommandInput | GetConformancePackComplianceSummaryCommandInput | GetCustomRulePolicyCommandInput | GetDiscoveredResourceCountsCommandInput | GetOrganizationConfigRuleDetailedStatusCommandInput | GetOrganizationConformancePackDetailedStatusCommandInput | GetOrganizationCustomRulePolicyCommandInput | GetResourceConfigHistoryCommandInput | GetStoredQueryCommandInput | ListAggregateDiscoveredResourcesCommandInput | ListDiscoveredResourcesCommandInput | ListStoredQueriesCommandInput | ListTagsForResourceCommandInput | PutAggregationAuthorizationCommandInput | PutConfigRuleCommandInput | PutConfigurationAggregatorCommandInput | PutConfigurationRecorderCommandInput | PutConformancePackCommandInput | PutDeliveryChannelCommandInput | PutEvaluationsCommandInput | PutExternalEvaluationCommandInput | PutOrganizationConfigRuleCommandInput | PutOrganizationConformancePackCommandInput | PutRemediationConfigurationsCommandInput | PutRemediationExceptionsCommandInput | PutResourceConfigCommandInput | PutRetentionConfigurationCommandInput | PutStoredQueryCommandInput | SelectAggregateResourceConfigCommandInput | SelectResourceConfigCommandInput | StartConfigRulesEvaluationCommandInput | StartConfigurationRecorderCommandInput | StartRemediationExecutionCommandInput | StopConfigurationRecorderCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
98
|
+
export declare type ServiceOutputTypes = BatchGetAggregateResourceConfigCommandOutput | BatchGetResourceConfigCommandOutput | DeleteAggregationAuthorizationCommandOutput | DeleteConfigRuleCommandOutput | DeleteConfigurationAggregatorCommandOutput | DeleteConfigurationRecorderCommandOutput | DeleteConformancePackCommandOutput | DeleteDeliveryChannelCommandOutput | DeleteEvaluationResultsCommandOutput | DeleteOrganizationConfigRuleCommandOutput | DeleteOrganizationConformancePackCommandOutput | DeletePendingAggregationRequestCommandOutput | DeleteRemediationConfigurationCommandOutput | DeleteRemediationExceptionsCommandOutput | DeleteResourceConfigCommandOutput | DeleteRetentionConfigurationCommandOutput | DeleteStoredQueryCommandOutput | DeliverConfigSnapshotCommandOutput | DescribeAggregateComplianceByConfigRulesCommandOutput | DescribeAggregateComplianceByConformancePacksCommandOutput | DescribeAggregationAuthorizationsCommandOutput | DescribeComplianceByConfigRuleCommandOutput | DescribeComplianceByResourceCommandOutput | DescribeConfigRuleEvaluationStatusCommandOutput | DescribeConfigRulesCommandOutput | DescribeConfigurationAggregatorSourcesStatusCommandOutput | DescribeConfigurationAggregatorsCommandOutput | DescribeConfigurationRecorderStatusCommandOutput | DescribeConfigurationRecordersCommandOutput | DescribeConformancePackComplianceCommandOutput | DescribeConformancePackStatusCommandOutput | DescribeConformancePacksCommandOutput | DescribeDeliveryChannelStatusCommandOutput | DescribeDeliveryChannelsCommandOutput | DescribeOrganizationConfigRuleStatusesCommandOutput | DescribeOrganizationConfigRulesCommandOutput | DescribeOrganizationConformancePackStatusesCommandOutput | DescribeOrganizationConformancePacksCommandOutput | DescribePendingAggregationRequestsCommandOutput | DescribeRemediationConfigurationsCommandOutput | DescribeRemediationExceptionsCommandOutput | DescribeRemediationExecutionStatusCommandOutput | DescribeRetentionConfigurationsCommandOutput | GetAggregateComplianceDetailsByConfigRuleCommandOutput | GetAggregateConfigRuleComplianceSummaryCommandOutput | GetAggregateConformancePackComplianceSummaryCommandOutput | GetAggregateDiscoveredResourceCountsCommandOutput | GetAggregateResourceConfigCommandOutput | GetComplianceDetailsByConfigRuleCommandOutput | GetComplianceDetailsByResourceCommandOutput | GetComplianceSummaryByConfigRuleCommandOutput | GetComplianceSummaryByResourceTypeCommandOutput | GetConformancePackComplianceDetailsCommandOutput | GetConformancePackComplianceSummaryCommandOutput | GetCustomRulePolicyCommandOutput | GetDiscoveredResourceCountsCommandOutput | GetOrganizationConfigRuleDetailedStatusCommandOutput | GetOrganizationConformancePackDetailedStatusCommandOutput | GetOrganizationCustomRulePolicyCommandOutput | GetResourceConfigHistoryCommandOutput | GetStoredQueryCommandOutput | ListAggregateDiscoveredResourcesCommandOutput | ListDiscoveredResourcesCommandOutput | ListStoredQueriesCommandOutput | ListTagsForResourceCommandOutput | PutAggregationAuthorizationCommandOutput | PutConfigRuleCommandOutput | PutConfigurationAggregatorCommandOutput | PutConfigurationRecorderCommandOutput | PutConformancePackCommandOutput | PutDeliveryChannelCommandOutput | PutEvaluationsCommandOutput | PutExternalEvaluationCommandOutput | PutOrganizationConfigRuleCommandOutput | PutOrganizationConformancePackCommandOutput | PutRemediationConfigurationsCommandOutput | PutRemediationExceptionsCommandOutput | PutResourceConfigCommandOutput | PutRetentionConfigurationCommandOutput | PutStoredQueryCommandOutput | SelectAggregateResourceConfigCommandOutput | SelectResourceConfigCommandOutput | StartConfigRulesEvaluationCommandOutput | StartConfigurationRecorderCommandOutput | StartRemediationExecutionCommandOutput | StopConfigurationRecorderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
97
99
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
98
100
|
/**
|
|
99
101
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -7,8 +7,8 @@ export interface DeleteOrganizationConfigRuleCommandInput extends DeleteOrganiza
|
|
|
7
7
|
export interface DeleteOrganizationConfigRuleCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes the specified organization
|
|
11
|
-
* <p>Only a master account and a delegated administrator account can delete an organization
|
|
10
|
+
* <p>Deletes the specified organization Config rule and all of its evaluation results from all member accounts in that organization. </p>
|
|
11
|
+
* <p>Only a master account and a delegated administrator account can delete an organization Config rule.
|
|
12
12
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
13
13
|
* <code>ListDelegatedAdministrator</code> permissions are added.</p>
|
|
14
14
|
* <p>Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete.
|
|
@@ -7,7 +7,7 @@ export interface DeleteOrganizationConformancePackCommandInput extends DeleteOrg
|
|
|
7
7
|
export interface DeleteOrganizationConformancePackCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes the specified organization conformance pack and all of the
|
|
10
|
+
* <p>Deletes the specified organization conformance pack and all of the Config rules and remediation actions from
|
|
11
11
|
* all member accounts in that organization. </p>
|
|
12
12
|
* <p> Only a master account or a delegated administrator account can delete an organization conformance pack.
|
|
13
13
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
@@ -7,14 +7,14 @@ export interface DescribeOrganizationConfigRuleStatusesCommandInput extends Desc
|
|
|
7
7
|
export interface DescribeOrganizationConfigRuleStatusesCommandOutput extends DescribeOrganizationConfigRuleStatusesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Provides organization
|
|
10
|
+
* <p>Provides organization Config rule deployment status for an organization.</p>
|
|
11
11
|
*
|
|
12
12
|
* <note>
|
|
13
|
-
* <p>The status is not considered successful until organization
|
|
13
|
+
* <p>The status is not considered successful until organization Config rule is successfully deployed in all the member
|
|
14
14
|
* accounts with an exception of excluded accounts.</p>
|
|
15
15
|
* <p>When you specify the limit and the next token, you receive a paginated response.
|
|
16
|
-
* Limit and next token are not applicable if you specify organization
|
|
17
|
-
* It is only applicable, when you request all the organization
|
|
16
|
+
* Limit and next token are not applicable if you specify organization Config rule names.
|
|
17
|
+
* It is only applicable, when you request all the organization Config rules.</p>
|
|
18
18
|
* </note>
|
|
19
19
|
* @example
|
|
20
20
|
* Use a bare-bones client and the command you need to make an API call.
|