aws-sdk-dynamodb 1.84.0 → 1.118.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,1495 @@
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 DynamoDB
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?compute_checksums: bool,
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
+ ?simple_attributes: bool,
54
+ ?simple_json: bool,
55
+ ?stub_responses: untyped,
56
+ ?token_provider: untyped,
57
+ ?use_dualstack_endpoint: bool,
58
+ ?use_fips_endpoint: bool,
59
+ ?validate_params: bool,
60
+ ?endpoint_provider: untyped,
61
+ ?http_proxy: String,
62
+ ?http_open_timeout: (Float | Integer),
63
+ ?http_read_timeout: (Float | Integer),
64
+ ?http_idle_timeout: (Float | Integer),
65
+ ?http_continue_timeout: (Float | Integer),
66
+ ?ssl_timeout: (Float | Integer | nil),
67
+ ?http_wire_trace: bool,
68
+ ?ssl_verify_peer: bool,
69
+ ?ssl_ca_bundle: String,
70
+ ?ssl_ca_directory: String,
71
+ ?ssl_ca_store: String,
72
+ ?on_chunk_received: Proc,
73
+ ?on_chunk_sent: Proc,
74
+ ?raise_response_errors: bool
75
+ ) -> instance
76
+ | (?Hash[Symbol, untyped]) -> instance
77
+
78
+
79
+ interface _BatchExecuteStatementResponseSuccess
80
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchExecuteStatementOutput]
81
+ def responses: () -> ::Array[Types::BatchStatementResponse]
82
+ def consumed_capacity: () -> ::Array[Types::ConsumedCapacity]
83
+ end
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#batch_execute_statement-instance_method
85
+ def batch_execute_statement: (
86
+ statements: Array[
87
+ {
88
+ statement: ::String,
89
+ parameters: Array[untyped]?,
90
+ consistent_read: bool?,
91
+ return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
92
+ },
93
+ ],
94
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE")
95
+ ) -> _BatchExecuteStatementResponseSuccess
96
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchExecuteStatementResponseSuccess
97
+
98
+ interface _BatchGetItemResponseSuccess
99
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetItemOutput]
100
+ def responses: () -> ::Hash[::String, ::Array[::Hash[::String, Types::AttributeValue]]]
101
+ def unprocessed_keys: () -> ::Hash[::String, Types::KeysAndAttributes]
102
+ def consumed_capacity: () -> ::Array[Types::ConsumedCapacity]
103
+ end
104
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#batch_get_item-instance_method
105
+ def batch_get_item: (
106
+ request_items: Hash[::String, {
107
+ keys: Array[
108
+ Hash[::String, untyped],
109
+ ],
110
+ attributes_to_get: Array[::String]?,
111
+ consistent_read: bool?,
112
+ projection_expression: ::String?,
113
+ expression_attribute_names: Hash[::String, ::String]?
114
+ }],
115
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE")
116
+ ) -> _BatchGetItemResponseSuccess
117
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetItemResponseSuccess
118
+
119
+ interface _BatchWriteItemResponseSuccess
120
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchWriteItemOutput]
121
+ def unprocessed_items: () -> ::Hash[::String, ::Array[Types::WriteRequest]]
122
+ def item_collection_metrics: () -> ::Hash[::String, ::Array[Types::ItemCollectionMetrics]]
123
+ def consumed_capacity: () -> ::Array[Types::ConsumedCapacity]
124
+ end
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#batch_write_item-instance_method
126
+ def batch_write_item: (
127
+ request_items: Hash[::String, Array[
128
+ {
129
+ put_request: {
130
+ item: Hash[::String, untyped]
131
+ }?,
132
+ delete_request: {
133
+ key: Hash[::String, untyped]
134
+ }?
135
+ },
136
+ ]],
137
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
138
+ ?return_item_collection_metrics: ("SIZE" | "NONE")
139
+ ) -> _BatchWriteItemResponseSuccess
140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchWriteItemResponseSuccess
141
+
142
+ interface _CreateBackupResponseSuccess
143
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateBackupOutput]
144
+ def backup_details: () -> Types::BackupDetails
145
+ end
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#create_backup-instance_method
147
+ def create_backup: (
148
+ table_name: ::String,
149
+ backup_name: ::String
150
+ ) -> _CreateBackupResponseSuccess
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBackupResponseSuccess
152
+
153
+ interface _CreateGlobalTableResponseSuccess
154
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGlobalTableOutput]
155
+ def global_table_description: () -> Types::GlobalTableDescription
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#create_global_table-instance_method
158
+ def create_global_table: (
159
+ global_table_name: ::String,
160
+ replication_group: Array[
161
+ {
162
+ region_name: ::String?
163
+ },
164
+ ]
165
+ ) -> _CreateGlobalTableResponseSuccess
166
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGlobalTableResponseSuccess
167
+
168
+ interface _CreateTableResponseSuccess
169
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTableOutput]
170
+ def table_description: () -> Types::TableDescription
171
+ end
172
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#create_table-instance_method
173
+ def create_table: (
174
+ attribute_definitions: Array[
175
+ {
176
+ attribute_name: ::String,
177
+ attribute_type: ("S" | "N" | "B")
178
+ },
179
+ ],
180
+ table_name: ::String,
181
+ key_schema: Array[
182
+ {
183
+ attribute_name: ::String,
184
+ key_type: ("HASH" | "RANGE")
185
+ },
186
+ ],
187
+ ?local_secondary_indexes: Array[
188
+ {
189
+ index_name: ::String,
190
+ key_schema: Array[
191
+ {
192
+ attribute_name: ::String,
193
+ key_type: ("HASH" | "RANGE")
194
+ },
195
+ ],
196
+ projection: {
197
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
198
+ non_key_attributes: Array[::String]?
199
+ }
200
+ },
201
+ ],
202
+ ?global_secondary_indexes: Array[
203
+ {
204
+ index_name: ::String,
205
+ key_schema: Array[
206
+ {
207
+ attribute_name: ::String,
208
+ key_type: ("HASH" | "RANGE")
209
+ },
210
+ ],
211
+ projection: {
212
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
213
+ non_key_attributes: Array[::String]?
214
+ },
215
+ provisioned_throughput: {
216
+ read_capacity_units: ::Integer,
217
+ write_capacity_units: ::Integer
218
+ }?,
219
+ on_demand_throughput: {
220
+ max_read_request_units: ::Integer?,
221
+ max_write_request_units: ::Integer?
222
+ }?
223
+ },
224
+ ],
225
+ ?billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST"),
226
+ ?provisioned_throughput: {
227
+ read_capacity_units: ::Integer,
228
+ write_capacity_units: ::Integer
229
+ },
230
+ ?stream_specification: {
231
+ stream_enabled: bool,
232
+ stream_view_type: ("NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY")?
233
+ },
234
+ ?sse_specification: {
235
+ enabled: bool?,
236
+ sse_type: ("AES256" | "KMS")?,
237
+ kms_master_key_id: ::String?
238
+ },
239
+ ?tags: Array[
240
+ {
241
+ key: ::String,
242
+ value: ::String
243
+ },
244
+ ],
245
+ ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
246
+ ?deletion_protection_enabled: bool,
247
+ ?resource_policy: ::String,
248
+ ?on_demand_throughput: {
249
+ max_read_request_units: ::Integer?,
250
+ max_write_request_units: ::Integer?
251
+ }
252
+ ) -> _CreateTableResponseSuccess
253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
254
+
255
+ interface _DeleteBackupResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBackupOutput]
257
+ def backup_description: () -> Types::BackupDescription
258
+ end
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#delete_backup-instance_method
260
+ def delete_backup: (
261
+ backup_arn: ::String
262
+ ) -> _DeleteBackupResponseSuccess
263
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBackupResponseSuccess
264
+
265
+ interface _DeleteItemResponseSuccess
266
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteItemOutput]
267
+ def attributes: () -> ::Hash[::String, Types::AttributeValue]
268
+ def consumed_capacity: () -> Types::ConsumedCapacity
269
+ def item_collection_metrics: () -> Types::ItemCollectionMetrics
270
+ end
271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#delete_item-instance_method
272
+ def delete_item: (
273
+ table_name: ::String,
274
+ key: Hash[::String, untyped],
275
+ ?expected: Hash[::String, {
276
+ value: untyped?,
277
+ exists: bool?,
278
+ comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")?,
279
+ attribute_value_list: Array[untyped]?
280
+ }],
281
+ ?conditional_operator: ("AND" | "OR"),
282
+ ?return_values: ("NONE" | "ALL_OLD" | "UPDATED_OLD" | "ALL_NEW" | "UPDATED_NEW"),
283
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
284
+ ?return_item_collection_metrics: ("SIZE" | "NONE"),
285
+ ?condition_expression: ::String,
286
+ ?expression_attribute_names: Hash[::String, ::String],
287
+ ?expression_attribute_values: Hash[::String, untyped],
288
+ ?return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")
289
+ ) -> _DeleteItemResponseSuccess
290
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteItemResponseSuccess
291
+
292
+ interface _DeleteResourcePolicyResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyOutput]
294
+ def revision_id: () -> ::String
295
+ end
296
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#delete_resource_policy-instance_method
297
+ def delete_resource_policy: (
298
+ resource_arn: ::String,
299
+ ?expected_revision_id: ::String
300
+ ) -> _DeleteResourcePolicyResponseSuccess
301
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
302
+
303
+ interface _DeleteTableResponseSuccess
304
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTableOutput]
305
+ def table_description: () -> Types::TableDescription
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#delete_table-instance_method
308
+ def delete_table: (
309
+ table_name: ::String
310
+ ) -> _DeleteTableResponseSuccess
311
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTableResponseSuccess
312
+
313
+ interface _DescribeBackupResponseSuccess
314
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBackupOutput]
315
+ def backup_description: () -> Types::BackupDescription
316
+ end
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_backup-instance_method
318
+ def describe_backup: (
319
+ backup_arn: ::String
320
+ ) -> _DescribeBackupResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBackupResponseSuccess
322
+
323
+ interface _DescribeContinuousBackupsResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeContinuousBackupsOutput]
325
+ def continuous_backups_description: () -> Types::ContinuousBackupsDescription
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_continuous_backups-instance_method
328
+ def describe_continuous_backups: (
329
+ table_name: ::String
330
+ ) -> _DescribeContinuousBackupsResponseSuccess
331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeContinuousBackupsResponseSuccess
332
+
333
+ interface _DescribeContributorInsightsResponseSuccess
334
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeContributorInsightsOutput]
335
+ def table_name: () -> ::String
336
+ def index_name: () -> ::String
337
+ def contributor_insights_rule_list: () -> ::Array[::String]
338
+ def contributor_insights_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "FAILED")
339
+ def last_update_date_time: () -> ::Time
340
+ def failure_exception: () -> Types::FailureException
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_contributor_insights-instance_method
343
+ def describe_contributor_insights: (
344
+ table_name: ::String,
345
+ ?index_name: ::String
346
+ ) -> _DescribeContributorInsightsResponseSuccess
347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeContributorInsightsResponseSuccess
348
+
349
+ interface _DescribeEndpointsResponseSuccess
350
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEndpointsResponse]
351
+ def endpoints: () -> ::Array[Types::Endpoint]
352
+ end
353
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_endpoints-instance_method
354
+ def describe_endpoints: (
355
+ ) -> _DescribeEndpointsResponseSuccess
356
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEndpointsResponseSuccess
357
+
358
+ interface _DescribeExportResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeExportOutput]
360
+ def export_description: () -> Types::ExportDescription
361
+ end
362
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_export-instance_method
363
+ def describe_export: (
364
+ export_arn: ::String
365
+ ) -> _DescribeExportResponseSuccess
366
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeExportResponseSuccess
367
+
368
+ interface _DescribeGlobalTableResponseSuccess
369
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGlobalTableOutput]
370
+ def global_table_description: () -> Types::GlobalTableDescription
371
+ end
372
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_global_table-instance_method
373
+ def describe_global_table: (
374
+ global_table_name: ::String
375
+ ) -> _DescribeGlobalTableResponseSuccess
376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGlobalTableResponseSuccess
377
+
378
+ interface _DescribeGlobalTableSettingsResponseSuccess
379
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGlobalTableSettingsOutput]
380
+ def global_table_name: () -> ::String
381
+ def replica_settings: () -> ::Array[Types::ReplicaSettingsDescription]
382
+ end
383
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_global_table_settings-instance_method
384
+ def describe_global_table_settings: (
385
+ global_table_name: ::String
386
+ ) -> _DescribeGlobalTableSettingsResponseSuccess
387
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGlobalTableSettingsResponseSuccess
388
+
389
+ interface _DescribeImportResponseSuccess
390
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImportOutput]
391
+ def import_table_description: () -> Types::ImportTableDescription
392
+ end
393
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_import-instance_method
394
+ def describe_import: (
395
+ import_arn: ::String
396
+ ) -> _DescribeImportResponseSuccess
397
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImportResponseSuccess
398
+
399
+ interface _DescribeKinesisStreamingDestinationResponseSuccess
400
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeKinesisStreamingDestinationOutput]
401
+ def table_name: () -> ::String
402
+ def kinesis_data_stream_destinations: () -> ::Array[Types::KinesisDataStreamDestination]
403
+ end
404
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_kinesis_streaming_destination-instance_method
405
+ def describe_kinesis_streaming_destination: (
406
+ table_name: ::String
407
+ ) -> _DescribeKinesisStreamingDestinationResponseSuccess
408
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeKinesisStreamingDestinationResponseSuccess
409
+
410
+ interface _DescribeLimitsResponseSuccess
411
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLimitsOutput]
412
+ def account_max_read_capacity_units: () -> ::Integer
413
+ def account_max_write_capacity_units: () -> ::Integer
414
+ def table_max_read_capacity_units: () -> ::Integer
415
+ def table_max_write_capacity_units: () -> ::Integer
416
+ end
417
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_limits-instance_method
418
+ def describe_limits: (
419
+ ) -> _DescribeLimitsResponseSuccess
420
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLimitsResponseSuccess
421
+
422
+ interface _DescribeTableResponseSuccess
423
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTableOutput]
424
+ def table: () -> Types::TableDescription
425
+ end
426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_table-instance_method
427
+ def describe_table: (
428
+ table_name: ::String
429
+ ) -> _DescribeTableResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTableResponseSuccess
431
+
432
+ interface _DescribeTableReplicaAutoScalingResponseSuccess
433
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTableReplicaAutoScalingOutput]
434
+ def table_auto_scaling_description: () -> Types::TableAutoScalingDescription
435
+ end
436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_table_replica_auto_scaling-instance_method
437
+ def describe_table_replica_auto_scaling: (
438
+ table_name: ::String
439
+ ) -> _DescribeTableReplicaAutoScalingResponseSuccess
440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTableReplicaAutoScalingResponseSuccess
441
+
442
+ interface _DescribeTimeToLiveResponseSuccess
443
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTimeToLiveOutput]
444
+ def time_to_live_description: () -> Types::TimeToLiveDescription
445
+ end
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#describe_time_to_live-instance_method
447
+ def describe_time_to_live: (
448
+ table_name: ::String
449
+ ) -> _DescribeTimeToLiveResponseSuccess
450
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTimeToLiveResponseSuccess
451
+
452
+ interface _DisableKinesisStreamingDestinationResponseSuccess
453
+ include ::Seahorse::Client::_ResponseSuccess[Types::KinesisStreamingDestinationOutput]
454
+ def table_name: () -> ::String
455
+ def stream_arn: () -> ::String
456
+ def destination_status: () -> ("ENABLING" | "ACTIVE" | "DISABLING" | "DISABLED" | "ENABLE_FAILED" | "UPDATING")
457
+ def enable_kinesis_streaming_configuration: () -> Types::EnableKinesisStreamingConfiguration
458
+ end
459
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#disable_kinesis_streaming_destination-instance_method
460
+ def disable_kinesis_streaming_destination: (
461
+ table_name: ::String,
462
+ stream_arn: ::String,
463
+ ?enable_kinesis_streaming_configuration: {
464
+ approximate_creation_date_time_precision: ("MILLISECOND" | "MICROSECOND")?
465
+ }
466
+ ) -> _DisableKinesisStreamingDestinationResponseSuccess
467
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableKinesisStreamingDestinationResponseSuccess
468
+
469
+ interface _EnableKinesisStreamingDestinationResponseSuccess
470
+ include ::Seahorse::Client::_ResponseSuccess[Types::KinesisStreamingDestinationOutput]
471
+ def table_name: () -> ::String
472
+ def stream_arn: () -> ::String
473
+ def destination_status: () -> ("ENABLING" | "ACTIVE" | "DISABLING" | "DISABLED" | "ENABLE_FAILED" | "UPDATING")
474
+ def enable_kinesis_streaming_configuration: () -> Types::EnableKinesisStreamingConfiguration
475
+ end
476
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#enable_kinesis_streaming_destination-instance_method
477
+ def enable_kinesis_streaming_destination: (
478
+ table_name: ::String,
479
+ stream_arn: ::String,
480
+ ?enable_kinesis_streaming_configuration: {
481
+ approximate_creation_date_time_precision: ("MILLISECOND" | "MICROSECOND")?
482
+ }
483
+ ) -> _EnableKinesisStreamingDestinationResponseSuccess
484
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableKinesisStreamingDestinationResponseSuccess
485
+
486
+ interface _ExecuteStatementResponseSuccess
487
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExecuteStatementOutput]
488
+ def items: () -> ::Array[::Hash[::String, Types::AttributeValue]]
489
+ def next_token: () -> ::String
490
+ def consumed_capacity: () -> Types::ConsumedCapacity
491
+ def last_evaluated_key: () -> ::Hash[::String, Types::AttributeValue]
492
+ end
493
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#execute_statement-instance_method
494
+ def execute_statement: (
495
+ statement: ::String,
496
+ ?parameters: Array[untyped],
497
+ ?consistent_read: bool,
498
+ ?next_token: ::String,
499
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
500
+ ?limit: ::Integer,
501
+ ?return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")
502
+ ) -> _ExecuteStatementResponseSuccess
503
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteStatementResponseSuccess
504
+
505
+ interface _ExecuteTransactionResponseSuccess
506
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExecuteTransactionOutput]
507
+ def responses: () -> ::Array[Types::ItemResponse]
508
+ def consumed_capacity: () -> ::Array[Types::ConsumedCapacity]
509
+ end
510
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#execute_transaction-instance_method
511
+ def execute_transaction: (
512
+ transact_statements: Array[
513
+ {
514
+ statement: ::String,
515
+ parameters: Array[untyped]?,
516
+ return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
517
+ },
518
+ ],
519
+ ?client_request_token: ::String,
520
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE")
521
+ ) -> _ExecuteTransactionResponseSuccess
522
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteTransactionResponseSuccess
523
+
524
+ interface _ExportTableToPointInTimeResponseSuccess
525
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportTableToPointInTimeOutput]
526
+ def export_description: () -> Types::ExportDescription
527
+ end
528
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#export_table_to_point_in_time-instance_method
529
+ def export_table_to_point_in_time: (
530
+ table_arn: ::String,
531
+ ?export_time: ::Time,
532
+ ?client_token: ::String,
533
+ s3_bucket: ::String,
534
+ ?s3_bucket_owner: ::String,
535
+ ?s3_prefix: ::String,
536
+ ?s3_sse_algorithm: ("AES256" | "KMS"),
537
+ ?s3_sse_kms_key_id: ::String,
538
+ ?export_format: ("DYNAMODB_JSON" | "ION"),
539
+ ?export_type: ("FULL_EXPORT" | "INCREMENTAL_EXPORT"),
540
+ ?incremental_export_specification: {
541
+ export_from_time: ::Time?,
542
+ export_to_time: ::Time?,
543
+ export_view_type: ("NEW_IMAGE" | "NEW_AND_OLD_IMAGES")?
544
+ }
545
+ ) -> _ExportTableToPointInTimeResponseSuccess
546
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportTableToPointInTimeResponseSuccess
547
+
548
+ interface _GetItemResponseSuccess
549
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetItemOutput]
550
+ def item: () -> ::Hash[::String, Types::AttributeValue]
551
+ def consumed_capacity: () -> Types::ConsumedCapacity
552
+ end
553
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#get_item-instance_method
554
+ def get_item: (
555
+ table_name: ::String,
556
+ key: Hash[::String, untyped],
557
+ ?attributes_to_get: Array[::String],
558
+ ?consistent_read: bool,
559
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
560
+ ?projection_expression: ::String,
561
+ ?expression_attribute_names: Hash[::String, ::String]
562
+ ) -> _GetItemResponseSuccess
563
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetItemResponseSuccess
564
+
565
+ interface _GetResourcePolicyResponseSuccess
566
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyOutput]
567
+ def policy: () -> ::String
568
+ def revision_id: () -> ::String
569
+ end
570
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#get_resource_policy-instance_method
571
+ def get_resource_policy: (
572
+ resource_arn: ::String
573
+ ) -> _GetResourcePolicyResponseSuccess
574
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
575
+
576
+ interface _ImportTableResponseSuccess
577
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportTableOutput]
578
+ def import_table_description: () -> Types::ImportTableDescription
579
+ end
580
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#import_table-instance_method
581
+ def import_table: (
582
+ ?client_token: ::String,
583
+ s3_bucket_source: {
584
+ s3_bucket_owner: ::String?,
585
+ s3_bucket: ::String,
586
+ s3_key_prefix: ::String?
587
+ },
588
+ input_format: ("DYNAMODB_JSON" | "ION" | "CSV"),
589
+ ?input_format_options: {
590
+ csv: {
591
+ delimiter: ::String?,
592
+ header_list: Array[::String]?
593
+ }?
594
+ },
595
+ ?input_compression_type: ("GZIP" | "ZSTD" | "NONE"),
596
+ table_creation_parameters: {
597
+ table_name: ::String,
598
+ attribute_definitions: Array[
599
+ {
600
+ attribute_name: ::String,
601
+ attribute_type: ("S" | "N" | "B")
602
+ },
603
+ ],
604
+ key_schema: Array[
605
+ {
606
+ attribute_name: ::String,
607
+ key_type: ("HASH" | "RANGE")
608
+ },
609
+ ],
610
+ billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST")?,
611
+ provisioned_throughput: {
612
+ read_capacity_units: ::Integer,
613
+ write_capacity_units: ::Integer
614
+ }?,
615
+ on_demand_throughput: {
616
+ max_read_request_units: ::Integer?,
617
+ max_write_request_units: ::Integer?
618
+ }?,
619
+ sse_specification: {
620
+ enabled: bool?,
621
+ sse_type: ("AES256" | "KMS")?,
622
+ kms_master_key_id: ::String?
623
+ }?,
624
+ global_secondary_indexes: Array[
625
+ {
626
+ index_name: ::String,
627
+ key_schema: Array[
628
+ {
629
+ attribute_name: ::String,
630
+ key_type: ("HASH" | "RANGE")
631
+ },
632
+ ],
633
+ projection: {
634
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
635
+ non_key_attributes: Array[::String]?
636
+ },
637
+ provisioned_throughput: {
638
+ read_capacity_units: ::Integer,
639
+ write_capacity_units: ::Integer
640
+ }?,
641
+ on_demand_throughput: {
642
+ max_read_request_units: ::Integer?,
643
+ max_write_request_units: ::Integer?
644
+ }?
645
+ },
646
+ ]?
647
+ }
648
+ ) -> _ImportTableResponseSuccess
649
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportTableResponseSuccess
650
+
651
+ interface _ListBackupsResponseSuccess
652
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBackupsOutput]
653
+ def backup_summaries: () -> ::Array[Types::BackupSummary]
654
+ def last_evaluated_backup_arn: () -> ::String
655
+ end
656
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#list_backups-instance_method
657
+ def list_backups: (
658
+ ?table_name: ::String,
659
+ ?limit: ::Integer,
660
+ ?time_range_lower_bound: ::Time,
661
+ ?time_range_upper_bound: ::Time,
662
+ ?exclusive_start_backup_arn: ::String,
663
+ ?backup_type: ("USER" | "SYSTEM" | "AWS_BACKUP" | "ALL")
664
+ ) -> _ListBackupsResponseSuccess
665
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBackupsResponseSuccess
666
+
667
+ interface _ListContributorInsightsResponseSuccess
668
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListContributorInsightsOutput]
669
+ def contributor_insights_summaries: () -> ::Array[Types::ContributorInsightsSummary]
670
+ def next_token: () -> ::String
671
+ end
672
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#list_contributor_insights-instance_method
673
+ def list_contributor_insights: (
674
+ ?table_name: ::String,
675
+ ?next_token: ::String,
676
+ ?max_results: ::Integer
677
+ ) -> _ListContributorInsightsResponseSuccess
678
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContributorInsightsResponseSuccess
679
+
680
+ interface _ListExportsResponseSuccess
681
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListExportsOutput]
682
+ def export_summaries: () -> ::Array[Types::ExportSummary]
683
+ def next_token: () -> ::String
684
+ end
685
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#list_exports-instance_method
686
+ def list_exports: (
687
+ ?table_arn: ::String,
688
+ ?max_results: ::Integer,
689
+ ?next_token: ::String
690
+ ) -> _ListExportsResponseSuccess
691
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExportsResponseSuccess
692
+
693
+ interface _ListGlobalTablesResponseSuccess
694
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGlobalTablesOutput]
695
+ def global_tables: () -> ::Array[Types::GlobalTable]
696
+ def last_evaluated_global_table_name: () -> ::String
697
+ end
698
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#list_global_tables-instance_method
699
+ def list_global_tables: (
700
+ ?exclusive_start_global_table_name: ::String,
701
+ ?limit: ::Integer,
702
+ ?region_name: ::String
703
+ ) -> _ListGlobalTablesResponseSuccess
704
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGlobalTablesResponseSuccess
705
+
706
+ interface _ListImportsResponseSuccess
707
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListImportsOutput]
708
+ def import_summary_list: () -> ::Array[Types::ImportSummary]
709
+ def next_token: () -> ::String
710
+ end
711
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#list_imports-instance_method
712
+ def list_imports: (
713
+ ?table_arn: ::String,
714
+ ?page_size: ::Integer,
715
+ ?next_token: ::String
716
+ ) -> _ListImportsResponseSuccess
717
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportsResponseSuccess
718
+
719
+ interface _ListTablesResponseSuccess
720
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTablesOutput]
721
+ def table_names: () -> ::Array[::String]
722
+ def last_evaluated_table_name: () -> ::String
723
+ end
724
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#list_tables-instance_method
725
+ def list_tables: (
726
+ ?exclusive_start_table_name: ::String,
727
+ ?limit: ::Integer
728
+ ) -> _ListTablesResponseSuccess
729
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTablesResponseSuccess
730
+
731
+ interface _ListTagsOfResourceResponseSuccess
732
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsOfResourceOutput]
733
+ def tags: () -> ::Array[Types::Tag]
734
+ def next_token: () -> ::String
735
+ end
736
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#list_tags_of_resource-instance_method
737
+ def list_tags_of_resource: (
738
+ resource_arn: ::String,
739
+ ?next_token: ::String
740
+ ) -> _ListTagsOfResourceResponseSuccess
741
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsOfResourceResponseSuccess
742
+
743
+ interface _PutItemResponseSuccess
744
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutItemOutput]
745
+ def attributes: () -> ::Hash[::String, Types::AttributeValue]
746
+ def consumed_capacity: () -> Types::ConsumedCapacity
747
+ def item_collection_metrics: () -> Types::ItemCollectionMetrics
748
+ end
749
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#put_item-instance_method
750
+ def put_item: (
751
+ table_name: ::String,
752
+ item: Hash[::String, untyped],
753
+ ?expected: Hash[::String, {
754
+ value: untyped?,
755
+ exists: bool?,
756
+ comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")?,
757
+ attribute_value_list: Array[untyped]?
758
+ }],
759
+ ?return_values: ("NONE" | "ALL_OLD" | "UPDATED_OLD" | "ALL_NEW" | "UPDATED_NEW"),
760
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
761
+ ?return_item_collection_metrics: ("SIZE" | "NONE"),
762
+ ?conditional_operator: ("AND" | "OR"),
763
+ ?condition_expression: ::String,
764
+ ?expression_attribute_names: Hash[::String, ::String],
765
+ ?expression_attribute_values: Hash[::String, untyped],
766
+ ?return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")
767
+ ) -> _PutItemResponseSuccess
768
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutItemResponseSuccess
769
+
770
+ interface _PutResourcePolicyResponseSuccess
771
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyOutput]
772
+ def revision_id: () -> ::String
773
+ end
774
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#put_resource_policy-instance_method
775
+ def put_resource_policy: (
776
+ resource_arn: ::String,
777
+ policy: ::String,
778
+ ?expected_revision_id: ::String,
779
+ ?confirm_remove_self_resource_access: bool
780
+ ) -> _PutResourcePolicyResponseSuccess
781
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
782
+
783
+ interface _QueryResponseSuccess
784
+ include ::Seahorse::Client::_ResponseSuccess[Types::QueryOutput]
785
+ def items: () -> ::Array[::Hash[::String, Types::AttributeValue]]
786
+ def count: () -> ::Integer
787
+ def scanned_count: () -> ::Integer
788
+ def last_evaluated_key: () -> ::Hash[::String, Types::AttributeValue]
789
+ def consumed_capacity: () -> Types::ConsumedCapacity
790
+ end
791
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#query-instance_method
792
+ def query: (
793
+ table_name: ::String,
794
+ ?index_name: ::String,
795
+ ?select: ("ALL_ATTRIBUTES" | "ALL_PROJECTED_ATTRIBUTES" | "SPECIFIC_ATTRIBUTES" | "COUNT"),
796
+ ?attributes_to_get: Array[::String],
797
+ ?limit: ::Integer,
798
+ ?consistent_read: bool,
799
+ ?key_conditions: Hash[::String, {
800
+ attribute_value_list: Array[untyped]?,
801
+ comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")
802
+ }],
803
+ ?query_filter: Hash[::String, {
804
+ attribute_value_list: Array[untyped]?,
805
+ comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")
806
+ }],
807
+ ?conditional_operator: ("AND" | "OR"),
808
+ ?scan_index_forward: bool,
809
+ ?exclusive_start_key: Hash[::String, untyped],
810
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
811
+ ?projection_expression: ::String,
812
+ ?filter_expression: ::String,
813
+ ?key_condition_expression: ::String,
814
+ ?expression_attribute_names: Hash[::String, ::String],
815
+ ?expression_attribute_values: Hash[::String, untyped]
816
+ ) -> _QueryResponseSuccess
817
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _QueryResponseSuccess
818
+
819
+ interface _RestoreTableFromBackupResponseSuccess
820
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreTableFromBackupOutput]
821
+ def table_description: () -> Types::TableDescription
822
+ end
823
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#restore_table_from_backup-instance_method
824
+ def restore_table_from_backup: (
825
+ target_table_name: ::String,
826
+ backup_arn: ::String,
827
+ ?billing_mode_override: ("PROVISIONED" | "PAY_PER_REQUEST"),
828
+ ?global_secondary_index_override: Array[
829
+ {
830
+ index_name: ::String,
831
+ key_schema: Array[
832
+ {
833
+ attribute_name: ::String,
834
+ key_type: ("HASH" | "RANGE")
835
+ },
836
+ ],
837
+ projection: {
838
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
839
+ non_key_attributes: Array[::String]?
840
+ },
841
+ provisioned_throughput: {
842
+ read_capacity_units: ::Integer,
843
+ write_capacity_units: ::Integer
844
+ }?,
845
+ on_demand_throughput: {
846
+ max_read_request_units: ::Integer?,
847
+ max_write_request_units: ::Integer?
848
+ }?
849
+ },
850
+ ],
851
+ ?local_secondary_index_override: Array[
852
+ {
853
+ index_name: ::String,
854
+ key_schema: Array[
855
+ {
856
+ attribute_name: ::String,
857
+ key_type: ("HASH" | "RANGE")
858
+ },
859
+ ],
860
+ projection: {
861
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
862
+ non_key_attributes: Array[::String]?
863
+ }
864
+ },
865
+ ],
866
+ ?provisioned_throughput_override: {
867
+ read_capacity_units: ::Integer,
868
+ write_capacity_units: ::Integer
869
+ },
870
+ ?on_demand_throughput_override: {
871
+ max_read_request_units: ::Integer?,
872
+ max_write_request_units: ::Integer?
873
+ },
874
+ ?sse_specification_override: {
875
+ enabled: bool?,
876
+ sse_type: ("AES256" | "KMS")?,
877
+ kms_master_key_id: ::String?
878
+ }
879
+ ) -> _RestoreTableFromBackupResponseSuccess
880
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreTableFromBackupResponseSuccess
881
+
882
+ interface _RestoreTableToPointInTimeResponseSuccess
883
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreTableToPointInTimeOutput]
884
+ def table_description: () -> Types::TableDescription
885
+ end
886
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#restore_table_to_point_in_time-instance_method
887
+ def restore_table_to_point_in_time: (
888
+ ?source_table_arn: ::String,
889
+ ?source_table_name: ::String,
890
+ target_table_name: ::String,
891
+ ?use_latest_restorable_time: bool,
892
+ ?restore_date_time: ::Time,
893
+ ?billing_mode_override: ("PROVISIONED" | "PAY_PER_REQUEST"),
894
+ ?global_secondary_index_override: Array[
895
+ {
896
+ index_name: ::String,
897
+ key_schema: Array[
898
+ {
899
+ attribute_name: ::String,
900
+ key_type: ("HASH" | "RANGE")
901
+ },
902
+ ],
903
+ projection: {
904
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
905
+ non_key_attributes: Array[::String]?
906
+ },
907
+ provisioned_throughput: {
908
+ read_capacity_units: ::Integer,
909
+ write_capacity_units: ::Integer
910
+ }?,
911
+ on_demand_throughput: {
912
+ max_read_request_units: ::Integer?,
913
+ max_write_request_units: ::Integer?
914
+ }?
915
+ },
916
+ ],
917
+ ?local_secondary_index_override: Array[
918
+ {
919
+ index_name: ::String,
920
+ key_schema: Array[
921
+ {
922
+ attribute_name: ::String,
923
+ key_type: ("HASH" | "RANGE")
924
+ },
925
+ ],
926
+ projection: {
927
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
928
+ non_key_attributes: Array[::String]?
929
+ }
930
+ },
931
+ ],
932
+ ?provisioned_throughput_override: {
933
+ read_capacity_units: ::Integer,
934
+ write_capacity_units: ::Integer
935
+ },
936
+ ?on_demand_throughput_override: {
937
+ max_read_request_units: ::Integer?,
938
+ max_write_request_units: ::Integer?
939
+ },
940
+ ?sse_specification_override: {
941
+ enabled: bool?,
942
+ sse_type: ("AES256" | "KMS")?,
943
+ kms_master_key_id: ::String?
944
+ }
945
+ ) -> _RestoreTableToPointInTimeResponseSuccess
946
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreTableToPointInTimeResponseSuccess
947
+
948
+ interface _ScanResponseSuccess
949
+ include ::Seahorse::Client::_ResponseSuccess[Types::ScanOutput]
950
+ def items: () -> ::Array[::Hash[::String, Types::AttributeValue]]
951
+ def count: () -> ::Integer
952
+ def scanned_count: () -> ::Integer
953
+ def last_evaluated_key: () -> ::Hash[::String, Types::AttributeValue]
954
+ def consumed_capacity: () -> Types::ConsumedCapacity
955
+ end
956
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#scan-instance_method
957
+ def scan: (
958
+ table_name: ::String,
959
+ ?index_name: ::String,
960
+ ?attributes_to_get: Array[::String],
961
+ ?limit: ::Integer,
962
+ ?select: ("ALL_ATTRIBUTES" | "ALL_PROJECTED_ATTRIBUTES" | "SPECIFIC_ATTRIBUTES" | "COUNT"),
963
+ ?scan_filter: Hash[::String, {
964
+ attribute_value_list: Array[untyped]?,
965
+ comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")
966
+ }],
967
+ ?conditional_operator: ("AND" | "OR"),
968
+ ?exclusive_start_key: Hash[::String, untyped],
969
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
970
+ ?total_segments: ::Integer,
971
+ ?segment: ::Integer,
972
+ ?projection_expression: ::String,
973
+ ?filter_expression: ::String,
974
+ ?expression_attribute_names: Hash[::String, ::String],
975
+ ?expression_attribute_values: Hash[::String, untyped],
976
+ ?consistent_read: bool
977
+ ) -> _ScanResponseSuccess
978
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ScanResponseSuccess
979
+
980
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#tag_resource-instance_method
981
+ def tag_resource: (
982
+ resource_arn: ::String,
983
+ tags: Array[
984
+ {
985
+ key: ::String,
986
+ value: ::String
987
+ },
988
+ ]
989
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
990
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
991
+
992
+ interface _TransactGetItemsResponseSuccess
993
+ include ::Seahorse::Client::_ResponseSuccess[Types::TransactGetItemsOutput]
994
+ def consumed_capacity: () -> ::Array[Types::ConsumedCapacity]
995
+ def responses: () -> ::Array[Types::ItemResponse]
996
+ end
997
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#transact_get_items-instance_method
998
+ def transact_get_items: (
999
+ transact_items: Array[
1000
+ {
1001
+ get: {
1002
+ key: Hash[::String, untyped],
1003
+ table_name: ::String,
1004
+ projection_expression: ::String?,
1005
+ expression_attribute_names: Hash[::String, ::String]?
1006
+ }
1007
+ },
1008
+ ],
1009
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE")
1010
+ ) -> _TransactGetItemsResponseSuccess
1011
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TransactGetItemsResponseSuccess
1012
+
1013
+ interface _TransactWriteItemsResponseSuccess
1014
+ include ::Seahorse::Client::_ResponseSuccess[Types::TransactWriteItemsOutput]
1015
+ def consumed_capacity: () -> ::Array[Types::ConsumedCapacity]
1016
+ def item_collection_metrics: () -> ::Hash[::String, ::Array[Types::ItemCollectionMetrics]]
1017
+ end
1018
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#transact_write_items-instance_method
1019
+ def transact_write_items: (
1020
+ transact_items: Array[
1021
+ {
1022
+ condition_check: {
1023
+ key: Hash[::String, untyped],
1024
+ table_name: ::String,
1025
+ condition_expression: ::String,
1026
+ expression_attribute_names: Hash[::String, ::String]?,
1027
+ expression_attribute_values: Hash[::String, untyped]?,
1028
+ return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
1029
+ }?,
1030
+ put: {
1031
+ item: Hash[::String, untyped],
1032
+ table_name: ::String,
1033
+ condition_expression: ::String?,
1034
+ expression_attribute_names: Hash[::String, ::String]?,
1035
+ expression_attribute_values: Hash[::String, untyped]?,
1036
+ return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
1037
+ }?,
1038
+ delete: {
1039
+ key: Hash[::String, untyped],
1040
+ table_name: ::String,
1041
+ condition_expression: ::String?,
1042
+ expression_attribute_names: Hash[::String, ::String]?,
1043
+ expression_attribute_values: Hash[::String, untyped]?,
1044
+ return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
1045
+ }?,
1046
+ update: {
1047
+ key: Hash[::String, untyped],
1048
+ update_expression: ::String,
1049
+ table_name: ::String,
1050
+ condition_expression: ::String?,
1051
+ expression_attribute_names: Hash[::String, ::String]?,
1052
+ expression_attribute_values: Hash[::String, untyped]?,
1053
+ return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")?
1054
+ }?
1055
+ },
1056
+ ],
1057
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
1058
+ ?return_item_collection_metrics: ("SIZE" | "NONE"),
1059
+ ?client_request_token: ::String
1060
+ ) -> _TransactWriteItemsResponseSuccess
1061
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TransactWriteItemsResponseSuccess
1062
+
1063
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#untag_resource-instance_method
1064
+ def untag_resource: (
1065
+ resource_arn: ::String,
1066
+ tag_keys: Array[::String]
1067
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1068
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1069
+
1070
+ interface _UpdateContinuousBackupsResponseSuccess
1071
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateContinuousBackupsOutput]
1072
+ def continuous_backups_description: () -> Types::ContinuousBackupsDescription
1073
+ end
1074
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_continuous_backups-instance_method
1075
+ def update_continuous_backups: (
1076
+ table_name: ::String,
1077
+ point_in_time_recovery_specification: {
1078
+ point_in_time_recovery_enabled: bool
1079
+ }
1080
+ ) -> _UpdateContinuousBackupsResponseSuccess
1081
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContinuousBackupsResponseSuccess
1082
+
1083
+ interface _UpdateContributorInsightsResponseSuccess
1084
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateContributorInsightsOutput]
1085
+ def table_name: () -> ::String
1086
+ def index_name: () -> ::String
1087
+ def contributor_insights_status: () -> ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "FAILED")
1088
+ end
1089
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_contributor_insights-instance_method
1090
+ def update_contributor_insights: (
1091
+ table_name: ::String,
1092
+ ?index_name: ::String,
1093
+ contributor_insights_action: ("ENABLE" | "DISABLE")
1094
+ ) -> _UpdateContributorInsightsResponseSuccess
1095
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContributorInsightsResponseSuccess
1096
+
1097
+ interface _UpdateGlobalTableResponseSuccess
1098
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGlobalTableOutput]
1099
+ def global_table_description: () -> Types::GlobalTableDescription
1100
+ end
1101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_global_table-instance_method
1102
+ def update_global_table: (
1103
+ global_table_name: ::String,
1104
+ replica_updates: Array[
1105
+ {
1106
+ create: {
1107
+ region_name: ::String
1108
+ }?,
1109
+ delete: {
1110
+ region_name: ::String
1111
+ }?
1112
+ },
1113
+ ]
1114
+ ) -> _UpdateGlobalTableResponseSuccess
1115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGlobalTableResponseSuccess
1116
+
1117
+ interface _UpdateGlobalTableSettingsResponseSuccess
1118
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGlobalTableSettingsOutput]
1119
+ def global_table_name: () -> ::String
1120
+ def replica_settings: () -> ::Array[Types::ReplicaSettingsDescription]
1121
+ end
1122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_global_table_settings-instance_method
1123
+ def update_global_table_settings: (
1124
+ global_table_name: ::String,
1125
+ ?global_table_billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST"),
1126
+ ?global_table_provisioned_write_capacity_units: ::Integer,
1127
+ ?global_table_provisioned_write_capacity_auto_scaling_settings_update: {
1128
+ minimum_units: ::Integer?,
1129
+ maximum_units: ::Integer?,
1130
+ auto_scaling_disabled: bool?,
1131
+ auto_scaling_role_arn: ::String?,
1132
+ scaling_policy_update: {
1133
+ policy_name: ::String?,
1134
+ target_tracking_scaling_policy_configuration: {
1135
+ disable_scale_in: bool?,
1136
+ scale_in_cooldown: ::Integer?,
1137
+ scale_out_cooldown: ::Integer?,
1138
+ target_value: ::Float
1139
+ }
1140
+ }?
1141
+ },
1142
+ ?global_table_global_secondary_index_settings_update: Array[
1143
+ {
1144
+ index_name: ::String,
1145
+ provisioned_write_capacity_units: ::Integer?,
1146
+ provisioned_write_capacity_auto_scaling_settings_update: {
1147
+ minimum_units: ::Integer?,
1148
+ maximum_units: ::Integer?,
1149
+ auto_scaling_disabled: bool?,
1150
+ auto_scaling_role_arn: ::String?,
1151
+ scaling_policy_update: {
1152
+ policy_name: ::String?,
1153
+ target_tracking_scaling_policy_configuration: {
1154
+ disable_scale_in: bool?,
1155
+ scale_in_cooldown: ::Integer?,
1156
+ scale_out_cooldown: ::Integer?,
1157
+ target_value: ::Float
1158
+ }
1159
+ }?
1160
+ }?
1161
+ },
1162
+ ],
1163
+ ?replica_settings_update: Array[
1164
+ {
1165
+ region_name: ::String,
1166
+ replica_provisioned_read_capacity_units: ::Integer?,
1167
+ replica_provisioned_read_capacity_auto_scaling_settings_update: {
1168
+ minimum_units: ::Integer?,
1169
+ maximum_units: ::Integer?,
1170
+ auto_scaling_disabled: bool?,
1171
+ auto_scaling_role_arn: ::String?,
1172
+ scaling_policy_update: {
1173
+ policy_name: ::String?,
1174
+ target_tracking_scaling_policy_configuration: {
1175
+ disable_scale_in: bool?,
1176
+ scale_in_cooldown: ::Integer?,
1177
+ scale_out_cooldown: ::Integer?,
1178
+ target_value: ::Float
1179
+ }
1180
+ }?
1181
+ }?,
1182
+ replica_global_secondary_index_settings_update: Array[
1183
+ {
1184
+ index_name: ::String,
1185
+ provisioned_read_capacity_units: ::Integer?,
1186
+ provisioned_read_capacity_auto_scaling_settings_update: {
1187
+ minimum_units: ::Integer?,
1188
+ maximum_units: ::Integer?,
1189
+ auto_scaling_disabled: bool?,
1190
+ auto_scaling_role_arn: ::String?,
1191
+ scaling_policy_update: {
1192
+ policy_name: ::String?,
1193
+ target_tracking_scaling_policy_configuration: {
1194
+ disable_scale_in: bool?,
1195
+ scale_in_cooldown: ::Integer?,
1196
+ scale_out_cooldown: ::Integer?,
1197
+ target_value: ::Float
1198
+ }
1199
+ }?
1200
+ }?
1201
+ },
1202
+ ]?,
1203
+ replica_table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")?
1204
+ },
1205
+ ]
1206
+ ) -> _UpdateGlobalTableSettingsResponseSuccess
1207
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGlobalTableSettingsResponseSuccess
1208
+
1209
+ interface _UpdateItemResponseSuccess
1210
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateItemOutput]
1211
+ def attributes: () -> ::Hash[::String, Types::AttributeValue]
1212
+ def consumed_capacity: () -> Types::ConsumedCapacity
1213
+ def item_collection_metrics: () -> Types::ItemCollectionMetrics
1214
+ end
1215
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_item-instance_method
1216
+ def update_item: (
1217
+ table_name: ::String,
1218
+ key: Hash[::String, untyped],
1219
+ ?attribute_updates: Hash[::String, {
1220
+ value: untyped?,
1221
+ action: ("ADD" | "PUT" | "DELETE")?
1222
+ }],
1223
+ ?expected: Hash[::String, {
1224
+ value: untyped?,
1225
+ exists: bool?,
1226
+ comparison_operator: ("EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH")?,
1227
+ attribute_value_list: Array[untyped]?
1228
+ }],
1229
+ ?conditional_operator: ("AND" | "OR"),
1230
+ ?return_values: ("NONE" | "ALL_OLD" | "UPDATED_OLD" | "ALL_NEW" | "UPDATED_NEW"),
1231
+ ?return_consumed_capacity: ("INDEXES" | "TOTAL" | "NONE"),
1232
+ ?return_item_collection_metrics: ("SIZE" | "NONE"),
1233
+ ?update_expression: ::String,
1234
+ ?condition_expression: ::String,
1235
+ ?expression_attribute_names: Hash[::String, ::String],
1236
+ ?expression_attribute_values: Hash[::String, untyped],
1237
+ ?return_values_on_condition_check_failure: ("ALL_OLD" | "NONE")
1238
+ ) -> _UpdateItemResponseSuccess
1239
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateItemResponseSuccess
1240
+
1241
+ interface _UpdateKinesisStreamingDestinationResponseSuccess
1242
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateKinesisStreamingDestinationOutput]
1243
+ def table_name: () -> ::String
1244
+ def stream_arn: () -> ::String
1245
+ def destination_status: () -> ("ENABLING" | "ACTIVE" | "DISABLING" | "DISABLED" | "ENABLE_FAILED" | "UPDATING")
1246
+ def update_kinesis_streaming_configuration: () -> Types::UpdateKinesisStreamingConfiguration
1247
+ end
1248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_kinesis_streaming_destination-instance_method
1249
+ def update_kinesis_streaming_destination: (
1250
+ table_name: ::String,
1251
+ stream_arn: ::String,
1252
+ ?update_kinesis_streaming_configuration: {
1253
+ approximate_creation_date_time_precision: ("MILLISECOND" | "MICROSECOND")?
1254
+ }
1255
+ ) -> _UpdateKinesisStreamingDestinationResponseSuccess
1256
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKinesisStreamingDestinationResponseSuccess
1257
+
1258
+ interface _UpdateTableResponseSuccess
1259
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTableOutput]
1260
+ def table_description: () -> Types::TableDescription
1261
+ end
1262
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_table-instance_method
1263
+ def update_table: (
1264
+ ?attribute_definitions: Array[
1265
+ {
1266
+ attribute_name: ::String,
1267
+ attribute_type: ("S" | "N" | "B")
1268
+ },
1269
+ ],
1270
+ table_name: ::String,
1271
+ ?billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST"),
1272
+ ?provisioned_throughput: {
1273
+ read_capacity_units: ::Integer,
1274
+ write_capacity_units: ::Integer
1275
+ },
1276
+ ?global_secondary_index_updates: Array[
1277
+ {
1278
+ update: {
1279
+ index_name: ::String,
1280
+ provisioned_throughput: {
1281
+ read_capacity_units: ::Integer,
1282
+ write_capacity_units: ::Integer
1283
+ }?,
1284
+ on_demand_throughput: {
1285
+ max_read_request_units: ::Integer?,
1286
+ max_write_request_units: ::Integer?
1287
+ }?
1288
+ }?,
1289
+ create: {
1290
+ index_name: ::String,
1291
+ key_schema: Array[
1292
+ {
1293
+ attribute_name: ::String,
1294
+ key_type: ("HASH" | "RANGE")
1295
+ },
1296
+ ],
1297
+ projection: {
1298
+ projection_type: ("ALL" | "KEYS_ONLY" | "INCLUDE")?,
1299
+ non_key_attributes: Array[::String]?
1300
+ },
1301
+ provisioned_throughput: {
1302
+ read_capacity_units: ::Integer,
1303
+ write_capacity_units: ::Integer
1304
+ }?,
1305
+ on_demand_throughput: {
1306
+ max_read_request_units: ::Integer?,
1307
+ max_write_request_units: ::Integer?
1308
+ }?
1309
+ }?,
1310
+ delete: {
1311
+ index_name: ::String
1312
+ }?
1313
+ },
1314
+ ],
1315
+ ?stream_specification: {
1316
+ stream_enabled: bool,
1317
+ stream_view_type: ("NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY")?
1318
+ },
1319
+ ?sse_specification: {
1320
+ enabled: bool?,
1321
+ sse_type: ("AES256" | "KMS")?,
1322
+ kms_master_key_id: ::String?
1323
+ },
1324
+ ?replica_updates: Array[
1325
+ {
1326
+ create: {
1327
+ region_name: ::String,
1328
+ kms_master_key_id: ::String?,
1329
+ provisioned_throughput_override: {
1330
+ read_capacity_units: ::Integer?
1331
+ }?,
1332
+ on_demand_throughput_override: {
1333
+ max_read_request_units: ::Integer?
1334
+ }?,
1335
+ global_secondary_indexes: Array[
1336
+ {
1337
+ index_name: ::String,
1338
+ provisioned_throughput_override: {
1339
+ read_capacity_units: ::Integer?
1340
+ }?,
1341
+ on_demand_throughput_override: {
1342
+ max_read_request_units: ::Integer?
1343
+ }?
1344
+ },
1345
+ ]?,
1346
+ table_class_override: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")?
1347
+ }?,
1348
+ update: {
1349
+ region_name: ::String,
1350
+ kms_master_key_id: ::String?,
1351
+ provisioned_throughput_override: {
1352
+ read_capacity_units: ::Integer?
1353
+ }?,
1354
+ on_demand_throughput_override: {
1355
+ max_read_request_units: ::Integer?
1356
+ }?,
1357
+ global_secondary_indexes: Array[
1358
+ {
1359
+ index_name: ::String,
1360
+ provisioned_throughput_override: {
1361
+ read_capacity_units: ::Integer?
1362
+ }?,
1363
+ on_demand_throughput_override: {
1364
+ max_read_request_units: ::Integer?
1365
+ }?
1366
+ },
1367
+ ]?,
1368
+ table_class_override: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")?
1369
+ }?,
1370
+ delete: {
1371
+ region_name: ::String
1372
+ }?
1373
+ },
1374
+ ],
1375
+ ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
1376
+ ?deletion_protection_enabled: bool,
1377
+ ?on_demand_throughput: {
1378
+ max_read_request_units: ::Integer?,
1379
+ max_write_request_units: ::Integer?
1380
+ }
1381
+ ) -> _UpdateTableResponseSuccess
1382
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableResponseSuccess
1383
+
1384
+ interface _UpdateTableReplicaAutoScalingResponseSuccess
1385
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTableReplicaAutoScalingOutput]
1386
+ def table_auto_scaling_description: () -> Types::TableAutoScalingDescription
1387
+ end
1388
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_table_replica_auto_scaling-instance_method
1389
+ def update_table_replica_auto_scaling: (
1390
+ ?global_secondary_index_updates: Array[
1391
+ {
1392
+ index_name: ::String?,
1393
+ provisioned_write_capacity_auto_scaling_update: {
1394
+ minimum_units: ::Integer?,
1395
+ maximum_units: ::Integer?,
1396
+ auto_scaling_disabled: bool?,
1397
+ auto_scaling_role_arn: ::String?,
1398
+ scaling_policy_update: {
1399
+ policy_name: ::String?,
1400
+ target_tracking_scaling_policy_configuration: {
1401
+ disable_scale_in: bool?,
1402
+ scale_in_cooldown: ::Integer?,
1403
+ scale_out_cooldown: ::Integer?,
1404
+ target_value: ::Float
1405
+ }
1406
+ }?
1407
+ }?
1408
+ },
1409
+ ],
1410
+ table_name: ::String,
1411
+ ?provisioned_write_capacity_auto_scaling_update: {
1412
+ minimum_units: ::Integer?,
1413
+ maximum_units: ::Integer?,
1414
+ auto_scaling_disabled: bool?,
1415
+ auto_scaling_role_arn: ::String?,
1416
+ scaling_policy_update: {
1417
+ policy_name: ::String?,
1418
+ target_tracking_scaling_policy_configuration: {
1419
+ disable_scale_in: bool?,
1420
+ scale_in_cooldown: ::Integer?,
1421
+ scale_out_cooldown: ::Integer?,
1422
+ target_value: ::Float
1423
+ }
1424
+ }?
1425
+ },
1426
+ ?replica_updates: Array[
1427
+ {
1428
+ region_name: ::String,
1429
+ replica_global_secondary_index_updates: Array[
1430
+ {
1431
+ index_name: ::String?,
1432
+ provisioned_read_capacity_auto_scaling_update: {
1433
+ minimum_units: ::Integer?,
1434
+ maximum_units: ::Integer?,
1435
+ auto_scaling_disabled: bool?,
1436
+ auto_scaling_role_arn: ::String?,
1437
+ scaling_policy_update: {
1438
+ policy_name: ::String?,
1439
+ target_tracking_scaling_policy_configuration: {
1440
+ disable_scale_in: bool?,
1441
+ scale_in_cooldown: ::Integer?,
1442
+ scale_out_cooldown: ::Integer?,
1443
+ target_value: ::Float
1444
+ }
1445
+ }?
1446
+ }?
1447
+ },
1448
+ ]?,
1449
+ replica_provisioned_read_capacity_auto_scaling_update: {
1450
+ minimum_units: ::Integer?,
1451
+ maximum_units: ::Integer?,
1452
+ auto_scaling_disabled: bool?,
1453
+ auto_scaling_role_arn: ::String?,
1454
+ scaling_policy_update: {
1455
+ policy_name: ::String?,
1456
+ target_tracking_scaling_policy_configuration: {
1457
+ disable_scale_in: bool?,
1458
+ scale_in_cooldown: ::Integer?,
1459
+ scale_out_cooldown: ::Integer?,
1460
+ target_value: ::Float
1461
+ }
1462
+ }?
1463
+ }?
1464
+ },
1465
+ ]
1466
+ ) -> _UpdateTableReplicaAutoScalingResponseSuccess
1467
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableReplicaAutoScalingResponseSuccess
1468
+
1469
+ interface _UpdateTimeToLiveResponseSuccess
1470
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTimeToLiveOutput]
1471
+ def time_to_live_specification: () -> Types::TimeToLiveSpecification
1472
+ end
1473
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#update_time_to_live-instance_method
1474
+ def update_time_to_live: (
1475
+ table_name: ::String,
1476
+ time_to_live_specification: {
1477
+ enabled: bool,
1478
+ attribute_name: ::String
1479
+ }
1480
+ ) -> _UpdateTimeToLiveResponseSuccess
1481
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTimeToLiveResponseSuccess
1482
+
1483
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Client.html#wait_until-instance_method
1484
+ def wait_until: (:table_exists waiter_name,
1485
+ table_name: ::String
1486
+ ) -> Client::_DescribeTableResponseSuccess
1487
+ | (:table_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeTableResponseSuccess
1488
+ | (:table_not_exists waiter_name,
1489
+ table_name: ::String
1490
+ ) -> Client::_DescribeTableResponseSuccess
1491
+ | (:table_not_exists waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeTableResponseSuccess
1492
+ end
1493
+ end
1494
+ end
1495
+