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