aws-sdk-cloudtrail 1.79.0 → 1.85.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: 88282f02fc060f0a1b8c2d4f99c1f0c1a97205b75898e7adf5147c800f722851
4
- data.tar.gz: b6410bc930b32b4e03556b7712e6862ef41371e4a07d91d28e13b9ef9edad071
3
+ metadata.gz: bf5f2a9eb4afd4ff322195ff517a3e1f1b3aa5697b566a21b5fb270efd9b037b
4
+ data.tar.gz: 8b9580f8ea9d08b78664864a3424fdbc4660f38183b4215d5f340bb083dd6834
5
5
  SHA512:
6
- metadata.gz: 2700975617ed850c86e6e7b391f039be80bb6c6c65ed33d18c1e5961a551c9d8d03106979e8ca7c497a2a87a99c35e9cd942a9f0a38f70fcea7c822c636140a4
7
- data.tar.gz: 8e708bd87d17d8fd9d7e5705bc9f514a7e1611e9f216a6cd2cb6bec54f1ddd0eb86fc4c80c9635ad575f6a233fbe58310fc3199ea82227f29a997b61ee48506c
6
+ metadata.gz: 109d354c1789f376a553a406135b9893f309dc37a9937ab2542a3b28961a8bbc311f194749609a4ed93ae347578b551d0445c3049b629cebeeb437c2efa6a43d
7
+ data.tar.gz: 1b51203ec7d8a5cf26ed213f792926ea5c25e07deda87f1e70e52f73f6b17d97434785b326c450470ef14ea43460822915e86babb6be28754cf8c83b63c4d200
data/CHANGELOG.md CHANGED
@@ -1,6 +1,36 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2024-07-02)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.84.0 (2024-06-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.83.0 (2024-06-24)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.82.0 (2024-06-18)
20
+ ------------------
21
+
22
+ * Feature - Add v2 smoke tests and smithy smokeTests trait for SDK testing.
23
+
24
+ 1.81.0 (2024-06-05)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.80.0 (2024-05-30)
30
+ ------------------
31
+
32
+ * Feature - CloudTrail Lake returns PartitionKeys in the GetEventDataStore API response. Events are grouped into partitions based on these keys for better query performance. For example, the calendarday key groups events by day, while combining the calendarday key with the hour key groups them by day and hour.
33
+
4
34
  1.79.0 (2024-05-13)
5
35
  ------------------
6
36
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.79.0
1
+ 1.85.0
@@ -89,6 +89,11 @@ module Aws::CloudTrail
89
89
 
90
90
  # @overload initialize(options)
91
91
  # @param [Hash] options
92
+ #
93
+ # @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
94
+ # A list of plugins to apply to the client. Each plugin is either a
95
+ # class name or an instance of a plugin class.
96
+ #
92
97
  # @option options [required, Aws::CredentialProvider] :credentials
93
98
  # Your AWS credentials. This can be an instance of any one of the
94
99
  # following classes:
@@ -209,7 +214,6 @@ module Aws::CloudTrail
209
214
  # 'https://example.com'
210
215
  # 'http://example.com:123'
211
216
  #
212
- #
213
217
  # @option options [Integer] :endpoint_cache_max_entries (1000)
214
218
  # Used for the maximum size limit of the LRU cache storing endpoints data
215
219
  # for endpoint discovery enabled operations. Defaults to 1000.
@@ -298,7 +302,6 @@ module Aws::CloudTrail
298
302
  # throttling. This is a provisional mode that may change behavior
299
303
  # in the future.
300
304
  #
301
- #
302
305
  # @option options [String] :sdk_ua_app_id
303
306
  # A unique and opaque application ID that is appended to the
304
307
  # User-Agent header as app/sdk_ua_app_id. It should have a
@@ -309,15 +312,21 @@ module Aws::CloudTrail
309
312
  #
310
313
  # @option options [String] :session_token
311
314
  #
315
+ # @option options [Array] :sigv4a_signing_region_set
316
+ # A list of regions that should be signed with SigV4a signing. When
317
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
318
+ # in the following locations:
319
+ #
320
+ # * `Aws.config[:sigv4a_signing_region_set]`
321
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
322
+ # * `~/.aws/config`
323
+ #
312
324
  # @option options [Boolean] :simple_json (false)
313
325
  # Disables request parameter conversion, validation, and formatting.
314
- # Also disable response data type conversions. This option is useful
315
- # when you want to ensure the highest level of performance by
316
- # avoiding overhead of walking request parameters and response data
317
- # structures.
318
- #
319
- # When `:simple_json` is enabled, the request parameters hash must
320
- # be formatted exactly as the DynamoDB API expects.
326
+ # Also disables response data type conversions. The request parameters
327
+ # hash must be formatted exactly as the API expects.This option is useful
328
+ # when you want to ensure the highest level of performance by avoiding
329
+ # overhead of walking request parameters and response data structures.
321
330
  #
322
331
  # @option options [Boolean] :stub_responses (false)
323
332
  # Causes the client to return stubbed responses. By default
@@ -608,15 +617,15 @@ module Aws::CloudTrail
608
617
  # CloudTrail User Guide.
609
618
  #
610
619
  # For more information about how to use advanced event selectors to
611
- # include non-Amazon Web Services events in your event data store, see
612
- # [Create an integration to log events from outside Amazon Web
613
- # Services][3] in the CloudTrail User Guide.
620
+ # include events outside of Amazon Web Services events in your event
621
+ # data store, see [Create an integration to log events from outside
622
+ # Amazon Web Services][3] in the CloudTrail User Guide.
614
623
  #
615
624
  #
616
625
  #
617
626
  # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced
618
- # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-eds-config
619
- # [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-integration
627
+ # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-eds-cli.html#lake-cli-create-eds-config
628
+ # [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-integrations-cli.html#lake-cli-create-integration
620
629
  #
621
630
  # @option params [Boolean] :multi_region_enabled
622
631
  # Specifies whether the event data store includes events from all
@@ -833,11 +842,12 @@ module Aws::CloudTrail
833
842
  #
834
843
  # @option params [required, String] :s3_bucket_name
835
844
  # Specifies the name of the Amazon S3 bucket designated for publishing
836
- # log files. See [Amazon S3 Bucket Naming Requirements][1].
845
+ # log files. For information about bucket naming rules, see [Bucket
846
+ # naming rules][1] in the *Amazon Simple Storage Service User Guide*.
837
847
  #
838
848
  #
839
849
  #
840
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html
850
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
841
851
  #
842
852
  # @option params [String] :s3_key_prefix
843
853
  # Specifies the Amazon S3 key prefix that comes after the name of the
@@ -847,7 +857,7 @@ module Aws::CloudTrail
847
857
  #
848
858
  #
849
859
  #
850
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html
860
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files
851
861
  #
852
862
  # @option params [String] :sns_topic_name
853
863
  # Specifies the name of the Amazon SNS topic defined for notification of
@@ -1446,6 +1456,7 @@ module Aws::CloudTrail
1446
1456
  # * {Types::GetEventDataStoreResponse#billing_mode #billing_mode} => String
1447
1457
  # * {Types::GetEventDataStoreResponse#federation_status #federation_status} => String
1448
1458
  # * {Types::GetEventDataStoreResponse#federation_role_arn #federation_role_arn} => String
1459
+ # * {Types::GetEventDataStoreResponse#partition_keys #partition_keys} => Array&lt;Types::PartitionKey&gt;
1449
1460
  #
1450
1461
  # @example Request syntax with placeholder values
1451
1462
  #
@@ -1484,6 +1495,9 @@ module Aws::CloudTrail
1484
1495
  # resp.billing_mode #=> String, one of "EXTENDABLE_RETENTION_PRICING", "FIXED_RETENTION_PRICING"
1485
1496
  # resp.federation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
1486
1497
  # resp.federation_role_arn #=> String
1498
+ # resp.partition_keys #=> Array
1499
+ # resp.partition_keys[0].name #=> String
1500
+ # resp.partition_keys[0].type #=> String
1487
1501
  #
1488
1502
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventDataStore AWS API Documentation
1489
1503
  #
@@ -2598,10 +2612,10 @@ module Aws::CloudTrail
2598
2612
  # trail to log Insights events, be sure the event selector enables
2599
2613
  # logging of the Insights event types you want configured for your
2600
2614
  # trail. For more information about logging Insights events, see
2601
- # [Logging Insights events for trails][1] in the *CloudTrail User
2602
- # Guide*. By default, trails created without specific event selectors
2603
- # are configured to log all read and write management events, and no
2604
- # data events.
2615
+ # [Logging Insights events][1] in the *CloudTrail User Guide*. By
2616
+ # default, trails created without specific event selectors are
2617
+ # configured to log all read and write management events, and no data
2618
+ # events.
2605
2619
  #
2606
2620
  # When an event occurs in your account, CloudTrail evaluates the event
2607
2621
  # selectors or advanced event selectors in all trails. For each trail,
@@ -3105,7 +3119,8 @@ module Aws::CloudTrail
3105
3119
  # for other Amazon Web Services services. If you want to import
3106
3120
  # CloudTrail events contained in another prefix, you must include the
3107
3121
  # prefix in the `S3LocationUri`. For more considerations about importing
3108
- # trail events, see [Considerations][1].
3122
+ # trail events, see [Considerations for copying trail events][1] in the
3123
+ # *CloudTrail User Guide*.
3109
3124
  #
3110
3125
  # When you start a new import, the `Destinations` and `ImportSource`
3111
3126
  # parameters are required. Before starting a new import, disable any
@@ -3701,11 +3716,11 @@ module Aws::CloudTrail
3701
3716
  #
3702
3717
  # @option params [String] :s3_bucket_name
3703
3718
  # Specifies the name of the Amazon S3 bucket designated for publishing
3704
- # log files. See [Amazon S3 Bucket Naming Requirements][1].
3719
+ # log files. See [Amazon S3 Bucket naming rules][1].
3705
3720
  #
3706
3721
  #
3707
3722
  #
3708
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html
3723
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
3709
3724
  #
3710
3725
  # @option params [String] :s3_key_prefix
3711
3726
  # Specifies the Amazon S3 key prefix that comes after the name of the
@@ -3715,7 +3730,7 @@ module Aws::CloudTrail
3715
3730
  #
3716
3731
  #
3717
3732
  #
3718
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html
3733
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files
3719
3734
  #
3720
3735
  # @option params [String] :sns_topic_name
3721
3736
  # Specifies the name of the Amazon SNS topic defined for notification of
@@ -3876,7 +3891,7 @@ module Aws::CloudTrail
3876
3891
  params: params,
3877
3892
  config: config)
3878
3893
  context[:gem_name] = 'aws-sdk-cloudtrail'
3879
- context[:gem_version] = '1.79.0'
3894
+ context[:gem_version] = '1.85.0'
3880
3895
  Seahorse::Client::Request.new(handlers, context)
3881
3896
  end
3882
3897
 
@@ -225,6 +225,10 @@ module Aws::CloudTrail
225
225
  OrganizationNotInAllFeaturesModeException = Shapes::StructureShape.new(name: 'OrganizationNotInAllFeaturesModeException')
226
226
  OrganizationsNotInUseException = Shapes::StructureShape.new(name: 'OrganizationsNotInUseException')
227
227
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
228
+ PartitionKey = Shapes::StructureShape.new(name: 'PartitionKey')
229
+ PartitionKeyList = Shapes::ListShape.new(name: 'PartitionKeyList')
230
+ PartitionKeyName = Shapes::StringShape.new(name: 'PartitionKeyName')
231
+ PartitionKeyType = Shapes::StringShape.new(name: 'PartitionKeyType')
228
232
  PublicKey = Shapes::StructureShape.new(name: 'PublicKey')
229
233
  PublicKeyList = Shapes::ListShape.new(name: 'PublicKeyList')
230
234
  PutEventSelectorsRequest = Shapes::StructureShape.new(name: 'PutEventSelectorsRequest')
@@ -611,6 +615,7 @@ module Aws::CloudTrail
611
615
  GetEventDataStoreResponse.add_member(:billing_mode, Shapes::ShapeRef.new(shape: BillingMode, location_name: "BillingMode"))
612
616
  GetEventDataStoreResponse.add_member(:federation_status, Shapes::ShapeRef.new(shape: FederationStatus, location_name: "FederationStatus"))
613
617
  GetEventDataStoreResponse.add_member(:federation_role_arn, Shapes::ShapeRef.new(shape: FederationRoleArn, location_name: "FederationRoleArn"))
618
+ GetEventDataStoreResponse.add_member(:partition_keys, Shapes::ShapeRef.new(shape: PartitionKeyList, location_name: "PartitionKeys"))
614
619
  GetEventDataStoreResponse.struct_class = Types::GetEventDataStoreResponse
615
620
 
616
621
  GetEventSelectorsRequest.add_member(:trail_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TrailName"))
@@ -939,6 +944,12 @@ module Aws::CloudTrail
939
944
 
940
945
  OrganizationsNotInUseException.struct_class = Types::OrganizationsNotInUseException
941
946
 
947
+ PartitionKey.add_member(:name, Shapes::ShapeRef.new(shape: PartitionKeyName, required: true, location_name: "Name"))
948
+ PartitionKey.add_member(:type, Shapes::ShapeRef.new(shape: PartitionKeyType, required: true, location_name: "Type"))
949
+ PartitionKey.struct_class = Types::PartitionKey
950
+
951
+ PartitionKeyList.member = Shapes::ShapeRef.new(shape: PartitionKey)
952
+
942
953
  PublicKey.add_member(:value, Shapes::ShapeRef.new(shape: ByteBuffer, location_name: "Value"))
943
954
  PublicKey.add_member(:validity_start_time, Shapes::ShapeRef.new(shape: Date, location_name: "ValidityStartTime"))
944
955
  PublicKey.add_member(:validity_end_time, Shapes::ShapeRef.new(shape: Date, location_name: "ValidityEndTime"))
@@ -1253,9 +1264,11 @@ module Aws::CloudTrail
1253
1264
 
1254
1265
  api.metadata = {
1255
1266
  "apiVersion" => "2013-11-01",
1267
+ "auth" => ["aws.auth#sigv4"],
1256
1268
  "endpointPrefix" => "cloudtrail",
1257
1269
  "jsonVersion" => "1.1",
1258
1270
  "protocol" => "json",
1271
+ "protocols" => ["json"],
1259
1272
  "serviceAbbreviation" => "CloudTrail",
1260
1273
  "serviceFullName" => "AWS CloudTrail",
1261
1274
  "serviceId" => "CloudTrail",
@@ -265,6 +265,8 @@ module Aws::CloudTrail
265
265
  #
266
266
  # * `AWS::PCAConnectorAD::Connector`
267
267
  #
268
+ # * `AWS::QApps:QApp`
269
+ #
268
270
  # * `AWS::QBusiness::Application`
269
271
  #
270
272
  # * `AWS::QBusiness::DataSource`
@@ -297,12 +299,14 @@ module Aws::CloudTrail
297
299
  #
298
300
  # * `AWS::SNS::Topic`
299
301
  #
300
- # * `AWS::SWF::Domain`
301
- #
302
302
  # * `AWS::SQS::Queue`
303
303
  #
304
+ # * `AWS::SSM::ManagedNode`
305
+ #
304
306
  # * `AWS::SSMMessages::ControlChannel`
305
307
  #
308
+ # * `AWS::SWF::Domain`
309
+ #
306
310
  # * `AWS::ThinClient::Device`
307
311
  #
308
312
  # * `AWS::ThinClient::Environment`
@@ -313,6 +317,8 @@ module Aws::CloudTrail
313
317
  #
314
318
  # * `AWS::VerifiedPermissions::PolicyStore`
315
319
  #
320
+ # * `AWS::XRay::Trace`
321
+ #
316
322
  # You can have only one `resources.type` field per selector. To log
317
323
  # data events on more than one resource type, add another selector.
318
324
  #
@@ -320,10 +326,18 @@ module Aws::CloudTrail
320
326
  # with `resources.ARN`, but if you use `Equals` or `NotEquals`, the
321
327
  # value must exactly match the ARN of a valid resource of the type
322
328
  # you've specified in the template as the value of resources.type.
323
- # For example, if resources.type equals `AWS::S3::Object`, the ARN
324
- # must be in one of the following formats. To log all data events
325
- # for all objects in a specific S3 bucket, use the `StartsWith`
326
- # operator, and include only the bucket ARN as the matching value.
329
+ #
330
+ # <note markdown="1"> You can't use the `resources.ARN` field to filter resource types
331
+ # that do not have ARNs.
332
+ #
333
+ # </note>
334
+ #
335
+ # The `resources.ARN` field can be set one of the following.
336
+ #
337
+ # If resources.type equals `AWS::S3::Object`, the ARN must be in one
338
+ # of the following formats. To log all data events for all objects
339
+ # in a specific S3 bucket, use the `StartsWith` operator, and
340
+ # include only the bucket ARN as the matching value.
327
341
  #
328
342
  # The trailing slash is intentional; do not exclude it. Replace the
329
343
  # text between less than and greater than symbols (&lt;&gt;) with
@@ -597,6 +611,14 @@ module Aws::CloudTrail
597
611
  #
598
612
  # ^
599
613
  #
614
+ # When `resources.type` equals `AWS::QApps:QApp`, and the operator
615
+ # is set to `Equals` or `NotEquals`, the ARN must be in the
616
+ # following format:
617
+ #
618
+ # * `arn:<partition>:qapps:<region>:<account_ID>:application/<application_UUID>/qapp/<qapp_UUID>`
619
+ #
620
+ # ^
621
+ #
600
622
  # When `resources.type` equals `AWS::QBusiness::Application`, and
601
623
  # the operator is set to `Equals` or `NotEquals`, the ARN must be in
602
624
  # the following format:
@@ -729,21 +751,21 @@ module Aws::CloudTrail
729
751
  #
730
752
  # ^
731
753
  #
732
- # When `resources.type` equals `AWS::SWF::Domain`, and the operator
754
+ # When `resources.type` equals `AWS::SQS::Queue`, and the operator
733
755
  # is set to `Equals` or `NotEquals`, the ARN must be in the
734
756
  # following format:
735
757
  #
736
- # * `arn:<partition>:swf:<region>:<account_ID>:domain/<domain_name>`
758
+ # * `arn:<partition>:sqs:<region>:<account_ID>:<queue_name>`
737
759
  #
738
760
  # ^
739
761
  #
740
- # When `resources.type` equals `AWS::SQS::Queue`, and the operator
741
- # is set to `Equals` or `NotEquals`, the ARN must be in the
742
- # following format:
762
+ # When `resources.type` equals `AWS::SSM::ManagedNode`, and the
763
+ # operator is set to `Equals` or `NotEquals`, the ARN must be in one
764
+ # of the following formats:
743
765
  #
744
- # * `arn:<partition>:sqs:<region>:<account_ID>:<queue_name>`
766
+ # * `arn:<partition>:ssm:<region>:<account_ID>:managed-instance/<instance_ID>`
745
767
  #
746
- # ^
768
+ # * `arn:<partition>:ec2:<region>:<account_ID>:instance/<instance_ID>`
747
769
  #
748
770
  # When `resources.type` equals `AWS::SSMMessages::ControlChannel`,
749
771
  # and the operator is set to `Equals` or `NotEquals`, the ARN must
@@ -753,6 +775,14 @@ module Aws::CloudTrail
753
775
  #
754
776
  # ^
755
777
  #
778
+ # When `resources.type` equals `AWS::SWF::Domain`, and the operator
779
+ # is set to `Equals` or `NotEquals`, the ARN must be in the
780
+ # following format:
781
+ #
782
+ # * `arn:<partition>:swf:<region>:<account_ID>:domain/<domain_name>`
783
+ #
784
+ # ^
785
+ #
756
786
  # When `resources.type` equals `AWS::ThinClient::Device`, and the
757
787
  # operator is set to `Equals` or `NotEquals`, the ARN must be in the
758
788
  # following format:
@@ -959,13 +989,14 @@ module Aws::CloudTrail
959
989
  class CloudTrailARNInvalidException < Aws::EmptyStructure; end
960
990
 
961
991
  # This exception is thrown when trusted access has not been enabled
962
- # between CloudTrail and Organizations. For more information, see
963
- # [Enabling Trusted Access with Other Amazon Web Services Services][1]
964
- # and [Prepare For Creating a Trail For Your Organization][2].
992
+ # between CloudTrail and Organizations. For more information, see [How
993
+ # to enable or disable trusted access][1] in the *Organizations User
994
+ # Guide* and [Prepare For Creating a Trail For Your Organization][2] in
995
+ # the *CloudTrail User Guide*.
965
996
  #
966
997
  #
967
998
  #
968
- # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html
999
+ # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_how-to-enable-disable-trusted-access
969
1000
  # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html
970
1001
  #
971
1002
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CloudTrailAccessNotEnabledException AWS API Documentation
@@ -1097,15 +1128,15 @@ module Aws::CloudTrail
1097
1128
  # the CloudTrail User Guide.
1098
1129
  #
1099
1130
  # For more information about how to use advanced event selectors to
1100
- # include non-Amazon Web Services events in your event data store, see
1101
- # [Create an integration to log events from outside Amazon Web
1102
- # Services][3] in the CloudTrail User Guide.
1131
+ # include events outside of Amazon Web Services events in your event
1132
+ # data store, see [Create an integration to log events from outside
1133
+ # Amazon Web Services][3] in the CloudTrail User Guide.
1103
1134
  #
1104
1135
  #
1105
1136
  #
1106
1137
  # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced
1107
- # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-eds-config
1108
- # [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-integration
1138
+ # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-eds-cli.html#lake-cli-create-eds-config
1139
+ # [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-integrations-cli.html#lake-cli-create-integration
1109
1140
  # @return [Array<Types::AdvancedEventSelector>]
1110
1141
  #
1111
1142
  # @!attribute [rw] multi_region_enabled
@@ -1339,11 +1370,12 @@ module Aws::CloudTrail
1339
1370
  #
1340
1371
  # @!attribute [rw] s3_bucket_name
1341
1372
  # Specifies the name of the Amazon S3 bucket designated for publishing
1342
- # log files. See [Amazon S3 Bucket Naming Requirements][1].
1373
+ # log files. For information about bucket naming rules, see [Bucket
1374
+ # naming rules][1] in the *Amazon Simple Storage Service User Guide*.
1343
1375
  #
1344
1376
  #
1345
1377
  #
1346
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html
1378
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
1347
1379
  # @return [String]
1348
1380
  #
1349
1381
  # @!attribute [rw] s3_key_prefix
@@ -1354,7 +1386,7 @@ module Aws::CloudTrail
1354
1386
  #
1355
1387
  #
1356
1388
  #
1357
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html
1389
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files
1358
1390
  # @return [String]
1359
1391
  #
1360
1392
  # @!attribute [rw] sns_topic_name
@@ -1482,7 +1514,7 @@ module Aws::CloudTrail
1482
1514
  #
1483
1515
  #
1484
1516
  #
1485
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html
1517
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files
1486
1518
  # @return [String]
1487
1519
  #
1488
1520
  # @!attribute [rw] sns_topic_name
@@ -1559,13 +1591,23 @@ module Aws::CloudTrail
1559
1591
  include Aws::Structure
1560
1592
  end
1561
1593
 
1562
- # The Amazon S3 buckets, Lambda functions, or Amazon DynamoDB tables
1563
- # that you specify in your event selectors for your trail to log data
1564
- # events. Data events provide information about the resource operations
1594
+ # Data events provide information about the resource operations
1565
1595
  # performed on or within a resource itself. These are also known as data
1566
1596
  # plane operations. You can specify up to 250 data resources for a
1567
1597
  # trail.
1568
1598
  #
1599
+ # Configure the `DataResource` to specify the resource type and resource
1600
+ # ARNs for which you want to log data events.
1601
+ #
1602
+ # You can specify the following resource types in your event selectors
1603
+ # for your trail:
1604
+ #
1605
+ # * `AWS::DynamoDB::Table`
1606
+ #
1607
+ # * `AWS::Lambda::Function`
1608
+ #
1609
+ # * `AWS::S3::Object`
1610
+ #
1569
1611
  # <note markdown="1"> The total number of allowed data resources is 250. This number can be
1570
1612
  # distributed between 1 and 5 event selectors, but the total cannot
1571
1613
  # exceed 250 across all selectors for the trail.
@@ -1637,7 +1679,7 @@ module Aws::CloudTrail
1637
1679
  #
1638
1680
  # @!attribute [rw] values
1639
1681
  # An array of Amazon Resource Name (ARN) strings or partial ARN
1640
- # strings for the specified objects.
1682
+ # strings for the specified resource type.
1641
1683
  #
1642
1684
  # * To log data events for all objects in all S3 buckets in your
1643
1685
  # Amazon Web Services account, specify the prefix as `arn:aws:s3`.
@@ -2107,7 +2149,7 @@ module Aws::CloudTrail
2107
2149
  #
2108
2150
  #
2109
2151
  #
2110
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced
2152
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-concepts.html#adv-event-selectors
2111
2153
  #
2112
2154
  # @!attribute [rw] event_data_store_arn
2113
2155
  # The ARN of the event data store.
@@ -2449,6 +2491,12 @@ module Aws::CloudTrail
2449
2491
  # data store.
2450
2492
  # @return [String]
2451
2493
  #
2494
+ # @!attribute [rw] partition_keys
2495
+ # The partition keys for the event data store. To improve query
2496
+ # performance and efficiency, CloudTrail Lake organizes event data
2497
+ # into partitions based on values derived from partition keys.
2498
+ # @return [Array<Types::PartitionKey>]
2499
+ #
2452
2500
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventDataStoreResponse AWS API Documentation
2453
2501
  #
2454
2502
  class GetEventDataStoreResponse < Struct.new(
@@ -2465,7 +2513,8 @@ module Aws::CloudTrail
2465
2513
  :kms_key_id,
2466
2514
  :billing_mode,
2467
2515
  :federation_status,
2468
- :federation_role_arn)
2516
+ :federation_role_arn,
2517
+ :partition_keys)
2469
2518
  SENSITIVE = []
2470
2519
  include Aws::Structure
2471
2520
  end
@@ -2817,15 +2866,16 @@ module Aws::CloudTrail
2817
2866
  #
2818
2867
  # <note markdown="1"> This error occurs only when there is a problem with the destination
2819
2868
  # S3 bucket, and does not occur for requests that time out. To resolve
2820
- # the issue, create a new bucket, and then call `UpdateTrail` to
2821
- # specify the new bucket; or fix the existing objects so that
2822
- # CloudTrail can again write to the bucket.
2869
+ # the issue, fix the [bucket policy][2] so that CloudTrail can write
2870
+ # to the bucket; or create a new bucket and call `UpdateTrail` to
2871
+ # specify the new bucket.
2823
2872
  #
2824
2873
  # </note>
2825
2874
  #
2826
2875
  #
2827
2876
  #
2828
2877
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
2878
+ # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create-s3-bucket-policy-for-cloudtrail.html
2829
2879
  # @return [String]
2830
2880
  #
2831
2881
  # @!attribute [rw] latest_notification_error
@@ -2882,15 +2932,16 @@ module Aws::CloudTrail
2882
2932
  #
2883
2933
  # <note markdown="1"> This error occurs only when there is a problem with the destination
2884
2934
  # S3 bucket, and does not occur for requests that time out. To resolve
2885
- # the issue, create a new bucket, and then call `UpdateTrail` to
2886
- # specify the new bucket; or fix the existing objects so that
2887
- # CloudTrail can again write to the bucket.
2935
+ # the issue, fix the [bucket policy][2] so that CloudTrail can write
2936
+ # to the bucket; or create a new bucket and call `UpdateTrail` to
2937
+ # specify the new bucket.
2888
2938
  #
2889
2939
  # </note>
2890
2940
  #
2891
2941
  #
2892
2942
  #
2893
2943
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
2944
+ # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create-s3-bucket-policy-for-cloudtrail.html
2894
2945
  # @return [String]
2895
2946
  #
2896
2947
  # @!attribute [rw] latest_delivery_attempt_time
@@ -4077,12 +4128,12 @@ module Aws::CloudTrail
4077
4128
  # the request to create or update an organization trail or event data
4078
4129
  # store is not the management account for an organization in
4079
4130
  # Organizations. For more information, see [Prepare For Creating a Trail
4080
- # For Your Organization][1] or [Create an event data store][2].
4131
+ # For Your Organization][1] or [Organization event data stores][2].
4081
4132
  #
4082
4133
  #
4083
4134
  #
4084
4135
  # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html
4085
- # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html
4136
+ # [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html
4086
4137
  #
4087
4138
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/NotOrganizationMasterAccountException AWS API Documentation
4088
4139
  #
@@ -4112,6 +4163,26 @@ module Aws::CloudTrail
4112
4163
  #
4113
4164
  class OrganizationsNotInUseException < Aws::EmptyStructure; end
4114
4165
 
4166
+ # Contains information about a partition key for an event data store.
4167
+ #
4168
+ # @!attribute [rw] name
4169
+ # The name of the partition key.
4170
+ # @return [String]
4171
+ #
4172
+ # @!attribute [rw] type
4173
+ # The data type of the partition key. For example, `bigint` or
4174
+ # `string`.
4175
+ # @return [String]
4176
+ #
4177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PartitionKey AWS API Documentation
4178
+ #
4179
+ class PartitionKey < Struct.new(
4180
+ :name,
4181
+ :type)
4182
+ SENSITIVE = []
4183
+ include Aws::Structure
4184
+ end
4185
+
4115
4186
  # Contains information about a returned public key.
4116
4187
  #
4117
4188
  # @!attribute [rw] value
@@ -5084,11 +5155,11 @@ module Aws::CloudTrail
5084
5155
  #
5085
5156
  # @!attribute [rw] s3_bucket_name
5086
5157
  # Name of the Amazon S3 bucket into which CloudTrail delivers your
5087
- # trail files. See [Amazon S3 Bucket Naming Requirements][1].
5158
+ # trail files. See [Amazon S3 Bucket naming rules][1].
5088
5159
  #
5089
5160
  #
5090
5161
  #
5091
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html
5162
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
5092
5163
  # @return [String]
5093
5164
  #
5094
5165
  # @!attribute [rw] s3_key_prefix
@@ -5099,7 +5170,7 @@ module Aws::CloudTrail
5099
5170
  #
5100
5171
  #
5101
5172
  #
5102
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html
5173
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files
5103
5174
  # @return [String]
5104
5175
  #
5105
5176
  # @!attribute [rw] sns_topic_name
@@ -5560,11 +5631,11 @@ module Aws::CloudTrail
5560
5631
  #
5561
5632
  # @!attribute [rw] s3_bucket_name
5562
5633
  # Specifies the name of the Amazon S3 bucket designated for publishing
5563
- # log files. See [Amazon S3 Bucket Naming Requirements][1].
5634
+ # log files. See [Amazon S3 Bucket naming rules][1].
5564
5635
  #
5565
5636
  #
5566
5637
  #
5567
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html
5638
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
5568
5639
  # @return [String]
5569
5640
  #
5570
5641
  # @!attribute [rw] s3_key_prefix
@@ -5575,7 +5646,7 @@ module Aws::CloudTrail
5575
5646
  #
5576
5647
  #
5577
5648
  #
5578
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html
5649
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files
5579
5650
  # @return [String]
5580
5651
  #
5581
5652
  # @!attribute [rw] sns_topic_name
@@ -5713,7 +5784,7 @@ module Aws::CloudTrail
5713
5784
  #
5714
5785
  #
5715
5786
  #
5716
- # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html
5787
+ # [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files
5717
5788
  # @return [String]
5718
5789
  #
5719
5790
  # @!attribute [rw] sns_topic_name
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudtrail/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudTrail
54
54
 
55
- GEM_VERSION = '1.79.0'
55
+ GEM_VERSION = '1.85.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -48,6 +48,7 @@ module Aws
48
48
  ?sdk_ua_app_id: String,
49
49
  ?secret_access_key: String,
50
50
  ?session_token: String,
51
+ ?sigv4a_signing_region_set: Array[String],
51
52
  ?simple_json: bool,
52
53
  ?stub_responses: untyped,
53
54
  ?token_provider: untyped,
@@ -345,6 +346,7 @@ module Aws
345
346
  def billing_mode: () -> ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
346
347
  def federation_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
347
348
  def federation_role_arn: () -> ::String
349
+ def partition_keys: () -> ::Array[Types::PartitionKey]
348
350
  end
349
351
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_event_data_store-instance_method
350
352
  def get_event_data_store: (
data/sig/resource.rbs CHANGED
@@ -48,6 +48,7 @@ module Aws
48
48
  ?sdk_ua_app_id: String,
49
49
  ?secret_access_key: String,
50
50
  ?session_token: String,
51
+ ?sigv4a_signing_region_set: Array[String],
51
52
  ?simple_json: bool,
52
53
  ?stub_responses: untyped,
53
54
  ?token_provider: untyped,
data/sig/types.rbs CHANGED
@@ -383,6 +383,7 @@ module Aws::CloudTrail
383
383
  attr_accessor billing_mode: ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
384
384
  attr_accessor federation_status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
385
385
  attr_accessor federation_role_arn: ::String
386
+ attr_accessor partition_keys: ::Array[Types::PartitionKey]
386
387
  SENSITIVE: []
387
388
  end
388
389
 
@@ -825,6 +826,12 @@ module Aws::CloudTrail
825
826
  class OrganizationsNotInUseException < Aws::EmptyStructure
826
827
  end
827
828
 
829
+ class PartitionKey
830
+ attr_accessor name: ::String
831
+ attr_accessor type: ::String
832
+ SENSITIVE: []
833
+ end
834
+
828
835
  class PublicKey
829
836
  attr_accessor value: ::String
830
837
  attr_accessor validity_start_time: ::Time
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudtrail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.79.0
4
+ version: 1.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-13 00:00:00.000000000 Z
11
+ date: 2024-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.193.0
22
+ version: 3.201.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.193.0
32
+ version: 3.201.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for AWS CloudTrail (CloudTrail). This gem is part
48
48
  of the AWS SDK for Ruby.
49
49
  email: