aws-sdk-dynamodb 1.93.0 → 1.110.0

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