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