@aws-sdk/client-config-service 3.150.0 → 3.159.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/commands/PutConformancePackCommand.js +1 -2
- package/dist-cjs/models/models_0.js +8 -8
- package/dist-cjs/models/models_1.js +5 -1
- package/dist-cjs/protocols/Aws_json1_1.js +18 -0
- package/dist-es/commands/PutConformancePackCommand.js +1 -2
- package/dist-es/models/models_0.js +1 -1
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +16 -2
- package/dist-types/ConfigService.d.ts +1 -2
- package/dist-types/commands/PutConformancePackCommand.d.ts +2 -4
- package/dist-types/models/models_0.d.ts +31 -45
- package/dist-types/models/models_1.d.ts +47 -1
- package/dist-types/ts3.4/commands/PutConformancePackCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +11 -16
- package/dist-types/ts3.4/models/models_1.d.ts +19 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.159.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.158.0...v3.159.0) (2022-08-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-config-service
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.157.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.156.0...v3.157.0) (2022-08-24)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-config-service:** AWS Config now supports ConformancePackTemplate documents in SSM Docs for the deployment and update of conformance packs. ([ccd5d97](https://github.com/aws/aws-sdk-js-v3/commit/ccd5d97587f7717afba8f9a8ad2299bddb62a62d))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.154.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.153.0...v3.154.0) (2022-08-19)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-config-service
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-config-service
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PutConformancePackCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const models_0_1 = require("../models/models_0");
|
|
7
6
|
const models_1_1 = require("../models/models_1");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class PutConformancePackCommand extends smithy_client_1.Command {
|
|
@@ -21,7 +20,7 @@ class PutConformancePackCommand extends smithy_client_1.Command {
|
|
|
21
20
|
logger,
|
|
22
21
|
clientName,
|
|
23
22
|
commandName,
|
|
24
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.PutConformancePackRequestFilterSensitiveLog,
|
|
25
24
|
outputFilterSensitiveLog: models_1_1.PutConformancePackResponseFilterSensitiveLog,
|
|
26
25
|
};
|
|
27
26
|
const { requestHandler } = configuration;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ResourceCountGroupKey = exports.RemediationExecutionStepState = exports.RemediationExecutionState = exports.RemediationTargetType = exports.ResourceValueType = exports.OrganizationResourceStatus = exports.OrganizationRuleStatus = exports.OrganizationConfigRuleTriggerType = exports.OrganizationConfigRuleTriggerTypeNoSN = exports.NoSuchConfigRuleInConformancePackException = exports.InvalidNextTokenException = exports.InvalidLimitException = exports.ResourceNotFoundException = exports.NoSuchRetentionConfigurationException = exports.NoRunningConfigurationRecorderException = exports.NoSuchRemediationExceptionException = exports.RemediationInProgressException = exports.NoSuchRemediationConfigurationException = exports.InsufficientPermissionsException = exports.NoSuchOrganizationConformancePackException = exports.OrganizationAccessDeniedException = exports.NoSuchOrganizationConfigRuleException = exports.NoSuchDeliveryChannelException = exports.LastDeliveryChannelDeleteFailedException = exports.NoSuchConformancePackException = exports.NoSuchConfigurationRecorderException = exports.ResourceInUseException = exports.NoSuchConfigRuleException = exports.InvalidParameterValueException = exports.ConformancePackTemplateValidationException = exports.ConformancePackState = exports.RecorderStatus = exports.ConfigRuleComplianceSummaryGroupKey = exports.MessageType = exports.EventSource = exports.Owner = exports.MaximumExecutionFrequency = exports.ConfigRuleState = exports.DeliveryStatus = exports.ChronologicalOrder = exports.NoAvailableConfigurationRecorderException = exports.ValidationException = exports.NoSuchConfigurationAggregatorException = exports.ConfigurationItemStatus = exports.ResourceType = exports.AggregatedSourceType = exports.AggregatedSourceStatusType = exports.AggregateConformancePackComplianceSummaryGroupKey = exports.ConformancePackComplianceType = exports.ComplianceType = void 0;
|
|
4
4
|
exports.BaseConfigurationItemFilterSensitiveLog = exports.AggregationAuthorizationFilterSensitiveLog = exports.AggregateResourceIdentifierFilterSensitiveLog = exports.AggregateEvaluationResultFilterSensitiveLog = exports.EvaluationResultIdentifierFilterSensitiveLog = exports.EvaluationResultQualifierFilterSensitiveLog = exports.AggregatedSourceStatusFilterSensitiveLog = exports.AggregateConformancePackComplianceSummaryFiltersFilterSensitiveLog = exports.AggregateConformancePackComplianceSummaryFilterSensitiveLog = exports.AggregateConformancePackComplianceFiltersFilterSensitiveLog = exports.AggregateConformancePackComplianceCountFilterSensitiveLog = exports.AggregateComplianceCountFilterSensitiveLog = exports.ComplianceSummaryFilterSensitiveLog = exports.AggregateComplianceByConformancePackFilterSensitiveLog = exports.AggregateConformancePackComplianceFilterSensitiveLog = exports.AggregateComplianceByConfigRuleFilterSensitiveLog = exports.ComplianceFilterSensitiveLog = exports.ComplianceContributorCountFilterSensitiveLog = exports.AccountAggregationSourceFilterSensitiveLog = exports.OrganizationConformancePackTemplateValidationException = exports.OrganizationAllFeaturesNotEnabledException = exports.NoSuchBucketException = exports.NoAvailableOrganizationException = exports.NoAvailableDeliveryChannelException = exports.MaxNumberOfRetentionConfigurationsExceededException = exports.MaxNumberOfOrganizationConformancePacksExceededException = exports.MaxNumberOfOrganizationConfigRulesExceededException = exports.MaxNumberOfDeliveryChannelsExceededException = exports.MaxNumberOfConformancePacksExceededException = exports.MaxNumberOfConfigurationRecordersExceededException = exports.MaxNumberOfConfigRulesExceededException = exports.MaxActiveResourcesExceededException = exports.SortOrder = exports.SortBy = exports.LimitExceededException = exports.InvalidSNSTopicARNException = exports.InvalidS3KmsKeyArnException = exports.InvalidS3KeyPrefixException = exports.InvalidRoleException = exports.InvalidResultTokenException = exports.InvalidRecordingGroupException = exports.InvalidExpressionException = exports.InvalidDeliveryChannelNameException = exports.InvalidConfigurationRecorderNameException = exports.InsufficientDeliveryPolicyException = exports.InvalidTimeRangeException = exports.OrganizationResourceDetailedStatus = exports.MemberAccountRuleStatus = exports.ResourceNotDiscoveredException = exports.OversizedConfigurationItemException = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
5
|
+
exports.DeleteRemediationConfigurationResponseFilterSensitiveLog = exports.DeleteRemediationConfigurationRequestFilterSensitiveLog = exports.DeletePendingAggregationRequestRequestFilterSensitiveLog = exports.DeleteOrganizationConformancePackRequestFilterSensitiveLog = exports.DeleteOrganizationConfigRuleRequestFilterSensitiveLog = exports.DeleteEvaluationResultsResponseFilterSensitiveLog = exports.DeleteEvaluationResultsRequestFilterSensitiveLog = exports.DeleteDeliveryChannelRequestFilterSensitiveLog = exports.DeleteConformancePackRequestFilterSensitiveLog = exports.DeleteConfigurationRecorderRequestFilterSensitiveLog = exports.DeleteConfigurationAggregatorRequestFilterSensitiveLog = exports.DeleteConfigRuleRequestFilterSensitiveLog = exports.DeleteAggregationAuthorizationRequestFilterSensitiveLog = exports.ConformancePackStatusDetailFilterSensitiveLog = exports.ConformancePackRuleComplianceFilterSensitiveLog = exports.ConformancePackEvaluationResultFilterSensitiveLog = exports.ConformancePackEvaluationFiltersFilterSensitiveLog = exports.ConformancePackDetailFilterSensitiveLog = exports.TemplateSSMDocumentDetailsFilterSensitiveLog = exports.ConformancePackInputParameterFilterSensitiveLog = exports.ConformancePackComplianceSummaryFilterSensitiveLog = exports.ConformancePackComplianceScoresFiltersFilterSensitiveLog = exports.ConformancePackComplianceScoreFilterSensitiveLog = exports.ConformancePackComplianceFiltersFilterSensitiveLog = exports.ConfigurationRecorderStatusFilterSensitiveLog = exports.ConfigurationRecorderFilterSensitiveLog = exports.RecordingGroupFilterSensitiveLog = exports.ConfigurationItemFilterSensitiveLog = exports.RelationshipFilterSensitiveLog = exports.ConfigurationAggregatorFilterSensitiveLog = exports.OrganizationAggregationSourceFilterSensitiveLog = exports.ConfigStreamDeliveryInfoFilterSensitiveLog = exports.ConfigSnapshotDeliveryPropertiesFilterSensitiveLog = exports.ConfigRuleEvaluationStatusFilterSensitiveLog = exports.ConfigRuleComplianceSummaryFiltersFilterSensitiveLog = exports.ConfigRuleComplianceFiltersFilterSensitiveLog = exports.ConfigRuleFilterSensitiveLog = exports.SourceFilterSensitiveLog = exports.SourceDetailFilterSensitiveLog = exports.CustomPolicyDetailsFilterSensitiveLog = exports.ScopeFilterSensitiveLog = exports.ConfigExportDeliveryInfoFilterSensitiveLog = exports.ComplianceSummaryByResourceTypeFilterSensitiveLog = exports.ComplianceByResourceFilterSensitiveLog = exports.ComplianceByConfigRuleFilterSensitiveLog = exports.BatchGetResourceConfigResponseFilterSensitiveLog = exports.BatchGetResourceConfigRequestFilterSensitiveLog = exports.ResourceKeyFilterSensitiveLog = exports.BatchGetAggregateResourceConfigResponseFilterSensitiveLog = exports.BatchGetAggregateResourceConfigRequestFilterSensitiveLog = void 0;
|
|
6
|
+
exports.DescribeOrganizationConfigRulesResponseFilterSensitiveLog = exports.OrganizationConfigRuleFilterSensitiveLog = exports.OrganizationManagedRuleMetadataFilterSensitiveLog = exports.OrganizationCustomRuleMetadataFilterSensitiveLog = exports.OrganizationCustomPolicyRuleMetadataNoPolicyFilterSensitiveLog = exports.DescribeOrganizationConfigRulesRequestFilterSensitiveLog = exports.DescribeDeliveryChannelStatusResponseFilterSensitiveLog = exports.DescribeDeliveryChannelStatusRequestFilterSensitiveLog = exports.DescribeDeliveryChannelsResponseFilterSensitiveLog = exports.DescribeDeliveryChannelsRequestFilterSensitiveLog = exports.DescribeConformancePackStatusResponseFilterSensitiveLog = exports.DescribeConformancePackStatusRequestFilterSensitiveLog = exports.DescribeConformancePacksResponseFilterSensitiveLog = exports.DescribeConformancePacksRequestFilterSensitiveLog = exports.DescribeConformancePackComplianceResponseFilterSensitiveLog = exports.DescribeConformancePackComplianceRequestFilterSensitiveLog = exports.DescribeConfigurationRecorderStatusResponseFilterSensitiveLog = exports.DescribeConfigurationRecorderStatusRequestFilterSensitiveLog = exports.DescribeConfigurationRecordersResponseFilterSensitiveLog = exports.DescribeConfigurationRecordersRequestFilterSensitiveLog = exports.DescribeConfigurationAggregatorSourcesStatusResponseFilterSensitiveLog = exports.DescribeConfigurationAggregatorSourcesStatusRequestFilterSensitiveLog = exports.DescribeConfigurationAggregatorsResponseFilterSensitiveLog = exports.DescribeConfigurationAggregatorsRequestFilterSensitiveLog = exports.DescribeConfigRulesResponseFilterSensitiveLog = exports.DescribeConfigRulesRequestFilterSensitiveLog = exports.DescribeConfigRuleEvaluationStatusResponseFilterSensitiveLog = exports.DescribeConfigRuleEvaluationStatusRequestFilterSensitiveLog = exports.DescribeComplianceByResourceResponseFilterSensitiveLog = exports.DescribeComplianceByResourceRequestFilterSensitiveLog = exports.DescribeComplianceByConfigRuleResponseFilterSensitiveLog = exports.DescribeComplianceByConfigRuleRequestFilterSensitiveLog = exports.DescribeAggregationAuthorizationsResponseFilterSensitiveLog = exports.DescribeAggregationAuthorizationsRequestFilterSensitiveLog = exports.DescribeAggregateComplianceByConformancePacksResponseFilterSensitiveLog = exports.DescribeAggregateComplianceByConformancePacksRequestFilterSensitiveLog = exports.DescribeAggregateComplianceByConfigRulesResponseFilterSensitiveLog = exports.DescribeAggregateComplianceByConfigRulesRequestFilterSensitiveLog = exports.DeliveryChannelStatusFilterSensitiveLog = exports.DeliveryChannelFilterSensitiveLog = exports.DeliverConfigSnapshotResponseFilterSensitiveLog = exports.DeliverConfigSnapshotRequestFilterSensitiveLog = exports.DeleteStoredQueryResponseFilterSensitiveLog = exports.DeleteStoredQueryRequestFilterSensitiveLog = exports.DeleteRetentionConfigurationRequestFilterSensitiveLog = exports.DeleteResourceConfigRequestFilterSensitiveLog = exports.DeleteRemediationExceptionsResponseFilterSensitiveLog = exports.FailedDeleteRemediationExceptionsBatchFilterSensitiveLog = exports.DeleteRemediationExceptionsRequestFilterSensitiveLog = exports.RemediationExceptionResourceKeyFilterSensitiveLog = void 0;
|
|
7
|
+
exports.GetComplianceDetailsByConfigRuleResponseFilterSensitiveLog = exports.GetComplianceDetailsByConfigRuleRequestFilterSensitiveLog = exports.GetAggregateResourceConfigResponseFilterSensitiveLog = exports.GetAggregateResourceConfigRequestFilterSensitiveLog = exports.GetAggregateDiscoveredResourceCountsResponseFilterSensitiveLog = exports.GroupedResourceCountFilterSensitiveLog = exports.GetAggregateDiscoveredResourceCountsRequestFilterSensitiveLog = exports.ResourceCountFiltersFilterSensitiveLog = exports.GetAggregateConformancePackComplianceSummaryResponseFilterSensitiveLog = exports.GetAggregateConformancePackComplianceSummaryRequestFilterSensitiveLog = exports.GetAggregateConfigRuleComplianceSummaryResponseFilterSensitiveLog = exports.GetAggregateConfigRuleComplianceSummaryRequestFilterSensitiveLog = exports.GetAggregateComplianceDetailsByConfigRuleResponseFilterSensitiveLog = exports.GetAggregateComplianceDetailsByConfigRuleRequestFilterSensitiveLog = exports.FieldInfoFilterSensitiveLog = exports.FailedRemediationExceptionBatchFilterSensitiveLog = exports.FailedRemediationBatchFilterSensitiveLog = exports.ExternalEvaluationFilterSensitiveLog = exports.EvaluationResultFilterSensitiveLog = exports.EvaluationFilterSensitiveLog = exports.DescribeRetentionConfigurationsResponseFilterSensitiveLog = exports.RetentionConfigurationFilterSensitiveLog = exports.DescribeRetentionConfigurationsRequestFilterSensitiveLog = exports.DescribeRemediationExecutionStatusResponseFilterSensitiveLog = exports.RemediationExecutionStatusFilterSensitiveLog = exports.RemediationExecutionStepFilterSensitiveLog = exports.DescribeRemediationExecutionStatusRequestFilterSensitiveLog = exports.DescribeRemediationExceptionsResponseFilterSensitiveLog = exports.RemediationExceptionFilterSensitiveLog = exports.DescribeRemediationExceptionsRequestFilterSensitiveLog = exports.DescribeRemediationConfigurationsResponseFilterSensitiveLog = exports.RemediationConfigurationFilterSensitiveLog = exports.RemediationParameterValueFilterSensitiveLog = exports.StaticValueFilterSensitiveLog = exports.ResourceValueFilterSensitiveLog = exports.ExecutionControlsFilterSensitiveLog = exports.SsmControlsFilterSensitiveLog = exports.DescribeRemediationConfigurationsRequestFilterSensitiveLog = exports.DescribePendingAggregationRequestsResponseFilterSensitiveLog = exports.PendingAggregationRequestFilterSensitiveLog = exports.DescribePendingAggregationRequestsRequestFilterSensitiveLog = exports.DescribeOrganizationConformancePackStatusesResponseFilterSensitiveLog = exports.OrganizationConformancePackStatusFilterSensitiveLog = exports.DescribeOrganizationConformancePackStatusesRequestFilterSensitiveLog = exports.DescribeOrganizationConformancePacksResponseFilterSensitiveLog = exports.OrganizationConformancePackFilterSensitiveLog = exports.DescribeOrganizationConformancePacksRequestFilterSensitiveLog = exports.DescribeOrganizationConfigRuleStatusesResponseFilterSensitiveLog = exports.OrganizationConfigRuleStatusFilterSensitiveLog = exports.DescribeOrganizationConfigRuleStatusesRequestFilterSensitiveLog = void 0;
|
|
8
|
+
exports.PutConfigurationRecorderRequestFilterSensitiveLog = exports.PutConfigurationAggregatorResponseFilterSensitiveLog = exports.PutConfigurationAggregatorRequestFilterSensitiveLog = exports.PutConfigRuleRequestFilterSensitiveLog = exports.PutAggregationAuthorizationResponseFilterSensitiveLog = exports.PutAggregationAuthorizationRequestFilterSensitiveLog = exports.OrganizationCustomPolicyRuleMetadataFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListStoredQueriesResponseFilterSensitiveLog = exports.StoredQueryMetadataFilterSensitiveLog = exports.ListStoredQueriesRequestFilterSensitiveLog = exports.ListDiscoveredResourcesResponseFilterSensitiveLog = exports.ResourceIdentifierFilterSensitiveLog = exports.ListDiscoveredResourcesRequestFilterSensitiveLog = exports.ListConformancePackComplianceScoresResponseFilterSensitiveLog = exports.ListConformancePackComplianceScoresRequestFilterSensitiveLog = exports.ListAggregateDiscoveredResourcesResponseFilterSensitiveLog = exports.ListAggregateDiscoveredResourcesRequestFilterSensitiveLog = exports.ResourceFiltersFilterSensitiveLog = exports.GetStoredQueryResponseFilterSensitiveLog = exports.StoredQueryFilterSensitiveLog = exports.GetStoredQueryRequestFilterSensitiveLog = exports.GetResourceConfigHistoryResponseFilterSensitiveLog = exports.GetResourceConfigHistoryRequestFilterSensitiveLog = exports.GetOrganizationCustomRulePolicyResponseFilterSensitiveLog = exports.GetOrganizationCustomRulePolicyRequestFilterSensitiveLog = exports.GetOrganizationConformancePackDetailedStatusResponseFilterSensitiveLog = exports.OrganizationConformancePackDetailedStatusFilterSensitiveLog = exports.GetOrganizationConformancePackDetailedStatusRequestFilterSensitiveLog = exports.OrganizationResourceDetailedStatusFiltersFilterSensitiveLog = exports.GetOrganizationConfigRuleDetailedStatusResponseFilterSensitiveLog = exports.MemberAccountStatusFilterSensitiveLog = exports.GetOrganizationConfigRuleDetailedStatusRequestFilterSensitiveLog = exports.StatusDetailFiltersFilterSensitiveLog = exports.GetDiscoveredResourceCountsResponseFilterSensitiveLog = exports.ResourceCountFilterSensitiveLog = exports.GetDiscoveredResourceCountsRequestFilterSensitiveLog = exports.GetCustomRulePolicyResponseFilterSensitiveLog = exports.GetCustomRulePolicyRequestFilterSensitiveLog = exports.GetConformancePackComplianceSummaryResponseFilterSensitiveLog = exports.GetConformancePackComplianceSummaryRequestFilterSensitiveLog = exports.GetConformancePackComplianceDetailsResponseFilterSensitiveLog = exports.GetConformancePackComplianceDetailsRequestFilterSensitiveLog = exports.GetComplianceSummaryByResourceTypeResponseFilterSensitiveLog = exports.GetComplianceSummaryByResourceTypeRequestFilterSensitiveLog = exports.GetComplianceSummaryByConfigRuleResponseFilterSensitiveLog = exports.GetComplianceDetailsByResourceResponseFilterSensitiveLog = exports.GetComplianceDetailsByResourceRequestFilterSensitiveLog = void 0;
|
|
9
9
|
const ConfigServiceServiceException_1 = require("./ConfigServiceServiceException");
|
|
10
10
|
var ComplianceType;
|
|
11
11
|
(function (ComplianceType) {
|
|
@@ -1211,6 +1211,10 @@ const ConformancePackInputParameterFilterSensitiveLog = (obj) => ({
|
|
|
1211
1211
|
...obj,
|
|
1212
1212
|
});
|
|
1213
1213
|
exports.ConformancePackInputParameterFilterSensitiveLog = ConformancePackInputParameterFilterSensitiveLog;
|
|
1214
|
+
const TemplateSSMDocumentDetailsFilterSensitiveLog = (obj) => ({
|
|
1215
|
+
...obj,
|
|
1216
|
+
});
|
|
1217
|
+
exports.TemplateSSMDocumentDetailsFilterSensitiveLog = TemplateSSMDocumentDetailsFilterSensitiveLog;
|
|
1214
1218
|
const ConformancePackDetailFilterSensitiveLog = (obj) => ({
|
|
1215
1219
|
...obj,
|
|
1216
1220
|
});
|
|
@@ -1883,7 +1887,3 @@ const PutConfigurationRecorderRequestFilterSensitiveLog = (obj) => ({
|
|
|
1883
1887
|
...obj,
|
|
1884
1888
|
});
|
|
1885
1889
|
exports.PutConfigurationRecorderRequestFilterSensitiveLog = PutConfigurationRecorderRequestFilterSensitiveLog;
|
|
1886
|
-
const PutConformancePackRequestFilterSensitiveLog = (obj) => ({
|
|
1887
|
-
...obj,
|
|
1888
|
-
});
|
|
1889
|
-
exports.PutConformancePackRequestFilterSensitiveLog = PutConformancePackRequestFilterSensitiveLog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopConfigurationRecorderRequestFilterSensitiveLog = exports.StartRemediationExecutionResponseFilterSensitiveLog = exports.StartRemediationExecutionRequestFilterSensitiveLog = exports.StartConfigurationRecorderRequestFilterSensitiveLog = exports.StartConfigRulesEvaluationResponseFilterSensitiveLog = exports.StartConfigRulesEvaluationRequestFilterSensitiveLog = exports.SelectResourceConfigResponseFilterSensitiveLog = exports.SelectResourceConfigRequestFilterSensitiveLog = exports.SelectAggregateResourceConfigResponseFilterSensitiveLog = exports.SelectAggregateResourceConfigRequestFilterSensitiveLog = exports.QueryInfoFilterSensitiveLog = exports.PutStoredQueryResponseFilterSensitiveLog = exports.PutStoredQueryRequestFilterSensitiveLog = exports.PutRetentionConfigurationResponseFilterSensitiveLog = exports.PutRetentionConfigurationRequestFilterSensitiveLog = exports.PutResourceConfigRequestFilterSensitiveLog = exports.PutRemediationExceptionsResponseFilterSensitiveLog = exports.PutRemediationExceptionsRequestFilterSensitiveLog = exports.PutRemediationConfigurationsResponseFilterSensitiveLog = exports.PutRemediationConfigurationsRequestFilterSensitiveLog = exports.PutOrganizationConformancePackResponseFilterSensitiveLog = exports.PutOrganizationConformancePackRequestFilterSensitiveLog = exports.PutOrganizationConfigRuleResponseFilterSensitiveLog = exports.PutOrganizationConfigRuleRequestFilterSensitiveLog = exports.PutExternalEvaluationResponseFilterSensitiveLog = exports.PutExternalEvaluationRequestFilterSensitiveLog = exports.PutEvaluationsResponseFilterSensitiveLog = exports.PutEvaluationsRequestFilterSensitiveLog = exports.PutDeliveryChannelRequestFilterSensitiveLog = exports.PutConformancePackResponseFilterSensitiveLog = exports.TooManyTagsException = exports.ResourceConcurrentModificationException = void 0;
|
|
3
|
+
exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopConfigurationRecorderRequestFilterSensitiveLog = exports.StartRemediationExecutionResponseFilterSensitiveLog = exports.StartRemediationExecutionRequestFilterSensitiveLog = exports.StartConfigurationRecorderRequestFilterSensitiveLog = exports.StartConfigRulesEvaluationResponseFilterSensitiveLog = exports.StartConfigRulesEvaluationRequestFilterSensitiveLog = exports.SelectResourceConfigResponseFilterSensitiveLog = exports.SelectResourceConfigRequestFilterSensitiveLog = exports.SelectAggregateResourceConfigResponseFilterSensitiveLog = exports.SelectAggregateResourceConfigRequestFilterSensitiveLog = exports.QueryInfoFilterSensitiveLog = exports.PutStoredQueryResponseFilterSensitiveLog = exports.PutStoredQueryRequestFilterSensitiveLog = exports.PutRetentionConfigurationResponseFilterSensitiveLog = exports.PutRetentionConfigurationRequestFilterSensitiveLog = exports.PutResourceConfigRequestFilterSensitiveLog = exports.PutRemediationExceptionsResponseFilterSensitiveLog = exports.PutRemediationExceptionsRequestFilterSensitiveLog = exports.PutRemediationConfigurationsResponseFilterSensitiveLog = exports.PutRemediationConfigurationsRequestFilterSensitiveLog = exports.PutOrganizationConformancePackResponseFilterSensitiveLog = exports.PutOrganizationConformancePackRequestFilterSensitiveLog = exports.PutOrganizationConfigRuleResponseFilterSensitiveLog = exports.PutOrganizationConfigRuleRequestFilterSensitiveLog = exports.PutExternalEvaluationResponseFilterSensitiveLog = exports.PutExternalEvaluationRequestFilterSensitiveLog = exports.PutEvaluationsResponseFilterSensitiveLog = exports.PutEvaluationsRequestFilterSensitiveLog = exports.PutDeliveryChannelRequestFilterSensitiveLog = exports.PutConformancePackResponseFilterSensitiveLog = exports.PutConformancePackRequestFilterSensitiveLog = exports.TooManyTagsException = exports.ResourceConcurrentModificationException = void 0;
|
|
4
4
|
const ConfigServiceServiceException_1 = require("./ConfigServiceServiceException");
|
|
5
5
|
class ResourceConcurrentModificationException extends ConfigServiceServiceException_1.ConfigServiceServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -28,6 +28,10 @@ class TooManyTagsException extends ConfigServiceServiceException_1.ConfigService
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
exports.TooManyTagsException = TooManyTagsException;
|
|
31
|
+
const PutConformancePackRequestFilterSensitiveLog = (obj) => ({
|
|
32
|
+
...obj,
|
|
33
|
+
});
|
|
34
|
+
exports.PutConformancePackRequestFilterSensitiveLog = PutConformancePackRequestFilterSensitiveLog;
|
|
31
35
|
const PutConformancePackResponseFilterSensitiveLog = (obj) => ({
|
|
32
36
|
...obj,
|
|
33
37
|
});
|
|
@@ -5820,6 +5820,9 @@ const serializeAws_json1_1PutConformancePackRequest = (input, context) => {
|
|
|
5820
5820
|
...(input.DeliveryS3KeyPrefix != null && { DeliveryS3KeyPrefix: input.DeliveryS3KeyPrefix }),
|
|
5821
5821
|
...(input.TemplateBody != null && { TemplateBody: input.TemplateBody }),
|
|
5822
5822
|
...(input.TemplateS3Uri != null && { TemplateS3Uri: input.TemplateS3Uri }),
|
|
5823
|
+
...(input.TemplateSSMDocumentDetails != null && {
|
|
5824
|
+
TemplateSSMDocumentDetails: serializeAws_json1_1TemplateSSMDocumentDetails(input.TemplateSSMDocumentDetails, context),
|
|
5825
|
+
}),
|
|
5823
5826
|
};
|
|
5824
5827
|
};
|
|
5825
5828
|
const serializeAws_json1_1PutDeliveryChannelRequest = (input, context) => {
|
|
@@ -6222,6 +6225,12 @@ const serializeAws_json1_1TagsList = (input, context) => {
|
|
|
6222
6225
|
return serializeAws_json1_1Tag(entry, context);
|
|
6223
6226
|
});
|
|
6224
6227
|
};
|
|
6228
|
+
const serializeAws_json1_1TemplateSSMDocumentDetails = (input, context) => {
|
|
6229
|
+
return {
|
|
6230
|
+
...(input.DocumentName != null && { DocumentName: input.DocumentName }),
|
|
6231
|
+
...(input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion }),
|
|
6232
|
+
};
|
|
6233
|
+
};
|
|
6225
6234
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
6226
6235
|
return {
|
|
6227
6236
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
@@ -6858,6 +6867,9 @@ const deserializeAws_json1_1ConformancePackDetail = (output, context) => {
|
|
|
6858
6867
|
LastUpdateRequestedTime: output.LastUpdateRequestedTime != null
|
|
6859
6868
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateRequestedTime)))
|
|
6860
6869
|
: undefined,
|
|
6870
|
+
TemplateSSMDocumentDetails: output.TemplateSSMDocumentDetails != null
|
|
6871
|
+
? deserializeAws_json1_1TemplateSSMDocumentDetails(output.TemplateSSMDocumentDetails, context)
|
|
6872
|
+
: undefined,
|
|
6861
6873
|
};
|
|
6862
6874
|
};
|
|
6863
6875
|
const deserializeAws_json1_1ConformancePackDetailList = (output, context) => {
|
|
@@ -8606,6 +8618,12 @@ const deserializeAws_json1_1Tags = (output, context) => {
|
|
|
8606
8618
|
};
|
|
8607
8619
|
}, {});
|
|
8608
8620
|
};
|
|
8621
|
+
const deserializeAws_json1_1TemplateSSMDocumentDetails = (output, context) => {
|
|
8622
|
+
return {
|
|
8623
|
+
DocumentName: (0, smithy_client_1.expectString)(output.DocumentName),
|
|
8624
|
+
DocumentVersion: (0, smithy_client_1.expectString)(output.DocumentVersion),
|
|
8625
|
+
};
|
|
8626
|
+
};
|
|
8609
8627
|
const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
8610
8628
|
return {
|
|
8611
8629
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutConformancePackRequestFilterSensitiveLog } from "../models/
|
|
5
|
-
import { PutConformancePackResponseFilterSensitiveLog } from "../models/models_1";
|
|
4
|
+
import { PutConformancePackRequestFilterSensitiveLog, PutConformancePackResponseFilterSensitiveLog, } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_json1_1PutConformancePackCommand, serializeAws_json1_1PutConformancePackCommand, } from "../protocols/Aws_json1_1";
|
|
7
6
|
var PutConformancePackCommand = (function (_super) {
|
|
8
7
|
__extends(PutConformancePackCommand, _super);
|
|
@@ -1003,6 +1003,7 @@ export var ConformancePackComplianceScoreFilterSensitiveLog = function (obj) { r
|
|
|
1003
1003
|
export var ConformancePackComplianceScoresFiltersFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1004
1004
|
export var ConformancePackComplianceSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1005
1005
|
export var ConformancePackInputParameterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1006
|
+
export var TemplateSSMDocumentDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1006
1007
|
export var ConformancePackDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1007
1008
|
export var ConformancePackEvaluationFiltersFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1008
1009
|
export var ConformancePackEvaluationResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1171,4 +1172,3 @@ export var PutConfigRuleRequestFilterSensitiveLog = function (obj) { return (__a
|
|
|
1171
1172
|
export var PutConfigurationAggregatorRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1172
1173
|
export var PutConfigurationAggregatorResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1173
1174
|
export var PutConfigurationRecorderRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1174
|
-
export var PutConformancePackRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -24,6 +24,7 @@ var TooManyTagsException = (function (_super) {
|
|
|
24
24
|
return TooManyTagsException;
|
|
25
25
|
}(__BaseException));
|
|
26
26
|
export { TooManyTagsException };
|
|
27
|
+
export var PutConformancePackRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
28
|
export var PutConformancePackResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
28
29
|
export var PutDeliveryChannelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
30
|
export var PutEvaluationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -7263,9 +7263,11 @@ var serializeAws_json1_1PutConfigurationRecorderRequest = function (input, conte
|
|
|
7263
7263
|
}));
|
|
7264
7264
|
};
|
|
7265
7265
|
var serializeAws_json1_1PutConformancePackRequest = function (input, context) {
|
|
7266
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConformancePackInputParameters != null && {
|
|
7266
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConformancePackInputParameters != null && {
|
|
7267
7267
|
ConformancePackInputParameters: serializeAws_json1_1ConformancePackInputParameters(input.ConformancePackInputParameters, context),
|
|
7268
|
-
})), (input.ConformancePackName != null && { ConformancePackName: input.ConformancePackName })), (input.DeliveryS3Bucket != null && { DeliveryS3Bucket: input.DeliveryS3Bucket })), (input.DeliveryS3KeyPrefix != null && { DeliveryS3KeyPrefix: input.DeliveryS3KeyPrefix })), (input.TemplateBody != null && { TemplateBody: input.TemplateBody })), (input.TemplateS3Uri != null && { TemplateS3Uri: input.TemplateS3Uri }))
|
|
7268
|
+
})), (input.ConformancePackName != null && { ConformancePackName: input.ConformancePackName })), (input.DeliveryS3Bucket != null && { DeliveryS3Bucket: input.DeliveryS3Bucket })), (input.DeliveryS3KeyPrefix != null && { DeliveryS3KeyPrefix: input.DeliveryS3KeyPrefix })), (input.TemplateBody != null && { TemplateBody: input.TemplateBody })), (input.TemplateS3Uri != null && { TemplateS3Uri: input.TemplateS3Uri })), (input.TemplateSSMDocumentDetails != null && {
|
|
7269
|
+
TemplateSSMDocumentDetails: serializeAws_json1_1TemplateSSMDocumentDetails(input.TemplateSSMDocumentDetails, context),
|
|
7270
|
+
}));
|
|
7269
7271
|
};
|
|
7270
7272
|
var serializeAws_json1_1PutDeliveryChannelRequest = function (input, context) {
|
|
7271
7273
|
return __assign({}, (input.DeliveryChannel != null && {
|
|
@@ -7533,6 +7535,9 @@ var serializeAws_json1_1TagsList = function (input, context) {
|
|
|
7533
7535
|
return serializeAws_json1_1Tag(entry, context);
|
|
7534
7536
|
});
|
|
7535
7537
|
};
|
|
7538
|
+
var serializeAws_json1_1TemplateSSMDocumentDetails = function (input, context) {
|
|
7539
|
+
return __assign(__assign({}, (input.DocumentName != null && { DocumentName: input.DocumentName })), (input.DocumentVersion != null && { DocumentVersion: input.DocumentVersion }));
|
|
7540
|
+
};
|
|
7536
7541
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
7537
7542
|
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
7538
7543
|
};
|
|
@@ -8166,6 +8171,9 @@ var deserializeAws_json1_1ConformancePackDetail = function (output, context) {
|
|
|
8166
8171
|
LastUpdateRequestedTime: output.LastUpdateRequestedTime != null
|
|
8167
8172
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateRequestedTime)))
|
|
8168
8173
|
: undefined,
|
|
8174
|
+
TemplateSSMDocumentDetails: output.TemplateSSMDocumentDetails != null
|
|
8175
|
+
? deserializeAws_json1_1TemplateSSMDocumentDetails(output.TemplateSSMDocumentDetails, context)
|
|
8176
|
+
: undefined,
|
|
8169
8177
|
};
|
|
8170
8178
|
};
|
|
8171
8179
|
var deserializeAws_json1_1ConformancePackDetailList = function (output, context) {
|
|
@@ -9911,6 +9919,12 @@ var deserializeAws_json1_1Tags = function (output, context) {
|
|
|
9911
9919
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
9912
9920
|
}, {});
|
|
9913
9921
|
};
|
|
9922
|
+
var deserializeAws_json1_1TemplateSSMDocumentDetails = function (output, context) {
|
|
9923
|
+
return {
|
|
9924
|
+
DocumentName: __expectString(output.DocumentName),
|
|
9925
|
+
DocumentVersion: __expectString(output.DocumentVersion),
|
|
9926
|
+
};
|
|
9927
|
+
};
|
|
9914
9928
|
var deserializeAws_json1_1TooManyTagsException = function (output, context) {
|
|
9915
9929
|
return {
|
|
9916
9930
|
message: __expectString(output.message),
|
|
@@ -1023,8 +1023,7 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1023
1023
|
* <p>This API creates a service-linked role <code>AWSServiceRoleForConfigConforms</code> in your account.
|
|
1024
1024
|
* The service-linked role is created only when the role does not exist in your account. </p>
|
|
1025
1025
|
* <note>
|
|
1026
|
-
* <p>You must specify
|
|
1027
|
-
* If you provide both Config uses the <code>TemplateS3Uri</code> parameter and ignores the <code>TemplateBody</code> parameter.</p>
|
|
1026
|
+
* <p>You must specify one and only one of the<code>TemplateS3Uri</code>, <code>TemplateBody</code> or <code>TemplateSSMDocumentDetails</code> parameters.</p>
|
|
1028
1027
|
* </note>
|
|
1029
1028
|
*/
|
|
1030
1029
|
putConformancePack(args: PutConformancePackCommandInput, options?: __HttpHandlerOptions): Promise<PutConformancePackCommandOutput>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
|
|
4
|
-
import { PutConformancePackRequest } from "../models/
|
|
5
|
-
import { PutConformancePackResponse } from "../models/models_1";
|
|
4
|
+
import { PutConformancePackRequest, PutConformancePackResponse } from "../models/models_1";
|
|
6
5
|
export interface PutConformancePackCommandInput extends PutConformancePackRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface PutConformancePackCommandOutput extends PutConformancePackResponse, __MetadataBearer {
|
|
@@ -16,8 +15,7 @@ export interface PutConformancePackCommandOutput extends PutConformancePackRespo
|
|
|
16
15
|
* <p>This API creates a service-linked role <code>AWSServiceRoleForConfigConforms</code> in your account.
|
|
17
16
|
* The service-linked role is created only when the role does not exist in your account. </p>
|
|
18
17
|
* <note>
|
|
19
|
-
* <p>You must specify
|
|
20
|
-
* If you provide both Config uses the <code>TemplateS3Uri</code> parameter and ignores the <code>TemplateBody</code> parameter.</p>
|
|
18
|
+
* <p>You must specify one and only one of the<code>TemplateS3Uri</code>, <code>TemplateBody</code> or <code>TemplateSSMDocumentDetails</code> parameters.</p>
|
|
21
19
|
* </note>
|
|
22
20
|
* @example
|
|
23
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1847,6 +1847,26 @@ export interface ConformancePackInputParameter {
|
|
|
1847
1847
|
*/
|
|
1848
1848
|
ParameterValue: string | undefined;
|
|
1849
1849
|
}
|
|
1850
|
+
/**
|
|
1851
|
+
* <p>This API allows you to create a conformance pack template with an Amazon Web Services Systems Manager document (SSM document).
|
|
1852
|
+
* To deploy a conformance pack using an SSM document, you first create an SSM document with conformance pack content, and then provide the <code>DocumentName</code> (and optionally <code>DocumentVersion</code>) in the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html">PutConformancePack API</a>.</p>
|
|
1853
|
+
*
|
|
1854
|
+
* <p>The <code>TemplateSSMDocumentDetails</code> object contains the name of the SSM document and the version of the SSM document.</p>
|
|
1855
|
+
*/
|
|
1856
|
+
export interface TemplateSSMDocumentDetails {
|
|
1857
|
+
/**
|
|
1858
|
+
* <p>The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack.
|
|
1859
|
+
* If you use the Document Name, Config checks only your account and region for the SSM document. If you want to use an SSM document from another region or account, you must provide the ARN.</p>
|
|
1860
|
+
*/
|
|
1861
|
+
DocumentName: string | undefined;
|
|
1862
|
+
/**
|
|
1863
|
+
* <p>The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.</p>
|
|
1864
|
+
* <note>
|
|
1865
|
+
* <p>This field is optional.</p>
|
|
1866
|
+
* </note>
|
|
1867
|
+
*/
|
|
1868
|
+
DocumentVersion?: string;
|
|
1869
|
+
}
|
|
1850
1870
|
/**
|
|
1851
1871
|
* <p>Returns details of a conformance pack. A conformance pack is a collection of Config rules and remediation actions that can be easily deployed in an account and a region.</p>
|
|
1852
1872
|
*/
|
|
@@ -1882,13 +1902,17 @@ export interface ConformancePackDetail {
|
|
|
1882
1902
|
*/
|
|
1883
1903
|
ConformancePackInputParameters?: ConformancePackInputParameter[];
|
|
1884
1904
|
/**
|
|
1885
|
-
* <p>
|
|
1905
|
+
* <p>The last time a conformation pack update was requested. </p>
|
|
1886
1906
|
*/
|
|
1887
1907
|
LastUpdateRequestedTime?: Date;
|
|
1888
1908
|
/**
|
|
1889
|
-
* <p>Amazon Web Services service that created the conformance pack.</p>
|
|
1909
|
+
* <p>The Amazon Web Services service that created the conformance pack.</p>
|
|
1890
1910
|
*/
|
|
1891
1911
|
CreatedBy?: string;
|
|
1912
|
+
/**
|
|
1913
|
+
* <p>An object that contains the name or Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.</p>
|
|
1914
|
+
*/
|
|
1915
|
+
TemplateSSMDocumentDetails?: TemplateSSMDocumentDetails;
|
|
1892
1916
|
}
|
|
1893
1917
|
/**
|
|
1894
1918
|
* <p>Filters a conformance pack by Config rule names, compliance types, Amazon Web Services resource types, and resource IDs.</p>
|
|
@@ -2314,7 +2338,7 @@ export interface DeleteRemediationConfigurationResponse {
|
|
|
2314
2338
|
* <p>To call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
2315
2339
|
* </li>
|
|
2316
2340
|
* <li>
|
|
2317
|
-
* <p>To read Amazon S3 bucket.</p>
|
|
2341
|
+
* <p>To read Amazon S3 bucket or call SSM:GetDocument.</p>
|
|
2318
2342
|
* </li>
|
|
2319
2343
|
* </ul>
|
|
2320
2344
|
* </li>
|
|
@@ -5771,44 +5795,6 @@ export interface PutConfigurationRecorderRequest {
|
|
|
5771
5795
|
*/
|
|
5772
5796
|
ConfigurationRecorder: ConfigurationRecorder | undefined;
|
|
5773
5797
|
}
|
|
5774
|
-
export interface PutConformancePackRequest {
|
|
5775
|
-
/**
|
|
5776
|
-
* <p>Name of the conformance pack you want to create.</p>
|
|
5777
|
-
*/
|
|
5778
|
-
ConformancePackName: string | undefined;
|
|
5779
|
-
/**
|
|
5780
|
-
* <p>Location of file containing the template body (<code>s3://bucketname/prefix</code>). The uri must point to the conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same region as the conformance pack. </p>
|
|
5781
|
-
* <note>
|
|
5782
|
-
* <p>You must have access to read Amazon S3 bucket.</p>
|
|
5783
|
-
* </note>
|
|
5784
|
-
*/
|
|
5785
|
-
TemplateS3Uri?: string;
|
|
5786
|
-
/**
|
|
5787
|
-
* <p>A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.</p>
|
|
5788
|
-
* <note>
|
|
5789
|
-
* <p>You can only use a YAML template with two resource types: Config rule (<code>AWS::Config::ConfigRule</code>) and a remediation action (<code>AWS::Config::RemediationConfiguration</code>).</p>
|
|
5790
|
-
* </note>
|
|
5791
|
-
*/
|
|
5792
|
-
TemplateBody?: string;
|
|
5793
|
-
/**
|
|
5794
|
-
* <p>The name of the Amazon S3 bucket where Config stores conformance pack templates.</p>
|
|
5795
|
-
* <note>
|
|
5796
|
-
* <p>This field is optional.</p>
|
|
5797
|
-
* </note>
|
|
5798
|
-
*/
|
|
5799
|
-
DeliveryS3Bucket?: string;
|
|
5800
|
-
/**
|
|
5801
|
-
* <p>The prefix for the Amazon S3 bucket. </p>
|
|
5802
|
-
* <note>
|
|
5803
|
-
* <p>This field is optional.</p>
|
|
5804
|
-
* </note>
|
|
5805
|
-
*/
|
|
5806
|
-
DeliveryS3KeyPrefix?: string;
|
|
5807
|
-
/**
|
|
5808
|
-
* <p>A list of <code>ConformancePackInputParameter</code> objects.</p>
|
|
5809
|
-
*/
|
|
5810
|
-
ConformancePackInputParameters?: ConformancePackInputParameter[];
|
|
5811
|
-
}
|
|
5812
5798
|
/**
|
|
5813
5799
|
* @internal
|
|
5814
5800
|
*/
|
|
@@ -6009,6 +5995,10 @@ export declare const ConformancePackComplianceSummaryFilterSensitiveLog: (obj: C
|
|
|
6009
5995
|
* @internal
|
|
6010
5996
|
*/
|
|
6011
5997
|
export declare const ConformancePackInputParameterFilterSensitiveLog: (obj: ConformancePackInputParameter) => any;
|
|
5998
|
+
/**
|
|
5999
|
+
* @internal
|
|
6000
|
+
*/
|
|
6001
|
+
export declare const TemplateSSMDocumentDetailsFilterSensitiveLog: (obj: TemplateSSMDocumentDetails) => any;
|
|
6012
6002
|
/**
|
|
6013
6003
|
* @internal
|
|
6014
6004
|
*/
|
|
@@ -6681,7 +6671,3 @@ export declare const PutConfigurationAggregatorResponseFilterSensitiveLog: (obj:
|
|
|
6681
6671
|
* @internal
|
|
6682
6672
|
*/
|
|
6683
6673
|
export declare const PutConfigurationRecorderRequestFilterSensitiveLog: (obj: PutConfigurationRecorderRequest) => any;
|
|
6684
|
-
/**
|
|
6685
|
-
* @internal
|
|
6686
|
-
*/
|
|
6687
|
-
export declare const PutConformancePackRequestFilterSensitiveLog: (obj: PutConformancePackRequest) => any;
|
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
|
|
3
|
-
import { ConformancePackInputParameter, DeliveryChannel, Evaluation, ExternalEvaluation, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, OrganizationCustomPolicyRuleMetadata, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceKey, RetentionConfiguration, StoredQuery, Tag } from "./models_0";
|
|
3
|
+
import { ConformancePackInputParameter, DeliveryChannel, Evaluation, ExternalEvaluation, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, OrganizationCustomPolicyRuleMetadata, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceKey, RetentionConfiguration, StoredQuery, Tag, TemplateSSMDocumentDetails } from "./models_0";
|
|
4
|
+
export interface PutConformancePackRequest {
|
|
5
|
+
/**
|
|
6
|
+
* <p>The unique name of the conformance pack you want to deploy.</p>
|
|
7
|
+
*/
|
|
8
|
+
ConformancePackName: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* <p>The location of the file containing the template body (<code>s3://bucketname/prefix</code>). The uri must point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same region as the conformance pack. </p>
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>You must have access to read Amazon S3 bucket.</p>
|
|
13
|
+
* </note>
|
|
14
|
+
*/
|
|
15
|
+
TemplateS3Uri?: string;
|
|
16
|
+
/**
|
|
17
|
+
* <p>A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.</p>
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>You can only use a YAML template with two resource types: Config rule (<code>AWS::Config::ConfigRule</code>) and remediation action (<code>AWS::Config::RemediationConfiguration</code>).</p>
|
|
20
|
+
* </note>
|
|
21
|
+
*/
|
|
22
|
+
TemplateBody?: string;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The name of the Amazon S3 bucket where Config stores conformance pack templates.</p>
|
|
25
|
+
* <note>
|
|
26
|
+
* <p>This field is optional.</p>
|
|
27
|
+
* </note>
|
|
28
|
+
*/
|
|
29
|
+
DeliveryS3Bucket?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The prefix for the Amazon S3 bucket. </p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>This field is optional.</p>
|
|
34
|
+
* </note>
|
|
35
|
+
*/
|
|
36
|
+
DeliveryS3KeyPrefix?: string;
|
|
37
|
+
/**
|
|
38
|
+
* <p>A list of <code>ConformancePackInputParameter</code> objects.</p>
|
|
39
|
+
*/
|
|
40
|
+
ConformancePackInputParameters?: ConformancePackInputParameter[];
|
|
41
|
+
/**
|
|
42
|
+
* <p>An object of type <code>TemplateSSMDocumentDetails</code>, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.</p>
|
|
43
|
+
*/
|
|
44
|
+
TemplateSSMDocumentDetails?: TemplateSSMDocumentDetails;
|
|
45
|
+
}
|
|
4
46
|
export interface PutConformancePackResponse {
|
|
5
47
|
/**
|
|
6
48
|
* <p>ARN of the conformance pack.</p>
|
|
@@ -434,6 +476,10 @@ export interface UntagResourceRequest {
|
|
|
434
476
|
*/
|
|
435
477
|
TagKeys: string[] | undefined;
|
|
436
478
|
}
|
|
479
|
+
/**
|
|
480
|
+
* @internal
|
|
481
|
+
*/
|
|
482
|
+
export declare const PutConformancePackRequestFilterSensitiveLog: (obj: PutConformancePackRequest) => any;
|
|
437
483
|
/**
|
|
438
484
|
* @internal
|
|
439
485
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
|
|
4
|
-
import { PutConformancePackRequest } from "../models/
|
|
5
|
-
import { PutConformancePackResponse } from "../models/models_1";
|
|
4
|
+
import { PutConformancePackRequest, PutConformancePackResponse } from "../models/models_1";
|
|
6
5
|
export interface PutConformancePackCommandInput extends PutConformancePackRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface PutConformancePackCommandOutput extends PutConformancePackResponse, __MetadataBearer {
|
|
@@ -798,6 +798,13 @@ export interface ConformancePackInputParameter {
|
|
|
798
798
|
ParameterValue: string | undefined;
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
+
export interface TemplateSSMDocumentDetails {
|
|
802
|
+
|
|
803
|
+
DocumentName: string | undefined;
|
|
804
|
+
|
|
805
|
+
DocumentVersion?: string;
|
|
806
|
+
}
|
|
807
|
+
|
|
801
808
|
export interface ConformancePackDetail {
|
|
802
809
|
|
|
803
810
|
ConformancePackName: string | undefined;
|
|
@@ -815,6 +822,8 @@ export interface ConformancePackDetail {
|
|
|
815
822
|
LastUpdateRequestedTime?: Date;
|
|
816
823
|
|
|
817
824
|
CreatedBy?: string;
|
|
825
|
+
|
|
826
|
+
TemplateSSMDocumentDetails?: TemplateSSMDocumentDetails;
|
|
818
827
|
}
|
|
819
828
|
|
|
820
829
|
export interface ConformancePackEvaluationFilters {
|
|
@@ -2605,20 +2614,6 @@ export interface PutConfigurationRecorderRequest {
|
|
|
2605
2614
|
|
|
2606
2615
|
ConfigurationRecorder: ConfigurationRecorder | undefined;
|
|
2607
2616
|
}
|
|
2608
|
-
export interface PutConformancePackRequest {
|
|
2609
|
-
|
|
2610
|
-
ConformancePackName: string | undefined;
|
|
2611
|
-
|
|
2612
|
-
TemplateS3Uri?: string;
|
|
2613
|
-
|
|
2614
|
-
TemplateBody?: string;
|
|
2615
|
-
|
|
2616
|
-
DeliveryS3Bucket?: string;
|
|
2617
|
-
|
|
2618
|
-
DeliveryS3KeyPrefix?: string;
|
|
2619
|
-
|
|
2620
|
-
ConformancePackInputParameters?: ConformancePackInputParameter[];
|
|
2621
|
-
}
|
|
2622
2617
|
|
|
2623
2618
|
export declare const AccountAggregationSourceFilterSensitiveLog: (obj: AccountAggregationSource) => any;
|
|
2624
2619
|
|
|
@@ -2720,6 +2715,8 @@ export declare const ConformancePackComplianceSummaryFilterSensitiveLog: (obj: C
|
|
|
2720
2715
|
|
|
2721
2716
|
export declare const ConformancePackInputParameterFilterSensitiveLog: (obj: ConformancePackInputParameter) => any;
|
|
2722
2717
|
|
|
2718
|
+
export declare const TemplateSSMDocumentDetailsFilterSensitiveLog: (obj: TemplateSSMDocumentDetails) => any;
|
|
2719
|
+
|
|
2723
2720
|
export declare const ConformancePackDetailFilterSensitiveLog: (obj: ConformancePackDetail) => any;
|
|
2724
2721
|
|
|
2725
2722
|
export declare const ConformancePackEvaluationFiltersFilterSensitiveLog: (obj: ConformancePackEvaluationFilters) => any;
|
|
@@ -3055,5 +3052,3 @@ export declare const PutConfigurationAggregatorRequestFilterSensitiveLog: (obj:
|
|
|
3055
3052
|
export declare const PutConfigurationAggregatorResponseFilterSensitiveLog: (obj: PutConfigurationAggregatorResponse) => any;
|
|
3056
3053
|
|
|
3057
3054
|
export declare const PutConfigurationRecorderRequestFilterSensitiveLog: (obj: PutConfigurationRecorderRequest) => any;
|
|
3058
|
-
|
|
3059
|
-
export declare const PutConformancePackRequestFilterSensitiveLog: (obj: PutConformancePackRequest) => any;
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
|
|
3
|
-
import { ConformancePackInputParameter, DeliveryChannel, Evaluation, ExternalEvaluation, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, OrganizationCustomPolicyRuleMetadata, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceKey, RetentionConfiguration, StoredQuery, Tag } from "./models_0";
|
|
3
|
+
import { ConformancePackInputParameter, DeliveryChannel, Evaluation, ExternalEvaluation, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, OrganizationCustomPolicyRuleMetadata, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceKey, RetentionConfiguration, StoredQuery, Tag, TemplateSSMDocumentDetails } from "./models_0";
|
|
4
|
+
export interface PutConformancePackRequest {
|
|
5
|
+
|
|
6
|
+
ConformancePackName: string | undefined;
|
|
7
|
+
|
|
8
|
+
TemplateS3Uri?: string;
|
|
9
|
+
|
|
10
|
+
TemplateBody?: string;
|
|
11
|
+
|
|
12
|
+
DeliveryS3Bucket?: string;
|
|
13
|
+
|
|
14
|
+
DeliveryS3KeyPrefix?: string;
|
|
15
|
+
|
|
16
|
+
ConformancePackInputParameters?: ConformancePackInputParameter[];
|
|
17
|
+
|
|
18
|
+
TemplateSSMDocumentDetails?: TemplateSSMDocumentDetails;
|
|
19
|
+
}
|
|
4
20
|
export interface PutConformancePackResponse {
|
|
5
21
|
|
|
6
22
|
ConformancePackArn?: string;
|
|
@@ -220,6 +236,8 @@ export interface UntagResourceRequest {
|
|
|
220
236
|
TagKeys: string[] | undefined;
|
|
221
237
|
}
|
|
222
238
|
|
|
239
|
+
export declare const PutConformancePackRequestFilterSensitiveLog: (obj: PutConformancePackRequest) => any;
|
|
240
|
+
|
|
223
241
|
export declare const PutConformancePackResponseFilterSensitiveLog: (obj: PutConformancePackResponse) => any;
|
|
224
242
|
|
|
225
243
|
export declare const PutDeliveryChannelRequestFilterSensitiveLog: (obj: PutDeliveryChannelRequest) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-config-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Config Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.159.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.159.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.159.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.159.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.159.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.159.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.159.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.159.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.159.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.159.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.159.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.159.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.159.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.159.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.159.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.159.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.159.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.159.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.159.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.159.0",
|
|
40
|
+
"@aws-sdk/types": "3.159.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.159.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
+
"@aws-sdk/util-body-length-browser": "3.154.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.159.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.159.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.159.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.159.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|