aws-sdk-cloudtrail 1.114.0 → 1.115.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71a61e3c0704861fffcc08f729a200ebe801162783fe49524d501ff4635e6119
4
- data.tar.gz: 8a0a3bd92ab177c5e5e0ecce47031a5189408939381c0d3f3aa420142b551630
3
+ metadata.gz: 89587cf6142148093974c4ed16491af17de7e6b720c17cecd9d375c83f84d41c
4
+ data.tar.gz: f52ddc4faafd160daabc16bd7e3e03b279fbc579c5c1430f2e707d6d81609f72
5
5
  SHA512:
6
- metadata.gz: 875af53c2791f73e33ee181087b2f32abea6679c59bf2a673f793339b154a72c39e137cf224b7d9195bd4d3838f7d7c826014708d58320bb90efa4ed5572bbde
7
- data.tar.gz: b0a458c66be02376025bcf6ae8d5934353edd17dcd51c9f78d44134e971d142afca6abdd0b9aaf876f9cbf824b3dc3bcb3d1696e63d159816be135c57ddd20f6
6
+ metadata.gz: 301da4148807c8c274631294e16d81a4c6cf46e006158f1ed8aa3a6f3bca02c1fbc00662beb4e9589d95dbd807b79de5b796f12974e0db196423d75ad889f560
7
+ data.tar.gz: 95fd50e1b78fc9d02af982cac2d9e0fa7c25711239b817f0435c9d57b981a7cd2f1d5b40ff066f45e8c2561786b4f306cc3913e24355c14fb84865bc825469c9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.115.0 (2025-11-20)
5
+ ------------------
6
+
7
+ * Feature - AWS launches CloudTrail aggregated events to simplify monitoring of data events at scale. This feature delivers both granular and summarized data events for resources like S3/Lambda, helping security teams identify patterns without custom aggregation logic.
8
+
4
9
  1.114.0 (2025-11-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.114.0
1
+ 1.115.0
@@ -1814,8 +1814,13 @@ module Aws::CloudTrail
1814
1814
  end
1815
1815
 
1816
1816
  # Retrieves the current event configuration settings for the specified
1817
- # event data store, including details about maximum event size and
1818
- # context key selectors configured for the event data store.
1817
+ # event data store or trail. The response includes maximum event size
1818
+ # configuration, the context key selectors configured for the event data
1819
+ # store, and any aggregation settings configured for the trail.
1820
+ #
1821
+ # @option params [String] :trail_name
1822
+ # The name of the trail for which you want to retrieve event
1823
+ # configuration settings.
1819
1824
  #
1820
1825
  # @option params [String] :event_data_store
1821
1826
  # The Amazon Resource Name (ARN) or ID suffix of the ARN of the event
@@ -1824,24 +1829,32 @@ module Aws::CloudTrail
1824
1829
  #
1825
1830
  # @return [Types::GetEventConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1826
1831
  #
1832
+ # * {Types::GetEventConfigurationResponse#trail_arn #trail_arn} => String
1827
1833
  # * {Types::GetEventConfigurationResponse#event_data_store_arn #event_data_store_arn} => String
1828
1834
  # * {Types::GetEventConfigurationResponse#max_event_size #max_event_size} => String
1829
1835
  # * {Types::GetEventConfigurationResponse#context_key_selectors #context_key_selectors} => Array<Types::ContextKeySelector>
1836
+ # * {Types::GetEventConfigurationResponse#aggregation_configurations #aggregation_configurations} => Array<Types::AggregationConfiguration>
1830
1837
  #
1831
1838
  # @example Request syntax with placeholder values
1832
1839
  #
1833
1840
  # resp = client.get_event_configuration({
1841
+ # trail_name: "String",
1834
1842
  # event_data_store: "String",
1835
1843
  # })
1836
1844
  #
1837
1845
  # @example Response structure
1838
1846
  #
1847
+ # resp.trail_arn #=> String
1839
1848
  # resp.event_data_store_arn #=> String
1840
1849
  # resp.max_event_size #=> String, one of "Standard", "Large"
1841
1850
  # resp.context_key_selectors #=> Array
1842
1851
  # resp.context_key_selectors[0].type #=> String, one of "TagContext", "RequestContext"
1843
1852
  # resp.context_key_selectors[0].equals #=> Array
1844
1853
  # resp.context_key_selectors[0].equals[0] #=> String
1854
+ # resp.aggregation_configurations #=> Array
1855
+ # resp.aggregation_configurations[0].templates #=> Array
1856
+ # resp.aggregation_configurations[0].templates[0] #=> String, one of "API_ACTIVITY", "RESOURCE_ACCESS", "USER_ACTIONS"
1857
+ # resp.aggregation_configurations[0].event_category #=> String, one of "Data"
1845
1858
  #
1846
1859
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventConfiguration AWS API Documentation
1847
1860
  #
@@ -3225,49 +3238,72 @@ module Aws::CloudTrail
3225
3238
  end
3226
3239
 
3227
3240
  # Updates the event configuration settings for the specified event data
3228
- # store. You can update the maximum event size and context key
3229
- # selectors.
3241
+ # store or trail. This operation supports updating the maximum event
3242
+ # size, adding or modifying context key selectors for event data store,
3243
+ # and configuring aggregation settings for the trail.
3244
+ #
3245
+ # @option params [String] :trail_name
3246
+ # The name of the trail for which you want to update event configuration
3247
+ # settings.
3230
3248
  #
3231
3249
  # @option params [String] :event_data_store
3232
3250
  # The Amazon Resource Name (ARN) or ID suffix of the ARN of the event
3233
- # data store for which you want to update event configuration settings.
3251
+ # data store for which event configuration settings are updated.
3234
3252
  #
3235
- # @option params [required, String] :max_event_size
3253
+ # @option params [String] :max_event_size
3236
3254
  # The maximum allowed size for events to be stored in the specified
3237
3255
  # event data store. If you are using context key selectors, MaxEventSize
3238
3256
  # must be set to Large.
3239
3257
  #
3240
- # @option params [required, Array<Types::ContextKeySelector>] :context_key_selectors
3258
+ # @option params [Array<Types::ContextKeySelector>] :context_key_selectors
3241
3259
  # A list of context key selectors that will be included to provide
3242
3260
  # enriched event data.
3243
3261
  #
3262
+ # @option params [Array<Types::AggregationConfiguration>] :aggregation_configurations
3263
+ # The list of aggregation configurations that you want to configure for
3264
+ # the trail.
3265
+ #
3244
3266
  # @return [Types::PutEventConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3245
3267
  #
3268
+ # * {Types::PutEventConfigurationResponse#trail_arn #trail_arn} => String
3246
3269
  # * {Types::PutEventConfigurationResponse#event_data_store_arn #event_data_store_arn} => String
3247
3270
  # * {Types::PutEventConfigurationResponse#max_event_size #max_event_size} => String
3248
3271
  # * {Types::PutEventConfigurationResponse#context_key_selectors #context_key_selectors} => Array&lt;Types::ContextKeySelector&gt;
3272
+ # * {Types::PutEventConfigurationResponse#aggregation_configurations #aggregation_configurations} => Array&lt;Types::AggregationConfiguration&gt;
3249
3273
  #
3250
3274
  # @example Request syntax with placeholder values
3251
3275
  #
3252
3276
  # resp = client.put_event_configuration({
3277
+ # trail_name: "String",
3253
3278
  # event_data_store: "String",
3254
- # max_event_size: "Standard", # required, accepts Standard, Large
3255
- # context_key_selectors: [ # required
3279
+ # max_event_size: "Standard", # accepts Standard, Large
3280
+ # context_key_selectors: [
3256
3281
  # {
3257
3282
  # type: "TagContext", # required, accepts TagContext, RequestContext
3258
3283
  # equals: ["OperatorTargetListMember"], # required
3259
3284
  # },
3260
3285
  # ],
3286
+ # aggregation_configurations: [
3287
+ # {
3288
+ # templates: ["API_ACTIVITY"], # required, accepts API_ACTIVITY, RESOURCE_ACCESS, USER_ACTIONS
3289
+ # event_category: "Data", # required, accepts Data
3290
+ # },
3291
+ # ],
3261
3292
  # })
3262
3293
  #
3263
3294
  # @example Response structure
3264
3295
  #
3296
+ # resp.trail_arn #=> String
3265
3297
  # resp.event_data_store_arn #=> String
3266
3298
  # resp.max_event_size #=> String, one of "Standard", "Large"
3267
3299
  # resp.context_key_selectors #=> Array
3268
3300
  # resp.context_key_selectors[0].type #=> String, one of "TagContext", "RequestContext"
3269
3301
  # resp.context_key_selectors[0].equals #=> Array
3270
3302
  # resp.context_key_selectors[0].equals[0] #=> String
3303
+ # resp.aggregation_configurations #=> Array
3304
+ # resp.aggregation_configurations[0].templates #=> Array
3305
+ # resp.aggregation_configurations[0].templates[0] #=> String, one of "API_ACTIVITY", "RESOURCE_ACCESS", "USER_ACTIONS"
3306
+ # resp.aggregation_configurations[0].event_category #=> String, one of "Data"
3271
3307
  #
3272
3308
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventConfiguration AWS API Documentation
3273
3309
  #
@@ -4848,7 +4884,7 @@ module Aws::CloudTrail
4848
4884
  tracer: tracer
4849
4885
  )
4850
4886
  context[:gem_name] = 'aws-sdk-cloudtrail'
4851
- context[:gem_version] = '1.114.0'
4887
+ context[:gem_version] = '1.115.0'
4852
4888
  Seahorse::Client::Request.new(handlers, context)
4853
4889
  end
4854
4890
 
@@ -26,6 +26,8 @@ module Aws::CloudTrail
26
26
  AdvancedEventSelectors = Shapes::ListShape.new(name: 'AdvancedEventSelectors')
27
27
  AdvancedFieldSelector = Shapes::StructureShape.new(name: 'AdvancedFieldSelector')
28
28
  AdvancedFieldSelectors = Shapes::ListShape.new(name: 'AdvancedFieldSelectors')
29
+ AggregationConfiguration = Shapes::StructureShape.new(name: 'AggregationConfiguration')
30
+ AggregationConfigurations = Shapes::ListShape.new(name: 'AggregationConfigurations')
29
31
  BillingMode = Shapes::StringShape.new(name: 'BillingMode')
30
32
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
31
33
  ByteBuffer = Shapes::BlobShape.new(name: 'ByteBuffer')
@@ -98,6 +100,7 @@ module Aws::CloudTrail
98
100
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
99
101
  Event = Shapes::StructureShape.new(name: 'Event')
100
102
  EventCategory = Shapes::StringShape.new(name: 'EventCategory')
103
+ EventCategoryAggregation = Shapes::StringShape.new(name: 'EventCategoryAggregation')
101
104
  EventDataStore = Shapes::StructureShape.new(name: 'EventDataStore')
102
105
  EventDataStoreARNInvalidException = Shapes::StructureShape.new(name: 'EventDataStoreARNInvalidException')
103
106
  EventDataStoreAlreadyExistsException = Shapes::StructureShape.new(name: 'EventDataStoreAlreadyExistsException')
@@ -362,6 +365,8 @@ module Aws::CloudTrail
362
365
  TagValue = Shapes::StringShape.new(name: 'TagValue')
363
366
  TagsLimitExceededException = Shapes::StructureShape.new(name: 'TagsLimitExceededException')
364
367
  TagsList = Shapes::ListShape.new(name: 'TagsList')
368
+ Template = Shapes::StringShape.new(name: 'Template')
369
+ Templates = Shapes::ListShape.new(name: 'Templates')
365
370
  TerminationProtectionEnabled = Shapes::BooleanShape.new(name: 'TerminationProtectionEnabled')
366
371
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
367
372
  TimeOfDay = Shapes::StringShape.new(name: 'TimeOfDay')
@@ -424,6 +429,12 @@ module Aws::CloudTrail
424
429
 
425
430
  AdvancedFieldSelectors.member = Shapes::ShapeRef.new(shape: AdvancedFieldSelector)
426
431
 
432
+ AggregationConfiguration.add_member(:templates, Shapes::ShapeRef.new(shape: Templates, required: true, location_name: "Templates"))
433
+ AggregationConfiguration.add_member(:event_category, Shapes::ShapeRef.new(shape: EventCategoryAggregation, required: true, location_name: "EventCategory"))
434
+ AggregationConfiguration.struct_class = Types::AggregationConfiguration
435
+
436
+ AggregationConfigurations.member = Shapes::ShapeRef.new(shape: AggregationConfiguration)
437
+
427
438
  CancelQueryRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, deprecated: true, location_name: "EventDataStore", metadata: {"deprecatedMessage" => "EventDataStore is no longer required by CancelQueryRequest"}))
428
439
  CancelQueryRequest.add_member(:query_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "QueryId"))
429
440
  CancelQueryRequest.add_member(:event_data_store_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "EventDataStoreOwnerAccountId"))
@@ -738,12 +749,15 @@ module Aws::CloudTrail
738
749
  GetDashboardResponse.add_member(:termination_protection_enabled, Shapes::ShapeRef.new(shape: TerminationProtectionEnabled, location_name: "TerminationProtectionEnabled"))
739
750
  GetDashboardResponse.struct_class = Types::GetDashboardResponse
740
751
 
752
+ GetEventConfigurationRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, location_name: "TrailName"))
741
753
  GetEventConfigurationRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: String, location_name: "EventDataStore"))
742
754
  GetEventConfigurationRequest.struct_class = Types::GetEventConfigurationRequest
743
755
 
756
+ GetEventConfigurationResponse.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
744
757
  GetEventConfigurationResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
745
758
  GetEventConfigurationResponse.add_member(:max_event_size, Shapes::ShapeRef.new(shape: MaxEventSize, location_name: "MaxEventSize"))
746
759
  GetEventConfigurationResponse.add_member(:context_key_selectors, Shapes::ShapeRef.new(shape: ContextKeySelectors, location_name: "ContextKeySelectors"))
760
+ GetEventConfigurationResponse.add_member(:aggregation_configurations, Shapes::ShapeRef.new(shape: AggregationConfigurations, location_name: "AggregationConfigurations"))
747
761
  GetEventConfigurationResponse.struct_class = Types::GetEventConfigurationResponse
748
762
 
749
763
  GetEventDataStoreRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: EventDataStoreArn, required: true, location_name: "EventDataStore"))
@@ -1141,14 +1155,18 @@ module Aws::CloudTrail
1141
1155
 
1142
1156
  PublicKeyList.member = Shapes::ShapeRef.new(shape: PublicKey)
1143
1157
 
1158
+ PutEventConfigurationRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, location_name: "TrailName"))
1144
1159
  PutEventConfigurationRequest.add_member(:event_data_store, Shapes::ShapeRef.new(shape: String, location_name: "EventDataStore"))
1145
- PutEventConfigurationRequest.add_member(:max_event_size, Shapes::ShapeRef.new(shape: MaxEventSize, required: true, location_name: "MaxEventSize"))
1146
- PutEventConfigurationRequest.add_member(:context_key_selectors, Shapes::ShapeRef.new(shape: ContextKeySelectors, required: true, location_name: "ContextKeySelectors"))
1160
+ PutEventConfigurationRequest.add_member(:max_event_size, Shapes::ShapeRef.new(shape: MaxEventSize, location_name: "MaxEventSize"))
1161
+ PutEventConfigurationRequest.add_member(:context_key_selectors, Shapes::ShapeRef.new(shape: ContextKeySelectors, location_name: "ContextKeySelectors"))
1162
+ PutEventConfigurationRequest.add_member(:aggregation_configurations, Shapes::ShapeRef.new(shape: AggregationConfigurations, location_name: "AggregationConfigurations"))
1147
1163
  PutEventConfigurationRequest.struct_class = Types::PutEventConfigurationRequest
1148
1164
 
1165
+ PutEventConfigurationResponse.add_member(:trail_arn, Shapes::ShapeRef.new(shape: String, location_name: "TrailARN"))
1149
1166
  PutEventConfigurationResponse.add_member(:event_data_store_arn, Shapes::ShapeRef.new(shape: EventDataStoreArn, location_name: "EventDataStoreArn"))
1150
1167
  PutEventConfigurationResponse.add_member(:max_event_size, Shapes::ShapeRef.new(shape: MaxEventSize, location_name: "MaxEventSize"))
1151
1168
  PutEventConfigurationResponse.add_member(:context_key_selectors, Shapes::ShapeRef.new(shape: ContextKeySelectors, location_name: "ContextKeySelectors"))
1169
+ PutEventConfigurationResponse.add_member(:aggregation_configurations, Shapes::ShapeRef.new(shape: AggregationConfigurations, location_name: "AggregationConfigurations"))
1152
1170
  PutEventConfigurationResponse.struct_class = Types::PutEventConfigurationResponse
1153
1171
 
1154
1172
  PutEventSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
@@ -1392,6 +1410,8 @@ module Aws::CloudTrail
1392
1410
 
1393
1411
  TagsList.member = Shapes::ShapeRef.new(shape: Tag)
1394
1412
 
1413
+ Templates.member = Shapes::ShapeRef.new(shape: Template)
1414
+
1395
1415
  ThrottlingException.struct_class = Types::ThrottlingException
1396
1416
 
1397
1417
  Timestamps.member = Shapes::ShapeRef.new(shape: Date)
@@ -1909,6 +1929,8 @@ module Aws::CloudTrail
1909
1929
  o.http_request_uri = "/"
1910
1930
  o.input = Shapes::ShapeRef.new(shape: GetEventConfigurationRequest)
1911
1931
  o.output = Shapes::ShapeRef.new(shape: GetEventConfigurationResponse)
1932
+ o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
1933
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
1912
1934
  o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
1913
1935
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1914
1936
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
@@ -2269,6 +2291,11 @@ module Aws::CloudTrail
2269
2291
  o.http_request_uri = "/"
2270
2292
  o.input = Shapes::ShapeRef.new(shape: PutEventConfigurationRequest)
2271
2293
  o.output = Shapes::ShapeRef.new(shape: PutEventConfigurationResponse)
2294
+ o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
2295
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
2296
+ o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
2297
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2298
+ o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
2272
2299
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreARNInvalidException)
2273
2300
  o.errors << Shapes::ShapeRef.new(shape: EventDataStoreNotFoundException)
2274
2301
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventDataStoreStatusException)
@@ -2278,8 +2305,6 @@ module Aws::CloudTrail
2278
2305
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
2279
2306
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2280
2307
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2281
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2282
- o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
2283
2308
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2284
2309
  o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
2285
2310
  o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
@@ -193,6 +193,27 @@ module Aws::CloudTrail
193
193
  include Aws::Structure
194
194
  end
195
195
 
196
+ # An object that contains configuration settings for aggregating events.
197
+ #
198
+ # @!attribute [rw] templates
199
+ # A list of aggregation templates that can be used to configure event
200
+ # aggregation.
201
+ # @return [Array<String>]
202
+ #
203
+ # @!attribute [rw] event_category
204
+ # Specifies the event category for which aggregation should be
205
+ # performed.
206
+ # @return [String]
207
+ #
208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AggregationConfiguration AWS API Documentation
209
+ #
210
+ class AggregationConfiguration < Struct.new(
211
+ :templates,
212
+ :event_category)
213
+ SENSITIVE = []
214
+ include Aws::Structure
215
+ end
216
+
196
217
  # @!attribute [rw] event_data_store
197
218
  # The ARN (or the ID suffix of the ARN) of an event data store on
198
219
  # which the specified query is running.
@@ -2056,6 +2077,11 @@ module Aws::CloudTrail
2056
2077
  include Aws::Structure
2057
2078
  end
2058
2079
 
2080
+ # @!attribute [rw] trail_name
2081
+ # The name of the trail for which you want to retrieve event
2082
+ # configuration settings.
2083
+ # @return [String]
2084
+ #
2059
2085
  # @!attribute [rw] event_data_store
2060
2086
  # The Amazon Resource Name (ARN) or ID suffix of the ARN of the event
2061
2087
  # data store for which you want to retrieve event configuration
@@ -2065,11 +2091,17 @@ module Aws::CloudTrail
2065
2091
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventConfigurationRequest AWS API Documentation
2066
2092
  #
2067
2093
  class GetEventConfigurationRequest < Struct.new(
2094
+ :trail_name,
2068
2095
  :event_data_store)
2069
2096
  SENSITIVE = []
2070
2097
  include Aws::Structure
2071
2098
  end
2072
2099
 
2100
+ # @!attribute [rw] trail_arn
2101
+ # The Amazon Resource Name (ARN) of the trail for which the event
2102
+ # configuration settings are returned.
2103
+ # @return [String]
2104
+ #
2073
2105
  # @!attribute [rw] event_data_store_arn
2074
2106
  # The Amazon Resource Name (ARN) or ID suffix of the ARN of the event
2075
2107
  # data store for which the event configuration settings are returned.
@@ -2085,12 +2117,19 @@ module Aws::CloudTrail
2085
2117
  # data store.
2086
2118
  # @return [Array<Types::ContextKeySelector>]
2087
2119
  #
2120
+ # @!attribute [rw] aggregation_configurations
2121
+ # The list of aggregation configurations that are configured for the
2122
+ # trail.
2123
+ # @return [Array<Types::AggregationConfiguration>]
2124
+ #
2088
2125
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventConfigurationResponse AWS API Documentation
2089
2126
  #
2090
2127
  class GetEventConfigurationResponse < Struct.new(
2128
+ :trail_arn,
2091
2129
  :event_data_store_arn,
2092
2130
  :max_event_size,
2093
- :context_key_selectors)
2131
+ :context_key_selectors,
2132
+ :aggregation_configurations)
2094
2133
  SENSITIVE = []
2095
2134
  include Aws::Structure
2096
2135
  end
@@ -4118,10 +4157,14 @@ module Aws::CloudTrail
4118
4157
  include Aws::Structure
4119
4158
  end
4120
4159
 
4160
+ # @!attribute [rw] trail_name
4161
+ # The name of the trail for which you want to update event
4162
+ # configuration settings.
4163
+ # @return [String]
4164
+ #
4121
4165
  # @!attribute [rw] event_data_store
4122
4166
  # The Amazon Resource Name (ARN) or ID suffix of the ARN of the event
4123
- # data store for which you want to update event configuration
4124
- # settings.
4167
+ # data store for which event configuration settings are updated.
4125
4168
  # @return [String]
4126
4169
  #
4127
4170
  # @!attribute [rw] max_event_size
@@ -4135,16 +4178,28 @@ module Aws::CloudTrail
4135
4178
  # enriched event data.
4136
4179
  # @return [Array<Types::ContextKeySelector>]
4137
4180
  #
4181
+ # @!attribute [rw] aggregation_configurations
4182
+ # The list of aggregation configurations that you want to configure
4183
+ # for the trail.
4184
+ # @return [Array<Types::AggregationConfiguration>]
4185
+ #
4138
4186
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventConfigurationRequest AWS API Documentation
4139
4187
  #
4140
4188
  class PutEventConfigurationRequest < Struct.new(
4189
+ :trail_name,
4141
4190
  :event_data_store,
4142
4191
  :max_event_size,
4143
- :context_key_selectors)
4192
+ :context_key_selectors,
4193
+ :aggregation_configurations)
4144
4194
  SENSITIVE = []
4145
4195
  include Aws::Structure
4146
4196
  end
4147
4197
 
4198
+ # @!attribute [rw] trail_arn
4199
+ # The Amazon Resource Name (ARN) of the trail that has aggregation
4200
+ # enabled.
4201
+ # @return [String]
4202
+ #
4148
4203
  # @!attribute [rw] event_data_store_arn
4149
4204
  # The Amazon Resource Name (ARN) or ID suffix of the ARN of the event
4150
4205
  # data store for which the event configuration settings were updated.
@@ -4160,12 +4215,19 @@ module Aws::CloudTrail
4160
4215
  # data store.
4161
4216
  # @return [Array<Types::ContextKeySelector>]
4162
4217
  #
4218
+ # @!attribute [rw] aggregation_configurations
4219
+ # A list of aggregation configurations that are configured for the
4220
+ # trail.
4221
+ # @return [Array<Types::AggregationConfiguration>]
4222
+ #
4163
4223
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventConfigurationResponse AWS API Documentation
4164
4224
  #
4165
4225
  class PutEventConfigurationResponse < Struct.new(
4226
+ :trail_arn,
4166
4227
  :event_data_store_arn,
4167
4228
  :max_event_size,
4168
- :context_key_selectors)
4229
+ :context_key_selectors,
4230
+ :aggregation_configurations)
4169
4231
  SENSITIVE = []
4170
4232
  include Aws::Structure
4171
4233
  end
@@ -54,7 +54,7 @@ module Aws::CloudTrail
54
54
  autoload :EndpointProvider, 'aws-sdk-cloudtrail/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-cloudtrail/endpoints'
56
56
 
57
- GEM_VERSION = '1.114.0'
57
+ GEM_VERSION = '1.115.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -422,12 +422,15 @@ module Aws
422
422
 
423
423
  interface _GetEventConfigurationResponseSuccess
424
424
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEventConfigurationResponse]
425
+ def trail_arn: () -> ::String
425
426
  def event_data_store_arn: () -> ::String
426
427
  def max_event_size: () -> ("Standard" | "Large")
427
428
  def context_key_selectors: () -> ::Array[Types::ContextKeySelector]
429
+ def aggregation_configurations: () -> ::Array[Types::AggregationConfiguration]
428
430
  end
429
431
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_event_configuration-instance_method
430
432
  def get_event_configuration: (
433
+ ?trail_name: ::String,
431
434
  ?event_data_store: ::String
432
435
  ) -> _GetEventConfigurationResponseSuccess
433
436
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventConfigurationResponseSuccess
@@ -750,22 +753,31 @@ module Aws
750
753
 
751
754
  interface _PutEventConfigurationResponseSuccess
752
755
  include ::Seahorse::Client::_ResponseSuccess[Types::PutEventConfigurationResponse]
756
+ def trail_arn: () -> ::String
753
757
  def event_data_store_arn: () -> ::String
754
758
  def max_event_size: () -> ("Standard" | "Large")
755
759
  def context_key_selectors: () -> ::Array[Types::ContextKeySelector]
760
+ def aggregation_configurations: () -> ::Array[Types::AggregationConfiguration]
756
761
  end
757
762
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#put_event_configuration-instance_method
758
763
  def put_event_configuration: (
764
+ ?trail_name: ::String,
759
765
  ?event_data_store: ::String,
760
- max_event_size: ("Standard" | "Large"),
761
- context_key_selectors: Array[
766
+ ?max_event_size: ("Standard" | "Large"),
767
+ ?context_key_selectors: Array[
762
768
  {
763
769
  type: ("TagContext" | "RequestContext"),
764
770
  equals: Array[::String]
765
771
  },
772
+ ],
773
+ ?aggregation_configurations: Array[
774
+ {
775
+ templates: Array[("API_ACTIVITY" | "RESOURCE_ACCESS" | "USER_ACTIONS")],
776
+ event_category: ("Data")
777
+ },
766
778
  ]
767
779
  ) -> _PutEventConfigurationResponseSuccess
768
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEventConfigurationResponseSuccess
780
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEventConfigurationResponseSuccess
769
781
 
770
782
  interface _PutEventSelectorsResponseSuccess
771
783
  include ::Seahorse::Client::_ResponseSuccess[Types::PutEventSelectorsResponse]
data/sig/types.rbs CHANGED
@@ -49,6 +49,12 @@ module Aws::CloudTrail
49
49
  SENSITIVE: []
50
50
  end
51
51
 
52
+ class AggregationConfiguration
53
+ attr_accessor templates: ::Array[("API_ACTIVITY" | "RESOURCE_ACCESS" | "USER_ACTIONS")]
54
+ attr_accessor event_category: ("Data")
55
+ SENSITIVE: []
56
+ end
57
+
52
58
  class CancelQueryRequest
53
59
  attr_accessor event_data_store: ::String
54
60
  attr_accessor query_id: ::String
@@ -445,14 +451,17 @@ module Aws::CloudTrail
445
451
  end
446
452
 
447
453
  class GetEventConfigurationRequest
454
+ attr_accessor trail_name: ::String
448
455
  attr_accessor event_data_store: ::String
449
456
  SENSITIVE: []
450
457
  end
451
458
 
452
459
  class GetEventConfigurationResponse
460
+ attr_accessor trail_arn: ::String
453
461
  attr_accessor event_data_store_arn: ::String
454
462
  attr_accessor max_event_size: ("Standard" | "Large")
455
463
  attr_accessor context_key_selectors: ::Array[Types::ContextKeySelector]
464
+ attr_accessor aggregation_configurations: ::Array[Types::AggregationConfiguration]
456
465
  SENSITIVE: []
457
466
  end
458
467
 
@@ -973,16 +982,20 @@ module Aws::CloudTrail
973
982
  end
974
983
 
975
984
  class PutEventConfigurationRequest
985
+ attr_accessor trail_name: ::String
976
986
  attr_accessor event_data_store: ::String
977
987
  attr_accessor max_event_size: ("Standard" | "Large")
978
988
  attr_accessor context_key_selectors: ::Array[Types::ContextKeySelector]
989
+ attr_accessor aggregation_configurations: ::Array[Types::AggregationConfiguration]
979
990
  SENSITIVE: []
980
991
  end
981
992
 
982
993
  class PutEventConfigurationResponse
994
+ attr_accessor trail_arn: ::String
983
995
  attr_accessor event_data_store_arn: ::String
984
996
  attr_accessor max_event_size: ("Standard" | "Large")
985
997
  attr_accessor context_key_selectors: ::Array[Types::ContextKeySelector]
998
+ attr_accessor aggregation_configurations: ::Array[Types::AggregationConfiguration]
986
999
  SENSITIVE: []
987
1000
  end
988
1001
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudtrail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.114.0
4
+ version: 1.115.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services