@aws-sdk/client-config-service 3.121.0 → 3.123.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 +8 -0
- package/dist-types/ConfigService.d.ts +43 -7
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +18 -3
- package/dist-types/commands/DescribeOrganizationConformancePacksCommand.d.ts +16 -1
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +5 -3
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +5 -2
- package/dist-types/models/models_1.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.123.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.122.0...v3.123.0) (2022-07-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-config-service
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -526,10 +526,25 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
526
526
|
* <p>Returns a list of organization Config rules. </p>
|
|
527
527
|
*
|
|
528
528
|
* <note>
|
|
529
|
-
* <p>When you specify the limit and the next token, you receive a paginated response
|
|
530
|
-
*
|
|
529
|
+
* <p>When you specify the limit and the next token, you receive a paginated response.</p>
|
|
530
|
+
* <p>Limit and next token are not applicable if you specify organization Config rule names.
|
|
531
531
|
* It is only applicable, when you request all the organization Config rules.</p>
|
|
532
|
-
*
|
|
532
|
+
*
|
|
533
|
+
* <p>
|
|
534
|
+
* <i>For accounts within an organzation</i>
|
|
535
|
+
* </p>
|
|
536
|
+
*
|
|
537
|
+
* <p>If you deploy an organizational rule or conformance pack in an organization
|
|
538
|
+
* administrator account, and then establish a delegated administrator and deploy an
|
|
539
|
+
* organizational rule or conformance pack in the delegated administrator account, you
|
|
540
|
+
* won't be able to see the organizational rule or conformance pack in the organization
|
|
541
|
+
* administrator account from the delegated administrator account or see the organizational
|
|
542
|
+
* rule or conformance pack in the delegated administrator account from organization
|
|
543
|
+
* administrator account. The <code>DescribeOrganizationConfigRules</code> and
|
|
544
|
+
* <code>DescribeOrganizationConformancePacks</code> APIs can only see and interact with
|
|
545
|
+
* the organization-related resource that were deployed from within the account calling
|
|
546
|
+
* those APIs.</p>
|
|
547
|
+
* </note>
|
|
533
548
|
*/
|
|
534
549
|
describeOrganizationConfigRules(args: DescribeOrganizationConfigRulesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConfigRulesCommandOutput>;
|
|
535
550
|
describeOrganizationConfigRules(args: DescribeOrganizationConfigRulesCommandInput, cb: (err: any, data?: DescribeOrganizationConfigRulesCommandOutput) => void): void;
|
|
@@ -554,7 +569,22 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
554
569
|
* <p>When you specify the limit and the next token, you receive a paginated response. </p>
|
|
555
570
|
* <p>Limit and next token are not applicable if you specify organization conformance packs names. They are only applicable,
|
|
556
571
|
* when you request all the organization conformance packs. </p>
|
|
557
|
-
*
|
|
572
|
+
*
|
|
573
|
+
* <p>
|
|
574
|
+
* <i>For accounts within an organzation</i>
|
|
575
|
+
* </p>
|
|
576
|
+
*
|
|
577
|
+
* <p>If you deploy an organizational rule or conformance pack in an organization
|
|
578
|
+
* administrator account, and then establish a delegated administrator and deploy an
|
|
579
|
+
* organizational rule or conformance pack in the delegated administrator account, you
|
|
580
|
+
* won't be able to see the organizational rule or conformance pack in the organization
|
|
581
|
+
* administrator account from the delegated administrator account or see the organizational
|
|
582
|
+
* rule or conformance pack in the delegated administrator account from organization
|
|
583
|
+
* administrator account. The <code>DescribeOrganizationConfigRules</code> and
|
|
584
|
+
* <code>DescribeOrganizationConformancePacks</code> APIs can only see and interact with
|
|
585
|
+
* the organization-related resource that were deployed from within the account calling
|
|
586
|
+
* those APIs.</p>
|
|
587
|
+
* </note>
|
|
558
588
|
*/
|
|
559
589
|
describeOrganizationConformancePacks(args: DescribeOrganizationConformancePacksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeOrganizationConformancePacksCommandOutput>;
|
|
560
590
|
describeOrganizationConformancePacks(args: DescribeOrganizationConformancePacksCommandInput, cb: (err: any, data?: DescribeOrganizationConformancePacksCommandOutput) => void): void;
|
|
@@ -1043,10 +1073,13 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1043
1073
|
putOrganizationConfigRule(args: PutOrganizationConfigRuleCommandInput, cb: (err: any, data?: PutOrganizationConfigRuleCommandOutput) => void): void;
|
|
1044
1074
|
putOrganizationConfigRule(args: PutOrganizationConfigRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutOrganizationConfigRuleCommandOutput) => void): void;
|
|
1045
1075
|
/**
|
|
1046
|
-
* <p>Deploys conformance packs across member accounts in an Amazon Web Services Organization
|
|
1076
|
+
* <p>Deploys conformance packs across member accounts in an Amazon Web Services Organization. For information on how many organization conformance packs and how many Config rules you can have per account,
|
|
1077
|
+
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
|
|
1078
|
+
* <b>Service Limits</b>
|
|
1079
|
+
* </a> in the Config Developer Guide.</p>
|
|
1047
1080
|
* <p>Only a master account and a delegated administrator can call this API.
|
|
1048
1081
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
1049
|
-
* <code>ListDelegatedAdministrator</code> permissions are added.</p>
|
|
1082
|
+
* <code>ListDelegatedAdministrator</code> permissions are added. An organization can have up to 3 delegated administrators.</p>
|
|
1050
1083
|
* <p>This API enables organization service access for <code>config-multiaccountsetup.amazonaws.com</code>
|
|
1051
1084
|
* through the <code>EnableAWSServiceAccess</code> action and creates a
|
|
1052
1085
|
* service linked role <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization.
|
|
@@ -1062,7 +1095,6 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1062
1095
|
* If you provide both Config uses the <code>TemplateS3Uri</code> parameter and ignores the <code>TemplateBody</code> parameter.</p>
|
|
1063
1096
|
* <p>Config sets the state of a conformance pack to CREATE_IN_PROGRESS and UPDATE_IN_PROGRESS until the conformance pack is created or updated.
|
|
1064
1097
|
* You cannot update a conformance pack while it is in this state.</p>
|
|
1065
|
-
* <p>You can create 50 conformance packs with 25 Config rules in each pack and 3 delegated administrator per organization. </p>
|
|
1066
1098
|
* </note>
|
|
1067
1099
|
*/
|
|
1068
1100
|
putOrganizationConformancePack(args: PutOrganizationConformancePackCommandInput, options?: __HttpHandlerOptions): Promise<PutOrganizationConformancePackCommandOutput>;
|
|
@@ -1080,6 +1112,10 @@ export declare class ConfigService extends ConfigServiceClient {
|
|
|
1080
1112
|
* <p>This API does not support adding remediation configurations for service-linked Config Rules such as Organization Config rules,
|
|
1081
1113
|
* the rules deployed by conformance packs, and rules deployed by Amazon Web Services Security Hub.</p>
|
|
1082
1114
|
* </note>
|
|
1115
|
+
* <note>
|
|
1116
|
+
* <p>For manual remediation configuration, you need to provide a value for <code>automationAssumeRole</code> or use a value in the <code>assumeRole</code>field to remediate your resources. The SSM automation document can use either as long as it maps to a valid parameter.</p>
|
|
1117
|
+
* <p>However, for automatic remediation configuration, the only valid <code>assumeRole</code> field value is <code>AutomationAssumeRole</code> and you need to provide a value for <code>AutomationAssumeRole</code> to remediate your resources.</p>
|
|
1118
|
+
* </note>
|
|
1083
1119
|
*/
|
|
1084
1120
|
putRemediationConfigurations(args: PutRemediationConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<PutRemediationConfigurationsCommandOutput>;
|
|
1085
1121
|
putRemediationConfigurations(args: PutRemediationConfigurationsCommandInput, cb: (err: any, data?: PutRemediationConfigurationsCommandOutput) => void): void;
|
|
@@ -10,10 +10,25 @@ export interface DescribeOrganizationConfigRulesCommandOutput extends DescribeOr
|
|
|
10
10
|
* <p>Returns a list of organization Config rules. </p>
|
|
11
11
|
*
|
|
12
12
|
* <note>
|
|
13
|
-
* <p>When you specify the limit and the next token, you receive a paginated response
|
|
14
|
-
*
|
|
13
|
+
* <p>When you specify the limit and the next token, you receive a paginated response.</p>
|
|
14
|
+
* <p>Limit and next token are not applicable if you specify organization Config rule names.
|
|
15
15
|
* It is only applicable, when you request all the organization Config rules.</p>
|
|
16
|
-
*
|
|
16
|
+
*
|
|
17
|
+
* <p>
|
|
18
|
+
* <i>For accounts within an organzation</i>
|
|
19
|
+
* </p>
|
|
20
|
+
*
|
|
21
|
+
* <p>If you deploy an organizational rule or conformance pack in an organization
|
|
22
|
+
* administrator account, and then establish a delegated administrator and deploy an
|
|
23
|
+
* organizational rule or conformance pack in the delegated administrator account, you
|
|
24
|
+
* won't be able to see the organizational rule or conformance pack in the organization
|
|
25
|
+
* administrator account from the delegated administrator account or see the organizational
|
|
26
|
+
* rule or conformance pack in the delegated administrator account from organization
|
|
27
|
+
* administrator account. The <code>DescribeOrganizationConfigRules</code> and
|
|
28
|
+
* <code>DescribeOrganizationConformancePacks</code> APIs can only see and interact with
|
|
29
|
+
* the organization-related resource that were deployed from within the account calling
|
|
30
|
+
* those APIs.</p>
|
|
31
|
+
* </note>
|
|
17
32
|
* @example
|
|
18
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
34
|
* ```javascript
|
|
@@ -12,7 +12,22 @@ export interface DescribeOrganizationConformancePacksCommandOutput extends Descr
|
|
|
12
12
|
* <p>When you specify the limit and the next token, you receive a paginated response. </p>
|
|
13
13
|
* <p>Limit and next token are not applicable if you specify organization conformance packs names. They are only applicable,
|
|
14
14
|
* when you request all the organization conformance packs. </p>
|
|
15
|
-
*
|
|
15
|
+
*
|
|
16
|
+
* <p>
|
|
17
|
+
* <i>For accounts within an organzation</i>
|
|
18
|
+
* </p>
|
|
19
|
+
*
|
|
20
|
+
* <p>If you deploy an organizational rule or conformance pack in an organization
|
|
21
|
+
* administrator account, and then establish a delegated administrator and deploy an
|
|
22
|
+
* organizational rule or conformance pack in the delegated administrator account, you
|
|
23
|
+
* won't be able to see the organizational rule or conformance pack in the organization
|
|
24
|
+
* administrator account from the delegated administrator account or see the organizational
|
|
25
|
+
* rule or conformance pack in the delegated administrator account from organization
|
|
26
|
+
* administrator account. The <code>DescribeOrganizationConfigRules</code> and
|
|
27
|
+
* <code>DescribeOrganizationConformancePacks</code> APIs can only see and interact with
|
|
28
|
+
* the organization-related resource that were deployed from within the account calling
|
|
29
|
+
* those APIs.</p>
|
|
30
|
+
* </note>
|
|
16
31
|
* @example
|
|
17
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
33
|
* ```javascript
|
|
@@ -7,10 +7,13 @@ export interface PutOrganizationConformancePackCommandInput extends PutOrganizat
|
|
|
7
7
|
export interface PutOrganizationConformancePackCommandOutput extends PutOrganizationConformancePackResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deploys conformance packs across member accounts in an Amazon Web Services Organization
|
|
10
|
+
* <p>Deploys conformance packs across member accounts in an Amazon Web Services Organization. For information on how many organization conformance packs and how many Config rules you can have per account,
|
|
11
|
+
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
|
|
12
|
+
* <b>Service Limits</b>
|
|
13
|
+
* </a> in the Config Developer Guide.</p>
|
|
11
14
|
* <p>Only a master account and a delegated administrator can call this API.
|
|
12
15
|
* When calling this API with a delegated administrator, you must ensure Organizations
|
|
13
|
-
* <code>ListDelegatedAdministrator</code> permissions are added.</p>
|
|
16
|
+
* <code>ListDelegatedAdministrator</code> permissions are added. An organization can have up to 3 delegated administrators.</p>
|
|
14
17
|
* <p>This API enables organization service access for <code>config-multiaccountsetup.amazonaws.com</code>
|
|
15
18
|
* through the <code>EnableAWSServiceAccess</code> action and creates a
|
|
16
19
|
* service linked role <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization.
|
|
@@ -26,7 +29,6 @@ export interface PutOrganizationConformancePackCommandOutput extends PutOrganiza
|
|
|
26
29
|
* If you provide both Config uses the <code>TemplateS3Uri</code> parameter and ignores the <code>TemplateBody</code> parameter.</p>
|
|
27
30
|
* <p>Config sets the state of a conformance pack to CREATE_IN_PROGRESS and UPDATE_IN_PROGRESS until the conformance pack is created or updated.
|
|
28
31
|
* You cannot update a conformance pack while it is in this state.</p>
|
|
29
|
-
* <p>You can create 50 conformance packs with 25 Config rules in each pack and 3 delegated administrator per organization. </p>
|
|
30
32
|
* </note>
|
|
31
33
|
* @example
|
|
32
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -18,6 +18,10 @@ export interface PutRemediationConfigurationsCommandOutput extends PutRemediatio
|
|
|
18
18
|
* <p>This API does not support adding remediation configurations for service-linked Config Rules such as Organization Config rules,
|
|
19
19
|
* the rules deployed by conformance packs, and rules deployed by Amazon Web Services Security Hub.</p>
|
|
20
20
|
* </note>
|
|
21
|
+
* <note>
|
|
22
|
+
* <p>For manual remediation configuration, you need to provide a value for <code>automationAssumeRole</code> or use a value in the <code>assumeRole</code>field to remediate your resources. The SSM automation document can use either as long as it maps to a valid parameter.</p>
|
|
23
|
+
* <p>However, for automatic remediation configuration, the only valid <code>assumeRole</code> field value is <code>AutomationAssumeRole</code> and you need to provide a value for <code>AutomationAssumeRole</code> to remediate your resources.</p>
|
|
24
|
+
* </note>
|
|
21
25
|
* @example
|
|
22
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
27
|
* ```javascript
|
|
@@ -1309,7 +1309,7 @@ export interface ConfigRule {
|
|
|
1309
1309
|
* <code>MaximumExecutionFrequency</code> when:</p>
|
|
1310
1310
|
* <ul>
|
|
1311
1311
|
* <li>
|
|
1312
|
-
* <p>
|
|
1312
|
+
* <p>This is for an Config managed rule that is triggered at
|
|
1313
1313
|
* a periodic frequency.</p>
|
|
1314
1314
|
* </li>
|
|
1315
1315
|
* <li>
|
|
@@ -1950,6 +1950,9 @@ export interface ConfigurationRecorder {
|
|
|
1950
1950
|
/**
|
|
1951
1951
|
* <p>Amazon Resource Name (ARN) of the IAM role used to describe the
|
|
1952
1952
|
* Amazon Web Services resources associated with the account.</p>
|
|
1953
|
+
* <note>
|
|
1954
|
+
* <p>While the API model does not require this field, the server will reject a request without a defined roleARN for the configuration recorder.</p>
|
|
1955
|
+
* </note>
|
|
1953
1956
|
*/
|
|
1954
1957
|
roleARN?: string;
|
|
1955
1958
|
/**
|
|
@@ -3867,7 +3870,7 @@ export interface OrganizationManagedRuleMetadata {
|
|
|
3867
3870
|
*/
|
|
3868
3871
|
InputParameters?: string;
|
|
3869
3872
|
/**
|
|
3870
|
-
* <p>The maximum frequency with which Config runs evaluations for a rule.
|
|
3873
|
+
* <p>The maximum frequency with which Config runs evaluations for a rule. This is for an Config managed rule that is triggered at a periodic frequency.</p>
|
|
3871
3874
|
* <note>
|
|
3872
3875
|
* <p>By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid
|
|
3873
3876
|
* value for the <code>MaximumExecutionFrequency</code> parameter.</p>
|
|
@@ -191,6 +191,10 @@ export interface PutResourceConfigRequest {
|
|
|
191
191
|
Configuration: string | undefined;
|
|
192
192
|
/**
|
|
193
193
|
* <p>Tags associated with the resource.</p>
|
|
194
|
+
* <note>
|
|
195
|
+
* <p>This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services resources.
|
|
196
|
+
* Tags for <code>PutResourceConfig</code> are tags that you supply for the configuration items of your custom resources.</p>
|
|
197
|
+
* </note>
|
|
194
198
|
*/
|
|
195
199
|
Tags?: Record<string, string>;
|
|
196
200
|
}
|
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.123.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",
|