aws-sdk-s3tables 1.0.0 → 1.2.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 +340 -36
- data/lib/aws-sdk-s3tables/client_api.rb +26 -0
- data/lib/aws-sdk-s3tables/types.rb +105 -18
- data/lib/aws-sdk-s3tables.rb +1 -1
- data/sig/client.rbs +16 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +29 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04046c4d2d57e9c03d732037469170302f8b6109978519856d898cb556d92218
|
4
|
+
data.tar.gz: 6e29cf438fe819b6884fd66e8507cc2b61f3d2d18f146657e200ab3b4d12efdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6320ffb16adc5a6e4e0d4927238ded460d20dd49c507ef1c0a899f88834c1ee3710246e588a828170c161bbe9f8151aa2ef962e4b596de448f7a62dba2a73181
|
7
|
+
data.tar.gz: 7a4563120ad212da02b536da01397024100a877cb3294b8ef2c4deea0645ae8ff0f9ee1a3a9e28d98009d9f3b59a8a1c6af2772c10e3964ed89a353cbf49392a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2025-01-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - You can now use the CreateTable API operation to create tables with schemas by adding an optional metadata argument.
|
8
|
+
|
9
|
+
1.1.0 (2025-01-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.0.0 (2024-12-03)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -257,11 +257,34 @@ module Aws::S3Tables
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -449,11 +472,17 @@ module Aws::S3Tables
|
|
449
472
|
|
450
473
|
# Creates a namespace. A namespace is a logical grouping of tables
|
451
474
|
# within your table bucket, which you can use to organize tables. For
|
452
|
-
# more information, see [
|
475
|
+
# more information, see [Create a namespace][1] in the *Amazon Simple
|
476
|
+
# Storage Service User Guide*.
|
453
477
|
#
|
478
|
+
# Permissions
|
479
|
+
#
|
480
|
+
# : You must have the `s3tables:CreateNamespace` permission to use this
|
481
|
+
# operation.
|
454
482
|
#
|
455
483
|
#
|
456
|
-
#
|
484
|
+
#
|
485
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace-create.html
|
457
486
|
#
|
458
487
|
# @option params [required, String] :table_bucket_arn
|
459
488
|
# The Amazon Resource Name (ARN) of the table bucket to create the
|
@@ -490,7 +519,23 @@ module Aws::S3Tables
|
|
490
519
|
end
|
491
520
|
|
492
521
|
# Creates a new table associated with the given namespace in a table
|
493
|
-
# bucket.
|
522
|
+
# bucket. For more information, see [Creating an Amazon S3 table][1] in
|
523
|
+
# the *Amazon Simple Storage Service User Guide*.
|
524
|
+
#
|
525
|
+
# Permissions
|
526
|
+
#
|
527
|
+
# : You must have the `s3tables:CreateTable` permission to use this
|
528
|
+
# operation.
|
529
|
+
#
|
530
|
+
# <note markdown="1"> Additionally, you must have the `s3tables:PutTableData` permission
|
531
|
+
# to use this operation with the optional `metadata` request
|
532
|
+
# parameter.
|
533
|
+
#
|
534
|
+
# </note>
|
535
|
+
#
|
536
|
+
#
|
537
|
+
#
|
538
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-create.html
|
494
539
|
#
|
495
540
|
# @option params [required, String] :table_bucket_arn
|
496
541
|
# The Amazon Resource Name (ARN) of the table bucket to create the table
|
@@ -505,6 +550,9 @@ module Aws::S3Tables
|
|
505
550
|
# @option params [required, String] :format
|
506
551
|
# The format for the table.
|
507
552
|
#
|
553
|
+
# @option params [Types::TableMetadata] :metadata
|
554
|
+
# The metadata for the table.
|
555
|
+
#
|
508
556
|
# @return [Types::CreateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
509
557
|
#
|
510
558
|
# * {Types::CreateTableResponse#table_arn #table_arn} => String
|
@@ -517,6 +565,19 @@ module Aws::S3Tables
|
|
517
565
|
# namespace: "NamespaceName", # required
|
518
566
|
# name: "TableName", # required
|
519
567
|
# format: "ICEBERG", # required, accepts ICEBERG
|
568
|
+
# metadata: {
|
569
|
+
# iceberg: {
|
570
|
+
# schema: { # required
|
571
|
+
# fields: [ # required
|
572
|
+
# {
|
573
|
+
# name: "String", # required
|
574
|
+
# type: "String", # required
|
575
|
+
# required: false,
|
576
|
+
# },
|
577
|
+
# ],
|
578
|
+
# },
|
579
|
+
# },
|
580
|
+
# },
|
520
581
|
# })
|
521
582
|
#
|
522
583
|
# @example Response structure
|
@@ -533,7 +594,17 @@ module Aws::S3Tables
|
|
533
594
|
req.send_request(options)
|
534
595
|
end
|
535
596
|
|
536
|
-
# Creates a table bucket.
|
597
|
+
# Creates a table bucket. For more information, see [Creating a table
|
598
|
+
# bucket][1] in the *Amazon Simple Storage Service User Guide*.
|
599
|
+
#
|
600
|
+
# Permissions
|
601
|
+
#
|
602
|
+
# : You must have the `s3tables:CreateTableBucket` permission to use
|
603
|
+
# this operation.
|
604
|
+
#
|
605
|
+
#
|
606
|
+
#
|
607
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets-create.html
|
537
608
|
#
|
538
609
|
# @option params [required, String] :name
|
539
610
|
# The name for the table bucket.
|
@@ -561,7 +632,17 @@ module Aws::S3Tables
|
|
561
632
|
req.send_request(options)
|
562
633
|
end
|
563
634
|
|
564
|
-
# Deletes a namespace.
|
635
|
+
# Deletes a namespace. For more information, see [Delete a namespace][1]
|
636
|
+
# in the *Amazon Simple Storage Service User Guide*.
|
637
|
+
#
|
638
|
+
# Permissions
|
639
|
+
#
|
640
|
+
# : You must have the `s3tables:DeleteNamespace` permission to use this
|
641
|
+
# operation.
|
642
|
+
#
|
643
|
+
#
|
644
|
+
#
|
645
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace-delete.html
|
565
646
|
#
|
566
647
|
# @option params [required, String] :table_bucket_arn
|
567
648
|
# The Amazon Resource Name (ARN) of the table bucket associated with the
|
@@ -588,7 +669,17 @@ module Aws::S3Tables
|
|
588
669
|
req.send_request(options)
|
589
670
|
end
|
590
671
|
|
591
|
-
# Deletes a table.
|
672
|
+
# Deletes a table. For more information, see [Deleting an Amazon S3
|
673
|
+
# table][1] in the *Amazon Simple Storage Service User Guide*.
|
674
|
+
#
|
675
|
+
# Permissions
|
676
|
+
#
|
677
|
+
# : You must have the `s3tables:DeleteTable` permission to use this
|
678
|
+
# operation.
|
679
|
+
#
|
680
|
+
#
|
681
|
+
#
|
682
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-delete.html
|
592
683
|
#
|
593
684
|
# @option params [required, String] :table_bucket_arn
|
594
685
|
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
@@ -623,7 +714,17 @@ module Aws::S3Tables
|
|
623
714
|
req.send_request(options)
|
624
715
|
end
|
625
716
|
|
626
|
-
# Deletes a table bucket.
|
717
|
+
# Deletes a table bucket. For more information, see [Deleting a table
|
718
|
+
# bucket][1] in the *Amazon Simple Storage Service User Guide*.
|
719
|
+
#
|
720
|
+
# Permissions
|
721
|
+
#
|
722
|
+
# : You must have the `s3tables:DeleteTableBucket` permission to use
|
723
|
+
# this operation.
|
724
|
+
#
|
725
|
+
#
|
726
|
+
#
|
727
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets-delete.html
|
627
728
|
#
|
628
729
|
# @option params [required, String] :table_bucket_arn
|
629
730
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -645,10 +746,21 @@ module Aws::S3Tables
|
|
645
746
|
req.send_request(options)
|
646
747
|
end
|
647
748
|
|
648
|
-
# Deletes a table bucket policy.
|
749
|
+
# Deletes a table bucket policy. For more information, see [Deleting a
|
750
|
+
# table bucket policy][1] in the *Amazon Simple Storage Service User
|
751
|
+
# Guide*.
|
752
|
+
#
|
753
|
+
# Permissions
|
754
|
+
#
|
755
|
+
# : You must have the `s3tables:DeleteTableBucketPolicy` permission to
|
756
|
+
# use this operation.
|
757
|
+
#
|
758
|
+
#
|
759
|
+
#
|
760
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-delete
|
649
761
|
#
|
650
762
|
# @option params [required, String] :table_bucket_arn
|
651
|
-
# The Amazon Resource
|
763
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
652
764
|
#
|
653
765
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
654
766
|
#
|
@@ -667,10 +779,20 @@ module Aws::S3Tables
|
|
667
779
|
req.send_request(options)
|
668
780
|
end
|
669
781
|
|
670
|
-
# Deletes a table policy.
|
782
|
+
# Deletes a table policy. For more information, see [Deleting a table
|
783
|
+
# policy][1] in the *Amazon Simple Storage Service User Guide*.
|
784
|
+
#
|
785
|
+
# Permissions
|
786
|
+
#
|
787
|
+
# : You must have the `s3tables:DeleteTablePolicy` permission to use
|
788
|
+
# this operation.
|
789
|
+
#
|
790
|
+
#
|
791
|
+
#
|
792
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-delete
|
671
793
|
#
|
672
794
|
# @option params [required, String] :table_bucket_arn
|
673
|
-
# The Amazon Resource
|
795
|
+
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
674
796
|
# table.
|
675
797
|
#
|
676
798
|
# @option params [required, String] :namespace
|
@@ -698,7 +820,17 @@ module Aws::S3Tables
|
|
698
820
|
req.send_request(options)
|
699
821
|
end
|
700
822
|
|
701
|
-
# Gets details about a namespace.
|
823
|
+
# Gets details about a namespace. For more information, see [Table
|
824
|
+
# namespaces][1] in the *Amazon Simple Storage Service User Guide*.
|
825
|
+
#
|
826
|
+
# Permissions
|
827
|
+
#
|
828
|
+
# : You must have the `s3tables:GetNamespace` permission to use this
|
829
|
+
# operation.
|
830
|
+
#
|
831
|
+
#
|
832
|
+
#
|
833
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace.html
|
702
834
|
#
|
703
835
|
# @option params [required, String] :table_bucket_arn
|
704
836
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -737,7 +869,17 @@ module Aws::S3Tables
|
|
737
869
|
req.send_request(options)
|
738
870
|
end
|
739
871
|
|
740
|
-
# Gets details about a table.
|
872
|
+
# Gets details about a table. For more information, see [S3 Tables][1]
|
873
|
+
# in the *Amazon Simple Storage Service User Guide*.
|
874
|
+
#
|
875
|
+
# Permissions
|
876
|
+
#
|
877
|
+
# : You must have the `s3tables:GetTable` permission to use this
|
878
|
+
# operation.
|
879
|
+
#
|
880
|
+
#
|
881
|
+
#
|
882
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-tables.html
|
741
883
|
#
|
742
884
|
# @option params [required, String] :table_bucket_arn
|
743
885
|
# The Amazon Resource Name (ARN) of the table bucket associated with the
|
@@ -801,7 +943,18 @@ module Aws::S3Tables
|
|
801
943
|
req.send_request(options)
|
802
944
|
end
|
803
945
|
|
804
|
-
# Gets details on a table bucket.
|
946
|
+
# Gets details on a table bucket. For more information, see [Viewing
|
947
|
+
# details about an Amazon S3 table bucket][1] in the *Amazon Simple
|
948
|
+
# Storage Service User Guide*.
|
949
|
+
#
|
950
|
+
# Permissions
|
951
|
+
#
|
952
|
+
# : You must have the `s3tables:GetTableBucket` permission to use this
|
953
|
+
# operation.
|
954
|
+
#
|
955
|
+
#
|
956
|
+
#
|
957
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets-details.html
|
805
958
|
#
|
806
959
|
# @option params [required, String] :table_bucket_arn
|
807
960
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -836,7 +989,17 @@ module Aws::S3Tables
|
|
836
989
|
end
|
837
990
|
|
838
991
|
# Gets details about a maintenance configuration for a given table
|
839
|
-
# bucket.
|
992
|
+
# bucket. For more information, see [Amazon S3 table bucket
|
993
|
+
# maintenance][1] in the *Amazon Simple Storage Service User Guide*.
|
994
|
+
#
|
995
|
+
# Permissions
|
996
|
+
#
|
997
|
+
# : You must have the `s3tables:GetTableBucketMaintenanceConfiguration`
|
998
|
+
# permission to use this operation.
|
999
|
+
#
|
1000
|
+
#
|
1001
|
+
#
|
1002
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html
|
840
1003
|
#
|
841
1004
|
# @option params [required, String] :table_bucket_arn
|
842
1005
|
# The Amazon Resource Name (ARN) of the table bucket associated with the
|
@@ -870,10 +1033,21 @@ module Aws::S3Tables
|
|
870
1033
|
req.send_request(options)
|
871
1034
|
end
|
872
1035
|
|
873
|
-
# Gets details about a table bucket policy.
|
1036
|
+
# Gets details about a table bucket policy. For more information, see
|
1037
|
+
# [Viewing a table bucket policy][1] in the *Amazon Simple Storage
|
1038
|
+
# Service User Guide*.
|
1039
|
+
#
|
1040
|
+
# Permissions
|
1041
|
+
#
|
1042
|
+
# : You must have the `s3tables:GetTableBucketPolicy` permission to use
|
1043
|
+
# this operation.
|
1044
|
+
#
|
1045
|
+
#
|
1046
|
+
#
|
1047
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-get
|
874
1048
|
#
|
875
1049
|
# @option params [required, String] :table_bucket_arn
|
876
|
-
# The Amazon Resource
|
1050
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
877
1051
|
#
|
878
1052
|
# @return [Types::GetTableBucketPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
879
1053
|
#
|
@@ -898,7 +1072,18 @@ module Aws::S3Tables
|
|
898
1072
|
req.send_request(options)
|
899
1073
|
end
|
900
1074
|
|
901
|
-
# Gets details about the maintenance configuration of a table.
|
1075
|
+
# Gets details about the maintenance configuration of a table. For more
|
1076
|
+
# information, see [S3 Tables maintenance][1] in the *Amazon Simple
|
1077
|
+
# Storage Service User Guide*.
|
1078
|
+
#
|
1079
|
+
# Permissions
|
1080
|
+
#
|
1081
|
+
# : You must have the `s3tables:GetTableMaintenanceConfiguration`
|
1082
|
+
# permission to use this operation.
|
1083
|
+
#
|
1084
|
+
#
|
1085
|
+
#
|
1086
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-maintenance.html
|
902
1087
|
#
|
903
1088
|
# @option params [required, String] :table_bucket_arn
|
904
1089
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -940,7 +1125,18 @@ module Aws::S3Tables
|
|
940
1125
|
req.send_request(options)
|
941
1126
|
end
|
942
1127
|
|
943
|
-
# Gets the status of a maintenance job for a table.
|
1128
|
+
# Gets the status of a maintenance job for a table. For more
|
1129
|
+
# information, see [S3 Tables maintenance][1] in the *Amazon Simple
|
1130
|
+
# Storage Service User Guide*.
|
1131
|
+
#
|
1132
|
+
# Permissions
|
1133
|
+
#
|
1134
|
+
# : You must have the `s3tables:GetTableMaintenanceJobStatus` permission
|
1135
|
+
# to use this operation.
|
1136
|
+
#
|
1137
|
+
#
|
1138
|
+
#
|
1139
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-maintenance.html
|
944
1140
|
#
|
945
1141
|
# @option params [required, String] :table_bucket_arn
|
946
1142
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -983,6 +1179,11 @@ module Aws::S3Tables
|
|
983
1179
|
|
984
1180
|
# Gets the location of the table metadata.
|
985
1181
|
#
|
1182
|
+
# Permissions
|
1183
|
+
#
|
1184
|
+
# : You must have the `s3tables:GetTableMetadataLocation` permission to
|
1185
|
+
# use this operation.
|
1186
|
+
#
|
986
1187
|
# @option params [required, String] :table_bucket_arn
|
987
1188
|
# The Amazon Resource Name (ARN) of the table bucket.
|
988
1189
|
#
|
@@ -1021,10 +1222,20 @@ module Aws::S3Tables
|
|
1021
1222
|
req.send_request(options)
|
1022
1223
|
end
|
1023
1224
|
|
1024
|
-
# Gets details about a table policy.
|
1225
|
+
# Gets details about a table policy. For more information, see [Viewing
|
1226
|
+
# a table policy][1] in the *Amazon Simple Storage Service User Guide*.
|
1227
|
+
#
|
1228
|
+
# Permissions
|
1229
|
+
#
|
1230
|
+
# : You must have the `s3tables:GetTablePolicy` permission to use this
|
1231
|
+
# operation.
|
1232
|
+
#
|
1233
|
+
#
|
1234
|
+
#
|
1235
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-get
|
1025
1236
|
#
|
1026
1237
|
# @option params [required, String] :table_bucket_arn
|
1027
|
-
# The Amazon Resource
|
1238
|
+
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
1028
1239
|
# table.
|
1029
1240
|
#
|
1030
1241
|
# @option params [required, String] :namespace
|
@@ -1058,7 +1269,18 @@ module Aws::S3Tables
|
|
1058
1269
|
req.send_request(options)
|
1059
1270
|
end
|
1060
1271
|
|
1061
|
-
# Lists the namespaces within a table bucket.
|
1272
|
+
# Lists the namespaces within a table bucket. For more information, see
|
1273
|
+
# [Table namespaces][1] in the *Amazon Simple Storage Service User
|
1274
|
+
# Guide*.
|
1275
|
+
#
|
1276
|
+
# Permissions
|
1277
|
+
#
|
1278
|
+
# : You must have the `s3tables:ListNamespaces` permission to use this
|
1279
|
+
# operation.
|
1280
|
+
#
|
1281
|
+
#
|
1282
|
+
#
|
1283
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace.html
|
1062
1284
|
#
|
1063
1285
|
# @option params [required, String] :table_bucket_arn
|
1064
1286
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -1110,7 +1332,17 @@ module Aws::S3Tables
|
|
1110
1332
|
req.send_request(options)
|
1111
1333
|
end
|
1112
1334
|
|
1113
|
-
# Lists table buckets for your account.
|
1335
|
+
# Lists table buckets for your account. For more information, see [S3
|
1336
|
+
# Table buckets][1] in the *Amazon Simple Storage Service User Guide*.
|
1337
|
+
#
|
1338
|
+
# Permissions
|
1339
|
+
#
|
1340
|
+
# : You must have the `s3tables:ListTableBuckets` permission to use this
|
1341
|
+
# operation.
|
1342
|
+
#
|
1343
|
+
#
|
1344
|
+
#
|
1345
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets.html
|
1114
1346
|
#
|
1115
1347
|
# @option params [String] :prefix
|
1116
1348
|
# The prefix of the table buckets.
|
@@ -1157,10 +1389,20 @@ module Aws::S3Tables
|
|
1157
1389
|
req.send_request(options)
|
1158
1390
|
end
|
1159
1391
|
|
1160
|
-
# List tables in the given table bucket.
|
1392
|
+
# List tables in the given table bucket. For more information, see [S3
|
1393
|
+
# Tables][1] in the *Amazon Simple Storage Service User Guide*.
|
1394
|
+
#
|
1395
|
+
# Permissions
|
1396
|
+
#
|
1397
|
+
# : You must have the `s3tables:ListTables` permission to use this
|
1398
|
+
# operation.
|
1399
|
+
#
|
1400
|
+
#
|
1401
|
+
#
|
1402
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-tables.html
|
1161
1403
|
#
|
1162
1404
|
# @option params [required, String] :table_bucket_arn
|
1163
|
-
# The Amazon resource
|
1405
|
+
# The Amazon resource Name (ARN) of the table bucket.
|
1164
1406
|
#
|
1165
1407
|
# @option params [String] :namespace
|
1166
1408
|
# The namespace of the tables.
|
@@ -1216,7 +1458,18 @@ module Aws::S3Tables
|
|
1216
1458
|
end
|
1217
1459
|
|
1218
1460
|
# Creates a new maintenance configuration or replaces an existing
|
1219
|
-
# maintenance configuration for a table bucket.
|
1461
|
+
# maintenance configuration for a table bucket. For more information,
|
1462
|
+
# see [Amazon S3 table bucket maintenance][1] in the *Amazon Simple
|
1463
|
+
# Storage Service User Guide*.
|
1464
|
+
#
|
1465
|
+
# Permissions
|
1466
|
+
#
|
1467
|
+
# : You must have the `s3tables:PutTableBucketMaintenanceConfiguration`
|
1468
|
+
# permission to use this operation.
|
1469
|
+
#
|
1470
|
+
#
|
1471
|
+
#
|
1472
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html
|
1220
1473
|
#
|
1221
1474
|
# @option params [required, String] :table_bucket_arn
|
1222
1475
|
# The Amazon Resource Name (ARN) of the table bucket associated with the
|
@@ -1257,13 +1510,24 @@ module Aws::S3Tables
|
|
1257
1510
|
end
|
1258
1511
|
|
1259
1512
|
# Creates a new maintenance configuration or replaces an existing table
|
1260
|
-
# bucket policy for a table bucket.
|
1513
|
+
# bucket policy for a table bucket. For more information, see [Adding a
|
1514
|
+
# table bucket policy][1] in the *Amazon Simple Storage Service User
|
1515
|
+
# Guide*.
|
1516
|
+
#
|
1517
|
+
# Permissions
|
1518
|
+
#
|
1519
|
+
# : You must have the `s3tables:PutTableBucketPolicy` permission to use
|
1520
|
+
# this operation.
|
1521
|
+
#
|
1522
|
+
#
|
1523
|
+
#
|
1524
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-add
|
1261
1525
|
#
|
1262
1526
|
# @option params [required, String] :table_bucket_arn
|
1263
|
-
# The Amazon Resource
|
1527
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
1264
1528
|
#
|
1265
1529
|
# @option params [required, String] :resource_policy
|
1266
|
-
# The
|
1530
|
+
# The `JSON` that defines the policy.
|
1267
1531
|
#
|
1268
1532
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1269
1533
|
#
|
@@ -1284,7 +1548,18 @@ module Aws::S3Tables
|
|
1284
1548
|
end
|
1285
1549
|
|
1286
1550
|
# Creates a new maintenance configuration or replaces an existing
|
1287
|
-
# maintenance configuration for a table.
|
1551
|
+
# maintenance configuration for a table. For more information, see [S3
|
1552
|
+
# Tables maintenance][1] in the *Amazon Simple Storage Service User
|
1553
|
+
# Guide*.
|
1554
|
+
#
|
1555
|
+
# Permissions
|
1556
|
+
#
|
1557
|
+
# : You must have the `s3tables:PutTableMaintenanceConfiguration`
|
1558
|
+
# permission to use this operation.
|
1559
|
+
#
|
1560
|
+
#
|
1561
|
+
#
|
1562
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-maintenance.html
|
1288
1563
|
#
|
1289
1564
|
# @option params [required, String] :table_bucket_arn
|
1290
1565
|
# The Amazon Resource Name (ARN) of the table associated with the
|
@@ -1335,10 +1610,20 @@ module Aws::S3Tables
|
|
1335
1610
|
end
|
1336
1611
|
|
1337
1612
|
# Creates a new maintenance configuration or replaces an existing table
|
1338
|
-
# policy for a table.
|
1613
|
+
# policy for a table. For more information, see [Adding a table
|
1614
|
+
# policy][1] in the *Amazon Simple Storage Service User Guide*.
|
1615
|
+
#
|
1616
|
+
# Permissions
|
1617
|
+
#
|
1618
|
+
# : You must have the `s3tables:PutTablePolicy` permission to use this
|
1619
|
+
# operation.
|
1620
|
+
#
|
1621
|
+
#
|
1622
|
+
#
|
1623
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-add
|
1339
1624
|
#
|
1340
1625
|
# @option params [required, String] :table_bucket_arn
|
1341
|
-
# The Amazon Resource
|
1626
|
+
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
1342
1627
|
# table.
|
1343
1628
|
#
|
1344
1629
|
# @option params [required, String] :namespace
|
@@ -1348,7 +1633,7 @@ module Aws::S3Tables
|
|
1348
1633
|
# The name of the table.
|
1349
1634
|
#
|
1350
1635
|
# @option params [required, String] :resource_policy
|
1351
|
-
# The
|
1636
|
+
# The `JSON` that defines the policy.
|
1352
1637
|
#
|
1353
1638
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1354
1639
|
#
|
@@ -1370,7 +1655,17 @@ module Aws::S3Tables
|
|
1370
1655
|
req.send_request(options)
|
1371
1656
|
end
|
1372
1657
|
|
1373
|
-
# Renames a table or a namespace.
|
1658
|
+
# Renames a table or a namespace. For more information, see [S3
|
1659
|
+
# Tables][1] in the *Amazon Simple Storage Service User Guide*.
|
1660
|
+
#
|
1661
|
+
# Permissions
|
1662
|
+
#
|
1663
|
+
# : You must have the `s3tables:RenameTable` permission to use this
|
1664
|
+
# operation.
|
1665
|
+
#
|
1666
|
+
#
|
1667
|
+
#
|
1668
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-tables.html
|
1374
1669
|
#
|
1375
1670
|
# @option params [required, String] :table_bucket_arn
|
1376
1671
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -1412,7 +1707,16 @@ module Aws::S3Tables
|
|
1412
1707
|
req.send_request(options)
|
1413
1708
|
end
|
1414
1709
|
|
1415
|
-
# Updates the metadata location for a table.
|
1710
|
+
# Updates the metadata location for a table. The metadata location of a
|
1711
|
+
# table must be an S3 URI that begins with the table's warehouse
|
1712
|
+
# location. The metadata location for an Apache Iceberg table must end
|
1713
|
+
# with `.metadata.json`, or if the metadata file is Gzip-compressed,
|
1714
|
+
# `.metadata.json.gz`.
|
1715
|
+
#
|
1716
|
+
# Permissions
|
1717
|
+
#
|
1718
|
+
# : You must have the `s3tables:UpdateTableMetadataLocation` permission
|
1719
|
+
# to use this operation.
|
1416
1720
|
#
|
1417
1721
|
# @option params [required, String] :table_bucket_arn
|
1418
1722
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -1483,7 +1787,7 @@ module Aws::S3Tables
|
|
1483
1787
|
tracer: tracer
|
1484
1788
|
)
|
1485
1789
|
context[:gem_name] = 'aws-sdk-s3tables'
|
1486
|
-
context[:gem_version] = '1.
|
1790
|
+
context[:gem_version] = '1.2.0'
|
1487
1791
|
Seahorse::Client::Request.new(handlers, context)
|
1488
1792
|
end
|
1489
1793
|
|
@@ -17,6 +17,7 @@ module Aws::S3Tables
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
18
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
19
19
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
20
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
20
21
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
21
22
|
CreateNamespaceRequest = Shapes::StructureShape.new(name: 'CreateNamespaceRequest')
|
22
23
|
CreateNamespaceRequestNamespaceList = Shapes::ListShape.new(name: 'CreateNamespaceRequestNamespaceList')
|
@@ -51,6 +52,8 @@ module Aws::S3Tables
|
|
51
52
|
GetTableRequest = Shapes::StructureShape.new(name: 'GetTableRequest')
|
52
53
|
GetTableResponse = Shapes::StructureShape.new(name: 'GetTableResponse')
|
53
54
|
IcebergCompactionSettings = Shapes::StructureShape.new(name: 'IcebergCompactionSettings')
|
55
|
+
IcebergMetadata = Shapes::StructureShape.new(name: 'IcebergMetadata')
|
56
|
+
IcebergSchema = Shapes::StructureShape.new(name: 'IcebergSchema')
|
54
57
|
IcebergSnapshotManagementSettings = Shapes::StructureShape.new(name: 'IcebergSnapshotManagementSettings')
|
55
58
|
IcebergUnreferencedFileRemovalSettings = Shapes::StructureShape.new(name: 'IcebergUnreferencedFileRemovalSettings')
|
56
59
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
@@ -83,6 +86,8 @@ module Aws::S3Tables
|
|
83
86
|
PutTablePolicyRequest = Shapes::StructureShape.new(name: 'PutTablePolicyRequest')
|
84
87
|
RenameTableRequest = Shapes::StructureShape.new(name: 'RenameTableRequest')
|
85
88
|
ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
|
89
|
+
SchemaField = Shapes::StructureShape.new(name: 'SchemaField')
|
90
|
+
SchemaFieldList = Shapes::ListShape.new(name: 'SchemaFieldList')
|
86
91
|
String = Shapes::StringShape.new(name: 'String')
|
87
92
|
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
88
93
|
TableARN = Shapes::StringShape.new(name: 'TableARN')
|
@@ -101,6 +106,7 @@ module Aws::S3Tables
|
|
101
106
|
TableMaintenanceJobType = Shapes::StringShape.new(name: 'TableMaintenanceJobType')
|
102
107
|
TableMaintenanceSettings = Shapes::UnionShape.new(name: 'TableMaintenanceSettings')
|
103
108
|
TableMaintenanceType = Shapes::StringShape.new(name: 'TableMaintenanceType')
|
109
|
+
TableMetadata = Shapes::UnionShape.new(name: 'TableMetadata')
|
104
110
|
TableName = Shapes::StringShape.new(name: 'TableName')
|
105
111
|
TableSummary = Shapes::StructureShape.new(name: 'TableSummary')
|
106
112
|
TableSummaryList = Shapes::ListShape.new(name: 'TableSummaryList')
|
@@ -140,6 +146,7 @@ module Aws::S3Tables
|
|
140
146
|
CreateTableRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location: "uri", location_name: "namespace"))
|
141
147
|
CreateTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "name"))
|
142
148
|
CreateTableRequest.add_member(:format, Shapes::ShapeRef.new(shape: OpenTableFormat, required: true, location_name: "format"))
|
149
|
+
CreateTableRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: TableMetadata, location_name: "metadata"))
|
143
150
|
CreateTableRequest.struct_class = Types::CreateTableRequest
|
144
151
|
|
145
152
|
CreateTableResponse.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableARN, required: true, location_name: "tableARN"))
|
@@ -262,6 +269,12 @@ module Aws::S3Tables
|
|
262
269
|
IcebergCompactionSettings.add_member(:target_file_size_mb, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "targetFileSizeMB"))
|
263
270
|
IcebergCompactionSettings.struct_class = Types::IcebergCompactionSettings
|
264
271
|
|
272
|
+
IcebergMetadata.add_member(:schema, Shapes::ShapeRef.new(shape: IcebergSchema, required: true, location_name: "schema"))
|
273
|
+
IcebergMetadata.struct_class = Types::IcebergMetadata
|
274
|
+
|
275
|
+
IcebergSchema.add_member(:fields, Shapes::ShapeRef.new(shape: SchemaFieldList, required: true, location_name: "fields"))
|
276
|
+
IcebergSchema.struct_class = Types::IcebergSchema
|
277
|
+
|
265
278
|
IcebergSnapshotManagementSettings.add_member(:min_snapshots_to_keep, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "minSnapshotsToKeep"))
|
266
279
|
IcebergSnapshotManagementSettings.add_member(:max_snapshot_age_hours, Shapes::ShapeRef.new(shape: PositiveInteger, location_name: "maxSnapshotAgeHours"))
|
267
280
|
IcebergSnapshotManagementSettings.struct_class = Types::IcebergSnapshotManagementSettings
|
@@ -346,6 +359,13 @@ module Aws::S3Tables
|
|
346
359
|
RenameTableRequest.add_member(:version_token, Shapes::ShapeRef.new(shape: VersionToken, location_name: "versionToken"))
|
347
360
|
RenameTableRequest.struct_class = Types::RenameTableRequest
|
348
361
|
|
362
|
+
SchemaField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
363
|
+
SchemaField.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
|
364
|
+
SchemaField.add_member(:required, Shapes::ShapeRef.new(shape: Boolean, location_name: "required"))
|
365
|
+
SchemaField.struct_class = Types::SchemaField
|
366
|
+
|
367
|
+
SchemaFieldList.member = Shapes::ShapeRef.new(shape: SchemaField)
|
368
|
+
|
349
369
|
TableBucketMaintenanceConfiguration.key = Shapes::ShapeRef.new(shape: TableBucketMaintenanceType)
|
350
370
|
TableBucketMaintenanceConfiguration.value = Shapes::ShapeRef.new(shape: TableBucketMaintenanceConfigurationValue)
|
351
371
|
|
@@ -390,6 +410,12 @@ module Aws::S3Tables
|
|
390
410
|
TableMaintenanceSettings.add_member_subclass(:unknown, Types::TableMaintenanceSettings::Unknown)
|
391
411
|
TableMaintenanceSettings.struct_class = Types::TableMaintenanceSettings
|
392
412
|
|
413
|
+
TableMetadata.add_member(:iceberg, Shapes::ShapeRef.new(shape: IcebergMetadata, location_name: "iceberg"))
|
414
|
+
TableMetadata.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
415
|
+
TableMetadata.add_member_subclass(:iceberg, Types::TableMetadata::Iceberg)
|
416
|
+
TableMetadata.add_member_subclass(:unknown, Types::TableMetadata::Unknown)
|
417
|
+
TableMetadata.struct_class = Types::TableMetadata
|
418
|
+
|
393
419
|
TableSummary.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceList, required: true, location_name: "namespace"))
|
394
420
|
TableSummary.add_member(:name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "name"))
|
395
421
|
TableSummary.add_member(:type, Shapes::ShapeRef.new(shape: TableType, required: true, location_name: "type"))
|
@@ -128,13 +128,18 @@ module Aws::S3Tables
|
|
128
128
|
# The format for the table.
|
129
129
|
# @return [String]
|
130
130
|
#
|
131
|
+
# @!attribute [rw] metadata
|
132
|
+
# The metadata for the table.
|
133
|
+
# @return [Types::TableMetadata]
|
134
|
+
#
|
131
135
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/CreateTableRequest AWS API Documentation
|
132
136
|
#
|
133
137
|
class CreateTableRequest < Struct.new(
|
134
138
|
:table_bucket_arn,
|
135
139
|
:namespace,
|
136
140
|
:name,
|
137
|
-
:format
|
141
|
+
:format,
|
142
|
+
:metadata)
|
138
143
|
SENSITIVE = []
|
139
144
|
include Aws::Structure
|
140
145
|
end
|
@@ -175,7 +180,7 @@ module Aws::S3Tables
|
|
175
180
|
end
|
176
181
|
|
177
182
|
# @!attribute [rw] table_bucket_arn
|
178
|
-
# The Amazon Resource
|
183
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
179
184
|
# @return [String]
|
180
185
|
#
|
181
186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/DeleteTableBucketPolicyRequest AWS API Documentation
|
@@ -199,8 +204,8 @@ module Aws::S3Tables
|
|
199
204
|
end
|
200
205
|
|
201
206
|
# @!attribute [rw] table_bucket_arn
|
202
|
-
# The Amazon Resource
|
203
|
-
#
|
207
|
+
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
208
|
+
# table.
|
204
209
|
# @return [String]
|
205
210
|
#
|
206
211
|
# @!attribute [rw] namespace
|
@@ -338,7 +343,7 @@ module Aws::S3Tables
|
|
338
343
|
end
|
339
344
|
|
340
345
|
# @!attribute [rw] table_bucket_arn
|
341
|
-
# The Amazon Resource
|
346
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
342
347
|
# @return [String]
|
343
348
|
#
|
344
349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketPolicyRequest AWS API Documentation
|
@@ -350,7 +355,7 @@ module Aws::S3Tables
|
|
350
355
|
end
|
351
356
|
|
352
357
|
# @!attribute [rw] resource_policy
|
353
|
-
# The
|
358
|
+
# The `JSON` that defines the policy.
|
354
359
|
# @return [String]
|
355
360
|
#
|
356
361
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketPolicyResponse AWS API Documentation
|
@@ -523,8 +528,8 @@ module Aws::S3Tables
|
|
523
528
|
end
|
524
529
|
|
525
530
|
# @!attribute [rw] table_bucket_arn
|
526
|
-
# The Amazon Resource
|
527
|
-
#
|
531
|
+
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
532
|
+
# table.
|
528
533
|
# @return [String]
|
529
534
|
#
|
530
535
|
# @!attribute [rw] namespace
|
@@ -546,7 +551,7 @@ module Aws::S3Tables
|
|
546
551
|
end
|
547
552
|
|
548
553
|
# @!attribute [rw] resource_policy
|
549
|
-
# The
|
554
|
+
# The `JSON` that defines the policy.
|
550
555
|
# @return [String]
|
551
556
|
#
|
552
557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTablePolicyResponse AWS API Documentation
|
@@ -671,6 +676,34 @@ module Aws::S3Tables
|
|
671
676
|
include Aws::Structure
|
672
677
|
end
|
673
678
|
|
679
|
+
# Contains details about the metadata for an Iceberg table.
|
680
|
+
#
|
681
|
+
# @!attribute [rw] schema
|
682
|
+
# The schema for an Iceberg table.
|
683
|
+
# @return [Types::IcebergSchema]
|
684
|
+
#
|
685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/IcebergMetadata AWS API Documentation
|
686
|
+
#
|
687
|
+
class IcebergMetadata < Struct.new(
|
688
|
+
:schema)
|
689
|
+
SENSITIVE = []
|
690
|
+
include Aws::Structure
|
691
|
+
end
|
692
|
+
|
693
|
+
# Contains details about the schema for an Iceberg table.
|
694
|
+
#
|
695
|
+
# @!attribute [rw] fields
|
696
|
+
# The schema fields for the table
|
697
|
+
# @return [Array<Types::SchemaField>]
|
698
|
+
#
|
699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/IcebergSchema AWS API Documentation
|
700
|
+
#
|
701
|
+
class IcebergSchema < Struct.new(
|
702
|
+
:fields)
|
703
|
+
SENSITIVE = []
|
704
|
+
include Aws::Structure
|
705
|
+
end
|
706
|
+
|
674
707
|
# Contains details about the snapshot management settings for an Iceberg
|
675
708
|
# table. The oldest snapshot expires when its age exceeds the
|
676
709
|
# `maxSnapshotAgeHours` and the total number of snapshots exceeds the
|
@@ -820,7 +853,7 @@ module Aws::S3Tables
|
|
820
853
|
end
|
821
854
|
|
822
855
|
# @!attribute [rw] table_bucket_arn
|
823
|
-
# The Amazon resource
|
856
|
+
# The Amazon resource Name (ARN) of the table bucket.
|
824
857
|
# @return [String]
|
825
858
|
#
|
826
859
|
# @!attribute [rw] namespace
|
@@ -940,11 +973,11 @@ module Aws::S3Tables
|
|
940
973
|
end
|
941
974
|
|
942
975
|
# @!attribute [rw] table_bucket_arn
|
943
|
-
# The Amazon Resource
|
976
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
944
977
|
# @return [String]
|
945
978
|
#
|
946
979
|
# @!attribute [rw] resource_policy
|
947
|
-
# The
|
980
|
+
# The `JSON` that defines the policy.
|
948
981
|
# @return [String]
|
949
982
|
#
|
950
983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutTableBucketPolicyRequest AWS API Documentation
|
@@ -990,8 +1023,8 @@ module Aws::S3Tables
|
|
990
1023
|
end
|
991
1024
|
|
992
1025
|
# @!attribute [rw] table_bucket_arn
|
993
|
-
# The Amazon Resource
|
994
|
-
#
|
1026
|
+
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
1027
|
+
# table.
|
995
1028
|
# @return [String]
|
996
1029
|
#
|
997
1030
|
# @!attribute [rw] namespace
|
@@ -1003,7 +1036,7 @@ module Aws::S3Tables
|
|
1003
1036
|
# @return [String]
|
1004
1037
|
#
|
1005
1038
|
# @!attribute [rw] resource_policy
|
1006
|
-
# The
|
1039
|
+
# The `JSON` that defines the policy.
|
1007
1040
|
# @return [String]
|
1008
1041
|
#
|
1009
1042
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutTablePolicyRequest AWS API Documentation
|
@@ -1054,6 +1087,39 @@ module Aws::S3Tables
|
|
1054
1087
|
include Aws::Structure
|
1055
1088
|
end
|
1056
1089
|
|
1090
|
+
# Contains details about a schema field.
|
1091
|
+
#
|
1092
|
+
# @!attribute [rw] name
|
1093
|
+
# The name of the field.
|
1094
|
+
# @return [String]
|
1095
|
+
#
|
1096
|
+
# @!attribute [rw] type
|
1097
|
+
# The field type. S3 Tables supports all Apache Iceberg primitive
|
1098
|
+
# types. For more information, see the [Apache Iceberg
|
1099
|
+
# documentation][1].
|
1100
|
+
#
|
1101
|
+
#
|
1102
|
+
#
|
1103
|
+
# [1]: https://iceberg.apache.org/spec/#primitive-types
|
1104
|
+
# @return [String]
|
1105
|
+
#
|
1106
|
+
# @!attribute [rw] required
|
1107
|
+
# A Boolean value that specifies whether values are required for each
|
1108
|
+
# row in this field. By default, this is `false` and null values are
|
1109
|
+
# allowed in the field. If this is `true` the field does not allow
|
1110
|
+
# null values.
|
1111
|
+
# @return [Boolean]
|
1112
|
+
#
|
1113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/SchemaField AWS API Documentation
|
1114
|
+
#
|
1115
|
+
class SchemaField < Struct.new(
|
1116
|
+
:name,
|
1117
|
+
:type,
|
1118
|
+
:required)
|
1119
|
+
SENSITIVE = []
|
1120
|
+
include Aws::Structure
|
1121
|
+
end
|
1122
|
+
|
1057
1123
|
# Details about the values that define the maintenance configuration for
|
1058
1124
|
# a table bucket.
|
1059
1125
|
#
|
@@ -1101,7 +1167,7 @@ module Aws::S3Tables
|
|
1101
1167
|
# Contains details about a table bucket.
|
1102
1168
|
#
|
1103
1169
|
# @!attribute [rw] arn
|
1104
|
-
# The Amazon Resource
|
1170
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
1105
1171
|
# @return [String]
|
1106
1172
|
#
|
1107
1173
|
# @!attribute [rw] name
|
@@ -1203,6 +1269,27 @@ module Aws::S3Tables
|
|
1203
1269
|
class Unknown < TableMaintenanceSettings; end
|
1204
1270
|
end
|
1205
1271
|
|
1272
|
+
# Contains details about the table metadata.
|
1273
|
+
#
|
1274
|
+
# @note TableMetadata is a union - when making an API calls you must set exactly one of the members.
|
1275
|
+
#
|
1276
|
+
# @!attribute [rw] iceberg
|
1277
|
+
# Contains details about the metadata of an Iceberg table.
|
1278
|
+
# @return [Types::IcebergMetadata]
|
1279
|
+
#
|
1280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/TableMetadata AWS API Documentation
|
1281
|
+
#
|
1282
|
+
class TableMetadata < Struct.new(
|
1283
|
+
:iceberg,
|
1284
|
+
:unknown)
|
1285
|
+
SENSITIVE = []
|
1286
|
+
include Aws::Structure
|
1287
|
+
include Aws::Structure::Union
|
1288
|
+
|
1289
|
+
class Iceberg < TableMetadata; end
|
1290
|
+
class Unknown < TableMetadata; end
|
1291
|
+
end
|
1292
|
+
|
1206
1293
|
# Contains details about a table.
|
1207
1294
|
#
|
1208
1295
|
# @!attribute [rw] namespace
|
@@ -1218,7 +1305,7 @@ module Aws::S3Tables
|
|
1218
1305
|
# @return [String]
|
1219
1306
|
#
|
1220
1307
|
# @!attribute [rw] table_arn
|
1221
|
-
# The Amazon Resource
|
1308
|
+
# The Amazon Resource Name (ARN) of the table.
|
1222
1309
|
# @return [String]
|
1223
1310
|
#
|
1224
1311
|
# @!attribute [rw] created_at
|
@@ -1292,7 +1379,7 @@ module Aws::S3Tables
|
|
1292
1379
|
# @return [String]
|
1293
1380
|
#
|
1294
1381
|
# @!attribute [rw] table_arn
|
1295
|
-
# The Amazon Resource
|
1382
|
+
# The Amazon Resource Name (ARN) of the table.
|
1296
1383
|
# @return [String]
|
1297
1384
|
#
|
1298
1385
|
# @!attribute [rw] namespace
|
data/lib/aws-sdk-s3tables.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -97,7 +99,20 @@ module Aws
|
|
97
99
|
table_bucket_arn: ::String,
|
98
100
|
namespace: ::String,
|
99
101
|
name: ::String,
|
100
|
-
format: ("ICEBERG")
|
102
|
+
format: ("ICEBERG"),
|
103
|
+
?metadata: {
|
104
|
+
iceberg: {
|
105
|
+
schema: {
|
106
|
+
fields: Array[
|
107
|
+
{
|
108
|
+
name: ::String,
|
109
|
+
type: ::String,
|
110
|
+
required: bool?
|
111
|
+
},
|
112
|
+
]
|
113
|
+
}
|
114
|
+
}?
|
115
|
+
}
|
101
116
|
) -> _CreateTableResponseSuccess
|
102
117
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
|
103
118
|
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/types.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws::S3Tables
|
|
50
50
|
attr_accessor namespace: ::String
|
51
51
|
attr_accessor name: ::String
|
52
52
|
attr_accessor format: ("ICEBERG")
|
53
|
+
attr_accessor metadata: Types::TableMetadata
|
53
54
|
SENSITIVE: []
|
54
55
|
end
|
55
56
|
|
@@ -225,6 +226,16 @@ module Aws::S3Tables
|
|
225
226
|
SENSITIVE: []
|
226
227
|
end
|
227
228
|
|
229
|
+
class IcebergMetadata
|
230
|
+
attr_accessor schema: Types::IcebergSchema
|
231
|
+
SENSITIVE: []
|
232
|
+
end
|
233
|
+
|
234
|
+
class IcebergSchema
|
235
|
+
attr_accessor fields: ::Array[Types::SchemaField]
|
236
|
+
SENSITIVE: []
|
237
|
+
end
|
238
|
+
|
228
239
|
class IcebergSnapshotManagementSettings
|
229
240
|
attr_accessor min_snapshots_to_keep: ::Integer
|
230
241
|
attr_accessor max_snapshot_age_hours: ::Integer
|
@@ -337,6 +348,13 @@ module Aws::S3Tables
|
|
337
348
|
SENSITIVE: []
|
338
349
|
end
|
339
350
|
|
351
|
+
class SchemaField
|
352
|
+
attr_accessor name: ::String
|
353
|
+
attr_accessor type: ::String
|
354
|
+
attr_accessor required: bool
|
355
|
+
SENSITIVE: []
|
356
|
+
end
|
357
|
+
|
340
358
|
class TableBucketMaintenanceConfigurationValue
|
341
359
|
attr_accessor status: ("enabled" | "disabled")
|
342
360
|
attr_accessor settings: Types::TableBucketMaintenanceSettings
|
@@ -389,6 +407,17 @@ module Aws::S3Tables
|
|
389
407
|
end
|
390
408
|
end
|
391
409
|
|
410
|
+
class TableMetadata
|
411
|
+
attr_accessor iceberg: Types::IcebergMetadata
|
412
|
+
attr_accessor unknown: untyped
|
413
|
+
SENSITIVE: []
|
414
|
+
|
415
|
+
class Iceberg < TableMetadata
|
416
|
+
end
|
417
|
+
class Unknown < TableMetadata
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
392
421
|
class TableSummary
|
393
422
|
attr_accessor namespace: ::Array[::String]
|
394
423
|
attr_accessor name: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3tables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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:
|
11
|
+
date: 2025-01-30 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.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|