@aws-sdk/client-config-service 3.55.0 → 3.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/ConfigService.js +30 -0
- package/dist-cjs/commands/GetCustomRulePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetOrganizationCustomRulePolicyCommand.js +36 -0
- package/dist-cjs/commands/PutOrganizationConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/PutOrganizationConformancePackCommand.js +3 -3
- package/dist-cjs/commands/PutRemediationConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/PutRemediationExceptionsCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +57 -54
- package/dist-cjs/models/models_1.js +49 -1
- package/dist-cjs/protocols/Aws_json1_1.js +243 -3
- package/dist-es/ConfigService.js +30 -0
- package/dist-es/commands/GetCustomRulePolicyCommand.js +39 -0
- package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +39 -0
- package/dist-es/commands/PutOrganizationConfigRuleCommand.js +1 -1
- package/dist-es/commands/PutOrganizationConformancePackCommand.js +1 -1
- package/dist-es/commands/PutRemediationConfigurationsCommand.js +1 -1
- package/dist-es/commands/PutRemediationExceptionsCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +37 -32
- package/dist-es/models/models_1.js +32 -0
- package/dist-es/protocols/Aws_json1_1.js +252 -3
- package/dist-types/ConfigService.d.ts +33 -19
- package/dist-types/ConfigServiceClient.d.ts +4 -2
- package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +2 -2
- package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +3 -3
- package/dist-types/commands/GetCustomRulePolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +35 -0
- package/dist-types/commands/PutConfigRuleCommand.d.ts +3 -3
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +6 -6
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +342 -236
- package/dist-types/models/models_1.d.ts +162 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/ConfigService.d.ts +10 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetCustomRulePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOrganizationCustomRulePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutOrganizationConfigRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutRemediationExceptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +121 -90
- package/dist-types/ts3.4/models/models_1.d.ts +91 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +18 -18
|
@@ -53,9 +53,11 @@ import { GetComplianceSummaryByConfigRuleCommandInput, GetComplianceSummaryByCon
|
|
|
53
53
|
import { GetComplianceSummaryByResourceTypeCommandInput, GetComplianceSummaryByResourceTypeCommandOutput } from "./commands/GetComplianceSummaryByResourceTypeCommand";
|
|
54
54
|
import { GetConformancePackComplianceDetailsCommandInput, GetConformancePackComplianceDetailsCommandOutput } from "./commands/GetConformancePackComplianceDetailsCommand";
|
|
55
55
|
import { GetConformancePackComplianceSummaryCommandInput, GetConformancePackComplianceSummaryCommandOutput } from "./commands/GetConformancePackComplianceSummaryCommand";
|
|
56
|
+
import { GetCustomRulePolicyCommandInput, GetCustomRulePolicyCommandOutput } from "./commands/GetCustomRulePolicyCommand";
|
|
56
57
|
import { GetDiscoveredResourceCountsCommandInput, GetDiscoveredResourceCountsCommandOutput } from "./commands/GetDiscoveredResourceCountsCommand";
|
|
57
58
|
import { GetOrganizationConfigRuleDetailedStatusCommandInput, GetOrganizationConfigRuleDetailedStatusCommandOutput } from "./commands/GetOrganizationConfigRuleDetailedStatusCommand";
|
|
58
59
|
import { GetOrganizationConformancePackDetailedStatusCommandInput, GetOrganizationConformancePackDetailedStatusCommandOutput } from "./commands/GetOrganizationConformancePackDetailedStatusCommand";
|
|
60
|
+
import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRulePolicyCommandOutput } from "./commands/GetOrganizationCustomRulePolicyCommand";
|
|
59
61
|
import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "./commands/GetResourceConfigHistoryCommand";
|
|
60
62
|
import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "./commands/GetStoredQueryCommand";
|
|
61
63
|
import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "./commands/ListAggregateDiscoveredResourcesCommand";
|
|
@@ -224,8 +226,8 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
224
226
|
deleteEvaluationResults(args: DeleteEvaluationResultsCommandInput, cb: (err: any, data?: DeleteEvaluationResultsCommandOutput) => void): void;
|
|
225
227
|
deleteEvaluationResults(args: DeleteEvaluationResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEvaluationResultsCommandOutput) => void): void;
|
|
226
228
|
/**
|
|
227
|
-
* <p>Deletes the specified organization
|
|
228
|
-
* <p>Only a master account and a delegated administrator account can delete an organization
|
|
229
|
+
* <p>Deletes the specified organization Config rule and all of its evaluation results from all member accounts in that organization. </p>
|
|
230
|
+
* <p>Only a master account and a delegated administrator account can delete an organization Config rule.
|
|
229
231
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
230
232
|
* <code>ListDelegatedAdministrator</code> permissions are added.</p>
|
|
231
233
|
* <p>Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete.
|
|
@@ -235,7 +237,7 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
235
237
|
deleteOrganizationConfigRule(args: DeleteOrganizationConfigRuleCommandInput, cb: (err: any, data?: DeleteOrganizationConfigRuleCommandOutput) => void): void;
|
|
236
238
|
deleteOrganizationConfigRule(args: DeleteOrganizationConfigRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOrganizationConfigRuleCommandOutput) => void): void;
|
|
237
239
|
/**
|
|
238
|
-
* <p>Deletes the specified organization conformance pack and all of the
|
|
240
|
+
* <p>Deletes the specified organization conformance pack and all of the Config rules and remediation actions from
|
|
239
241
|
* all member accounts in that organization. </p>
|
|
240
242
|
* <p> Only a master account or a delegated administrator account can delete an organization conformance pack.
|
|
241
243
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
@@ -521,26 +523,26 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
521
523
|
describeDeliveryChannelStatus(args: DescribeDeliveryChannelStatusCommandInput, cb: (err: any, data?: DescribeDeliveryChannelStatusCommandOutput) => void): void;
|
|
522
524
|
describeDeliveryChannelStatus(args: DescribeDeliveryChannelStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDeliveryChannelStatusCommandOutput) => void): void;
|
|
523
525
|
/**
|
|
524
|
-
* <p>Returns a list of organization
|
|
526
|
+
* <p>Returns a list of organization Config rules. </p>
|
|
525
527
|
*
|
|
526
528
|
* <note>
|
|
527
529
|
* <p>When you specify the limit and the next token, you receive a paginated response.
|
|
528
|
-
* Limit and next token are not applicable if you specify organization
|
|
529
|
-
* It is only applicable, when you request all the organization
|
|
530
|
+
* Limit and next token are not applicable if you specify organization Config rule names.
|
|
531
|
+
* It is only applicable, when you request all the organization Config rules.</p>
|
|
530
532
|
* </note>
|
|
531
533
|
*/
|
|
532
534
|
describeOrganizationConfigRules(args: DescribeOrganizationConfigRulesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConfigRulesCommandOutput>;
|
|
533
535
|
describeOrganizationConfigRules(args: DescribeOrganizationConfigRulesCommandInput, cb: (err: any, data?: DescribeOrganizationConfigRulesCommandOutput) => void): void;
|
|
534
536
|
describeOrganizationConfigRules(args: DescribeOrganizationConfigRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeOrganizationConfigRulesCommandOutput) => void): void;
|
|
535
537
|
/**
|
|
536
|
-
* <p>Provides organization
|
|
538
|
+
* <p>Provides organization Config rule deployment status for an organization.</p>
|
|
537
539
|
*
|
|
538
540
|
* <note>
|
|
539
|
-
* <p>The status is not considered successful until organization
|
|
541
|
+
* <p>The status is not considered successful until organization Config rule is successfully deployed in all the member
|
|
540
542
|
* accounts with an exception of excluded accounts.</p>
|
|
541
543
|
* <p>When you specify the limit and the next token, you receive a paginated response.
|
|
542
|
-
* Limit and next token are not applicable if you specify organization
|
|
543
|
-
* It is only applicable, when you request all the organization
|
|
544
|
+
* Limit and next token are not applicable if you specify organization Config rule names.
|
|
545
|
+
* It is only applicable, when you request all the organization Config rules.</p>
|
|
544
546
|
* </note>
|
|
545
547
|
*/
|
|
546
548
|
describeOrganizationConfigRuleStatuses(args: DescribeOrganizationConfigRuleStatusesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConfigRuleStatusesCommandOutput>;
|
|
@@ -710,6 +712,12 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
710
712
|
getConformancePackComplianceSummary(args: GetConformancePackComplianceSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetConformancePackComplianceSummaryCommandOutput>;
|
|
711
713
|
getConformancePackComplianceSummary(args: GetConformancePackComplianceSummaryCommandInput, cb: (err: any, data?: GetConformancePackComplianceSummaryCommandOutput) => void): void;
|
|
712
714
|
getConformancePackComplianceSummary(args: GetConformancePackComplianceSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConformancePackComplianceSummaryCommandOutput) => void): void;
|
|
715
|
+
/**
|
|
716
|
+
* <p>Returns the policy definition containing the logic for your Config Custom Policy rule.</p>
|
|
717
|
+
*/
|
|
718
|
+
getCustomRulePolicy(args: GetCustomRulePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetCustomRulePolicyCommandOutput>;
|
|
719
|
+
getCustomRulePolicy(args: GetCustomRulePolicyCommandInput, cb: (err: any, data?: GetCustomRulePolicyCommandOutput) => void): void;
|
|
720
|
+
getCustomRulePolicy(args: GetCustomRulePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCustomRulePolicyCommandOutput) => void): void;
|
|
713
721
|
/**
|
|
714
722
|
* <p>Returns the resource types, the number of each resource type,
|
|
715
723
|
* and the total number of resources that Config is recording in
|
|
@@ -780,7 +788,7 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
780
788
|
getDiscoveredResourceCounts(args: GetDiscoveredResourceCountsCommandInput, cb: (err: any, data?: GetDiscoveredResourceCountsCommandOutput) => void): void;
|
|
781
789
|
getDiscoveredResourceCounts(args: GetDiscoveredResourceCountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDiscoveredResourceCountsCommandOutput) => void): void;
|
|
782
790
|
/**
|
|
783
|
-
* <p>Returns detailed status for each member account within an organization for a given organization
|
|
791
|
+
* <p>Returns detailed status for each member account within an organization for a given organization Config rule.</p>
|
|
784
792
|
*/
|
|
785
793
|
getOrganizationConfigRuleDetailedStatus(args: GetOrganizationConfigRuleDetailedStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetOrganizationConfigRuleDetailedStatusCommandOutput>;
|
|
786
794
|
getOrganizationConfigRuleDetailedStatus(args: GetOrganizationConfigRuleDetailedStatusCommandInput, cb: (err: any, data?: GetOrganizationConfigRuleDetailedStatusCommandOutput) => void): void;
|
|
@@ -791,6 +799,12 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
791
799
|
getOrganizationConformancePackDetailedStatus(args: GetOrganizationConformancePackDetailedStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetOrganizationConformancePackDetailedStatusCommandOutput>;
|
|
792
800
|
getOrganizationConformancePackDetailedStatus(args: GetOrganizationConformancePackDetailedStatusCommandInput, cb: (err: any, data?: GetOrganizationConformancePackDetailedStatusCommandOutput) => void): void;
|
|
793
801
|
getOrganizationConformancePackDetailedStatus(args: GetOrganizationConformancePackDetailedStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrganizationConformancePackDetailedStatusCommandOutput) => void): void;
|
|
802
|
+
/**
|
|
803
|
+
* <p>Returns the policy definition containing the logic for your organization Config Custom Policy rule.</p>
|
|
804
|
+
*/
|
|
805
|
+
getOrganizationCustomRulePolicy(args: GetOrganizationCustomRulePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetOrganizationCustomRulePolicyCommandOutput>;
|
|
806
|
+
getOrganizationCustomRulePolicy(args: GetOrganizationCustomRulePolicyCommandInput, cb: (err: any, data?: GetOrganizationCustomRulePolicyCommandOutput) => void): void;
|
|
807
|
+
getOrganizationCustomRulePolicy(args: GetOrganizationCustomRulePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrganizationCustomRulePolicyCommandOutput) => void): void;
|
|
794
808
|
/**
|
|
795
809
|
* <p>Returns a list of <code>ConfigurationItems</code> for the specified resource.
|
|
796
810
|
* The list contains details about each state of the resource
|
|
@@ -875,11 +889,11 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
875
889
|
/**
|
|
876
890
|
* <p>Adds or updates an Config rule for evaluating whether your
|
|
877
891
|
* Amazon Web Services resources comply with your desired configurations.</p>
|
|
878
|
-
* <p>You can use this action for custom
|
|
879
|
-
* managed rules. A custom
|
|
892
|
+
* <p>You can use this action for Config custom rules and Config
|
|
893
|
+
* managed rules. A Config custom rule is a rule that you
|
|
880
894
|
* develop and maintain. An Config managed rule is a customizable,
|
|
881
895
|
* predefined rule that Config provides.</p>
|
|
882
|
-
* <p>If you are adding a new custom
|
|
896
|
+
* <p>If you are adding a new Config custom rule, you must first
|
|
883
897
|
* create the Lambda function that the rule invokes to evaluate
|
|
884
898
|
* your resources. When you use the <code>PutConfigRule</code> action
|
|
885
899
|
* to add the rule to Config, you must specify the Amazon Resource
|
|
@@ -1002,9 +1016,9 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1002
1016
|
putExternalEvaluation(args: PutExternalEvaluationCommandInput, cb: (err: any, data?: PutExternalEvaluationCommandOutput) => void): void;
|
|
1003
1017
|
putExternalEvaluation(args: PutExternalEvaluationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutExternalEvaluationCommandOutput) => void): void;
|
|
1004
1018
|
/**
|
|
1005
|
-
* <p>Adds or updates organization
|
|
1019
|
+
* <p>Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your
|
|
1006
1020
|
* desired configurations.</p>
|
|
1007
|
-
* <p> Only a master account and a delegated administrator can create or update an organization
|
|
1021
|
+
* <p> Only a master account and a delegated administrator can create or update an organization Config rule.
|
|
1008
1022
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
1009
1023
|
* <code>ListDelegatedAdministrator</code> permissions are added. </p>
|
|
1010
1024
|
* <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service linked
|
|
@@ -1013,13 +1027,13 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1013
1027
|
* Config verifies the existence of role with <code>GetRole</code> action.</p>
|
|
1014
1028
|
* <p>To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization
|
|
1015
1029
|
* <code>register-delegated-administrator</code> for <code>config-multiaccountsetup.amazonaws.com</code>. </p>
|
|
1016
|
-
* <p>You can use this action to create both custom
|
|
1017
|
-
* If you are adding a new custom
|
|
1030
|
+
* <p>You can use this action to create both Config custom rules and Config managed rules.
|
|
1031
|
+
* If you are adding a new Config custom rule, you must first create Lambda function in the master account or a delegated
|
|
1018
1032
|
* 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.
|
|
1019
1033
|
* When you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must
|
|
1020
1034
|
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.
|
|
1021
1035
|
* If you are adding an Config managed rule, specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>
|
|
1022
|
-
* <p>The maximum number of organization
|
|
1036
|
+
* <p>The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization. </p>
|
|
1023
1037
|
* <note>
|
|
1024
1038
|
* <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p>
|
|
1025
1039
|
* <p>Specify either <code>OrganizationCustomRuleMetadata</code> or <code>OrganizationManagedRuleMetadata</code>.</p>
|
|
@@ -60,9 +60,11 @@ import { GetComplianceSummaryByConfigRuleCommandInput, GetComplianceSummaryByCon
|
|
|
60
60
|
import { GetComplianceSummaryByResourceTypeCommandInput, GetComplianceSummaryByResourceTypeCommandOutput } from "./commands/GetComplianceSummaryByResourceTypeCommand";
|
|
61
61
|
import { GetConformancePackComplianceDetailsCommandInput, GetConformancePackComplianceDetailsCommandOutput } from "./commands/GetConformancePackComplianceDetailsCommand";
|
|
62
62
|
import { GetConformancePackComplianceSummaryCommandInput, GetConformancePackComplianceSummaryCommandOutput } from "./commands/GetConformancePackComplianceSummaryCommand";
|
|
63
|
+
import { GetCustomRulePolicyCommandInput, GetCustomRulePolicyCommandOutput } from "./commands/GetCustomRulePolicyCommand";
|
|
63
64
|
import { GetDiscoveredResourceCountsCommandInput, GetDiscoveredResourceCountsCommandOutput } from "./commands/GetDiscoveredResourceCountsCommand";
|
|
64
65
|
import { GetOrganizationConfigRuleDetailedStatusCommandInput, GetOrganizationConfigRuleDetailedStatusCommandOutput } from "./commands/GetOrganizationConfigRuleDetailedStatusCommand";
|
|
65
66
|
import { GetOrganizationConformancePackDetailedStatusCommandInput, GetOrganizationConformancePackDetailedStatusCommandOutput } from "./commands/GetOrganizationConformancePackDetailedStatusCommand";
|
|
67
|
+
import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRulePolicyCommandOutput } from "./commands/GetOrganizationCustomRulePolicyCommand";
|
|
66
68
|
import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "./commands/GetResourceConfigHistoryCommand";
|
|
67
69
|
import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "./commands/GetStoredQueryCommand";
|
|
68
70
|
import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "./commands/ListAggregateDiscoveredResourcesCommand";
|
|
@@ -92,8 +94,8 @@ import { StartRemediationExecutionCommandInput, StartRemediationExecutionCommand
|
|
|
92
94
|
import { StopConfigurationRecorderCommandInput, StopConfigurationRecorderCommandOutput } from "./commands/StopConfigurationRecorderCommand";
|
|
93
95
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
94
96
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
95
|
-
export declare type ServiceInputTypes = BatchGetAggregateResourceConfigCommandInput | BatchGetResourceConfigCommandInput | DeleteAggregationAuthorizationCommandInput | DeleteConfigRuleCommandInput | DeleteConfigurationAggregatorCommandInput | DeleteConfigurationRecorderCommandInput | DeleteConformancePackCommandInput | DeleteDeliveryChannelCommandInput | DeleteEvaluationResultsCommandInput | DeleteOrganizationConfigRuleCommandInput | DeleteOrganizationConformancePackCommandInput | DeletePendingAggregationRequestCommandInput | DeleteRemediationConfigurationCommandInput | DeleteRemediationExceptionsCommandInput | DeleteResourceConfigCommandInput | DeleteRetentionConfigurationCommandInput | DeleteStoredQueryCommandInput | DeliverConfigSnapshotCommandInput | DescribeAggregateComplianceByConfigRulesCommandInput | DescribeAggregateComplianceByConformancePacksCommandInput | DescribeAggregationAuthorizationsCommandInput | DescribeComplianceByConfigRuleCommandInput | DescribeComplianceByResourceCommandInput | DescribeConfigRuleEvaluationStatusCommandInput | DescribeConfigRulesCommandInput | DescribeConfigurationAggregatorSourcesStatusCommandInput | DescribeConfigurationAggregatorsCommandInput | DescribeConfigurationRecorderStatusCommandInput | DescribeConfigurationRecordersCommandInput | DescribeConformancePackComplianceCommandInput | DescribeConformancePackStatusCommandInput | DescribeConformancePacksCommandInput | DescribeDeliveryChannelStatusCommandInput | DescribeDeliveryChannelsCommandInput | DescribeOrganizationConfigRuleStatusesCommandInput | DescribeOrganizationConfigRulesCommandInput | DescribeOrganizationConformancePackStatusesCommandInput | DescribeOrganizationConformancePacksCommandInput | DescribePendingAggregationRequestsCommandInput | DescribeRemediationConfigurationsCommandInput | DescribeRemediationExceptionsCommandInput | DescribeRemediationExecutionStatusCommandInput | DescribeRetentionConfigurationsCommandInput | GetAggregateComplianceDetailsByConfigRuleCommandInput | GetAggregateConfigRuleComplianceSummaryCommandInput | GetAggregateConformancePackComplianceSummaryCommandInput | GetAggregateDiscoveredResourceCountsCommandInput | GetAggregateResourceConfigCommandInput | GetComplianceDetailsByConfigRuleCommandInput | GetComplianceDetailsByResourceCommandInput | GetComplianceSummaryByConfigRuleCommandInput | GetComplianceSummaryByResourceTypeCommandInput | GetConformancePackComplianceDetailsCommandInput | GetConformancePackComplianceSummaryCommandInput | GetDiscoveredResourceCountsCommandInput | GetOrganizationConfigRuleDetailedStatusCommandInput | GetOrganizationConformancePackDetailedStatusCommandInput | GetResourceConfigHistoryCommandInput | GetStoredQueryCommandInput | ListAggregateDiscoveredResourcesCommandInput | ListDiscoveredResourcesCommandInput | ListStoredQueriesCommandInput | ListTagsForResourceCommandInput | PutAggregationAuthorizationCommandInput | PutConfigRuleCommandInput | PutConfigurationAggregatorCommandInput | PutConfigurationRecorderCommandInput | PutConformancePackCommandInput | PutDeliveryChannelCommandInput | PutEvaluationsCommandInput | PutExternalEvaluationCommandInput | PutOrganizationConfigRuleCommandInput | PutOrganizationConformancePackCommandInput | PutRemediationConfigurationsCommandInput | PutRemediationExceptionsCommandInput | PutResourceConfigCommandInput | PutRetentionConfigurationCommandInput | PutStoredQueryCommandInput | SelectAggregateResourceConfigCommandInput | SelectResourceConfigCommandInput | StartConfigRulesEvaluationCommandInput | StartConfigurationRecorderCommandInput | StartRemediationExecutionCommandInput | StopConfigurationRecorderCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
96
|
-
export declare type ServiceOutputTypes = BatchGetAggregateResourceConfigCommandOutput | BatchGetResourceConfigCommandOutput | DeleteAggregationAuthorizationCommandOutput | DeleteConfigRuleCommandOutput | DeleteConfigurationAggregatorCommandOutput | DeleteConfigurationRecorderCommandOutput | DeleteConformancePackCommandOutput | DeleteDeliveryChannelCommandOutput | DeleteEvaluationResultsCommandOutput | DeleteOrganizationConfigRuleCommandOutput | DeleteOrganizationConformancePackCommandOutput | DeletePendingAggregationRequestCommandOutput | DeleteRemediationConfigurationCommandOutput | DeleteRemediationExceptionsCommandOutput | DeleteResourceConfigCommandOutput | DeleteRetentionConfigurationCommandOutput | DeleteStoredQueryCommandOutput | DeliverConfigSnapshotCommandOutput | DescribeAggregateComplianceByConfigRulesCommandOutput | DescribeAggregateComplianceByConformancePacksCommandOutput | DescribeAggregationAuthorizationsCommandOutput | DescribeComplianceByConfigRuleCommandOutput | DescribeComplianceByResourceCommandOutput | DescribeConfigRuleEvaluationStatusCommandOutput | DescribeConfigRulesCommandOutput | DescribeConfigurationAggregatorSourcesStatusCommandOutput | DescribeConfigurationAggregatorsCommandOutput | DescribeConfigurationRecorderStatusCommandOutput | DescribeConfigurationRecordersCommandOutput | DescribeConformancePackComplianceCommandOutput | DescribeConformancePackStatusCommandOutput | DescribeConformancePacksCommandOutput | DescribeDeliveryChannelStatusCommandOutput | DescribeDeliveryChannelsCommandOutput | DescribeOrganizationConfigRuleStatusesCommandOutput | DescribeOrganizationConfigRulesCommandOutput | DescribeOrganizationConformancePackStatusesCommandOutput | DescribeOrganizationConformancePacksCommandOutput | DescribePendingAggregationRequestsCommandOutput | DescribeRemediationConfigurationsCommandOutput | DescribeRemediationExceptionsCommandOutput | DescribeRemediationExecutionStatusCommandOutput | DescribeRetentionConfigurationsCommandOutput | GetAggregateComplianceDetailsByConfigRuleCommandOutput | GetAggregateConfigRuleComplianceSummaryCommandOutput | GetAggregateConformancePackComplianceSummaryCommandOutput | GetAggregateDiscoveredResourceCountsCommandOutput | GetAggregateResourceConfigCommandOutput | GetComplianceDetailsByConfigRuleCommandOutput | GetComplianceDetailsByResourceCommandOutput | GetComplianceSummaryByConfigRuleCommandOutput | GetComplianceSummaryByResourceTypeCommandOutput | GetConformancePackComplianceDetailsCommandOutput | GetConformancePackComplianceSummaryCommandOutput | GetDiscoveredResourceCountsCommandOutput | GetOrganizationConfigRuleDetailedStatusCommandOutput | GetOrganizationConformancePackDetailedStatusCommandOutput | GetResourceConfigHistoryCommandOutput | GetStoredQueryCommandOutput | ListAggregateDiscoveredResourcesCommandOutput | ListDiscoveredResourcesCommandOutput | ListStoredQueriesCommandOutput | ListTagsForResourceCommandOutput | PutAggregationAuthorizationCommandOutput | PutConfigRuleCommandOutput | PutConfigurationAggregatorCommandOutput | PutConfigurationRecorderCommandOutput | PutConformancePackCommandOutput | PutDeliveryChannelCommandOutput | PutEvaluationsCommandOutput | PutExternalEvaluationCommandOutput | PutOrganizationConfigRuleCommandOutput | PutOrganizationConformancePackCommandOutput | PutRemediationConfigurationsCommandOutput | PutRemediationExceptionsCommandOutput | PutResourceConfigCommandOutput | PutRetentionConfigurationCommandOutput | PutStoredQueryCommandOutput | SelectAggregateResourceConfigCommandOutput | SelectResourceConfigCommandOutput | StartConfigRulesEvaluationCommandOutput | StartConfigurationRecorderCommandOutput | StartRemediationExecutionCommandOutput | StopConfigurationRecorderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
97
|
+
export declare type ServiceInputTypes = BatchGetAggregateResourceConfigCommandInput | BatchGetResourceConfigCommandInput | DeleteAggregationAuthorizationCommandInput | DeleteConfigRuleCommandInput | DeleteConfigurationAggregatorCommandInput | DeleteConfigurationRecorderCommandInput | DeleteConformancePackCommandInput | DeleteDeliveryChannelCommandInput | DeleteEvaluationResultsCommandInput | DeleteOrganizationConfigRuleCommandInput | DeleteOrganizationConformancePackCommandInput | DeletePendingAggregationRequestCommandInput | DeleteRemediationConfigurationCommandInput | DeleteRemediationExceptionsCommandInput | DeleteResourceConfigCommandInput | DeleteRetentionConfigurationCommandInput | DeleteStoredQueryCommandInput | DeliverConfigSnapshotCommandInput | DescribeAggregateComplianceByConfigRulesCommandInput | DescribeAggregateComplianceByConformancePacksCommandInput | DescribeAggregationAuthorizationsCommandInput | DescribeComplianceByConfigRuleCommandInput | DescribeComplianceByResourceCommandInput | DescribeConfigRuleEvaluationStatusCommandInput | DescribeConfigRulesCommandInput | DescribeConfigurationAggregatorSourcesStatusCommandInput | DescribeConfigurationAggregatorsCommandInput | DescribeConfigurationRecorderStatusCommandInput | DescribeConfigurationRecordersCommandInput | DescribeConformancePackComplianceCommandInput | DescribeConformancePackStatusCommandInput | DescribeConformancePacksCommandInput | DescribeDeliveryChannelStatusCommandInput | DescribeDeliveryChannelsCommandInput | DescribeOrganizationConfigRuleStatusesCommandInput | DescribeOrganizationConfigRulesCommandInput | DescribeOrganizationConformancePackStatusesCommandInput | DescribeOrganizationConformancePacksCommandInput | DescribePendingAggregationRequestsCommandInput | DescribeRemediationConfigurationsCommandInput | DescribeRemediationExceptionsCommandInput | DescribeRemediationExecutionStatusCommandInput | DescribeRetentionConfigurationsCommandInput | GetAggregateComplianceDetailsByConfigRuleCommandInput | GetAggregateConfigRuleComplianceSummaryCommandInput | GetAggregateConformancePackComplianceSummaryCommandInput | GetAggregateDiscoveredResourceCountsCommandInput | GetAggregateResourceConfigCommandInput | GetComplianceDetailsByConfigRuleCommandInput | GetComplianceDetailsByResourceCommandInput | GetComplianceSummaryByConfigRuleCommandInput | GetComplianceSummaryByResourceTypeCommandInput | GetConformancePackComplianceDetailsCommandInput | GetConformancePackComplianceSummaryCommandInput | GetCustomRulePolicyCommandInput | GetDiscoveredResourceCountsCommandInput | GetOrganizationConfigRuleDetailedStatusCommandInput | GetOrganizationConformancePackDetailedStatusCommandInput | GetOrganizationCustomRulePolicyCommandInput | GetResourceConfigHistoryCommandInput | GetStoredQueryCommandInput | ListAggregateDiscoveredResourcesCommandInput | ListDiscoveredResourcesCommandInput | ListStoredQueriesCommandInput | ListTagsForResourceCommandInput | PutAggregationAuthorizationCommandInput | PutConfigRuleCommandInput | PutConfigurationAggregatorCommandInput | PutConfigurationRecorderCommandInput | PutConformancePackCommandInput | PutDeliveryChannelCommandInput | PutEvaluationsCommandInput | PutExternalEvaluationCommandInput | PutOrganizationConfigRuleCommandInput | PutOrganizationConformancePackCommandInput | PutRemediationConfigurationsCommandInput | PutRemediationExceptionsCommandInput | PutResourceConfigCommandInput | PutRetentionConfigurationCommandInput | PutStoredQueryCommandInput | SelectAggregateResourceConfigCommandInput | SelectResourceConfigCommandInput | StartConfigRulesEvaluationCommandInput | StartConfigurationRecorderCommandInput | StartRemediationExecutionCommandInput | StopConfigurationRecorderCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
98
|
+
export declare type ServiceOutputTypes = BatchGetAggregateResourceConfigCommandOutput | BatchGetResourceConfigCommandOutput | DeleteAggregationAuthorizationCommandOutput | DeleteConfigRuleCommandOutput | DeleteConfigurationAggregatorCommandOutput | DeleteConfigurationRecorderCommandOutput | DeleteConformancePackCommandOutput | DeleteDeliveryChannelCommandOutput | DeleteEvaluationResultsCommandOutput | DeleteOrganizationConfigRuleCommandOutput | DeleteOrganizationConformancePackCommandOutput | DeletePendingAggregationRequestCommandOutput | DeleteRemediationConfigurationCommandOutput | DeleteRemediationExceptionsCommandOutput | DeleteResourceConfigCommandOutput | DeleteRetentionConfigurationCommandOutput | DeleteStoredQueryCommandOutput | DeliverConfigSnapshotCommandOutput | DescribeAggregateComplianceByConfigRulesCommandOutput | DescribeAggregateComplianceByConformancePacksCommandOutput | DescribeAggregationAuthorizationsCommandOutput | DescribeComplianceByConfigRuleCommandOutput | DescribeComplianceByResourceCommandOutput | DescribeConfigRuleEvaluationStatusCommandOutput | DescribeConfigRulesCommandOutput | DescribeConfigurationAggregatorSourcesStatusCommandOutput | DescribeConfigurationAggregatorsCommandOutput | DescribeConfigurationRecorderStatusCommandOutput | DescribeConfigurationRecordersCommandOutput | DescribeConformancePackComplianceCommandOutput | DescribeConformancePackStatusCommandOutput | DescribeConformancePacksCommandOutput | DescribeDeliveryChannelStatusCommandOutput | DescribeDeliveryChannelsCommandOutput | DescribeOrganizationConfigRuleStatusesCommandOutput | DescribeOrganizationConfigRulesCommandOutput | DescribeOrganizationConformancePackStatusesCommandOutput | DescribeOrganizationConformancePacksCommandOutput | DescribePendingAggregationRequestsCommandOutput | DescribeRemediationConfigurationsCommandOutput | DescribeRemediationExceptionsCommandOutput | DescribeRemediationExecutionStatusCommandOutput | DescribeRetentionConfigurationsCommandOutput | GetAggregateComplianceDetailsByConfigRuleCommandOutput | GetAggregateConfigRuleComplianceSummaryCommandOutput | GetAggregateConformancePackComplianceSummaryCommandOutput | GetAggregateDiscoveredResourceCountsCommandOutput | GetAggregateResourceConfigCommandOutput | GetComplianceDetailsByConfigRuleCommandOutput | GetComplianceDetailsByResourceCommandOutput | GetComplianceSummaryByConfigRuleCommandOutput | GetComplianceSummaryByResourceTypeCommandOutput | GetConformancePackComplianceDetailsCommandOutput | GetConformancePackComplianceSummaryCommandOutput | GetCustomRulePolicyCommandOutput | GetDiscoveredResourceCountsCommandOutput | GetOrganizationConfigRuleDetailedStatusCommandOutput | GetOrganizationConformancePackDetailedStatusCommandOutput | GetOrganizationCustomRulePolicyCommandOutput | GetResourceConfigHistoryCommandOutput | GetStoredQueryCommandOutput | ListAggregateDiscoveredResourcesCommandOutput | ListDiscoveredResourcesCommandOutput | ListStoredQueriesCommandOutput | ListTagsForResourceCommandOutput | PutAggregationAuthorizationCommandOutput | PutConfigRuleCommandOutput | PutConfigurationAggregatorCommandOutput | PutConfigurationRecorderCommandOutput | PutConformancePackCommandOutput | PutDeliveryChannelCommandOutput | PutEvaluationsCommandOutput | PutExternalEvaluationCommandOutput | PutOrganizationConfigRuleCommandOutput | PutOrganizationConformancePackCommandOutput | PutRemediationConfigurationsCommandOutput | PutRemediationExceptionsCommandOutput | PutResourceConfigCommandOutput | PutRetentionConfigurationCommandOutput | PutStoredQueryCommandOutput | SelectAggregateResourceConfigCommandOutput | SelectResourceConfigCommandOutput | StartConfigRulesEvaluationCommandOutput | StartConfigurationRecorderCommandOutput | StartRemediationExecutionCommandOutput | StopConfigurationRecorderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
97
99
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
98
100
|
/**
|
|
99
101
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -7,8 +7,8 @@ export interface DeleteOrganizationConfigRuleCommandInput extends DeleteOrganiza
|
|
|
7
7
|
export interface DeleteOrganizationConfigRuleCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes the specified organization
|
|
11
|
-
* <p>Only a master account and a delegated administrator account can delete an organization
|
|
10
|
+
* <p>Deletes the specified organization Config rule and all of its evaluation results from all member accounts in that organization. </p>
|
|
11
|
+
* <p>Only a master account and a delegated administrator account can delete an organization Config rule.
|
|
12
12
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
13
13
|
* <code>ListDelegatedAdministrator</code> permissions are added.</p>
|
|
14
14
|
* <p>Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete.
|
|
@@ -7,7 +7,7 @@ export interface DeleteOrganizationConformancePackCommandInput extends DeleteOrg
|
|
|
7
7
|
export interface DeleteOrganizationConformancePackCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes the specified organization conformance pack and all of the
|
|
10
|
+
* <p>Deletes the specified organization conformance pack and all of the Config rules and remediation actions from
|
|
11
11
|
* all member accounts in that organization. </p>
|
|
12
12
|
* <p> Only a master account or a delegated administrator account can delete an organization conformance pack.
|
|
13
13
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
@@ -7,14 +7,14 @@ export interface DescribeOrganizationConfigRuleStatusesCommandInput extends Desc
|
|
|
7
7
|
export interface DescribeOrganizationConfigRuleStatusesCommandOutput extends DescribeOrganizationConfigRuleStatusesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Provides organization
|
|
10
|
+
* <p>Provides organization Config rule deployment status for an organization.</p>
|
|
11
11
|
*
|
|
12
12
|
* <note>
|
|
13
|
-
* <p>The status is not considered successful until organization
|
|
13
|
+
* <p>The status is not considered successful until organization Config rule is successfully deployed in all the member
|
|
14
14
|
* accounts with an exception of excluded accounts.</p>
|
|
15
15
|
* <p>When you specify the limit and the next token, you receive a paginated response.
|
|
16
|
-
* Limit and next token are not applicable if you specify organization
|
|
17
|
-
* It is only applicable, when you request all the organization
|
|
16
|
+
* Limit and next token are not applicable if you specify organization Config rule names.
|
|
17
|
+
* It is only applicable, when you request all the organization Config rules.</p>
|
|
18
18
|
* </note>
|
|
19
19
|
* @example
|
|
20
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,12 +7,12 @@ export interface DescribeOrganizationConfigRulesCommandInput extends DescribeOrg
|
|
|
7
7
|
export interface DescribeOrganizationConfigRulesCommandOutput extends DescribeOrganizationConfigRulesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of organization
|
|
10
|
+
* <p>Returns a list of organization Config rules. </p>
|
|
11
11
|
*
|
|
12
12
|
* <note>
|
|
13
13
|
* <p>When you specify the limit and the next token, you receive a paginated response.
|
|
14
|
-
* Limit and next token are not applicable if you specify organization
|
|
15
|
-
* It is only applicable, when you request all the organization
|
|
14
|
+
* Limit and next token are not applicable if you specify organization Config rule names.
|
|
15
|
+
* It is only applicable, when you request all the organization Config rules.</p>
|
|
16
16
|
* </note>
|
|
17
17
|
* @example
|
|
18
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
|
|
4
|
+
import { GetCustomRulePolicyRequest, GetCustomRulePolicyResponse } from "../models/models_0";
|
|
5
|
+
export interface GetCustomRulePolicyCommandInput extends GetCustomRulePolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetCustomRulePolicyCommandOutput extends GetCustomRulePolicyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns the policy definition containing the logic for your Config Custom Policy rule.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConfigServiceClient, GetCustomRulePolicyCommand } from "@aws-sdk/client-config-service"; // ES Modules import
|
|
15
|
+
* // const { ConfigServiceClient, GetCustomRulePolicyCommand } = require("@aws-sdk/client-config-service"); // CommonJS import
|
|
16
|
+
* const client = new ConfigServiceClient(config);
|
|
17
|
+
* const command = new GetCustomRulePolicyCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetCustomRulePolicyCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetCustomRulePolicyCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetCustomRulePolicyCommand extends $Command<GetCustomRulePolicyCommandInput, GetCustomRulePolicyCommandOutput, ConfigServiceClientResolvedConfig> {
|
|
27
|
+
readonly input: GetCustomRulePolicyCommandInput;
|
|
28
|
+
constructor(input: GetCustomRulePolicyCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCustomRulePolicyCommandInput, GetCustomRulePolicyCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -7,7 +7,7 @@ export interface GetOrganizationConfigRuleDetailedStatusCommandInput extends Get
|
|
|
7
7
|
export interface GetOrganizationConfigRuleDetailedStatusCommandOutput extends GetOrganizationConfigRuleDetailedStatusResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns detailed status for each member account within an organization for a given organization
|
|
10
|
+
* <p>Returns detailed status for each member account within an organization for a given organization Config rule.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
|
|
4
|
+
import { GetOrganizationCustomRulePolicyRequest, GetOrganizationCustomRulePolicyResponse } from "../models/models_0";
|
|
5
|
+
export interface GetOrganizationCustomRulePolicyCommandInput extends GetOrganizationCustomRulePolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetOrganizationCustomRulePolicyCommandOutput extends GetOrganizationCustomRulePolicyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns the policy definition containing the logic for your organization Config Custom Policy rule.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConfigServiceClient, GetOrganizationCustomRulePolicyCommand } from "@aws-sdk/client-config-service"; // ES Modules import
|
|
15
|
+
* // const { ConfigServiceClient, GetOrganizationCustomRulePolicyCommand } = require("@aws-sdk/client-config-service"); // CommonJS import
|
|
16
|
+
* const client = new ConfigServiceClient(config);
|
|
17
|
+
* const command = new GetOrganizationCustomRulePolicyCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetOrganizationCustomRulePolicyCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetOrganizationCustomRulePolicyCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetOrganizationCustomRulePolicyCommand extends $Command<GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRulePolicyCommandOutput, ConfigServiceClientResolvedConfig> {
|
|
27
|
+
readonly input: GetOrganizationCustomRulePolicyCommandInput;
|
|
28
|
+
constructor(input: GetOrganizationCustomRulePolicyCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRulePolicyCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -9,11 +9,11 @@ export interface PutConfigRuleCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Adds or updates an Config rule for evaluating whether your
|
|
11
11
|
* Amazon Web Services resources comply with your desired configurations.</p>
|
|
12
|
-
* <p>You can use this action for custom
|
|
13
|
-
* managed rules. A custom
|
|
12
|
+
* <p>You can use this action for Config custom rules and Config
|
|
13
|
+
* managed rules. A Config custom rule is a rule that you
|
|
14
14
|
* develop and maintain. An Config managed rule is a customizable,
|
|
15
15
|
* predefined rule that Config provides.</p>
|
|
16
|
-
* <p>If you are adding a new custom
|
|
16
|
+
* <p>If you are adding a new Config custom rule, you must first
|
|
17
17
|
* create the Lambda function that the rule invokes to evaluate
|
|
18
18
|
* your resources. When you use the <code>PutConfigRule</code> action
|
|
19
19
|
* to add the rule to Config, you must specify the Amazon Resource
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { PutOrganizationConfigRuleRequest, PutOrganizationConfigRuleResponse } from "../models/
|
|
4
|
+
import { PutOrganizationConfigRuleRequest, PutOrganizationConfigRuleResponse } from "../models/models_1";
|
|
5
5
|
export interface PutOrganizationConfigRuleCommandInput extends PutOrganizationConfigRuleRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface PutOrganizationConfigRuleCommandOutput extends PutOrganizationConfigRuleResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Adds or updates organization
|
|
10
|
+
* <p>Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your
|
|
11
11
|
* desired configurations.</p>
|
|
12
|
-
* <p> Only a master account and a delegated administrator can create or update an organization
|
|
12
|
+
* <p> Only a master account and a delegated administrator can create or update an organization Config rule.
|
|
13
13
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
14
14
|
* <code>ListDelegatedAdministrator</code> permissions are added. </p>
|
|
15
15
|
* <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service linked
|
|
@@ -18,13 +18,13 @@ export interface PutOrganizationConfigRuleCommandOutput extends PutOrganizationC
|
|
|
18
18
|
* Config verifies the existence of role with <code>GetRole</code> action.</p>
|
|
19
19
|
* <p>To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization
|
|
20
20
|
* <code>register-delegated-administrator</code> for <code>config-multiaccountsetup.amazonaws.com</code>. </p>
|
|
21
|
-
* <p>You can use this action to create both custom
|
|
22
|
-
* If you are adding a new custom
|
|
21
|
+
* <p>You can use this action to create both Config custom rules and Config managed rules.
|
|
22
|
+
* If you are adding a new Config custom rule, you must first create Lambda function in the master account or a delegated
|
|
23
23
|
* 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.
|
|
24
24
|
* When you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must
|
|
25
25
|
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.
|
|
26
26
|
* If you are adding an Config managed rule, specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>
|
|
27
|
-
* <p>The maximum number of organization
|
|
27
|
+
* <p>The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization. </p>
|
|
28
28
|
* <note>
|
|
29
29
|
* <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p>
|
|
30
30
|
* <p>Specify either <code>OrganizationCustomRuleMetadata</code> or <code>OrganizationManagedRuleMetadata</code>.</p>
|
|
@@ -1,7 +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 { PutOrganizationConformancePackRequest, PutOrganizationConformancePackResponse } from "../models/
|
|
4
|
+
import { PutOrganizationConformancePackRequest, PutOrganizationConformancePackResponse } from "../models/models_1";
|
|
5
5
|
export interface PutOrganizationConformancePackCommandInput extends PutOrganizationConformancePackRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface PutOrganizationConformancePackCommandOutput extends PutOrganizationConformancePackResponse, __MetadataBearer {
|
|
@@ -1,7 +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 { PutRemediationConfigurationsRequest, PutRemediationConfigurationsResponse } from "../models/
|
|
4
|
+
import { PutRemediationConfigurationsRequest, PutRemediationConfigurationsResponse } from "../models/models_1";
|
|
5
5
|
export interface PutRemediationConfigurationsCommandInput extends PutRemediationConfigurationsRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface PutRemediationConfigurationsCommandOutput extends PutRemediationConfigurationsResponse, __MetadataBearer {
|
|
@@ -1,7 +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 { PutRemediationExceptionsRequest, PutRemediationExceptionsResponse } from "../models/
|
|
4
|
+
import { PutRemediationExceptionsRequest, PutRemediationExceptionsResponse } from "../models/models_1";
|
|
5
5
|
export interface PutRemediationExceptionsCommandInput extends PutRemediationExceptionsRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface PutRemediationExceptionsCommandOutput extends PutRemediationExceptionsResponse, __MetadataBearer {
|
|
@@ -52,9 +52,11 @@ export * from "./GetComplianceSummaryByConfigRuleCommand";
|
|
|
52
52
|
export * from "./GetComplianceSummaryByResourceTypeCommand";
|
|
53
53
|
export * from "./GetConformancePackComplianceDetailsCommand";
|
|
54
54
|
export * from "./GetConformancePackComplianceSummaryCommand";
|
|
55
|
+
export * from "./GetCustomRulePolicyCommand";
|
|
55
56
|
export * from "./GetDiscoveredResourceCountsCommand";
|
|
56
57
|
export * from "./GetOrganizationConfigRuleDetailedStatusCommand";
|
|
57
58
|
export * from "./GetOrganizationConformancePackDetailedStatusCommand";
|
|
59
|
+
export * from "./GetOrganizationCustomRulePolicyCommand";
|
|
58
60
|
export * from "./GetResourceConfigHistoryCommand";
|
|
59
61
|
export * from "./GetStoredQueryCommand";
|
|
60
62
|
export * from "./ListAggregateDiscoveredResourcesCommand";
|