@aws-sdk/client-config-service 3.699.0 → 3.709.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/README.md +40 -0
- package/dist-cjs/index.js +304 -36
- package/dist-es/ConfigService.js +10 -0
- package/dist-es/commands/AssociateResourceTypesCommand.js +22 -0
- package/dist-es/commands/DeleteServiceLinkedConfigurationRecorderCommand.js +22 -0
- package/dist-es/commands/DisassociateResourceTypesCommand.js +22 -0
- package/dist-es/commands/ListConfigurationRecordersCommand.js +22 -0
- package/dist-es/commands/PutServiceLinkedConfigurationRecorderCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +53 -25
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/pagination/ListConfigurationRecordersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +129 -7
- package/dist-types/ConfigService.d.ts +36 -0
- package/dist-types/ConfigServiceClient.d.ts +7 -2
- package/dist-types/commands/AssociateResourceTypesCommand.d.ts +163 -0
- package/dist-types/commands/BatchGetAggregateResourceConfigCommand.d.ts +34 -3
- package/dist-types/commands/BatchGetResourceConfigCommand.d.ts +35 -5
- package/dist-types/commands/DeleteConfigRuleCommand.d.ts +24 -0
- package/dist-types/commands/DeleteConfigurationRecorderCommand.d.ts +15 -7
- package/dist-types/commands/DeleteDeliveryChannelCommand.d.ts +2 -4
- package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRemediationConfigurationCommand.d.ts +7 -4
- package/dist-types/commands/DeleteResourceConfigCommand.d.ts +34 -3
- package/dist-types/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +138 -0
- package/dist-types/commands/DeleteStoredQueryCommand.d.ts +34 -3
- package/dist-types/commands/DeliverConfigSnapshotCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAggregateComplianceByConfigRulesCommand.d.ts +34 -3
- package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +35 -4
- package/dist-types/commands/DescribeComplianceByConfigRuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComplianceByResourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeConfigurationAggregatorsCommand.d.ts +15 -1
- package/dist-types/commands/DescribeConfigurationRecorderStatusCommand.d.ts +47 -7
- package/dist-types/commands/DescribeConfigurationRecordersCommand.d.ts +45 -5
- package/dist-types/commands/DescribeDeliveryChannelStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeliveryChannelsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConformancePackStatusesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConformancePacksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRetentionConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateResourceTypesCommand.d.ts +163 -0
- package/dist-types/commands/GetAggregateComplianceDetailsByConfigRuleCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateConfigRuleComplianceSummaryCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateConformancePackComplianceSummaryCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateDiscoveredResourceCountsCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateResourceConfigCommand.d.ts +37 -3
- package/dist-types/commands/GetDiscoveredResourceCountsCommand.d.ts +34 -3
- package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationConformancePackDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceConfigHistoryCommand.d.ts +35 -5
- package/dist-types/commands/GetStoredQueryCommand.d.ts +34 -3
- package/dist-types/commands/ListAggregateDiscoveredResourcesCommand.d.ts +34 -3
- package/dist-types/commands/ListConfigurationRecordersCommand.d.ts +124 -0
- package/dist-types/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
- package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +36 -6
- package/dist-types/commands/ListResourceEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/ListStoredQueriesCommand.d.ts +35 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -5
- package/dist-types/commands/PutAggregationAuthorizationCommand.d.ts +4 -0
- package/dist-types/commands/PutConfigRuleCommand.d.ts +12 -6
- package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +37 -3
- package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +79 -16
- package/dist-types/commands/PutConformancePackCommand.d.ts +7 -4
- package/dist-types/commands/PutDeliveryChannelCommand.d.ts +14 -18
- package/dist-types/commands/PutEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +42 -8
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +42 -8
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +7 -4
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +13 -4
- package/dist-types/commands/PutResourceConfigCommand.d.ts +41 -7
- package/dist-types/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +182 -0
- package/dist-types/commands/PutStoredQueryCommand.d.ts +37 -3
- package/dist-types/commands/StartConfigRulesEvaluationCommand.d.ts +3 -1
- package/dist-types/commands/StartConfigurationRecorderCommand.d.ts +14 -4
- package/dist-types/commands/StartRemediationExecutionCommand.d.ts +7 -4
- package/dist-types/commands/StopConfigurationRecorderCommand.d.ts +12 -1
- package/dist-types/commands/TagResourceCommand.d.ts +35 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +34 -3
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +1288 -1339
- package/dist-types/models/models_1.d.ts +551 -12
- package/dist-types/pagination/ListConfigurationRecordersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/ConfigService.d.ts +98 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateResourceTypesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateResourceTypesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfigurationRecordersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListResourceEvaluationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStoredQueriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +134 -132
- package/dist-types/ts3.4/models/models_1.d.ts +105 -0
- package/dist-types/ts3.4/pagination/ListConfigurationRecordersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +35 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
|
|
4
|
-
import { ListStoredQueriesRequest, ListStoredQueriesResponse } from "../models/
|
|
4
|
+
import { ListStoredQueriesRequest, ListStoredQueriesResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -66,9 +66,40 @@ declare const ListStoredQueriesCommand_base: {
|
|
|
66
66
|
* response to get the next page of results.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ValidationException} (client fault)
|
|
69
|
-
* <p>The requested
|
|
70
|
-
* <p>For PutStoredQuery
|
|
71
|
-
* <
|
|
69
|
+
* <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
|
|
70
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
|
|
71
|
+
* <ul>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>There are missing required fields.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>The input value fails the validation.</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* <li>
|
|
79
|
+
* <p>You are trying to create more than 300 queries.</p>
|
|
80
|
+
* </li>
|
|
81
|
+
* </ul>
|
|
82
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
|
|
83
|
+
* <ul>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>You have specified more than one configuration recorder.</p>
|
|
86
|
+
* </li>
|
|
87
|
+
* <li>
|
|
88
|
+
* <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
|
|
89
|
+
* </li>
|
|
90
|
+
* </ul>
|
|
91
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
|
|
92
|
+
* <ul>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
|
|
95
|
+
* </li>
|
|
96
|
+
* <li>
|
|
97
|
+
* <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
|
|
98
|
+
* </li>
|
|
99
|
+
* <li>
|
|
100
|
+
* <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
|
|
101
|
+
* </li>
|
|
102
|
+
* </ul>
|
|
72
103
|
*
|
|
73
104
|
* @throws {@link ConfigServiceServiceException}
|
|
74
105
|
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
|
|
4
|
-
import { ListTagsForResourceRequest } from "../models/
|
|
5
|
-
import { ListTagsForResourceResponse } from "../models/models_1";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -72,9 +71,40 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
72
71
|
* <p>You have specified a resource that does not exist.</p>
|
|
73
72
|
*
|
|
74
73
|
* @throws {@link ValidationException} (client fault)
|
|
75
|
-
* <p>The requested
|
|
76
|
-
* <p>For PutStoredQuery
|
|
77
|
-
* <
|
|
74
|
+
* <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
|
|
75
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
|
|
76
|
+
* <ul>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>There are missing required fields.</p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>The input value fails the validation.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>You are trying to create more than 300 queries.</p>
|
|
85
|
+
* </li>
|
|
86
|
+
* </ul>
|
|
87
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
|
|
88
|
+
* <ul>
|
|
89
|
+
* <li>
|
|
90
|
+
* <p>You have specified more than one configuration recorder.</p>
|
|
91
|
+
* </li>
|
|
92
|
+
* <li>
|
|
93
|
+
* <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
|
|
94
|
+
* </li>
|
|
95
|
+
* </ul>
|
|
96
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
|
|
97
|
+
* <ul>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
|
|
100
|
+
* </li>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
|
|
103
|
+
* </li>
|
|
104
|
+
* <li>
|
|
105
|
+
* <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
|
|
106
|
+
* </li>
|
|
107
|
+
* </ul>
|
|
78
108
|
*
|
|
79
109
|
* @throws {@link ConfigServiceServiceException}
|
|
80
110
|
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|
|
@@ -31,8 +31,12 @@ declare const PutAggregationAuthorizationCommand_base: {
|
|
|
31
31
|
* from the source account and region. </p>
|
|
32
32
|
* <note>
|
|
33
33
|
* <p>
|
|
34
|
+
* <b>Tags are added at creation and cannot be updated with this operation</b>
|
|
35
|
+
* </p>
|
|
36
|
+
* <p>
|
|
34
37
|
* <code>PutAggregationAuthorization</code> is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different <code>tags</code> values,
|
|
35
38
|
* Config will ignore these differences and treat it as an idempotent request of the previous. In this case, <code>tags</code> will not be updated, even if they are different.</p>
|
|
39
|
+
* <p>Use <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_TagResource.html">TagResource</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_UntagResource.html">UntagResource</a> to update tags after creation.</p>
|
|
36
40
|
* </note>
|
|
37
41
|
* @example
|
|
38
42
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -67,8 +67,12 @@ declare const PutConfigRuleCommand_base: {
|
|
|
67
67
|
* in the <i>Config Developer Guide</i>.</p>
|
|
68
68
|
* <note>
|
|
69
69
|
* <p>
|
|
70
|
+
* <b>Tags are added at creation and cannot be updated with this operation</b>
|
|
71
|
+
* </p>
|
|
72
|
+
* <p>
|
|
70
73
|
* <code>PutConfigRule</code> is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different <code>tags</code> values,
|
|
71
74
|
* Config will ignore these differences and treat it as an idempotent request of the previous. In this case, <code>tags</code> will not be updated, even if they are different.</p>
|
|
75
|
+
* <p>Use <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_TagResource.html">TagResource</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_UntagResource.html">UntagResource</a> to update tags after creation.</p>
|
|
72
76
|
* </note>
|
|
73
77
|
* @example
|
|
74
78
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -139,16 +143,16 @@ declare const PutConfigRuleCommand_base: {
|
|
|
139
143
|
* <p>Indicates one of the following errors:</p>
|
|
140
144
|
* <ul>
|
|
141
145
|
* <li>
|
|
142
|
-
* <p>For PutConfigRule
|
|
146
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.</p>
|
|
143
147
|
* </li>
|
|
144
148
|
* <li>
|
|
145
|
-
* <p>For PutConfigRule
|
|
149
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p>
|
|
146
150
|
* </li>
|
|
147
151
|
* <li>
|
|
148
|
-
* <p>For PutOrganizationConfigRule
|
|
152
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConfigRule.html">PutOrganizationConfigRule</a>, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
149
153
|
* </li>
|
|
150
154
|
* <li>
|
|
151
|
-
* <p>For PutConformancePack and PutOrganizationConformancePack
|
|
155
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html">PutConformancePack</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConformancePack.html">PutOrganizationConformancePack</a>, a conformance pack cannot be created because you do not have the following permissions: </p>
|
|
152
156
|
* <ul>
|
|
153
157
|
* <li>
|
|
154
158
|
* <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
@@ -158,6 +162,9 @@ declare const PutConfigRuleCommand_base: {
|
|
|
158
162
|
* </li>
|
|
159
163
|
* </ul>
|
|
160
164
|
* </li>
|
|
165
|
+
* <li>
|
|
166
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, a service-linked configuration recorder cannot be created because you do not have the following permissions: IAM <code>CreateServiceLinkedRole</code>.</p>
|
|
167
|
+
* </li>
|
|
161
168
|
* </ul>
|
|
162
169
|
*
|
|
163
170
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
@@ -170,8 +177,7 @@ declare const PutConfigRuleCommand_base: {
|
|
|
170
177
|
* deactivated rules before you add new rules.</p>
|
|
171
178
|
*
|
|
172
179
|
* @throws {@link NoAvailableConfigurationRecorderException} (client fault)
|
|
173
|
-
* <p>There are no configuration recorders available to
|
|
174
|
-
* role needed to describe your resources. Create a configuration
|
|
180
|
+
* <p>There are no customer managed configuration recorders available to record your resources. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a> operation to create the customer managed configuration
|
|
175
181
|
* recorder.</p>
|
|
176
182
|
*
|
|
177
183
|
* @throws {@link ResourceInUseException} (client fault)
|
|
@@ -43,8 +43,12 @@ declare const PutConfigurationAggregatorCommand_base: {
|
|
|
43
43
|
* </note>
|
|
44
44
|
* <note>
|
|
45
45
|
* <p>
|
|
46
|
+
* <b>Tags are added at creation and cannot be updated with this operation</b>
|
|
47
|
+
* </p>
|
|
48
|
+
* <p>
|
|
46
49
|
* <code>PutConfigurationAggregator</code> is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different <code>tags</code> values,
|
|
47
50
|
* Config will ignore these differences and treat it as an idempotent request of the previous. In this case, <code>tags</code> will not be updated, even if they are different.</p>
|
|
51
|
+
* <p>Use <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_TagResource.html">TagResource</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_UntagResource.html">UntagResource</a> to update tags after creation.</p>
|
|
48
52
|
* </note>
|
|
49
53
|
* @example
|
|
50
54
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -78,6 +82,20 @@ declare const PutConfigurationAggregatorCommand_base: {
|
|
|
78
82
|
* Value: "STRING_VALUE",
|
|
79
83
|
* },
|
|
80
84
|
* ],
|
|
85
|
+
* AggregatorFilters: { // AggregatorFilters
|
|
86
|
+
* ResourceType: { // AggregatorFilterResourceType
|
|
87
|
+
* Type: "INCLUDE",
|
|
88
|
+
* Value: [ // ResourceTypeValueList
|
|
89
|
+
* "STRING_VALUE",
|
|
90
|
+
* ],
|
|
91
|
+
* },
|
|
92
|
+
* ServicePrincipal: { // AggregatorFilterServicePrincipal
|
|
93
|
+
* Type: "INCLUDE",
|
|
94
|
+
* Value: [ // ServicePrincipalValueList
|
|
95
|
+
* "STRING_VALUE",
|
|
96
|
+
* ],
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
81
99
|
* };
|
|
82
100
|
* const command = new PutConfigurationAggregatorCommand(input);
|
|
83
101
|
* const response = await client.send(command);
|
|
@@ -106,6 +124,20 @@ declare const PutConfigurationAggregatorCommand_base: {
|
|
|
106
124
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
107
125
|
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
108
126
|
* // CreatedBy: "STRING_VALUE",
|
|
127
|
+
* // AggregatorFilters: { // AggregatorFilters
|
|
128
|
+
* // ResourceType: { // AggregatorFilterResourceType
|
|
129
|
+
* // Type: "INCLUDE",
|
|
130
|
+
* // Value: [ // ResourceTypeValueList
|
|
131
|
+
* // "STRING_VALUE",
|
|
132
|
+
* // ],
|
|
133
|
+
* // },
|
|
134
|
+
* // ServicePrincipal: { // AggregatorFilterServicePrincipal
|
|
135
|
+
* // Type: "INCLUDE",
|
|
136
|
+
* // Value: [ // ServicePrincipalValueList
|
|
137
|
+
* // "STRING_VALUE",
|
|
138
|
+
* // ],
|
|
139
|
+
* // },
|
|
140
|
+
* // },
|
|
109
141
|
* // },
|
|
110
142
|
* // };
|
|
111
143
|
*
|
|
@@ -122,10 +154,12 @@ declare const PutConfigurationAggregatorCommand_base: {
|
|
|
122
154
|
* that your parameters are valid and try again.</p>
|
|
123
155
|
*
|
|
124
156
|
* @throws {@link InvalidRoleException} (client fault)
|
|
125
|
-
* <p>You have provided a null or empty Amazon Resource Name (ARN) for the IAM role assumed by Config and used by the configuration recorder.</p>
|
|
157
|
+
* <p>You have provided a null or empty Amazon Resource Name (ARN) for the IAM role assumed by Config and used by the customer managed configuration recorder.</p>
|
|
126
158
|
*
|
|
127
159
|
* @throws {@link LimitExceededException} (client fault)
|
|
128
|
-
* <p>For <code>
|
|
160
|
+
* <p>For <code>PutServiceLinkedConfigurationRecorder</code> API, this exception
|
|
161
|
+
* is thrown if the number of service-linked roles in the account exceeds the limit.</p>
|
|
162
|
+
* <p>For <code>StartConfigRulesEvaluation</code> API, this exception
|
|
129
163
|
* is thrown if an evaluation is in progress or if you call the <a>StartConfigRulesEvaluation</a> API more than once per
|
|
130
164
|
* minute.</p>
|
|
131
165
|
* <p>For <code>PutConfigurationAggregator</code> API, this exception
|
|
@@ -151,7 +185,7 @@ declare const PutConfigurationAggregatorCommand_base: {
|
|
|
151
185
|
* </li>
|
|
152
186
|
* <li>
|
|
153
187
|
* <p>You are not a registered delegated administrator for Config with permissions to call <code>ListDelegatedAdministrators</code> API.
|
|
154
|
-
* Ensure that the management account registers delagated administrator for Config service
|
|
188
|
+
* Ensure that the management account registers delagated administrator for Config service principal name before the delegated administrator creates an aggregator.</p>
|
|
155
189
|
* </li>
|
|
156
190
|
* </ul>
|
|
157
191
|
* <p>For all <code>OrganizationConfigRule</code> and <code>OrganizationConformancePack</code> APIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.</p>
|
|
@@ -27,18 +27,30 @@ declare const PutConfigurationRecorderCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates
|
|
31
|
-
* <p>You can
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
30
|
+
* <p>Creates or updates the customer managed configuration recorder.</p>
|
|
31
|
+
* <p>You can use this operation to create a new customer managed configuration recorder or to update the <code>roleARN</code> and the <code>recordingGroup</code> for an existing customer managed configuration recorder.</p>
|
|
32
|
+
* <p>To start the customer managed configuration recorder and begin recording configuration changes for the resource types you specify,
|
|
33
|
+
* use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StartConfigurationRecorder.html">StartConfigurationRecorder</a> operation.</p>
|
|
34
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html">
|
|
35
|
+
* <b>Working with the Configuration Recorder</b>
|
|
35
36
|
* </a> in the <i>Config Developer Guide</i>.</p>
|
|
36
37
|
* <note>
|
|
37
|
-
* <p>
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
38
|
+
* <p>
|
|
39
|
+
* <b>One customer managed configuration recorder per account per Region</b>
|
|
40
|
+
* </p>
|
|
41
|
+
* <p>You can create only one customer managed configuration recorder for each account for each Amazon Web Services Region.</p>
|
|
42
|
+
* <p>
|
|
43
|
+
* <b>Default is to record all supported resource types, excluding the global IAM resource types</b>
|
|
44
|
+
* </p>
|
|
45
|
+
* <p>If you have not specified values for the <code>recordingGroup</code> field, the default for the customer managed configuration recorder is to record all supported resource
|
|
46
|
+
* types, excluding the global IAM resource types: <code>AWS::IAM::Group</code>, <code>AWS::IAM::Policy</code>, <code>AWS::IAM::Role</code>, and <code>AWS::IAM::User</code>.</p>
|
|
47
|
+
* <p>
|
|
48
|
+
* <b>Tags are added at creation and cannot be updated</b>
|
|
49
|
+
* </p>
|
|
50
|
+
* <p>
|
|
51
|
+
* <code>PutConfigurationRecorder</code> is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different tags values,
|
|
52
|
+
* Config will ignore these differences and treat it as an idempotent request of the previous. In this case, tags will not be updated, even if they are different.</p>
|
|
53
|
+
* <p>Use <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_TagResource.html">TagResource</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_UntagResource.html">UntagResource</a> to update tags after creation.</p>
|
|
42
54
|
* </note>
|
|
43
55
|
* @example
|
|
44
56
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -48,6 +60,7 @@ declare const PutConfigurationRecorderCommand_base: {
|
|
|
48
60
|
* const client = new ConfigServiceClient(config);
|
|
49
61
|
* const input = { // PutConfigurationRecorderRequest
|
|
50
62
|
* ConfigurationRecorder: { // ConfigurationRecorder
|
|
63
|
+
* arn: "STRING_VALUE",
|
|
51
64
|
* name: "STRING_VALUE",
|
|
52
65
|
* roleARN: "STRING_VALUE",
|
|
53
66
|
* recordingGroup: { // RecordingGroup
|
|
@@ -77,7 +90,15 @@ declare const PutConfigurationRecorderCommand_base: {
|
|
|
77
90
|
* },
|
|
78
91
|
* ],
|
|
79
92
|
* },
|
|
93
|
+
* recordingScope: "INTERNAL" || "PAID",
|
|
94
|
+
* servicePrincipal: "STRING_VALUE",
|
|
80
95
|
* },
|
|
96
|
+
* Tags: [ // TagsList
|
|
97
|
+
* { // Tag
|
|
98
|
+
* Key: "STRING_VALUE",
|
|
99
|
+
* Value: "STRING_VALUE",
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
81
102
|
* };
|
|
82
103
|
* const command = new PutConfigurationRecorderCommand(input);
|
|
83
104
|
* const response = await client.send(command);
|
|
@@ -92,11 +113,11 @@ declare const PutConfigurationRecorderCommand_base: {
|
|
|
92
113
|
* @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
|
|
93
114
|
*
|
|
94
115
|
* @throws {@link InvalidConfigurationRecorderNameException} (client fault)
|
|
95
|
-
* <p>You have provided a name for the configuration recorder that is not
|
|
116
|
+
* <p>You have provided a name for the customer managed configuration recorder that is not
|
|
96
117
|
* valid.</p>
|
|
97
118
|
*
|
|
98
119
|
* @throws {@link InvalidRecordingGroupException} (client fault)
|
|
99
|
-
* <p>
|
|
120
|
+
* <p>One of the following errors:</p>
|
|
100
121
|
* <ul>
|
|
101
122
|
* <li>
|
|
102
123
|
* <p>You have provided a combination of parameter values that is not valid. For example:</p>
|
|
@@ -122,16 +143,58 @@ declare const PutConfigurationRecorderCommand_base: {
|
|
|
122
143
|
* </ul>
|
|
123
144
|
*
|
|
124
145
|
* @throws {@link InvalidRoleException} (client fault)
|
|
125
|
-
* <p>You have provided a null or empty Amazon Resource Name (ARN) for the IAM role assumed by Config and used by the configuration recorder.</p>
|
|
146
|
+
* <p>You have provided a null or empty Amazon Resource Name (ARN) for the IAM role assumed by Config and used by the customer managed configuration recorder.</p>
|
|
126
147
|
*
|
|
127
148
|
* @throws {@link MaxNumberOfConfigurationRecordersExceededException} (client fault)
|
|
128
149
|
* <p>You have reached the limit of the number of configuration recorders you can
|
|
129
150
|
* create.</p>
|
|
130
151
|
*
|
|
152
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
153
|
+
* <p>The requested operation is not valid.</p>
|
|
154
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a>,
|
|
155
|
+
* you will see this exception because you cannot use this operation to create a service-linked configuration recorder. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a> operation to create a service-linked configuration
|
|
156
|
+
* recorder.</p>
|
|
157
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteConfigurationRecorder.html">DeleteConfigurationRecorder</a>, you will see this exception because you cannot use this operation to delete a service-linked configuration recorder. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a> operation to delete a service-linked configuration
|
|
158
|
+
* recorder.</p>
|
|
159
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StartConfigurationRecorder.html">StartConfigurationRecorder</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StopConfigurationRecorder.html">StopConfigurationRecorder</a>, you will see this exception because these operations do not affect service-linked configuration recorders.
|
|
160
|
+
* Service-linked configuration recorders are always recording. To stop recording, you must delete the service-linked configuration recorder. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a> operation to delete a service-linked configuration
|
|
161
|
+
* recorder.</p>
|
|
162
|
+
*
|
|
131
163
|
* @throws {@link ValidationException} (client fault)
|
|
132
|
-
* <p>The requested
|
|
133
|
-
* <p>For PutStoredQuery
|
|
134
|
-
* <
|
|
164
|
+
* <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
|
|
165
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
|
|
166
|
+
* <ul>
|
|
167
|
+
* <li>
|
|
168
|
+
* <p>There are missing required fields.</p>
|
|
169
|
+
* </li>
|
|
170
|
+
* <li>
|
|
171
|
+
* <p>The input value fails the validation.</p>
|
|
172
|
+
* </li>
|
|
173
|
+
* <li>
|
|
174
|
+
* <p>You are trying to create more than 300 queries.</p>
|
|
175
|
+
* </li>
|
|
176
|
+
* </ul>
|
|
177
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
|
|
178
|
+
* <ul>
|
|
179
|
+
* <li>
|
|
180
|
+
* <p>You have specified more than one configuration recorder.</p>
|
|
181
|
+
* </li>
|
|
182
|
+
* <li>
|
|
183
|
+
* <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
|
|
184
|
+
* </li>
|
|
185
|
+
* </ul>
|
|
186
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
|
|
187
|
+
* <ul>
|
|
188
|
+
* <li>
|
|
189
|
+
* <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
|
|
190
|
+
* </li>
|
|
191
|
+
* <li>
|
|
192
|
+
* <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
|
|
193
|
+
* </li>
|
|
194
|
+
* <li>
|
|
195
|
+
* <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
|
|
196
|
+
* </li>
|
|
197
|
+
* </ul>
|
|
135
198
|
*
|
|
136
199
|
* @throws {@link ConfigServiceServiceException}
|
|
137
200
|
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|
|
@@ -81,16 +81,16 @@ declare const PutConformancePackCommand_base: {
|
|
|
81
81
|
* <p>Indicates one of the following errors:</p>
|
|
82
82
|
* <ul>
|
|
83
83
|
* <li>
|
|
84
|
-
* <p>For PutConfigRule
|
|
84
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.</p>
|
|
85
85
|
* </li>
|
|
86
86
|
* <li>
|
|
87
|
-
* <p>For PutConfigRule
|
|
87
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p>
|
|
88
88
|
* </li>
|
|
89
89
|
* <li>
|
|
90
|
-
* <p>For PutOrganizationConfigRule
|
|
90
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConfigRule.html">PutOrganizationConfigRule</a>, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
91
91
|
* </li>
|
|
92
92
|
* <li>
|
|
93
|
-
* <p>For PutConformancePack and PutOrganizationConformancePack
|
|
93
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html">PutConformancePack</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConformancePack.html">PutOrganizationConformancePack</a>, a conformance pack cannot be created because you do not have the following permissions: </p>
|
|
94
94
|
* <ul>
|
|
95
95
|
* <li>
|
|
96
96
|
* <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
@@ -100,6 +100,9 @@ declare const PutConformancePackCommand_base: {
|
|
|
100
100
|
* </li>
|
|
101
101
|
* </ul>
|
|
102
102
|
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, a service-linked configuration recorder cannot be created because you do not have the following permissions: IAM <code>CreateServiceLinkedRole</code>.</p>
|
|
105
|
+
* </li>
|
|
103
106
|
* </ul>
|
|
104
107
|
*
|
|
105
108
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
@@ -27,22 +27,19 @@ declare const PutDeliveryChannelCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a delivery channel
|
|
31
|
-
* information and other compliance information
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* <p>
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* Amazon S3 bucket or an Amazon SNS topic, call this action and
|
|
39
|
-
* specify the changed values for the S3 bucket and the SNS topic. If
|
|
40
|
-
* you specify a different value for either the S3 bucket or the SNS
|
|
41
|
-
* topic, this action will keep the existing value for the parameter
|
|
42
|
-
* that is not changed.</p>
|
|
30
|
+
* <p>Creates or updates a delivery channel to deliver configuration
|
|
31
|
+
* information and other compliance information.</p>
|
|
32
|
+
* <p>You can use this operation to create a new delivery channel or to update the Amazon S3 bucket and the
|
|
33
|
+
* Amazon SNS topic of an existing delivery channel.</p>
|
|
34
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/manage-delivery-channel.html">
|
|
35
|
+
* <b>Working with the Delivery Channel</b>
|
|
36
|
+
* </a> in the <i>Config Developer Guide.</i>
|
|
37
|
+
* </p>
|
|
43
38
|
* <note>
|
|
44
|
-
* <p>
|
|
45
|
-
*
|
|
39
|
+
* <p>
|
|
40
|
+
* <b>One delivery channel per account per Region</b>
|
|
41
|
+
* </p>
|
|
42
|
+
* <p>You can have only one delivery channel for each account for each Amazon Web Services Region.</p>
|
|
46
43
|
* </note>
|
|
47
44
|
* @example
|
|
48
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -75,7 +72,7 @@ declare const PutDeliveryChannelCommand_base: {
|
|
|
75
72
|
* @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
|
|
76
73
|
*
|
|
77
74
|
* @throws {@link InsufficientDeliveryPolicyException} (client fault)
|
|
78
|
-
* <p>Your Amazon S3 bucket policy does not
|
|
75
|
+
* <p>Your Amazon S3 bucket policy does not allow Config to
|
|
79
76
|
* write to it.</p>
|
|
80
77
|
*
|
|
81
78
|
* @throws {@link InvalidDeliveryChannelNameException} (client fault)
|
|
@@ -95,8 +92,7 @@ declare const PutDeliveryChannelCommand_base: {
|
|
|
95
92
|
* you can create.</p>
|
|
96
93
|
*
|
|
97
94
|
* @throws {@link NoAvailableConfigurationRecorderException} (client fault)
|
|
98
|
-
* <p>There are no configuration recorders available to
|
|
99
|
-
* role needed to describe your resources. Create a configuration
|
|
95
|
+
* <p>There are no customer managed configuration recorders available to record your resources. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a> operation to create the customer managed configuration
|
|
100
96
|
* recorder.</p>
|
|
101
97
|
*
|
|
102
98
|
* @throws {@link NoSuchBucketException} (client fault)
|
|
@@ -28,7 +28,7 @@ declare const PutEvaluationsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Used by an Lambda function to deliver evaluation results to
|
|
31
|
-
* Config. This
|
|
31
|
+
* Config. This operation is required in every Lambda function
|
|
32
32
|
* that is invoked by an Config rule.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -138,16 +138,16 @@ declare const PutOrganizationConfigRuleCommand_base: {
|
|
|
138
138
|
* <p>Indicates one of the following errors:</p>
|
|
139
139
|
* <ul>
|
|
140
140
|
* <li>
|
|
141
|
-
* <p>For PutConfigRule
|
|
141
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.</p>
|
|
142
142
|
* </li>
|
|
143
143
|
* <li>
|
|
144
|
-
* <p>For PutConfigRule
|
|
144
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p>
|
|
145
145
|
* </li>
|
|
146
146
|
* <li>
|
|
147
|
-
* <p>For PutOrganizationConfigRule
|
|
147
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConfigRule.html">PutOrganizationConfigRule</a>, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
148
148
|
* </li>
|
|
149
149
|
* <li>
|
|
150
|
-
* <p>For PutConformancePack and PutOrganizationConformancePack
|
|
150
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html">PutConformancePack</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConformancePack.html">PutOrganizationConformancePack</a>, a conformance pack cannot be created because you do not have the following permissions: </p>
|
|
151
151
|
* <ul>
|
|
152
152
|
* <li>
|
|
153
153
|
* <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
@@ -157,6 +157,9 @@ declare const PutOrganizationConfigRuleCommand_base: {
|
|
|
157
157
|
* </li>
|
|
158
158
|
* </ul>
|
|
159
159
|
* </li>
|
|
160
|
+
* <li>
|
|
161
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, a service-linked configuration recorder cannot be created because you do not have the following permissions: IAM <code>CreateServiceLinkedRole</code>.</p>
|
|
162
|
+
* </li>
|
|
160
163
|
* </ul>
|
|
161
164
|
*
|
|
162
165
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
@@ -187,7 +190,7 @@ declare const PutOrganizationConfigRuleCommand_base: {
|
|
|
187
190
|
* </li>
|
|
188
191
|
* <li>
|
|
189
192
|
* <p>You are not a registered delegated administrator for Config with permissions to call <code>ListDelegatedAdministrators</code> API.
|
|
190
|
-
* Ensure that the management account registers delagated administrator for Config service
|
|
193
|
+
* Ensure that the management account registers delagated administrator for Config service principal name before the delegated administrator creates an aggregator.</p>
|
|
191
194
|
* </li>
|
|
192
195
|
* </ul>
|
|
193
196
|
* <p>For all <code>OrganizationConfigRule</code> and <code>OrganizationConformancePack</code> APIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.</p>
|
|
@@ -222,9 +225,40 @@ declare const PutOrganizationConfigRuleCommand_base: {
|
|
|
222
225
|
* </ul>
|
|
223
226
|
*
|
|
224
227
|
* @throws {@link ValidationException} (client fault)
|
|
225
|
-
* <p>The requested
|
|
226
|
-
* <p>For PutStoredQuery
|
|
227
|
-
* <
|
|
228
|
+
* <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
|
|
229
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
|
|
230
|
+
* <ul>
|
|
231
|
+
* <li>
|
|
232
|
+
* <p>There are missing required fields.</p>
|
|
233
|
+
* </li>
|
|
234
|
+
* <li>
|
|
235
|
+
* <p>The input value fails the validation.</p>
|
|
236
|
+
* </li>
|
|
237
|
+
* <li>
|
|
238
|
+
* <p>You are trying to create more than 300 queries.</p>
|
|
239
|
+
* </li>
|
|
240
|
+
* </ul>
|
|
241
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
|
|
242
|
+
* <ul>
|
|
243
|
+
* <li>
|
|
244
|
+
* <p>You have specified more than one configuration recorder.</p>
|
|
245
|
+
* </li>
|
|
246
|
+
* <li>
|
|
247
|
+
* <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
|
|
248
|
+
* </li>
|
|
249
|
+
* </ul>
|
|
250
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
|
|
251
|
+
* <ul>
|
|
252
|
+
* <li>
|
|
253
|
+
* <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
|
|
254
|
+
* </li>
|
|
255
|
+
* <li>
|
|
256
|
+
* <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
|
|
257
|
+
* </li>
|
|
258
|
+
* <li>
|
|
259
|
+
* <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
|
|
260
|
+
* </li>
|
|
261
|
+
* </ul>
|
|
228
262
|
*
|
|
229
263
|
* @throws {@link ConfigServiceServiceException}
|
|
230
264
|
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|