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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec570dc359f9f8d65eea791129ce9bd666ffb05dad013d0b4e25746db0475e9b
4
- data.tar.gz: ebf15170b80a5b489464377b651b5794fbe16df44b9261ab56cb8b61732d42b9
3
+ metadata.gz: c72a7c018a58d04bd130bb2019a1291d0a1dbf1ccc4db918da0994fe2c5fb331
4
+ data.tar.gz: ab8880861170dc271c9f8598afff7980208f73b04d98ad16f32fc9818e511f12
5
5
  SHA512:
6
- metadata.gz: 22b0d0cf55a8f50468a606c83a509491a023008fccc827a4c41f515723ee5d52069be539a863e4a357bf29630e82e3ae672a1900790e7c2674291a93f58aeeba
7
- data.tar.gz: fb6a6679b5c15b32f355b9e521f82e44563d3daf771959977f38a731c5a424369f1541d9b47c7eeb5faf8214ab2a28b18d7370a69437ea4659721b203ccf848b
6
+ metadata.gz: b556b4f076798e73a335ee1bffa64ba45658158cb837c3aa6e0e6b0b8de4e26927d7c1372102ce8a2a30656ea4b0d236d986b7d22dd7a7cea0991a058883750c
7
+ data.tar.gz: ad4eded34f12ec7b3d7e8ba18364169f43be5fa36034b33eb1866b3e22e2b0f5806dd19bb67c1430367551cc7a7db9337d12b6b0bdc9b91ff855b1b205cafd65
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.108.0 (2024-05-02)
5
+ ------------------
6
+
7
+ * Feature - This release adds support to specify an optional, maximum OnDemandThroughput for DynamoDB tables and global secondary indexes in the CreateTable or UpdateTable APIs. You can also override the OnDemandThroughput settings by calling the ImportTable, RestoreFromPointInTime, or RestoreFromBackup APIs.
8
+
4
9
  1.107.0 (2024-04-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.107.0
1
+ 1.108.0
@@ -1237,9 +1237,11 @@ module Aws::DynamoDB
1237
1237
  # resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
1238
1238
  # resp.global_table_description.replication_group[0].kms_master_key_id #=> String
1239
1239
  # resp.global_table_description.replication_group[0].provisioned_throughput_override.read_capacity_units #=> Integer
1240
+ # resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
1240
1241
  # resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
1241
1242
  # resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
1242
1243
  # resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
1244
+ # resp.global_table_description.replication_group[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
1243
1245
  # resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
1244
1246
  # resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
1245
1247
  # resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
@@ -1491,19 +1493,23 @@ module Aws::DynamoDB
1491
1493
  # that will be attached to the table.
1492
1494
  #
1493
1495
  # When you attach a resource-based policy while creating a table, the
1494
- # policy creation is *strongly consistent*.
1496
+ # policy application is *strongly consistent*.
1495
1497
  #
1496
1498
  # The maximum size supported for a resource-based policy document is 20
1497
1499
  # KB. DynamoDB counts whitespaces when calculating the size of a policy
1498
- # against this limit. You can’t request an increase for this limit. For
1499
- # a full list of all considerations that you should keep in mind while
1500
- # attaching a resource-based policy, see [Resource-based policy
1500
+ # against this limit. For a full list of all considerations that apply
1501
+ # for resource-based policies, see [Resource-based policy
1501
1502
  # considerations][1].
1502
1503
  #
1503
1504
  #
1504
1505
  #
1505
1506
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
1506
1507
  #
1508
+ # @option params [Types::OnDemandThroughput] :on_demand_throughput
1509
+ # Sets the maximum number of read and write units for the specified
1510
+ # table in on-demand capacity mode. If you use this parameter, you must
1511
+ # specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
1512
+ #
1507
1513
  # @return [Types::CreateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1508
1514
  #
1509
1515
  # * {Types::CreateTableOutput#table_description #table_description} => Types::TableDescription
@@ -1624,6 +1630,10 @@ module Aws::DynamoDB
1624
1630
  # read_capacity_units: 1, # required
1625
1631
  # write_capacity_units: 1, # required
1626
1632
  # },
1633
+ # on_demand_throughput: {
1634
+ # max_read_request_units: 1,
1635
+ # max_write_request_units: 1,
1636
+ # },
1627
1637
  # },
1628
1638
  # ],
1629
1639
  # billing_mode: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
@@ -1649,6 +1659,10 @@ module Aws::DynamoDB
1649
1659
  # table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
1650
1660
  # deletion_protection_enabled: false,
1651
1661
  # resource_policy: "ResourcePolicy",
1662
+ # on_demand_throughput: {
1663
+ # max_read_request_units: 1,
1664
+ # max_write_request_units: 1,
1665
+ # },
1652
1666
  # })
1653
1667
  #
1654
1668
  # @example Response structure
@@ -1702,6 +1716,8 @@ module Aws::DynamoDB
1702
1716
  # resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
1703
1717
  # resp.table_description.global_secondary_indexes[0].item_count #=> Integer
1704
1718
  # resp.table_description.global_secondary_indexes[0].index_arn #=> String
1719
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
1720
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
1705
1721
  # resp.table_description.stream_specification.stream_enabled #=> Boolean
1706
1722
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
1707
1723
  # resp.table_description.latest_stream_label #=> String
@@ -1714,9 +1730,11 @@ module Aws::DynamoDB
1714
1730
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
1715
1731
  # resp.table_description.replicas[0].kms_master_key_id #=> String
1716
1732
  # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
1733
+ # resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
1717
1734
  # resp.table_description.replicas[0].global_secondary_indexes #=> Array
1718
1735
  # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
1719
1736
  # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
1737
+ # resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
1720
1738
  # resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
1721
1739
  # resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
1722
1740
  # resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
@@ -1734,6 +1752,8 @@ module Aws::DynamoDB
1734
1752
  # resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
1735
1753
  # resp.table_description.table_class_summary.last_update_date_time #=> Time
1736
1754
  # resp.table_description.deletion_protection_enabled #=> Boolean
1755
+ # resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
1756
+ # resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
1737
1757
  #
1738
1758
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
1739
1759
  #
@@ -1780,6 +1800,8 @@ module Aws::DynamoDB
1780
1800
  # resp.backup_description.source_table_details.table_creation_date_time #=> Time
1781
1801
  # resp.backup_description.source_table_details.provisioned_throughput.read_capacity_units #=> Integer
1782
1802
  # resp.backup_description.source_table_details.provisioned_throughput.write_capacity_units #=> Integer
1803
+ # resp.backup_description.source_table_details.on_demand_throughput.max_read_request_units #=> Integer
1804
+ # resp.backup_description.source_table_details.on_demand_throughput.max_write_request_units #=> Integer
1783
1805
  # resp.backup_description.source_table_details.item_count #=> Integer
1784
1806
  # resp.backup_description.source_table_details.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
1785
1807
  # resp.backup_description.source_table_feature_details.local_secondary_indexes #=> Array
@@ -1800,6 +1822,8 @@ module Aws::DynamoDB
1800
1822
  # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].projection.non_key_attributes[0] #=> String
1801
1823
  # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].provisioned_throughput.read_capacity_units #=> Integer
1802
1824
  # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].provisioned_throughput.write_capacity_units #=> Integer
1825
+ # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
1826
+ # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
1803
1827
  # resp.backup_description.source_table_feature_details.stream_description.stream_enabled #=> Boolean
1804
1828
  # resp.backup_description.source_table_feature_details.stream_description.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
1805
1829
  # resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
@@ -2284,6 +2308,8 @@ module Aws::DynamoDB
2284
2308
  # resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
2285
2309
  # resp.table_description.global_secondary_indexes[0].item_count #=> Integer
2286
2310
  # resp.table_description.global_secondary_indexes[0].index_arn #=> String
2311
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
2312
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
2287
2313
  # resp.table_description.stream_specification.stream_enabled #=> Boolean
2288
2314
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
2289
2315
  # resp.table_description.latest_stream_label #=> String
@@ -2296,9 +2322,11 @@ module Aws::DynamoDB
2296
2322
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
2297
2323
  # resp.table_description.replicas[0].kms_master_key_id #=> String
2298
2324
  # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
2325
+ # resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
2299
2326
  # resp.table_description.replicas[0].global_secondary_indexes #=> Array
2300
2327
  # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
2301
2328
  # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
2329
+ # resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
2302
2330
  # resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
2303
2331
  # resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
2304
2332
  # resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
@@ -2316,6 +2344,8 @@ module Aws::DynamoDB
2316
2344
  # resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
2317
2345
  # resp.table_description.table_class_summary.last_update_date_time #=> Time
2318
2346
  # resp.table_description.deletion_protection_enabled #=> Boolean
2347
+ # resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
2348
+ # resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
2319
2349
  #
2320
2350
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
2321
2351
  #
@@ -2363,6 +2393,8 @@ module Aws::DynamoDB
2363
2393
  # resp.backup_description.source_table_details.table_creation_date_time #=> Time
2364
2394
  # resp.backup_description.source_table_details.provisioned_throughput.read_capacity_units #=> Integer
2365
2395
  # resp.backup_description.source_table_details.provisioned_throughput.write_capacity_units #=> Integer
2396
+ # resp.backup_description.source_table_details.on_demand_throughput.max_read_request_units #=> Integer
2397
+ # resp.backup_description.source_table_details.on_demand_throughput.max_write_request_units #=> Integer
2366
2398
  # resp.backup_description.source_table_details.item_count #=> Integer
2367
2399
  # resp.backup_description.source_table_details.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
2368
2400
  # resp.backup_description.source_table_feature_details.local_secondary_indexes #=> Array
@@ -2383,6 +2415,8 @@ module Aws::DynamoDB
2383
2415
  # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].projection.non_key_attributes[0] #=> String
2384
2416
  # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].provisioned_throughput.read_capacity_units #=> Integer
2385
2417
  # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].provisioned_throughput.write_capacity_units #=> Integer
2418
+ # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
2419
+ # resp.backup_description.source_table_feature_details.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
2386
2420
  # resp.backup_description.source_table_feature_details.stream_description.stream_enabled #=> Boolean
2387
2421
  # resp.backup_description.source_table_feature_details.stream_description.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
2388
2422
  # resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
@@ -2612,9 +2646,11 @@ module Aws::DynamoDB
2612
2646
  # resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
2613
2647
  # resp.global_table_description.replication_group[0].kms_master_key_id #=> String
2614
2648
  # resp.global_table_description.replication_group[0].provisioned_throughput_override.read_capacity_units #=> Integer
2649
+ # resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
2615
2650
  # resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
2616
2651
  # resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
2617
2652
  # resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
2653
+ # resp.global_table_description.replication_group[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
2618
2654
  # resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
2619
2655
  # resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
2620
2656
  # resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
@@ -2774,6 +2810,8 @@ module Aws::DynamoDB
2774
2810
  # resp.import_table_description.table_creation_parameters.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
2775
2811
  # resp.import_table_description.table_creation_parameters.provisioned_throughput.read_capacity_units #=> Integer
2776
2812
  # resp.import_table_description.table_creation_parameters.provisioned_throughput.write_capacity_units #=> Integer
2813
+ # resp.import_table_description.table_creation_parameters.on_demand_throughput.max_read_request_units #=> Integer
2814
+ # resp.import_table_description.table_creation_parameters.on_demand_throughput.max_write_request_units #=> Integer
2777
2815
  # resp.import_table_description.table_creation_parameters.sse_specification.enabled #=> Boolean
2778
2816
  # resp.import_table_description.table_creation_parameters.sse_specification.sse_type #=> String, one of "AES256", "KMS"
2779
2817
  # resp.import_table_description.table_creation_parameters.sse_specification.kms_master_key_id #=> String
@@ -2787,6 +2825,8 @@ module Aws::DynamoDB
2787
2825
  # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].projection.non_key_attributes[0] #=> String
2788
2826
  # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].provisioned_throughput.read_capacity_units #=> Integer
2789
2827
  # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].provisioned_throughput.write_capacity_units #=> Integer
2828
+ # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
2829
+ # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
2790
2830
  # resp.import_table_description.start_time #=> Time
2791
2831
  # resp.import_table_description.end_time #=> Time
2792
2832
  # resp.import_table_description.processed_size_bytes #=> Integer
@@ -3079,6 +3119,8 @@ module Aws::DynamoDB
3079
3119
  # resp.table.global_secondary_indexes[0].index_size_bytes #=> Integer
3080
3120
  # resp.table.global_secondary_indexes[0].item_count #=> Integer
3081
3121
  # resp.table.global_secondary_indexes[0].index_arn #=> String
3122
+ # resp.table.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
3123
+ # resp.table.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
3082
3124
  # resp.table.stream_specification.stream_enabled #=> Boolean
3083
3125
  # resp.table.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
3084
3126
  # resp.table.latest_stream_label #=> String
@@ -3091,9 +3133,11 @@ module Aws::DynamoDB
3091
3133
  # resp.table.replicas[0].replica_status_percent_progress #=> String
3092
3134
  # resp.table.replicas[0].kms_master_key_id #=> String
3093
3135
  # resp.table.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
3136
+ # resp.table.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
3094
3137
  # resp.table.replicas[0].global_secondary_indexes #=> Array
3095
3138
  # resp.table.replicas[0].global_secondary_indexes[0].index_name #=> String
3096
3139
  # resp.table.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
3140
+ # resp.table.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
3097
3141
  # resp.table.replicas[0].replica_inaccessible_date_time #=> Time
3098
3142
  # resp.table.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
3099
3143
  # resp.table.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
@@ -3111,6 +3155,8 @@ module Aws::DynamoDB
3111
3155
  # resp.table.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
3112
3156
  # resp.table.table_class_summary.last_update_date_time #=> Time
3113
3157
  # resp.table.deletion_protection_enabled #=> Boolean
3158
+ # resp.table.on_demand_throughput.max_read_request_units #=> Integer
3159
+ # resp.table.on_demand_throughput.max_write_request_units #=> Integer
3114
3160
  #
3115
3161
  #
3116
3162
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -3897,12 +3943,12 @@ module Aws::DynamoDB
3897
3943
  # request.
3898
3944
  #
3899
3945
  # After a `GetResourcePolicy` request returns a policy created using the
3900
- # `PutResourcePolicy` request, you can assume the policy will start
3901
- # getting applied in the authorization of requests to the resource.
3902
- # Because this process is eventually consistent, it will take some time
3903
- # to apply the policy to all requests to a resource. Policies that you
3904
- # attach while creating a table using the `CreateTable` request will
3905
- # always be applied to all requests for that table.
3946
+ # `PutResourcePolicy` request, the policy will be applied in the
3947
+ # authorization of requests to the resource. Because this process is
3948
+ # eventually consistent, it will take some time to apply the policy to
3949
+ # all requests to a resource. Policies that you attach while creating a
3950
+ # table using the `CreateTable` request will always be applied to all
3951
+ # requests for that table.
3906
3952
  #
3907
3953
  #
3908
3954
  #
@@ -4015,6 +4061,10 @@ module Aws::DynamoDB
4015
4061
  # read_capacity_units: 1, # required
4016
4062
  # write_capacity_units: 1, # required
4017
4063
  # },
4064
+ # on_demand_throughput: {
4065
+ # max_read_request_units: 1,
4066
+ # max_write_request_units: 1,
4067
+ # },
4018
4068
  # sse_specification: {
4019
4069
  # enabled: false,
4020
4070
  # sse_type: "AES256", # accepts AES256, KMS
@@ -4037,6 +4087,10 @@ module Aws::DynamoDB
4037
4087
  # read_capacity_units: 1, # required
4038
4088
  # write_capacity_units: 1, # required
4039
4089
  # },
4090
+ # on_demand_throughput: {
4091
+ # max_read_request_units: 1,
4092
+ # max_write_request_units: 1,
4093
+ # },
4040
4094
  # },
4041
4095
  # ],
4042
4096
  # },
@@ -4069,6 +4123,8 @@ module Aws::DynamoDB
4069
4123
  # resp.import_table_description.table_creation_parameters.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
4070
4124
  # resp.import_table_description.table_creation_parameters.provisioned_throughput.read_capacity_units #=> Integer
4071
4125
  # resp.import_table_description.table_creation_parameters.provisioned_throughput.write_capacity_units #=> Integer
4126
+ # resp.import_table_description.table_creation_parameters.on_demand_throughput.max_read_request_units #=> Integer
4127
+ # resp.import_table_description.table_creation_parameters.on_demand_throughput.max_write_request_units #=> Integer
4072
4128
  # resp.import_table_description.table_creation_parameters.sse_specification.enabled #=> Boolean
4073
4129
  # resp.import_table_description.table_creation_parameters.sse_specification.sse_type #=> String, one of "AES256", "KMS"
4074
4130
  # resp.import_table_description.table_creation_parameters.sse_specification.kms_master_key_id #=> String
@@ -4082,6 +4138,8 @@ module Aws::DynamoDB
4082
4138
  # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].projection.non_key_attributes[0] #=> String
4083
4139
  # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].provisioned_throughput.read_capacity_units #=> Integer
4084
4140
  # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].provisioned_throughput.write_capacity_units #=> Integer
4141
+ # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
4142
+ # resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
4085
4143
  # resp.import_table_description.start_time #=> Time
4086
4144
  # resp.import_table_description.end_time #=> Time
4087
4145
  # resp.import_table_description.processed_size_bytes #=> Integer
@@ -4843,7 +4901,7 @@ module Aws::DynamoDB
4843
4901
  #
4844
4902
  # `PutResourcePolicy` is an idempotent operation; running it multiple
4845
4903
  # times on the same resource using the same policy document will return
4846
- # the same revision ID. If you specify an `ExpectedRevisionId` which
4904
+ # the same revision ID. If you specify an `ExpectedRevisionId` that
4847
4905
  # doesn't match the current policy's `RevisionId`, the
4848
4906
  # `PolicyNotFoundException` will be returned.
4849
4907
  #
@@ -4878,11 +4936,16 @@ module Aws::DynamoDB
4878
4936
  # @option params [required, String] :policy
4879
4937
  # An Amazon Web Services resource-based policy document in JSON format.
4880
4938
  #
4881
- # The maximum size supported for a resource-based policy document is 20
4882
- # KB. DynamoDB counts whitespaces when calculating the size of a policy
4883
- # against this limit. For a full list of all considerations that you
4884
- # should keep in mind while attaching a resource-based policy, see
4885
- # [Resource-based policy considerations][1].
4939
+ # * The maximum size supported for a resource-based policy document is
4940
+ # 20 KB. DynamoDB counts whitespaces when calculating the size of a
4941
+ # policy against this limit.
4942
+ #
4943
+ # * Within a resource-based policy, if the action for a DynamoDB
4944
+ # service-linked role (SLR) to replicate data for a global table is
4945
+ # denied, adding or deleting a replica will fail with an error.
4946
+ #
4947
+ # For a full list of all considerations that apply while attaching a
4948
+ # resource-based policy, see [Resource-based policy considerations][1].
4886
4949
  #
4887
4950
  #
4888
4951
  #
@@ -4891,13 +4954,17 @@ module Aws::DynamoDB
4891
4954
  # @option params [String] :expected_revision_id
4892
4955
  # A string value that you can use to conditionally update your policy.
4893
4956
  # You can provide the revision ID of your existing policy to make
4894
- # mutating requests against that policy. When you provide an expected
4895
- # revision ID, if the revision ID of the existing policy on the resource
4896
- # doesn't match or if there's no policy attached to the resource, your
4897
- # request will be rejected with a `PolicyNotFoundException`.
4957
+ # mutating requests against that policy.
4898
4958
  #
4899
- # To conditionally put a policy when no policy exists for the resource,
4900
- # specify `NO_POLICY` for the revision ID.
4959
+ # <note markdown="1"> When you provide an expected revision ID, if the revision ID of the
4960
+ # existing policy on the resource doesn't match or if there's no
4961
+ # policy attached to the resource, your request will be rejected with a
4962
+ # `PolicyNotFoundException`.
4963
+ #
4964
+ # </note>
4965
+ #
4966
+ # To conditionally attach a policy when no policy exists for the
4967
+ # resource, specify `NO_POLICY` for the revision ID.
4901
4968
  #
4902
4969
  # @option params [Boolean] :confirm_remove_self_resource_access
4903
4970
  # Set this parameter to `true` to confirm that you want to remove your
@@ -5510,6 +5577,11 @@ module Aws::DynamoDB
5510
5577
  # @option params [Types::ProvisionedThroughput] :provisioned_throughput_override
5511
5578
  # Provisioned throughput settings for the restored table.
5512
5579
  #
5580
+ # @option params [Types::OnDemandThroughput] :on_demand_throughput_override
5581
+ # Sets the maximum number of read and write units for the specified
5582
+ # on-demand table. If you use this parameter, you must specify
5583
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
5584
+ #
5513
5585
  # @option params [Types::SSESpecification] :sse_specification_override
5514
5586
  # The new server-side encryption settings for the restored table.
5515
5587
  #
@@ -5540,6 +5612,10 @@ module Aws::DynamoDB
5540
5612
  # read_capacity_units: 1, # required
5541
5613
  # write_capacity_units: 1, # required
5542
5614
  # },
5615
+ # on_demand_throughput: {
5616
+ # max_read_request_units: 1,
5617
+ # max_write_request_units: 1,
5618
+ # },
5543
5619
  # },
5544
5620
  # ],
5545
5621
  # local_secondary_index_override: [
@@ -5561,6 +5637,10 @@ module Aws::DynamoDB
5561
5637
  # read_capacity_units: 1, # required
5562
5638
  # write_capacity_units: 1, # required
5563
5639
  # },
5640
+ # on_demand_throughput_override: {
5641
+ # max_read_request_units: 1,
5642
+ # max_write_request_units: 1,
5643
+ # },
5564
5644
  # sse_specification_override: {
5565
5645
  # enabled: false,
5566
5646
  # sse_type: "AES256", # accepts AES256, KMS
@@ -5619,6 +5699,8 @@ module Aws::DynamoDB
5619
5699
  # resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
5620
5700
  # resp.table_description.global_secondary_indexes[0].item_count #=> Integer
5621
5701
  # resp.table_description.global_secondary_indexes[0].index_arn #=> String
5702
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
5703
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
5622
5704
  # resp.table_description.stream_specification.stream_enabled #=> Boolean
5623
5705
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
5624
5706
  # resp.table_description.latest_stream_label #=> String
@@ -5631,9 +5713,11 @@ module Aws::DynamoDB
5631
5713
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
5632
5714
  # resp.table_description.replicas[0].kms_master_key_id #=> String
5633
5715
  # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
5716
+ # resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
5634
5717
  # resp.table_description.replicas[0].global_secondary_indexes #=> Array
5635
5718
  # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
5636
5719
  # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
5720
+ # resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
5637
5721
  # resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
5638
5722
  # resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
5639
5723
  # resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
@@ -5651,6 +5735,8 @@ module Aws::DynamoDB
5651
5735
  # resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
5652
5736
  # resp.table_description.table_class_summary.last_update_date_time #=> Time
5653
5737
  # resp.table_description.deletion_protection_enabled #=> Boolean
5738
+ # resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
5739
+ # resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
5654
5740
  #
5655
5741
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
5656
5742
  #
@@ -5735,6 +5821,11 @@ module Aws::DynamoDB
5735
5821
  # @option params [Types::ProvisionedThroughput] :provisioned_throughput_override
5736
5822
  # Provisioned throughput settings for the restored table.
5737
5823
  #
5824
+ # @option params [Types::OnDemandThroughput] :on_demand_throughput_override
5825
+ # Sets the maximum number of read and write units for the specified
5826
+ # on-demand table. If you use this parameter, you must specify
5827
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
5828
+ #
5738
5829
  # @option params [Types::SSESpecification] :sse_specification_override
5739
5830
  # The new server-side encryption settings for the restored table.
5740
5831
  #
@@ -5768,6 +5859,10 @@ module Aws::DynamoDB
5768
5859
  # read_capacity_units: 1, # required
5769
5860
  # write_capacity_units: 1, # required
5770
5861
  # },
5862
+ # on_demand_throughput: {
5863
+ # max_read_request_units: 1,
5864
+ # max_write_request_units: 1,
5865
+ # },
5771
5866
  # },
5772
5867
  # ],
5773
5868
  # local_secondary_index_override: [
@@ -5789,6 +5884,10 @@ module Aws::DynamoDB
5789
5884
  # read_capacity_units: 1, # required
5790
5885
  # write_capacity_units: 1, # required
5791
5886
  # },
5887
+ # on_demand_throughput_override: {
5888
+ # max_read_request_units: 1,
5889
+ # max_write_request_units: 1,
5890
+ # },
5792
5891
  # sse_specification_override: {
5793
5892
  # enabled: false,
5794
5893
  # sse_type: "AES256", # accepts AES256, KMS
@@ -5847,6 +5946,8 @@ module Aws::DynamoDB
5847
5946
  # resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
5848
5947
  # resp.table_description.global_secondary_indexes[0].item_count #=> Integer
5849
5948
  # resp.table_description.global_secondary_indexes[0].index_arn #=> String
5949
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
5950
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
5850
5951
  # resp.table_description.stream_specification.stream_enabled #=> Boolean
5851
5952
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
5852
5953
  # resp.table_description.latest_stream_label #=> String
@@ -5859,9 +5960,11 @@ module Aws::DynamoDB
5859
5960
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
5860
5961
  # resp.table_description.replicas[0].kms_master_key_id #=> String
5861
5962
  # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
5963
+ # resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
5862
5964
  # resp.table_description.replicas[0].global_secondary_indexes #=> Array
5863
5965
  # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
5864
5966
  # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
5967
+ # resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
5865
5968
  # resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
5866
5969
  # resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
5867
5970
  # resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
@@ -5879,6 +5982,8 @@ module Aws::DynamoDB
5879
5982
  # resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
5880
5983
  # resp.table_description.table_class_summary.last_update_date_time #=> Time
5881
5984
  # resp.table_description.deletion_protection_enabled #=> Boolean
5985
+ # resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
5986
+ # resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
5882
5987
  #
5883
5988
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime AWS API Documentation
5884
5989
  #
@@ -6923,9 +7028,11 @@ module Aws::DynamoDB
6923
7028
  # resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
6924
7029
  # resp.global_table_description.replication_group[0].kms_master_key_id #=> String
6925
7030
  # resp.global_table_description.replication_group[0].provisioned_throughput_override.read_capacity_units #=> Integer
7031
+ # resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
6926
7032
  # resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
6927
7033
  # resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
6928
7034
  # resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
7035
+ # resp.global_table_description.replication_group[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
6929
7036
  # resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
6930
7037
  # resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
6931
7038
  # resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
@@ -7720,6 +7827,11 @@ module Aws::DynamoDB
7720
7827
  # Indicates whether deletion protection is to be enabled (true) or
7721
7828
  # disabled (false) on the table.
7722
7829
  #
7830
+ # @option params [Types::OnDemandThroughput] :on_demand_throughput
7831
+ # Updates the maximum number of read and write units for the specified
7832
+ # table in on-demand capacity mode. If you use this parameter, you must
7833
+ # specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
7834
+ #
7723
7835
  # @return [Types::UpdateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7724
7836
  #
7725
7837
  # * {Types::UpdateTableOutput#table_description #table_description} => Types::TableDescription
@@ -7793,10 +7905,14 @@ module Aws::DynamoDB
7793
7905
  # {
7794
7906
  # update: {
7795
7907
  # index_name: "IndexName", # required
7796
- # provisioned_throughput: { # required
7908
+ # provisioned_throughput: {
7797
7909
  # read_capacity_units: 1, # required
7798
7910
  # write_capacity_units: 1, # required
7799
7911
  # },
7912
+ # on_demand_throughput: {
7913
+ # max_read_request_units: 1,
7914
+ # max_write_request_units: 1,
7915
+ # },
7800
7916
  # },
7801
7917
  # create: {
7802
7918
  # index_name: "IndexName", # required
@@ -7814,6 +7930,10 @@ module Aws::DynamoDB
7814
7930
  # read_capacity_units: 1, # required
7815
7931
  # write_capacity_units: 1, # required
7816
7932
  # },
7933
+ # on_demand_throughput: {
7934
+ # max_read_request_units: 1,
7935
+ # max_write_request_units: 1,
7936
+ # },
7817
7937
  # },
7818
7938
  # delete: {
7819
7939
  # index_name: "IndexName", # required
@@ -7837,12 +7957,18 @@ module Aws::DynamoDB
7837
7957
  # provisioned_throughput_override: {
7838
7958
  # read_capacity_units: 1,
7839
7959
  # },
7960
+ # on_demand_throughput_override: {
7961
+ # max_read_request_units: 1,
7962
+ # },
7840
7963
  # global_secondary_indexes: [
7841
7964
  # {
7842
7965
  # index_name: "IndexName", # required
7843
7966
  # provisioned_throughput_override: {
7844
7967
  # read_capacity_units: 1,
7845
7968
  # },
7969
+ # on_demand_throughput_override: {
7970
+ # max_read_request_units: 1,
7971
+ # },
7846
7972
  # },
7847
7973
  # ],
7848
7974
  # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
@@ -7853,12 +7979,18 @@ module Aws::DynamoDB
7853
7979
  # provisioned_throughput_override: {
7854
7980
  # read_capacity_units: 1,
7855
7981
  # },
7982
+ # on_demand_throughput_override: {
7983
+ # max_read_request_units: 1,
7984
+ # },
7856
7985
  # global_secondary_indexes: [
7857
7986
  # {
7858
7987
  # index_name: "IndexName", # required
7859
7988
  # provisioned_throughput_override: {
7860
7989
  # read_capacity_units: 1,
7861
7990
  # },
7991
+ # on_demand_throughput_override: {
7992
+ # max_read_request_units: 1,
7993
+ # },
7862
7994
  # },
7863
7995
  # ],
7864
7996
  # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
@@ -7870,6 +8002,10 @@ module Aws::DynamoDB
7870
8002
  # ],
7871
8003
  # table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
7872
8004
  # deletion_protection_enabled: false,
8005
+ # on_demand_throughput: {
8006
+ # max_read_request_units: 1,
8007
+ # max_write_request_units: 1,
8008
+ # },
7873
8009
  # })
7874
8010
  #
7875
8011
  # @example Response structure
@@ -7923,6 +8059,8 @@ module Aws::DynamoDB
7923
8059
  # resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
7924
8060
  # resp.table_description.global_secondary_indexes[0].item_count #=> Integer
7925
8061
  # resp.table_description.global_secondary_indexes[0].index_arn #=> String
8062
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
8063
+ # resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
7926
8064
  # resp.table_description.stream_specification.stream_enabled #=> Boolean
7927
8065
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
7928
8066
  # resp.table_description.latest_stream_label #=> String
@@ -7935,9 +8073,11 @@ module Aws::DynamoDB
7935
8073
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
7936
8074
  # resp.table_description.replicas[0].kms_master_key_id #=> String
7937
8075
  # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
8076
+ # resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
7938
8077
  # resp.table_description.replicas[0].global_secondary_indexes #=> Array
7939
8078
  # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
7940
8079
  # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
8080
+ # resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
7941
8081
  # resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
7942
8082
  # resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
7943
8083
  # resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
@@ -7955,6 +8095,8 @@ module Aws::DynamoDB
7955
8095
  # resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
7956
8096
  # resp.table_description.table_class_summary.last_update_date_time #=> Time
7957
8097
  # resp.table_description.deletion_protection_enabled #=> Boolean
8098
+ # resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
8099
+ # resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
7958
8100
  #
7959
8101
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
7960
8102
  #
@@ -8221,7 +8363,7 @@ module Aws::DynamoDB
8221
8363
  params: params,
8222
8364
  config: config)
8223
8365
  context[:gem_name] = 'aws-sdk-dynamodb'
8224
- context[:gem_version] = '1.107.0'
8366
+ context[:gem_version] = '1.108.0'
8225
8367
  Seahorse::Client::Request.new(handlers, context)
8226
8368
  end
8227
8369