aws-sdk-s3tables 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3tables/client.rb +317 -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 +14 -1
- data/sig/types.rbs +29 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 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,11 @@
|
|
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
|
+
|
4
9
|
1.1.0 (2025-01-15)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -472,11 +472,17 @@ module Aws::S3Tables
|
|
472
472
|
|
473
473
|
# Creates a namespace. A namespace is a logical grouping of tables
|
474
474
|
# within your table bucket, which you can use to organize tables. For
|
475
|
-
# more information, see [
|
475
|
+
# more information, see [Create a namespace][1] in the *Amazon Simple
|
476
|
+
# Storage Service User Guide*.
|
476
477
|
#
|
478
|
+
# Permissions
|
477
479
|
#
|
480
|
+
# : You must have the `s3tables:CreateNamespace` permission to use this
|
481
|
+
# operation.
|
478
482
|
#
|
479
|
-
#
|
483
|
+
#
|
484
|
+
#
|
485
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace-create.html
|
480
486
|
#
|
481
487
|
# @option params [required, String] :table_bucket_arn
|
482
488
|
# The Amazon Resource Name (ARN) of the table bucket to create the
|
@@ -513,7 +519,23 @@ module Aws::S3Tables
|
|
513
519
|
end
|
514
520
|
|
515
521
|
# Creates a new table associated with the given namespace in a table
|
516
|
-
# 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
|
517
539
|
#
|
518
540
|
# @option params [required, String] :table_bucket_arn
|
519
541
|
# The Amazon Resource Name (ARN) of the table bucket to create the table
|
@@ -528,6 +550,9 @@ module Aws::S3Tables
|
|
528
550
|
# @option params [required, String] :format
|
529
551
|
# The format for the table.
|
530
552
|
#
|
553
|
+
# @option params [Types::TableMetadata] :metadata
|
554
|
+
# The metadata for the table.
|
555
|
+
#
|
531
556
|
# @return [Types::CreateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
532
557
|
#
|
533
558
|
# * {Types::CreateTableResponse#table_arn #table_arn} => String
|
@@ -540,6 +565,19 @@ module Aws::S3Tables
|
|
540
565
|
# namespace: "NamespaceName", # required
|
541
566
|
# name: "TableName", # required
|
542
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
|
+
# },
|
543
581
|
# })
|
544
582
|
#
|
545
583
|
# @example Response structure
|
@@ -556,7 +594,17 @@ module Aws::S3Tables
|
|
556
594
|
req.send_request(options)
|
557
595
|
end
|
558
596
|
|
559
|
-
# 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
|
560
608
|
#
|
561
609
|
# @option params [required, String] :name
|
562
610
|
# The name for the table bucket.
|
@@ -584,7 +632,17 @@ module Aws::S3Tables
|
|
584
632
|
req.send_request(options)
|
585
633
|
end
|
586
634
|
|
587
|
-
# 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
|
588
646
|
#
|
589
647
|
# @option params [required, String] :table_bucket_arn
|
590
648
|
# The Amazon Resource Name (ARN) of the table bucket associated with the
|
@@ -611,7 +669,17 @@ module Aws::S3Tables
|
|
611
669
|
req.send_request(options)
|
612
670
|
end
|
613
671
|
|
614
|
-
# 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
|
615
683
|
#
|
616
684
|
# @option params [required, String] :table_bucket_arn
|
617
685
|
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
@@ -646,7 +714,17 @@ module Aws::S3Tables
|
|
646
714
|
req.send_request(options)
|
647
715
|
end
|
648
716
|
|
649
|
-
# 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
|
650
728
|
#
|
651
729
|
# @option params [required, String] :table_bucket_arn
|
652
730
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -668,10 +746,21 @@ module Aws::S3Tables
|
|
668
746
|
req.send_request(options)
|
669
747
|
end
|
670
748
|
|
671
|
-
# 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
|
672
761
|
#
|
673
762
|
# @option params [required, String] :table_bucket_arn
|
674
|
-
# The Amazon Resource
|
763
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
675
764
|
#
|
676
765
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
677
766
|
#
|
@@ -690,10 +779,20 @@ module Aws::S3Tables
|
|
690
779
|
req.send_request(options)
|
691
780
|
end
|
692
781
|
|
693
|
-
# 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
|
694
793
|
#
|
695
794
|
# @option params [required, String] :table_bucket_arn
|
696
|
-
# The Amazon Resource
|
795
|
+
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
697
796
|
# table.
|
698
797
|
#
|
699
798
|
# @option params [required, String] :namespace
|
@@ -721,7 +820,17 @@ module Aws::S3Tables
|
|
721
820
|
req.send_request(options)
|
722
821
|
end
|
723
822
|
|
724
|
-
# 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
|
725
834
|
#
|
726
835
|
# @option params [required, String] :table_bucket_arn
|
727
836
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -760,7 +869,17 @@ module Aws::S3Tables
|
|
760
869
|
req.send_request(options)
|
761
870
|
end
|
762
871
|
|
763
|
-
# 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
|
764
883
|
#
|
765
884
|
# @option params [required, String] :table_bucket_arn
|
766
885
|
# The Amazon Resource Name (ARN) of the table bucket associated with the
|
@@ -824,7 +943,18 @@ module Aws::S3Tables
|
|
824
943
|
req.send_request(options)
|
825
944
|
end
|
826
945
|
|
827
|
-
# 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
|
828
958
|
#
|
829
959
|
# @option params [required, String] :table_bucket_arn
|
830
960
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -859,7 +989,17 @@ module Aws::S3Tables
|
|
859
989
|
end
|
860
990
|
|
861
991
|
# Gets details about a maintenance configuration for a given table
|
862
|
-
# 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
|
863
1003
|
#
|
864
1004
|
# @option params [required, String] :table_bucket_arn
|
865
1005
|
# The Amazon Resource Name (ARN) of the table bucket associated with the
|
@@ -893,10 +1033,21 @@ module Aws::S3Tables
|
|
893
1033
|
req.send_request(options)
|
894
1034
|
end
|
895
1035
|
|
896
|
-
# 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
|
897
1048
|
#
|
898
1049
|
# @option params [required, String] :table_bucket_arn
|
899
|
-
# The Amazon Resource
|
1050
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
900
1051
|
#
|
901
1052
|
# @return [Types::GetTableBucketPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
902
1053
|
#
|
@@ -921,7 +1072,18 @@ module Aws::S3Tables
|
|
921
1072
|
req.send_request(options)
|
922
1073
|
end
|
923
1074
|
|
924
|
-
# 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
|
925
1087
|
#
|
926
1088
|
# @option params [required, String] :table_bucket_arn
|
927
1089
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -963,7 +1125,18 @@ module Aws::S3Tables
|
|
963
1125
|
req.send_request(options)
|
964
1126
|
end
|
965
1127
|
|
966
|
-
# 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
|
967
1140
|
#
|
968
1141
|
# @option params [required, String] :table_bucket_arn
|
969
1142
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -1006,6 +1179,11 @@ module Aws::S3Tables
|
|
1006
1179
|
|
1007
1180
|
# Gets the location of the table metadata.
|
1008
1181
|
#
|
1182
|
+
# Permissions
|
1183
|
+
#
|
1184
|
+
# : You must have the `s3tables:GetTableMetadataLocation` permission to
|
1185
|
+
# use this operation.
|
1186
|
+
#
|
1009
1187
|
# @option params [required, String] :table_bucket_arn
|
1010
1188
|
# The Amazon Resource Name (ARN) of the table bucket.
|
1011
1189
|
#
|
@@ -1044,10 +1222,20 @@ module Aws::S3Tables
|
|
1044
1222
|
req.send_request(options)
|
1045
1223
|
end
|
1046
1224
|
|
1047
|
-
# 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
|
1048
1236
|
#
|
1049
1237
|
# @option params [required, String] :table_bucket_arn
|
1050
|
-
# The Amazon Resource
|
1238
|
+
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
1051
1239
|
# table.
|
1052
1240
|
#
|
1053
1241
|
# @option params [required, String] :namespace
|
@@ -1081,7 +1269,18 @@ module Aws::S3Tables
|
|
1081
1269
|
req.send_request(options)
|
1082
1270
|
end
|
1083
1271
|
|
1084
|
-
# 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
|
1085
1284
|
#
|
1086
1285
|
# @option params [required, String] :table_bucket_arn
|
1087
1286
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -1133,7 +1332,17 @@ module Aws::S3Tables
|
|
1133
1332
|
req.send_request(options)
|
1134
1333
|
end
|
1135
1334
|
|
1136
|
-
# 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
|
1137
1346
|
#
|
1138
1347
|
# @option params [String] :prefix
|
1139
1348
|
# The prefix of the table buckets.
|
@@ -1180,10 +1389,20 @@ module Aws::S3Tables
|
|
1180
1389
|
req.send_request(options)
|
1181
1390
|
end
|
1182
1391
|
|
1183
|
-
# 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
|
1184
1403
|
#
|
1185
1404
|
# @option params [required, String] :table_bucket_arn
|
1186
|
-
# The Amazon resource
|
1405
|
+
# The Amazon resource Name (ARN) of the table bucket.
|
1187
1406
|
#
|
1188
1407
|
# @option params [String] :namespace
|
1189
1408
|
# The namespace of the tables.
|
@@ -1239,7 +1458,18 @@ module Aws::S3Tables
|
|
1239
1458
|
end
|
1240
1459
|
|
1241
1460
|
# Creates a new maintenance configuration or replaces an existing
|
1242
|
-
# 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
|
1243
1473
|
#
|
1244
1474
|
# @option params [required, String] :table_bucket_arn
|
1245
1475
|
# The Amazon Resource Name (ARN) of the table bucket associated with the
|
@@ -1280,13 +1510,24 @@ module Aws::S3Tables
|
|
1280
1510
|
end
|
1281
1511
|
|
1282
1512
|
# Creates a new maintenance configuration or replaces an existing table
|
1283
|
-
# 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
|
1284
1525
|
#
|
1285
1526
|
# @option params [required, String] :table_bucket_arn
|
1286
|
-
# The Amazon Resource
|
1527
|
+
# The Amazon Resource Name (ARN) of the table bucket.
|
1287
1528
|
#
|
1288
1529
|
# @option params [required, String] :resource_policy
|
1289
|
-
# The
|
1530
|
+
# The `JSON` that defines the policy.
|
1290
1531
|
#
|
1291
1532
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1292
1533
|
#
|
@@ -1307,7 +1548,18 @@ module Aws::S3Tables
|
|
1307
1548
|
end
|
1308
1549
|
|
1309
1550
|
# Creates a new maintenance configuration or replaces an existing
|
1310
|
-
# 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
|
1311
1563
|
#
|
1312
1564
|
# @option params [required, String] :table_bucket_arn
|
1313
1565
|
# The Amazon Resource Name (ARN) of the table associated with the
|
@@ -1358,10 +1610,20 @@ module Aws::S3Tables
|
|
1358
1610
|
end
|
1359
1611
|
|
1360
1612
|
# Creates a new maintenance configuration or replaces an existing table
|
1361
|
-
# 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
|
1362
1624
|
#
|
1363
1625
|
# @option params [required, String] :table_bucket_arn
|
1364
|
-
# The Amazon Resource
|
1626
|
+
# The Amazon Resource Name (ARN) of the table bucket that contains the
|
1365
1627
|
# table.
|
1366
1628
|
#
|
1367
1629
|
# @option params [required, String] :namespace
|
@@ -1371,7 +1633,7 @@ module Aws::S3Tables
|
|
1371
1633
|
# The name of the table.
|
1372
1634
|
#
|
1373
1635
|
# @option params [required, String] :resource_policy
|
1374
|
-
# The
|
1636
|
+
# The `JSON` that defines the policy.
|
1375
1637
|
#
|
1376
1638
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1377
1639
|
#
|
@@ -1393,7 +1655,17 @@ module Aws::S3Tables
|
|
1393
1655
|
req.send_request(options)
|
1394
1656
|
end
|
1395
1657
|
|
1396
|
-
# 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
|
1397
1669
|
#
|
1398
1670
|
# @option params [required, String] :table_bucket_arn
|
1399
1671
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -1435,7 +1707,16 @@ module Aws::S3Tables
|
|
1435
1707
|
req.send_request(options)
|
1436
1708
|
end
|
1437
1709
|
|
1438
|
-
# 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.
|
1439
1720
|
#
|
1440
1721
|
# @option params [required, String] :table_bucket_arn
|
1441
1722
|
# The Amazon Resource Name (ARN) of the table bucket.
|
@@ -1506,7 +1787,7 @@ module Aws::S3Tables
|
|
1506
1787
|
tracer: tracer
|
1507
1788
|
)
|
1508
1789
|
context[:gem_name] = 'aws-sdk-s3tables'
|
1509
|
-
context[:gem_version] = '1.
|
1790
|
+
context[:gem_version] = '1.2.0'
|
1510
1791
|
Seahorse::Client::Request.new(handlers, context)
|
1511
1792
|
end
|
1512
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
@@ -99,7 +99,20 @@ module Aws
|
|
99
99
|
table_bucket_arn: ::String,
|
100
100
|
namespace: ::String,
|
101
101
|
name: ::String,
|
102
|
-
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
|
+
}
|
103
116
|
) -> _CreateTableResponseSuccess
|
104
117
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
|
105
118
|
|
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: 2025-01-
|
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
|