aws-sdk-s3tables 1.42.0 → 1.44.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: 0ea2ec4216b5785ab4fa50a27fcb178b97d3dc3ba35d102021ee6fcffab267fc
4
- data.tar.gz: 852a0d34a654ddb689262aedb326232b412dbd455c659980b07d097688b42141
3
+ metadata.gz: d500366f706f57db84164f1fe8ebb42c2f2a71c2b3a9c78e0e2fb2a4ba7ce815
4
+ data.tar.gz: ebd7c5bae923f1d3a00318720a60230039c205a5769f2a40452afda9f62bac03
5
5
  SHA512:
6
- metadata.gz: 2af75e6fbdcb8f5a00ac2e9ce08156ec1357cf56a1c433ba3f6e4a44425e579410e4bd065d3b4e6d81c314e2e7922988c56ffa8d965a38e367c2695006aa1875
7
- data.tar.gz: 2a35aae824eb982520c7063a462397156563847d254e31be82c31c51d7602845ad884b6d138597d445a7e7db0d34e3a7d331da9292cef74845c03e61554e05ca
6
+ metadata.gz: 20c034763a27bfe1b670766e30b0e8cbe4804a8fdc1d7f53a8315e495c8a51e1ff923fdb6228dcdccea489e833d558acea28c93351383342204d2e6ebe561b51
7
+ data.tar.gz: 19567d32a46369cb7c3c6e447aaa34c6cbb916072e1b092bd5b2e62191d397bfe1f57aee94b5b29fc5082439bf18e2f96d71721865dcb2628c16c91785745636
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2026-11-10)
5
+ ------------------
6
+
7
+ * Feature - Adds support for server access logging for Amazon S3 table buckets with the new PutTableBucketLogging and GetTableBucketLogging APIs.
8
+
9
+ 1.43.0 (2026-11-09)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.42.0 (2026-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.44.0
@@ -264,7 +264,8 @@ module Aws::S3Tables
264
264
  # An integer representing the maximum number attempts that will be made for
265
265
  # a single request, including the initial attempt. For example,
266
266
  # setting this value to 5 will result in a request being retried up to
267
- # 4 times. Used in `standard` and `adaptive` retry modes.
267
+ # 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
268
+ # except for DynamoDB and DynamoDB Streams, which default to 4.
268
269
  #
269
270
  # @option options [String] :profile ("default")
270
271
  # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
@@ -327,15 +328,15 @@ module Aws::S3Tables
327
328
  # used by the default backoff function. This option is only used in the
328
329
  # `legacy` retry mode.
329
330
  #
330
- # @option options [String] :retry_mode ("legacy")
331
+ # @option options [String] :retry_mode ("standard")
331
332
  # Specifies which retry algorithm to use. Values are:
332
333
  #
333
- # * `legacy` - The pre-existing retry behavior. This is the default
334
- # value if no retry mode is provided.
334
+ # * `legacy` - The pre-existing retry behavior.
335
335
  #
336
336
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
337
337
  # This includes support for retry quotas, which limit the number of
338
- # unsuccessful retries a client can make.
338
+ # unsuccessful retries a client can make. This is the default value
339
+ # if no retry mode is provided.
339
340
  #
340
341
  # * `adaptive` - A retry mode that includes all the functionality of
341
342
  # `standard` mode along with automatic client side throttling.
@@ -1367,6 +1368,86 @@ module Aws::S3Tables
1367
1368
  req.send_request(options)
1368
1369
  end
1369
1370
 
1371
+ # Gets the server access logging configuration for a table bucket. For
1372
+ # more information, see [Server access logging for table buckets][1] in
1373
+ # the *Amazon Simple Storage Service User Guide*.
1374
+ #
1375
+ # Permissions
1376
+ #
1377
+ # : You must have the `s3tables:GetTableBucketLogging` permission to use
1378
+ # this operation.
1379
+ #
1380
+ #
1381
+ #
1382
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-server-logs.html
1383
+ #
1384
+ # @option params [required, String] :table_bucket_arn
1385
+ # The Amazon Resource Name (ARN) of the table bucket.
1386
+ #
1387
+ # @return [Types::GetTableBucketLoggingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1388
+ #
1389
+ # * {Types::GetTableBucketLoggingResponse#table_bucket_logging_status #table_bucket_logging_status} => Types::TableBucketLoggingStatus
1390
+ #
1391
+ #
1392
+ # @example Example: To get the server access logging configuration of a table bucket
1393
+ #
1394
+ # # The following example gets the server access logging configuration of a table bucket that has logging enabled.
1395
+ #
1396
+ # resp = client.get_table_bucket_logging({
1397
+ # table_bucket_arn: "arn:aws:s3tables:us-east-1:111122223333:bucket/amzn-s3-demo-table-bucket",
1398
+ # })
1399
+ #
1400
+ # resp.to_h outputs the following:
1401
+ # {
1402
+ # table_bucket_logging_status: {
1403
+ # logging_enabled: {
1404
+ # target_bucket: "amzn-s3-demo-destination-bucket",
1405
+ # target_object_key_format: {
1406
+ # partitioned_prefix: {
1407
+ # partition_date_source: "EventTime",
1408
+ # },
1409
+ # },
1410
+ # target_prefix: "logs/",
1411
+ # },
1412
+ # },
1413
+ # }
1414
+ #
1415
+ # @example Example: To get the server access logging configuration of a table bucket that has logging disabled
1416
+ #
1417
+ # # The following example gets the server access logging configuration of a table bucket that has logging disabled. The
1418
+ # # response has an empty logging status.
1419
+ #
1420
+ # resp = client.get_table_bucket_logging({
1421
+ # table_bucket_arn: "arn:aws:s3tables:us-east-1:111122223333:bucket/amzn-s3-demo-table-bucket",
1422
+ # })
1423
+ #
1424
+ # resp.to_h outputs the following:
1425
+ # {
1426
+ # table_bucket_logging_status: {
1427
+ # },
1428
+ # }
1429
+ #
1430
+ # @example Request syntax with placeholder values
1431
+ #
1432
+ # resp = client.get_table_bucket_logging({
1433
+ # table_bucket_arn: "TableBucketARN", # required
1434
+ # })
1435
+ #
1436
+ # @example Response structure
1437
+ #
1438
+ # resp.table_bucket_logging_status.logging_enabled.target_bucket #=> String
1439
+ # resp.table_bucket_logging_status.logging_enabled.target_prefix #=> String
1440
+ # resp.table_bucket_logging_status.logging_enabled.target_object_key_format.partitioned_prefix.partition_date_source #=> String, one of "EventTime", "DeliveryTime"
1441
+ #
1442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketLogging AWS API Documentation
1443
+ #
1444
+ # @overload get_table_bucket_logging(params = {})
1445
+ # @param [Hash] params ({})
1446
+ def get_table_bucket_logging(params = {}, options = {})
1447
+ req = build_request(:get_table_bucket_logging, params)
1448
+ req.send_request(options)
1449
+ end
1450
+
1370
1451
  # Gets details about a maintenance configuration for a given table
1371
1452
  # bucket. For more information, see [Amazon S3 table bucket
1372
1453
  # maintenance][1] in the *Amazon Simple Storage Service User Guide*.
@@ -2513,6 +2594,89 @@ module Aws::S3Tables
2513
2594
  req.send_request(options)
2514
2595
  end
2515
2596
 
2597
+ # Sets, updates, or removes the server access logging configuration for
2598
+ # a table bucket. When logging is enabled, Amazon S3 delivers a record
2599
+ # of the requests made to the table bucket and its tables to the target
2600
+ # general purpose bucket that you specify. To disable logging, call this
2601
+ # operation with an empty `tableBucketLoggingStatus`. For more
2602
+ # information, see [Server access logging for table buckets][1] in the
2603
+ # *Amazon Simple Storage Service User Guide*.
2604
+ #
2605
+ # Permissions
2606
+ #
2607
+ # : You must have the `s3tables:PutTableBucketLogging` permission to use
2608
+ # this operation.
2609
+ #
2610
+ #
2611
+ #
2612
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-server-logs.html
2613
+ #
2614
+ # @option params [required, String] :table_bucket_arn
2615
+ # The Amazon Resource Name (ARN) of the table bucket.
2616
+ #
2617
+ # @option params [required, Types::TableBucketLoggingStatus] :table_bucket_logging_status
2618
+ # The logging status to apply to the table bucket. To disable logging,
2619
+ # specify an empty `tableBucketLoggingStatus`.
2620
+ #
2621
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2622
+ #
2623
+ #
2624
+ # @example Example: To enable server access logging for a table bucket
2625
+ #
2626
+ # # The following example enables server access logging for a table bucket. Logs are delivered to the specified general
2627
+ # # purpose bucket, with object keys partitioned by the time of the logged events.
2628
+ #
2629
+ # resp = client.put_table_bucket_logging({
2630
+ # table_bucket_arn: "arn:aws:s3tables:us-east-1:111122223333:bucket/amzn-s3-demo-table-bucket",
2631
+ # table_bucket_logging_status: {
2632
+ # logging_enabled: {
2633
+ # target_bucket: "amzn-s3-demo-destination-bucket",
2634
+ # target_object_key_format: {
2635
+ # partitioned_prefix: {
2636
+ # partition_date_source: "EventTime",
2637
+ # },
2638
+ # },
2639
+ # target_prefix: "logs/",
2640
+ # },
2641
+ # },
2642
+ # })
2643
+ #
2644
+ # @example Example: To disable server access logging for a table bucket
2645
+ #
2646
+ # # The following example disables server access logging for a table bucket by specifying an empty logging status.
2647
+ #
2648
+ # resp = client.put_table_bucket_logging({
2649
+ # table_bucket_arn: "arn:aws:s3tables:us-east-1:111122223333:bucket/amzn-s3-demo-table-bucket",
2650
+ # table_bucket_logging_status: {
2651
+ # },
2652
+ # })
2653
+ #
2654
+ # @example Request syntax with placeholder values
2655
+ #
2656
+ # resp = client.put_table_bucket_logging({
2657
+ # table_bucket_arn: "TableBucketARN", # required
2658
+ # table_bucket_logging_status: { # required
2659
+ # logging_enabled: {
2660
+ # target_bucket: "LoggingTargetBucket", # required
2661
+ # target_prefix: "LoggingTargetPrefix", # required
2662
+ # target_object_key_format: { # required
2663
+ # partitioned_prefix: { # required
2664
+ # partition_date_source: "EventTime", # required, accepts EventTime, DeliveryTime
2665
+ # },
2666
+ # },
2667
+ # },
2668
+ # },
2669
+ # })
2670
+ #
2671
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutTableBucketLogging AWS API Documentation
2672
+ #
2673
+ # @overload put_table_bucket_logging(params = {})
2674
+ # @param [Hash] params ({})
2675
+ def put_table_bucket_logging(params = {}, options = {})
2676
+ req = build_request(:put_table_bucket_logging, params)
2677
+ req.send_request(options)
2678
+ end
2679
+
2516
2680
  # Creates a new maintenance configuration or replaces an existing
2517
2681
  # maintenance configuration for a table bucket. For more information,
2518
2682
  # see [Amazon S3 table bucket maintenance][1] in the *Amazon Simple
@@ -3559,7 +3723,7 @@ module Aws::S3Tables
3559
3723
  tracer: tracer
3560
3724
  )
3561
3725
  context[:gem_name] = 'aws-sdk-s3tables'
3562
- context[:gem_version] = '1.42.0'
3726
+ context[:gem_version] = '1.44.0'
3563
3727
  Seahorse::Client::Request.new(handlers, context)
3564
3728
  end
3565
3729
 
@@ -53,6 +53,8 @@ module Aws::S3Tables
53
53
  GetNamespaceResponse = Shapes::StructureShape.new(name: 'GetNamespaceResponse')
54
54
  GetTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'GetTableBucketEncryptionRequest')
55
55
  GetTableBucketEncryptionResponse = Shapes::StructureShape.new(name: 'GetTableBucketEncryptionResponse')
56
+ GetTableBucketLoggingRequest = Shapes::StructureShape.new(name: 'GetTableBucketLoggingRequest')
57
+ GetTableBucketLoggingResponse = Shapes::StructureShape.new(name: 'GetTableBucketLoggingResponse')
56
58
  GetTableBucketMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'GetTableBucketMaintenanceConfigurationRequest')
57
59
  GetTableBucketMaintenanceConfigurationResponse = Shapes::StructureShape.new(name: 'GetTableBucketMaintenanceConfigurationResponse')
58
60
  GetTableBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'GetTableBucketMetricsConfigurationRequest')
@@ -132,6 +134,9 @@ module Aws::S3Tables
132
134
  ListTablesResponse = Shapes::StructureShape.new(name: 'ListTablesResponse')
133
135
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
134
136
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
137
+ LoggingEnabled = Shapes::StructureShape.new(name: 'LoggingEnabled')
138
+ LoggingTargetBucket = Shapes::StringShape.new(name: 'LoggingTargetBucket')
139
+ LoggingTargetPrefix = Shapes::StringShape.new(name: 'LoggingTargetPrefix')
135
140
  Long = Shapes::IntegerShape.new(name: 'Long')
136
141
  MaintenanceSettings = Shapes::StructureShape.new(name: 'MaintenanceSettings')
137
142
  MaintenanceStatus = Shapes::StringShape.new(name: 'MaintenanceStatus')
@@ -167,9 +172,12 @@ module Aws::S3Tables
167
172
  NextToken = Shapes::StringShape.new(name: 'NextToken')
168
173
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
169
174
  OpenTableFormat = Shapes::StringShape.new(name: 'OpenTableFormat')
175
+ PartitionDateSource = Shapes::StringShape.new(name: 'PartitionDateSource')
176
+ PartitionedPrefix = Shapes::StructureShape.new(name: 'PartitionedPrefix')
170
177
  PlanningStats = Shapes::StructureShape.new(name: 'PlanningStats')
171
178
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
172
179
  PutTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'PutTableBucketEncryptionRequest')
180
+ PutTableBucketLoggingRequest = Shapes::StructureShape.new(name: 'PutTableBucketLoggingRequest')
173
181
  PutTableBucketMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'PutTableBucketMaintenanceConfigurationRequest')
174
182
  PutTableBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'PutTableBucketMetricsConfigurationRequest')
175
183
  PutTableBucketPolicyRequest = Shapes::StructureShape.new(name: 'PutTableBucketPolicyRequest')
@@ -212,6 +220,7 @@ module Aws::S3Tables
212
220
  TableARN = Shapes::StringShape.new(name: 'TableARN')
213
221
  TableBucketARN = Shapes::StringShape.new(name: 'TableBucketARN')
214
222
  TableBucketId = Shapes::StringShape.new(name: 'TableBucketId')
223
+ TableBucketLoggingStatus = Shapes::StructureShape.new(name: 'TableBucketLoggingStatus')
215
224
  TableBucketMaintenanceConfiguration = Shapes::MapShape.new(name: 'TableBucketMaintenanceConfiguration')
216
225
  TableBucketMaintenanceConfigurationValue = Shapes::StructureShape.new(name: 'TableBucketMaintenanceConfigurationValue')
217
226
  TableBucketMaintenanceSettings = Shapes::UnionShape.new(name: 'TableBucketMaintenanceSettings')
@@ -250,6 +259,7 @@ module Aws::S3Tables
250
259
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
251
260
  TagValue = Shapes::StringShape.new(name: 'TagValue')
252
261
  Tags = Shapes::MapShape.new(name: 'Tags')
262
+ TargetObjectKeyFormat = Shapes::StructureShape.new(name: 'TargetObjectKeyFormat')
253
263
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
254
264
  UnmatchedSourceFieldsPolicy = Shapes::StringShape.new(name: 'UnmatchedSourceFieldsPolicy')
255
265
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -389,6 +399,12 @@ module Aws::S3Tables
389
399
  GetTableBucketEncryptionResponse.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, required: true, location_name: "encryptionConfiguration"))
390
400
  GetTableBucketEncryptionResponse.struct_class = Types::GetTableBucketEncryptionResponse
391
401
 
402
+ GetTableBucketLoggingRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
403
+ GetTableBucketLoggingRequest.struct_class = Types::GetTableBucketLoggingRequest
404
+
405
+ GetTableBucketLoggingResponse.add_member(:table_bucket_logging_status, Shapes::ShapeRef.new(shape: TableBucketLoggingStatus, required: true, location_name: "tableBucketLoggingStatus"))
406
+ GetTableBucketLoggingResponse.struct_class = Types::GetTableBucketLoggingResponse
407
+
392
408
  GetTableBucketMaintenanceConfigurationRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
393
409
  GetTableBucketMaintenanceConfigurationRequest.struct_class = Types::GetTableBucketMaintenanceConfigurationRequest
394
410
 
@@ -681,6 +697,11 @@ module Aws::S3Tables
681
697
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
682
698
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
683
699
 
700
+ LoggingEnabled.add_member(:target_bucket, Shapes::ShapeRef.new(shape: LoggingTargetBucket, required: true, location_name: "targetBucket"))
701
+ LoggingEnabled.add_member(:target_prefix, Shapes::ShapeRef.new(shape: LoggingTargetPrefix, required: true, location_name: "targetPrefix"))
702
+ LoggingEnabled.add_member(:target_object_key_format, Shapes::ShapeRef.new(shape: TargetObjectKeyFormat, required: true, location_name: "targetObjectKeyFormat"))
703
+ LoggingEnabled.struct_class = Types::LoggingEnabled
704
+
684
705
  MaintenanceSettings.add_member(:iceberg_compaction, Shapes::ShapeRef.new(shape: MigrationCompactionSettings, location_name: "icebergCompaction"))
685
706
  MaintenanceSettings.add_member(:iceberg_snapshot_management, Shapes::ShapeRef.new(shape: MigrationSnapshotManagementSettings, location_name: "icebergSnapshotManagement"))
686
707
  MaintenanceSettings.struct_class = Types::MaintenanceSettings
@@ -762,6 +783,9 @@ module Aws::S3Tables
762
783
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
763
784
  NotFoundException.struct_class = Types::NotFoundException
764
785
 
786
+ PartitionedPrefix.add_member(:partition_date_source, Shapes::ShapeRef.new(shape: PartitionDateSource, required: true, location_name: "partitionDateSource"))
787
+ PartitionedPrefix.struct_class = Types::PartitionedPrefix
788
+
765
789
  PlanningStats.add_member(:objects_scanned, Shapes::ShapeRef.new(shape: Long, location_name: "objectsScanned"))
766
790
  PlanningStats.add_member(:objects_planned, Shapes::ShapeRef.new(shape: Long, location_name: "objectsPlanned"))
767
791
  PlanningStats.add_member(:partition_count, Shapes::ShapeRef.new(shape: Long, location_name: "partitionCount"))
@@ -771,6 +795,10 @@ module Aws::S3Tables
771
795
  PutTableBucketEncryptionRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, required: true, location_name: "encryptionConfiguration"))
772
796
  PutTableBucketEncryptionRequest.struct_class = Types::PutTableBucketEncryptionRequest
773
797
 
798
+ PutTableBucketLoggingRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
799
+ PutTableBucketLoggingRequest.add_member(:table_bucket_logging_status, Shapes::ShapeRef.new(shape: TableBucketLoggingStatus, required: true, location_name: "tableBucketLoggingStatus"))
800
+ PutTableBucketLoggingRequest.struct_class = Types::PutTableBucketLoggingRequest
801
+
774
802
  PutTableBucketMaintenanceConfigurationRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
775
803
  PutTableBucketMaintenanceConfigurationRequest.add_member(:type, Shapes::ShapeRef.new(shape: TableBucketMaintenanceType, required: true, location: "uri", location_name: "type"))
776
804
  PutTableBucketMaintenanceConfigurationRequest.add_member(:value, Shapes::ShapeRef.new(shape: TableBucketMaintenanceConfigurationValue, required: true, location_name: "value"))
@@ -902,6 +930,9 @@ module Aws::S3Tables
902
930
  SyncTableMigrationResponse.add_member(:state, Shapes::ShapeRef.new(shape: MigrationState, required: true, location_name: "state"))
903
931
  SyncTableMigrationResponse.struct_class = Types::SyncTableMigrationResponse
904
932
 
933
+ TableBucketLoggingStatus.add_member(:logging_enabled, Shapes::ShapeRef.new(shape: LoggingEnabled, location_name: "loggingEnabled"))
934
+ TableBucketLoggingStatus.struct_class = Types::TableBucketLoggingStatus
935
+
905
936
  TableBucketMaintenanceConfiguration.key = Shapes::ShapeRef.new(shape: TableBucketMaintenanceType)
906
937
  TableBucketMaintenanceConfiguration.value = Shapes::ShapeRef.new(shape: TableBucketMaintenanceConfigurationValue)
907
938
 
@@ -1011,6 +1042,9 @@ module Aws::S3Tables
1011
1042
  Tags.key = Shapes::ShapeRef.new(shape: TagKey)
1012
1043
  Tags.value = Shapes::ShapeRef.new(shape: TagValue)
1013
1044
 
1045
+ TargetObjectKeyFormat.add_member(:partitioned_prefix, Shapes::ShapeRef.new(shape: PartitionedPrefix, required: true, location_name: "partitionedPrefix"))
1046
+ TargetObjectKeyFormat.struct_class = Types::TargetObjectKeyFormat
1047
+
1014
1048
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1015
1049
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
1016
1050
 
@@ -1308,6 +1342,20 @@ module Aws::S3Tables
1308
1342
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1309
1343
  end)
1310
1344
 
1345
+ api.add_operation(:get_table_bucket_logging, Seahorse::Model::Operation.new.tap do |o|
1346
+ o.name = "GetTableBucketLogging"
1347
+ o.http_method = "GET"
1348
+ o.http_request_uri = "/buckets/{tableBucketARN}/logging"
1349
+ o.input = Shapes::ShapeRef.new(shape: GetTableBucketLoggingRequest)
1350
+ o.output = Shapes::ShapeRef.new(shape: GetTableBucketLoggingResponse)
1351
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1352
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1353
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1354
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1357
+ end)
1358
+
1311
1359
  api.add_operation(:get_table_bucket_maintenance_configuration, Seahorse::Model::Operation.new.tap do |o|
1312
1360
  o.name = "GetTableBucketMaintenanceConfiguration"
1313
1361
  o.http_method = "GET"
@@ -1644,6 +1692,20 @@ module Aws::S3Tables
1644
1692
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1645
1693
  end)
1646
1694
 
1695
+ api.add_operation(:put_table_bucket_logging, Seahorse::Model::Operation.new.tap do |o|
1696
+ o.name = "PutTableBucketLogging"
1697
+ o.http_method = "PUT"
1698
+ o.http_request_uri = "/buckets/{tableBucketARN}/logging"
1699
+ o.input = Shapes::ShapeRef.new(shape: PutTableBucketLoggingRequest)
1700
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1701
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1702
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1703
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1704
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1705
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1707
+ end)
1708
+
1647
1709
  api.add_operation(:put_table_bucket_maintenance_configuration, Seahorse::Model::Operation.new.tap do |o|
1648
1710
  o.name = "PutTableBucketMaintenanceConfiguration"
1649
1711
  o.http_method = "PUT"
@@ -681,6 +681,31 @@ module Aws::S3Tables
681
681
  include Aws::Structure
682
682
  end
683
683
 
684
+ # @!attribute [rw] table_bucket_arn
685
+ # The Amazon Resource Name (ARN) of the table bucket.
686
+ # @return [String]
687
+ #
688
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketLoggingRequest AWS API Documentation
689
+ #
690
+ class GetTableBucketLoggingRequest < Struct.new(
691
+ :table_bucket_arn)
692
+ SENSITIVE = []
693
+ include Aws::Structure
694
+ end
695
+
696
+ # @!attribute [rw] table_bucket_logging_status
697
+ # The logging status of the table bucket. If logging is disabled,
698
+ # `loggingEnabled` is absent.
699
+ # @return [Types::TableBucketLoggingStatus]
700
+ #
701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketLoggingResponse AWS API Documentation
702
+ #
703
+ class GetTableBucketLoggingResponse < Struct.new(
704
+ :table_bucket_logging_status)
705
+ SENSITIVE = []
706
+ include Aws::Structure
707
+ end
708
+
684
709
  # @!attribute [rw] table_bucket_arn
685
710
  # The Amazon Resource Name (ARN) of the table bucket associated with
686
711
  # the maintenance configuration.
@@ -2135,6 +2160,40 @@ module Aws::S3Tables
2135
2160
  include Aws::Structure
2136
2161
  end
2137
2162
 
2163
+ # Describes where logs are stored and the prefix that Amazon S3 assigns
2164
+ # to all log object keys for a table bucket.
2165
+ #
2166
+ # @!attribute [rw] target_bucket
2167
+ # The name of the general purpose bucket that logs are delivered to.
2168
+ # The bucket must be in the same Amazon Web Services Region and owned
2169
+ # by the same Amazon Web Services account as the table bucket. The
2170
+ # bucket can't use SSE-KMS or DSSE-KMS default encryption, can't
2171
+ # have S3 Object Lock enabled, and can't have Requester Pays enabled.
2172
+ # You can deliver logs from multiple table buckets to the same target
2173
+ # bucket. In this case, choose a different `targetPrefix` for each
2174
+ # table bucket so that you can tell their log objects apart.
2175
+ # @return [String]
2176
+ #
2177
+ # @!attribute [rw] target_prefix
2178
+ # The prefix for the keys of the log objects that are delivered to the
2179
+ # target bucket.
2180
+ # @return [String]
2181
+ #
2182
+ # @!attribute [rw] target_object_key_format
2183
+ # The key format of the log objects. Log object keys are always
2184
+ # partitioned by date.
2185
+ # @return [Types::TargetObjectKeyFormat]
2186
+ #
2187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/LoggingEnabled AWS API Documentation
2188
+ #
2189
+ class LoggingEnabled < Struct.new(
2190
+ :target_bucket,
2191
+ :target_prefix,
2192
+ :target_object_key_format)
2193
+ SENSITIVE = []
2194
+ include Aws::Structure
2195
+ end
2196
+
2138
2197
  # The maintenance settings for the destination table. The migration
2139
2198
  # applies them when it creates the table: snapshot management starts
2140
2199
  # then, and compaction starts after you complete the migration. If you
@@ -2658,6 +2717,24 @@ module Aws::S3Tables
2658
2717
  include Aws::Structure
2659
2718
  end
2660
2719
 
2720
+ # Amazon S3 keys for log objects are partitioned in the following
2721
+ # format:
2722
+ # `[targetPrefix][SourceAccountId]/[SourceRegion]/[SourceTableBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]`
2723
+ #
2724
+ # @!attribute [rw] partition_date_source
2725
+ # The date to use for the log object key partitions. Valid values are
2726
+ # `EventTime`, the time that the requests in the log were made, and
2727
+ # `DeliveryTime`, the time that the log was delivered.
2728
+ # @return [String]
2729
+ #
2730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PartitionedPrefix AWS API Documentation
2731
+ #
2732
+ class PartitionedPrefix < Struct.new(
2733
+ :partition_date_source)
2734
+ SENSITIVE = []
2735
+ include Aws::Structure
2736
+ end
2737
+
2661
2738
  # Statistics about the source and the partitions in a migration.
2662
2739
  #
2663
2740
  # @!attribute [rw] objects_scanned
@@ -2707,6 +2784,24 @@ module Aws::S3Tables
2707
2784
  include Aws::Structure
2708
2785
  end
2709
2786
 
2787
+ # @!attribute [rw] table_bucket_arn
2788
+ # The Amazon Resource Name (ARN) of the table bucket.
2789
+ # @return [String]
2790
+ #
2791
+ # @!attribute [rw] table_bucket_logging_status
2792
+ # The logging status to apply to the table bucket. To disable logging,
2793
+ # specify an empty `tableBucketLoggingStatus`.
2794
+ # @return [Types::TableBucketLoggingStatus]
2795
+ #
2796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutTableBucketLoggingRequest AWS API Documentation
2797
+ #
2798
+ class PutTableBucketLoggingRequest < Struct.new(
2799
+ :table_bucket_arn,
2800
+ :table_bucket_logging_status)
2801
+ SENSITIVE = []
2802
+ include Aws::Structure
2803
+ end
2804
+
2710
2805
  # @!attribute [rw] table_bucket_arn
2711
2806
  # The Amazon Resource Name (ARN) of the table bucket associated with
2712
2807
  # the maintenance configuration.
@@ -3370,6 +3465,23 @@ module Aws::S3Tables
3370
3465
  include Aws::Structure
3371
3466
  end
3372
3467
 
3468
+ # The server access logging status of a table bucket. To enable logging,
3469
+ # specify `loggingEnabled`. To disable logging, specify an empty
3470
+ # `TableBucketLoggingStatus`.
3471
+ #
3472
+ # @!attribute [rw] logging_enabled
3473
+ # Where logs for the table bucket are delivered and how the log
3474
+ # objects are named. Must be populated to enable logging.
3475
+ # @return [Types::LoggingEnabled]
3476
+ #
3477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/TableBucketLoggingStatus AWS API Documentation
3478
+ #
3479
+ class TableBucketLoggingStatus < Struct.new(
3480
+ :logging_enabled)
3481
+ SENSITIVE = []
3482
+ include Aws::Structure
3483
+ end
3484
+
3373
3485
  # Details about the values that define the maintenance configuration for
3374
3486
  # a table bucket.
3375
3487
  #
@@ -3783,6 +3895,21 @@ module Aws::S3Tables
3783
3895
  #
3784
3896
  class TagResourceResponse < Aws::EmptyStructure; end
3785
3897
 
3898
+ # The key format of the log objects. Only `partitionedPrefix` is
3899
+ # supported.
3900
+ #
3901
+ # @!attribute [rw] partitioned_prefix
3902
+ # Partitions log object keys by date.
3903
+ # @return [Types::PartitionedPrefix]
3904
+ #
3905
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/TargetObjectKeyFormat AWS API Documentation
3906
+ #
3907
+ class TargetObjectKeyFormat < Struct.new(
3908
+ :partitioned_prefix)
3909
+ SENSITIVE = []
3910
+ include Aws::Structure
3911
+ end
3912
+
3786
3913
  # The limit on the number of requests per second was exceeded.
3787
3914
  #
3788
3915
  # @!attribute [rw] message
@@ -55,7 +55,7 @@ module Aws::S3Tables
55
55
  autoload :EndpointProvider, 'aws-sdk-s3tables/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-s3tables/endpoints'
57
57
 
58
- GEM_VERSION = '1.42.0'
58
+ GEM_VERSION = '1.44.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -297,6 +297,16 @@ module Aws
297
297
  ) -> _GetTableBucketEncryptionResponseSuccess
298
298
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableBucketEncryptionResponseSuccess
299
299
 
300
+ interface _GetTableBucketLoggingResponseSuccess
301
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableBucketLoggingResponse]
302
+ def table_bucket_logging_status: () -> Types::TableBucketLoggingStatus
303
+ end
304
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table_bucket_logging-instance_method
305
+ def get_table_bucket_logging: (
306
+ table_bucket_arn: ::String
307
+ ) -> _GetTableBucketLoggingResponseSuccess
308
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableBucketLoggingResponseSuccess
309
+
300
310
  interface _GetTableBucketMaintenanceConfigurationResponseSuccess
301
311
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTableBucketMaintenanceConfigurationResponse]
302
312
  def table_bucket_arn: () -> ::String
@@ -581,6 +591,23 @@ module Aws
581
591
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
582
592
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
583
593
 
594
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_bucket_logging-instance_method
595
+ def put_table_bucket_logging: (
596
+ table_bucket_arn: ::String,
597
+ table_bucket_logging_status: {
598
+ logging_enabled: {
599
+ target_bucket: ::String,
600
+ target_prefix: ::String,
601
+ target_object_key_format: {
602
+ partitioned_prefix: {
603
+ partition_date_source: ("EventTime" | "DeliveryTime")
604
+ }
605
+ }
606
+ }?
607
+ }
608
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
609
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
610
+
584
611
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_bucket_maintenance_configuration-instance_method
585
612
  def put_table_bucket_maintenance_configuration: (
586
613
  table_bucket_arn: ::String,
data/sig/types.rbs CHANGED
@@ -186,6 +186,16 @@ module Aws::S3Tables
186
186
  SENSITIVE: []
187
187
  end
188
188
 
189
+ class GetTableBucketLoggingRequest
190
+ attr_accessor table_bucket_arn: ::String
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class GetTableBucketLoggingResponse
195
+ attr_accessor table_bucket_logging_status: Types::TableBucketLoggingStatus
196
+ SENSITIVE: []
197
+ end
198
+
189
199
  class GetTableBucketMaintenanceConfigurationRequest
190
200
  attr_accessor table_bucket_arn: ::String
191
201
  SENSITIVE: []
@@ -590,6 +600,13 @@ module Aws::S3Tables
590
600
  SENSITIVE: []
591
601
  end
592
602
 
603
+ class LoggingEnabled
604
+ attr_accessor target_bucket: ::String
605
+ attr_accessor target_prefix: ::String
606
+ attr_accessor target_object_key_format: Types::TargetObjectKeyFormat
607
+ SENSITIVE: []
608
+ end
609
+
593
610
  class MaintenanceSettings
594
611
  attr_accessor iceberg_compaction: Types::MigrationCompactionSettings
595
612
  attr_accessor iceberg_snapshot_management: Types::MigrationSnapshotManagementSettings
@@ -695,6 +712,11 @@ module Aws::S3Tables
695
712
  SENSITIVE: []
696
713
  end
697
714
 
715
+ class PartitionedPrefix
716
+ attr_accessor partition_date_source: ("EventTime" | "DeliveryTime")
717
+ SENSITIVE: []
718
+ end
719
+
698
720
  class PlanningStats
699
721
  attr_accessor objects_scanned: ::Integer
700
722
  attr_accessor objects_planned: ::Integer
@@ -708,6 +730,12 @@ module Aws::S3Tables
708
730
  SENSITIVE: []
709
731
  end
710
732
 
733
+ class PutTableBucketLoggingRequest
734
+ attr_accessor table_bucket_arn: ::String
735
+ attr_accessor table_bucket_logging_status: Types::TableBucketLoggingStatus
736
+ SENSITIVE: []
737
+ end
738
+
711
739
  class PutTableBucketMaintenanceConfigurationRequest
712
740
  attr_accessor table_bucket_arn: ::String
713
741
  attr_accessor type: ("icebergUnreferencedFileRemoval")
@@ -882,6 +910,11 @@ module Aws::S3Tables
882
910
  SENSITIVE: []
883
911
  end
884
912
 
913
+ class TableBucketLoggingStatus
914
+ attr_accessor logging_enabled: Types::LoggingEnabled
915
+ SENSITIVE: []
916
+ end
917
+
885
918
  class TableBucketMaintenanceConfigurationValue
886
919
  attr_accessor status: ("enabled" | "disabled")
887
920
  attr_accessor settings: Types::TableBucketMaintenanceSettings
@@ -1009,6 +1042,11 @@ module Aws::S3Tables
1009
1042
  class TagResourceResponse < Aws::EmptyStructure
1010
1043
  end
1011
1044
 
1045
+ class TargetObjectKeyFormat
1046
+ attr_accessor partitioned_prefix: Types::PartitionedPrefix
1047
+ SENSITIVE: []
1048
+ end
1049
+
1012
1050
  class TooManyRequestsException
1013
1051
  attr_accessor message: ::String
1014
1052
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3tables
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.42.0
4
+ version: 1.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.265.0
21
+ version: 3.267.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.265.0
31
+ version: 3.267.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement