aws-sdk-dynamodb 1.107.0 → 1.108.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/resource.rbs CHANGED
@@ -155,6 +155,10 @@ module Aws
155
155
  provisioned_throughput: {
156
156
  read_capacity_units: ::Integer,
157
157
  write_capacity_units: ::Integer
158
+ }?,
159
+ on_demand_throughput: {
160
+ max_read_request_units: ::Integer?,
161
+ max_write_request_units: ::Integer?
158
162
  }?
159
163
  },
160
164
  ],
@@ -180,7 +184,11 @@ module Aws
180
184
  ],
181
185
  ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
182
186
  ?deletion_protection_enabled: bool,
183
- ?resource_policy: ::String
187
+ ?resource_policy: ::String,
188
+ ?on_demand_throughput: {
189
+ max_read_request_units: ::Integer?,
190
+ max_write_request_units: ::Integer?
191
+ }
184
192
  ) -> Table
185
193
  | (?Hash[Symbol, untyped]) -> Table
186
194
 
data/sig/table.rbs CHANGED
@@ -84,6 +84,9 @@ module Aws
84
84
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#deletion_protection_enabled-instance_method
85
85
  def deletion_protection_enabled: () -> bool
86
86
 
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#on_demand_throughput-instance_method
88
+ def on_demand_throughput: () -> Types::OnDemandThroughput
89
+
87
90
  def client: () -> Client
88
91
 
89
92
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#load-instance_method
@@ -223,7 +226,11 @@ module Aws
223
226
  provisioned_throughput: {
224
227
  read_capacity_units: ::Integer,
225
228
  write_capacity_units: ::Integer
226
- }
229
+ }?,
230
+ on_demand_throughput: {
231
+ max_read_request_units: ::Integer?,
232
+ max_write_request_units: ::Integer?
233
+ }?
227
234
  }?,
228
235
  create: {
229
236
  index_name: ::String,
@@ -240,6 +247,10 @@ module Aws
240
247
  provisioned_throughput: {
241
248
  read_capacity_units: ::Integer,
242
249
  write_capacity_units: ::Integer
250
+ }?,
251
+ on_demand_throughput: {
252
+ max_read_request_units: ::Integer?,
253
+ max_write_request_units: ::Integer?
243
254
  }?
244
255
  }?,
245
256
  delete: {
@@ -264,11 +275,17 @@ module Aws
264
275
  provisioned_throughput_override: {
265
276
  read_capacity_units: ::Integer?
266
277
  }?,
278
+ on_demand_throughput_override: {
279
+ max_read_request_units: ::Integer?
280
+ }?,
267
281
  global_secondary_indexes: Array[
268
282
  {
269
283
  index_name: ::String,
270
284
  provisioned_throughput_override: {
271
285
  read_capacity_units: ::Integer?
286
+ }?,
287
+ on_demand_throughput_override: {
288
+ max_read_request_units: ::Integer?
272
289
  }?
273
290
  },
274
291
  ]?,
@@ -280,11 +297,17 @@ module Aws
280
297
  provisioned_throughput_override: {
281
298
  read_capacity_units: ::Integer?
282
299
  }?,
300
+ on_demand_throughput_override: {
301
+ max_read_request_units: ::Integer?
302
+ }?,
283
303
  global_secondary_indexes: Array[
284
304
  {
285
305
  index_name: ::String,
286
306
  provisioned_throughput_override: {
287
307
  read_capacity_units: ::Integer?
308
+ }?,
309
+ on_demand_throughput_override: {
310
+ max_read_request_units: ::Integer?
288
311
  }?
289
312
  },
290
313
  ]?,
@@ -296,7 +319,11 @@ module Aws
296
319
  },
297
320
  ],
298
321
  ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
299
- ?deletion_protection_enabled: bool
322
+ ?deletion_protection_enabled: bool,
323
+ ?on_demand_throughput: {
324
+ max_read_request_units: ::Integer?,
325
+ max_write_request_units: ::Integer?
326
+ }
300
327
  ) -> Table
301
328
  | (?Hash[Symbol, untyped]) -> Table
302
329
 
data/sig/types.rbs CHANGED
@@ -277,6 +277,7 @@ module Aws::DynamoDB
277
277
  attr_accessor key_schema: ::Array[Types::KeySchemaElement]
278
278
  attr_accessor projection: Types::Projection
279
279
  attr_accessor provisioned_throughput: Types::ProvisionedThroughput
280
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
280
281
  SENSITIVE: []
281
282
  end
282
283
 
@@ -300,6 +301,7 @@ module Aws::DynamoDB
300
301
  attr_accessor region_name: ::String
301
302
  attr_accessor kms_master_key_id: ::String
302
303
  attr_accessor provisioned_throughput_override: Types::ProvisionedThroughputOverride
304
+ attr_accessor on_demand_throughput_override: Types::OnDemandThroughputOverride
303
305
  attr_accessor global_secondary_indexes: ::Array[Types::ReplicaGlobalSecondaryIndex]
304
306
  attr_accessor table_class_override: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")
305
307
  SENSITIVE: []
@@ -319,6 +321,7 @@ module Aws::DynamoDB
319
321
  attr_accessor table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")
320
322
  attr_accessor deletion_protection_enabled: bool
321
323
  attr_accessor resource_policy: ::String
324
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
322
325
  SENSITIVE: []
323
326
  end
324
327
 
@@ -718,6 +721,7 @@ module Aws::DynamoDB
718
721
  attr_accessor key_schema: ::Array[Types::KeySchemaElement]
719
722
  attr_accessor projection: Types::Projection
720
723
  attr_accessor provisioned_throughput: Types::ProvisionedThroughput
724
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
721
725
  SENSITIVE: []
722
726
  end
723
727
 
@@ -737,6 +741,7 @@ module Aws::DynamoDB
737
741
  attr_accessor index_size_bytes: ::Integer
738
742
  attr_accessor item_count: ::Integer
739
743
  attr_accessor index_arn: ::String
744
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
740
745
  SENSITIVE: []
741
746
  end
742
747
 
@@ -745,6 +750,7 @@ module Aws::DynamoDB
745
750
  attr_accessor key_schema: ::Array[Types::KeySchemaElement]
746
751
  attr_accessor projection: Types::Projection
747
752
  attr_accessor provisioned_throughput: Types::ProvisionedThroughput
753
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
748
754
  SENSITIVE: []
749
755
  end
750
756
 
@@ -1059,6 +1065,17 @@ module Aws::DynamoDB
1059
1065
  SENSITIVE: []
1060
1066
  end
1061
1067
 
1068
+ class OnDemandThroughput
1069
+ attr_accessor max_read_request_units: ::Integer
1070
+ attr_accessor max_write_request_units: ::Integer
1071
+ SENSITIVE: []
1072
+ end
1073
+
1074
+ class OnDemandThroughputOverride
1075
+ attr_accessor max_read_request_units: ::Integer
1076
+ SENSITIVE: []
1077
+ end
1078
+
1062
1079
  class ParameterizedStatement
1063
1080
  attr_accessor statement: ::String
1064
1081
  attr_accessor parameters: ::Array[Types::AttributeValue]
@@ -1232,6 +1249,7 @@ module Aws::DynamoDB
1232
1249
  attr_accessor replica_status_percent_progress: ::String
1233
1250
  attr_accessor kms_master_key_id: ::String
1234
1251
  attr_accessor provisioned_throughput_override: Types::ProvisionedThroughputOverride
1252
+ attr_accessor on_demand_throughput_override: Types::OnDemandThroughputOverride
1235
1253
  attr_accessor global_secondary_indexes: ::Array[Types::ReplicaGlobalSecondaryIndexDescription]
1236
1254
  attr_accessor replica_inaccessible_date_time: ::Time
1237
1255
  attr_accessor replica_table_class_summary: Types::TableClassSummary
@@ -1241,6 +1259,7 @@ module Aws::DynamoDB
1241
1259
  class ReplicaGlobalSecondaryIndex
1242
1260
  attr_accessor index_name: ::String
1243
1261
  attr_accessor provisioned_throughput_override: Types::ProvisionedThroughputOverride
1262
+ attr_accessor on_demand_throughput_override: Types::OnDemandThroughputOverride
1244
1263
  SENSITIVE: []
1245
1264
  end
1246
1265
 
@@ -1261,6 +1280,7 @@ module Aws::DynamoDB
1261
1280
  class ReplicaGlobalSecondaryIndexDescription
1262
1281
  attr_accessor index_name: ::String
1263
1282
  attr_accessor provisioned_throughput_override: Types::ProvisionedThroughputOverride
1283
+ attr_accessor on_demand_throughput_override: Types::OnDemandThroughputOverride
1264
1284
  SENSITIVE: []
1265
1285
  end
1266
1286
 
@@ -1351,6 +1371,7 @@ module Aws::DynamoDB
1351
1371
  attr_accessor global_secondary_index_override: ::Array[Types::GlobalSecondaryIndex]
1352
1372
  attr_accessor local_secondary_index_override: ::Array[Types::LocalSecondaryIndex]
1353
1373
  attr_accessor provisioned_throughput_override: Types::ProvisionedThroughput
1374
+ attr_accessor on_demand_throughput_override: Types::OnDemandThroughput
1354
1375
  attr_accessor sse_specification_override: Types::SSESpecification
1355
1376
  SENSITIVE: []
1356
1377
  end
@@ -1370,6 +1391,7 @@ module Aws::DynamoDB
1370
1391
  attr_accessor global_secondary_index_override: ::Array[Types::GlobalSecondaryIndex]
1371
1392
  attr_accessor local_secondary_index_override: ::Array[Types::LocalSecondaryIndex]
1372
1393
  attr_accessor provisioned_throughput_override: Types::ProvisionedThroughput
1394
+ attr_accessor on_demand_throughput_override: Types::OnDemandThroughput
1373
1395
  attr_accessor sse_specification_override: Types::SSESpecification
1374
1396
  SENSITIVE: []
1375
1397
  end
@@ -1438,6 +1460,7 @@ module Aws::DynamoDB
1438
1460
  attr_accessor key_schema: ::Array[Types::KeySchemaElement]
1439
1461
  attr_accessor table_creation_date_time: ::Time
1440
1462
  attr_accessor provisioned_throughput: Types::ProvisionedThroughput
1463
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
1441
1464
  attr_accessor item_count: ::Integer
1442
1465
  attr_accessor billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST")
1443
1466
  SENSITIVE: []
@@ -1482,6 +1505,7 @@ module Aws::DynamoDB
1482
1505
  attr_accessor key_schema: ::Array[Types::KeySchemaElement]
1483
1506
  attr_accessor billing_mode: ("PROVISIONED" | "PAY_PER_REQUEST")
1484
1507
  attr_accessor provisioned_throughput: Types::ProvisionedThroughput
1508
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
1485
1509
  attr_accessor sse_specification: Types::SSESpecification
1486
1510
  attr_accessor global_secondary_indexes: ::Array[Types::GlobalSecondaryIndex]
1487
1511
  SENSITIVE: []
@@ -1511,6 +1535,7 @@ module Aws::DynamoDB
1511
1535
  attr_accessor archival_summary: Types::ArchivalSummary
1512
1536
  attr_accessor table_class_summary: Types::TableClassSummary
1513
1537
  attr_accessor deletion_protection_enabled: bool
1538
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
1514
1539
  SENSITIVE: []
1515
1540
  end
1516
1541
 
@@ -1648,6 +1673,7 @@ module Aws::DynamoDB
1648
1673
  class UpdateGlobalSecondaryIndexAction
1649
1674
  attr_accessor index_name: ::String
1650
1675
  attr_accessor provisioned_throughput: Types::ProvisionedThroughput
1676
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
1651
1677
  SENSITIVE: []
1652
1678
  end
1653
1679
 
@@ -1726,6 +1752,7 @@ module Aws::DynamoDB
1726
1752
  attr_accessor region_name: ::String
1727
1753
  attr_accessor kms_master_key_id: ::String
1728
1754
  attr_accessor provisioned_throughput_override: Types::ProvisionedThroughputOverride
1755
+ attr_accessor on_demand_throughput_override: Types::OnDemandThroughputOverride
1729
1756
  attr_accessor global_secondary_indexes: ::Array[Types::ReplicaGlobalSecondaryIndex]
1730
1757
  attr_accessor table_class_override: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")
1731
1758
  SENSITIVE: []
@@ -1742,6 +1769,7 @@ module Aws::DynamoDB
1742
1769
  attr_accessor replica_updates: ::Array[Types::ReplicationGroupUpdate]
1743
1770
  attr_accessor table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")
1744
1771
  attr_accessor deletion_protection_enabled: bool
1772
+ attr_accessor on_demand_throughput: Types::OnDemandThroughput
1745
1773
  SENSITIVE: []
1746
1774
  end
1747
1775
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.107.0
4
+ version: 1.108.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core