aws-sdk-cloudtrail 1.79.0 → 1.80.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudtrail/client.rb +23 -17
- data/lib/aws-sdk-cloudtrail/client_api.rb +12 -0
- data/lib/aws-sdk-cloudtrail/types.rb +118 -47
- data/lib/aws-sdk-cloudtrail.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/types.rbs +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d996afc443b1bf7134edc00b6f4c3f124bb646e12698db89601b51694a5504d
|
4
|
+
data.tar.gz: 818283ca8d8d5cc58cae9e3c5361f27e0fff50e64c162a84cc3e27a9882ab017
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d229da0cdaf38f7692b40b5e05ec843e120aec3885919be4335d39fcf738acc2201b661db1f7135a6053d286133d9adb2bec61ea33583cbde293998083f9ffcd
|
7
|
+
data.tar.gz: 0c0a783fbf43e58518479bff63d669560f7e51501da993c87d58be7c4e5394f26e21b820af60e387c288af331283569dfb34b537f22f0c1001fe8d9061908618
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2024-05-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.79.0 (2024-05-13)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -608,15 +608,15 @@ module Aws::CloudTrail
|
|
608
608
|
# CloudTrail User Guide.
|
609
609
|
#
|
610
610
|
# For more information about how to use advanced event selectors to
|
611
|
-
# include
|
612
|
-
# [Create an integration to log events from outside
|
613
|
-
# Services][3] in the CloudTrail User Guide.
|
611
|
+
# include events outside of Amazon Web Services events in your event
|
612
|
+
# data store, see [Create an integration to log events from outside
|
613
|
+
# Amazon Web Services][3] in the CloudTrail User Guide.
|
614
614
|
#
|
615
615
|
#
|
616
616
|
#
|
617
617
|
# [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/
|
619
|
-
# [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/
|
618
|
+
# [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-eds-cli.html#lake-cli-create-eds-config
|
619
|
+
# [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-integrations-cli.html#lake-cli-create-integration
|
620
620
|
#
|
621
621
|
# @option params [Boolean] :multi_region_enabled
|
622
622
|
# Specifies whether the event data store includes events from all
|
@@ -833,11 +833,12 @@ module Aws::CloudTrail
|
|
833
833
|
#
|
834
834
|
# @option params [required, String] :s3_bucket_name
|
835
835
|
# Specifies the name of the Amazon S3 bucket designated for publishing
|
836
|
-
# log files.
|
836
|
+
# log files. For information about bucket naming rules, see [Bucket
|
837
|
+
# naming rules][1] in the *Amazon Simple Storage Service User Guide*.
|
837
838
|
#
|
838
839
|
#
|
839
840
|
#
|
840
|
-
# [1]: https://docs.aws.amazon.com/
|
841
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
|
841
842
|
#
|
842
843
|
# @option params [String] :s3_key_prefix
|
843
844
|
# Specifies the Amazon S3 key prefix that comes after the name of the
|
@@ -847,7 +848,7 @@ module Aws::CloudTrail
|
|
847
848
|
#
|
848
849
|
#
|
849
850
|
#
|
850
|
-
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files
|
851
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files
|
851
852
|
#
|
852
853
|
# @option params [String] :sns_topic_name
|
853
854
|
# Specifies the name of the Amazon SNS topic defined for notification of
|
@@ -1446,6 +1447,7 @@ module Aws::CloudTrail
|
|
1446
1447
|
# * {Types::GetEventDataStoreResponse#billing_mode #billing_mode} => String
|
1447
1448
|
# * {Types::GetEventDataStoreResponse#federation_status #federation_status} => String
|
1448
1449
|
# * {Types::GetEventDataStoreResponse#federation_role_arn #federation_role_arn} => String
|
1450
|
+
# * {Types::GetEventDataStoreResponse#partition_keys #partition_keys} => Array<Types::PartitionKey>
|
1449
1451
|
#
|
1450
1452
|
# @example Request syntax with placeholder values
|
1451
1453
|
#
|
@@ -1484,6 +1486,9 @@ module Aws::CloudTrail
|
|
1484
1486
|
# resp.billing_mode #=> String, one of "EXTENDABLE_RETENTION_PRICING", "FIXED_RETENTION_PRICING"
|
1485
1487
|
# resp.federation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1486
1488
|
# resp.federation_role_arn #=> String
|
1489
|
+
# resp.partition_keys #=> Array
|
1490
|
+
# resp.partition_keys[0].name #=> String
|
1491
|
+
# resp.partition_keys[0].type #=> String
|
1487
1492
|
#
|
1488
1493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventDataStore AWS API Documentation
|
1489
1494
|
#
|
@@ -2598,10 +2603,10 @@ module Aws::CloudTrail
|
|
2598
2603
|
# trail to log Insights events, be sure the event selector enables
|
2599
2604
|
# logging of the Insights event types you want configured for your
|
2600
2605
|
# trail. For more information about logging Insights events, see
|
2601
|
-
# [Logging Insights events
|
2602
|
-
#
|
2603
|
-
#
|
2604
|
-
#
|
2606
|
+
# [Logging Insights events][1] in the *CloudTrail User Guide*. By
|
2607
|
+
# default, trails created without specific event selectors are
|
2608
|
+
# configured to log all read and write management events, and no data
|
2609
|
+
# events.
|
2605
2610
|
#
|
2606
2611
|
# When an event occurs in your account, CloudTrail evaluates the event
|
2607
2612
|
# selectors or advanced event selectors in all trails. For each trail,
|
@@ -3105,7 +3110,8 @@ module Aws::CloudTrail
|
|
3105
3110
|
# for other Amazon Web Services services. If you want to import
|
3106
3111
|
# CloudTrail events contained in another prefix, you must include the
|
3107
3112
|
# prefix in the `S3LocationUri`. For more considerations about importing
|
3108
|
-
# trail events, see [Considerations][1]
|
3113
|
+
# trail events, see [Considerations for copying trail events][1] in the
|
3114
|
+
# *CloudTrail User Guide*.
|
3109
3115
|
#
|
3110
3116
|
# When you start a new import, the `Destinations` and `ImportSource`
|
3111
3117
|
# parameters are required. Before starting a new import, disable any
|
@@ -3701,11 +3707,11 @@ module Aws::CloudTrail
|
|
3701
3707
|
#
|
3702
3708
|
# @option params [String] :s3_bucket_name
|
3703
3709
|
# Specifies the name of the Amazon S3 bucket designated for publishing
|
3704
|
-
# log files. See [Amazon S3 Bucket
|
3710
|
+
# log files. See [Amazon S3 Bucket naming rules][1].
|
3705
3711
|
#
|
3706
3712
|
#
|
3707
3713
|
#
|
3708
|
-
# [1]: https://docs.aws.amazon.com/
|
3714
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
|
3709
3715
|
#
|
3710
3716
|
# @option params [String] :s3_key_prefix
|
3711
3717
|
# Specifies the Amazon S3 key prefix that comes after the name of the
|
@@ -3715,7 +3721,7 @@ module Aws::CloudTrail
|
|
3715
3721
|
#
|
3716
3722
|
#
|
3717
3723
|
#
|
3718
|
-
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files
|
3724
|
+
# [1]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files
|
3719
3725
|
#
|
3720
3726
|
# @option params [String] :sns_topic_name
|
3721
3727
|
# Specifies the name of the Amazon SNS topic defined for notification of
|
@@ -3876,7 +3882,7 @@ module Aws::CloudTrail
|
|
3876
3882
|
params: params,
|
3877
3883
|
config: config)
|
3878
3884
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
3879
|
-
context[:gem_version] = '1.
|
3885
|
+
context[:gem_version] = '1.80.0'
|
3880
3886
|
Seahorse::Client::Request.new(handlers, context)
|
3881
3887
|
end
|
3882
3888
|
|
@@ -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"))
|
@@ -1256,6 +1267,7 @@ module Aws::CloudTrail
|
|
1256
1267
|
"endpointPrefix" => "cloudtrail",
|
1257
1268
|
"jsonVersion" => "1.1",
|
1258
1269
|
"protocol" => "json",
|
1270
|
+
"protocols" => ["json"],
|
1259
1271
|
"serviceAbbreviation" => "CloudTrail",
|
1260
1272
|
"serviceFullName" => "AWS CloudTrail",
|
1261
1273
|
"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
|
-
#
|
324
|
-
#
|
325
|
-
#
|
326
|
-
#
|
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 (<>) 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::
|
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>:
|
758
|
+
# * `arn:<partition>:sqs:<region>:<account_ID>:<queue_name>`
|
737
759
|
#
|
738
760
|
# ^
|
739
761
|
#
|
740
|
-
# When `resources.type` equals `AWS::
|
741
|
-
# is set to `Equals` or `NotEquals`, the ARN must be in
|
742
|
-
# following
|
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>:
|
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
|
-
#
|
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
|
1101
|
-
# [Create an integration to log events from outside
|
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/
|
1108
|
-
# [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/
|
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.
|
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/
|
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
|
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
|
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
|
-
#
|
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
|
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/
|
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,
|
2821
|
-
#
|
2822
|
-
#
|
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,
|
2886
|
-
#
|
2887
|
-
#
|
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 [
|
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/
|
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
|
5158
|
+
# trail files. See [Amazon S3 Bucket naming rules][1].
|
5088
5159
|
#
|
5089
5160
|
#
|
5090
5161
|
#
|
5091
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
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
|
5634
|
+
# log files. See [Amazon S3 Bucket naming rules][1].
|
5564
5635
|
#
|
5565
5636
|
#
|
5566
5637
|
#
|
5567
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
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
|
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
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -345,6 +345,7 @@ module Aws
|
|
345
345
|
def billing_mode: () -> ("EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING")
|
346
346
|
def federation_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED")
|
347
347
|
def federation_role_arn: () -> ::String
|
348
|
+
def partition_keys: () -> ::Array[Types::PartitionKey]
|
348
349
|
end
|
349
350
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudTrail/Client.html#get_event_data_store-instance_method
|
350
351
|
def get_event_data_store: (
|
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.
|
4
|
+
version: 1.80.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-
|
11
|
+
date: 2024-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|