aws-sdk-dynamodb 1.46.1 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +36 -10
- data/lib/aws-sdk-dynamodb/table.rb +4 -0
- data/lib/aws-sdk-dynamodb/types.rb +5 -0
- 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: 352cb1e2b88f669ef6f17c746a6015768bc9c7c70845f4b5953458bdc8801639
|
4
|
+
data.tar.gz: 68f5fdaf4044a40e6a816012e24ce8a915daee69167717dc56091e30814a6d4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51150cc036ae4346161d49d405716e6e0bbdac91b7a0052db029110880b559c6b17847b8aff9c1b53dc8a0fab31c327d9434d7225198715a04a935ac2d5ef689
|
7
|
+
data.tar.gz: 4eb2d351edeaadb89fe12434f065f4c55a854b3fdb407908ad7750d4ba81d0ccbe229f6eb464e07a40482ef30427b8a77b4349dd7472f28fe18895d446c779dd
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -944,7 +944,8 @@ module Aws::DynamoDB
|
|
944
944
|
# a replication relationship between two or more DynamoDB tables with
|
945
945
|
# the same table name in the provided Regions.
|
946
946
|
#
|
947
|
-
# <note markdown="1"> This
|
947
|
+
# <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
|
948
|
+
# tables.
|
948
949
|
#
|
949
950
|
# </note>
|
950
951
|
#
|
@@ -969,6 +970,14 @@ module Aws::DynamoDB
|
|
969
970
|
# * The global secondary indexes must have the same hash key and sort
|
970
971
|
# key (if present).
|
971
972
|
#
|
973
|
+
# If local secondary indexes are specified, then the following
|
974
|
+
# conditions must also be met:
|
975
|
+
#
|
976
|
+
# * The local secondary indexes must have the same name.
|
977
|
+
#
|
978
|
+
# * The local secondary indexes must have the same hash key and sort key
|
979
|
+
# (if present).
|
980
|
+
#
|
972
981
|
# Write capacity settings should be set consistently across your replica
|
973
982
|
# tables and secondary indexes. DynamoDB strongly recommends enabling
|
974
983
|
# auto scaling to manage the write capacity settings for all of your
|
@@ -2163,13 +2172,17 @@ module Aws::DynamoDB
|
|
2163
2172
|
|
2164
2173
|
# Returns information about the specified global table.
|
2165
2174
|
#
|
2166
|
-
# <note markdown="1"> This
|
2175
|
+
# <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
|
2176
|
+
# tables. If you are using global tables [Version 2019.11.21][2] you can
|
2177
|
+
# use [DescribeTable][3] instead.
|
2167
2178
|
#
|
2168
2179
|
# </note>
|
2169
2180
|
#
|
2170
2181
|
#
|
2171
2182
|
#
|
2172
2183
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html
|
2184
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
2185
|
+
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html
|
2173
2186
|
#
|
2174
2187
|
# @option params [required, String] :global_table_name
|
2175
2188
|
# The name of the global table.
|
@@ -2212,7 +2225,8 @@ module Aws::DynamoDB
|
|
2212
2225
|
|
2213
2226
|
# Describes Region-specific settings for a global table.
|
2214
2227
|
#
|
2215
|
-
# <note markdown="1"> This
|
2228
|
+
# <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
|
2229
|
+
# tables.
|
2216
2230
|
#
|
2217
2231
|
# </note>
|
2218
2232
|
#
|
@@ -2575,7 +2589,8 @@ module Aws::DynamoDB
|
|
2575
2589
|
# Describes auto scaling settings across replicas of the global table at
|
2576
2590
|
# once.
|
2577
2591
|
#
|
2578
|
-
# <note markdown="1"> This
|
2592
|
+
# <note markdown="1"> This operation only applies to [Version 2019.11.21][1] of global
|
2593
|
+
# tables.
|
2579
2594
|
#
|
2580
2595
|
# </note>
|
2581
2596
|
#
|
@@ -3011,7 +3026,8 @@ module Aws::DynamoDB
|
|
3011
3026
|
|
3012
3027
|
# Lists all global tables that have a replica in the specified Region.
|
3013
3028
|
#
|
3014
|
-
# <note markdown="1"> This
|
3029
|
+
# <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
|
3030
|
+
# tables.
|
3015
3031
|
#
|
3016
3032
|
# </note>
|
3017
3033
|
#
|
@@ -3205,9 +3221,14 @@ module Aws::DynamoDB
|
|
3205
3221
|
# * [ PutItem in the AWS SDK for Ruby V2][9]
|
3206
3222
|
#
|
3207
3223
|
# When you add an item, the primary key attributes are the only required
|
3208
|
-
# attributes. Attribute values cannot be null.
|
3209
|
-
#
|
3210
|
-
#
|
3224
|
+
# attributes. Attribute values cannot be null.
|
3225
|
+
#
|
3226
|
+
# Empty String and Binary attribute values are allowed. Attribute values
|
3227
|
+
# of type String and Binary must have a length greater than zero if the
|
3228
|
+
# attribute is used as a key attribute for a table or index. Set type
|
3229
|
+
# attributes cannot be empty.
|
3230
|
+
#
|
3231
|
+
# Invalid Requests with empty values will be rejected with a
|
3211
3232
|
# `ValidationException` exception.
|
3212
3233
|
#
|
3213
3234
|
# <note markdown="1"> To prevent a new item from replacing an existing item, use a
|
@@ -3252,6 +3273,10 @@ module Aws::DynamoDB
|
|
3252
3273
|
# data types for those attributes must match those of the schema in the
|
3253
3274
|
# table's attribute definition.
|
3254
3275
|
#
|
3276
|
+
# Empty String and Binary attribute values are allowed. Attribute values
|
3277
|
+
# of type String and Binary must have a length greater than zero if the
|
3278
|
+
# attribute is used as a key attribute for a table or index.
|
3279
|
+
#
|
3255
3280
|
# For more information about primary keys, see [Primary Key][1] in the
|
3256
3281
|
# *Amazon DynamoDB Developer Guide*.
|
3257
3282
|
#
|
@@ -6377,7 +6402,8 @@ module Aws::DynamoDB
|
|
6377
6402
|
|
6378
6403
|
# Updates auto scaling settings on your global tables at once.
|
6379
6404
|
#
|
6380
|
-
# <note markdown="1"> This
|
6405
|
+
# <note markdown="1"> This operation only applies to [Version 2019.11.21][1] of global
|
6406
|
+
# tables.
|
6381
6407
|
#
|
6382
6408
|
# </note>
|
6383
6409
|
#
|
@@ -6630,7 +6656,7 @@ module Aws::DynamoDB
|
|
6630
6656
|
params: params,
|
6631
6657
|
config: config)
|
6632
6658
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
6633
|
-
context[:gem_version] = '1.
|
6659
|
+
context[:gem_version] = '1.47.0'
|
6634
6660
|
Seahorse::Client::Request.new(handlers, context)
|
6635
6661
|
end
|
6636
6662
|
|
@@ -855,6 +855,10 @@ module Aws::DynamoDB
|
|
855
855
|
# data types for those attributes must match those of the schema in the
|
856
856
|
# table's attribute definition.
|
857
857
|
#
|
858
|
+
# Empty String and Binary attribute values are allowed. Attribute values
|
859
|
+
# of type String and Binary must have a length greater than zero if the
|
860
|
+
# attribute is used as a key attribute for a table or index.
|
861
|
+
#
|
858
862
|
# For more information about primary keys, see [Primary Key][1] in the
|
859
863
|
# *Amazon DynamoDB Developer Guide*.
|
860
864
|
#
|
@@ -5163,6 +5163,11 @@ module Aws::DynamoDB
|
|
5163
5163
|
# the data types for those attributes must match those of the schema
|
5164
5164
|
# in the table's attribute definition.
|
5165
5165
|
#
|
5166
|
+
# Empty String and Binary attribute values are allowed. Attribute
|
5167
|
+
# values of type String and Binary must have a length greater than
|
5168
|
+
# zero if the attribute is used as a key attribute for a table or
|
5169
|
+
# index.
|
5170
|
+
#
|
5166
5171
|
# For more information about primary keys, see [Primary Key][1] in the
|
5167
5172
|
# *Amazon DynamoDB Developer Guide*.
|
5168
5173
|
#
|
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.47.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: 2020-05-
|
11
|
+
date: 2020-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|