|
469 | 469 | "input":{"shape":"GetEventConfigurationRequest"}, |
470 | 470 | "output":{"shape":"GetEventConfigurationResponse"}, |
471 | 471 | "errors":[ |
| 472 | + {"shape":"TrailNotFoundException"}, |
| 473 | + {"shape":"InvalidTrailNameException"}, |
472 | 474 | {"shape":"CloudTrailARNInvalidException"}, |
473 | 475 | {"shape":"UnsupportedOperationException"}, |
474 | 476 | {"shape":"OperationNotPermittedException"}, |
|
480 | 482 | {"shape":"NoManagementAccountSLRExistsException"}, |
481 | 483 | {"shape":"InvalidParameterCombinationException"} |
482 | 484 | ], |
483 | | - "documentation":"<p>Retrieves the current event configuration settings for the specified event data store, including details about maximum event size and context key selectors configured for the event data store.</p>", |
| 485 | + "documentation":"<p>Retrieves the current event configuration settings for the specified event data store or trail. The response includes maximum event size configuration, the context key selectors configured for the event data store, and any aggregation settings configured for the trail.</p>", |
484 | 486 | "idempotent":true |
485 | 487 | }, |
486 | 488 | "GetEventDataStore":{ |
|
864 | 866 | "input":{"shape":"PutEventConfigurationRequest"}, |
865 | 867 | "output":{"shape":"PutEventConfigurationResponse"}, |
866 | 868 | "errors":[ |
| 869 | + {"shape":"TrailNotFoundException"}, |
| 870 | + {"shape":"InvalidTrailNameException"}, |
| 871 | + {"shape":"CloudTrailARNInvalidException"}, |
| 872 | + {"shape":"InvalidParameterCombinationException"}, |
| 873 | + {"shape":"InvalidHomeRegionException"}, |
867 | 874 | {"shape":"EventDataStoreARNInvalidException"}, |
868 | 875 | {"shape":"EventDataStoreNotFoundException"}, |
869 | 876 | {"shape":"InvalidEventDataStoreStatusException"}, |
|
873 | 880 | {"shape":"OperationNotPermittedException"}, |
874 | 881 | {"shape":"ThrottlingException"}, |
875 | 882 | {"shape":"InvalidParameterException"}, |
876 | | - {"shape":"InvalidParameterCombinationException"}, |
877 | | - {"shape":"CloudTrailARNInvalidException"}, |
878 | 883 | {"shape":"ConflictException"}, |
879 | 884 | {"shape":"NotOrganizationMasterAccountException"}, |
880 | 885 | {"shape":"NoManagementAccountSLRExistsException"}, |
881 | 886 | {"shape":"InsufficientDependencyServiceAccessPermissionException"}, |
882 | 887 | {"shape":"InsufficientIAMAccessPermissionException"} |
883 | 888 | ], |
884 | | - "documentation":"<p>Updates the event configuration settings for the specified event data store. You can update the maximum event size and context key selectors.</p>", |
| 889 | + "documentation":"<p>Updates the event configuration settings for the specified event data store or trail. This operation supports updating the maximum event size, adding or modifying context key selectors for event data store, and configuring aggregation settings for the trail.</p>", |
885 | 890 | "idempotent":true |
886 | 891 | }, |
887 | 892 | "PutEventSelectors":{ |
|
1480 | 1485 | "member":{"shape":"AdvancedFieldSelector"}, |
1481 | 1486 | "min":1 |
1482 | 1487 | }, |
| 1488 | + "AggregationConfiguration":{ |
| 1489 | + "type":"structure", |
| 1490 | + "required":[ |
| 1491 | + "Templates", |
| 1492 | + "EventCategory" |
| 1493 | + ], |
| 1494 | + "members":{ |
| 1495 | + "Templates":{ |
| 1496 | + "shape":"Templates", |
| 1497 | + "documentation":"<p>A list of aggregation templates that can be used to configure event aggregation.</p>" |
| 1498 | + }, |
| 1499 | + "EventCategory":{ |
| 1500 | + "shape":"EventCategoryAggregation", |
| 1501 | + "documentation":"<p>Specifies the event category for which aggregation should be performed.</p>" |
| 1502 | + } |
| 1503 | + }, |
| 1504 | + "documentation":"<p>An object that contains configuration settings for aggregating events.</p>" |
| 1505 | + }, |
| 1506 | + "AggregationConfigurations":{ |
| 1507 | + "type":"list", |
| 1508 | + "member":{"shape":"AggregationConfiguration"}, |
| 1509 | + "max":1 |
| 1510 | + }, |
1483 | 1511 | "BillingMode":{ |
1484 | 1512 | "type":"string", |
1485 | 1513 | "enum":[ |
|
2381 | 2409 | }, |
2382 | 2410 | "EventCategory":{ |
2383 | 2411 | "type":"string", |
| 2412 | + "documentation":"<p>Specifies the event category for which aggregation configuration is enabled. Valid value is Data.</p>", |
2384 | 2413 | "enum":["insight"] |
2385 | 2414 | }, |
| 2415 | + "EventCategoryAggregation":{ |
| 2416 | + "type":"string", |
| 2417 | + "enum":["Data"] |
| 2418 | + }, |
2386 | 2419 | "EventDataStore":{ |
2387 | 2420 | "type":"structure", |
2388 | 2421 | "members":{ |
|
2722 | 2755 | "GetEventConfigurationRequest":{ |
2723 | 2756 | "type":"structure", |
2724 | 2757 | "members":{ |
| 2758 | + "TrailName":{ |
| 2759 | + "shape":"String", |
| 2760 | + "documentation":"<p>The name of the trail for which you want to retrieve event configuration settings.</p>" |
| 2761 | + }, |
2725 | 2762 | "EventDataStore":{ |
2726 | 2763 | "shape":"String", |
2727 | 2764 | "documentation":"<p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which you want to retrieve event configuration settings.</p>" |
|
2731 | 2768 | "GetEventConfigurationResponse":{ |
2732 | 2769 | "type":"structure", |
2733 | 2770 | "members":{ |
| 2771 | + "TrailARN":{ |
| 2772 | + "shape":"String", |
| 2773 | + "documentation":"<p>The Amazon Resource Name (ARN) of the trail for which the event configuration settings are returned.</p>" |
| 2774 | + }, |
2734 | 2775 | "EventDataStoreArn":{ |
2735 | 2776 | "shape":"EventDataStoreArn", |
2736 | 2777 | "documentation":"<p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which the event configuration settings are returned.</p>" |
|
2742 | 2783 | "ContextKeySelectors":{ |
2743 | 2784 | "shape":"ContextKeySelectors", |
2744 | 2785 | "documentation":"<p>The list of context key selectors that are configured for the event data store.</p>" |
| 2786 | + }, |
| 2787 | + "AggregationConfigurations":{ |
| 2788 | + "shape":"AggregationConfigurations", |
| 2789 | + "documentation":"<p>The list of aggregation configurations that are configured for the trail.</p>" |
2745 | 2790 | } |
2746 | 2791 | } |
2747 | 2792 | }, |
|
4272 | 4317 | }, |
4273 | 4318 | "PutEventConfigurationRequest":{ |
4274 | 4319 | "type":"structure", |
4275 | | - "required":[ |
4276 | | - "MaxEventSize", |
4277 | | - "ContextKeySelectors" |
4278 | | - ], |
4279 | 4320 | "members":{ |
| 4321 | + "TrailName":{ |
| 4322 | + "shape":"String", |
| 4323 | + "documentation":"<p>The name of the trail for which you want to update event configuration settings.</p>" |
| 4324 | + }, |
4280 | 4325 | "EventDataStore":{ |
4281 | 4326 | "shape":"String", |
4282 | | - "documentation":"<p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which you want to update event configuration settings.</p>" |
| 4327 | + "documentation":"<p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which event configuration settings are updated.</p>" |
4283 | 4328 | }, |
4284 | 4329 | "MaxEventSize":{ |
4285 | 4330 | "shape":"MaxEventSize", |
|
4288 | 4333 | "ContextKeySelectors":{ |
4289 | 4334 | "shape":"ContextKeySelectors", |
4290 | 4335 | "documentation":"<p>A list of context key selectors that will be included to provide enriched event data.</p>" |
| 4336 | + }, |
| 4337 | + "AggregationConfigurations":{ |
| 4338 | + "shape":"AggregationConfigurations", |
| 4339 | + "documentation":"<p>The list of aggregation configurations that you want to configure for the trail.</p>" |
4291 | 4340 | } |
4292 | 4341 | } |
4293 | 4342 | }, |
4294 | 4343 | "PutEventConfigurationResponse":{ |
4295 | 4344 | "type":"structure", |
4296 | 4345 | "members":{ |
| 4346 | + "TrailARN":{ |
| 4347 | + "shape":"String", |
| 4348 | + "documentation":"<p>The Amazon Resource Name (ARN) of the trail that has aggregation enabled.</p>" |
| 4349 | + }, |
4297 | 4350 | "EventDataStoreArn":{ |
4298 | 4351 | "shape":"EventDataStoreArn", |
4299 | 4352 | "documentation":"<p>The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which the event configuration settings were updated.</p>" |
|
4305 | 4358 | "ContextKeySelectors":{ |
4306 | 4359 | "shape":"ContextKeySelectors", |
4307 | 4360 | "documentation":"<p>The list of context key selectors that are configured for the event data store.</p>" |
| 4361 | + }, |
| 4362 | + "AggregationConfigurations":{ |
| 4363 | + "shape":"AggregationConfigurations", |
| 4364 | + "documentation":"<p>A list of aggregation configurations that are configured for the trail.</p>" |
4308 | 4365 | } |
4309 | 4366 | } |
4310 | 4367 | }, |
|
5257 | 5314 | "documentation":"<p>A list of tags.</p>", |
5258 | 5315 | "max":200 |
5259 | 5316 | }, |
| 5317 | + "Template":{ |
| 5318 | + "type":"string", |
| 5319 | + "documentation":"<p>Specifies the type of the aggregation templates in the aggregation configuration. Valid values include API_ACTIVITY, RESOURCE_ACCESS and USER_ACTIONS.</p>", |
| 5320 | + "enum":[ |
| 5321 | + "API_ACTIVITY", |
| 5322 | + "RESOURCE_ACCESS", |
| 5323 | + "USER_ACTIONS" |
| 5324 | + ] |
| 5325 | + }, |
| 5326 | + "Templates":{ |
| 5327 | + "type":"list", |
| 5328 | + "member":{"shape":"Template"}, |
| 5329 | + "max":50, |
| 5330 | + "min":1 |
| 5331 | + }, |
5260 | 5332 | "TerminationProtectionEnabled":{"type":"boolean"}, |
5261 | 5333 | "ThrottlingException":{ |
5262 | 5334 | "type":"structure", |
|
0 commit comments