aws-sdk-s3tables 1.18.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d75240d10f13ae1abee00e33cf26ee91012dac10ffbc05e4e18adf08a6f8c75
4
- data.tar.gz: 07aef9a2896a5cc5004b05386aceae17506fc61302fe20ae10d049cc882b0ac9
3
+ metadata.gz: 0f558d0d8e5cfb9597493100d51999a621020a68e24eb716d70934dcdd71e1e7
4
+ data.tar.gz: f01a45f7cfe86dfeceed10e964a5b2feb98f1fd05484816e044e9826644fda2e
5
5
  SHA512:
6
- metadata.gz: e4b22ca5cb4a3b0c760c03660765cd5175b892b7b00d1835d58f511218ae21f52651d715ee076c900532068b04679b41556bc5fa165d1fd8d37aa2be6fe07ec8
7
- data.tar.gz: bd13b44dd0772b1dfbf7844172aed2a389a53a21e1c37045cd610e60525244554cd39ccac4935323e9cafe7cf8aeeb208e7e0118dc2cbcbff58ad0117c88d7dc
6
+ metadata.gz: d2574f0d3b69e5a7a7481411f881539934e4bfd9bbb567f1ac30de97c42b466ff878da3988f70fb0bd469e8bb56b1ef6cb83c93aaa12aa78c0abd59c029206b1
7
+ data.tar.gz: f365b748ab50785a0bfa4661e4407826ec25ccc959a482c3ddd4792ab035ce1245226deca4d2477408c6a31c24de2bf1451817823e4c5df0b17289414fd67cc2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2025-11-12)
5
+ ------------------
6
+
7
+ * Feature - Adds support for request metrics metrics APIs for S3 Tables
8
+
9
+ 1.19.0 (2025-11-06)
10
+ ------------------
11
+
12
+ * Feature - Adds support for tagging APIs for S3 Tables
13
+
4
14
  1.18.0 (2025-10-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.20.0
@@ -539,6 +539,9 @@ module Aws::S3Tables
539
539
  # `encryptionConfiguration` request parameter you must have the
540
540
  # `s3tables:PutTableEncryption` permission.
541
541
  #
542
+ # * You must have the `s3tables:TagResource` permission in addition to
543
+ # `s3tables:CreateTable` permission to create a table with tags.
544
+ #
542
545
  # <note markdown="1"> Additionally, If you choose SSE-KMS encryption you must grant the S3
543
546
  # Tables maintenance principal access to your KMS key. For more
544
547
  # information, see [Permissions requirements for S3 Tables SSE-KMS
@@ -582,6 +585,22 @@ module Aws::S3Tables
582
585
  #
583
586
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html
584
587
  #
588
+ # @option params [Hash<String,String>] :tags
589
+ # A map of user-defined tags that you would like to apply to the table
590
+ # that you are creating. A tag is a key-value pair that you apply to
591
+ # your resources. Tags can help you organize, track costs for, and
592
+ # control access to resources. For more information, see [Tagging for
593
+ # cost allocation or attribute-based access control (ABAC)][1].
594
+ #
595
+ # <note markdown="1"> You must have the `s3tables:TagResource` permission in addition to
596
+ # `s3tables:CreateTable` permission to create a table with tags.
597
+ #
598
+ # </note>
599
+ #
600
+ #
601
+ #
602
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
603
+ #
585
604
  # @return [Types::CreateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
586
605
  #
587
606
  # * {Types::CreateTableResponse#table_arn #table_arn} => String
@@ -611,6 +630,9 @@ module Aws::S3Tables
611
630
  # sse_algorithm: "AES256", # required, accepts AES256, aws:kms
612
631
  # kms_key_arn: "EncryptionConfigurationKmsKeyArnString",
613
632
  # },
633
+ # tags: {
634
+ # "TagKey" => "TagValue",
635
+ # },
614
636
  # })
615
637
  #
616
638
  # @example Response structure
@@ -638,6 +660,10 @@ module Aws::S3Tables
638
660
  # `encryptionConfiguration` parameter you must have the
639
661
  # `s3tables:PutTableBucketEncryption` permission.
640
662
  #
663
+ # * You must have the `s3tables:TagResource` permission in addition to
664
+ # `s3tables:CreateTableBucket` permission to create a table bucket
665
+ # with tags.
666
+ #
641
667
  #
642
668
  #
643
669
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets-create.html
@@ -652,6 +678,23 @@ module Aws::S3Tables
652
678
  # table level. The configuration includes the encryption algorithm and,
653
679
  # if using SSE-KMS, the KMS key to use.
654
680
  #
681
+ # @option params [Hash<String,String>] :tags
682
+ # A map of user-defined tags that you would like to apply to the table
683
+ # bucket that you are creating. A tag is a key-value pair that you apply
684
+ # to your resources. Tags can help you organize and control access to
685
+ # resources. For more information, see [Tagging for cost allocation or
686
+ # attribute-based access control (ABAC)][1].
687
+ #
688
+ # <note markdown="1"> You must have the `s3tables:TagResource` permission in addition to
689
+ # `s3tables:CreateTableBucket` permisson to create a table bucket with
690
+ # tags.
691
+ #
692
+ # </note>
693
+ #
694
+ #
695
+ #
696
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
697
+ #
655
698
  # @return [Types::CreateTableBucketResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
656
699
  #
657
700
  # * {Types::CreateTableBucketResponse#arn #arn} => String
@@ -664,6 +707,9 @@ module Aws::S3Tables
664
707
  # sse_algorithm: "AES256", # required, accepts AES256, aws:kms
665
708
  # kms_key_arn: "EncryptionConfigurationKmsKeyArnString",
666
709
  # },
710
+ # tags: {
711
+ # "TagKey" => "TagValue",
712
+ # },
667
713
  # })
668
714
  #
669
715
  # @example Response structure
@@ -820,6 +866,33 @@ module Aws::S3Tables
820
866
  req.send_request(options)
821
867
  end
822
868
 
869
+ # Deletes the metrics configuration for a table bucket.
870
+ #
871
+ # Permissions
872
+ #
873
+ # : You must have the `s3tables:DeleteTableBucketMetricsConfiguration`
874
+ # permission to use this operation.
875
+ #
876
+ # @option params [required, String] :table_bucket_arn
877
+ # The Amazon Resource Name (ARN) of the table bucket.
878
+ #
879
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
880
+ #
881
+ # @example Request syntax with placeholder values
882
+ #
883
+ # resp = client.delete_table_bucket_metrics_configuration({
884
+ # table_bucket_arn: "TableBucketARN", # required
885
+ # })
886
+ #
887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/DeleteTableBucketMetricsConfiguration AWS API Documentation
888
+ #
889
+ # @overload delete_table_bucket_metrics_configuration(params = {})
890
+ # @param [Hash] params ({})
891
+ def delete_table_bucket_metrics_configuration(params = {}, options = {})
892
+ req = build_request(:delete_table_bucket_metrics_configuration, params)
893
+ req.send_request(options)
894
+ end
895
+
823
896
  # Deletes a table bucket policy. For more information, see [Deleting a
824
897
  # table bucket policy][1] in the *Amazon Simple Storage Service User
825
898
  # Guide*.
@@ -1157,6 +1230,41 @@ module Aws::S3Tables
1157
1230
  req.send_request(options)
1158
1231
  end
1159
1232
 
1233
+ # Gets the metrics configuration for a table bucket.
1234
+ #
1235
+ # Permissions
1236
+ #
1237
+ # : You must have the `s3tables:GetTableBucketMetricsConfiguration`
1238
+ # permission to use this operation.
1239
+ #
1240
+ # @option params [required, String] :table_bucket_arn
1241
+ # The Amazon Resource Name (ARN) of the table bucket.
1242
+ #
1243
+ # @return [Types::GetTableBucketMetricsConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1244
+ #
1245
+ # * {Types::GetTableBucketMetricsConfigurationResponse#table_bucket_arn #table_bucket_arn} => String
1246
+ # * {Types::GetTableBucketMetricsConfigurationResponse#id #id} => String
1247
+ #
1248
+ # @example Request syntax with placeholder values
1249
+ #
1250
+ # resp = client.get_table_bucket_metrics_configuration({
1251
+ # table_bucket_arn: "TableBucketARN", # required
1252
+ # })
1253
+ #
1254
+ # @example Response structure
1255
+ #
1256
+ # resp.table_bucket_arn #=> String
1257
+ # resp.id #=> String
1258
+ #
1259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketMetricsConfiguration AWS API Documentation
1260
+ #
1261
+ # @overload get_table_bucket_metrics_configuration(params = {})
1262
+ # @param [Hash] params ({})
1263
+ def get_table_bucket_metrics_configuration(params = {}, options = {})
1264
+ req = build_request(:get_table_bucket_metrics_configuration, params)
1265
+ req.send_request(options)
1266
+ end
1267
+
1160
1268
  # Gets details about a table bucket policy. For more information, see
1161
1269
  # [Viewing a table bucket policy][1] in the *Amazon Simple Storage
1162
1270
  # Service User Guide*.
@@ -1315,7 +1423,8 @@ module Aws::S3Tables
1315
1423
  # The name of the namespace the table is associated with.
1316
1424
  #
1317
1425
  # @option params [required, String] :name
1318
- # The name of the maintenance job.
1426
+ # The name of the table containing the maintenance job status you want
1427
+ # to check.
1319
1428
  #
1320
1429
  # @return [Types::GetTableMaintenanceJobStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1321
1430
  #
@@ -1637,6 +1746,59 @@ module Aws::S3Tables
1637
1746
  req.send_request(options)
1638
1747
  end
1639
1748
 
1749
+ # Lists all of the tags applied to a specified Amazon S3 Tables
1750
+ # resource. Each tag is a label consisting of a key and value pair. Tags
1751
+ # can help you organize, track costs for, and control access to
1752
+ # resources.
1753
+ #
1754
+ # <note markdown="1"> For a list of S3 resources that support tagging, see [Managing tags
1755
+ # for Amazon S3 resources][1].
1756
+ #
1757
+ # </note>
1758
+ #
1759
+ # Permissions
1760
+ #
1761
+ # : For tables and table buckets, you must have the
1762
+ # `s3tables:ListTagsForResource` permission to use this operation.
1763
+ #
1764
+ #
1765
+ #
1766
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags
1767
+ #
1768
+ # @option params [required, String] :resource_arn
1769
+ # The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
1770
+ # you want to list tags for. The tagged resource can be a table bucket
1771
+ # or a table. For a list of all S3 resources that support tagging, see
1772
+ # [Managing tags for Amazon S3 resources][1].
1773
+ #
1774
+ #
1775
+ #
1776
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags
1777
+ #
1778
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1779
+ #
1780
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1781
+ #
1782
+ # @example Request syntax with placeholder values
1783
+ #
1784
+ # resp = client.list_tags_for_resource({
1785
+ # resource_arn: "ResourceArn", # required
1786
+ # })
1787
+ #
1788
+ # @example Response structure
1789
+ #
1790
+ # resp.tags #=> Hash
1791
+ # resp.tags["TagKey"] #=> String
1792
+ #
1793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/ListTagsForResource AWS API Documentation
1794
+ #
1795
+ # @overload list_tags_for_resource(params = {})
1796
+ # @param [Hash] params ({})
1797
+ def list_tags_for_resource(params = {}, options = {})
1798
+ req = build_request(:list_tags_for_resource, params)
1799
+ req.send_request(options)
1800
+ end
1801
+
1640
1802
  # Sets the encryption configuration for a table bucket.
1641
1803
  #
1642
1804
  # Permissions
@@ -1734,10 +1896,36 @@ module Aws::S3Tables
1734
1896
  req.send_request(options)
1735
1897
  end
1736
1898
 
1737
- # Creates a new maintenance configuration or replaces an existing table
1738
- # bucket policy for a table bucket. For more information, see [Adding a
1739
- # table bucket policy][1] in the *Amazon Simple Storage Service User
1740
- # Guide*.
1899
+ # Sets the metrics configuration for a table bucket.
1900
+ #
1901
+ # Permissions
1902
+ #
1903
+ # : You must have the `s3tables:PutTableBucketMetricsConfiguration`
1904
+ # permission to use this operation.
1905
+ #
1906
+ # @option params [required, String] :table_bucket_arn
1907
+ # The Amazon Resource Name (ARN) of the table bucket.
1908
+ #
1909
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1910
+ #
1911
+ # @example Request syntax with placeholder values
1912
+ #
1913
+ # resp = client.put_table_bucket_metrics_configuration({
1914
+ # table_bucket_arn: "TableBucketARN", # required
1915
+ # })
1916
+ #
1917
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutTableBucketMetricsConfiguration AWS API Documentation
1918
+ #
1919
+ # @overload put_table_bucket_metrics_configuration(params = {})
1920
+ # @param [Hash] params ({})
1921
+ def put_table_bucket_metrics_configuration(params = {}, options = {})
1922
+ req = build_request(:put_table_bucket_metrics_configuration, params)
1923
+ req.send_request(options)
1924
+ end
1925
+
1926
+ # Creates a new table bucket policy or replaces an existing table bucket
1927
+ # policy for a table bucket. For more information, see [Adding a table
1928
+ # bucket policy][1] in the *Amazon Simple Storage Service User Guide*.
1741
1929
  #
1742
1930
  # Permissions
1743
1931
  #
@@ -1794,7 +1982,7 @@ module Aws::S3Tables
1794
1982
  # The namespace of the table.
1795
1983
  #
1796
1984
  # @option params [required, String] :name
1797
- # The name of the maintenance configuration.
1985
+ # The name of the table.
1798
1986
  #
1799
1987
  # @option params [required, String] :type
1800
1988
  # The type of the maintenance configuration.
@@ -1835,9 +2023,9 @@ module Aws::S3Tables
1835
2023
  req.send_request(options)
1836
2024
  end
1837
2025
 
1838
- # Creates a new maintenance configuration or replaces an existing table
1839
- # policy for a table. For more information, see [Adding a table
1840
- # policy][1] in the *Amazon Simple Storage Service User Guide*.
2026
+ # Creates a new table policy or replaces an existing table policy for a
2027
+ # table. For more information, see [Adding a table policy][1] in the
2028
+ # *Amazon Simple Storage Service User Guide*.
1841
2029
  #
1842
2030
  # Permissions
1843
2031
  #
@@ -1933,6 +2121,119 @@ module Aws::S3Tables
1933
2121
  req.send_request(options)
1934
2122
  end
1935
2123
 
2124
+ # Applies one or more user-defined tags to an Amazon S3 Tables resource
2125
+ # or updates existing tags. Each tag is a label consisting of a key and
2126
+ # value pair. Tags can help you organize, track costs for, and control
2127
+ # access to your resources. You can add up to 50 tags for each S3
2128
+ # resource.
2129
+ #
2130
+ # <note markdown="1"> For a list of S3 resources that support tagging, see [Managing tags
2131
+ # for Amazon S3 resources][1].
2132
+ #
2133
+ # </note>
2134
+ #
2135
+ # Permissions
2136
+ #
2137
+ # : For tables and table buckets, you must have the
2138
+ # `s3tables:TagResource` permission to use this operation.
2139
+ #
2140
+ #
2141
+ #
2142
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags
2143
+ #
2144
+ # @option params [required, String] :resource_arn
2145
+ # The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
2146
+ # you're applying tags to. The tagged resource can be a table bucket or
2147
+ # a table. For a list of all S3 resources that support tagging, see
2148
+ # [Managing tags for Amazon S3 resources][1].
2149
+ #
2150
+ #
2151
+ #
2152
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags
2153
+ #
2154
+ # @option params [required, Hash<String,String>] :tags
2155
+ # The user-defined tag that you want to add to the specified S3 Tables
2156
+ # resource. For more information, see [Tagging for cost allocation or
2157
+ # attribute-based access control (ABAC)][1].
2158
+ #
2159
+ #
2160
+ #
2161
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
2162
+ #
2163
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2164
+ #
2165
+ # @example Request syntax with placeholder values
2166
+ #
2167
+ # resp = client.tag_resource({
2168
+ # resource_arn: "ResourceArn", # required
2169
+ # tags: { # required
2170
+ # "TagKey" => "TagValue",
2171
+ # },
2172
+ # })
2173
+ #
2174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/TagResource AWS API Documentation
2175
+ #
2176
+ # @overload tag_resource(params = {})
2177
+ # @param [Hash] params ({})
2178
+ def tag_resource(params = {}, options = {})
2179
+ req = build_request(:tag_resource, params)
2180
+ req.send_request(options)
2181
+ end
2182
+
2183
+ # Removes the specified user-defined tags from an Amazon S3 Tables
2184
+ # resource. You can pass one or more tag keys.
2185
+ #
2186
+ # <note markdown="1"> For a list of S3 resources that support tagging, see [Managing tags
2187
+ # for Amazon S3 resources][1].
2188
+ #
2189
+ # </note>
2190
+ #
2191
+ # Permissions
2192
+ #
2193
+ # : For tables and table buckets, you must have the
2194
+ # `s3tables:UntagResource` permission to use this operation.
2195
+ #
2196
+ #
2197
+ #
2198
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags
2199
+ #
2200
+ # @option params [required, String] :resource_arn
2201
+ # The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
2202
+ # you're removing tags from. The tagged resource can be a table bucket
2203
+ # or a table. For a list of all S3 resources that support tagging, see
2204
+ # [Managing tags for Amazon S3 resources][1].
2205
+ #
2206
+ #
2207
+ #
2208
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags
2209
+ #
2210
+ # @option params [required, Array<String>] :tag_keys
2211
+ # The array of tag keys that you're removing from the S3 Tables
2212
+ # resource. For more information, see [Tagging for cost allocation or
2213
+ # attribute-based access control (ABAC)][1].
2214
+ #
2215
+ #
2216
+ #
2217
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
2218
+ #
2219
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2220
+ #
2221
+ # @example Request syntax with placeholder values
2222
+ #
2223
+ # resp = client.untag_resource({
2224
+ # resource_arn: "ResourceArn", # required
2225
+ # tag_keys: ["TagKey"], # required
2226
+ # })
2227
+ #
2228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/UntagResource AWS API Documentation
2229
+ #
2230
+ # @overload untag_resource(params = {})
2231
+ # @param [Hash] params ({})
2232
+ def untag_resource(params = {}, options = {})
2233
+ req = build_request(:untag_resource, params)
2234
+ req.send_request(options)
2235
+ end
2236
+
1936
2237
  # Updates the metadata location for a table. The metadata location of a
1937
2238
  # table must be an S3 URI that begins with the table's warehouse
1938
2239
  # location. The metadata location for an Apache Iceberg table must end
@@ -2013,7 +2314,7 @@ module Aws::S3Tables
2013
2314
  tracer: tracer
2014
2315
  )
2015
2316
  context[:gem_name] = 'aws-sdk-s3tables'
2016
- context[:gem_version] = '1.18.0'
2317
+ context[:gem_version] = '1.20.0'
2017
2318
  Seahorse::Client::Request.new(handlers, context)
2018
2319
  end
2019
2320
 
@@ -28,6 +28,7 @@ module Aws::S3Tables
28
28
  CreateTableResponse = Shapes::StructureShape.new(name: 'CreateTableResponse')
29
29
  DeleteNamespaceRequest = Shapes::StructureShape.new(name: 'DeleteNamespaceRequest')
30
30
  DeleteTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketEncryptionRequest')
31
+ DeleteTableBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketMetricsConfigurationRequest')
31
32
  DeleteTableBucketPolicyRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketPolicyRequest')
32
33
  DeleteTableBucketRequest = Shapes::StructureShape.new(name: 'DeleteTableBucketRequest')
33
34
  DeleteTablePolicyRequest = Shapes::StructureShape.new(name: 'DeleteTablePolicyRequest')
@@ -42,6 +43,8 @@ module Aws::S3Tables
42
43
  GetTableBucketEncryptionResponse = Shapes::StructureShape.new(name: 'GetTableBucketEncryptionResponse')
43
44
  GetTableBucketMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'GetTableBucketMaintenanceConfigurationRequest')
44
45
  GetTableBucketMaintenanceConfigurationResponse = Shapes::StructureShape.new(name: 'GetTableBucketMaintenanceConfigurationResponse')
46
+ GetTableBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'GetTableBucketMetricsConfigurationRequest')
47
+ GetTableBucketMetricsConfigurationResponse = Shapes::StructureShape.new(name: 'GetTableBucketMetricsConfigurationResponse')
45
48
  GetTableBucketPolicyRequest = Shapes::StructureShape.new(name: 'GetTableBucketPolicyRequest')
46
49
  GetTableBucketPolicyResponse = Shapes::StructureShape.new(name: 'GetTableBucketPolicyResponse')
47
50
  GetTableBucketRequest = Shapes::StructureShape.new(name: 'GetTableBucketRequest')
@@ -78,6 +81,8 @@ module Aws::S3Tables
78
81
  ListTablesRequest = Shapes::StructureShape.new(name: 'ListTablesRequest')
79
82
  ListTablesRequestPrefixString = Shapes::StringShape.new(name: 'ListTablesRequestPrefixString')
80
83
  ListTablesResponse = Shapes::StructureShape.new(name: 'ListTablesResponse')
84
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
85
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
81
86
  MaintenanceStatus = Shapes::StringShape.new(name: 'MaintenanceStatus')
82
87
  MetadataLocation = Shapes::StringShape.new(name: 'MetadataLocation')
83
88
  NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
@@ -91,10 +96,12 @@ module Aws::S3Tables
91
96
  PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
92
97
  PutTableBucketEncryptionRequest = Shapes::StructureShape.new(name: 'PutTableBucketEncryptionRequest')
93
98
  PutTableBucketMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'PutTableBucketMaintenanceConfigurationRequest')
99
+ PutTableBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'PutTableBucketMetricsConfigurationRequest')
94
100
  PutTableBucketPolicyRequest = Shapes::StructureShape.new(name: 'PutTableBucketPolicyRequest')
95
101
  PutTableMaintenanceConfigurationRequest = Shapes::StructureShape.new(name: 'PutTableMaintenanceConfigurationRequest')
96
102
  PutTablePolicyRequest = Shapes::StructureShape.new(name: 'PutTablePolicyRequest')
97
103
  RenameTableRequest = Shapes::StructureShape.new(name: 'RenameTableRequest')
104
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
98
105
  ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
99
106
  SSEAlgorithm = Shapes::StringShape.new(name: 'SSEAlgorithm')
100
107
  SchemaField = Shapes::StructureShape.new(name: 'SchemaField')
@@ -124,7 +131,15 @@ module Aws::S3Tables
124
131
  TableSummary = Shapes::StructureShape.new(name: 'TableSummary')
125
132
  TableSummaryList = Shapes::ListShape.new(name: 'TableSummaryList')
126
133
  TableType = Shapes::StringShape.new(name: 'TableType')
134
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
135
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
136
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
137
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
138
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
139
+ Tags = Shapes::MapShape.new(name: 'Tags')
127
140
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
141
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
142
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
128
143
  UpdateTableMetadataLocationRequest = Shapes::StructureShape.new(name: 'UpdateTableMetadataLocationRequest')
129
144
  UpdateTableMetadataLocationResponse = Shapes::StructureShape.new(name: 'UpdateTableMetadataLocationResponse')
130
145
  VersionToken = Shapes::StringShape.new(name: 'VersionToken')
@@ -151,6 +166,7 @@ module Aws::S3Tables
151
166
 
152
167
  CreateTableBucketRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableBucketName, required: true, location_name: "name"))
153
168
  CreateTableBucketRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
169
+ CreateTableBucketRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
154
170
  CreateTableBucketRequest.struct_class = Types::CreateTableBucketRequest
155
171
 
156
172
  CreateTableBucketResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location_name: "arn"))
@@ -162,6 +178,7 @@ module Aws::S3Tables
162
178
  CreateTableRequest.add_member(:format, Shapes::ShapeRef.new(shape: OpenTableFormat, required: true, location_name: "format"))
163
179
  CreateTableRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: TableMetadata, location_name: "metadata"))
164
180
  CreateTableRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
181
+ CreateTableRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
165
182
  CreateTableRequest.struct_class = Types::CreateTableRequest
166
183
 
167
184
  CreateTableResponse.add_member(:table_arn, Shapes::ShapeRef.new(shape: TableARN, required: true, location_name: "tableARN"))
@@ -175,6 +192,9 @@ module Aws::S3Tables
175
192
  DeleteTableBucketEncryptionRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
176
193
  DeleteTableBucketEncryptionRequest.struct_class = Types::DeleteTableBucketEncryptionRequest
177
194
 
195
+ DeleteTableBucketMetricsConfigurationRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
196
+ DeleteTableBucketMetricsConfigurationRequest.struct_class = Types::DeleteTableBucketMetricsConfigurationRequest
197
+
178
198
  DeleteTableBucketPolicyRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
179
199
  DeleteTableBucketPolicyRequest.struct_class = Types::DeleteTableBucketPolicyRequest
180
200
 
@@ -224,6 +244,13 @@ module Aws::S3Tables
224
244
  GetTableBucketMaintenanceConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: TableBucketMaintenanceConfiguration, required: true, location_name: "configuration"))
225
245
  GetTableBucketMaintenanceConfigurationResponse.struct_class = Types::GetTableBucketMaintenanceConfigurationResponse
226
246
 
247
+ GetTableBucketMetricsConfigurationRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
248
+ GetTableBucketMetricsConfigurationRequest.struct_class = Types::GetTableBucketMetricsConfigurationRequest
249
+
250
+ GetTableBucketMetricsConfigurationResponse.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location_name: "tableBucketARN"))
251
+ GetTableBucketMetricsConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
252
+ GetTableBucketMetricsConfigurationResponse.struct_class = Types::GetTableBucketMetricsConfigurationResponse
253
+
227
254
  GetTableBucketPolicyRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
228
255
  GetTableBucketPolicyRequest.struct_class = Types::GetTableBucketPolicyRequest
229
256
 
@@ -361,6 +388,12 @@ module Aws::S3Tables
361
388
  ListTablesResponse.add_member(:continuation_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "continuationToken"))
362
389
  ListTablesResponse.struct_class = Types::ListTablesResponse
363
390
 
391
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
392
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
393
+
394
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
395
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
396
+
364
397
  NamespaceList.member = Shapes::ShapeRef.new(shape: NamespaceName)
365
398
 
366
399
  NamespaceSummary.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceList, required: true, location_name: "namespace"))
@@ -385,6 +418,9 @@ module Aws::S3Tables
385
418
  PutTableBucketMaintenanceConfigurationRequest.add_member(:value, Shapes::ShapeRef.new(shape: TableBucketMaintenanceConfigurationValue, required: true, location_name: "value"))
386
419
  PutTableBucketMaintenanceConfigurationRequest.struct_class = Types::PutTableBucketMaintenanceConfigurationRequest
387
420
 
421
+ PutTableBucketMetricsConfigurationRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
422
+ PutTableBucketMetricsConfigurationRequest.struct_class = Types::PutTableBucketMetricsConfigurationRequest
423
+
388
424
  PutTableBucketPolicyRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
389
425
  PutTableBucketPolicyRequest.add_member(:resource_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "resourcePolicy"))
390
426
  PutTableBucketPolicyRequest.struct_class = Types::PutTableBucketPolicyRequest
@@ -481,9 +517,26 @@ module Aws::S3Tables
481
517
 
482
518
  TableSummaryList.member = Shapes::ShapeRef.new(shape: TableSummary)
483
519
 
520
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
521
+
522
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
523
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
524
+ TagResourceRequest.struct_class = Types::TagResourceRequest
525
+
526
+ TagResourceResponse.struct_class = Types::TagResourceResponse
527
+
528
+ Tags.key = Shapes::ShapeRef.new(shape: TagKey)
529
+ Tags.value = Shapes::ShapeRef.new(shape: TagValue)
530
+
484
531
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
485
532
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
486
533
 
534
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
535
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
536
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
537
+
538
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
539
+
487
540
  UpdateTableMetadataLocationRequest.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: TableBucketARN, required: true, location: "uri", location_name: "tableBucketARN"))
488
541
  UpdateTableMetadataLocationRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location: "uri", location_name: "namespace"))
489
542
  UpdateTableMetadataLocationRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableName, required: true, location: "uri", location_name: "name"))
@@ -615,6 +668,20 @@ module Aws::S3Tables
615
668
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
616
669
  end)
617
670
 
671
+ api.add_operation(:delete_table_bucket_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
672
+ o.name = "DeleteTableBucketMetricsConfiguration"
673
+ o.http_method = "DELETE"
674
+ o.http_request_uri = "/buckets/{tableBucketARN}/metrics"
675
+ o.input = Shapes::ShapeRef.new(shape: DeleteTableBucketMetricsConfigurationRequest)
676
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
677
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
678
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
679
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
680
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
681
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
682
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
683
+ end)
684
+
618
685
  api.add_operation(:delete_table_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
619
686
  o.name = "DeleteTableBucketPolicy"
620
687
  o.http_method = "DELETE"
@@ -716,6 +783,20 @@ module Aws::S3Tables
716
783
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
717
784
  end)
718
785
 
786
+ api.add_operation(:get_table_bucket_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
787
+ o.name = "GetTableBucketMetricsConfiguration"
788
+ o.http_method = "GET"
789
+ o.http_request_uri = "/buckets/{tableBucketARN}/metrics"
790
+ o.input = Shapes::ShapeRef.new(shape: GetTableBucketMetricsConfigurationRequest)
791
+ o.output = Shapes::ShapeRef.new(shape: GetTableBucketMetricsConfigurationResponse)
792
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
793
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
794
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
795
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
796
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
797
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
798
+ end)
799
+
719
800
  api.add_operation(:get_table_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
720
801
  o.name = "GetTableBucketPolicy"
721
802
  o.http_method = "GET"
@@ -862,6 +943,20 @@ module Aws::S3Tables
862
943
  )
863
944
  end)
864
945
 
946
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
947
+ o.name = "ListTagsForResource"
948
+ o.http_method = "GET"
949
+ o.http_request_uri = "/tag/{resourceArn}"
950
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
951
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
952
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
953
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
954
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
955
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
956
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
957
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
958
+ end)
959
+
865
960
  api.add_operation(:put_table_bucket_encryption, Seahorse::Model::Operation.new.tap do |o|
866
961
  o.name = "PutTableBucketEncryption"
867
962
  o.http_method = "PUT"
@@ -890,6 +985,20 @@ module Aws::S3Tables
890
985
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
891
986
  end)
892
987
 
988
+ api.add_operation(:put_table_bucket_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
989
+ o.name = "PutTableBucketMetricsConfiguration"
990
+ o.http_method = "PUT"
991
+ o.http_request_uri = "/buckets/{tableBucketARN}/metrics"
992
+ o.input = Shapes::ShapeRef.new(shape: PutTableBucketMetricsConfigurationRequest)
993
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
994
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
995
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
996
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
997
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
998
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
999
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1000
+ end)
1001
+
893
1002
  api.add_operation(:put_table_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
894
1003
  o.name = "PutTableBucketPolicy"
895
1004
  o.http_method = "PUT"
@@ -946,6 +1055,34 @@ module Aws::S3Tables
946
1055
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
947
1056
  end)
948
1057
 
1058
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1059
+ o.name = "TagResource"
1060
+ o.http_method = "POST"
1061
+ o.http_request_uri = "/tag/{resourceArn}"
1062
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1063
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1064
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1068
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1069
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1070
+ end)
1071
+
1072
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1073
+ o.name = "UntagResource"
1074
+ o.http_method = "DELETE"
1075
+ o.http_request_uri = "/tag/{resourceArn}"
1076
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1077
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1078
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1080
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1081
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1084
+ end)
1085
+
949
1086
  api.add_operation(:update_table_metadata_location, Seahorse::Model::Operation.new.tap do |o|
950
1087
  o.name = "UpdateTableMetadataLocation"
951
1088
  o.http_method = "PUT"
@@ -99,11 +99,30 @@ module Aws::S3Tables
99
99
  # and, if using SSE-KMS, the KMS key to use.
100
100
  # @return [Types::EncryptionConfiguration]
101
101
  #
102
+ # @!attribute [rw] tags
103
+ # A map of user-defined tags that you would like to apply to the table
104
+ # bucket that you are creating. A tag is a key-value pair that you
105
+ # apply to your resources. Tags can help you organize and control
106
+ # access to resources. For more information, see [Tagging for cost
107
+ # allocation or attribute-based access control (ABAC)][1].
108
+ #
109
+ # <note markdown="1"> You must have the `s3tables:TagResource` permission in addition to
110
+ # `s3tables:CreateTableBucket` permisson to create a table bucket with
111
+ # tags.
112
+ #
113
+ # </note>
114
+ #
115
+ #
116
+ #
117
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
118
+ # @return [Hash<String,String>]
119
+ #
102
120
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/CreateTableBucketRequest AWS API Documentation
103
121
  #
104
122
  class CreateTableBucketRequest < Struct.new(
105
123
  :name,
106
- :encryption_configuration)
124
+ :encryption_configuration,
125
+ :tags)
107
126
  SENSITIVE = []
108
127
  include Aws::Structure
109
128
  end
@@ -157,6 +176,23 @@ module Aws::S3Tables
157
176
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html
158
177
  # @return [Types::EncryptionConfiguration]
159
178
  #
179
+ # @!attribute [rw] tags
180
+ # A map of user-defined tags that you would like to apply to the table
181
+ # that you are creating. A tag is a key-value pair that you apply to
182
+ # your resources. Tags can help you organize, track costs for, and
183
+ # control access to resources. For more information, see [Tagging for
184
+ # cost allocation or attribute-based access control (ABAC)][1].
185
+ #
186
+ # <note markdown="1"> You must have the `s3tables:TagResource` permission in addition to
187
+ # `s3tables:CreateTable` permission to create a table with tags.
188
+ #
189
+ # </note>
190
+ #
191
+ #
192
+ #
193
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
194
+ # @return [Hash<String,String>]
195
+ #
160
196
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/CreateTableRequest AWS API Documentation
161
197
  #
162
198
  class CreateTableRequest < Struct.new(
@@ -165,7 +201,8 @@ module Aws::S3Tables
165
201
  :name,
166
202
  :format,
167
203
  :metadata,
168
- :encryption_configuration)
204
+ :encryption_configuration,
205
+ :tags)
169
206
  SENSITIVE = []
170
207
  include Aws::Structure
171
208
  end
@@ -217,6 +254,18 @@ module Aws::S3Tables
217
254
  include Aws::Structure
218
255
  end
219
256
 
257
+ # @!attribute [rw] table_bucket_arn
258
+ # The Amazon Resource Name (ARN) of the table bucket.
259
+ # @return [String]
260
+ #
261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/DeleteTableBucketMetricsConfigurationRequest AWS API Documentation
262
+ #
263
+ class DeleteTableBucketMetricsConfigurationRequest < Struct.new(
264
+ :table_bucket_arn)
265
+ SENSITIVE = []
266
+ include Aws::Structure
267
+ end
268
+
220
269
  # @!attribute [rw] table_bucket_arn
221
270
  # The Amazon Resource Name (ARN) of the table bucket.
222
271
  # @return [String]
@@ -445,6 +494,35 @@ module Aws::S3Tables
445
494
  include Aws::Structure
446
495
  end
447
496
 
497
+ # @!attribute [rw] table_bucket_arn
498
+ # The Amazon Resource Name (ARN) of the table bucket.
499
+ # @return [String]
500
+ #
501
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketMetricsConfigurationRequest AWS API Documentation
502
+ #
503
+ class GetTableBucketMetricsConfigurationRequest < Struct.new(
504
+ :table_bucket_arn)
505
+ SENSITIVE = []
506
+ include Aws::Structure
507
+ end
508
+
509
+ # @!attribute [rw] table_bucket_arn
510
+ # The Amazon Resource Name (ARN) of the table bucket.
511
+ # @return [String]
512
+ #
513
+ # @!attribute [rw] id
514
+ # The unique identifier of the metrics configuration.
515
+ # @return [String]
516
+ #
517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketMetricsConfigurationResponse AWS API Documentation
518
+ #
519
+ class GetTableBucketMetricsConfigurationResponse < Struct.new(
520
+ :table_bucket_arn,
521
+ :id)
522
+ SENSITIVE = []
523
+ include Aws::Structure
524
+ end
525
+
448
526
  # @!attribute [rw] table_bucket_arn
449
527
  # The Amazon Resource Name (ARN) of the table bucket.
450
528
  # @return [String]
@@ -601,7 +679,8 @@ module Aws::S3Tables
601
679
  # @return [String]
602
680
  #
603
681
  # @!attribute [rw] name
604
- # The name of the maintenance job.
682
+ # The name of the table containing the maintenance job status you want
683
+ # to check.
605
684
  # @return [String]
606
685
  #
607
686
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableMaintenanceJobStatusRequest AWS API Documentation
@@ -1079,6 +1158,43 @@ module Aws::S3Tables
1079
1158
  include Aws::Structure
1080
1159
  end
1081
1160
 
1161
+ # @!attribute [rw] resource_arn
1162
+ # The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
1163
+ # you want to list tags for. The tagged resource can be a table bucket
1164
+ # or a table. For a list of all S3 resources that support tagging, see
1165
+ # [Managing tags for Amazon S3 resources][1].
1166
+ #
1167
+ #
1168
+ #
1169
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags
1170
+ # @return [String]
1171
+ #
1172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/ListTagsForResourceRequest AWS API Documentation
1173
+ #
1174
+ class ListTagsForResourceRequest < Struct.new(
1175
+ :resource_arn)
1176
+ SENSITIVE = []
1177
+ include Aws::Structure
1178
+ end
1179
+
1180
+ # @!attribute [rw] tags
1181
+ # The user-defined tags that are applied to the resource. For more
1182
+ # information, see [Tagging for cost allocation or attribute-based
1183
+ # access control (ABAC)][1].
1184
+ #
1185
+ #
1186
+ #
1187
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
1188
+ # @return [Hash<String,String>]
1189
+ #
1190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/ListTagsForResourceResponse AWS API Documentation
1191
+ #
1192
+ class ListTagsForResourceResponse < Struct.new(
1193
+ :tags)
1194
+ SENSITIVE = []
1195
+ include Aws::Structure
1196
+ end
1197
+
1082
1198
  # Contains details about a namespace.
1083
1199
  #
1084
1200
  # @!attribute [rw] namespace
@@ -1174,6 +1290,18 @@ module Aws::S3Tables
1174
1290
  include Aws::Structure
1175
1291
  end
1176
1292
 
1293
+ # @!attribute [rw] table_bucket_arn
1294
+ # The Amazon Resource Name (ARN) of the table bucket.
1295
+ # @return [String]
1296
+ #
1297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/PutTableBucketMetricsConfigurationRequest AWS API Documentation
1298
+ #
1299
+ class PutTableBucketMetricsConfigurationRequest < Struct.new(
1300
+ :table_bucket_arn)
1301
+ SENSITIVE = []
1302
+ include Aws::Structure
1303
+ end
1304
+
1177
1305
  # @!attribute [rw] table_bucket_arn
1178
1306
  # The Amazon Resource Name (ARN) of the table bucket.
1179
1307
  # @return [String]
@@ -1201,7 +1329,7 @@ module Aws::S3Tables
1201
1329
  # @return [String]
1202
1330
  #
1203
1331
  # @!attribute [rw] name
1204
- # The name of the maintenance configuration.
1332
+ # The name of the table.
1205
1333
  # @return [String]
1206
1334
  #
1207
1335
  # @!attribute [rw] type
@@ -1551,6 +1679,40 @@ module Aws::S3Tables
1551
1679
  include Aws::Structure
1552
1680
  end
1553
1681
 
1682
+ # @!attribute [rw] resource_arn
1683
+ # The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
1684
+ # you're applying tags to. The tagged resource can be a table bucket
1685
+ # or a table. For a list of all S3 resources that support tagging, see
1686
+ # [Managing tags for Amazon S3 resources][1].
1687
+ #
1688
+ #
1689
+ #
1690
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags
1691
+ # @return [String]
1692
+ #
1693
+ # @!attribute [rw] tags
1694
+ # The user-defined tag that you want to add to the specified S3 Tables
1695
+ # resource. For more information, see [Tagging for cost allocation or
1696
+ # attribute-based access control (ABAC)][1].
1697
+ #
1698
+ #
1699
+ #
1700
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
1701
+ # @return [Hash<String,String>]
1702
+ #
1703
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/TagResourceRequest AWS API Documentation
1704
+ #
1705
+ class TagResourceRequest < Struct.new(
1706
+ :resource_arn,
1707
+ :tags)
1708
+ SENSITIVE = []
1709
+ include Aws::Structure
1710
+ end
1711
+
1712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/TagResourceResponse AWS API Documentation
1713
+ #
1714
+ class TagResourceResponse < Aws::EmptyStructure; end
1715
+
1554
1716
  # The limit on the number of requests per second was exceeded.
1555
1717
  #
1556
1718
  # @!attribute [rw] message
@@ -1564,6 +1726,40 @@ module Aws::S3Tables
1564
1726
  include Aws::Structure
1565
1727
  end
1566
1728
 
1729
+ # @!attribute [rw] resource_arn
1730
+ # The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that
1731
+ # you're removing tags from. The tagged resource can be a table
1732
+ # bucket or a table. For a list of all S3 resources that support
1733
+ # tagging, see [Managing tags for Amazon S3 resources][1].
1734
+ #
1735
+ #
1736
+ #
1737
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags
1738
+ # @return [String]
1739
+ #
1740
+ # @!attribute [rw] tag_keys
1741
+ # The array of tag keys that you're removing from the S3 Tables
1742
+ # resource. For more information, see [Tagging for cost allocation or
1743
+ # attribute-based access control (ABAC)][1].
1744
+ #
1745
+ #
1746
+ #
1747
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
1748
+ # @return [Array<String>]
1749
+ #
1750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/UntagResourceRequest AWS API Documentation
1751
+ #
1752
+ class UntagResourceRequest < Struct.new(
1753
+ :resource_arn,
1754
+ :tag_keys)
1755
+ SENSITIVE = []
1756
+ include Aws::Structure
1757
+ end
1758
+
1759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/UntagResourceResponse AWS API Documentation
1760
+ #
1761
+ class UntagResourceResponse < Aws::EmptyStructure; end
1762
+
1567
1763
  # @!attribute [rw] table_bucket_arn
1568
1764
  # The Amazon Resource Name (ARN) of the table bucket.
1569
1765
  # @return [String]
@@ -55,7 +55,7 @@ module Aws::S3Tables
55
55
  autoload :EndpointProvider, 'aws-sdk-s3tables/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-s3tables/endpoints'
57
57
 
58
- GEM_VERSION = '1.18.0'
58
+ GEM_VERSION = '1.20.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -117,7 +117,8 @@ module Aws
117
117
  ?encryption_configuration: {
118
118
  sse_algorithm: ("AES256" | "aws:kms"),
119
119
  kms_key_arn: ::String?
120
- }
120
+ },
121
+ ?tags: Hash[::String, ::String]
121
122
  ) -> _CreateTableResponseSuccess
122
123
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
123
124
 
@@ -131,7 +132,8 @@ module Aws
131
132
  ?encryption_configuration: {
132
133
  sse_algorithm: ("AES256" | "aws:kms"),
133
134
  kms_key_arn: ::String?
134
- }
135
+ },
136
+ ?tags: Hash[::String, ::String]
135
137
  ) -> _CreateTableBucketResponseSuccess
136
138
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableBucketResponseSuccess
137
139
 
@@ -163,6 +165,12 @@ module Aws
163
165
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
164
166
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
165
167
 
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#delete_table_bucket_metrics_configuration-instance_method
169
+ def delete_table_bucket_metrics_configuration: (
170
+ table_bucket_arn: ::String
171
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
172
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
173
+
166
174
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#delete_table_bucket_policy-instance_method
167
175
  def delete_table_bucket_policy: (
168
176
  table_bucket_arn: ::String
@@ -257,6 +265,17 @@ module Aws
257
265
  ) -> _GetTableBucketMaintenanceConfigurationResponseSuccess
258
266
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableBucketMaintenanceConfigurationResponseSuccess
259
267
 
268
+ interface _GetTableBucketMetricsConfigurationResponseSuccess
269
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableBucketMetricsConfigurationResponse]
270
+ def table_bucket_arn: () -> ::String
271
+ def id: () -> ::String
272
+ end
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table_bucket_metrics_configuration-instance_method
274
+ def get_table_bucket_metrics_configuration: (
275
+ table_bucket_arn: ::String
276
+ ) -> _GetTableBucketMetricsConfigurationResponseSuccess
277
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableBucketMetricsConfigurationResponseSuccess
278
+
260
279
  interface _GetTableBucketPolicyResponseSuccess
261
280
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTableBucketPolicyResponse]
262
281
  def resource_policy: () -> ::String
@@ -374,6 +393,16 @@ module Aws
374
393
  ) -> _ListTablesResponseSuccess
375
394
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTablesResponseSuccess
376
395
 
396
+ interface _ListTagsForResourceResponseSuccess
397
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
398
+ def tags: () -> ::Hash[::String, ::String]
399
+ end
400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#list_tags_for_resource-instance_method
401
+ def list_tags_for_resource: (
402
+ resource_arn: ::String
403
+ ) -> _ListTagsForResourceResponseSuccess
404
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
405
+
377
406
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_bucket_encryption-instance_method
378
407
  def put_table_bucket_encryption: (
379
408
  table_bucket_arn: ::String,
@@ -400,6 +429,12 @@ module Aws
400
429
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
401
430
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
402
431
 
432
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_bucket_metrics_configuration-instance_method
433
+ def put_table_bucket_metrics_configuration: (
434
+ table_bucket_arn: ::String
435
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
436
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
437
+
403
438
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_bucket_policy-instance_method
404
439
  def put_table_bucket_policy: (
405
440
  table_bucket_arn: ::String,
@@ -449,6 +484,26 @@ module Aws
449
484
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
450
485
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
451
486
 
487
+ interface _TagResourceResponseSuccess
488
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
489
+ end
490
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#tag_resource-instance_method
491
+ def tag_resource: (
492
+ resource_arn: ::String,
493
+ tags: Hash[::String, ::String]
494
+ ) -> _TagResourceResponseSuccess
495
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
496
+
497
+ interface _UntagResourceResponseSuccess
498
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
499
+ end
500
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#untag_resource-instance_method
501
+ def untag_resource: (
502
+ resource_arn: ::String,
503
+ tag_keys: Array[::String]
504
+ ) -> _UntagResourceResponseSuccess
505
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
506
+
452
507
  interface _UpdateTableMetadataLocationResponseSuccess
453
508
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTableMetadataLocationResponse]
454
509
  def name: () -> ::String
data/sig/types.rbs CHANGED
@@ -38,6 +38,7 @@ module Aws::S3Tables
38
38
  class CreateTableBucketRequest
39
39
  attr_accessor name: ::String
40
40
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
41
+ attr_accessor tags: ::Hash[::String, ::String]
41
42
  SENSITIVE: []
42
43
  end
43
44
 
@@ -53,6 +54,7 @@ module Aws::S3Tables
53
54
  attr_accessor format: ("ICEBERG")
54
55
  attr_accessor metadata: Types::TableMetadata
55
56
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
57
+ attr_accessor tags: ::Hash[::String, ::String]
56
58
  SENSITIVE: []
57
59
  end
58
60
 
@@ -73,6 +75,11 @@ module Aws::S3Tables
73
75
  SENSITIVE: []
74
76
  end
75
77
 
78
+ class DeleteTableBucketMetricsConfigurationRequest
79
+ attr_accessor table_bucket_arn: ::String
80
+ SENSITIVE: []
81
+ end
82
+
76
83
  class DeleteTableBucketPolicyRequest
77
84
  attr_accessor table_bucket_arn: ::String
78
85
  SENSITIVE: []
@@ -146,6 +153,17 @@ module Aws::S3Tables
146
153
  SENSITIVE: []
147
154
  end
148
155
 
156
+ class GetTableBucketMetricsConfigurationRequest
157
+ attr_accessor table_bucket_arn: ::String
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class GetTableBucketMetricsConfigurationResponse
162
+ attr_accessor table_bucket_arn: ::String
163
+ attr_accessor id: ::String
164
+ SENSITIVE: []
165
+ end
166
+
149
167
  class GetTableBucketPolicyRequest
150
168
  attr_accessor table_bucket_arn: ::String
151
169
  SENSITIVE: []
@@ -339,6 +357,16 @@ module Aws::S3Tables
339
357
  SENSITIVE: []
340
358
  end
341
359
 
360
+ class ListTagsForResourceRequest
361
+ attr_accessor resource_arn: ::String
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class ListTagsForResourceResponse
366
+ attr_accessor tags: ::Hash[::String, ::String]
367
+ SENSITIVE: []
368
+ end
369
+
342
370
  class NamespaceSummary
343
371
  attr_accessor namespace: ::Array[::String]
344
372
  attr_accessor created_at: ::Time
@@ -367,6 +395,11 @@ module Aws::S3Tables
367
395
  SENSITIVE: []
368
396
  end
369
397
 
398
+ class PutTableBucketMetricsConfigurationRequest
399
+ attr_accessor table_bucket_arn: ::String
400
+ SENSITIVE: []
401
+ end
402
+
370
403
  class PutTableBucketPolicyRequest
371
404
  attr_accessor table_bucket_arn: ::String
372
405
  attr_accessor resource_policy: ::String
@@ -484,11 +517,29 @@ module Aws::S3Tables
484
517
  SENSITIVE: []
485
518
  end
486
519
 
520
+ class TagResourceRequest
521
+ attr_accessor resource_arn: ::String
522
+ attr_accessor tags: ::Hash[::String, ::String]
523
+ SENSITIVE: []
524
+ end
525
+
526
+ class TagResourceResponse < Aws::EmptyStructure
527
+ end
528
+
487
529
  class TooManyRequestsException
488
530
  attr_accessor message: ::String
489
531
  SENSITIVE: []
490
532
  end
491
533
 
534
+ class UntagResourceRequest
535
+ attr_accessor resource_arn: ::String
536
+ attr_accessor tag_keys: ::Array[::String]
537
+ SENSITIVE: []
538
+ end
539
+
540
+ class UntagResourceResponse < Aws::EmptyStructure
541
+ end
542
+
492
543
  class UpdateTableMetadataLocationRequest
493
544
  attr_accessor table_bucket_arn: ::String
494
545
  attr_accessor namespace: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3tables
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services