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