@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
|
@@ -87,16 +87,16 @@ declare const PutOrganizationConformancePackCommand_base: {
|
|
|
87
87
|
* <p>Indicates one of the following errors:</p>
|
|
88
88
|
* <ul>
|
|
89
89
|
* <li>
|
|
90
|
-
* <p>For PutConfigRule
|
|
90
|
+
* <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>
|
|
91
91
|
* </li>
|
|
92
92
|
* <li>
|
|
93
|
-
* <p>For PutConfigRule
|
|
93
|
+
* <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>
|
|
94
94
|
* </li>
|
|
95
95
|
* <li>
|
|
96
|
-
* <p>For PutOrganizationConfigRule
|
|
96
|
+
* <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>
|
|
97
97
|
* </li>
|
|
98
98
|
* <li>
|
|
99
|
-
* <p>For PutConformancePack and PutOrganizationConformancePack
|
|
99
|
+
* <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>
|
|
100
100
|
* <ul>
|
|
101
101
|
* <li>
|
|
102
102
|
* <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
@@ -106,6 +106,9 @@ declare const PutOrganizationConformancePackCommand_base: {
|
|
|
106
106
|
* </li>
|
|
107
107
|
* </ul>
|
|
108
108
|
* </li>
|
|
109
|
+
* <li>
|
|
110
|
+
* <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>
|
|
111
|
+
* </li>
|
|
109
112
|
* </ul>
|
|
110
113
|
*
|
|
111
114
|
* @throws {@link MaxNumberOfOrganizationConformancePacksExceededException} (client fault)
|
|
@@ -132,7 +135,7 @@ declare const PutOrganizationConformancePackCommand_base: {
|
|
|
132
135
|
* </li>
|
|
133
136
|
* <li>
|
|
134
137
|
* <p>You are not a registered delegated administrator for Config with permissions to call <code>ListDelegatedAdministrators</code> API.
|
|
135
|
-
* Ensure that the management account registers delagated administrator for Config service
|
|
138
|
+
* Ensure that the management account registers delagated administrator for Config service principal name before the delegated administrator creates an aggregator.</p>
|
|
136
139
|
* </li>
|
|
137
140
|
* </ul>
|
|
138
141
|
* <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>
|
|
@@ -170,9 +173,40 @@ declare const PutOrganizationConformancePackCommand_base: {
|
|
|
170
173
|
* </ul>
|
|
171
174
|
*
|
|
172
175
|
* @throws {@link ValidationException} (client fault)
|
|
173
|
-
* <p>The requested
|
|
174
|
-
* <p>For PutStoredQuery
|
|
175
|
-
* <
|
|
176
|
+
* <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>
|
|
177
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
|
|
178
|
+
* <ul>
|
|
179
|
+
* <li>
|
|
180
|
+
* <p>There are missing required fields.</p>
|
|
181
|
+
* </li>
|
|
182
|
+
* <li>
|
|
183
|
+
* <p>The input value fails the validation.</p>
|
|
184
|
+
* </li>
|
|
185
|
+
* <li>
|
|
186
|
+
* <p>You are trying to create more than 300 queries.</p>
|
|
187
|
+
* </li>
|
|
188
|
+
* </ul>
|
|
189
|
+
* <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>
|
|
190
|
+
* <ul>
|
|
191
|
+
* <li>
|
|
192
|
+
* <p>You have specified more than one configuration recorder.</p>
|
|
193
|
+
* </li>
|
|
194
|
+
* <li>
|
|
195
|
+
* <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
|
|
196
|
+
* </li>
|
|
197
|
+
* </ul>
|
|
198
|
+
* <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>
|
|
199
|
+
* <ul>
|
|
200
|
+
* <li>
|
|
201
|
+
* <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
|
|
202
|
+
* </li>
|
|
203
|
+
* <li>
|
|
204
|
+
* <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
|
|
205
|
+
* </li>
|
|
206
|
+
* <li>
|
|
207
|
+
* <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
|
|
208
|
+
* </li>
|
|
209
|
+
* </ul>
|
|
176
210
|
*
|
|
177
211
|
* @throws {@link ConfigServiceServiceException}
|
|
178
212
|
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|
|
@@ -152,16 +152,16 @@ declare const PutRemediationConfigurationsCommand_base: {
|
|
|
152
152
|
* <p>Indicates one of the following errors:</p>
|
|
153
153
|
* <ul>
|
|
154
154
|
* <li>
|
|
155
|
-
* <p>For PutConfigRule
|
|
155
|
+
* <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>
|
|
156
156
|
* </li>
|
|
157
157
|
* <li>
|
|
158
|
-
* <p>For PutConfigRule
|
|
158
|
+
* <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>
|
|
159
159
|
* </li>
|
|
160
160
|
* <li>
|
|
161
|
-
* <p>For PutOrganizationConfigRule
|
|
161
|
+
* <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>
|
|
162
162
|
* </li>
|
|
163
163
|
* <li>
|
|
164
|
-
* <p>For PutConformancePack and PutOrganizationConformancePack
|
|
164
|
+
* <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>
|
|
165
165
|
* <ul>
|
|
166
166
|
* <li>
|
|
167
167
|
* <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
@@ -171,6 +171,9 @@ declare const PutRemediationConfigurationsCommand_base: {
|
|
|
171
171
|
* </li>
|
|
172
172
|
* </ul>
|
|
173
173
|
* </li>
|
|
174
|
+
* <li>
|
|
175
|
+
* <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>
|
|
176
|
+
* </li>
|
|
174
177
|
* </ul>
|
|
175
178
|
*
|
|
176
179
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
@@ -56,6 +56,12 @@ declare const PutRemediationExceptionsCommand_base: {
|
|
|
56
56
|
* </note>
|
|
57
57
|
* <note>
|
|
58
58
|
* <p>
|
|
59
|
+
* <b>Exceptions cannot be placed on service-linked remediation actions</b>
|
|
60
|
+
* </p>
|
|
61
|
+
* <p>You cannot place an exception on service-linked remediation actions, such as remediation actions put by an organizational conformance pack.</p>
|
|
62
|
+
* </note>
|
|
63
|
+
* <note>
|
|
64
|
+
* <p>
|
|
59
65
|
* <b>Auto remediation can be initiated even for compliant resources</b>
|
|
60
66
|
* </p>
|
|
61
67
|
* <p>If you enable auto remediation for a specific Config rule using the <a href="https://docs.aws.amazon.com/config/latest/APIReference/emAPI_PutRemediationConfigurations.html">PutRemediationConfigurations</a> API or the Config console,
|
|
@@ -112,16 +118,16 @@ declare const PutRemediationExceptionsCommand_base: {
|
|
|
112
118
|
* <p>Indicates one of the following errors:</p>
|
|
113
119
|
* <ul>
|
|
114
120
|
* <li>
|
|
115
|
-
* <p>For PutConfigRule
|
|
121
|
+
* <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>
|
|
116
122
|
* </li>
|
|
117
123
|
* <li>
|
|
118
|
-
* <p>For PutConfigRule
|
|
124
|
+
* <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>
|
|
119
125
|
* </li>
|
|
120
126
|
* <li>
|
|
121
|
-
* <p>For PutOrganizationConfigRule
|
|
127
|
+
* <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>
|
|
122
128
|
* </li>
|
|
123
129
|
* <li>
|
|
124
|
-
* <p>For PutConformancePack and PutOrganizationConformancePack
|
|
130
|
+
* <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>
|
|
125
131
|
* <ul>
|
|
126
132
|
* <li>
|
|
127
133
|
* <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
@@ -131,6 +137,9 @@ declare const PutRemediationExceptionsCommand_base: {
|
|
|
131
137
|
* </li>
|
|
132
138
|
* </ul>
|
|
133
139
|
* </li>
|
|
140
|
+
* <li>
|
|
141
|
+
* <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>
|
|
142
|
+
* </li>
|
|
134
143
|
* </ul>
|
|
135
144
|
*
|
|
136
145
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
@@ -69,16 +69,16 @@ declare const PutResourceConfigCommand_base: {
|
|
|
69
69
|
* <p>Indicates one of the following errors:</p>
|
|
70
70
|
* <ul>
|
|
71
71
|
* <li>
|
|
72
|
-
* <p>For PutConfigRule
|
|
72
|
+
* <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>
|
|
73
73
|
* </li>
|
|
74
74
|
* <li>
|
|
75
|
-
* <p>For PutConfigRule
|
|
75
|
+
* <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>
|
|
76
76
|
* </li>
|
|
77
77
|
* <li>
|
|
78
|
-
* <p>For PutOrganizationConfigRule
|
|
78
|
+
* <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>
|
|
79
79
|
* </li>
|
|
80
80
|
* <li>
|
|
81
|
-
* <p>For PutConformancePack and PutOrganizationConformancePack
|
|
81
|
+
* <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>
|
|
82
82
|
* <ul>
|
|
83
83
|
* <li>
|
|
84
84
|
* <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
@@ -88,6 +88,9 @@ declare const PutResourceConfigCommand_base: {
|
|
|
88
88
|
* </li>
|
|
89
89
|
* </ul>
|
|
90
90
|
* </li>
|
|
91
|
+
* <li>
|
|
92
|
+
* <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>
|
|
93
|
+
* </li>
|
|
91
94
|
* </ul>
|
|
92
95
|
*
|
|
93
96
|
* @throws {@link MaxActiveResourcesExceededException} (client fault)
|
|
@@ -99,9 +102,40 @@ declare const PutResourceConfigCommand_base: {
|
|
|
99
102
|
* <p>There is no configuration recorder running.</p>
|
|
100
103
|
*
|
|
101
104
|
* @throws {@link ValidationException} (client fault)
|
|
102
|
-
* <p>The requested
|
|
103
|
-
* <p>For PutStoredQuery
|
|
104
|
-
* <
|
|
105
|
+
* <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>
|
|
106
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
|
|
107
|
+
* <ul>
|
|
108
|
+
* <li>
|
|
109
|
+
* <p>There are missing required fields.</p>
|
|
110
|
+
* </li>
|
|
111
|
+
* <li>
|
|
112
|
+
* <p>The input value fails the validation.</p>
|
|
113
|
+
* </li>
|
|
114
|
+
* <li>
|
|
115
|
+
* <p>You are trying to create more than 300 queries.</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* </ul>
|
|
118
|
+
* <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>
|
|
119
|
+
* <ul>
|
|
120
|
+
* <li>
|
|
121
|
+
* <p>You have specified more than one configuration recorder.</p>
|
|
122
|
+
* </li>
|
|
123
|
+
* <li>
|
|
124
|
+
* <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
|
|
125
|
+
* </li>
|
|
126
|
+
* </ul>
|
|
127
|
+
* <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>
|
|
128
|
+
* <ul>
|
|
129
|
+
* <li>
|
|
130
|
+
* <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
|
|
131
|
+
* </li>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
|
|
134
|
+
* </li>
|
|
135
|
+
* <li>
|
|
136
|
+
* <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
|
|
137
|
+
* </li>
|
|
138
|
+
* </ul>
|
|
105
139
|
*
|
|
106
140
|
* @throws {@link ConfigServiceServiceException}
|
|
107
141
|
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
|
|
4
|
+
import { PutServiceLinkedConfigurationRecorderRequest, PutServiceLinkedConfigurationRecorderResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutServiceLinkedConfigurationRecorderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutServiceLinkedConfigurationRecorderCommandInput extends PutServiceLinkedConfigurationRecorderRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutServiceLinkedConfigurationRecorderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutServiceLinkedConfigurationRecorderCommandOutput extends PutServiceLinkedConfigurationRecorderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutServiceLinkedConfigurationRecorderCommand_base: {
|
|
25
|
+
new (input: PutServiceLinkedConfigurationRecorderCommandInput): import("@smithy/smithy-client").CommandImpl<PutServiceLinkedConfigurationRecorderCommandInput, PutServiceLinkedConfigurationRecorderCommandOutput, ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutServiceLinkedConfigurationRecorderCommandInput): import("@smithy/smithy-client").CommandImpl<PutServiceLinkedConfigurationRecorderCommandInput, PutServiceLinkedConfigurationRecorderCommandOutput, ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a service-linked configuration recorder that is linked to a specific Amazon Web Services service based on the <code>ServicePrincipal</code> you specify.</p>
|
|
31
|
+
* <p>The configuration recorder's <code>name</code>, <code>recordingGroup</code>, <code>recordingMode</code>, and <code>recordingScope</code> is set by the service that is linked to the configuration recorder.</p>
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html">
|
|
33
|
+
* <b>Working with the Configuration Recorder</b>
|
|
34
|
+
* </a> in the <i>Config Developer Guide</i>.</p>
|
|
35
|
+
* <p>This API creates a service-linked role <code>AWSServiceRoleForConfig</code> in your account. The service-linked role is created only when the role does not exist in your account.</p>
|
|
36
|
+
* <note>
|
|
37
|
+
* <p>
|
|
38
|
+
* <b>The recording scope determines if you receive configuration items</b>
|
|
39
|
+
* </p>
|
|
40
|
+
* <p>The recording scope is set by the service that is linked to the configuration recorder and determines whether you receive configuration items (CIs) in the delivery channel. If the recording scope is internal, you will not receive CIs in the delivery channel.</p>
|
|
41
|
+
* <p>
|
|
42
|
+
* <b>Tags are added at creation and cannot be updated with this operation</b>
|
|
43
|
+
* </p>
|
|
44
|
+
* <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>
|
|
45
|
+
* </note>
|
|
46
|
+
* @example
|
|
47
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
+
* ```javascript
|
|
49
|
+
* import { ConfigServiceClient, PutServiceLinkedConfigurationRecorderCommand } from "@aws-sdk/client-config-service"; // ES Modules import
|
|
50
|
+
* // const { ConfigServiceClient, PutServiceLinkedConfigurationRecorderCommand } = require("@aws-sdk/client-config-service"); // CommonJS import
|
|
51
|
+
* const client = new ConfigServiceClient(config);
|
|
52
|
+
* const input = { // PutServiceLinkedConfigurationRecorderRequest
|
|
53
|
+
* ServicePrincipal: "STRING_VALUE", // required
|
|
54
|
+
* Tags: [ // TagsList
|
|
55
|
+
* { // Tag
|
|
56
|
+
* Key: "STRING_VALUE",
|
|
57
|
+
* Value: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* };
|
|
61
|
+
* const command = new PutServiceLinkedConfigurationRecorderCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* // { // PutServiceLinkedConfigurationRecorderResponse
|
|
64
|
+
* // Arn: "STRING_VALUE",
|
|
65
|
+
* // Name: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param PutServiceLinkedConfigurationRecorderCommandInput - {@link PutServiceLinkedConfigurationRecorderCommandInput}
|
|
71
|
+
* @returns {@link PutServiceLinkedConfigurationRecorderCommandOutput}
|
|
72
|
+
* @see {@link PutServiceLinkedConfigurationRecorderCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link PutServiceLinkedConfigurationRecorderCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ConflictException} (client fault)
|
|
77
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, you cannot create a service-linked recorder because a service-linked recorder already exists for the specified service.</p>
|
|
78
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, you cannot delete the service-linked recorder because it is currently in use by the linked Amazon Web Services service.</p>
|
|
79
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteDeliveryChannel.html">DeleteDeliveryChannel</a>, you cannot delete the specified delivery channel because the customer managed configuration recorder is running. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StopConfigurationRecorder.html">StopConfigurationRecorder</a> operation to stop the customer managed configuration
|
|
80
|
+
* recorder.</p>
|
|
81
|
+
* <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>
|
|
82
|
+
* <ul>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>For service-linked configuration recorders, the configuration recorder is not in use by the service. No association or dissociation of resource types is permitted.</p>
|
|
85
|
+
* </li>
|
|
86
|
+
* <li>
|
|
87
|
+
* <p>For service-linked configuration recorders, your requested change to the configuration recorder has been denied by its linked Amazon Web Services service.</p>
|
|
88
|
+
* </li>
|
|
89
|
+
* </ul>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InsufficientPermissionsException} (client fault)
|
|
92
|
+
* <p>Indicates one of the following errors:</p>
|
|
93
|
+
* <ul>
|
|
94
|
+
* <li>
|
|
95
|
+
* <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>
|
|
96
|
+
* </li>
|
|
97
|
+
* <li>
|
|
98
|
+
* <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>
|
|
99
|
+
* </li>
|
|
100
|
+
* <li>
|
|
101
|
+
* <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>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <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>
|
|
105
|
+
* <ul>
|
|
106
|
+
* <li>
|
|
107
|
+
* <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
108
|
+
* </li>
|
|
109
|
+
* <li>
|
|
110
|
+
* <p>You do not have permission to read Amazon S3 bucket or call SSM:GetDocument.</p>
|
|
111
|
+
* </li>
|
|
112
|
+
* </ul>
|
|
113
|
+
* </li>
|
|
114
|
+
* <li>
|
|
115
|
+
* <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>
|
|
116
|
+
* </li>
|
|
117
|
+
* </ul>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
120
|
+
* <p>For <code>PutServiceLinkedConfigurationRecorder</code> API, this exception
|
|
121
|
+
* is thrown if the number of service-linked roles in the account exceeds the limit.</p>
|
|
122
|
+
* <p>For <code>StartConfigRulesEvaluation</code> API, this exception
|
|
123
|
+
* is thrown if an evaluation is in progress or if you call the <a>StartConfigRulesEvaluation</a> API more than once per
|
|
124
|
+
* minute.</p>
|
|
125
|
+
* <p>For <code>PutConfigurationAggregator</code> API, this exception
|
|
126
|
+
* is thrown if the number of accounts and aggregators exceeds the
|
|
127
|
+
* limit.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ValidationException} (client fault)
|
|
130
|
+
* <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>
|
|
131
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
|
|
132
|
+
* <ul>
|
|
133
|
+
* <li>
|
|
134
|
+
* <p>There are missing required fields.</p>
|
|
135
|
+
* </li>
|
|
136
|
+
* <li>
|
|
137
|
+
* <p>The input value fails the validation.</p>
|
|
138
|
+
* </li>
|
|
139
|
+
* <li>
|
|
140
|
+
* <p>You are trying to create more than 300 queries.</p>
|
|
141
|
+
* </li>
|
|
142
|
+
* </ul>
|
|
143
|
+
* <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>
|
|
144
|
+
* <ul>
|
|
145
|
+
* <li>
|
|
146
|
+
* <p>You have specified more than one configuration recorder.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* <li>
|
|
149
|
+
* <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
|
|
150
|
+
* </li>
|
|
151
|
+
* </ul>
|
|
152
|
+
* <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>
|
|
153
|
+
* <ul>
|
|
154
|
+
* <li>
|
|
155
|
+
* <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
|
|
156
|
+
* </li>
|
|
157
|
+
* <li>
|
|
158
|
+
* <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
|
|
159
|
+
* </li>
|
|
160
|
+
* <li>
|
|
161
|
+
* <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
|
|
162
|
+
* </li>
|
|
163
|
+
* </ul>
|
|
164
|
+
*
|
|
165
|
+
* @throws {@link ConfigServiceServiceException}
|
|
166
|
+
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|
|
167
|
+
*
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export declare class PutServiceLinkedConfigurationRecorderCommand extends PutServiceLinkedConfigurationRecorderCommand_base {
|
|
171
|
+
/** @internal type navigation helper, not in runtime. */
|
|
172
|
+
protected static __types: {
|
|
173
|
+
api: {
|
|
174
|
+
input: PutServiceLinkedConfigurationRecorderRequest;
|
|
175
|
+
output: PutServiceLinkedConfigurationRecorderResponse;
|
|
176
|
+
};
|
|
177
|
+
sdk: {
|
|
178
|
+
input: PutServiceLinkedConfigurationRecorderCommandInput;
|
|
179
|
+
output: PutServiceLinkedConfigurationRecorderCommandOutput;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
}
|
|
@@ -31,6 +31,9 @@ declare const PutStoredQueryCommand_base: {
|
|
|
31
31
|
* You can create upto 300 queries in a single Amazon Web Services account and a single Amazon Web Services Region.</p>
|
|
32
32
|
* <note>
|
|
33
33
|
* <p>
|
|
34
|
+
* <b>Tags are added at creation and cannot be updated</b>
|
|
35
|
+
* </p>
|
|
36
|
+
* <p>
|
|
34
37
|
* <code>PutStoredQuery</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>
|
|
36
39
|
* </note>
|
|
@@ -79,9 +82,40 @@ declare const PutStoredQueryCommand_base: {
|
|
|
79
82
|
* </a> in the <i>Config Developer Guide</i>.</p>
|
|
80
83
|
*
|
|
81
84
|
* @throws {@link ValidationException} (client fault)
|
|
82
|
-
* <p>The requested
|
|
83
|
-
* <p>For PutStoredQuery
|
|
84
|
-
* <
|
|
85
|
+
* <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>
|
|
86
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
|
|
87
|
+
* <ul>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>There are missing required fields.</p>
|
|
90
|
+
* </li>
|
|
91
|
+
* <li>
|
|
92
|
+
* <p>The input value fails the validation.</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* <li>
|
|
95
|
+
* <p>You are trying to create more than 300 queries.</p>
|
|
96
|
+
* </li>
|
|
97
|
+
* </ul>
|
|
98
|
+
* <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>
|
|
99
|
+
* <ul>
|
|
100
|
+
* <li>
|
|
101
|
+
* <p>You have specified more than one configuration recorder.</p>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
|
|
105
|
+
* </li>
|
|
106
|
+
* </ul>
|
|
107
|
+
* <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>
|
|
108
|
+
* <ul>
|
|
109
|
+
* <li>
|
|
110
|
+
* <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
|
|
111
|
+
* </li>
|
|
112
|
+
* <li>
|
|
113
|
+
* <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
|
|
114
|
+
* </li>
|
|
115
|
+
* <li>
|
|
116
|
+
* <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
|
|
117
|
+
* </li>
|
|
118
|
+
* </ul>
|
|
85
119
|
*
|
|
86
120
|
* @throws {@link ConfigServiceServiceException}
|
|
87
121
|
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|
|
@@ -101,7 +101,9 @@ declare const StartConfigRulesEvaluationCommand_base: {
|
|
|
101
101
|
* that your parameters are valid and try again.</p>
|
|
102
102
|
*
|
|
103
103
|
* @throws {@link LimitExceededException} (client fault)
|
|
104
|
-
* <p>For <code>
|
|
104
|
+
* <p>For <code>PutServiceLinkedConfigurationRecorder</code> API, this exception
|
|
105
|
+
* is thrown if the number of service-linked roles in the account exceeds the limit.</p>
|
|
106
|
+
* <p>For <code>StartConfigRulesEvaluation</code> API, this exception
|
|
105
107
|
* is thrown if an evaluation is in progress or if you call the <a>StartConfigRulesEvaluation</a> API more than once per
|
|
106
108
|
* minute.</p>
|
|
107
109
|
* <p>For <code>PutConfigurationAggregator</code> API, this exception
|
|
@@ -27,10 +27,9 @@ declare const StartConfigurationRecorderCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Starts recording
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* successfully start the configuration recorder.</p>
|
|
30
|
+
* <p>Starts the customer managed configuration recorder. The customer managed configuration recorder will begin recording configuration changes for the resource types you specify.</p>
|
|
31
|
+
* <p>You must have created a delivery channel to
|
|
32
|
+
* successfully start the customer managed configuration recorder. You can use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutDeliveryChannel.html">PutDeliveryChannel</a> operation to create a delivery channel.</p>
|
|
34
33
|
* @example
|
|
35
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
35
|
* ```javascript
|
|
@@ -60,6 +59,17 @@ declare const StartConfigurationRecorderCommand_base: {
|
|
|
60
59
|
* <p>You have specified a configuration recorder that does not
|
|
61
60
|
* exist.</p>
|
|
62
61
|
*
|
|
62
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
63
|
+
* <p>The requested operation is not valid.</p>
|
|
64
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a>,
|
|
65
|
+
* 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
|
|
66
|
+
* recorder.</p>
|
|
67
|
+
* <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
|
|
68
|
+
* recorder.</p>
|
|
69
|
+
* <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.
|
|
70
|
+
* 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
|
|
71
|
+
* recorder.</p>
|
|
72
|
+
*
|
|
63
73
|
* @throws {@link ConfigServiceServiceException}
|
|
64
74
|
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|
|
65
75
|
*
|
|
@@ -68,16 +68,16 @@ declare const StartRemediationExecutionCommand_base: {
|
|
|
68
68
|
* <p>Indicates one of the following errors:</p>
|
|
69
69
|
* <ul>
|
|
70
70
|
* <li>
|
|
71
|
-
* <p>For PutConfigRule
|
|
71
|
+
* <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>
|
|
72
72
|
* </li>
|
|
73
73
|
* <li>
|
|
74
|
-
* <p>For PutConfigRule
|
|
74
|
+
* <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>
|
|
75
75
|
* </li>
|
|
76
76
|
* <li>
|
|
77
|
-
* <p>For PutOrganizationConfigRule
|
|
77
|
+
* <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>
|
|
78
78
|
* </li>
|
|
79
79
|
* <li>
|
|
80
|
-
* <p>For PutConformancePack and PutOrganizationConformancePack
|
|
80
|
+
* <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>
|
|
81
81
|
* <ul>
|
|
82
82
|
* <li>
|
|
83
83
|
* <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
|
|
@@ -87,6 +87,9 @@ declare const StartRemediationExecutionCommand_base: {
|
|
|
87
87
|
* </li>
|
|
88
88
|
* </ul>
|
|
89
89
|
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <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>
|
|
92
|
+
* </li>
|
|
90
93
|
* </ul>
|
|
91
94
|
*
|
|
92
95
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
@@ -27,7 +27,7 @@ declare const StopConfigurationRecorderCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Stops
|
|
30
|
+
* <p>Stops the customer managed configuration recorder. The customer managed configuration recorder will stop recording configuration changes for the resource types you have specified.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -53,6 +53,17 @@ declare const StopConfigurationRecorderCommand_base: {
|
|
|
53
53
|
* <p>You have specified a configuration recorder that does not
|
|
54
54
|
* exist.</p>
|
|
55
55
|
*
|
|
56
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
57
|
+
* <p>The requested operation is not valid.</p>
|
|
58
|
+
* <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a>,
|
|
59
|
+
* 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
|
|
60
|
+
* recorder.</p>
|
|
61
|
+
* <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
|
|
62
|
+
* recorder.</p>
|
|
63
|
+
* <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.
|
|
64
|
+
* 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
|
|
65
|
+
* recorder.</p>
|
|
66
|
+
*
|
|
56
67
|
* @throws {@link ConfigServiceServiceException}
|
|
57
68
|
* <p>Base exception class for all service exceptions from ConfigService service.</p>
|
|
58
69
|
*
|