aws-sdk-s3tables 1.0.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.
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::S3Tables
13
+ module Waiters
14
+ end
15
+ end
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:s3tables)
15
+
16
+ # This module provides support for Amazon S3 Tables. This module is available in the
17
+ # `aws-sdk-s3tables` gem.
18
+ #
19
+ # # Client
20
+ #
21
+ # The {Client} class provides one method for each API operation. Operation
22
+ # methods each accept a hash of request parameters and return a response
23
+ # structure.
24
+ #
25
+ # s3_tables = Aws::S3Tables::Client.new
26
+ # resp = s3_tables.create_namespace(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from Amazon S3 Tables are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::S3Tables::Errors::ServiceError
38
+ # # rescues all Amazon S3 Tables API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::S3Tables
45
+ autoload :Types, 'aws-sdk-s3tables/types'
46
+ autoload :ClientApi, 'aws-sdk-s3tables/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-s3tables/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-s3tables/client'
51
+ autoload :Errors, 'aws-sdk-s3tables/errors'
52
+ autoload :Waiters, 'aws-sdk-s3tables/waiters'
53
+ autoload :Resource, 'aws-sdk-s3tables/resource'
54
+ autoload :EndpointParameters, 'aws-sdk-s3tables/endpoint_parameters'
55
+ autoload :EndpointProvider, 'aws-sdk-s3tables/endpoint_provider'
56
+ autoload :Endpoints, 'aws-sdk-s3tables/endpoints'
57
+
58
+ GEM_VERSION = '1.0.0'
59
+
60
+ end
61
+
62
+ require_relative 'aws-sdk-s3tables/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,401 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module S3Tables
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?client_side_monitoring: bool,
22
+ ?client_side_monitoring_client_id: String,
23
+ ?client_side_monitoring_host: String,
24
+ ?client_side_monitoring_port: Integer,
25
+ ?client_side_monitoring_publisher: untyped,
26
+ ?convert_params: bool,
27
+ ?correct_clock_skew: bool,
28
+ ?defaults_mode: String,
29
+ ?disable_host_prefix_injection: bool,
30
+ ?disable_request_compression: bool,
31
+ ?endpoint: String,
32
+ ?endpoint_cache_max_entries: Integer,
33
+ ?endpoint_cache_max_threads: Integer,
34
+ ?endpoint_cache_poll_interval: Integer,
35
+ ?endpoint_discovery: bool,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?log_formatter: untyped,
38
+ ?log_level: Symbol,
39
+ ?logger: untyped,
40
+ ?max_attempts: Integer,
41
+ ?profile: String,
42
+ ?request_min_compression_size_bytes: Integer,
43
+ ?retry_backoff: Proc,
44
+ ?retry_base_delay: Float,
45
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
46
+ ?retry_limit: Integer,
47
+ ?retry_max_delay: Integer,
48
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
49
+ ?sdk_ua_app_id: String,
50
+ ?secret_access_key: String,
51
+ ?session_token: String,
52
+ ?sigv4a_signing_region_set: Array[String],
53
+ ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
55
+ ?token_provider: untyped,
56
+ ?use_dualstack_endpoint: bool,
57
+ ?use_fips_endpoint: bool,
58
+ ?validate_params: bool,
59
+ ?endpoint_provider: untyped,
60
+ ?http_proxy: String,
61
+ ?http_open_timeout: (Float | Integer),
62
+ ?http_read_timeout: (Float | Integer),
63
+ ?http_idle_timeout: (Float | Integer),
64
+ ?http_continue_timeout: (Float | Integer),
65
+ ?ssl_timeout: (Float | Integer | nil),
66
+ ?http_wire_trace: bool,
67
+ ?ssl_verify_peer: bool,
68
+ ?ssl_ca_bundle: String,
69
+ ?ssl_ca_directory: String,
70
+ ?ssl_ca_store: String,
71
+ ?on_chunk_received: Proc,
72
+ ?on_chunk_sent: Proc,
73
+ ?raise_response_errors: bool
74
+ ) -> instance
75
+ | (?Hash[Symbol, untyped]) -> instance
76
+
77
+
78
+ interface _CreateNamespaceResponseSuccess
79
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateNamespaceResponse]
80
+ def table_bucket_arn: () -> ::String
81
+ def namespace: () -> ::Array[::String]
82
+ end
83
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#create_namespace-instance_method
84
+ def create_namespace: (
85
+ table_bucket_arn: ::String,
86
+ namespace: Array[::String]
87
+ ) -> _CreateNamespaceResponseSuccess
88
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNamespaceResponseSuccess
89
+
90
+ interface _CreateTableResponseSuccess
91
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTableResponse]
92
+ def table_arn: () -> ::String
93
+ def version_token: () -> ::String
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#create_table-instance_method
96
+ def create_table: (
97
+ table_bucket_arn: ::String,
98
+ namespace: ::String,
99
+ name: ::String,
100
+ format: ("ICEBERG")
101
+ ) -> _CreateTableResponseSuccess
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
103
+
104
+ interface _CreateTableBucketResponseSuccess
105
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTableBucketResponse]
106
+ def arn: () -> ::String
107
+ end
108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#create_table_bucket-instance_method
109
+ def create_table_bucket: (
110
+ name: ::String
111
+ ) -> _CreateTableBucketResponseSuccess
112
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableBucketResponseSuccess
113
+
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#delete_namespace-instance_method
115
+ def delete_namespace: (
116
+ table_bucket_arn: ::String,
117
+ namespace: ::String
118
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
119
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
120
+
121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#delete_table-instance_method
122
+ def delete_table: (
123
+ table_bucket_arn: ::String,
124
+ namespace: ::String,
125
+ name: ::String,
126
+ ?version_token: ::String
127
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
128
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
129
+
130
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#delete_table_bucket-instance_method
131
+ def delete_table_bucket: (
132
+ table_bucket_arn: ::String
133
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
134
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
135
+
136
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#delete_table_bucket_policy-instance_method
137
+ def delete_table_bucket_policy: (
138
+ table_bucket_arn: ::String
139
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
141
+
142
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#delete_table_policy-instance_method
143
+ def delete_table_policy: (
144
+ table_bucket_arn: ::String,
145
+ namespace: ::String,
146
+ name: ::String
147
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
148
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
149
+
150
+ interface _GetNamespaceResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetNamespaceResponse]
152
+ def namespace: () -> ::Array[::String]
153
+ def created_at: () -> ::Time
154
+ def created_by: () -> ::String
155
+ def owner_account_id: () -> ::String
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_namespace-instance_method
158
+ def get_namespace: (
159
+ table_bucket_arn: ::String,
160
+ namespace: ::String
161
+ ) -> _GetNamespaceResponseSuccess
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNamespaceResponseSuccess
163
+
164
+ interface _GetTableResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableResponse]
166
+ def name: () -> ::String
167
+ def type: () -> ("customer" | "aws")
168
+ def table_arn: () -> ::String
169
+ def namespace: () -> ::Array[::String]
170
+ def version_token: () -> ::String
171
+ def metadata_location: () -> ::String
172
+ def warehouse_location: () -> ::String
173
+ def created_at: () -> ::Time
174
+ def created_by: () -> ::String
175
+ def managed_by_service: () -> ::String
176
+ def modified_at: () -> ::Time
177
+ def modified_by: () -> ::String
178
+ def owner_account_id: () -> ::String
179
+ def format: () -> ("ICEBERG")
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table-instance_method
182
+ def get_table: (
183
+ table_bucket_arn: ::String,
184
+ namespace: ::String,
185
+ name: ::String
186
+ ) -> _GetTableResponseSuccess
187
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableResponseSuccess
188
+
189
+ interface _GetTableBucketResponseSuccess
190
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableBucketResponse]
191
+ def arn: () -> ::String
192
+ def name: () -> ::String
193
+ def owner_account_id: () -> ::String
194
+ def created_at: () -> ::Time
195
+ end
196
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table_bucket-instance_method
197
+ def get_table_bucket: (
198
+ table_bucket_arn: ::String
199
+ ) -> _GetTableBucketResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableBucketResponseSuccess
201
+
202
+ interface _GetTableBucketMaintenanceConfigurationResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableBucketMaintenanceConfigurationResponse]
204
+ def table_bucket_arn: () -> ::String
205
+ def configuration: () -> ::Hash[("icebergUnreferencedFileRemoval"), Types::TableBucketMaintenanceConfigurationValue]
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table_bucket_maintenance_configuration-instance_method
208
+ def get_table_bucket_maintenance_configuration: (
209
+ table_bucket_arn: ::String
210
+ ) -> _GetTableBucketMaintenanceConfigurationResponseSuccess
211
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableBucketMaintenanceConfigurationResponseSuccess
212
+
213
+ interface _GetTableBucketPolicyResponseSuccess
214
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableBucketPolicyResponse]
215
+ def resource_policy: () -> ::String
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table_bucket_policy-instance_method
218
+ def get_table_bucket_policy: (
219
+ table_bucket_arn: ::String
220
+ ) -> _GetTableBucketPolicyResponseSuccess
221
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableBucketPolicyResponseSuccess
222
+
223
+ interface _GetTableMaintenanceConfigurationResponseSuccess
224
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableMaintenanceConfigurationResponse]
225
+ def table_arn: () -> ::String
226
+ def configuration: () -> ::Hash[("icebergCompaction" | "icebergSnapshotManagement"), Types::TableMaintenanceConfigurationValue]
227
+ end
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table_maintenance_configuration-instance_method
229
+ def get_table_maintenance_configuration: (
230
+ table_bucket_arn: ::String,
231
+ namespace: ::String,
232
+ name: ::String
233
+ ) -> _GetTableMaintenanceConfigurationResponseSuccess
234
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableMaintenanceConfigurationResponseSuccess
235
+
236
+ interface _GetTableMaintenanceJobStatusResponseSuccess
237
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableMaintenanceJobStatusResponse]
238
+ def table_arn: () -> ::String
239
+ def status: () -> ::Hash[("icebergCompaction" | "icebergSnapshotManagement" | "icebergUnreferencedFileRemoval"), Types::TableMaintenanceJobStatusValue]
240
+ end
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table_maintenance_job_status-instance_method
242
+ def get_table_maintenance_job_status: (
243
+ table_bucket_arn: ::String,
244
+ namespace: ::String,
245
+ name: ::String
246
+ ) -> _GetTableMaintenanceJobStatusResponseSuccess
247
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableMaintenanceJobStatusResponseSuccess
248
+
249
+ interface _GetTableMetadataLocationResponseSuccess
250
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTableMetadataLocationResponse]
251
+ def version_token: () -> ::String
252
+ def metadata_location: () -> ::String
253
+ def warehouse_location: () -> ::String
254
+ end
255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table_metadata_location-instance_method
256
+ def get_table_metadata_location: (
257
+ table_bucket_arn: ::String,
258
+ namespace: ::String,
259
+ name: ::String
260
+ ) -> _GetTableMetadataLocationResponseSuccess
261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableMetadataLocationResponseSuccess
262
+
263
+ interface _GetTablePolicyResponseSuccess
264
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTablePolicyResponse]
265
+ def resource_policy: () -> ::String
266
+ end
267
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#get_table_policy-instance_method
268
+ def get_table_policy: (
269
+ table_bucket_arn: ::String,
270
+ namespace: ::String,
271
+ name: ::String
272
+ ) -> _GetTablePolicyResponseSuccess
273
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTablePolicyResponseSuccess
274
+
275
+ interface _ListNamespacesResponseSuccess
276
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNamespacesResponse]
277
+ def namespaces: () -> ::Array[Types::NamespaceSummary]
278
+ def continuation_token: () -> ::String
279
+ end
280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#list_namespaces-instance_method
281
+ def list_namespaces: (
282
+ table_bucket_arn: ::String,
283
+ ?prefix: ::String,
284
+ ?continuation_token: ::String,
285
+ ?max_namespaces: ::Integer
286
+ ) -> _ListNamespacesResponseSuccess
287
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNamespacesResponseSuccess
288
+
289
+ interface _ListTableBucketsResponseSuccess
290
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTableBucketsResponse]
291
+ def table_buckets: () -> ::Array[Types::TableBucketSummary]
292
+ def continuation_token: () -> ::String
293
+ end
294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#list_table_buckets-instance_method
295
+ def list_table_buckets: (
296
+ ?prefix: ::String,
297
+ ?continuation_token: ::String,
298
+ ?max_buckets: ::Integer
299
+ ) -> _ListTableBucketsResponseSuccess
300
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTableBucketsResponseSuccess
301
+
302
+ interface _ListTablesResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTablesResponse]
304
+ def tables: () -> ::Array[Types::TableSummary]
305
+ def continuation_token: () -> ::String
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#list_tables-instance_method
308
+ def list_tables: (
309
+ table_bucket_arn: ::String,
310
+ ?namespace: ::String,
311
+ ?prefix: ::String,
312
+ ?continuation_token: ::String,
313
+ ?max_tables: ::Integer
314
+ ) -> _ListTablesResponseSuccess
315
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTablesResponseSuccess
316
+
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_bucket_maintenance_configuration-instance_method
318
+ def put_table_bucket_maintenance_configuration: (
319
+ table_bucket_arn: ::String,
320
+ type: ("icebergUnreferencedFileRemoval"),
321
+ value: {
322
+ status: ("enabled" | "disabled")?,
323
+ settings: {
324
+ iceberg_unreferenced_file_removal: {
325
+ unreferenced_days: ::Integer?,
326
+ non_current_days: ::Integer?
327
+ }?
328
+ }?
329
+ }
330
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
332
+
333
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_bucket_policy-instance_method
334
+ def put_table_bucket_policy: (
335
+ table_bucket_arn: ::String,
336
+ resource_policy: ::String
337
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
338
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
339
+
340
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_maintenance_configuration-instance_method
341
+ def put_table_maintenance_configuration: (
342
+ table_bucket_arn: ::String,
343
+ namespace: ::String,
344
+ name: ::String,
345
+ type: ("icebergCompaction" | "icebergSnapshotManagement"),
346
+ value: {
347
+ status: ("enabled" | "disabled")?,
348
+ settings: {
349
+ iceberg_compaction: {
350
+ target_file_size_mb: ::Integer?
351
+ }?,
352
+ iceberg_snapshot_management: {
353
+ min_snapshots_to_keep: ::Integer?,
354
+ max_snapshot_age_hours: ::Integer?
355
+ }?
356
+ }?
357
+ }
358
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
359
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
360
+
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#put_table_policy-instance_method
362
+ def put_table_policy: (
363
+ table_bucket_arn: ::String,
364
+ namespace: ::String,
365
+ name: ::String,
366
+ resource_policy: ::String
367
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
368
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
369
+
370
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#rename_table-instance_method
371
+ def rename_table: (
372
+ table_bucket_arn: ::String,
373
+ namespace: ::String,
374
+ name: ::String,
375
+ ?new_namespace_name: ::String,
376
+ ?new_name: ::String,
377
+ ?version_token: ::String
378
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
379
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
380
+
381
+ interface _UpdateTableMetadataLocationResponseSuccess
382
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTableMetadataLocationResponse]
383
+ def name: () -> ::String
384
+ def table_arn: () -> ::String
385
+ def namespace: () -> ::Array[::String]
386
+ def version_token: () -> ::String
387
+ def metadata_location: () -> ::String
388
+ end
389
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Client.html#update_table_metadata_location-instance_method
390
+ def update_table_metadata_location: (
391
+ table_bucket_arn: ::String,
392
+ namespace: ::String,
393
+ name: ::String,
394
+ version_token: ::String,
395
+ metadata_location: ::String
396
+ ) -> _UpdateTableMetadataLocationResponseSuccess
397
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableMetadataLocationResponseSuccess
398
+ end
399
+ end
400
+ end
401
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,37 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module S3Tables
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class BadRequestException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ConflictException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ForbiddenException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class InternalServerErrorException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class NotFoundException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class TooManyRequestsException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ end
36
+ end
37
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,82 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module S3Tables
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Tables/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?client_side_monitoring: bool,
22
+ ?client_side_monitoring_client_id: String,
23
+ ?client_side_monitoring_host: String,
24
+ ?client_side_monitoring_port: Integer,
25
+ ?client_side_monitoring_publisher: untyped,
26
+ ?convert_params: bool,
27
+ ?correct_clock_skew: bool,
28
+ ?defaults_mode: String,
29
+ ?disable_host_prefix_injection: bool,
30
+ ?disable_request_compression: bool,
31
+ ?endpoint: String,
32
+ ?endpoint_cache_max_entries: Integer,
33
+ ?endpoint_cache_max_threads: Integer,
34
+ ?endpoint_cache_poll_interval: Integer,
35
+ ?endpoint_discovery: bool,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?log_formatter: untyped,
38
+ ?log_level: Symbol,
39
+ ?logger: untyped,
40
+ ?max_attempts: Integer,
41
+ ?profile: String,
42
+ ?request_min_compression_size_bytes: Integer,
43
+ ?retry_backoff: Proc,
44
+ ?retry_base_delay: Float,
45
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
46
+ ?retry_limit: Integer,
47
+ ?retry_max_delay: Integer,
48
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
49
+ ?sdk_ua_app_id: String,
50
+ ?secret_access_key: String,
51
+ ?session_token: String,
52
+ ?sigv4a_signing_region_set: Array[String],
53
+ ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
55
+ ?token_provider: untyped,
56
+ ?use_dualstack_endpoint: bool,
57
+ ?use_fips_endpoint: bool,
58
+ ?validate_params: bool,
59
+ ?endpoint_provider: untyped,
60
+ ?http_proxy: String,
61
+ ?http_open_timeout: (Float | Integer),
62
+ ?http_read_timeout: (Float | Integer),
63
+ ?http_idle_timeout: (Float | Integer),
64
+ ?http_continue_timeout: (Float | Integer),
65
+ ?ssl_timeout: (Float | Integer | nil),
66
+ ?http_wire_trace: bool,
67
+ ?ssl_verify_peer: bool,
68
+ ?ssl_ca_bundle: String,
69
+ ?ssl_ca_directory: String,
70
+ ?ssl_ca_store: String,
71
+ ?on_chunk_received: Proc,
72
+ ?on_chunk_sent: Proc,
73
+ ?raise_response_errors: bool
74
+ ) -> void
75
+ | (?Hash[Symbol, untyped]) -> void
76
+
77
+ def client: () -> Client
78
+
79
+
80
+ end
81
+ end
82
+ end