aws-sdk-s3tables 1.8.0 → 1.10.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3tables/client.rb +29 -13
- data/lib/aws-sdk-s3tables/client_api.rb +7 -4
- data/lib/aws-sdk-s3tables/types.rb +14 -3
- data/lib/aws-sdk-s3tables.rb +1 -1
- data/sig/client.rbs +7 -5
- data/sig/types.rbs +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ca55b6c0623ccffc54639fefde30ed145e7f2d2ac26845d574685f0719220f1
|
4
|
+
data.tar.gz: e8ff7e61e1aec6ca9c11b9dfba00f29f0a20110d43b86cf29918d7b24da26805
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c93f33aadc7c8f425d2dfcc1136b44539d6bc7de70f0af8f89b4852e47815c7dbc12bb490e7c2ebd09ddccd401949e998feb6d09525e947f5b2bab4b7e525cf1
|
7
|
+
data.tar.gz: b7a16c159b9a511c58cbb35ee9193da2c1d6707dc28471de7f167219d038056f4d75075d5368c21e0c8ef5e9bbcd03ee1c984534913b4434b17fe001be9b10d7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.10.0 (2025-06-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - S3 Tables now supports sort and z-order compaction strategies for Iceberg tables in addition to binpack.
|
8
|
+
|
9
|
+
1.9.0 (2025-06-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - S3 Tables now supports getting details about a table via its table ARN.
|
13
|
+
|
4
14
|
1.8.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.10.0
|
@@ -532,13 +532,17 @@ module Aws::S3Tables
|
|
532
532
|
# `encryptionConfiguration` request parameter you must have the
|
533
533
|
# `s3tables:PutTableEncryption` permission.
|
534
534
|
#
|
535
|
-
# <note markdown="1"> Additionally,
|
535
|
+
# <note markdown="1"> Additionally, If you choose SSE-KMS encryption you must grant the S3
|
536
|
+
# Tables maintenance principal access to your KMS key. For more
|
537
|
+
# information, see [Permissions requirements for S3 Tables SSE-KMS
|
538
|
+
# encryption][2].
|
536
539
|
#
|
537
540
|
# </note>
|
538
541
|
#
|
539
542
|
#
|
540
543
|
#
|
541
544
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-create.html
|
545
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html
|
542
546
|
#
|
543
547
|
# @option params [required, String] :table_bucket_arn
|
544
548
|
# The Amazon Resource Name (ARN) of the table bucket to create the table
|
@@ -948,16 +952,19 @@ module Aws::S3Tables
|
|
948
952
|
#
|
949
953
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-tables.html
|
950
954
|
#
|
951
|
-
# @option params [
|
955
|
+
# @option params [String] :table_bucket_arn
|
952
956
|
# The Amazon Resource Name (ARN) of the table bucket associated with the
|
953
957
|
# table.
|
954
958
|
#
|
955
|
-
# @option params [
|
959
|
+
# @option params [String] :namespace
|
956
960
|
# The name of the namespace the table is associated with.
|
957
961
|
#
|
958
|
-
# @option params [
|
962
|
+
# @option params [String] :name
|
959
963
|
# The name of the table.
|
960
964
|
#
|
965
|
+
# @option params [String] :table_arn
|
966
|
+
# The Amazon Resource Name (ARN) of the table.
|
967
|
+
#
|
961
968
|
# @return [Types::GetTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
962
969
|
#
|
963
970
|
# * {Types::GetTableResponse#name #name} => String
|
@@ -980,9 +987,10 @@ module Aws::S3Tables
|
|
980
987
|
# @example Request syntax with placeholder values
|
981
988
|
#
|
982
989
|
# resp = client.get_table({
|
983
|
-
# table_bucket_arn: "TableBucketARN",
|
984
|
-
# namespace: "NamespaceName",
|
985
|
-
# name: "TableName",
|
990
|
+
# table_bucket_arn: "TableBucketARN",
|
991
|
+
# namespace: "NamespaceName",
|
992
|
+
# name: "TableName",
|
993
|
+
# table_arn: "TableARN",
|
986
994
|
# })
|
987
995
|
#
|
988
996
|
# @example Response structure
|
@@ -1227,9 +1235,11 @@ module Aws::S3Tables
|
|
1227
1235
|
# Storage Service User Guide*.
|
1228
1236
|
#
|
1229
1237
|
# Permissions
|
1238
|
+
# : * You must have the `s3tables:GetTableMaintenanceConfiguration`
|
1239
|
+
# permission to use this operation.
|
1230
1240
|
#
|
1231
|
-
#
|
1232
|
-
#
|
1241
|
+
# * You must have the `s3tables:GetTableData` permission to use set
|
1242
|
+
# the compaction strategy to `sort` or `zorder`.
|
1233
1243
|
#
|
1234
1244
|
#
|
1235
1245
|
#
|
@@ -1263,6 +1273,7 @@ module Aws::S3Tables
|
|
1263
1273
|
# resp.configuration #=> Hash
|
1264
1274
|
# resp.configuration["TableMaintenanceType"].status #=> String, one of "enabled", "disabled"
|
1265
1275
|
# resp.configuration["TableMaintenanceType"].settings.iceberg_compaction.target_file_size_mb #=> Integer
|
1276
|
+
# resp.configuration["TableMaintenanceType"].settings.iceberg_compaction.strategy #=> String, one of "auto", "binpack", "sort", "z-order"
|
1266
1277
|
# resp.configuration["TableMaintenanceType"].settings.iceberg_snapshot_management.min_snapshots_to_keep #=> Integer
|
1267
1278
|
# resp.configuration["TableMaintenanceType"].settings.iceberg_snapshot_management.max_snapshot_age_hours #=> Integer
|
1268
1279
|
#
|
@@ -1292,7 +1303,7 @@ module Aws::S3Tables
|
|
1292
1303
|
# The Amazon Resource Name (ARN) of the table bucket.
|
1293
1304
|
#
|
1294
1305
|
# @option params [required, String] :namespace
|
1295
|
-
# The name of the namespace the table is associated with.
|
1306
|
+
# The name of the namespace the table is associated with.
|
1296
1307
|
#
|
1297
1308
|
# @option params [required, String] :name
|
1298
1309
|
# The name of the maintenance job.
|
@@ -1621,11 +1632,15 @@ module Aws::S3Tables
|
|
1621
1632
|
#
|
1622
1633
|
# <note markdown="1"> If you choose SSE-KMS encryption you must grant the S3 Tables
|
1623
1634
|
# maintenance principal access to your KMS key. For more information,
|
1624
|
-
# see [Permissions requirements for S3 Tables SSE-KMS
|
1625
|
-
#
|
1635
|
+
# see [Permissions requirements for S3 Tables SSE-KMS encryption][1]
|
1636
|
+
# in the *Amazon Simple Storage Service User Guide*.
|
1626
1637
|
#
|
1627
1638
|
# </note>
|
1628
1639
|
#
|
1640
|
+
#
|
1641
|
+
#
|
1642
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html
|
1643
|
+
#
|
1629
1644
|
# @option params [required, String] :table_bucket_arn
|
1630
1645
|
# The Amazon Resource Name (ARN) of the table bucket.
|
1631
1646
|
#
|
@@ -1787,6 +1802,7 @@ module Aws::S3Tables
|
|
1787
1802
|
# settings: {
|
1788
1803
|
# iceberg_compaction: {
|
1789
1804
|
# target_file_size_mb: 1,
|
1805
|
+
# strategy: "auto", # accepts auto, binpack, sort, z-order
|
1790
1806
|
# },
|
1791
1807
|
# iceberg_snapshot_management: {
|
1792
1808
|
# min_snapshots_to_keep: 1,
|
@@ -1983,7 +1999,7 @@ module Aws::S3Tables
|
|
1983
1999
|
tracer: tracer
|
1984
2000
|
)
|
1985
2001
|
context[:gem_name] = 'aws-sdk-s3tables'
|
1986
|
-
context[:gem_version] = '1.
|
2002
|
+
context[:gem_version] = '1.10.0'
|
1987
2003
|
Seahorse::Client::Request.new(handlers, context)
|
1988
2004
|
end
|
1989
2005
|
|
@@ -59,6 +59,7 @@ module Aws::S3Tables
|
|
59
59
|
GetTableRequest = Shapes::StructureShape.new(name: 'GetTableRequest')
|
60
60
|
GetTableResponse = Shapes::StructureShape.new(name: 'GetTableResponse')
|
61
61
|
IcebergCompactionSettings = Shapes::StructureShape.new(name: 'IcebergCompactionSettings')
|
62
|
+
IcebergCompactionStrategy = Shapes::StringShape.new(name: 'IcebergCompactionStrategy')
|
62
63
|
IcebergMetadata = Shapes::StructureShape.new(name: 'IcebergMetadata')
|
63
64
|
IcebergSchema = Shapes::StructureShape.new(name: 'IcebergSchema')
|
64
65
|
IcebergSnapshotManagementSettings = Shapes::StructureShape.new(name: 'IcebergSnapshotManagementSettings')
|
@@ -282,9 +283,10 @@ module Aws::S3Tables
|
|
282
283
|
GetTablePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "resourcePolicy"))
|
283
284
|
GetTablePolicyResponse.struct_class = Types::GetTablePolicyResponse
|
284
285
|
|
285
|
-
GetTableRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN,
|
286
|
-
GetTableRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName,
|
287
|
-
GetTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableName,
|
286
|
+
GetTableRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, location: "querystring", location_name: "tableBucketARN"))
|
287
|
+
GetTableRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName, location: "querystring", location_name: "namespace"))
|
288
|
+
GetTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableName, location: "querystring", location_name: "name"))
|
289
|
+
GetTableRequest.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableARN, location: "querystring", location_name: "tableArn"))
|
288
290
|
GetTableRequest.struct_class = Types::GetTableRequest
|
289
291
|
|
290
292
|
GetTableResponse.add_member(:name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "name"))
|
@@ -306,6 +308,7 @@ module Aws::S3Tables
|
|
306
308
|
GetTableResponse.struct_class = Types::GetTableResponse
|
307
309
|
|
308
310
|
IcebergCompactionSettings.add_member(:target_file_size_mb, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "targetFileSizeMB"))
|
311
|
+
IcebergCompactionSettings.add_member(:strategy, Shapes::ShapeRef.new(shape: IcebergCompactionStrategy, location_name: "strategy"))
|
309
312
|
IcebergCompactionSettings.struct_class = Types::IcebergCompactionSettings
|
310
313
|
|
311
314
|
IcebergMetadata.add_member(:schema, Shapes::ShapeRef.new(shape: IcebergSchema, required: true, location_name: "schema"))
|
@@ -654,7 +657,7 @@ module Aws::S3Tables
|
|
654
657
|
api.add_operation(:get_table, Seahorse::Model::Operation.new.tap do |o|
|
655
658
|
o.name = "GetTable"
|
656
659
|
o.http_method = "GET"
|
657
|
-
o.http_request_uri = "/
|
660
|
+
o.http_request_uri = "/get-table"
|
658
661
|
o.input = Shapes::ShapeRef.new(shape: GetTableRequest)
|
659
662
|
o.output = Shapes::ShapeRef.new(shape: GetTableResponse)
|
660
663
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
@@ -592,7 +592,7 @@ module Aws::S3Tables
|
|
592
592
|
# @return [String]
|
593
593
|
#
|
594
594
|
# @!attribute [rw] namespace
|
595
|
-
# The name of the namespace the table is associated with.
|
595
|
+
# The name of the namespace the table is associated with.
|
596
596
|
# @return [String]
|
597
597
|
#
|
598
598
|
# @!attribute [rw] name
|
@@ -718,12 +718,17 @@ module Aws::S3Tables
|
|
718
718
|
# The name of the table.
|
719
719
|
# @return [String]
|
720
720
|
#
|
721
|
+
# @!attribute [rw] table_arn
|
722
|
+
# The Amazon Resource Name (ARN) of the table.
|
723
|
+
# @return [String]
|
724
|
+
#
|
721
725
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableRequest AWS API Documentation
|
722
726
|
#
|
723
727
|
class GetTableRequest < Struct.new(
|
724
728
|
:table_bucket_arn,
|
725
729
|
:namespace,
|
726
|
-
:name
|
730
|
+
:name,
|
731
|
+
:table_arn)
|
727
732
|
SENSITIVE = []
|
728
733
|
include Aws::Structure
|
729
734
|
end
|
@@ -821,10 +826,16 @@ module Aws::S3Tables
|
|
821
826
|
# The target file size for the table in MB.
|
822
827
|
# @return [Integer]
|
823
828
|
#
|
829
|
+
# @!attribute [rw] strategy
|
830
|
+
# The compaction strategy to use for the table. This determines how
|
831
|
+
# files are selected and combined during compaction operations.
|
832
|
+
# @return [String]
|
833
|
+
#
|
824
834
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/IcebergCompactionSettings AWS API Documentation
|
825
835
|
#
|
826
836
|
class IcebergCompactionSettings < Struct.new(
|
827
|
-
:target_file_size_mb
|
837
|
+
:target_file_size_mb,
|
838
|
+
:strategy)
|
828
839
|
SENSITIVE = []
|
829
840
|
include Aws::Structure
|
830
841
|
end
|
data/lib/aws-sdk-s3tables.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -213,11 +213,12 @@ module Aws
|
|
213
213
|
end
|
214
214
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table-instance_method
|
215
215
|
def get_table: (
|
216
|
-
table_bucket_arn: ::String,
|
217
|
-
namespace: ::String,
|
218
|
-
name: ::String
|
216
|
+
?table_bucket_arn: ::String,
|
217
|
+
?namespace: ::String,
|
218
|
+
?name: ::String,
|
219
|
+
?table_arn: ::String
|
219
220
|
) -> _GetTableResponseSuccess
|
220
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableResponseSuccess
|
221
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableResponseSuccess
|
221
222
|
|
222
223
|
interface _GetTableBucketResponseSuccess
|
223
224
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTableBucketResponse]
|
@@ -413,7 +414,8 @@ module Aws
|
|
413
414
|
status: ("enabled" | "disabled")?,
|
414
415
|
settings: {
|
415
416
|
iceberg_compaction: {
|
416
|
-
target_file_size_mb: ::Integer
|
417
|
+
target_file_size_mb: ::Integer?,
|
418
|
+
strategy: ("auto" | "binpack" | "sort" | "z-order")?
|
417
419
|
}?,
|
418
420
|
iceberg_snapshot_management: {
|
419
421
|
min_snapshots_to_keep: ::Integer?,
|
data/sig/types.rbs
CHANGED
@@ -238,6 +238,7 @@ module Aws::S3Tables
|
|
238
238
|
attr_accessor table_bucket_arn: ::String
|
239
239
|
attr_accessor namespace: ::String
|
240
240
|
attr_accessor name: ::String
|
241
|
+
attr_accessor table_arn: ::String
|
241
242
|
SENSITIVE: []
|
242
243
|
end
|
243
244
|
|
@@ -263,6 +264,7 @@ module Aws::S3Tables
|
|
263
264
|
|
264
265
|
class IcebergCompactionSettings
|
265
266
|
attr_accessor target_file_size_mb: ::Integer
|
267
|
+
attr_accessor strategy: ("auto" | "binpack" | "sort" | "z-order")
|
266
268
|
SENSITIVE: []
|
267
269
|
end
|
268
270
|
|