aws-sdk-dynamodb 1.109.0 → 1.111.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +94 -125
- data/lib/aws-sdk-dynamodb/client_api.rb +1 -0
- data/lib/aws-sdk-dynamodb/resource.rb +10 -4
- data/lib/aws-sdk-dynamodb/table.rb +6 -10
- data/lib/aws-sdk-dynamodb/types.rb +42 -40
- data/lib/aws-sdk-dynamodb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1203fa0fb542298349b9d42b64933e34f55348bf2c828d644e69a286c5e91e4
|
4
|
+
data.tar.gz: e3d90e612f84669b35c19bb666985bd2c434c7c257f5779d26438d5aa96ef495
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3d1b4d0e09220b7a3dc15532a66973286f41179b12047734bb1226a83e9a2cfe6079508df93d819369a53065662598306d5adb23a2fdc2e882cc9e9701ba6b2
|
7
|
+
data.tar.gz: 47e100b55cfe58ef7e370b804736d9479134d120d5786d7114ca5df1cfee19aaeb1edbe825ab460ac3e208ba08cd7203ad134bbf3c51285c8fe6d347e6c9aeb8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.111.0 (2024-05-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Doc-only update for DynamoDB. Specified the IAM actions needed to authorize a user to create a table with a resource-based policy.
|
8
|
+
|
9
|
+
1.110.0 (2024-05-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation only updates for DynamoDB.
|
13
|
+
|
4
14
|
1.109.0 (2024-05-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.111.0
|
@@ -907,6 +907,10 @@ module Aws::DynamoDB
|
|
907
907
|
#
|
908
908
|
# * The total request size exceeds 16 MB.
|
909
909
|
#
|
910
|
+
# * Any individual items with keys exceeding the key length limits. For
|
911
|
+
# a partition key, the limit is 2048 bytes and for a sort key, the
|
912
|
+
# limit is 1024 bytes.
|
913
|
+
#
|
910
914
|
#
|
911
915
|
#
|
912
916
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html
|
@@ -1153,14 +1157,13 @@ module Aws::DynamoDB
|
|
1153
1157
|
# a replication relationship between two or more DynamoDB tables with
|
1154
1158
|
# the same table name in the provided Regions.
|
1155
1159
|
#
|
1156
|
-
#
|
1157
|
-
#
|
1158
|
-
#
|
1159
|
-
#
|
1160
|
-
#
|
1161
|
-
#
|
1162
|
-
#
|
1163
|
-
# global tables][4].
|
1160
|
+
# For global tables, this operation only applies to global tables using
|
1161
|
+
# Version 2019.11.21 (Current version), as it provides greater
|
1162
|
+
# flexibility, higher efficiency and consumes less write capacity than
|
1163
|
+
# 2017.11.29 (Legacy). To determine which version you are using, see
|
1164
|
+
# [Determining the version][1]. To update existing global tables from
|
1165
|
+
# version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see [
|
1166
|
+
# Updating global tables][2].
|
1164
1167
|
#
|
1165
1168
|
# If you want to add a new replica table to a global table, each of the
|
1166
1169
|
# following conditions must be true:
|
@@ -1203,10 +1206,8 @@ module Aws::DynamoDB
|
|
1203
1206
|
#
|
1204
1207
|
#
|
1205
1208
|
#
|
1206
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.
|
1207
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
1208
|
-
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
1209
|
-
# [4]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
1209
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
1210
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
1210
1211
|
#
|
1211
1212
|
# @option params [required, String] :global_table_name
|
1212
1213
|
# The global table name.
|
@@ -1419,16 +1420,16 @@ module Aws::DynamoDB
|
|
1419
1420
|
#
|
1420
1421
|
# * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
|
1421
1422
|
# workloads. `PROVISIONED` sets the billing mode to [Provisioned
|
1422
|
-
#
|
1423
|
+
# capacity mode][1].
|
1423
1424
|
#
|
1424
1425
|
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
|
1425
1426
|
# unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
|
1426
|
-
# [On-
|
1427
|
+
# [On-demand capacity mode][2].
|
1427
1428
|
#
|
1428
1429
|
#
|
1429
1430
|
#
|
1430
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
1431
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
1431
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
1432
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
1432
1433
|
#
|
1433
1434
|
# @option params [Types::ProvisionedThroughput] :provisioned_throughput
|
1434
1435
|
# Represents the provisioned throughput settings for a specified table
|
@@ -1502,6 +1503,12 @@ module Aws::DynamoDB
|
|
1502
1503
|
# for resource-based policies, see [Resource-based policy
|
1503
1504
|
# considerations][1].
|
1504
1505
|
#
|
1506
|
+
# <note markdown="1"> You need to specify the `CreateTable` and `PutResourcePolicy` IAM
|
1507
|
+
# actions for authorizing a user to create a table with a resource-based
|
1508
|
+
# policy.
|
1509
|
+
#
|
1510
|
+
# </note>
|
1511
|
+
#
|
1505
1512
|
#
|
1506
1513
|
#
|
1507
1514
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
|
@@ -2199,8 +2206,8 @@ module Aws::DynamoDB
|
|
2199
2206
|
# DynamoDB returns a `ResourceNotFoundException`. If table is already in
|
2200
2207
|
# the `DELETING` state, no error is returned.
|
2201
2208
|
#
|
2202
|
-
#
|
2203
|
-
#
|
2209
|
+
# For global tables, this operation only applies to global tables using
|
2210
|
+
# Version 2019.11.21 (Current version).
|
2204
2211
|
#
|
2205
2212
|
# <note markdown="1"> DynamoDB might continue to accept data read and write operations, such
|
2206
2213
|
# as `GetItem` and `PutItem`, on a table in the `DELETING` state until
|
@@ -2216,10 +2223,6 @@ module Aws::DynamoDB
|
|
2216
2223
|
#
|
2217
2224
|
# Use the `DescribeTable` action to check the status of the table.
|
2218
2225
|
#
|
2219
|
-
#
|
2220
|
-
#
|
2221
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
2222
|
-
#
|
2223
2226
|
# @option params [required, String] :table_name
|
2224
2227
|
# The name of the table to delete. You can also provide the Amazon
|
2225
2228
|
# Resource Name (ARN) of the table in this parameter.
|
@@ -2609,21 +2612,18 @@ module Aws::DynamoDB
|
|
2609
2612
|
|
2610
2613
|
# Returns information about the specified global table.
|
2611
2614
|
#
|
2612
|
-
#
|
2613
|
-
#
|
2614
|
-
#
|
2615
|
-
#
|
2616
|
-
#
|
2617
|
-
#
|
2618
|
-
#
|
2619
|
-
# global tables][4].
|
2615
|
+
# For global tables, this operation only applies to global tables using
|
2616
|
+
# Version 2019.11.21 (Current version), as it provides greater
|
2617
|
+
# flexibility, higher efficiency and consumes less write capacity than
|
2618
|
+
# 2017.11.29 (Legacy). To determine which version you are using, see
|
2619
|
+
# [Determining the version][1]. To update existing global tables from
|
2620
|
+
# version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see [
|
2621
|
+
# Updating global tables][2].
|
2620
2622
|
#
|
2621
2623
|
#
|
2622
2624
|
#
|
2623
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.
|
2624
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
2625
|
-
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
2626
|
-
# [4]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
2625
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
2626
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
2627
2627
|
#
|
2628
2628
|
# @option params [required, String] :global_table_name
|
2629
2629
|
# The name of the global table.
|
@@ -2671,21 +2671,18 @@ module Aws::DynamoDB
|
|
2671
2671
|
|
2672
2672
|
# Describes Region-specific settings for a global table.
|
2673
2673
|
#
|
2674
|
-
#
|
2675
|
-
#
|
2676
|
-
#
|
2677
|
-
#
|
2678
|
-
#
|
2679
|
-
#
|
2680
|
-
#
|
2681
|
-
# global tables][4].
|
2674
|
+
# For global tables, this operation only applies to global tables using
|
2675
|
+
# Version 2019.11.21 (Current version), as it provides greater
|
2676
|
+
# flexibility, higher efficiency and consumes less write capacity than
|
2677
|
+
# 2017.11.29 (Legacy). To determine which version you are using, see
|
2678
|
+
# [Determining the version][1]. To update existing global tables from
|
2679
|
+
# version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see [
|
2680
|
+
# Updating global tables][2].
|
2682
2681
|
#
|
2683
2682
|
#
|
2684
2683
|
#
|
2685
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.
|
2686
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
2687
|
-
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
2688
|
-
# [4]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
2684
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
2685
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
2689
2686
|
#
|
2690
2687
|
# @option params [required, String] :global_table_name
|
2691
2688
|
# The name of the global table to describe.
|
@@ -2994,8 +2991,8 @@ module Aws::DynamoDB
|
|
2994
2991
|
# the table, when it was created, the primary key schema, and any
|
2995
2992
|
# indexes on the table.
|
2996
2993
|
#
|
2997
|
-
#
|
2998
|
-
#
|
2994
|
+
# For global tables, this operation only applies to global tables using
|
2995
|
+
# Version 2019.11.21 (Current version).
|
2999
2996
|
#
|
3000
2997
|
# <note markdown="1"> If you issue a `DescribeTable` request immediately after a
|
3001
2998
|
# `CreateTable` request, DynamoDB might return a
|
@@ -3006,10 +3003,6 @@ module Aws::DynamoDB
|
|
3006
3003
|
#
|
3007
3004
|
# </note>
|
3008
3005
|
#
|
3009
|
-
#
|
3010
|
-
#
|
3011
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
3012
|
-
#
|
3013
3006
|
# @option params [required, String] :table_name
|
3014
3007
|
# The name of the table to describe. You can also provide the Amazon
|
3015
3008
|
# Resource Name (ARN) of the table in this parameter.
|
@@ -3177,12 +3170,8 @@ module Aws::DynamoDB
|
|
3177
3170
|
# Describes auto scaling settings across replicas of the global table at
|
3178
3171
|
# once.
|
3179
3172
|
#
|
3180
|
-
#
|
3181
|
-
#
|
3182
|
-
#
|
3183
|
-
#
|
3184
|
-
#
|
3185
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
3173
|
+
# For global tables, this operation only applies to global tables using
|
3174
|
+
# Version 2019.11.21 (Current version).
|
3186
3175
|
#
|
3187
3176
|
# @option params [required, String] :table_name
|
3188
3177
|
# The name of the table. You can also provide the Amazon Resource Name
|
@@ -4345,21 +4334,18 @@ module Aws::DynamoDB
|
|
4345
4334
|
|
4346
4335
|
# Lists all global tables that have a replica in the specified Region.
|
4347
4336
|
#
|
4348
|
-
#
|
4349
|
-
#
|
4350
|
-
#
|
4351
|
-
#
|
4352
|
-
#
|
4353
|
-
#
|
4354
|
-
#
|
4355
|
-
# global tables][4].
|
4337
|
+
# For global tables, this operation only applies to global tables using
|
4338
|
+
# Version 2019.11.21 (Current version), as it provides greater
|
4339
|
+
# flexibility, higher efficiency and consumes less write capacity than
|
4340
|
+
# 2017.11.29 (Legacy). To determine which version you are using, see
|
4341
|
+
# [Determining the version][1]. To update existing global tables from
|
4342
|
+
# version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see [
|
4343
|
+
# Updating global tables][2].
|
4356
4344
|
#
|
4357
4345
|
#
|
4358
4346
|
#
|
4359
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.
|
4360
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
4361
|
-
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
4362
|
-
# [4]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
4347
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
4348
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
4363
4349
|
#
|
4364
4350
|
# @option params [String] :exclusive_start_global_table_name
|
4365
4351
|
# The first global table name that this operation will evaluate.
|
@@ -6955,18 +6941,17 @@ module Aws::DynamoDB
|
|
6955
6941
|
# have the same key schema, have DynamoDB Streams enabled, and have the
|
6956
6942
|
# same provisioned and maximum write capacity units.
|
6957
6943
|
#
|
6958
|
-
#
|
6959
|
-
#
|
6960
|
-
#
|
6961
|
-
#
|
6962
|
-
#
|
6963
|
-
#
|
6964
|
-
#
|
6965
|
-
# global tables][4].
|
6944
|
+
# For global tables, this operation only applies to global tables using
|
6945
|
+
# Version 2019.11.21 (Current version), as it provides greater
|
6946
|
+
# flexibility, higher efficiency and consumes less write capacity than
|
6947
|
+
# 2017.11.29 (Legacy). To determine which version you are using, see
|
6948
|
+
# [Determining the version][1]. To update existing global tables from
|
6949
|
+
# version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see [
|
6950
|
+
# Updating global tables][2].
|
6966
6951
|
#
|
6967
|
-
# <note markdown="1">
|
6968
|
-
#
|
6969
|
-
# use [UpdateTable][
|
6952
|
+
# <note markdown="1"> For global tables, this operation only applies to global tables using
|
6953
|
+
# Version 2019.11.21 (Current version). If you are using global tables
|
6954
|
+
# [Version 2019.11.21][3] you can use [UpdateTable][4] instead.
|
6970
6955
|
#
|
6971
6956
|
# Although you can use `UpdateGlobalTable` to add replicas and remove
|
6972
6957
|
# replicas in a single request, for simplicity we recommend that you
|
@@ -6987,11 +6972,10 @@ module Aws::DynamoDB
|
|
6987
6972
|
#
|
6988
6973
|
#
|
6989
6974
|
#
|
6990
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.
|
6991
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
6992
|
-
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
6993
|
-
# [4]: https://docs.aws.amazon.com/amazondynamodb/latest/
|
6994
|
-
# [5]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html
|
6975
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
6976
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
6977
|
+
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html
|
6978
|
+
# [4]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html
|
6995
6979
|
#
|
6996
6980
|
# @option params [required, String] :global_table_name
|
6997
6981
|
# The global table name.
|
@@ -7053,21 +7037,18 @@ module Aws::DynamoDB
|
|
7053
7037
|
|
7054
7038
|
# Updates settings for a global table.
|
7055
7039
|
#
|
7056
|
-
#
|
7057
|
-
#
|
7058
|
-
#
|
7059
|
-
#
|
7060
|
-
#
|
7061
|
-
#
|
7062
|
-
#
|
7063
|
-
# global tables][4].
|
7040
|
+
# For global tables, this operation only applies to global tables using
|
7041
|
+
# Version 2019.11.21 (Current version), as it provides greater
|
7042
|
+
# flexibility, higher efficiency and consumes less write capacity than
|
7043
|
+
# 2017.11.29 (Legacy). To determine which version you are using, see
|
7044
|
+
# [Determining the version][1]. To update existing global tables from
|
7045
|
+
# version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see [
|
7046
|
+
# Updating global tables][2].
|
7064
7047
|
#
|
7065
7048
|
#
|
7066
7049
|
#
|
7067
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.
|
7068
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
7069
|
-
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
7070
|
-
# [4]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
7050
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.DetermineVersion.html
|
7051
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_upgrade.html
|
7071
7052
|
#
|
7072
7053
|
# @option params [required, String] :global_table_name
|
7073
7054
|
# The name of the global table
|
@@ -7079,16 +7060,16 @@ module Aws::DynamoDB
|
|
7079
7060
|
#
|
7080
7061
|
# * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
|
7081
7062
|
# workloads. `PROVISIONED` sets the billing mode to [Provisioned
|
7082
|
-
#
|
7063
|
+
# capacity mode][1].
|
7083
7064
|
#
|
7084
7065
|
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
|
7085
7066
|
# unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
|
7086
|
-
# [On-
|
7067
|
+
# [On-demand capacity mode][2].
|
7087
7068
|
#
|
7088
7069
|
#
|
7089
7070
|
#
|
7090
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
7091
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
7071
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
7072
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
7092
7073
|
#
|
7093
7074
|
# @option params [Integer] :global_table_provisioned_write_capacity_units
|
7094
7075
|
# The maximum number of writes consumed per second before DynamoDB
|
@@ -7716,8 +7697,8 @@ module Aws::DynamoDB
|
|
7716
7697
|
# Modifies the provisioned throughput settings, global secondary
|
7717
7698
|
# indexes, or DynamoDB Streams settings for a given table.
|
7718
7699
|
#
|
7719
|
-
#
|
7720
|
-
#
|
7700
|
+
# For global tables, this operation only applies to global tables using
|
7701
|
+
# Version 2019.11.21 (Current version).
|
7721
7702
|
#
|
7722
7703
|
# You can only perform one of the following operations at once:
|
7723
7704
|
#
|
@@ -7735,10 +7716,6 @@ module Aws::DynamoDB
|
|
7735
7716
|
# table returns to the `ACTIVE` state, the `UpdateTable` operation is
|
7736
7717
|
# complete.
|
7737
7718
|
#
|
7738
|
-
#
|
7739
|
-
#
|
7740
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
7741
|
-
#
|
7742
7719
|
# @option params [Array<Types::AttributeDefinition>] :attribute_definitions
|
7743
7720
|
# An array of attributes that describe the key schema for the table and
|
7744
7721
|
# indexes. If you are adding a new global secondary index to the table,
|
@@ -7759,16 +7736,16 @@ module Aws::DynamoDB
|
|
7759
7736
|
#
|
7760
7737
|
# * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
|
7761
7738
|
# workloads. `PROVISIONED` sets the billing mode to [Provisioned
|
7762
|
-
#
|
7739
|
+
# capacity mode][1].
|
7763
7740
|
#
|
7764
7741
|
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
|
7765
7742
|
# unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
|
7766
|
-
# [On-
|
7743
|
+
# [On-demand capacity mode][2].
|
7767
7744
|
#
|
7768
7745
|
#
|
7769
7746
|
#
|
7770
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
7771
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
7747
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
7748
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
7772
7749
|
#
|
7773
7750
|
# @option params [Types::ProvisionedThroughput] :provisioned_throughput
|
7774
7751
|
# The new provisioned throughput settings for the specified table or
|
@@ -7811,15 +7788,11 @@ module Aws::DynamoDB
|
|
7811
7788
|
# A list of replica update actions (create, delete, or update) for the
|
7812
7789
|
# table.
|
7813
7790
|
#
|
7814
|
-
# <note markdown="1">
|
7815
|
-
#
|
7791
|
+
# <note markdown="1"> For global tables, this property only applies to global tables using
|
7792
|
+
# Version 2019.11.21 (Current version).
|
7816
7793
|
#
|
7817
7794
|
# </note>
|
7818
7795
|
#
|
7819
|
-
#
|
7820
|
-
#
|
7821
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
7822
|
-
#
|
7823
7796
|
# @option params [String] :table_class
|
7824
7797
|
# The table class of the table to be updated. Valid values are
|
7825
7798
|
# `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
@@ -8110,12 +8083,8 @@ module Aws::DynamoDB
|
|
8110
8083
|
|
8111
8084
|
# Updates auto scaling settings on your global tables at once.
|
8112
8085
|
#
|
8113
|
-
#
|
8114
|
-
#
|
8115
|
-
#
|
8116
|
-
#
|
8117
|
-
#
|
8118
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
8086
|
+
# For global tables, this operation only applies to global tables using
|
8087
|
+
# Version 2019.11.21 (Current version).
|
8119
8088
|
#
|
8120
8089
|
# @option params [Array<Types::GlobalSecondaryIndexAutoScalingUpdate>] :global_secondary_index_updates
|
8121
8090
|
# Represents the auto scaling settings of the global secondary indexes
|
@@ -8364,7 +8333,7 @@ module Aws::DynamoDB
|
|
8364
8333
|
params: params,
|
8365
8334
|
config: config)
|
8366
8335
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
8367
|
-
context[:gem_version] = '1.
|
8336
|
+
context[:gem_version] = '1.111.0'
|
8368
8337
|
Seahorse::Client::Request.new(handlers, context)
|
8369
8338
|
end
|
8370
8339
|
|
@@ -1965,6 +1965,7 @@ module Aws::DynamoDB
|
|
1965
1965
|
"endpointPrefix" => "dynamodb",
|
1966
1966
|
"jsonVersion" => "1.0",
|
1967
1967
|
"protocol" => "json",
|
1968
|
+
"protocols" => ["json"],
|
1968
1969
|
"serviceAbbreviation" => "DynamoDB",
|
1969
1970
|
"serviceFullName" => "Amazon DynamoDB",
|
1970
1971
|
"serviceId" => "DynamoDB",
|
@@ -467,16 +467,16 @@ module Aws::DynamoDB
|
|
467
467
|
#
|
468
468
|
# * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
|
469
469
|
# workloads. `PROVISIONED` sets the billing mode to [Provisioned
|
470
|
-
#
|
470
|
+
# capacity mode][1].
|
471
471
|
#
|
472
472
|
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
|
473
473
|
# unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
|
474
|
-
# [On-
|
474
|
+
# [On-demand capacity mode][2].
|
475
475
|
#
|
476
476
|
#
|
477
477
|
#
|
478
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
479
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
478
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
479
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
480
480
|
# @option options [Types::ProvisionedThroughput] :provisioned_throughput
|
481
481
|
# Represents the provisioned throughput settings for a specified table
|
482
482
|
# or index. The settings can be modified using the `UpdateTable`
|
@@ -543,6 +543,12 @@ module Aws::DynamoDB
|
|
543
543
|
# for resource-based policies, see [Resource-based policy
|
544
544
|
# considerations][1].
|
545
545
|
#
|
546
|
+
# <note markdown="1"> You need to specify the `CreateTable` and `PutResourcePolicy` IAM
|
547
|
+
# actions for authorizing a user to create a table with a resource-based
|
548
|
+
# policy.
|
549
|
+
#
|
550
|
+
# </note>
|
551
|
+
#
|
546
552
|
#
|
547
553
|
#
|
548
554
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
|
@@ -1926,16 +1926,16 @@ module Aws::DynamoDB
|
|
1926
1926
|
#
|
1927
1927
|
# * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
|
1928
1928
|
# workloads. `PROVISIONED` sets the billing mode to [Provisioned
|
1929
|
-
#
|
1929
|
+
# capacity mode][1].
|
1930
1930
|
#
|
1931
1931
|
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
|
1932
1932
|
# unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
|
1933
|
-
# [On-
|
1933
|
+
# [On-demand capacity mode][2].
|
1934
1934
|
#
|
1935
1935
|
#
|
1936
1936
|
#
|
1937
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
1938
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
1937
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
1938
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
1939
1939
|
# @option options [Types::ProvisionedThroughput] :provisioned_throughput
|
1940
1940
|
# The new provisioned throughput settings for the specified table or
|
1941
1941
|
# index.
|
@@ -1973,14 +1973,10 @@ module Aws::DynamoDB
|
|
1973
1973
|
# A list of replica update actions (create, delete, or update) for the
|
1974
1974
|
# table.
|
1975
1975
|
#
|
1976
|
-
# <note markdown="1">
|
1977
|
-
#
|
1976
|
+
# <note markdown="1"> For global tables, this property only applies to global tables using
|
1977
|
+
# Version 2019.11.21 (Current version).
|
1978
1978
|
#
|
1979
1979
|
# </note>
|
1980
|
-
#
|
1981
|
-
#
|
1982
|
-
#
|
1983
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
1984
1980
|
# @option options [String] :table_class
|
1985
1981
|
# The table class of the table to be updated. Valid values are
|
1986
1982
|
# `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
@@ -1552,12 +1552,12 @@ module Aws::DynamoDB
|
|
1552
1552
|
# includes the total provisioned throughput consumed, along with
|
1553
1553
|
# statistics for the table and any indexes involved in the operation.
|
1554
1554
|
# `ConsumedCapacity` is only returned if the request asked for it. For
|
1555
|
-
# more information, see [Provisioned
|
1555
|
+
# more information, see [Provisioned capacity mode][1] in the *Amazon
|
1556
1556
|
# DynamoDB Developer Guide*.
|
1557
1557
|
#
|
1558
1558
|
#
|
1559
1559
|
#
|
1560
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
1560
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
1561
1561
|
#
|
1562
1562
|
# @!attribute [rw] table_name
|
1563
1563
|
# The name of the table that was affected by the operation. If you had
|
@@ -1984,16 +1984,16 @@ module Aws::DynamoDB
|
|
1984
1984
|
#
|
1985
1985
|
# * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
|
1986
1986
|
# workloads. `PROVISIONED` sets the billing mode to [Provisioned
|
1987
|
-
#
|
1987
|
+
# capacity mode][1].
|
1988
1988
|
#
|
1989
1989
|
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
|
1990
1990
|
# unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode
|
1991
|
-
# to [On-
|
1991
|
+
# to [On-demand capacity mode][2].
|
1992
1992
|
#
|
1993
1993
|
#
|
1994
1994
|
#
|
1995
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
1996
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
1995
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
1996
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
1997
1997
|
# @return [String]
|
1998
1998
|
#
|
1999
1999
|
# @!attribute [rw] provisioned_throughput
|
@@ -2074,6 +2074,12 @@ module Aws::DynamoDB
|
|
2074
2074
|
# that apply for resource-based policies, see [Resource-based policy
|
2075
2075
|
# considerations][1].
|
2076
2076
|
#
|
2077
|
+
# <note markdown="1"> You need to specify the `CreateTable` and `PutResourcePolicy` IAM
|
2078
|
+
# actions for authorizing a user to create a table with a
|
2079
|
+
# resource-based policy.
|
2080
|
+
#
|
2081
|
+
# </note>
|
2082
|
+
#
|
2077
2083
|
#
|
2078
2084
|
#
|
2079
2085
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
|
@@ -2464,12 +2470,12 @@ module Aws::DynamoDB
|
|
2464
2470
|
# with statistics for the table and any indexes involved in the
|
2465
2471
|
# operation. `ConsumedCapacity` is only returned if the
|
2466
2472
|
# `ReturnConsumedCapacity` parameter was specified. For more
|
2467
|
-
# information, see [Provisioned
|
2468
|
-
# Developer Guide*.
|
2473
|
+
# information, see [Provisioned capacity mode][1] in the *Amazon
|
2474
|
+
# DynamoDB Developer Guide*.
|
2469
2475
|
#
|
2470
2476
|
#
|
2471
2477
|
#
|
2472
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
2478
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
2473
2479
|
# @return [Types::ConsumedCapacity]
|
2474
2480
|
#
|
2475
2481
|
# @!attribute [rw] item_collection_metrics
|
@@ -3165,12 +3171,12 @@ module Aws::DynamoDB
|
|
3165
3171
|
# includes the total provisioned throughput consumed, along with
|
3166
3172
|
# statistics for the table and any indexes involved in the operation.
|
3167
3173
|
# `ConsumedCapacity` is only returned if the request asked for it. For
|
3168
|
-
# more information, see [Provisioned
|
3174
|
+
# more information, see [Provisioned capacity mode][1] in the *Amazon
|
3169
3175
|
# DynamoDB Developer Guide*.
|
3170
3176
|
#
|
3171
3177
|
#
|
3172
3178
|
#
|
3173
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
3179
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
3174
3180
|
# @return [Types::ConsumedCapacity]
|
3175
3181
|
#
|
3176
3182
|
# @!attribute [rw] last_evaluated_key
|
@@ -4014,12 +4020,12 @@ module Aws::DynamoDB
|
|
4014
4020
|
# with statistics for the table and any indexes involved in the
|
4015
4021
|
# operation. `ConsumedCapacity` is only returned if the
|
4016
4022
|
# `ReturnConsumedCapacity` parameter was specified. For more
|
4017
|
-
# information, see [
|
4018
|
-
# Developer Guide*.
|
4023
|
+
# information, see [Capacity unit consumption for read operations][1]
|
4024
|
+
# in the *Amazon DynamoDB Developer Guide*.
|
4019
4025
|
#
|
4020
4026
|
#
|
4021
4027
|
#
|
4022
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
4028
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption
|
4023
4029
|
# @return [Types::ConsumedCapacity]
|
4024
4030
|
#
|
4025
4031
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemOutput AWS API Documentation
|
@@ -6349,12 +6355,12 @@ module Aws::DynamoDB
|
|
6349
6355
|
# with statistics for the table and any indexes involved in the
|
6350
6356
|
# operation. `ConsumedCapacity` is only returned if the
|
6351
6357
|
# `ReturnConsumedCapacity` parameter was specified. For more
|
6352
|
-
# information, see [
|
6353
|
-
# Developer Guide*.
|
6358
|
+
# information, see [Capacity unity consumption for write
|
6359
|
+
# operations][1] in the *Amazon DynamoDB Developer Guide*.
|
6354
6360
|
#
|
6355
6361
|
#
|
6356
6362
|
#
|
6357
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
6363
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#write-operation-consumption
|
6358
6364
|
# @return [Types::ConsumedCapacity]
|
6359
6365
|
#
|
6360
6366
|
# @!attribute [rw] item_collection_metrics
|
@@ -6963,12 +6969,12 @@ module Aws::DynamoDB
|
|
6963
6969
|
# with statistics for the table and any indexes involved in the
|
6964
6970
|
# operation. `ConsumedCapacity` is only returned if the
|
6965
6971
|
# `ReturnConsumedCapacity` parameter was specified. For more
|
6966
|
-
# information, see [
|
6967
|
-
# Developer Guide*.
|
6972
|
+
# information, see [Capacity unit consumption for read operations][1]
|
6973
|
+
# in the *Amazon DynamoDB Developer Guide*.
|
6968
6974
|
#
|
6969
6975
|
#
|
6970
6976
|
#
|
6971
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
6977
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption
|
6972
6978
|
# @return [Types::ConsumedCapacity]
|
6973
6979
|
#
|
6974
6980
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryOutput AWS API Documentation
|
@@ -8309,12 +8315,12 @@ module Aws::DynamoDB
|
|
8309
8315
|
# with statistics for the table and any indexes involved in the
|
8310
8316
|
# operation. `ConsumedCapacity` is only returned if the
|
8311
8317
|
# `ReturnConsumedCapacity` parameter was specified. For more
|
8312
|
-
# information, see [
|
8313
|
-
# Developer Guide*.
|
8318
|
+
# information, see [Capacity unit consumption for read operations][1]
|
8319
|
+
# in the *Amazon DynamoDB Developer Guide*.
|
8314
8320
|
#
|
8315
8321
|
#
|
8316
8322
|
#
|
8317
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
8323
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption
|
8318
8324
|
# @return [Types::ConsumedCapacity]
|
8319
8325
|
#
|
8320
8326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanOutput AWS API Documentation
|
@@ -9732,16 +9738,16 @@ module Aws::DynamoDB
|
|
9732
9738
|
#
|
9733
9739
|
# * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
|
9734
9740
|
# workloads. `PROVISIONED` sets the billing mode to [Provisioned
|
9735
|
-
#
|
9741
|
+
# capacity mode][1].
|
9736
9742
|
#
|
9737
9743
|
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
|
9738
9744
|
# unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode
|
9739
|
-
# to [On-
|
9745
|
+
# to [On-demand capacity mode][2].
|
9740
9746
|
#
|
9741
9747
|
#
|
9742
9748
|
#
|
9743
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
9744
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
9749
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
9750
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
9745
9751
|
# @return [String]
|
9746
9752
|
#
|
9747
9753
|
# @!attribute [rw] global_table_provisioned_write_capacity_units
|
@@ -10144,12 +10150,12 @@ module Aws::DynamoDB
|
|
10144
10150
|
# with statistics for the table and any indexes involved in the
|
10145
10151
|
# operation. `ConsumedCapacity` is only returned if the
|
10146
10152
|
# `ReturnConsumedCapacity` parameter was specified. For more
|
10147
|
-
# information, see [
|
10148
|
-
# Developer Guide*.
|
10153
|
+
# information, see [Capacity unity consumption for write
|
10154
|
+
# operations][1] in the *Amazon DynamoDB Developer Guide*.
|
10149
10155
|
#
|
10150
10156
|
#
|
10151
10157
|
#
|
10152
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
10158
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#write-operation-consumption
|
10153
10159
|
# @return [Types::ConsumedCapacity]
|
10154
10160
|
#
|
10155
10161
|
# @!attribute [rw] item_collection_metrics
|
@@ -10322,16 +10328,16 @@ module Aws::DynamoDB
|
|
10322
10328
|
#
|
10323
10329
|
# * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
|
10324
10330
|
# workloads. `PROVISIONED` sets the billing mode to [Provisioned
|
10325
|
-
#
|
10331
|
+
# capacity mode][1].
|
10326
10332
|
#
|
10327
10333
|
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
|
10328
10334
|
# unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode
|
10329
|
-
# to [On-
|
10335
|
+
# to [On-demand capacity mode][2].
|
10330
10336
|
#
|
10331
10337
|
#
|
10332
10338
|
#
|
10333
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
10334
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
10339
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
10340
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
10335
10341
|
# @return [String]
|
10336
10342
|
#
|
10337
10343
|
# @!attribute [rw] provisioned_throughput
|
@@ -10379,14 +10385,10 @@ module Aws::DynamoDB
|
|
10379
10385
|
# A list of replica update actions (create, delete, or update) for the
|
10380
10386
|
# table.
|
10381
10387
|
#
|
10382
|
-
# <note markdown="1">
|
10383
|
-
#
|
10388
|
+
# <note markdown="1"> For global tables, this property only applies to global tables using
|
10389
|
+
# Version 2019.11.21 (Current version).
|
10384
10390
|
#
|
10385
10391
|
# </note>
|
10386
|
-
#
|
10387
|
-
#
|
10388
|
-
#
|
10389
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
10390
10392
|
# @return [Array<Types::ReplicationGroupUpdate>]
|
10391
10393
|
#
|
10392
10394
|
# @!attribute [rw] table_class
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
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.
|
4
|
+
version: 1.111.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-05-
|
11
|
+
date: 2024-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|