@aws-sdk/client-cloudtrail 3.936.0 → 3.937.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/dist-cjs/index.js CHANGED
@@ -1322,6 +1322,8 @@ let MaxConcurrentQueriesException$1 = class MaxConcurrentQueriesException extend
1322
1322
  }
1323
1323
  };
1324
1324
 
1325
+ const _AC = "AggregationConfiguration";
1326
+ const _ACg = "AggregationConfigurations";
1325
1327
  const _ADE = "AccessDeniedException";
1326
1328
  const _AES = "AdvancedEventSelector";
1327
1329
  const _AESd = "AdvancedEventSelectors";
@@ -1421,10 +1423,10 @@ const _De = "Destination";
1421
1423
  const _Des = "Description";
1422
1424
  const _Di = "Dimensions";
1423
1425
  const _E = "Equals";
1424
- const _EC = "EventsCompleted";
1426
+ const _EC = "EventCategory";
1425
1427
  const _ECr = "ErrorCode";
1426
- const _ECv = "EventCategories";
1427
- const _ECve = "EventCategory";
1428
+ const _ECv = "EventsCompleted";
1429
+ const _ECve = "EventCategories";
1428
1430
  const _EDS = "EventDataStore";
1429
1431
  const _EDSA = "EventDataStoreArn";
1430
1432
  const _EDSAEE = "EventDataStoreAlreadyExistsException";
@@ -1771,7 +1773,7 @@ const _STN = "SnsTopicName";
1771
1773
  const _SW = "StartsWith";
1772
1774
  const _S_ = "S3";
1773
1775
  const _St = "Status";
1774
- const _T = "Type";
1776
+ const _T = "Templates";
1775
1777
  const _TAEE = "TrailAlreadyExistsException";
1776
1778
  const _TARN = "TrailARN";
1777
1779
  const _TE = "ThrottlingException";
@@ -1792,6 +1794,7 @@ const _Tag = "Tag";
1792
1794
  const _Ti = "Timestamps";
1793
1795
  const _Tr = "Trail";
1794
1796
  const _Tra = "Trails";
1797
+ const _Ty = "Type";
1795
1798
  const _U = "Username";
1796
1799
  const _UC = "UpdateChannel";
1797
1800
  const _UCR = "UpdateChannelRequest";
@@ -1908,6 +1911,7 @@ var AdvancedFieldSelector = [
1908
1911
  [_F, _E, _SW, _EW, _NE, _NSW, _NEW],
1909
1912
  [0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0],
1910
1913
  ];
1914
+ var AggregationConfiguration = [3, n0, _AC, 0, [_T, _EC], [64 | 0, 0]];
1911
1915
  var CancelQueryRequest = [3, n0, _CQR, 0, [_EDS, _QI, _EDSOAI], [0, 0, 0]];
1912
1916
  var CancelQueryResponse = [3, n0, _CQRa, 0, [_QI, _QS, _EDSOAI], [0, 0, 0]];
1913
1917
  var CannotDelegateManagementAccountException = [
@@ -2067,7 +2071,7 @@ var ConflictException = [
2067
2071
  [0],
2068
2072
  ];
2069
2073
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
2070
- var ContextKeySelector = [3, n0, _CKS, 0, [_T, _E], [0, 64 | 0]];
2074
+ var ContextKeySelector = [3, n0, _CKS, 0, [_Ty, _E], [0, 64 | 0]];
2071
2075
  var CreateChannelRequest = [
2072
2076
  3,
2073
2077
  n0,
@@ -2097,7 +2101,7 @@ var CreateDashboardResponse = [
2097
2101
  n0,
2098
2102
  _CDRr,
2099
2103
  0,
2100
- [_DA, _N, _T, _W, _TL, _RS, _TPE],
2104
+ [_DA, _N, _Ty, _W, _TL, _RS, _TPE],
2101
2105
  [0, 0, 0, () => WidgetList, () => TagsList, () => RefreshSchedule, 2],
2102
2106
  ];
2103
2107
  var CreateEventDataStoreRequest = [
@@ -2132,8 +2136,8 @@ var CreateTrailResponse = [
2132
2136
  [_N, _SBN, _SKP, _STN, _STARN, _IGSE, _IMRT, _TARN, _LFVE, _CWLLGA, _CWLRA, _KKI, _IOT],
2133
2137
  [0, 0, 0, 0, 0, 2, 2, 0, 2, 0, 0, 0, 2],
2134
2138
  ];
2135
- var DashboardDetail = [3, n0, _DD, 0, [_DA, _T], [0, 0]];
2136
- var DataResource = [3, n0, _DR, 0, [_T, _V], [0, 64 | 0]];
2139
+ var DashboardDetail = [3, n0, _DD, 0, [_DA, _Ty], [0, 0]];
2140
+ var DataResource = [3, n0, _DR, 0, [_Ty, _V], [0, 64 | 0]];
2137
2141
  var DelegatedAdminAccountLimitExceededException = [
2138
2142
  -3,
2139
2143
  n0,
@@ -2177,7 +2181,7 @@ var DescribeQueryResponse = [
2177
2181
  ];
2178
2182
  var DescribeTrailsRequest = [3, n0, _DTRes, 0, [_tNL, _iST], [64 | 0, 2]];
2179
2183
  var DescribeTrailsResponse = [3, n0, _DTResc, 0, [_tL], [() => TrailList]];
2180
- var Destination = [3, n0, _De, 0, [_T, _L], [0, 0]];
2184
+ var Destination = [3, n0, _De, 0, [_Ty, _L], [0, 0]];
2181
2185
  var DisableFederationRequest = [3, n0, _DFR, 0, [_EDS], [0]];
2182
2186
  var DisableFederationResponse = [3, n0, _DFRi, 0, [_EDSA, _FSe], [0, 0]];
2183
2187
  var EnableFederationRequest = [3, n0, _EFR, 0, [_EDS, _FRA], [0, 0]];
@@ -2327,17 +2331,17 @@ var GetDashboardResponse = [
2327
2331
  n0,
2328
2332
  _GDRe,
2329
2333
  0,
2330
- [_DA, _T, _St, _W, _RS, _CT, _UT, _LRI, _LRFR, _TPE],
2334
+ [_DA, _Ty, _St, _W, _RS, _CT, _UT, _LRI, _LRFR, _TPE],
2331
2335
  [0, 0, 0, () => WidgetList, () => RefreshSchedule, 4, 4, 0, 0, 2],
2332
2336
  ];
2333
- var GetEventConfigurationRequest = [3, n0, _GECR, 0, [_EDS], [0]];
2337
+ var GetEventConfigurationRequest = [3, n0, _GECR, 0, [_TN, _EDS], [0, 0]];
2334
2338
  var GetEventConfigurationResponse = [
2335
2339
  3,
2336
2340
  n0,
2337
2341
  _GECRe,
2338
2342
  0,
2339
- [_EDSA, _MES, _CKSo],
2340
- [0, 0, () => ContextKeySelectors],
2343
+ [_TARN, _EDSA, _MES, _CKSo, _ACg],
2344
+ [0, 0, 0, () => ContextKeySelectors, () => AggregationConfigurations],
2341
2345
  ];
2342
2346
  var GetEventDataStoreRequest = [3, n0, _GEDSR, 0, [_EDS], [0]];
2343
2347
  var GetEventDataStoreResponse = [
@@ -2427,7 +2431,7 @@ var ImportNotFoundException = [
2427
2431
  schema.TypeRegistry.for(n0).registerError(ImportNotFoundException, ImportNotFoundException$1);
2428
2432
  var ImportsListItem = [3, n0, _ILI, 0, [_II, _ISmp, _D, _CT, _UT], [0, 0, 64 | 0, 4, 4]];
2429
2433
  var ImportSource = [3, n0, _ISm, 0, [_S_], [() => S3ImportSource]];
2430
- var ImportStatistics = [3, n0, _ISmpo, 0, [_PF, _PC, _FC, _EC, _FE], [1, 1, 1, 1, 1]];
2434
+ var ImportStatistics = [3, n0, _ISmpo, 0, [_PF, _PC, _FC, _ECv, _FE], [1, 1, 1, 1, 1]];
2431
2435
  var InactiveEventDataStoreException = [
2432
2436
  -3,
2433
2437
  n0,
@@ -2475,7 +2479,7 @@ var InsightNotEnabledException = [
2475
2479
  [0],
2476
2480
  ];
2477
2481
  schema.TypeRegistry.for(n0).registerError(InsightNotEnabledException, InsightNotEnabledException$1);
2478
- var InsightSelector = [3, n0, _ISns, 0, [_IT, _ECv], [0, 64 | 0]];
2482
+ var InsightSelector = [3, n0, _ISns, 0, [_IT, _ECve], [0, 64 | 0]];
2479
2483
  var InsufficientDependencyServiceAccessPermissionException = [
2480
2484
  -3,
2481
2485
  n0,
@@ -2920,7 +2924,7 @@ var KmsKeyNotFoundException = [
2920
2924
  schema.TypeRegistry.for(n0).registerError(KmsKeyNotFoundException, KmsKeyNotFoundException$1);
2921
2925
  var ListChannelsRequest = [3, n0, _LCR, 0, [_MR, _NT], [1, 0]];
2922
2926
  var ListChannelsResponse = [3, n0, _LCRi, 0, [_Ch, _NT], [() => Channels, 0]];
2923
- var ListDashboardsRequest = [3, n0, _LDR, 0, [_NP, _T, _NT, _MR], [0, 0, 0, 1]];
2927
+ var ListDashboardsRequest = [3, n0, _LDR, 0, [_NP, _Ty, _NT, _MR], [0, 0, 0, 1]];
2924
2928
  var ListDashboardsResponse = [3, n0, _LDRi, 0, [_Da, _NT], [() => Dashboards, 0]];
2925
2929
  var ListEventDataStoresRequest = [3, n0, _LEDSR, 0, [_NT, _MR], [0, 1]];
2926
2930
  var ListEventDataStoresResponse = [
@@ -2988,7 +2992,7 @@ var LookupEventsRequest = [
2988
2992
  n0,
2989
2993
  _LER,
2990
2994
  0,
2991
- [_LAo, _ST, _ETn, _ECve, _MR, _NT],
2995
+ [_LAo, _ST, _ETn, _EC, _MR, _NT],
2992
2996
  [() => LookupAttributesList, 4, 4, 0, 1, 0],
2993
2997
  ];
2994
2998
  var LookupEventsResponse = [3, n0, _LERo, 0, [_Eve, _NT], [() => EventsList, 0]];
@@ -3096,23 +3100,23 @@ var OrganizationsNotInUseException = [
3096
3100
  [0],
3097
3101
  ];
3098
3102
  schema.TypeRegistry.for(n0).registerError(OrganizationsNotInUseException, OrganizationsNotInUseException$1);
3099
- var PartitionKey = [3, n0, _PKa, 0, [_N, _T], [0, 0]];
3103
+ var PartitionKey = [3, n0, _PKa, 0, [_N, _Ty], [0, 0]];
3100
3104
  var PublicKey = [3, n0, _PKu, 0, [_Va, _VST, _VET, _Fi], [21, 4, 4, 0]];
3101
3105
  var PutEventConfigurationRequest = [
3102
3106
  3,
3103
3107
  n0,
3104
3108
  _PECR,
3105
3109
  0,
3106
- [_EDS, _MES, _CKSo],
3107
- [0, 0, () => ContextKeySelectors],
3110
+ [_TN, _EDS, _MES, _CKSo, _ACg],
3111
+ [0, 0, 0, () => ContextKeySelectors, () => AggregationConfigurations],
3108
3112
  ];
3109
3113
  var PutEventConfigurationResponse = [
3110
3114
  3,
3111
3115
  n0,
3112
3116
  _PECRu,
3113
3117
  0,
3114
- [_EDSA, _MES, _CKSo],
3115
- [0, 0, () => ContextKeySelectors],
3118
+ [_TARN, _EDSA, _MES, _CKSo, _ACg],
3119
+ [0, 0, 0, () => ContextKeySelectors, () => AggregationConfigurations],
3116
3120
  ];
3117
3121
  var PutEventSelectorsRequest = [
3118
3122
  3,
@@ -3460,7 +3464,7 @@ var UpdateDashboardResponse = [
3460
3464
  n0,
3461
3465
  _UDRp,
3462
3466
  0,
3463
- [_DA, _N, _T, _W, _RS, _TPE, _CT, _UT],
3467
+ [_DA, _N, _Ty, _W, _RS, _TPE, _CT, _UT],
3464
3468
  [0, 0, 0, () => WidgetList, () => RefreshSchedule, 2, 4, 4],
3465
3469
  ];
3466
3470
  var UpdateEventDataStoreRequest = [
@@ -3500,6 +3504,7 @@ var CloudTrailServiceException = [-3, _s, "CloudTrailServiceException", 0, [], [
3500
3504
  schema.TypeRegistry.for(_s).registerError(CloudTrailServiceException, CloudTrailServiceException$1);
3501
3505
  var AdvancedEventSelectors = [1, n0, _AESd, 0, () => AdvancedEventSelector];
3502
3506
  var AdvancedFieldSelectors = [1, n0, _AFSd, 0, () => AdvancedFieldSelector];
3507
+ var AggregationConfigurations = [1, n0, _ACg, 0, () => AggregationConfiguration];
3503
3508
  var Channels = [1, n0, _Ch, 0, () => Channel];
3504
3509
  var ContextKeySelectors = [1, n0, _CKSo, 0, () => ContextKeySelector];
3505
3510
  var Dashboards = [1, n0, _Da, 0, () => DashboardDetail];
@@ -4673,6 +4678,14 @@ const paginateListTrails = core.createPaginator(CloudTrailClient, ListTrailsComm
4673
4678
 
4674
4679
  const paginateLookupEvents = core.createPaginator(CloudTrailClient, LookupEventsCommand, "NextToken", "NextToken", "MaxResults");
4675
4680
 
4681
+ const EventCategoryAggregation = {
4682
+ Data: "Data",
4683
+ };
4684
+ const Template = {
4685
+ API_ACTIVITY: "API_ACTIVITY",
4686
+ RESOURCE_ACCESS: "RESOURCE_ACCESS",
4687
+ USER_ACTIONS: "USER_ACTIONS",
4688
+ };
4676
4689
  const BillingMode = {
4677
4690
  EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING",
4678
4691
  FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING",
@@ -4843,6 +4856,7 @@ exports.DestinationType = DestinationType;
4843
4856
  exports.DisableFederationCommand = DisableFederationCommand;
4844
4857
  exports.EnableFederationCommand = EnableFederationCommand;
4845
4858
  exports.EventCategory = EventCategory;
4859
+ exports.EventCategoryAggregation = EventCategoryAggregation;
4846
4860
  exports.EventDataStoreARNInvalidException = EventDataStoreARNInvalidException$1;
4847
4861
  exports.EventDataStoreAlreadyExistsException = EventDataStoreAlreadyExistsException$1;
4848
4862
  exports.EventDataStoreFederationEnabledException = EventDataStoreFederationEnabledException$1;
@@ -4961,6 +4975,7 @@ exports.StopEventDataStoreIngestionCommand = StopEventDataStoreIngestionCommand;
4961
4975
  exports.StopImportCommand = StopImportCommand;
4962
4976
  exports.StopLoggingCommand = StopLoggingCommand;
4963
4977
  exports.TagsLimitExceededException = TagsLimitExceededException$1;
4978
+ exports.Template = Template;
4964
4979
  exports.ThrottlingException = ThrottlingException$1;
4965
4980
  exports.TrailAlreadyExistsException = TrailAlreadyExistsException$1;
4966
4981
  exports.TrailNotFoundException = TrailNotFoundException$1;
@@ -1,3 +1,11 @@
1
+ export const EventCategoryAggregation = {
2
+ Data: "Data",
3
+ };
4
+ export const Template = {
5
+ API_ACTIVITY: "API_ACTIVITY",
6
+ RESOURCE_ACCESS: "RESOURCE_ACCESS",
7
+ USER_ACTIONS: "USER_ACTIONS",
8
+ };
1
9
  export const BillingMode = {
2
10
  EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING",
3
11
  FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING",
@@ -1,3 +1,5 @@
1
+ const _AC = "AggregationConfiguration";
2
+ const _ACg = "AggregationConfigurations";
1
3
  const _ADE = "AccessDeniedException";
2
4
  const _AES = "AdvancedEventSelector";
3
5
  const _AESd = "AdvancedEventSelectors";
@@ -97,10 +99,10 @@ const _De = "Destination";
97
99
  const _Des = "Description";
98
100
  const _Di = "Dimensions";
99
101
  const _E = "Equals";
100
- const _EC = "EventsCompleted";
102
+ const _EC = "EventCategory";
101
103
  const _ECr = "ErrorCode";
102
- const _ECv = "EventCategories";
103
- const _ECve = "EventCategory";
104
+ const _ECv = "EventsCompleted";
105
+ const _ECve = "EventCategories";
104
106
  const _EDS = "EventDataStore";
105
107
  const _EDSA = "EventDataStoreArn";
106
108
  const _EDSAEE = "EventDataStoreAlreadyExistsException";
@@ -447,7 +449,7 @@ const _STN = "SnsTopicName";
447
449
  const _SW = "StartsWith";
448
450
  const _S_ = "S3";
449
451
  const _St = "Status";
450
- const _T = "Type";
452
+ const _T = "Templates";
451
453
  const _TAEE = "TrailAlreadyExistsException";
452
454
  const _TARN = "TrailARN";
453
455
  const _TE = "ThrottlingException";
@@ -468,6 +470,7 @@ const _Tag = "Tag";
468
470
  const _Ti = "Timestamps";
469
471
  const _Tr = "Trail";
470
472
  const _Tra = "Trails";
473
+ const _Ty = "Type";
471
474
  const _U = "Username";
472
475
  const _UC = "UpdateChannel";
473
476
  const _UCR = "UpdateChannelRequest";
@@ -587,6 +590,7 @@ export var AdvancedFieldSelector = [
587
590
  [_F, _E, _SW, _EW, _NE, _NSW, _NEW],
588
591
  [0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0],
589
592
  ];
593
+ export var AggregationConfiguration = [3, n0, _AC, 0, [_T, _EC], [64 | 0, 0]];
590
594
  export var CancelQueryRequest = [3, n0, _CQR, 0, [_EDS, _QI, _EDSOAI], [0, 0, 0]];
591
595
  export var CancelQueryResponse = [3, n0, _CQRa, 0, [_QI, _QS, _EDSOAI], [0, 0, 0]];
592
596
  export var CannotDelegateManagementAccountException = [
@@ -746,7 +750,7 @@ export var ConflictException = [
746
750
  [0],
747
751
  ];
748
752
  TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
749
- export var ContextKeySelector = [3, n0, _CKS, 0, [_T, _E], [0, 64 | 0]];
753
+ export var ContextKeySelector = [3, n0, _CKS, 0, [_Ty, _E], [0, 64 | 0]];
750
754
  export var CreateChannelRequest = [
751
755
  3,
752
756
  n0,
@@ -776,7 +780,7 @@ export var CreateDashboardResponse = [
776
780
  n0,
777
781
  _CDRr,
778
782
  0,
779
- [_DA, _N, _T, _W, _TL, _RS, _TPE],
783
+ [_DA, _N, _Ty, _W, _TL, _RS, _TPE],
780
784
  [0, 0, 0, () => WidgetList, () => TagsList, () => RefreshSchedule, 2],
781
785
  ];
782
786
  export var CreateEventDataStoreRequest = [
@@ -811,8 +815,8 @@ export var CreateTrailResponse = [
811
815
  [_N, _SBN, _SKP, _STN, _STARN, _IGSE, _IMRT, _TARN, _LFVE, _CWLLGA, _CWLRA, _KKI, _IOT],
812
816
  [0, 0, 0, 0, 0, 2, 2, 0, 2, 0, 0, 0, 2],
813
817
  ];
814
- export var DashboardDetail = [3, n0, _DD, 0, [_DA, _T], [0, 0]];
815
- export var DataResource = [3, n0, _DR, 0, [_T, _V], [0, 64 | 0]];
818
+ export var DashboardDetail = [3, n0, _DD, 0, [_DA, _Ty], [0, 0]];
819
+ export var DataResource = [3, n0, _DR, 0, [_Ty, _V], [0, 64 | 0]];
816
820
  export var DelegatedAdminAccountLimitExceededException = [
817
821
  -3,
818
822
  n0,
@@ -856,7 +860,7 @@ export var DescribeQueryResponse = [
856
860
  ];
857
861
  export var DescribeTrailsRequest = [3, n0, _DTRes, 0, [_tNL, _iST], [64 | 0, 2]];
858
862
  export var DescribeTrailsResponse = [3, n0, _DTResc, 0, [_tL], [() => TrailList]];
859
- export var Destination = [3, n0, _De, 0, [_T, _L], [0, 0]];
863
+ export var Destination = [3, n0, _De, 0, [_Ty, _L], [0, 0]];
860
864
  export var DisableFederationRequest = [3, n0, _DFR, 0, [_EDS], [0]];
861
865
  export var DisableFederationResponse = [3, n0, _DFRi, 0, [_EDSA, _FSe], [0, 0]];
862
866
  export var EnableFederationRequest = [3, n0, _EFR, 0, [_EDS, _FRA], [0, 0]];
@@ -1006,17 +1010,17 @@ export var GetDashboardResponse = [
1006
1010
  n0,
1007
1011
  _GDRe,
1008
1012
  0,
1009
- [_DA, _T, _St, _W, _RS, _CT, _UT, _LRI, _LRFR, _TPE],
1013
+ [_DA, _Ty, _St, _W, _RS, _CT, _UT, _LRI, _LRFR, _TPE],
1010
1014
  [0, 0, 0, () => WidgetList, () => RefreshSchedule, 4, 4, 0, 0, 2],
1011
1015
  ];
1012
- export var GetEventConfigurationRequest = [3, n0, _GECR, 0, [_EDS], [0]];
1016
+ export var GetEventConfigurationRequest = [3, n0, _GECR, 0, [_TN, _EDS], [0, 0]];
1013
1017
  export var GetEventConfigurationResponse = [
1014
1018
  3,
1015
1019
  n0,
1016
1020
  _GECRe,
1017
1021
  0,
1018
- [_EDSA, _MES, _CKSo],
1019
- [0, 0, () => ContextKeySelectors],
1022
+ [_TARN, _EDSA, _MES, _CKSo, _ACg],
1023
+ [0, 0, 0, () => ContextKeySelectors, () => AggregationConfigurations],
1020
1024
  ];
1021
1025
  export var GetEventDataStoreRequest = [3, n0, _GEDSR, 0, [_EDS], [0]];
1022
1026
  export var GetEventDataStoreResponse = [
@@ -1106,7 +1110,7 @@ export var ImportNotFoundException = [
1106
1110
  TypeRegistry.for(n0).registerError(ImportNotFoundException, __ImportNotFoundException);
1107
1111
  export var ImportsListItem = [3, n0, _ILI, 0, [_II, _ISmp, _D, _CT, _UT], [0, 0, 64 | 0, 4, 4]];
1108
1112
  export var ImportSource = [3, n0, _ISm, 0, [_S_], [() => S3ImportSource]];
1109
- export var ImportStatistics = [3, n0, _ISmpo, 0, [_PF, _PC, _FC, _EC, _FE], [1, 1, 1, 1, 1]];
1113
+ export var ImportStatistics = [3, n0, _ISmpo, 0, [_PF, _PC, _FC, _ECv, _FE], [1, 1, 1, 1, 1]];
1110
1114
  export var InactiveEventDataStoreException = [
1111
1115
  -3,
1112
1116
  n0,
@@ -1154,7 +1158,7 @@ export var InsightNotEnabledException = [
1154
1158
  [0],
1155
1159
  ];
1156
1160
  TypeRegistry.for(n0).registerError(InsightNotEnabledException, __InsightNotEnabledException);
1157
- export var InsightSelector = [3, n0, _ISns, 0, [_IT, _ECv], [0, 64 | 0]];
1161
+ export var InsightSelector = [3, n0, _ISns, 0, [_IT, _ECve], [0, 64 | 0]];
1158
1162
  export var InsufficientDependencyServiceAccessPermissionException = [
1159
1163
  -3,
1160
1164
  n0,
@@ -1599,7 +1603,7 @@ export var KmsKeyNotFoundException = [
1599
1603
  TypeRegistry.for(n0).registerError(KmsKeyNotFoundException, __KmsKeyNotFoundException);
1600
1604
  export var ListChannelsRequest = [3, n0, _LCR, 0, [_MR, _NT], [1, 0]];
1601
1605
  export var ListChannelsResponse = [3, n0, _LCRi, 0, [_Ch, _NT], [() => Channels, 0]];
1602
- export var ListDashboardsRequest = [3, n0, _LDR, 0, [_NP, _T, _NT, _MR], [0, 0, 0, 1]];
1606
+ export var ListDashboardsRequest = [3, n0, _LDR, 0, [_NP, _Ty, _NT, _MR], [0, 0, 0, 1]];
1603
1607
  export var ListDashboardsResponse = [3, n0, _LDRi, 0, [_Da, _NT], [() => Dashboards, 0]];
1604
1608
  export var ListEventDataStoresRequest = [3, n0, _LEDSR, 0, [_NT, _MR], [0, 1]];
1605
1609
  export var ListEventDataStoresResponse = [
@@ -1667,7 +1671,7 @@ export var LookupEventsRequest = [
1667
1671
  n0,
1668
1672
  _LER,
1669
1673
  0,
1670
- [_LAo, _ST, _ETn, _ECve, _MR, _NT],
1674
+ [_LAo, _ST, _ETn, _EC, _MR, _NT],
1671
1675
  [() => LookupAttributesList, 4, 4, 0, 1, 0],
1672
1676
  ];
1673
1677
  export var LookupEventsResponse = [3, n0, _LERo, 0, [_Eve, _NT], [() => EventsList, 0]];
@@ -1775,23 +1779,23 @@ export var OrganizationsNotInUseException = [
1775
1779
  [0],
1776
1780
  ];
1777
1781
  TypeRegistry.for(n0).registerError(OrganizationsNotInUseException, __OrganizationsNotInUseException);
1778
- export var PartitionKey = [3, n0, _PKa, 0, [_N, _T], [0, 0]];
1782
+ export var PartitionKey = [3, n0, _PKa, 0, [_N, _Ty], [0, 0]];
1779
1783
  export var PublicKey = [3, n0, _PKu, 0, [_Va, _VST, _VET, _Fi], [21, 4, 4, 0]];
1780
1784
  export var PutEventConfigurationRequest = [
1781
1785
  3,
1782
1786
  n0,
1783
1787
  _PECR,
1784
1788
  0,
1785
- [_EDS, _MES, _CKSo],
1786
- [0, 0, () => ContextKeySelectors],
1789
+ [_TN, _EDS, _MES, _CKSo, _ACg],
1790
+ [0, 0, 0, () => ContextKeySelectors, () => AggregationConfigurations],
1787
1791
  ];
1788
1792
  export var PutEventConfigurationResponse = [
1789
1793
  3,
1790
1794
  n0,
1791
1795
  _PECRu,
1792
1796
  0,
1793
- [_EDSA, _MES, _CKSo],
1794
- [0, 0, () => ContextKeySelectors],
1797
+ [_TARN, _EDSA, _MES, _CKSo, _ACg],
1798
+ [0, 0, 0, () => ContextKeySelectors, () => AggregationConfigurations],
1795
1799
  ];
1796
1800
  export var PutEventSelectorsRequest = [
1797
1801
  3,
@@ -2139,7 +2143,7 @@ export var UpdateDashboardResponse = [
2139
2143
  n0,
2140
2144
  _UDRp,
2141
2145
  0,
2142
- [_DA, _N, _T, _W, _RS, _TPE, _CT, _UT],
2146
+ [_DA, _N, _Ty, _W, _RS, _TPE, _CT, _UT],
2143
2147
  [0, 0, 0, () => WidgetList, () => RefreshSchedule, 2, 4, 4],
2144
2148
  ];
2145
2149
  export var UpdateEventDataStoreRequest = [
@@ -2180,6 +2184,7 @@ export var CloudTrailServiceException = [-3, _s, "CloudTrailServiceException", 0
2180
2184
  TypeRegistry.for(_s).registerError(CloudTrailServiceException, __CloudTrailServiceException);
2181
2185
  export var AdvancedEventSelectors = [1, n0, _AESd, 0, () => AdvancedEventSelector];
2182
2186
  export var AdvancedFieldSelectors = [1, n0, _AFSd, 0, () => AdvancedFieldSelector];
2187
+ export var AggregationConfigurations = [1, n0, _ACg, 0, () => AggregationConfiguration];
2183
2188
  export var Channels = [1, n0, _Ch, 0, () => Channel];
2184
2189
  export var ContextKeySelectors = [1, n0, _CKSo, 0, () => ContextKeySelector];
2185
2190
  export var Dashboards = [1, n0, _Da, 0, () => DashboardDetail];
@@ -2218,6 +2223,7 @@ export var SearchSampleQueriesSearchResults = [
2218
2223
  ];
2219
2224
  export var SourceEventCategories = 64 | 0;
2220
2225
  export var TagsList = [1, n0, _TL, 0, () => Tag];
2226
+ export var Templates = 64 | 0;
2221
2227
  export var Timestamps = 64 | 4;
2222
2228
  export var TrailList = [1, n0, _TLr, 0, () => Trail];
2223
2229
  export var TrailNameList = 64 | 0;
@@ -315,6 +315,7 @@ export interface CloudTrail {
315
315
  /**
316
316
  * @see {@link PutEventConfigurationCommand}
317
317
  */
318
+ putEventConfiguration(): Promise<PutEventConfigurationCommandOutput>;
318
319
  putEventConfiguration(args: PutEventConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutEventConfigurationCommandOutput>;
319
320
  putEventConfiguration(args: PutEventConfigurationCommandInput, cb: (err: any, data?: PutEventConfigurationCommandOutput) => void): void;
320
321
  putEventConfiguration(args: PutEventConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventConfigurationCommandOutput) => void): void;
@@ -27,8 +27,7 @@ declare const GetEventConfigurationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Retrieves the current event configuration settings for the specified event data store, including details
31
- * about maximum event size and context key selectors configured for the event data store.</p>
30
+ * <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>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -38,11 +37,13 @@ declare const GetEventConfigurationCommand_base: {
38
37
  * const config = {}; // type is CloudTrailClientConfig
39
38
  * const client = new CloudTrailClient(config);
40
39
  * const input = { // GetEventConfigurationRequest
40
+ * TrailName: "STRING_VALUE",
41
41
  * EventDataStore: "STRING_VALUE",
42
42
  * };
43
43
  * const command = new GetEventConfigurationCommand(input);
44
44
  * const response = await client.send(command);
45
45
  * // { // GetEventConfigurationResponse
46
+ * // TrailARN: "STRING_VALUE",
46
47
  * // EventDataStoreArn: "STRING_VALUE",
47
48
  * // MaxEventSize: "Standard" || "Large",
48
49
  * // ContextKeySelectors: [ // ContextKeySelectors
@@ -53,6 +54,14 @@ declare const GetEventConfigurationCommand_base: {
53
54
  * // ],
54
55
  * // },
55
56
  * // ],
57
+ * // AggregationConfigurations: [ // AggregationConfigurations
58
+ * // { // AggregationConfiguration
59
+ * // Templates: [ // Templates // required
60
+ * // "API_ACTIVITY" || "RESOURCE_ACCESS" || "USER_ACTIONS",
61
+ * // ],
62
+ * // EventCategory: "Data", // required
63
+ * // },
64
+ * // ],
56
65
  * // };
57
66
  *
58
67
  * ```
@@ -97,6 +106,29 @@ declare const GetEventConfigurationCommand_base: {
97
106
  * @throws {@link InvalidParameterException} (client fault)
98
107
  * <p>The request includes a parameter that is not valid.</p>
99
108
  *
109
+ * @throws {@link InvalidTrailNameException} (client fault)
110
+ * <p>This exception is thrown when the provided trail name is not valid. Trail names must
111
+ * meet the following requirements:</p>
112
+ * <ul>
113
+ * <li>
114
+ * <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
115
+ * (_), or dashes (-)</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>Start with a letter or number, and end with a letter or number</p>
119
+ * </li>
120
+ * <li>
121
+ * <p>Be between 3 and 128 characters</p>
122
+ * </li>
123
+ * <li>
124
+ * <p>Have no adjacent periods, underscores or dashes. Names like
125
+ * <code>my-_namespace</code> and <code>my--namespace</code> are not valid.</p>
126
+ * </li>
127
+ * <li>
128
+ * <p>Not be in IP address format (for example, 192.168.5.4)</p>
129
+ * </li>
130
+ * </ul>
131
+ *
100
132
  * @throws {@link NoManagementAccountSLRExistsException} (client fault)
101
133
  * <p> This exception is thrown when the management account does not have a service-linked
102
134
  * role. </p>
@@ -104,6 +136,9 @@ declare const GetEventConfigurationCommand_base: {
104
136
  * @throws {@link OperationNotPermittedException} (client fault)
105
137
  * <p>This exception is thrown when the requested operation is not permitted.</p>
106
138
  *
139
+ * @throws {@link TrailNotFoundException} (client fault)
140
+ * <p>This exception is thrown when the trail with the given name is not found.</p>
141
+ *
107
142
  * @throws {@link UnsupportedOperationException} (client fault)
108
143
  * <p>This exception is thrown when the requested operation is not supported.</p>
109
144
  *
@@ -23,11 +23,11 @@ export interface PutEventConfigurationCommandOutput extends PutEventConfiguratio
23
23
  }
24
24
  declare const PutEventConfigurationCommand_base: {
25
25
  new (input: PutEventConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutEventConfigurationCommandInput, PutEventConfigurationCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutEventConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutEventConfigurationCommandInput, PutEventConfigurationCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [PutEventConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<PutEventConfigurationCommandInput, PutEventConfigurationCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates the event configuration settings for the specified event data store. You can update the maximum event size and context key selectors.</p>
30
+ * <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>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -37,9 +37,10 @@ declare const PutEventConfigurationCommand_base: {
37
37
  * const config = {}; // type is CloudTrailClientConfig
38
38
  * const client = new CloudTrailClient(config);
39
39
  * const input = { // PutEventConfigurationRequest
40
+ * TrailName: "STRING_VALUE",
40
41
  * EventDataStore: "STRING_VALUE",
41
- * MaxEventSize: "Standard" || "Large", // required
42
- * ContextKeySelectors: [ // ContextKeySelectors // required
42
+ * MaxEventSize: "Standard" || "Large",
43
+ * ContextKeySelectors: [ // ContextKeySelectors
43
44
  * { // ContextKeySelector
44
45
  * Type: "TagContext" || "RequestContext", // required
45
46
  * Equals: [ // OperatorTargetList // required
@@ -47,10 +48,19 @@ declare const PutEventConfigurationCommand_base: {
47
48
  * ],
48
49
  * },
49
50
  * ],
51
+ * AggregationConfigurations: [ // AggregationConfigurations
52
+ * { // AggregationConfiguration
53
+ * Templates: [ // Templates // required
54
+ * "API_ACTIVITY" || "RESOURCE_ACCESS" || "USER_ACTIONS",
55
+ * ],
56
+ * EventCategory: "Data", // required
57
+ * },
58
+ * ],
50
59
  * };
51
60
  * const command = new PutEventConfigurationCommand(input);
52
61
  * const response = await client.send(command);
53
62
  * // { // PutEventConfigurationResponse
63
+ * // TrailARN: "STRING_VALUE",
54
64
  * // EventDataStoreArn: "STRING_VALUE",
55
65
  * // MaxEventSize: "Standard" || "Large",
56
66
  * // ContextKeySelectors: [ // ContextKeySelectors
@@ -61,6 +71,14 @@ declare const PutEventConfigurationCommand_base: {
61
71
  * // ],
62
72
  * // },
63
73
  * // ],
74
+ * // AggregationConfigurations: [ // AggregationConfigurations
75
+ * // { // AggregationConfiguration
76
+ * // Templates: [ // Templates // required
77
+ * // "API_ACTIVITY" || "RESOURCE_ACCESS" || "USER_ACTIONS",
78
+ * // ],
79
+ * // EventCategory: "Data", // required
80
+ * // },
81
+ * // ],
64
82
  * // };
65
83
  *
66
84
  * ```
@@ -115,6 +133,10 @@ declare const PutEventConfigurationCommand_base: {
115
133
  * @throws {@link InvalidEventDataStoreStatusException} (client fault)
116
134
  * <p>The event data store is not in a status that supports the operation.</p>
117
135
  *
136
+ * @throws {@link InvalidHomeRegionException} (client fault)
137
+ * <p>This exception is thrown when an operation is called on a trail from a Region other than
138
+ * the Region in which the trail was created.</p>
139
+ *
118
140
  * @throws {@link InvalidParameterCombinationException} (client fault)
119
141
  * <p>This exception is thrown when the combination of parameters provided is not
120
142
  * valid.</p>
@@ -122,6 +144,29 @@ declare const PutEventConfigurationCommand_base: {
122
144
  * @throws {@link InvalidParameterException} (client fault)
123
145
  * <p>The request includes a parameter that is not valid.</p>
124
146
  *
147
+ * @throws {@link InvalidTrailNameException} (client fault)
148
+ * <p>This exception is thrown when the provided trail name is not valid. Trail names must
149
+ * meet the following requirements:</p>
150
+ * <ul>
151
+ * <li>
152
+ * <p>Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores
153
+ * (_), or dashes (-)</p>
154
+ * </li>
155
+ * <li>
156
+ * <p>Start with a letter or number, and end with a letter or number</p>
157
+ * </li>
158
+ * <li>
159
+ * <p>Be between 3 and 128 characters</p>
160
+ * </li>
161
+ * <li>
162
+ * <p>Have no adjacent periods, underscores or dashes. Names like
163
+ * <code>my-_namespace</code> and <code>my--namespace</code> are not valid.</p>
164
+ * </li>
165
+ * <li>
166
+ * <p>Not be in IP address format (for example, 192.168.5.4)</p>
167
+ * </li>
168
+ * </ul>
169
+ *
125
170
  * @throws {@link NoManagementAccountSLRExistsException} (client fault)
126
171
  * <p> This exception is thrown when the management account does not have a service-linked
127
172
  * role. </p>
@@ -139,6 +184,9 @@ declare const PutEventConfigurationCommand_base: {
139
184
  * This exception is thrown when the request rate exceeds the limit.
140
185
  * </p>
141
186
  *
187
+ * @throws {@link TrailNotFoundException} (client fault)
188
+ * <p>This exception is thrown when the trail with the given name is not found.</p>
189
+ *
142
190
  * @throws {@link UnsupportedOperationException} (client fault)
143
191
  * <p>This exception is thrown when the requested operation is not supported.</p>
144
192
  *
@@ -1,3 +1,27 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const EventCategoryAggregation: {
6
+ readonly Data: "Data";
7
+ };
8
+ /**
9
+ * @public
10
+ */
11
+ export type EventCategoryAggregation = (typeof EventCategoryAggregation)[keyof typeof EventCategoryAggregation];
12
+ /**
13
+ * @public
14
+ * @enum
15
+ */
16
+ export declare const Template: {
17
+ readonly API_ACTIVITY: "API_ACTIVITY";
18
+ readonly RESOURCE_ACCESS: "RESOURCE_ACCESS";
19
+ readonly USER_ACTIONS: "USER_ACTIONS";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type Template = (typeof Template)[keyof typeof Template];
1
25
  /**
2
26
  * @public
3
27
  * @enum
@@ -1,4 +1,4 @@
1
- import { BillingMode, DashboardStatus, DashboardType, DeliveryStatus, DestinationType, EventCategory, EventDataStoreStatus, FederationStatus, ImportFailureStatus, ImportStatus, InsightsMetricDataType, InsightType, ListInsightsDataDimensionKey, ListInsightsDataType, LookupAttributeKey, MaxEventSize, QueryStatus, ReadWriteType, RefreshScheduleFrequencyUnit, RefreshScheduleStatus, SourceEventCategory, Type } from "./enums";
1
+ import { BillingMode, DashboardStatus, DashboardType, DeliveryStatus, DestinationType, EventCategory, EventCategoryAggregation, EventDataStoreStatus, FederationStatus, ImportFailureStatus, ImportStatus, InsightsMetricDataType, InsightType, ListInsightsDataDimensionKey, ListInsightsDataType, LookupAttributeKey, MaxEventSize, QueryStatus, ReadWriteType, RefreshScheduleFrequencyUnit, RefreshScheduleStatus, SourceEventCategory, Template, Type } from "./enums";
2
2
  /**
3
3
  * <p>A custom key-value pair associated with a resource such as a CloudTrail
4
4
  * trail, event data store, dashboard, or channel.</p>
@@ -133,6 +133,22 @@ export interface AdvancedEventSelector {
133
133
  */
134
134
  FieldSelectors: AdvancedFieldSelector[] | undefined;
135
135
  }
136
+ /**
137
+ * <p>An object that contains configuration settings for aggregating events.</p>
138
+ * @public
139
+ */
140
+ export interface AggregationConfiguration {
141
+ /**
142
+ * <p>A list of aggregation templates that can be used to configure event aggregation.</p>
143
+ * @public
144
+ */
145
+ Templates: Template[] | undefined;
146
+ /**
147
+ * <p>Specifies the event category for which aggregation should be performed.</p>
148
+ * @public
149
+ */
150
+ EventCategory: EventCategoryAggregation | undefined;
151
+ }
136
152
  /**
137
153
  * @public
138
154
  */
@@ -1677,6 +1693,11 @@ export interface GetDashboardResponse {
1677
1693
  * @public
1678
1694
  */
1679
1695
  export interface GetEventConfigurationRequest {
1696
+ /**
1697
+ * <p>The name of the trail for which you want to retrieve event configuration settings.</p>
1698
+ * @public
1699
+ */
1700
+ TrailName?: string | undefined;
1680
1701
  /**
1681
1702
  * <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>
1682
1703
  * @public
@@ -1703,6 +1724,11 @@ export interface ContextKeySelector {
1703
1724
  * @public
1704
1725
  */
1705
1726
  export interface GetEventConfigurationResponse {
1727
+ /**
1728
+ * <p>The Amazon Resource Name (ARN) of the trail for which the event configuration settings are returned.</p>
1729
+ * @public
1730
+ */
1731
+ TrailARN?: string | undefined;
1706
1732
  /**
1707
1733
  * <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>
1708
1734
  * @public
@@ -1718,6 +1744,11 @@ export interface GetEventConfigurationResponse {
1718
1744
  * @public
1719
1745
  */
1720
1746
  ContextKeySelectors?: ContextKeySelector[] | undefined;
1747
+ /**
1748
+ * <p>The list of aggregation configurations that are configured for the trail.</p>
1749
+ * @public
1750
+ */
1751
+ AggregationConfigurations?: AggregationConfiguration[] | undefined;
1721
1752
  }
1722
1753
  /**
1723
1754
  * @public
@@ -3624,7 +3655,12 @@ export interface LookupEventsResponse {
3624
3655
  */
3625
3656
  export interface PutEventConfigurationRequest {
3626
3657
  /**
3627
- * <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>
3658
+ * <p>The name of the trail for which you want to update event configuration settings.</p>
3659
+ * @public
3660
+ */
3661
+ TrailName?: string | undefined;
3662
+ /**
3663
+ * <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>
3628
3664
  * @public
3629
3665
  */
3630
3666
  EventDataStore?: string | undefined;
@@ -3632,17 +3668,27 @@ export interface PutEventConfigurationRequest {
3632
3668
  * <p>The maximum allowed size for events to be stored in the specified event data store. If you are using context key selectors, MaxEventSize must be set to Large.</p>
3633
3669
  * @public
3634
3670
  */
3635
- MaxEventSize: MaxEventSize | undefined;
3671
+ MaxEventSize?: MaxEventSize | undefined;
3636
3672
  /**
3637
3673
  * <p>A list of context key selectors that will be included to provide enriched event data.</p>
3638
3674
  * @public
3639
3675
  */
3640
- ContextKeySelectors: ContextKeySelector[] | undefined;
3676
+ ContextKeySelectors?: ContextKeySelector[] | undefined;
3677
+ /**
3678
+ * <p>The list of aggregation configurations that you want to configure for the trail.</p>
3679
+ * @public
3680
+ */
3681
+ AggregationConfigurations?: AggregationConfiguration[] | undefined;
3641
3682
  }
3642
3683
  /**
3643
3684
  * @public
3644
3685
  */
3645
3686
  export interface PutEventConfigurationResponse {
3687
+ /**
3688
+ * <p>The Amazon Resource Name (ARN) of the trail that has aggregation enabled.</p>
3689
+ * @public
3690
+ */
3691
+ TrailARN?: string | undefined;
3646
3692
  /**
3647
3693
  * <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>
3648
3694
  * @public
@@ -3658,6 +3704,11 @@ export interface PutEventConfigurationResponse {
3658
3704
  * @public
3659
3705
  */
3660
3706
  ContextKeySelectors?: ContextKeySelector[] | undefined;
3707
+ /**
3708
+ * <p>A list of aggregation configurations that are configured for the trail.</p>
3709
+ * @public
3710
+ */
3711
+ AggregationConfigurations?: AggregationConfiguration[] | undefined;
3661
3712
  }
3662
3713
  /**
3663
3714
  * @public
@@ -8,6 +8,7 @@ export declare var AddTagsRequest: StaticStructureSchema;
8
8
  export declare var AddTagsResponse: StaticStructureSchema;
9
9
  export declare var AdvancedEventSelector: StaticStructureSchema;
10
10
  export declare var AdvancedFieldSelector: StaticStructureSchema;
11
+ export declare var AggregationConfiguration: StaticStructureSchema;
11
12
  export declare var CancelQueryRequest: StaticStructureSchema;
12
13
  export declare var CancelQueryResponse: StaticStructureSchema;
13
14
  export declare var CannotDelegateManagementAccountException: StaticErrorSchema;
@@ -243,6 +244,7 @@ export declare var __Unit: "unit";
243
244
  export declare var CloudTrailServiceException: StaticErrorSchema;
244
245
  export declare var AdvancedEventSelectors: StaticListSchema;
245
246
  export declare var AdvancedFieldSelectors: StaticListSchema;
247
+ export declare var AggregationConfigurations: StaticListSchema;
246
248
  export declare var Channels: StaticListSchema;
247
249
  export declare var ContextKeySelectors: StaticListSchema;
248
250
  export declare var Dashboards: StaticListSchema;
@@ -275,6 +277,7 @@ export declare var ResourceTagList: StaticListSchema;
275
277
  export declare var SearchSampleQueriesSearchResults: StaticListSchema;
276
278
  export declare var SourceEventCategories: number;
277
279
  export declare var TagsList: StaticListSchema;
280
+ export declare var Templates: number;
278
281
  export declare var Timestamps: number;
279
282
  export declare var TrailList: StaticListSchema;
280
283
  export declare var TrailNameList: number;
@@ -778,6 +778,7 @@ export interface CloudTrail {
778
778
  options: __HttpHandlerOptions,
779
779
  cb: (err: any, data?: LookupEventsCommandOutput) => void
780
780
  ): void;
781
+ putEventConfiguration(): Promise<PutEventConfigurationCommandOutput>;
781
782
  putEventConfiguration(
782
783
  args: PutEventConfigurationCommandInput,
783
784
  options?: __HttpHandlerOptions
@@ -27,7 +27,7 @@ declare const PutEventConfigurationCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- input: PutEventConfigurationCommandInput
30
+ ...[input]: [] | [PutEventConfigurationCommandInput]
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  PutEventConfigurationCommandInput,
33
33
  PutEventConfigurationCommandOutput,
@@ -1,3 +1,14 @@
1
+ export declare const EventCategoryAggregation: {
2
+ readonly Data: "Data";
3
+ };
4
+ export type EventCategoryAggregation =
5
+ (typeof EventCategoryAggregation)[keyof typeof EventCategoryAggregation];
6
+ export declare const Template: {
7
+ readonly API_ACTIVITY: "API_ACTIVITY";
8
+ readonly RESOURCE_ACCESS: "RESOURCE_ACCESS";
9
+ readonly USER_ACTIONS: "USER_ACTIONS";
10
+ };
11
+ export type Template = (typeof Template)[keyof typeof Template];
1
12
  export declare const BillingMode: {
2
13
  readonly EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING";
3
14
  readonly FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING";
@@ -5,6 +5,7 @@ import {
5
5
  DeliveryStatus,
6
6
  DestinationType,
7
7
  EventCategory,
8
+ EventCategoryAggregation,
8
9
  EventDataStoreStatus,
9
10
  FederationStatus,
10
11
  ImportFailureStatus,
@@ -20,6 +21,7 @@ import {
20
21
  RefreshScheduleFrequencyUnit,
21
22
  RefreshScheduleStatus,
22
23
  SourceEventCategory,
24
+ Template,
23
25
  Type,
24
26
  } from "./enums";
25
27
  export interface Tag {
@@ -44,6 +46,10 @@ export interface AdvancedEventSelector {
44
46
  Name?: string | undefined;
45
47
  FieldSelectors: AdvancedFieldSelector[] | undefined;
46
48
  }
49
+ export interface AggregationConfiguration {
50
+ Templates: Template[] | undefined;
51
+ EventCategory: EventCategoryAggregation | undefined;
52
+ }
47
53
  export interface CancelQueryRequest {
48
54
  EventDataStore?: string | undefined;
49
55
  QueryId: string | undefined;
@@ -304,6 +310,7 @@ export interface GetDashboardResponse {
304
310
  TerminationProtectionEnabled?: boolean | undefined;
305
311
  }
306
312
  export interface GetEventConfigurationRequest {
313
+ TrailName?: string | undefined;
307
314
  EventDataStore?: string | undefined;
308
315
  }
309
316
  export interface ContextKeySelector {
@@ -311,9 +318,11 @@ export interface ContextKeySelector {
311
318
  Equals: string[] | undefined;
312
319
  }
313
320
  export interface GetEventConfigurationResponse {
321
+ TrailARN?: string | undefined;
314
322
  EventDataStoreArn?: string | undefined;
315
323
  MaxEventSize?: MaxEventSize | undefined;
316
324
  ContextKeySelectors?: ContextKeySelector[] | undefined;
325
+ AggregationConfigurations?: AggregationConfiguration[] | undefined;
317
326
  }
318
327
  export interface GetEventDataStoreRequest {
319
328
  EventDataStore: string | undefined;
@@ -656,14 +665,18 @@ export interface LookupEventsResponse {
656
665
  NextToken?: string | undefined;
657
666
  }
658
667
  export interface PutEventConfigurationRequest {
668
+ TrailName?: string | undefined;
659
669
  EventDataStore?: string | undefined;
660
- MaxEventSize: MaxEventSize | undefined;
661
- ContextKeySelectors: ContextKeySelector[] | undefined;
670
+ MaxEventSize?: MaxEventSize | undefined;
671
+ ContextKeySelectors?: ContextKeySelector[] | undefined;
672
+ AggregationConfigurations?: AggregationConfiguration[] | undefined;
662
673
  }
663
674
  export interface PutEventConfigurationResponse {
675
+ TrailARN?: string | undefined;
664
676
  EventDataStoreArn?: string | undefined;
665
677
  MaxEventSize?: MaxEventSize | undefined;
666
678
  ContextKeySelectors?: ContextKeySelector[] | undefined;
679
+ AggregationConfigurations?: AggregationConfiguration[] | undefined;
667
680
  }
668
681
  export interface PutEventSelectorsRequest {
669
682
  TrailName: string | undefined;
@@ -13,6 +13,7 @@ export declare var AddTagsRequest: StaticStructureSchema;
13
13
  export declare var AddTagsResponse: StaticStructureSchema;
14
14
  export declare var AdvancedEventSelector: StaticStructureSchema;
15
15
  export declare var AdvancedFieldSelector: StaticStructureSchema;
16
+ export declare var AggregationConfiguration: StaticStructureSchema;
16
17
  export declare var CancelQueryRequest: StaticStructureSchema;
17
18
  export declare var CancelQueryResponse: StaticStructureSchema;
18
19
  export declare var CannotDelegateManagementAccountException: StaticErrorSchema;
@@ -248,6 +249,7 @@ export declare var __Unit: "unit";
248
249
  export declare var CloudTrailServiceException: StaticErrorSchema;
249
250
  export declare var AdvancedEventSelectors: StaticListSchema;
250
251
  export declare var AdvancedFieldSelectors: StaticListSchema;
252
+ export declare var AggregationConfigurations: StaticListSchema;
251
253
  export declare var Channels: StaticListSchema;
252
254
  export declare var ContextKeySelectors: StaticListSchema;
253
255
  export declare var Dashboards: StaticListSchema;
@@ -280,6 +282,7 @@ export declare var ResourceTagList: StaticListSchema;
280
282
  export declare var SearchSampleQueriesSearchResults: StaticListSchema;
281
283
  export declare var SourceEventCategories: number;
282
284
  export declare var TagsList: StaticListSchema;
285
+ export declare var Templates: number;
283
286
  export declare var Timestamps: number;
284
287
  export declare var TrailList: StaticListSchema;
285
288
  export declare var TrailNameList: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudtrail",
3
3
  "description": "AWS SDK for JavaScript Cloudtrail Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.937.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudtrail",