@aws-sdk/client-config-service 3.131.0 → 3.141.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/BatchGetAggregateResourceConfigCommand.js +2 -2
- package/dist-cjs/commands/BatchGetResourceConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteAggregationAuthorizationCommand.js +1 -1
- package/dist-cjs/commands/DeleteConfigRuleCommand.js +1 -1
- package/dist-cjs/commands/DeleteConfigurationAggregatorCommand.js +1 -1
- package/dist-cjs/commands/DeleteConfigurationRecorderCommand.js +1 -1
- package/dist-cjs/commands/DeleteConformancePackCommand.js +1 -1
- package/dist-cjs/commands/DeleteDeliveryChannelCommand.js +1 -1
- package/dist-cjs/commands/DeleteEvaluationResultsCommand.js +2 -2
- package/dist-cjs/commands/DeleteOrganizationConfigRuleCommand.js +1 -1
- package/dist-cjs/commands/DeleteOrganizationConformancePackCommand.js +1 -1
- package/dist-cjs/commands/DeletePendingAggregationRequestCommand.js +1 -1
- package/dist-cjs/commands/DeleteRemediationConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DeleteRemediationExceptionsCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourceConfigCommand.js +1 -1
- package/dist-cjs/commands/DeleteRetentionConfigurationCommand.js +1 -1
- package/dist-cjs/commands/DeleteStoredQueryCommand.js +2 -2
- package/dist-cjs/commands/DeliverConfigSnapshotCommand.js +2 -2
- package/dist-cjs/commands/DescribeAggregateComplianceByConfigRulesCommand.js +2 -2
- package/dist-cjs/commands/DescribeAggregateComplianceByConformancePacksCommand.js +2 -2
- package/dist-cjs/commands/DescribeAggregationAuthorizationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeComplianceByConfigRuleCommand.js +2 -2
- package/dist-cjs/commands/DescribeComplianceByResourceCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigRuleEvaluationStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigRulesCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigurationAggregatorSourcesStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigurationAggregatorsCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigurationRecorderStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigurationRecordersCommand.js +2 -2
- package/dist-cjs/commands/DescribeConformancePackComplianceCommand.js +2 -2
- package/dist-cjs/commands/DescribeConformancePackStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeConformancePacksCommand.js +2 -2
- package/dist-cjs/commands/DescribeDeliveryChannelStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeDeliveryChannelsCommand.js +2 -2
- package/dist-cjs/commands/DescribeOrganizationConfigRuleStatusesCommand.js +2 -2
- package/dist-cjs/commands/DescribeOrganizationConfigRulesCommand.js +2 -2
- package/dist-cjs/commands/DescribeOrganizationConformancePackStatusesCommand.js +2 -2
- package/dist-cjs/commands/DescribeOrganizationConformancePacksCommand.js +2 -2
- package/dist-cjs/commands/DescribePendingAggregationRequestsCommand.js +2 -2
- package/dist-cjs/commands/DescribeRemediationConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeRemediationExceptionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeRemediationExecutionStatusCommand.js +2 -2
- package/dist-cjs/commands/DescribeRetentionConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/GetAggregateComplianceDetailsByConfigRuleCommand.js +2 -2
- package/dist-cjs/commands/GetAggregateConfigRuleComplianceSummaryCommand.js +2 -2
- package/dist-cjs/commands/GetAggregateConformancePackComplianceSummaryCommand.js +2 -2
- package/dist-cjs/commands/GetAggregateDiscoveredResourceCountsCommand.js +2 -2
- package/dist-cjs/commands/GetAggregateResourceConfigCommand.js +2 -2
- package/dist-cjs/commands/GetComplianceDetailsByConfigRuleCommand.js +2 -2
- package/dist-cjs/commands/GetComplianceDetailsByResourceCommand.js +2 -2
- package/dist-cjs/commands/GetComplianceSummaryByConfigRuleCommand.js +1 -1
- package/dist-cjs/commands/GetComplianceSummaryByResourceTypeCommand.js +2 -2
- package/dist-cjs/commands/GetConformancePackComplianceDetailsCommand.js +2 -2
- package/dist-cjs/commands/GetConformancePackComplianceSummaryCommand.js +2 -2
- package/dist-cjs/commands/GetCustomRulePolicyCommand.js +2 -2
- package/dist-cjs/commands/GetDiscoveredResourceCountsCommand.js +2 -2
- package/dist-cjs/commands/GetOrganizationConfigRuleDetailedStatusCommand.js +2 -2
- package/dist-cjs/commands/GetOrganizationConformancePackDetailedStatusCommand.js +2 -2
- package/dist-cjs/commands/GetOrganizationCustomRulePolicyCommand.js +2 -2
- package/dist-cjs/commands/GetResourceConfigHistoryCommand.js +2 -2
- package/dist-cjs/commands/GetStoredQueryCommand.js +2 -2
- package/dist-cjs/commands/ListAggregateDiscoveredResourcesCommand.js +2 -2
- package/dist-cjs/commands/ListConformancePackComplianceScoresCommand.js +36 -0
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +2 -2
- package/dist-cjs/commands/ListStoredQueriesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutAggregationAuthorizationCommand.js +2 -2
- package/dist-cjs/commands/PutConfigRuleCommand.js +1 -1
- package/dist-cjs/commands/PutConfigurationAggregatorCommand.js +2 -2
- package/dist-cjs/commands/PutConfigurationRecorderCommand.js +1 -1
- package/dist-cjs/commands/PutConformancePackCommand.js +3 -2
- 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/PutOrganizationConfigRuleCommand.js +2 -2
- package/dist-cjs/commands/PutOrganizationConformancePackCommand.js +2 -2
- package/dist-cjs/commands/PutRemediationConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/PutRemediationExceptionsCommand.js +2 -2
- package/dist-cjs/commands/PutResourceConfigCommand.js +1 -1
- package/dist-cjs/commands/PutRetentionConfigurationCommand.js +2 -2
- package/dist-cjs/commands/PutStoredQueryCommand.js +2 -2
- package/dist-cjs/commands/SelectAggregateResourceConfigCommand.js +2 -2
- package/dist-cjs/commands/SelectResourceConfigCommand.js +2 -2
- package/dist-cjs/commands/StartConfigRulesEvaluationCommand.js +2 -2
- package/dist-cjs/commands/StartConfigurationRecorderCommand.js +1 -1
- package/dist-cjs/commands/StartRemediationExecutionCommand.js +2 -2
- package/dist-cjs/commands/StopConfigurationRecorderCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +1 -1
- package/dist-cjs/commands/UntagResourceCommand.js +1 -1
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +891 -1332
- package/dist-cjs/models/models_1.js +129 -157
- package/dist-cjs/pagination/ListConformancePackComplianceScoresPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +112 -3
- package/dist-es/ConfigService.js +15 -0
- package/dist-es/commands/BatchGetAggregateResourceConfigCommand.js +3 -3
- package/dist-es/commands/BatchGetResourceConfigCommand.js +3 -3
- package/dist-es/commands/DeleteAggregationAuthorizationCommand.js +2 -2
- package/dist-es/commands/DeleteConfigRuleCommand.js +2 -2
- package/dist-es/commands/DeleteConfigurationAggregatorCommand.js +2 -2
- package/dist-es/commands/DeleteConfigurationRecorderCommand.js +2 -2
- package/dist-es/commands/DeleteConformancePackCommand.js +2 -2
- package/dist-es/commands/DeleteDeliveryChannelCommand.js +2 -2
- package/dist-es/commands/DeleteEvaluationResultsCommand.js +3 -3
- package/dist-es/commands/DeleteOrganizationConfigRuleCommand.js +2 -2
- package/dist-es/commands/DeleteOrganizationConformancePackCommand.js +2 -2
- package/dist-es/commands/DeletePendingAggregationRequestCommand.js +2 -2
- package/dist-es/commands/DeleteRemediationConfigurationCommand.js +3 -3
- package/dist-es/commands/DeleteRemediationExceptionsCommand.js +3 -3
- package/dist-es/commands/DeleteResourceConfigCommand.js +2 -2
- package/dist-es/commands/DeleteRetentionConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteStoredQueryCommand.js +3 -3
- package/dist-es/commands/DeliverConfigSnapshotCommand.js +3 -3
- package/dist-es/commands/DescribeAggregateComplianceByConfigRulesCommand.js +3 -3
- package/dist-es/commands/DescribeAggregateComplianceByConformancePacksCommand.js +3 -3
- package/dist-es/commands/DescribeAggregationAuthorizationsCommand.js +3 -3
- package/dist-es/commands/DescribeComplianceByConfigRuleCommand.js +3 -3
- package/dist-es/commands/DescribeComplianceByResourceCommand.js +3 -3
- package/dist-es/commands/DescribeConfigRuleEvaluationStatusCommand.js +3 -3
- package/dist-es/commands/DescribeConfigRulesCommand.js +3 -3
- package/dist-es/commands/DescribeConfigurationAggregatorSourcesStatusCommand.js +3 -3
- package/dist-es/commands/DescribeConfigurationAggregatorsCommand.js +3 -3
- package/dist-es/commands/DescribeConfigurationRecorderStatusCommand.js +3 -3
- package/dist-es/commands/DescribeConfigurationRecordersCommand.js +3 -3
- package/dist-es/commands/DescribeConformancePackComplianceCommand.js +3 -3
- package/dist-es/commands/DescribeConformancePackStatusCommand.js +3 -3
- package/dist-es/commands/DescribeConformancePacksCommand.js +3 -3
- package/dist-es/commands/DescribeDeliveryChannelStatusCommand.js +3 -3
- package/dist-es/commands/DescribeDeliveryChannelsCommand.js +3 -3
- package/dist-es/commands/DescribeOrganizationConfigRuleStatusesCommand.js +3 -3
- package/dist-es/commands/DescribeOrganizationConfigRulesCommand.js +3 -3
- package/dist-es/commands/DescribeOrganizationConformancePackStatusesCommand.js +3 -3
- package/dist-es/commands/DescribeOrganizationConformancePacksCommand.js +3 -3
- package/dist-es/commands/DescribePendingAggregationRequestsCommand.js +3 -3
- package/dist-es/commands/DescribeRemediationConfigurationsCommand.js +3 -3
- package/dist-es/commands/DescribeRemediationExceptionsCommand.js +3 -3
- package/dist-es/commands/DescribeRemediationExecutionStatusCommand.js +3 -3
- package/dist-es/commands/DescribeRetentionConfigurationsCommand.js +3 -3
- package/dist-es/commands/GetAggregateComplianceDetailsByConfigRuleCommand.js +3 -3
- package/dist-es/commands/GetAggregateConfigRuleComplianceSummaryCommand.js +3 -3
- package/dist-es/commands/GetAggregateConformancePackComplianceSummaryCommand.js +3 -3
- package/dist-es/commands/GetAggregateDiscoveredResourceCountsCommand.js +3 -3
- package/dist-es/commands/GetAggregateResourceConfigCommand.js +3 -3
- package/dist-es/commands/GetComplianceDetailsByConfigRuleCommand.js +3 -3
- package/dist-es/commands/GetComplianceDetailsByResourceCommand.js +3 -3
- package/dist-es/commands/GetComplianceSummaryByConfigRuleCommand.js +2 -2
- package/dist-es/commands/GetComplianceSummaryByResourceTypeCommand.js +3 -3
- package/dist-es/commands/GetConformancePackComplianceDetailsCommand.js +3 -3
- package/dist-es/commands/GetConformancePackComplianceSummaryCommand.js +3 -3
- package/dist-es/commands/GetCustomRulePolicyCommand.js +3 -3
- package/dist-es/commands/GetDiscoveredResourceCountsCommand.js +3 -3
- package/dist-es/commands/GetOrganizationConfigRuleDetailedStatusCommand.js +3 -3
- package/dist-es/commands/GetOrganizationConformancePackDetailedStatusCommand.js +3 -3
- package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +3 -3
- package/dist-es/commands/GetResourceConfigHistoryCommand.js +3 -3
- package/dist-es/commands/GetStoredQueryCommand.js +3 -3
- package/dist-es/commands/ListAggregateDiscoveredResourcesCommand.js +3 -3
- package/dist-es/commands/ListConformancePackComplianceScoresCommand.js +39 -0
- package/dist-es/commands/ListDiscoveredResourcesCommand.js +3 -3
- package/dist-es/commands/ListStoredQueriesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutAggregationAuthorizationCommand.js +3 -3
- package/dist-es/commands/PutConfigRuleCommand.js +2 -2
- package/dist-es/commands/PutConfigurationAggregatorCommand.js +3 -3
- package/dist-es/commands/PutConfigurationRecorderCommand.js +2 -2
- package/dist-es/commands/PutConformancePackCommand.js +4 -3
- package/dist-es/commands/PutDeliveryChannelCommand.js +2 -2
- package/dist-es/commands/PutEvaluationsCommand.js +3 -3
- package/dist-es/commands/PutExternalEvaluationCommand.js +3 -3
- package/dist-es/commands/PutOrganizationConfigRuleCommand.js +3 -3
- package/dist-es/commands/PutOrganizationConformancePackCommand.js +3 -3
- package/dist-es/commands/PutRemediationConfigurationsCommand.js +3 -3
- package/dist-es/commands/PutRemediationExceptionsCommand.js +3 -3
- package/dist-es/commands/PutResourceConfigCommand.js +2 -2
- package/dist-es/commands/PutRetentionConfigurationCommand.js +3 -3
- package/dist-es/commands/PutStoredQueryCommand.js +3 -3
- package/dist-es/commands/SelectAggregateResourceConfigCommand.js +3 -3
- package/dist-es/commands/SelectResourceConfigCommand.js +3 -3
- package/dist-es/commands/StartConfigRulesEvaluationCommand.js +3 -3
- package/dist-es/commands/StartConfigurationRecorderCommand.js +2 -2
- package/dist-es/commands/StartRemediationExecutionCommand.js +3 -3
- package/dist-es/commands/StopConfigurationRecorderCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +228 -884
- package/dist-es/models/models_1.js +32 -104
- package/dist-es/pagination/ListConformancePackComplianceScoresPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +118 -0
- 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 +962 -1407
- package/dist-types/models/models_1.d.ts +208 -161
- 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 +471 -909
- package/dist-types/ts3.4/models/models_1.d.ts +96 -105
- 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,57 +1,5 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
|
|
3
|
-
export var PutOrganizationConfigRuleRequest;
|
|
4
|
-
(function (PutOrganizationConfigRuleRequest) {
|
|
5
|
-
PutOrganizationConfigRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(PutOrganizationConfigRuleRequest || (PutOrganizationConfigRuleRequest = {}));
|
|
7
|
-
export var PutOrganizationConfigRuleResponse;
|
|
8
|
-
(function (PutOrganizationConfigRuleResponse) {
|
|
9
|
-
PutOrganizationConfigRuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
-
})(PutOrganizationConfigRuleResponse || (PutOrganizationConfigRuleResponse = {}));
|
|
11
|
-
export var PutOrganizationConformancePackRequest;
|
|
12
|
-
(function (PutOrganizationConformancePackRequest) {
|
|
13
|
-
PutOrganizationConformancePackRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
14
|
-
})(PutOrganizationConformancePackRequest || (PutOrganizationConformancePackRequest = {}));
|
|
15
|
-
export var PutOrganizationConformancePackResponse;
|
|
16
|
-
(function (PutOrganizationConformancePackResponse) {
|
|
17
|
-
PutOrganizationConformancePackResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
18
|
-
})(PutOrganizationConformancePackResponse || (PutOrganizationConformancePackResponse = {}));
|
|
19
|
-
export var PutRemediationConfigurationsRequest;
|
|
20
|
-
(function (PutRemediationConfigurationsRequest) {
|
|
21
|
-
PutRemediationConfigurationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
|
-
})(PutRemediationConfigurationsRequest || (PutRemediationConfigurationsRequest = {}));
|
|
23
|
-
export var PutRemediationConfigurationsResponse;
|
|
24
|
-
(function (PutRemediationConfigurationsResponse) {
|
|
25
|
-
PutRemediationConfigurationsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
26
|
-
})(PutRemediationConfigurationsResponse || (PutRemediationConfigurationsResponse = {}));
|
|
27
|
-
export var PutRemediationExceptionsRequest;
|
|
28
|
-
(function (PutRemediationExceptionsRequest) {
|
|
29
|
-
PutRemediationExceptionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
30
|
-
})(PutRemediationExceptionsRequest || (PutRemediationExceptionsRequest = {}));
|
|
31
|
-
export var PutRemediationExceptionsResponse;
|
|
32
|
-
(function (PutRemediationExceptionsResponse) {
|
|
33
|
-
PutRemediationExceptionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
34
|
-
})(PutRemediationExceptionsResponse || (PutRemediationExceptionsResponse = {}));
|
|
35
|
-
export var PutResourceConfigRequest;
|
|
36
|
-
(function (PutResourceConfigRequest) {
|
|
37
|
-
PutResourceConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
38
|
-
})(PutResourceConfigRequest || (PutResourceConfigRequest = {}));
|
|
39
|
-
export var PutRetentionConfigurationRequest;
|
|
40
|
-
(function (PutRetentionConfigurationRequest) {
|
|
41
|
-
PutRetentionConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
42
|
-
})(PutRetentionConfigurationRequest || (PutRetentionConfigurationRequest = {}));
|
|
43
|
-
export var PutRetentionConfigurationResponse;
|
|
44
|
-
(function (PutRetentionConfigurationResponse) {
|
|
45
|
-
PutRetentionConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
-
})(PutRetentionConfigurationResponse || (PutRetentionConfigurationResponse = {}));
|
|
47
|
-
export var PutStoredQueryRequest;
|
|
48
|
-
(function (PutStoredQueryRequest) {
|
|
49
|
-
PutStoredQueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
50
|
-
})(PutStoredQueryRequest || (PutStoredQueryRequest = {}));
|
|
51
|
-
export var PutStoredQueryResponse;
|
|
52
|
-
(function (PutStoredQueryResponse) {
|
|
53
|
-
PutStoredQueryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
|
-
})(PutStoredQueryResponse || (PutStoredQueryResponse = {}));
|
|
55
3
|
var ResourceConcurrentModificationException = (function (_super) {
|
|
56
4
|
__extends(ResourceConcurrentModificationException, _super);
|
|
57
5
|
function ResourceConcurrentModificationException(opts) {
|
|
@@ -76,55 +24,35 @@ var TooManyTagsException = (function (_super) {
|
|
|
76
24
|
return TooManyTagsException;
|
|
77
25
|
}(__BaseException));
|
|
78
26
|
export { TooManyTagsException };
|
|
79
|
-
export var
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
export var
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
export var
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
export var
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export var
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
export var
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
export var
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
export var
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
export var StartRemediationExecutionRequest;
|
|
112
|
-
(function (StartRemediationExecutionRequest) {
|
|
113
|
-
StartRemediationExecutionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
-
})(StartRemediationExecutionRequest || (StartRemediationExecutionRequest = {}));
|
|
115
|
-
export var StartRemediationExecutionResponse;
|
|
116
|
-
(function (StartRemediationExecutionResponse) {
|
|
117
|
-
StartRemediationExecutionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
118
|
-
})(StartRemediationExecutionResponse || (StartRemediationExecutionResponse = {}));
|
|
119
|
-
export var StopConfigurationRecorderRequest;
|
|
120
|
-
(function (StopConfigurationRecorderRequest) {
|
|
121
|
-
StopConfigurationRecorderRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
122
|
-
})(StopConfigurationRecorderRequest || (StopConfigurationRecorderRequest = {}));
|
|
123
|
-
export var TagResourceRequest;
|
|
124
|
-
(function (TagResourceRequest) {
|
|
125
|
-
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
126
|
-
})(TagResourceRequest || (TagResourceRequest = {}));
|
|
127
|
-
export var UntagResourceRequest;
|
|
128
|
-
(function (UntagResourceRequest) {
|
|
129
|
-
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
|
-
})(UntagResourceRequest || (UntagResourceRequest = {}));
|
|
27
|
+
export var PutConformancePackResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
28
|
+
export var PutDeliveryChannelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
+
export var PutEvaluationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
30
|
+
export var PutEvaluationsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
|
+
export var PutExternalEvaluationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
32
|
+
export var PutExternalEvaluationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
+
export var PutOrganizationConfigRuleRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
34
|
+
export var PutOrganizationConfigRuleResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
+
export var PutOrganizationConformancePackRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
36
|
+
export var PutOrganizationConformancePackResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
+
export var PutRemediationConfigurationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
38
|
+
export var PutRemediationConfigurationsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
+
export var PutRemediationExceptionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
40
|
+
export var PutRemediationExceptionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
+
export var PutResourceConfigRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
42
|
+
export var PutRetentionConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
|
+
export var PutRetentionConfigurationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
44
|
+
export var PutStoredQueryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
|
+
export var PutStoredQueryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
+
export var QueryInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
47
|
+
export var SelectAggregateResourceConfigRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
48
|
+
export var SelectAggregateResourceConfigResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
|
+
export var SelectResourceConfigRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
50
|
+
export var SelectResourceConfigResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
51
|
+
export var StartConfigRulesEvaluationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
52
|
+
export var StartConfigRulesEvaluationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
|
+
export var StartConfigurationRecorderRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
|
+
export var StartRemediationExecutionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
55
|
+
export var StartRemediationExecutionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
56
|
+
export var StopConfigurationRecorderRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
57
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListConformancePackComplianceScoresCommand, } from "../commands/ListConformancePackComplianceScoresCommand";
|
|
3
|
+
import { ConfigService } from "../ConfigService";
|
|
4
|
+
import { ConfigServiceClient } from "../ConfigServiceClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListConformancePackComplianceScoresCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listConformancePackComplianceScores.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListConformancePackComplianceScores(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListConformancePackComplianceScores_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["Limit"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof ConfigService)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof ConfigServiceClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected ConfigService | ConfigServiceClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -32,6 +32,7 @@ export * from "./GetOrganizationConfigRuleDetailedStatusPaginator";
|
|
|
32
32
|
export * from "./GetOrganizationConformancePackDetailedStatusPaginator";
|
|
33
33
|
export * from "./GetResourceConfigHistoryPaginator";
|
|
34
34
|
export * from "./ListAggregateDiscoveredResourcesPaginator";
|
|
35
|
+
export * from "./ListConformancePackComplianceScoresPaginator";
|
|
35
36
|
export * from "./ListDiscoveredResourcesPaginator";
|
|
36
37
|
export * from "./ListStoredQueriesPaginator";
|
|
37
38
|
export * from "./ListTagsForResourcePaginator";
|
|
@@ -686,6 +686,17 @@ export var serializeAws_json1_1ListAggregateDiscoveredResourcesCommand = functio
|
|
|
686
686
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
687
687
|
});
|
|
688
688
|
}); };
|
|
689
|
+
export var serializeAws_json1_1ListConformancePackComplianceScoresCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
690
|
+
var headers, body;
|
|
691
|
+
return __generator(this, function (_a) {
|
|
692
|
+
headers = {
|
|
693
|
+
"content-type": "application/x-amz-json-1.1",
|
|
694
|
+
"x-amz-target": "StarlingDoveService.ListConformancePackComplianceScores",
|
|
695
|
+
};
|
|
696
|
+
body = JSON.stringify(serializeAws_json1_1ListConformancePackComplianceScoresRequest(input, context));
|
|
697
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
698
|
+
});
|
|
699
|
+
}); };
|
|
689
700
|
export var serializeAws_json1_1ListDiscoveredResourcesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
690
701
|
var headers, body;
|
|
691
702
|
return __generator(this, function (_a) {
|
|
@@ -4552,6 +4563,65 @@ var deserializeAws_json1_1ListAggregateDiscoveredResourcesCommandError = functio
|
|
|
4552
4563
|
}
|
|
4553
4564
|
});
|
|
4554
4565
|
}); };
|
|
4566
|
+
export var deserializeAws_json1_1ListConformancePackComplianceScoresCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4567
|
+
var data, contents, response;
|
|
4568
|
+
return __generator(this, function (_a) {
|
|
4569
|
+
switch (_a.label) {
|
|
4570
|
+
case 0:
|
|
4571
|
+
if (output.statusCode >= 300) {
|
|
4572
|
+
return [2, deserializeAws_json1_1ListConformancePackComplianceScoresCommandError(output, context)];
|
|
4573
|
+
}
|
|
4574
|
+
return [4, parseBody(output.body, context)];
|
|
4575
|
+
case 1:
|
|
4576
|
+
data = _a.sent();
|
|
4577
|
+
contents = {};
|
|
4578
|
+
contents = deserializeAws_json1_1ListConformancePackComplianceScoresResponse(data, context);
|
|
4579
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
4580
|
+
return [2, Promise.resolve(response)];
|
|
4581
|
+
}
|
|
4582
|
+
});
|
|
4583
|
+
}); };
|
|
4584
|
+
var deserializeAws_json1_1ListConformancePackComplianceScoresCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4585
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4586
|
+
var _c;
|
|
4587
|
+
return __generator(this, function (_d) {
|
|
4588
|
+
switch (_d.label) {
|
|
4589
|
+
case 0:
|
|
4590
|
+
_a = [__assign({}, output)];
|
|
4591
|
+
_c = {};
|
|
4592
|
+
return [4, parseBody(output.body, context)];
|
|
4593
|
+
case 1:
|
|
4594
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4595
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4596
|
+
_b = errorCode;
|
|
4597
|
+
switch (_b) {
|
|
4598
|
+
case "InvalidLimitException": return [3, 2];
|
|
4599
|
+
case "com.amazonaws.configservice#InvalidLimitException": return [3, 2];
|
|
4600
|
+
case "InvalidNextTokenException": return [3, 4];
|
|
4601
|
+
case "com.amazonaws.configservice#InvalidNextTokenException": return [3, 4];
|
|
4602
|
+
case "InvalidParameterValueException": return [3, 6];
|
|
4603
|
+
case "com.amazonaws.configservice#InvalidParameterValueException": return [3, 6];
|
|
4604
|
+
}
|
|
4605
|
+
return [3, 8];
|
|
4606
|
+
case 2: return [4, deserializeAws_json1_1InvalidLimitExceptionResponse(parsedOutput, context)];
|
|
4607
|
+
case 3: throw _d.sent();
|
|
4608
|
+
case 4: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
4609
|
+
case 5: throw _d.sent();
|
|
4610
|
+
case 6: return [4, deserializeAws_json1_1InvalidParameterValueExceptionResponse(parsedOutput, context)];
|
|
4611
|
+
case 7: throw _d.sent();
|
|
4612
|
+
case 8:
|
|
4613
|
+
parsedBody = parsedOutput.body;
|
|
4614
|
+
$metadata = deserializeMetadata(output);
|
|
4615
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4616
|
+
response = new __BaseException({
|
|
4617
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4618
|
+
$fault: "client",
|
|
4619
|
+
$metadata: $metadata,
|
|
4620
|
+
});
|
|
4621
|
+
throw __decorateServiceException(response, parsedBody);
|
|
4622
|
+
}
|
|
4623
|
+
});
|
|
4624
|
+
}); };
|
|
4555
4625
|
export var deserializeAws_json1_1ListDiscoveredResourcesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4556
4626
|
var data, contents, response;
|
|
4557
4627
|
return __generator(this, function (_a) {
|
|
@@ -6779,6 +6849,11 @@ var serializeAws_json1_1ConformancePackComplianceResourceIds = function (input,
|
|
|
6779
6849
|
return entry;
|
|
6780
6850
|
});
|
|
6781
6851
|
};
|
|
6852
|
+
var serializeAws_json1_1ConformancePackComplianceScoresFilters = function (input, context) {
|
|
6853
|
+
return __assign({}, (input.ConformancePackNames != null && {
|
|
6854
|
+
ConformancePackNames: serializeAws_json1_1ConformancePackNameFilter(input.ConformancePackNames, context),
|
|
6855
|
+
}));
|
|
6856
|
+
};
|
|
6782
6857
|
var serializeAws_json1_1ConformancePackConfigRuleNames = function (input, context) {
|
|
6783
6858
|
return input
|
|
6784
6859
|
.filter(function (e) { return e != null; })
|
|
@@ -6809,6 +6884,16 @@ var serializeAws_json1_1ConformancePackInputParameters = function (input, contex
|
|
|
6809
6884
|
return serializeAws_json1_1ConformancePackInputParameter(entry, context);
|
|
6810
6885
|
});
|
|
6811
6886
|
};
|
|
6887
|
+
var serializeAws_json1_1ConformancePackNameFilter = function (input, context) {
|
|
6888
|
+
return input
|
|
6889
|
+
.filter(function (e) { return e != null; })
|
|
6890
|
+
.map(function (entry) {
|
|
6891
|
+
if (entry === null) {
|
|
6892
|
+
return null;
|
|
6893
|
+
}
|
|
6894
|
+
return entry;
|
|
6895
|
+
});
|
|
6896
|
+
};
|
|
6812
6897
|
var serializeAws_json1_1ConformancePackNamesList = function (input, context) {
|
|
6813
6898
|
return input
|
|
6814
6899
|
.filter(function (e) { return e != null; })
|
|
@@ -7153,6 +7238,11 @@ var serializeAws_json1_1ListAggregateDiscoveredResourcesRequest = function (inpu
|
|
|
7153
7238
|
ConfigurationAggregatorName: input.ConfigurationAggregatorName,
|
|
7154
7239
|
})), (input.Filters != null && { Filters: serializeAws_json1_1ResourceFilters(input.Filters, context) })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
|
|
7155
7240
|
};
|
|
7241
|
+
var serializeAws_json1_1ListConformancePackComplianceScoresRequest = function (input, context) {
|
|
7242
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Filters != null && {
|
|
7243
|
+
Filters: serializeAws_json1_1ConformancePackComplianceScoresFilters(input.Filters, context),
|
|
7244
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SortBy != null && { SortBy: input.SortBy })), (input.SortOrder != null && { SortOrder: input.SortOrder }));
|
|
7245
|
+
};
|
|
7156
7246
|
var serializeAws_json1_1ListDiscoveredResourcesRequest = function (input, context) {
|
|
7157
7247
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.includeDeletedResources != null && { includeDeletedResources: input.includeDeletedResources })), (input.limit != null && { limit: input.limit })), (input.nextToken != null && { nextToken: input.nextToken })), (input.resourceIds != null && { resourceIds: serializeAws_json1_1ResourceIdList(input.resourceIds, context) })), (input.resourceName != null && { resourceName: input.resourceName })), (input.resourceType != null && { resourceType: input.resourceType }));
|
|
7158
7248
|
};
|
|
@@ -8149,6 +8239,26 @@ var deserializeAws_json1_1ConfigurationRecorderStatusList = function (output, co
|
|
|
8149
8239
|
});
|
|
8150
8240
|
return retVal;
|
|
8151
8241
|
};
|
|
8242
|
+
var deserializeAws_json1_1ConformancePackComplianceScore = function (output, context) {
|
|
8243
|
+
return {
|
|
8244
|
+
ConformancePackName: __expectString(output.ConformancePackName),
|
|
8245
|
+
LastUpdatedTime: output.LastUpdatedTime != null
|
|
8246
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTime)))
|
|
8247
|
+
: undefined,
|
|
8248
|
+
Score: __expectString(output.Score),
|
|
8249
|
+
};
|
|
8250
|
+
};
|
|
8251
|
+
var deserializeAws_json1_1ConformancePackComplianceScores = function (output, context) {
|
|
8252
|
+
var retVal = (output || [])
|
|
8253
|
+
.filter(function (e) { return e != null; })
|
|
8254
|
+
.map(function (entry) {
|
|
8255
|
+
if (entry === null) {
|
|
8256
|
+
return null;
|
|
8257
|
+
}
|
|
8258
|
+
return deserializeAws_json1_1ConformancePackComplianceScore(entry, context);
|
|
8259
|
+
});
|
|
8260
|
+
return retVal;
|
|
8261
|
+
};
|
|
8152
8262
|
var deserializeAws_json1_1ConformancePackComplianceSummary = function (output, context) {
|
|
8153
8263
|
return {
|
|
8154
8264
|
ConformancePackComplianceStatus: __expectString(output.ConformancePackComplianceStatus),
|
|
@@ -8988,6 +9098,14 @@ var deserializeAws_json1_1ListAggregateDiscoveredResourcesResponse = function (o
|
|
|
8988
9098
|
: undefined,
|
|
8989
9099
|
};
|
|
8990
9100
|
};
|
|
9101
|
+
var deserializeAws_json1_1ListConformancePackComplianceScoresResponse = function (output, context) {
|
|
9102
|
+
return {
|
|
9103
|
+
ConformancePackComplianceScores: output.ConformancePackComplianceScores != null
|
|
9104
|
+
? deserializeAws_json1_1ConformancePackComplianceScores(output.ConformancePackComplianceScores, context)
|
|
9105
|
+
: undefined,
|
|
9106
|
+
NextToken: __expectString(output.NextToken),
|
|
9107
|
+
};
|
|
9108
|
+
};
|
|
8991
9109
|
var deserializeAws_json1_1ListDiscoveredResourcesResponse = function (output, context) {
|
|
8992
9110
|
return {
|
|
8993
9111
|
nextToken: __expectString(output.nextToken),
|
|
@@ -61,6 +61,7 @@ import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRuleP
|
|
|
61
61
|
import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "./commands/GetResourceConfigHistoryCommand";
|
|
62
62
|
import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "./commands/GetStoredQueryCommand";
|
|
63
63
|
import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "./commands/ListAggregateDiscoveredResourcesCommand";
|
|
64
|
+
import { ListConformancePackComplianceScoresCommandInput, ListConformancePackComplianceScoresCommandOutput } from "./commands/ListConformancePackComplianceScoresCommand";
|
|
64
65
|
import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
|
|
65
66
|
import { ListStoredQueriesCommandInput, ListStoredQueriesCommandOutput } from "./commands/ListStoredQueriesCommand";
|
|
66
67
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -875,6 +876,18 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
875
876
|
listAggregateDiscoveredResources(args: ListAggregateDiscoveredResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListAggregateDiscoveredResourcesCommandOutput>;
|
|
876
877
|
listAggregateDiscoveredResources(args: ListAggregateDiscoveredResourcesCommandInput, cb: (err: any, data?: ListAggregateDiscoveredResourcesCommandOutput) => void): void;
|
|
877
878
|
listAggregateDiscoveredResources(args: ListAggregateDiscoveredResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAggregateDiscoveredResourcesCommandOutput) => void): void;
|
|
879
|
+
/**
|
|
880
|
+
* <p>Returns a list of conformance pack compliance scores.
|
|
881
|
+
* A compliance score is the percentage of the number of compliant rule-resource combinations in a conformance pack compared to the number of total possible rule-resource combinations in the conformance pack.
|
|
882
|
+
* This metric provides you with a high-level view of the compliance state of your conformance packs, and can be used to identify, investigate, and understand
|
|
883
|
+
* the level of compliance in your conformance packs.</p>
|
|
884
|
+
* <note>
|
|
885
|
+
* <p>Conformance packs with no evaluation results will have a compliance score of <code>INSUFFICIENT_DATA</code>.</p>
|
|
886
|
+
* </note>
|
|
887
|
+
*/
|
|
888
|
+
listConformancePackComplianceScores(args: ListConformancePackComplianceScoresCommandInput, options?: __HttpHandlerOptions): Promise<ListConformancePackComplianceScoresCommandOutput>;
|
|
889
|
+
listConformancePackComplianceScores(args: ListConformancePackComplianceScoresCommandInput, cb: (err: any, data?: ListConformancePackComplianceScoresCommandOutput) => void): void;
|
|
890
|
+
listConformancePackComplianceScores(args: ListConformancePackComplianceScoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConformancePackComplianceScoresCommandOutput) => void): void;
|
|
878
891
|
/**
|
|
879
892
|
* <p>Accepts a resource type and returns a list of resource
|
|
880
893
|
* identifiers for the resources of that type. A resource identifier
|
|
@@ -917,23 +930,33 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
917
930
|
putAggregationAuthorization(args: PutAggregationAuthorizationCommandInput, cb: (err: any, data?: PutAggregationAuthorizationCommandOutput) => void): void;
|
|
918
931
|
putAggregationAuthorization(args: PutAggregationAuthorizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAggregationAuthorizationCommandOutput) => void): void;
|
|
919
932
|
/**
|
|
920
|
-
* <p>Adds or updates an Config rule
|
|
921
|
-
* Amazon Web Services resources comply with your desired configurations
|
|
922
|
-
*
|
|
923
|
-
*
|
|
924
|
-
*
|
|
925
|
-
*
|
|
926
|
-
* <p>
|
|
927
|
-
* create
|
|
928
|
-
*
|
|
929
|
-
*
|
|
930
|
-
*
|
|
931
|
-
*
|
|
932
|
-
*
|
|
933
|
-
*
|
|
934
|
-
*
|
|
935
|
-
*
|
|
936
|
-
*
|
|
933
|
+
* <p>Adds or updates an Config rule to evaluate if your
|
|
934
|
+
* Amazon Web Services resources comply with your desired configurations. For information on how many Config rules you can have per account,
|
|
935
|
+
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
|
|
936
|
+
* <b>Service Limits</b>
|
|
937
|
+
* </a> in the <i>Config Developer Guide</i>.</p>
|
|
938
|
+
*
|
|
939
|
+
* <p>There are two types of rules: Config Custom Rules and Config Managed Rules.
|
|
940
|
+
* You can use <code>PutConfigRule</code> to create both Config custom rules and Config managed rules.</p>
|
|
941
|
+
*
|
|
942
|
+
* <p>Custom rules are rules that you can create using either Guard or Lambda functions.
|
|
943
|
+
* Guard (<a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
|
|
944
|
+
* Repository</a>) is a policy-as-code language that allows you to write policies that
|
|
945
|
+
* are enforced by Config Custom Policy rules. Lambda uses custom code that you upload to
|
|
946
|
+
* evaluate a custom rule. If you are adding a new Custom Lambda rule,
|
|
947
|
+
* you first need to create an Lambda function that the rule invokes to evaluate
|
|
948
|
+
* your resources. When you use <code>PutConfigRule</code> to add a Custom Lambda rule to Config, you must specify the Amazon Resource
|
|
949
|
+
* Name (ARN) that Lambda assigns to the function. You specify the ARN
|
|
950
|
+
* in the <code>SourceIdentifier</code> key. This key is part of the
|
|
951
|
+
* <code>Source</code> object, which is part of the
|
|
952
|
+
* <code>ConfigRule</code> object. </p>
|
|
953
|
+
*
|
|
954
|
+
* <p>Managed rules are predefined,
|
|
955
|
+
* customizable rules created by Config. For a list of managed rules, see
|
|
956
|
+
* <a href="https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html">List of Config
|
|
957
|
+
* Managed Rules</a>. If you are adding an Config managed rule, you must specify the
|
|
958
|
+
* rule's identifier for the <code>SourceIdentifier</code> key.</p>
|
|
959
|
+
*
|
|
937
960
|
* <p>For any new rule that you add, specify the
|
|
938
961
|
* <code>ConfigRuleName</code> in the <code>ConfigRule</code>
|
|
939
962
|
* object. Do not specify the <code>ConfigRuleArn</code> or the
|
|
@@ -943,10 +966,6 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
943
966
|
* <code>ConfigRuleId</code>, or <code>ConfigRuleArn</code> in the
|
|
944
967
|
* <code>ConfigRule</code> data type that you use in this
|
|
945
968
|
* request.</p>
|
|
946
|
-
* <p>For information on how many Config rules you can have per account,
|
|
947
|
-
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
|
|
948
|
-
* <b>Service Limits</b>
|
|
949
|
-
* </a> in the Config Developer Guide.</p>
|
|
950
969
|
*
|
|
951
970
|
* <p>For more information about developing and using Config
|
|
952
971
|
* rules, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html">Evaluating Amazon Web Services resource Configurations with Config</a>
|
|
@@ -970,7 +989,7 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
970
989
|
* <p>If your source type is an organization, you must be signed in to the management account or a registered delegated administrator and all the features must be enabled in your organization.
|
|
971
990
|
* If the caller is a management account, Config calls <code>EnableAwsServiceAccess</code> API to enable integration between Config and Organizations.
|
|
972
991
|
* If the caller is a registered delegated administrator, Config calls <code>ListDelegatedAdministrators</code> API to verify whether the caller is a valid delegated administrator.</p>
|
|
973
|
-
* <p>To register a delegated administrator, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/set-up-aggregator-cli.html#register-a-delegated-administrator-cli">Register a Delegated Administrator</a> in the Config developer guide
|
|
992
|
+
* <p>To register a delegated administrator, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/set-up-aggregator-cli.html#register-a-delegated-administrator-cli">Register a Delegated Administrator</a> in the <i>Config developer guide</i>. </p>
|
|
974
993
|
* </note>
|
|
975
994
|
*/
|
|
976
995
|
putConfigurationAggregator(args: PutConfigurationAggregatorCommandInput, options?: __HttpHandlerOptions): Promise<PutConfigurationAggregatorCommandOutput>;
|
|
@@ -1001,8 +1020,8 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1001
1020
|
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
|
|
1002
1021
|
* <b>Service Limits</b>
|
|
1003
1022
|
* </a> in the Config Developer Guide.</p>
|
|
1004
|
-
* <p>This API creates a service
|
|
1005
|
-
* The service
|
|
1023
|
+
* <p>This API creates a service-linked role <code>AWSServiceRoleForConfigConforms</code> in your account.
|
|
1024
|
+
* The service-linked role is created only when the role does not exist in your account. </p>
|
|
1006
1025
|
* <note>
|
|
1007
1026
|
* <p>You must specify either the <code>TemplateS3Uri</code> or the <code>TemplateBody</code> parameter, but not both.
|
|
1008
1027
|
* If you provide both Config uses the <code>TemplateS3Uri</code> parameter and ignores the <code>TemplateBody</code> parameter.</p>
|
|
@@ -1049,29 +1068,42 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1049
1068
|
putExternalEvaluation(args: PutExternalEvaluationCommandInput, cb: (err: any, data?: PutExternalEvaluationCommandOutput) => void): void;
|
|
1050
1069
|
putExternalEvaluation(args: PutExternalEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutExternalEvaluationCommandOutput) => void): void;
|
|
1051
1070
|
/**
|
|
1052
|
-
* <p>Adds or updates
|
|
1071
|
+
* <p>Adds or updates an Config rule for your entire organization to evaluate if your Amazon Web Services resources comply with your
|
|
1053
1072
|
* desired configurations. For information on how many organization Config rules you can have per account,
|
|
1054
1073
|
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
|
|
1055
1074
|
* <b>Service Limits</b>
|
|
1056
|
-
* </a> in the Config Developer Guide
|
|
1075
|
+
* </a> in the <i>Config Developer Guide</i>.</p>
|
|
1057
1076
|
* <p> Only a master account and a delegated administrator can create or update an organization Config rule.
|
|
1058
1077
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
1059
1078
|
* <code>ListDelegatedAdministrator</code> permissions are added. An organization can have up to 3 delegated administrators.</p>
|
|
1060
|
-
* <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service
|
|
1079
|
+
* <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service-linked
|
|
1061
1080
|
* role <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization.
|
|
1062
|
-
* The service
|
|
1081
|
+
* The service-linked role is created only when the role does not exist in the caller account.
|
|
1063
1082
|
* Config verifies the existence of role with <code>GetRole</code> action.</p>
|
|
1064
1083
|
* <p>To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization
|
|
1065
1084
|
* <code>register-delegated-administrator</code> for <code>config-multiaccountsetup.amazonaws.com</code>. </p>
|
|
1066
|
-
*
|
|
1067
|
-
*
|
|
1068
|
-
*
|
|
1069
|
-
*
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1085
|
+
*
|
|
1086
|
+
* <p>There are two types of rules: Config Custom Rules and Config Managed Rules.
|
|
1087
|
+
* You can use <code>PutOrganizationConfigRule</code> to create both Config custom rules and Config managed rules.</p>
|
|
1088
|
+
*
|
|
1089
|
+
* <p>Custom rules are rules that you can create using either Guard or Lambda functions.
|
|
1090
|
+
* Guard (<a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
|
|
1091
|
+
* Repository</a>) is a policy-as-code language that allows you to write policies that
|
|
1092
|
+
* are enforced by Config Custom Policy rules. Lambda uses custom code that you upload to
|
|
1093
|
+
* evaluate a custom rule. If you are adding a new Custom Lambda rule, you first need to create an Lambda function in the master account or a delegated
|
|
1094
|
+
* administrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed account that can be assumed by the Lambda function.
|
|
1095
|
+
* When you use <code>PutOrganizationConfigRule</code> to add a Custom Lambda rule to Config, you must
|
|
1096
|
+
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.</p>
|
|
1097
|
+
*
|
|
1098
|
+
* <p>Managed rules are predefined,
|
|
1099
|
+
* customizable rules created by Config. For a list of managed rules, see
|
|
1100
|
+
* <a href="https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html">List of Config
|
|
1101
|
+
* Managed Rules</a>. If you are adding an Config managed rule, you must specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>
|
|
1102
|
+
*
|
|
1103
|
+
*
|
|
1072
1104
|
* <note>
|
|
1073
1105
|
* <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p>
|
|
1074
|
-
* <p>
|
|
1106
|
+
* <p>Make sure to specify one of either <code>OrganizationCustomPolicyRuleMetadata</code> for Custom Policy rules, <code>OrganizationCustomRuleMetadata</code> for Custom Lambda rules, or <code>OrganizationManagedRuleMetadata</code> for managed rules.</p>
|
|
1075
1107
|
* </note>
|
|
1076
1108
|
*/
|
|
1077
1109
|
putOrganizationConfigRule(args: PutOrganizationConfigRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutOrganizationConfigRuleCommandOutput>;
|
|
@@ -1087,8 +1119,8 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1087
1119
|
* <code>ListDelegatedAdministrator</code> permissions are added. An organization can have up to 3 delegated administrators.</p>
|
|
1088
1120
|
* <p>This API enables organization service access for <code>config-multiaccountsetup.amazonaws.com</code>
|
|
1089
1121
|
* through the <code>EnableAWSServiceAccess</code> action and creates a
|
|
1090
|
-
* service
|
|
1091
|
-
* The service
|
|
1122
|
+
* service-linked role <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization.
|
|
1123
|
+
* The service-linked role is created only when the role does not exist in the caller account.
|
|
1092
1124
|
* To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization
|
|
1093
1125
|
* <code>register-delegate-admin</code> for <code>config-multiaccountsetup.amazonaws.com</code>.</p>
|
|
1094
1126
|
*
|
|
@@ -1198,7 +1230,7 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1198
1230
|
* <p>For more information about query components, see the
|
|
1199
1231
|
* <a href="https://docs.aws.amazon.com/config/latest/developerguide/query-components.html">
|
|
1200
1232
|
* <b>Query Components</b>
|
|
1201
|
-
* </a> section in the Config Developer Guide
|
|
1233
|
+
* </a> section in the <i>Config Developer Guide</i>.</p>
|
|
1202
1234
|
*/
|
|
1203
1235
|
selectResourceConfig(args: SelectResourceConfigCommandInput, options?: __HttpHandlerOptions): Promise<SelectResourceConfigCommandOutput>;
|
|
1204
1236
|
selectResourceConfig(args: SelectResourceConfigCommandInput, cb: (err: any, data?: SelectResourceConfigCommandOutput) => void): void;
|