@aws-sdk/client-config-service 3.934.0 → 3.936.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.
Files changed (83) hide show
  1. package/dist-cjs/index.js +797 -797
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +645 -0
  4. package/dist-es/models/errors.js +673 -0
  5. package/dist-es/models/models_0.js +1 -1131
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/ListConfigurationRecordersCommand.d.ts +1 -1
  8. package/dist-types/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
  9. package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +1 -1
  10. package/dist-types/commands/ListResourceEvaluationsCommand.d.ts +1 -1
  11. package/dist-types/commands/ListStoredQueriesCommand.d.ts +1 -1
  12. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  13. package/dist-types/commands/PutAggregationAuthorizationCommand.d.ts +1 -1
  14. package/dist-types/commands/PutConfigRuleCommand.d.ts +1 -1
  15. package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
  16. package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +1 -1
  17. package/dist-types/commands/PutConformancePackCommand.d.ts +1 -1
  18. package/dist-types/commands/PutDeliveryChannelCommand.d.ts +1 -1
  19. package/dist-types/commands/PutEvaluationsCommand.d.ts +1 -1
  20. package/dist-types/commands/PutExternalEvaluationCommand.d.ts +1 -1
  21. package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +1 -1
  22. package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
  23. package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
  24. package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +1 -1
  25. package/dist-types/commands/PutResourceConfigCommand.d.ts +1 -1
  26. package/dist-types/commands/PutRetentionConfigurationCommand.d.ts +1 -1
  27. package/dist-types/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +1 -1
  28. package/dist-types/commands/PutStoredQueryCommand.d.ts +1 -1
  29. package/dist-types/commands/SelectAggregateResourceConfigCommand.d.ts +1 -1
  30. package/dist-types/commands/SelectResourceConfigCommand.d.ts +1 -1
  31. package/dist-types/commands/StartConfigRulesEvaluationCommand.d.ts +1 -1
  32. package/dist-types/commands/StartConfigurationRecorderCommand.d.ts +1 -1
  33. package/dist-types/commands/StartRemediationExecutionCommand.d.ts +1 -1
  34. package/dist-types/commands/StartResourceEvaluationCommand.d.ts +1 -1
  35. package/dist-types/commands/StopConfigurationRecorderCommand.d.ts +1 -1
  36. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  37. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  38. package/dist-types/index.d.ts +3 -1
  39. package/dist-types/models/enums.d.ts +949 -0
  40. package/dist-types/models/errors.d.ts +849 -0
  41. package/dist-types/models/models_0.d.ts +1347 -1536
  42. package/dist-types/ts3.4/commands/ListConfigurationRecordersCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListResourceEvaluationsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListStoredQueriesCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/PutAggregationAuthorizationCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/PutConfigRuleCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/PutConfigurationRecorderCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/PutConformancePackCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/PutDeliveryChannelCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/PutEvaluationsCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/PutExternalEvaluationCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/PutOrganizationConfigRuleCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/PutRemediationExceptionsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/PutResourceConfigCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/PutRetentionConfigurationCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/PutStoredQueryCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/SelectAggregateResourceConfigCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/SelectResourceConfigCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/StartConfigRulesEvaluationCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/StartConfigurationRecorderCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/StartRemediationExecutionCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/StartResourceEvaluationCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/StopConfigurationRecorderCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/index.d.ts +3 -1
  74. package/dist-types/ts3.4/models/enums.d.ts +715 -0
  75. package/dist-types/ts3.4/models/errors.d.ts +485 -0
  76. package/dist-types/ts3.4/models/models_0.d.ts +326 -1047
  77. package/package.json +19 -19
  78. package/dist-es/models/index.js +0 -2
  79. package/dist-es/models/models_1.js +0 -188
  80. package/dist-types/models/index.d.ts +0 -2
  81. package/dist-types/models/models_1.d.ts +0 -1611
  82. package/dist-types/ts3.4/models/index.d.ts +0 -2
  83. package/dist-types/ts3.4/models/models_1.d.ts +0 -475
@@ -1,1611 +0,0 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
3
- import { AccountAggregationSource, AggregationAuthorization, AggregatorFilters, ConfigRule, ConfigurationAggregator, ConfigurationRecorder, ConfigurationRecorderFilter, ConfigurationRecorderSummary, ConformancePackComplianceScore, ConformancePackComplianceScoresFilters, ConformancePackInputParameter, DeliveryChannel, Evaluation, EvaluationContext, EvaluationMode, ExternalEvaluation, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, MaximumExecutionFrequency, OrganizationAggregationSource, OrganizationConfigRuleTriggerTypeNoSN, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceDetails, ResourceKey, ResourceType, RetentionConfiguration, StoredQuery, TemplateSSMDocumentDetails } from "./models_0";
4
- /**
5
- * @public
6
- */
7
- export interface ListConfigurationRecordersRequest {
8
- /**
9
- * <p>Filters the results based on a list of <code>ConfigurationRecorderFilter</code> objects that you specify.</p>
10
- * @public
11
- */
12
- Filters?: ConfigurationRecorderFilter[] | undefined;
13
- /**
14
- * <p>The maximum number of results to include in the response.</p>
15
- * @public
16
- */
17
- MaxResults?: number | undefined;
18
- /**
19
- * <p>The <code>NextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
20
- * @public
21
- */
22
- NextToken?: string | undefined;
23
- }
24
- /**
25
- * @public
26
- */
27
- export interface ListConfigurationRecordersResponse {
28
- /**
29
- * <p>A list of <code>ConfigurationRecorderSummary</code> objects that includes.</p>
30
- * @public
31
- */
32
- ConfigurationRecorderSummaries: ConfigurationRecorderSummary[] | undefined;
33
- /**
34
- * <p>The <code>NextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
35
- * @public
36
- */
37
- NextToken?: string | undefined;
38
- }
39
- /**
40
- * @public
41
- * @enum
42
- */
43
- export declare const SortBy: {
44
- readonly SCORE: "SCORE";
45
- };
46
- /**
47
- * @public
48
- */
49
- export type SortBy = (typeof SortBy)[keyof typeof SortBy];
50
- /**
51
- * @public
52
- * @enum
53
- */
54
- export declare const SortOrder: {
55
- readonly ASCENDING: "ASCENDING";
56
- readonly DESCENDING: "DESCENDING";
57
- };
58
- /**
59
- * @public
60
- */
61
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
62
- /**
63
- * @public
64
- */
65
- export interface ListConformancePackComplianceScoresRequest {
66
- /**
67
- * <p>Filters the results based on the <code>ConformancePackComplianceScoresFilters</code>.</p>
68
- * @public
69
- */
70
- Filters?: ConformancePackComplianceScoresFilters | undefined;
71
- /**
72
- * <p>Determines the order in which conformance pack compliance scores are sorted. Either in ascending or descending order.</p>
73
- * <p>By default, conformance pack compliance scores are sorted in alphabetical order by name of the conformance pack. Conformance pack compliance scores are sorted in reverse alphabetical order if you enter <code>DESCENDING</code>.</p>
74
- * <p>You can sort conformance pack compliance scores by the numerical value of the compliance score by entering <code>SCORE</code> in the <code>SortBy</code> action. When compliance scores are sorted by <code>SCORE</code>, conformance packs with a compliance score of <code>INSUFFICIENT_DATA</code> will be last when sorting by ascending order and first when sorting by descending order.</p>
75
- * @public
76
- */
77
- SortOrder?: SortOrder | undefined;
78
- /**
79
- * <p>Sorts your conformance pack compliance scores in either ascending or descending order, depending on <code>SortOrder</code>.</p>
80
- * <p>By default, conformance pack compliance scores are sorted in alphabetical order by name of the conformance pack.
81
- * Enter <code>SCORE</code>, to sort conformance pack compliance scores by the numerical value of the compliance score.</p>
82
- * @public
83
- */
84
- SortBy?: SortBy | undefined;
85
- /**
86
- * <p>The maximum number of conformance pack compliance scores returned on each page.</p>
87
- * @public
88
- */
89
- Limit?: number | undefined;
90
- /**
91
- * <p>The <code>nextToken</code> string in a prior request that you can use to get the paginated response for the next set of conformance pack compliance scores.</p>
92
- * @public
93
- */
94
- NextToken?: string | undefined;
95
- }
96
- /**
97
- * @public
98
- */
99
- export interface ListConformancePackComplianceScoresResponse {
100
- /**
101
- * <p>The <code>nextToken</code> string that you can use to get the next page of results in a paginated response.</p>
102
- * @public
103
- */
104
- NextToken?: string | undefined;
105
- /**
106
- * <p>A list of <code>ConformancePackComplianceScore</code> objects.</p>
107
- * @public
108
- */
109
- ConformancePackComplianceScores: ConformancePackComplianceScore[] | undefined;
110
- }
111
- /**
112
- * <p></p>
113
- * @public
114
- */
115
- export interface ListDiscoveredResourcesRequest {
116
- /**
117
- * <p>The type of resources that you want Config to list in the
118
- * response.</p>
119
- * @public
120
- */
121
- resourceType: ResourceType | undefined;
122
- /**
123
- * <p>The IDs of only those resources that you want Config to
124
- * list in the response. If you do not specify this parameter, Config lists all resources of the specified type that it has
125
- * discovered. You can list a minimum of 1 resourceID and a maximum of 20 resourceIds.</p>
126
- * @public
127
- */
128
- resourceIds?: string[] | undefined;
129
- /**
130
- * <p>The custom name of only those resources that you want Config to list in the response. If you do not specify this
131
- * parameter, Config lists all resources of the specified type that
132
- * it has discovered.</p>
133
- * @public
134
- */
135
- resourceName?: string | undefined;
136
- /**
137
- * <p>The maximum number of resource identifiers returned on each
138
- * page. The default is 100. You cannot specify a number greater than
139
- * 100. If you specify 0, Config uses the default.</p>
140
- * @public
141
- */
142
- limit?: number | undefined;
143
- /**
144
- * <p>Specifies whether Config includes deleted resources in the
145
- * results. By default, deleted resources are not included.</p>
146
- * @public
147
- */
148
- includeDeletedResources?: boolean | undefined;
149
- /**
150
- * <p>The <code>nextToken</code> string returned on a previous page
151
- * that you use to get the next page of results in a paginated
152
- * response.</p>
153
- * @public
154
- */
155
- nextToken?: string | undefined;
156
- }
157
- /**
158
- * <p>The details that identify a resource that is discovered by Config, including the resource type, ID, and (if available) the
159
- * custom resource name.</p>
160
- * @public
161
- */
162
- export interface ResourceIdentifier {
163
- /**
164
- * <p>The type of resource.</p>
165
- * @public
166
- */
167
- resourceType?: ResourceType | undefined;
168
- /**
169
- * <p>The ID of the resource (for example,
170
- * <code>sg-xxxxxx</code>).</p>
171
- * @public
172
- */
173
- resourceId?: string | undefined;
174
- /**
175
- * <p>The custom name of the resource (if available).</p>
176
- * @public
177
- */
178
- resourceName?: string | undefined;
179
- /**
180
- * <p>The time that the resource was deleted.</p>
181
- * @public
182
- */
183
- resourceDeletionTime?: Date | undefined;
184
- }
185
- /**
186
- * <p></p>
187
- * @public
188
- */
189
- export interface ListDiscoveredResourcesResponse {
190
- /**
191
- * <p>The details that identify a resource that is discovered by Config, including the resource type, ID, and (if available) the
192
- * custom resource name.</p>
193
- * @public
194
- */
195
- resourceIdentifiers?: ResourceIdentifier[] | undefined;
196
- /**
197
- * <p>The string that you use in a subsequent request to get the next
198
- * page of results in a paginated response.</p>
199
- * @public
200
- */
201
- nextToken?: string | undefined;
202
- }
203
- /**
204
- * <p>Filters evaluation results based on start and end times.</p>
205
- * @public
206
- */
207
- export interface TimeWindow {
208
- /**
209
- * <p>The start time of an execution.</p>
210
- * @public
211
- */
212
- StartTime?: Date | undefined;
213
- /**
214
- * <p>The end time of an execution. The end time must be after the start date.</p>
215
- * @public
216
- */
217
- EndTime?: Date | undefined;
218
- }
219
- /**
220
- * <p>Returns details of a resource evaluation based on the selected filter.</p>
221
- * @public
222
- */
223
- export interface ResourceEvaluationFilters {
224
- /**
225
- * <p>Filters all resource evaluations results based on an evaluation mode.</p>
226
- * <important>
227
- * <p>Currently, <code>DECTECTIVE</code> is not supported as a valid value. Ignore other documentation stating otherwise.</p>
228
- * </important>
229
- * @public
230
- */
231
- EvaluationMode?: EvaluationMode | undefined;
232
- /**
233
- * <p>Returns a <code>TimeWindow</code> object.</p>
234
- * @public
235
- */
236
- TimeWindow?: TimeWindow | undefined;
237
- /**
238
- * <p>Filters evaluations for a given infrastructure deployment. For example: CFN Stack.</p>
239
- * @public
240
- */
241
- EvaluationContextIdentifier?: string | undefined;
242
- }
243
- /**
244
- * @public
245
- */
246
- export interface ListResourceEvaluationsRequest {
247
- /**
248
- * <p>Returns a <code>ResourceEvaluationFilters</code> object.</p>
249
- * @public
250
- */
251
- Filters?: ResourceEvaluationFilters | undefined;
252
- /**
253
- * <p>The maximum number of evaluations returned on each page. The default is 10.
254
- * You cannot specify a number greater than 100. If you specify 0, Config uses the default.</p>
255
- * @public
256
- */
257
- Limit?: number | undefined;
258
- /**
259
- * <p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
260
- * @public
261
- */
262
- NextToken?: string | undefined;
263
- }
264
- /**
265
- * <p>Returns details of a resource evaluation.</p>
266
- * @public
267
- */
268
- export interface ResourceEvaluation {
269
- /**
270
- * <p>The ResourceEvaluationId of a evaluation.</p>
271
- * @public
272
- */
273
- ResourceEvaluationId?: string | undefined;
274
- /**
275
- * <p>The mode of an evaluation. The valid values are Detective or Proactive.</p>
276
- * @public
277
- */
278
- EvaluationMode?: EvaluationMode | undefined;
279
- /**
280
- * <p>The starting time of an execution.</p>
281
- * @public
282
- */
283
- EvaluationStartTimestamp?: Date | undefined;
284
- }
285
- /**
286
- * @public
287
- */
288
- export interface ListResourceEvaluationsResponse {
289
- /**
290
- * <p>Returns a <code>ResourceEvaluations</code> object.</p>
291
- * @public
292
- */
293
- ResourceEvaluations?: ResourceEvaluation[] | undefined;
294
- /**
295
- * <p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
296
- * @public
297
- */
298
- NextToken?: string | undefined;
299
- }
300
- /**
301
- * @public
302
- */
303
- export interface ListStoredQueriesRequest {
304
- /**
305
- * <p>The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.</p>
306
- * @public
307
- */
308
- NextToken?: string | undefined;
309
- /**
310
- * <p>The maximum number of results to be returned with a single call.</p>
311
- * @public
312
- */
313
- MaxResults?: number | undefined;
314
- }
315
- /**
316
- * <p>Returns details of a specific query. </p>
317
- * @public
318
- */
319
- export interface StoredQueryMetadata {
320
- /**
321
- * <p>The ID of the query. </p>
322
- * @public
323
- */
324
- QueryId: string | undefined;
325
- /**
326
- * <p>Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.</p>
327
- * @public
328
- */
329
- QueryArn: string | undefined;
330
- /**
331
- * <p>The name of the query.</p>
332
- * @public
333
- */
334
- QueryName: string | undefined;
335
- /**
336
- * <p>A unique description for the query.</p>
337
- * @public
338
- */
339
- Description?: string | undefined;
340
- }
341
- /**
342
- * @public
343
- */
344
- export interface ListStoredQueriesResponse {
345
- /**
346
- * <p>A list of <code>StoredQueryMetadata</code> objects.</p>
347
- * @public
348
- */
349
- StoredQueryMetadata?: StoredQueryMetadata[] | undefined;
350
- /**
351
- * <p>If the previous paginated request didn't return all of the remaining results, the response object's <code>NextToken</code> parameter value is set to a token.
352
- * To retrieve the next set of results, call this operation again and assign that token to the request object's <code>NextToken</code> parameter.
353
- * If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to <code>null</code>. </p>
354
- * @public
355
- */
356
- NextToken?: string | undefined;
357
- }
358
- /**
359
- * @public
360
- */
361
- export interface ListTagsForResourceRequest {
362
- /**
363
- * <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. The following resources are supported:</p>
364
- * <ul>
365
- * <li>
366
- * <p>
367
- * <code>ConfigurationRecorder</code>
368
- * </p>
369
- * </li>
370
- * <li>
371
- * <p>
372
- * <code>ConfigRule</code>
373
- * </p>
374
- * </li>
375
- * <li>
376
- * <p>
377
- * <code>OrganizationConfigRule</code>
378
- * </p>
379
- * </li>
380
- * <li>
381
- * <p>
382
- * <code>ConformancePack</code>
383
- * </p>
384
- * </li>
385
- * <li>
386
- * <p>
387
- * <code>OrganizationConformancePack</code>
388
- * </p>
389
- * </li>
390
- * <li>
391
- * <p>
392
- * <code>ConfigurationAggregator</code>
393
- * </p>
394
- * </li>
395
- * <li>
396
- * <p>
397
- * <code>AggregationAuthorization</code>
398
- * </p>
399
- * </li>
400
- * <li>
401
- * <p>
402
- * <code>StoredQuery</code>
403
- * </p>
404
- * </li>
405
- * </ul>
406
- * @public
407
- */
408
- ResourceArn: string | undefined;
409
- /**
410
- * <p>The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, Config uses the default. </p>
411
- * @public
412
- */
413
- Limit?: number | undefined;
414
- /**
415
- * <p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response. </p>
416
- * @public
417
- */
418
- NextToken?: string | undefined;
419
- }
420
- /**
421
- * <p>The tags for the resource. The metadata that you apply to a resource to help you categorize and organize them.
422
- * Each tag consists of a key and an optional value, both of which you define.
423
- * Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
424
- * @public
425
- */
426
- export interface Tag {
427
- /**
428
- * <p>One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.</p>
429
- * @public
430
- */
431
- Key?: string | undefined;
432
- /**
433
- * <p>The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).</p>
434
- * @public
435
- */
436
- Value?: string | undefined;
437
- }
438
- /**
439
- * @public
440
- */
441
- export interface ListTagsForResourceResponse {
442
- /**
443
- * <p>The tags for the resource.</p>
444
- * @public
445
- */
446
- Tags?: Tag[] | undefined;
447
- /**
448
- * <p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response. </p>
449
- * @public
450
- */
451
- NextToken?: string | undefined;
452
- }
453
- /**
454
- * <p>You have reached the limit of active custom resource types in your account. There is a limit of 100,000.
455
- * Delete unused resources using <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteResourceConfig.html">DeleteResourceConfig</a>
456
- * <code></code>.</p>
457
- * @public
458
- */
459
- export declare class MaxActiveResourcesExceededException extends __BaseException {
460
- readonly name: "MaxActiveResourcesExceededException";
461
- readonly $fault: "client";
462
- /**
463
- * @internal
464
- */
465
- constructor(opts: __ExceptionOptionType<MaxActiveResourcesExceededException, __BaseException>);
466
- }
467
- /**
468
- * <p>Failed to add the Config rule because the account already
469
- * contains the maximum number of 1000 rules. Consider deleting any
470
- * deactivated rules before you add new rules.</p>
471
- * @public
472
- */
473
- export declare class MaxNumberOfConfigRulesExceededException extends __BaseException {
474
- readonly name: "MaxNumberOfConfigRulesExceededException";
475
- readonly $fault: "client";
476
- /**
477
- * @internal
478
- */
479
- constructor(opts: __ExceptionOptionType<MaxNumberOfConfigRulesExceededException, __BaseException>);
480
- }
481
- /**
482
- * <p>You have reached the limit of the number of configuration recorders you can
483
- * create.</p>
484
- * @public
485
- */
486
- export declare class MaxNumberOfConfigurationRecordersExceededException extends __BaseException {
487
- readonly name: "MaxNumberOfConfigurationRecordersExceededException";
488
- readonly $fault: "client";
489
- /**
490
- * @internal
491
- */
492
- constructor(opts: __ExceptionOptionType<MaxNumberOfConfigurationRecordersExceededException, __BaseException>);
493
- }
494
- /**
495
- * <p>You have reached the limit of the number of conformance packs you can create in an account. For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
496
- * <b>Service Limits</b>
497
- * </a> in the <i>Config Developer Guide</i>.</p>
498
- * @public
499
- */
500
- export declare class MaxNumberOfConformancePacksExceededException extends __BaseException {
501
- readonly name: "MaxNumberOfConformancePacksExceededException";
502
- readonly $fault: "client";
503
- /**
504
- * @internal
505
- */
506
- constructor(opts: __ExceptionOptionType<MaxNumberOfConformancePacksExceededException, __BaseException>);
507
- }
508
- /**
509
- * <p>You have reached the limit of the number of delivery channels
510
- * you can create.</p>
511
- * @public
512
- */
513
- export declare class MaxNumberOfDeliveryChannelsExceededException extends __BaseException {
514
- readonly name: "MaxNumberOfDeliveryChannelsExceededException";
515
- readonly $fault: "client";
516
- /**
517
- * @internal
518
- */
519
- constructor(opts: __ExceptionOptionType<MaxNumberOfDeliveryChannelsExceededException, __BaseException>);
520
- }
521
- /**
522
- * <p>You have reached the limit of the number of organization Config rules you can create. For more information, see see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
523
- * <b>Service Limits</b>
524
- * </a> in the <i>Config Developer Guide</i>.</p>
525
- * @public
526
- */
527
- export declare class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException {
528
- readonly name: "MaxNumberOfOrganizationConfigRulesExceededException";
529
- readonly $fault: "client";
530
- /**
531
- * @internal
532
- */
533
- constructor(opts: __ExceptionOptionType<MaxNumberOfOrganizationConfigRulesExceededException, __BaseException>);
534
- }
535
- /**
536
- * <p>You have reached the limit of the number of organization conformance packs you can create in an account. For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
537
- * <b>Service Limits</b>
538
- * </a> in the <i>Config Developer Guide</i>.</p>
539
- * @public
540
- */
541
- export declare class MaxNumberOfOrganizationConformancePacksExceededException extends __BaseException {
542
- readonly name: "MaxNumberOfOrganizationConformancePacksExceededException";
543
- readonly $fault: "client";
544
- /**
545
- * @internal
546
- */
547
- constructor(opts: __ExceptionOptionType<MaxNumberOfOrganizationConformancePacksExceededException, __BaseException>);
548
- }
549
- /**
550
- * <p>Failed to add the retention configuration because a retention configuration with that name already exists.</p>
551
- * @public
552
- */
553
- export declare class MaxNumberOfRetentionConfigurationsExceededException extends __BaseException {
554
- readonly name: "MaxNumberOfRetentionConfigurationsExceededException";
555
- readonly $fault: "client";
556
- /**
557
- * @internal
558
- */
559
- constructor(opts: __ExceptionOptionType<MaxNumberOfRetentionConfigurationsExceededException, __BaseException>);
560
- }
561
- /**
562
- * <p>There is no delivery channel available to record
563
- * configurations.</p>
564
- * @public
565
- */
566
- export declare class NoAvailableDeliveryChannelException extends __BaseException {
567
- readonly name: "NoAvailableDeliveryChannelException";
568
- readonly $fault: "client";
569
- /**
570
- * @internal
571
- */
572
- constructor(opts: __ExceptionOptionType<NoAvailableDeliveryChannelException, __BaseException>);
573
- }
574
- /**
575
- * <p>Organization is no longer available.</p>
576
- * @public
577
- */
578
- export declare class NoAvailableOrganizationException extends __BaseException {
579
- readonly name: "NoAvailableOrganizationException";
580
- readonly $fault: "client";
581
- /**
582
- * @internal
583
- */
584
- constructor(opts: __ExceptionOptionType<NoAvailableOrganizationException, __BaseException>);
585
- }
586
- /**
587
- * <p>The specified Amazon S3 bucket does not exist.</p>
588
- * @public
589
- */
590
- export declare class NoSuchBucketException extends __BaseException {
591
- readonly name: "NoSuchBucketException";
592
- readonly $fault: "client";
593
- /**
594
- * @internal
595
- */
596
- constructor(opts: __ExceptionOptionType<NoSuchBucketException, __BaseException>);
597
- }
598
- /**
599
- * <p>Config resource cannot be created because your organization does not have all features enabled.</p>
600
- * @public
601
- */
602
- export declare class OrganizationAllFeaturesNotEnabledException extends __BaseException {
603
- readonly name: "OrganizationAllFeaturesNotEnabledException";
604
- readonly $fault: "client";
605
- /**
606
- * @internal
607
- */
608
- constructor(opts: __ExceptionOptionType<OrganizationAllFeaturesNotEnabledException, __BaseException>);
609
- }
610
- /**
611
- * <p>You have specified a template that is not valid or supported.</p>
612
- * @public
613
- */
614
- export declare class OrganizationConformancePackTemplateValidationException extends __BaseException {
615
- readonly name: "OrganizationConformancePackTemplateValidationException";
616
- readonly $fault: "client";
617
- /**
618
- * @internal
619
- */
620
- constructor(opts: __ExceptionOptionType<OrganizationConformancePackTemplateValidationException, __BaseException>);
621
- }
622
- /**
623
- * <p>An
624
- * object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have
625
- * debug logging enabled, and other custom rule metadata, such as resource type, resource
626
- * ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.</p>
627
- * @public
628
- */
629
- export interface OrganizationCustomPolicyRuleMetadata {
630
- /**
631
- * <p>The description that you provide for your organization Config Custom Policy rule.</p>
632
- * @public
633
- */
634
- Description?: string | undefined;
635
- /**
636
- * <p>The type of notification that initiates Config to run an evaluation for a rule.
637
- * For Config Custom Policy rules, Config supports change-initiated notification types:</p>
638
- * <ul>
639
- * <li>
640
- * <p>
641
- * <code>ConfigurationItemChangeNotification</code> - Initiates an evaluation when Config delivers a configuration item as a result of a resource
642
- * change.</p>
643
- * </li>
644
- * <li>
645
- * <p>
646
- * <code>OversizedConfigurationItemChangeNotification</code> - Initiates an evaluation when
647
- * Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the
648
- * notification exceeds the maximum size allowed by Amazon SNS.</p>
649
- * </li>
650
- * </ul>
651
- * @public
652
- */
653
- OrganizationConfigRuleTriggerTypes?: OrganizationConfigRuleTriggerTypeNoSN[] | undefined;
654
- /**
655
- * <p>A string, in JSON format, that is passed to your organization Config Custom Policy rule.</p>
656
- * @public
657
- */
658
- InputParameters?: string | undefined;
659
- /**
660
- * <p>The maximum frequency with which Config runs evaluations for a rule. Your
661
- * Config Custom Policy rule is triggered when Config delivers
662
- * the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p>
663
- * @public
664
- */
665
- MaximumExecutionFrequency?: MaximumExecutionFrequency | undefined;
666
- /**
667
- * <p>The type of the Amazon Web Services resource that was evaluated.</p>
668
- * @public
669
- */
670
- ResourceTypesScope?: string[] | undefined;
671
- /**
672
- * <p>The ID of the Amazon Web Services resource that was evaluated.</p>
673
- * @public
674
- */
675
- ResourceIdScope?: string | undefined;
676
- /**
677
- * <p>One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.</p>
678
- * @public
679
- */
680
- TagKeyScope?: string | undefined;
681
- /**
682
- * <p>The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).</p>
683
- * @public
684
- */
685
- TagValueScope?: string | undefined;
686
- /**
687
- * <p>The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the <a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
688
- * Repository</a>.</p>
689
- * @public
690
- */
691
- PolicyRuntime: string | undefined;
692
- /**
693
- * <p>The policy definition containing the logic for your organization Config Custom Policy rule.</p>
694
- * @public
695
- */
696
- PolicyText: string | undefined;
697
- /**
698
- * <p>A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.</p>
699
- * @public
700
- */
701
- DebugLogDeliveryAccounts?: string[] | undefined;
702
- }
703
- /**
704
- * @public
705
- */
706
- export interface PutAggregationAuthorizationRequest {
707
- /**
708
- * <p>The 12-digit account ID of the account authorized to aggregate data.</p>
709
- * @public
710
- */
711
- AuthorizedAccountId: string | undefined;
712
- /**
713
- * <p>The region authorized to collect aggregated data.</p>
714
- * @public
715
- */
716
- AuthorizedAwsRegion: string | undefined;
717
- /**
718
- * <p>An array of tag object.</p>
719
- * @public
720
- */
721
- Tags?: Tag[] | undefined;
722
- }
723
- /**
724
- * @public
725
- */
726
- export interface PutAggregationAuthorizationResponse {
727
- /**
728
- * <p>Returns an AggregationAuthorization object.
729
- *
730
- * </p>
731
- * @public
732
- */
733
- AggregationAuthorization?: AggregationAuthorization | undefined;
734
- }
735
- /**
736
- * @public
737
- */
738
- export interface PutConfigRuleRequest {
739
- /**
740
- * <p>The rule that you want to add to your account.</p>
741
- * @public
742
- */
743
- ConfigRule: ConfigRule | undefined;
744
- /**
745
- * <p>An array of tag object.</p>
746
- * @public
747
- */
748
- Tags?: Tag[] | undefined;
749
- }
750
- /**
751
- * @public
752
- */
753
- export interface PutConfigurationAggregatorRequest {
754
- /**
755
- * <p>The name of the configuration aggregator.</p>
756
- * @public
757
- */
758
- ConfigurationAggregatorName: string | undefined;
759
- /**
760
- * <p>A list of AccountAggregationSource object.
761
- *
762
- * </p>
763
- * @public
764
- */
765
- AccountAggregationSources?: AccountAggregationSource[] | undefined;
766
- /**
767
- * <p>An OrganizationAggregationSource object.</p>
768
- * @public
769
- */
770
- OrganizationAggregationSource?: OrganizationAggregationSource | undefined;
771
- /**
772
- * <p>An array of tag object.</p>
773
- * @public
774
- */
775
- Tags?: Tag[] | undefined;
776
- /**
777
- * <p>An object to filter configuration recorders in an aggregator. Either <code>ResourceType</code> or <code>ServicePrincipal</code> is required.</p>
778
- * @public
779
- */
780
- AggregatorFilters?: AggregatorFilters | undefined;
781
- }
782
- /**
783
- * @public
784
- */
785
- export interface PutConfigurationAggregatorResponse {
786
- /**
787
- * <p>Returns a ConfigurationAggregator object.</p>
788
- * @public
789
- */
790
- ConfigurationAggregator?: ConfigurationAggregator | undefined;
791
- }
792
- /**
793
- * <p>The input for the <a>PutConfigurationRecorder</a>
794
- * action.</p>
795
- * @public
796
- */
797
- export interface PutConfigurationRecorderRequest {
798
- /**
799
- * <p>An object for the configuration recorder. A configuration recorder records configuration changes for the resource types in scope.</p>
800
- * @public
801
- */
802
- ConfigurationRecorder: ConfigurationRecorder | undefined;
803
- /**
804
- * <p>The tags for the customer managed configuration recorder. Each tag consists of a key and an optional value, both of which you define.</p>
805
- * @public
806
- */
807
- Tags?: Tag[] | undefined;
808
- }
809
- /**
810
- * @public
811
- */
812
- export interface PutConformancePackRequest {
813
- /**
814
- * <p>The unique name of the conformance pack you want to deploy.</p>
815
- * @public
816
- */
817
- ConformancePackName: string | undefined;
818
- /**
819
- * <p>The location of the file containing the template body (<code>s3://bucketname/prefix</code>). The uri must point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same Region as the conformance pack. </p>
820
- * <note>
821
- * <p>You must have access to read Amazon S3 bucket.
822
- * In addition, in order to ensure a successful deployment, the template object must not be in an <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html">archived storage class</a> if this parameter is passed.</p>
823
- * </note>
824
- * @public
825
- */
826
- TemplateS3Uri?: string | undefined;
827
- /**
828
- * <p>A string that contains the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.</p>
829
- * <note>
830
- * <p>You can use a YAML template with two resource types: Config rule (<code>AWS::Config::ConfigRule</code>) and remediation action (<code>AWS::Config::RemediationConfiguration</code>).</p>
831
- * </note>
832
- * @public
833
- */
834
- TemplateBody?: string | undefined;
835
- /**
836
- * <p>The name of the Amazon S3 bucket where Config stores conformance pack templates.</p>
837
- * <note>
838
- * <p>This field is optional.</p>
839
- * </note>
840
- * @public
841
- */
842
- DeliveryS3Bucket?: string | undefined;
843
- /**
844
- * <p>The prefix for the Amazon S3 bucket. </p>
845
- * <note>
846
- * <p>This field is optional.</p>
847
- * </note>
848
- * @public
849
- */
850
- DeliveryS3KeyPrefix?: string | undefined;
851
- /**
852
- * <p>A list of <code>ConformancePackInputParameter</code> objects.</p>
853
- * @public
854
- */
855
- ConformancePackInputParameters?: ConformancePackInputParameter[] | undefined;
856
- /**
857
- * <p>An object of type <code>TemplateSSMDocumentDetails</code>, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.</p>
858
- * @public
859
- */
860
- TemplateSSMDocumentDetails?: TemplateSSMDocumentDetails | undefined;
861
- }
862
- /**
863
- * @public
864
- */
865
- export interface PutConformancePackResponse {
866
- /**
867
- * <p>ARN of the conformance pack.</p>
868
- * @public
869
- */
870
- ConformancePackArn?: string | undefined;
871
- }
872
- /**
873
- * <p>The input for the <a>PutDeliveryChannel</a>
874
- * action.</p>
875
- * @public
876
- */
877
- export interface PutDeliveryChannelRequest {
878
- /**
879
- * <p>An object for the delivery channel. A delivery channel sends notifications and updated configuration states.
880
- * </p>
881
- * @public
882
- */
883
- DeliveryChannel: DeliveryChannel | undefined;
884
- }
885
- /**
886
- * <p></p>
887
- * @public
888
- */
889
- export interface PutEvaluationsRequest {
890
- /**
891
- * <p>The assessments that the Lambda function performs. Each
892
- * evaluation identifies an Amazon Web Services resource and indicates whether it
893
- * complies with the Config rule that invokes the Lambda
894
- * function.</p>
895
- * @public
896
- */
897
- Evaluations?: Evaluation[] | undefined;
898
- /**
899
- * <p>An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that triggered the
900
- * evaluation.</p>
901
- * @public
902
- */
903
- ResultToken: string | undefined;
904
- /**
905
- * <p>Use this parameter to specify a test run for
906
- * <code>PutEvaluations</code>. You can verify whether your Lambda function will deliver evaluation results to Config. No
907
- * updates occur to your existing evaluations, and evaluation results
908
- * are not sent to Config.</p>
909
- * <note>
910
- * <p>When <code>TestMode</code> is <code>true</code>,
911
- * <code>PutEvaluations</code> doesn't require a valid value
912
- * for the <code>ResultToken</code> parameter, but the value cannot
913
- * be null.</p>
914
- * </note>
915
- * @public
916
- */
917
- TestMode?: boolean | undefined;
918
- }
919
- /**
920
- * <p></p>
921
- * @public
922
- */
923
- export interface PutEvaluationsResponse {
924
- /**
925
- * <p>Requests that failed because of a client or server
926
- * error.</p>
927
- * @public
928
- */
929
- FailedEvaluations?: Evaluation[] | undefined;
930
- }
931
- /**
932
- * @public
933
- */
934
- export interface PutExternalEvaluationRequest {
935
- /**
936
- * <p>The name of the Config rule.</p>
937
- * @public
938
- */
939
- ConfigRuleName: string | undefined;
940
- /**
941
- * <p>An <code>ExternalEvaluation</code> object that provides details about compliance.</p>
942
- * @public
943
- */
944
- ExternalEvaluation: ExternalEvaluation | undefined;
945
- }
946
- /**
947
- * @public
948
- */
949
- export interface PutExternalEvaluationResponse {
950
- }
951
- /**
952
- * @public
953
- */
954
- export interface PutOrganizationConfigRuleRequest {
955
- /**
956
- * <p>The name that you assign to an organization Config rule.</p>
957
- * @public
958
- */
959
- OrganizationConfigRuleName: string | undefined;
960
- /**
961
- * <p>An <code>OrganizationManagedRuleMetadata</code> object. This object specifies organization
962
- * managed rule metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier.
963
- * It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.</p>
964
- * @public
965
- */
966
- OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata | undefined;
967
- /**
968
- * <p>An <code>OrganizationCustomRuleMetadata</code> object. This object specifies organization custom rule metadata such as resource type,
969
- * resource ID of Amazon Web Services resource, Lambda function ARN, and organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a rule.
970
- * It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.</p>
971
- * @public
972
- */
973
- OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata | undefined;
974
- /**
975
- * <p>A comma-separated list of accounts that you want to exclude from an organization Config rule.</p>
976
- * @public
977
- */
978
- ExcludedAccounts?: string[] | undefined;
979
- /**
980
- * <p>An <code>OrganizationCustomPolicyRuleMetadata</code> object. This object specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug
981
- * logging enabled, and other custom rule metadata, such as resource type, resource ID of
982
- * Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.</p>
983
- * @public
984
- */
985
- OrganizationCustomPolicyRuleMetadata?: OrganizationCustomPolicyRuleMetadata | undefined;
986
- }
987
- /**
988
- * @public
989
- */
990
- export interface PutOrganizationConfigRuleResponse {
991
- /**
992
- * <p>The Amazon Resource Name (ARN) of an organization Config rule.</p>
993
- * @public
994
- */
995
- OrganizationConfigRuleArn?: string | undefined;
996
- }
997
- /**
998
- * @public
999
- */
1000
- export interface PutOrganizationConformancePackRequest {
1001
- /**
1002
- * <p>Name of the organization conformance pack you want to create.</p>
1003
- * @public
1004
- */
1005
- OrganizationConformancePackName: string | undefined;
1006
- /**
1007
- * <p>Location of file containing the template body. The uri must point to the conformance pack template
1008
- * (max size: 300 KB).</p>
1009
- * <note>
1010
- * <p>You must have access to read Amazon S3 bucket.
1011
- * In addition, in order to ensure a successful deployment, the template object must not be in an <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html">archived storage class</a> if this parameter is passed.</p>
1012
- * </note>
1013
- * @public
1014
- */
1015
- TemplateS3Uri?: string | undefined;
1016
- /**
1017
- * <p>A string that contains the full conformance pack template body. Structure containing the template body
1018
- * with a minimum length of 1 byte and a maximum length of 51,200 bytes.</p>
1019
- * @public
1020
- */
1021
- TemplateBody?: string | undefined;
1022
- /**
1023
- * <p>The name of the Amazon S3 bucket where Config stores conformance pack templates.</p>
1024
- * <note>
1025
- * <p>This field is optional. If used, it must be prefixed with <code>awsconfigconforms</code>.</p>
1026
- * </note>
1027
- * @public
1028
- */
1029
- DeliveryS3Bucket?: string | undefined;
1030
- /**
1031
- * <p>The prefix for the Amazon S3 bucket.</p>
1032
- * <note>
1033
- * <p>This field is optional.</p>
1034
- * </note>
1035
- * @public
1036
- */
1037
- DeliveryS3KeyPrefix?: string | undefined;
1038
- /**
1039
- * <p>A list of <code>ConformancePackInputParameter</code> objects.</p>
1040
- * @public
1041
- */
1042
- ConformancePackInputParameters?: ConformancePackInputParameter[] | undefined;
1043
- /**
1044
- * <p>A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.</p>
1045
- * @public
1046
- */
1047
- ExcludedAccounts?: string[] | undefined;
1048
- }
1049
- /**
1050
- * @public
1051
- */
1052
- export interface PutOrganizationConformancePackResponse {
1053
- /**
1054
- * <p>ARN of the organization conformance pack.</p>
1055
- * @public
1056
- */
1057
- OrganizationConformancePackArn?: string | undefined;
1058
- }
1059
- /**
1060
- * @public
1061
- */
1062
- export interface PutRemediationConfigurationsRequest {
1063
- /**
1064
- * <p>A list of remediation configuration objects.</p>
1065
- * @public
1066
- */
1067
- RemediationConfigurations: RemediationConfiguration[] | undefined;
1068
- }
1069
- /**
1070
- * @public
1071
- */
1072
- export interface PutRemediationConfigurationsResponse {
1073
- /**
1074
- * <p>Returns a list of failed remediation batch objects.</p>
1075
- * @public
1076
- */
1077
- FailedBatches?: FailedRemediationBatch[] | undefined;
1078
- }
1079
- /**
1080
- * @public
1081
- */
1082
- export interface PutRemediationExceptionsRequest {
1083
- /**
1084
- * <p>The name of the Config rule for which you want to create remediation exception.</p>
1085
- * @public
1086
- */
1087
- ConfigRuleName: string | undefined;
1088
- /**
1089
- * <p>An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys. </p>
1090
- * @public
1091
- */
1092
- ResourceKeys: RemediationExceptionResourceKey[] | undefined;
1093
- /**
1094
- * <p>The message contains an explanation of the exception.</p>
1095
- * @public
1096
- */
1097
- Message?: string | undefined;
1098
- /**
1099
- * <p>The exception is automatically deleted after the expiration date.</p>
1100
- * @public
1101
- */
1102
- ExpirationTime?: Date | undefined;
1103
- }
1104
- /**
1105
- * @public
1106
- */
1107
- export interface PutRemediationExceptionsResponse {
1108
- /**
1109
- * <p>Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.</p>
1110
- * @public
1111
- */
1112
- FailedBatches?: FailedRemediationExceptionBatch[] | undefined;
1113
- }
1114
- /**
1115
- * @public
1116
- */
1117
- export interface PutResourceConfigRequest {
1118
- /**
1119
- * <p>The type of the resource. The custom resource type must be registered with CloudFormation. </p>
1120
- * <note>
1121
- * <p>You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the first part of the ResourceType up to the first ::.</p>
1122
- * </note>
1123
- * @public
1124
- */
1125
- ResourceType: string | undefined;
1126
- /**
1127
- * <p>Version of the schema registered for the ResourceType in CloudFormation.</p>
1128
- * @public
1129
- */
1130
- SchemaVersionId: string | undefined;
1131
- /**
1132
- * <p>Unique identifier of the resource.</p>
1133
- * @public
1134
- */
1135
- ResourceId: string | undefined;
1136
- /**
1137
- * <p>Name of the resource.</p>
1138
- * @public
1139
- */
1140
- ResourceName?: string | undefined;
1141
- /**
1142
- * <p>The configuration object of the resource in valid JSON format. It must match the schema registered with CloudFormation.</p>
1143
- * <note>
1144
- * <p>The configuration JSON must not exceed 64 KB.</p>
1145
- * </note>
1146
- * @public
1147
- */
1148
- Configuration: string | undefined;
1149
- /**
1150
- * <p>Tags associated with the resource.</p>
1151
- * <note>
1152
- * <p>This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services resources.
1153
- * Tags for <code>PutResourceConfig</code> are tags that you supply for the configuration items of your custom resources.</p>
1154
- * </note>
1155
- * @public
1156
- */
1157
- Tags?: Record<string, string> | undefined;
1158
- }
1159
- /**
1160
- * @public
1161
- */
1162
- export interface PutRetentionConfigurationRequest {
1163
- /**
1164
- * <p>Number of days Config stores your historical
1165
- * information.</p>
1166
- * <note>
1167
- * <p>Currently, only applicable to the configuration item
1168
- * history.</p>
1169
- * </note>
1170
- * @public
1171
- */
1172
- RetentionPeriodInDays: number | undefined;
1173
- }
1174
- /**
1175
- * @public
1176
- */
1177
- export interface PutRetentionConfigurationResponse {
1178
- /**
1179
- * <p>Returns a retention configuration object.</p>
1180
- * @public
1181
- */
1182
- RetentionConfiguration?: RetentionConfiguration | undefined;
1183
- }
1184
- /**
1185
- * @public
1186
- */
1187
- export interface PutServiceLinkedConfigurationRecorderRequest {
1188
- /**
1189
- * <p>The service principal of the Amazon Web Services service for the service-linked configuration recorder that you want to create.</p>
1190
- * @public
1191
- */
1192
- ServicePrincipal: string | undefined;
1193
- /**
1194
- * <p>The tags for a service-linked configuration recorder. Each tag consists of a key and an optional value, both of which you define.</p>
1195
- * @public
1196
- */
1197
- Tags?: Tag[] | undefined;
1198
- }
1199
- /**
1200
- * @public
1201
- */
1202
- export interface PutServiceLinkedConfigurationRecorderResponse {
1203
- /**
1204
- * <p>The Amazon Resource Name (ARN) of the specified configuration recorder.</p>
1205
- * @public
1206
- */
1207
- Arn?: string | undefined;
1208
- /**
1209
- * <p>The name of the specified configuration recorder.</p>
1210
- * <p>For service-linked configuration recorders, Config automatically assigns a name that has the prefix "<code>AWSConfigurationRecorderFor</code>" to the new service-linked configuration recorder.</p>
1211
- * @public
1212
- */
1213
- Name?: string | undefined;
1214
- }
1215
- /**
1216
- * @public
1217
- */
1218
- export interface PutStoredQueryRequest {
1219
- /**
1220
- * <p>A list of <code>StoredQuery</code> objects.
1221
- * The mandatory fields are <code>QueryName</code> and <code>Expression</code>.</p>
1222
- * <note>
1223
- * <p>When you are creating a query, you must provide a query name and an expression.
1224
- * When you are updating a query, you must provide a query name but updating the description is optional.</p>
1225
- * </note>
1226
- * @public
1227
- */
1228
- StoredQuery: StoredQuery | undefined;
1229
- /**
1230
- * <p>A list of <code>Tags</code> object.</p>
1231
- * @public
1232
- */
1233
- Tags?: Tag[] | undefined;
1234
- }
1235
- /**
1236
- * @public
1237
- */
1238
- export interface PutStoredQueryResponse {
1239
- /**
1240
- * <p>Amazon Resource Name (ARN) of the query.
1241
- * For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.</p>
1242
- * @public
1243
- */
1244
- QueryArn?: string | undefined;
1245
- }
1246
- /**
1247
- * <p>Two users are trying to modify the same query at the same time. Wait for a moment and try again.</p>
1248
- * @public
1249
- */
1250
- export declare class ResourceConcurrentModificationException extends __BaseException {
1251
- readonly name: "ResourceConcurrentModificationException";
1252
- readonly $fault: "client";
1253
- /**
1254
- * @internal
1255
- */
1256
- constructor(opts: __ExceptionOptionType<ResourceConcurrentModificationException, __BaseException>);
1257
- }
1258
- /**
1259
- * <p>You have reached the limit of the number of tags you can use.
1260
- * For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
1261
- * <b>Service Limits</b>
1262
- * </a> in the <i>Config Developer Guide</i>.</p>
1263
- * @public
1264
- */
1265
- export declare class TooManyTagsException extends __BaseException {
1266
- readonly name: "TooManyTagsException";
1267
- readonly $fault: "client";
1268
- /**
1269
- * @internal
1270
- */
1271
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1272
- }
1273
- /**
1274
- * <p>Details about the query.</p>
1275
- * @public
1276
- */
1277
- export interface QueryInfo {
1278
- /**
1279
- * <p>Returns a <code>FieldInfo</code> object.</p>
1280
- * @public
1281
- */
1282
- SelectFields?: FieldInfo[] | undefined;
1283
- }
1284
- /**
1285
- * @public
1286
- */
1287
- export interface SelectAggregateResourceConfigRequest {
1288
- /**
1289
- * <p>The SQL query SELECT command. </p>
1290
- * @public
1291
- */
1292
- Expression: string | undefined;
1293
- /**
1294
- * <p>The name of the configuration aggregator.</p>
1295
- * @public
1296
- */
1297
- ConfigurationAggregatorName: string | undefined;
1298
- /**
1299
- * <p>The maximum number of query results returned on each page. </p>
1300
- * @public
1301
- */
1302
- Limit?: number | undefined;
1303
- /**
1304
- * <p>The maximum number of query results returned on each page. Config also allows the Limit request parameter.</p>
1305
- * @public
1306
- */
1307
- MaxResults?: number | undefined;
1308
- /**
1309
- * <p>The nextToken string returned in a previous request that you use to request the next page of results in a paginated response. </p>
1310
- * @public
1311
- */
1312
- NextToken?: string | undefined;
1313
- }
1314
- /**
1315
- * @public
1316
- */
1317
- export interface SelectAggregateResourceConfigResponse {
1318
- /**
1319
- * <p>Returns the results for the SQL query.</p>
1320
- * @public
1321
- */
1322
- Results?: string[] | undefined;
1323
- /**
1324
- * <p>Details about the query.</p>
1325
- * @public
1326
- */
1327
- QueryInfo?: QueryInfo | undefined;
1328
- /**
1329
- * <p>The nextToken string returned in a previous request that you use to request the next page of results in a paginated response. </p>
1330
- * @public
1331
- */
1332
- NextToken?: string | undefined;
1333
- }
1334
- /**
1335
- * @public
1336
- */
1337
- export interface SelectResourceConfigRequest {
1338
- /**
1339
- * <p>The SQL query <code>SELECT</code> command.</p>
1340
- * @public
1341
- */
1342
- Expression: string | undefined;
1343
- /**
1344
- * <p>The maximum number of query results returned on each page. </p>
1345
- * @public
1346
- */
1347
- Limit?: number | undefined;
1348
- /**
1349
- * <p>The <code>nextToken</code> string returned in a previous request that you use to request the next page of results in a paginated response. </p>
1350
- * @public
1351
- */
1352
- NextToken?: string | undefined;
1353
- }
1354
- /**
1355
- * @public
1356
- */
1357
- export interface SelectResourceConfigResponse {
1358
- /**
1359
- * <p>Returns the results for the SQL query.</p>
1360
- * @public
1361
- */
1362
- Results?: string[] | undefined;
1363
- /**
1364
- * <p>Returns the <code>QueryInfo</code> object.</p>
1365
- * @public
1366
- */
1367
- QueryInfo?: QueryInfo | undefined;
1368
- /**
1369
- * <p>The <code>nextToken</code> string returned in a previous request that you use to request the next page of results in a paginated response. </p>
1370
- * @public
1371
- */
1372
- NextToken?: string | undefined;
1373
- }
1374
- /**
1375
- * <p></p>
1376
- * @public
1377
- */
1378
- export interface StartConfigRulesEvaluationRequest {
1379
- /**
1380
- * <p>The list of names of Config rules that you want to run
1381
- * evaluations for.</p>
1382
- * @public
1383
- */
1384
- ConfigRuleNames?: string[] | undefined;
1385
- }
1386
- /**
1387
- * <p>The output when you start the evaluation for the specified Config rule.</p>
1388
- * @public
1389
- */
1390
- export interface StartConfigRulesEvaluationResponse {
1391
- }
1392
- /**
1393
- * <p>The input for the <a>StartConfigurationRecorder</a>
1394
- * operation.</p>
1395
- * @public
1396
- */
1397
- export interface StartConfigurationRecorderRequest {
1398
- /**
1399
- * <p>The name of the customer managed configuration recorder that you want to start.</p>
1400
- * @public
1401
- */
1402
- ConfigurationRecorderName: string | undefined;
1403
- }
1404
- /**
1405
- * @public
1406
- */
1407
- export interface StartRemediationExecutionRequest {
1408
- /**
1409
- * <p>The list of names of Config rules that you want to run remediation execution for.</p>
1410
- * @public
1411
- */
1412
- ConfigRuleName: string | undefined;
1413
- /**
1414
- * <p>A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID. </p>
1415
- * @public
1416
- */
1417
- ResourceKeys: ResourceKey[] | undefined;
1418
- }
1419
- /**
1420
- * @public
1421
- */
1422
- export interface StartRemediationExecutionResponse {
1423
- /**
1424
- * <p>Returns a failure message. For example, the resource is already compliant.</p>
1425
- * @public
1426
- */
1427
- FailureMessage?: string | undefined;
1428
- /**
1429
- * <p>For resources that have failed to start execution, the API returns a resource key object.</p>
1430
- * @public
1431
- */
1432
- FailedItems?: ResourceKey[] | undefined;
1433
- }
1434
- /**
1435
- * @public
1436
- */
1437
- export interface StartResourceEvaluationRequest {
1438
- /**
1439
- * <p>Returns a <code>ResourceDetails</code> object.</p>
1440
- * @public
1441
- */
1442
- ResourceDetails: ResourceDetails | undefined;
1443
- /**
1444
- * <p>Returns an <code>EvaluationContext</code> object.</p>
1445
- * @public
1446
- */
1447
- EvaluationContext?: EvaluationContext | undefined;
1448
- /**
1449
- * <p>The mode of an evaluation.</p>
1450
- * <note>
1451
- * <p>The only valid value for this API is <code>PROACTIVE</code>.</p>
1452
- * </note>
1453
- * @public
1454
- */
1455
- EvaluationMode: EvaluationMode | undefined;
1456
- /**
1457
- * <p>The timeout for an evaluation. The default is 900 seconds. You cannot specify a number greater than 3600. If you specify 0, Config uses the default.</p>
1458
- * @public
1459
- */
1460
- EvaluationTimeout?: number | undefined;
1461
- /**
1462
- * <p>A client token is a unique, case-sensitive string of up to 64 ASCII characters.
1463
- * To make an idempotent API request using one of these actions, specify a client token in the request.</p>
1464
- * <note>
1465
- * <p>Avoid reusing the same client token for other API requests. If you retry
1466
- * a request that completed successfully using the same client token and the same
1467
- * parameters, the retry succeeds without performing any further actions. If you retry
1468
- * a successful request using the same client token, but one or more of the parameters
1469
- * are different, other than the Region or Availability Zone, the retry fails with an
1470
- * IdempotentParameterMismatch error.</p>
1471
- * </note>
1472
- * @public
1473
- */
1474
- ClientToken?: string | undefined;
1475
- }
1476
- /**
1477
- * @public
1478
- */
1479
- export interface StartResourceEvaluationResponse {
1480
- /**
1481
- * <p>A
1482
- * unique ResourceEvaluationId that is associated with a single execution.</p>
1483
- * @public
1484
- */
1485
- ResourceEvaluationId?: string | undefined;
1486
- }
1487
- /**
1488
- * <p>The input for the <a>StopConfigurationRecorder</a> operation.</p>
1489
- * @public
1490
- */
1491
- export interface StopConfigurationRecorderRequest {
1492
- /**
1493
- * <p>The name of the customer managed configuration recorder that you want to stop.</p>
1494
- * @public
1495
- */
1496
- ConfigurationRecorderName: string | undefined;
1497
- }
1498
- /**
1499
- * @public
1500
- */
1501
- export interface TagResourceRequest {
1502
- /**
1503
- * <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. The following resources are supported:</p>
1504
- * <ul>
1505
- * <li>
1506
- * <p>
1507
- * <code>ConfigurationRecorder</code>
1508
- * </p>
1509
- * </li>
1510
- * <li>
1511
- * <p>
1512
- * <code>ConfigRule</code>
1513
- * </p>
1514
- * </li>
1515
- * <li>
1516
- * <p>
1517
- * <code>OrganizationConfigRule</code>
1518
- * </p>
1519
- * </li>
1520
- * <li>
1521
- * <p>
1522
- * <code>ConformancePack</code>
1523
- * </p>
1524
- * </li>
1525
- * <li>
1526
- * <p>
1527
- * <code>OrganizationConformancePack</code>
1528
- * </p>
1529
- * </li>
1530
- * <li>
1531
- * <p>
1532
- * <code>ConfigurationAggregator</code>
1533
- * </p>
1534
- * </li>
1535
- * <li>
1536
- * <p>
1537
- * <code>AggregationAuthorization</code>
1538
- * </p>
1539
- * </li>
1540
- * <li>
1541
- * <p>
1542
- * <code>StoredQuery</code>
1543
- * </p>
1544
- * </li>
1545
- * </ul>
1546
- * @public
1547
- */
1548
- ResourceArn: string | undefined;
1549
- /**
1550
- * <p>An array of tag object.</p>
1551
- * @public
1552
- */
1553
- Tags: Tag[] | undefined;
1554
- }
1555
- /**
1556
- * @public
1557
- */
1558
- export interface UntagResourceRequest {
1559
- /**
1560
- * <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. The following resources are supported:</p>
1561
- * <ul>
1562
- * <li>
1563
- * <p>
1564
- * <code>ConfigurationRecorder</code>
1565
- * </p>
1566
- * </li>
1567
- * <li>
1568
- * <p>
1569
- * <code>ConfigRule</code>
1570
- * </p>
1571
- * </li>
1572
- * <li>
1573
- * <p>
1574
- * <code>OrganizationConfigRule</code>
1575
- * </p>
1576
- * </li>
1577
- * <li>
1578
- * <p>
1579
- * <code>ConformancePack</code>
1580
- * </p>
1581
- * </li>
1582
- * <li>
1583
- * <p>
1584
- * <code>OrganizationConformancePack</code>
1585
- * </p>
1586
- * </li>
1587
- * <li>
1588
- * <p>
1589
- * <code>ConfigurationAggregator</code>
1590
- * </p>
1591
- * </li>
1592
- * <li>
1593
- * <p>
1594
- * <code>AggregationAuthorization</code>
1595
- * </p>
1596
- * </li>
1597
- * <li>
1598
- * <p>
1599
- * <code>StoredQuery</code>
1600
- * </p>
1601
- * </li>
1602
- * </ul>
1603
- * @public
1604
- */
1605
- ResourceArn: string | undefined;
1606
- /**
1607
- * <p>The keys of the tags to be removed.</p>
1608
- * @public
1609
- */
1610
- TagKeys: string[] | undefined;
1611
- }