aws-sdk-dynamodb 1.71.0 → 1.74.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +34 -1
- data/lib/aws-sdk-dynamodb/client_api.rb +2 -0
- data/lib/aws-sdk-dynamodb/types.rb +29 -2
- data/lib/aws-sdk-dynamodb.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fb6f3407dca16c38d88d28416d0fdf52f28f64a7d63fd7296a49758167dab79
|
4
|
+
data.tar.gz: d5fd2b88a65301e3cfa5866d290f1706f9f3c763a1f88b91d01a9f9d8a03e683
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b472f033d8b3f6e443c6777fbf6fb45ad39b19d35e796c20998aa197fbb2417db9a2830385f8c8a6034f374e31557bbe6f7eac654cde6a22dcd4fa642353865
|
7
|
+
data.tar.gz: 4ffe9f17116d8badd945895a8ae8a2215cabfa69818ee306bab547b68f81bae1be4953ed1b0f39ad4b6ac1d485022bfded7272d973997a537a99b5759ba069ee
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.74.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.73.0 (2022-02-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - DynamoDB ExecuteStatement API now supports Limit as a request parameter to specify the maximum number of items to evaluate. If specified, the service will process up to the Limit and the results will include a LastEvaluatedKey value to continue the read in a subsequent operation.
|
13
|
+
|
14
|
+
1.72.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.71.0 (2022-02-02)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
33
35
|
require 'aws-sdk-dynamodb/plugins/extended_retries.rb'
|
@@ -77,7 +79,9 @@ module Aws::DynamoDB
|
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
78
80
|
add_plugin(Aws::Plugins::TransferEncoding)
|
79
81
|
add_plugin(Aws::Plugins::HttpChecksum)
|
82
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
83
|
add_plugin(Aws::Plugins::DefaultsMode)
|
84
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
81
85
|
add_plugin(Aws::Plugins::SignatureV4)
|
82
86
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
83
87
|
add_plugin(Aws::DynamoDB::Plugins::ExtendedRetries)
|
@@ -3014,6 +3018,19 @@ module Aws::DynamoDB
|
|
3014
3018
|
# This operation allows you to perform reads and singleton writes on
|
3015
3019
|
# data stored in DynamoDB, using PartiQL.
|
3016
3020
|
#
|
3021
|
+
# For PartiQL reads (`SELECT` statement), if the total number of
|
3022
|
+
# processed items exceeds the maximum dataset size limit of 1 MB, the
|
3023
|
+
# read stops and results are returned to the user as a
|
3024
|
+
# `LastEvaluatedKey` value to continue the read in a subsequent
|
3025
|
+
# operation. If the filter criteria in `WHERE` clause does not match any
|
3026
|
+
# data, the read will return an empty result set.
|
3027
|
+
#
|
3028
|
+
# A single `SELECT` statement response can return up to the maximum
|
3029
|
+
# number of items (if using the Limit parameter) or a maximum of 1 MB of
|
3030
|
+
# data (and then apply any filtering to the results using `WHERE`
|
3031
|
+
# clause). If `LastEvaluatedKey` is present in the response, you need to
|
3032
|
+
# paginate the result set.
|
3033
|
+
#
|
3017
3034
|
# @option params [required, String] :statement
|
3018
3035
|
# The PartiQL statement representing the operation to run.
|
3019
3036
|
#
|
@@ -3046,11 +3063,24 @@ module Aws::DynamoDB
|
|
3046
3063
|
#
|
3047
3064
|
# * `NONE` - No `ConsumedCapacity` details are included in the response.
|
3048
3065
|
#
|
3066
|
+
# @option params [Integer] :limit
|
3067
|
+
# The maximum number of items to evaluate (not necessarily the number of
|
3068
|
+
# matching items). If DynamoDB processes the number of items up to the
|
3069
|
+
# limit while processing the results, it stops the operation and returns
|
3070
|
+
# the matching values up to that point, along with a key in
|
3071
|
+
# `LastEvaluatedKey` to apply in a subsequent operation so you can pick
|
3072
|
+
# up where you left off. Also, if the processed dataset size exceeds 1
|
3073
|
+
# MB before DynamoDB reaches this limit, it stops the operation and
|
3074
|
+
# returns the matching values up to the limit, and a key in
|
3075
|
+
# `LastEvaluatedKey` to apply in a subsequent operation to continue the
|
3076
|
+
# operation.
|
3077
|
+
#
|
3049
3078
|
# @return [Types::ExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3050
3079
|
#
|
3051
3080
|
# * {Types::ExecuteStatementOutput#items #items} => Array<Hash<String,Types::AttributeValue>>
|
3052
3081
|
# * {Types::ExecuteStatementOutput#next_token #next_token} => String
|
3053
3082
|
# * {Types::ExecuteStatementOutput#consumed_capacity #consumed_capacity} => Types::ConsumedCapacity
|
3083
|
+
# * {Types::ExecuteStatementOutput#last_evaluated_key #last_evaluated_key} => Hash<String,Types::AttributeValue>
|
3054
3084
|
#
|
3055
3085
|
# @example Request syntax with placeholder values
|
3056
3086
|
#
|
@@ -3060,6 +3090,7 @@ module Aws::DynamoDB
|
|
3060
3090
|
# consistent_read: false,
|
3061
3091
|
# next_token: "PartiQLNextToken",
|
3062
3092
|
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3093
|
+
# limit: 1,
|
3063
3094
|
# })
|
3064
3095
|
#
|
3065
3096
|
# @example Response structure
|
@@ -3083,6 +3114,8 @@ module Aws::DynamoDB
|
|
3083
3114
|
# resp.consumed_capacity.global_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
3084
3115
|
# resp.consumed_capacity.global_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
3085
3116
|
# resp.consumed_capacity.global_secondary_indexes["IndexName"].capacity_units #=> Float
|
3117
|
+
# resp.last_evaluated_key #=> Hash
|
3118
|
+
# resp.last_evaluated_key["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3086
3119
|
#
|
3087
3120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatement AWS API Documentation
|
3088
3121
|
#
|
@@ -7318,7 +7351,7 @@ module Aws::DynamoDB
|
|
7318
7351
|
params: params,
|
7319
7352
|
config: config)
|
7320
7353
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
7321
|
-
context[:gem_version] = '1.
|
7354
|
+
context[:gem_version] = '1.74.0'
|
7322
7355
|
Seahorse::Client::Request.new(handlers, context)
|
7323
7356
|
end
|
7324
7357
|
|
@@ -835,11 +835,13 @@ module Aws::DynamoDB
|
|
835
835
|
ExecuteStatementInput.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
|
836
836
|
ExecuteStatementInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
|
837
837
|
ExecuteStatementInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
838
|
+
ExecuteStatementInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
|
838
839
|
ExecuteStatementInput.struct_class = Types::ExecuteStatementInput
|
839
840
|
|
840
841
|
ExecuteStatementOutput.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
|
841
842
|
ExecuteStatementOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
|
842
843
|
ExecuteStatementOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
|
844
|
+
ExecuteStatementOutput.add_member(:last_evaluated_key, Shapes::ShapeRef.new(shape: Key, location_name: "LastEvaluatedKey"))
|
843
845
|
ExecuteStatementOutput.struct_class = Types::ExecuteStatementOutput
|
844
846
|
|
845
847
|
ExecuteTransactionInput.add_member(:transact_statements, Shapes::ShapeRef.new(shape: ParameterizedStatements, required: true, location_name: "TransactStatements"))
|
@@ -3316,6 +3316,7 @@ module Aws::DynamoDB
|
|
3316
3316
|
# consistent_read: false,
|
3317
3317
|
# next_token: "PartiQLNextToken",
|
3318
3318
|
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3319
|
+
# limit: 1,
|
3319
3320
|
# }
|
3320
3321
|
#
|
3321
3322
|
# @!attribute [rw] statement
|
@@ -3357,6 +3358,19 @@ module Aws::DynamoDB
|
|
3357
3358
|
# response.
|
3358
3359
|
# @return [String]
|
3359
3360
|
#
|
3361
|
+
# @!attribute [rw] limit
|
3362
|
+
# The maximum number of items to evaluate (not necessarily the number
|
3363
|
+
# of matching items). If DynamoDB processes the number of items up to
|
3364
|
+
# the limit while processing the results, it stops the operation and
|
3365
|
+
# returns the matching values up to that point, along with a key in
|
3366
|
+
# `LastEvaluatedKey` to apply in a subsequent operation so you can
|
3367
|
+
# pick up where you left off. Also, if the processed dataset size
|
3368
|
+
# exceeds 1 MB before DynamoDB reaches this limit, it stops the
|
3369
|
+
# operation and returns the matching values up to the limit, and a key
|
3370
|
+
# in `LastEvaluatedKey` to apply in a subsequent operation to continue
|
3371
|
+
# the operation.
|
3372
|
+
# @return [Integer]
|
3373
|
+
#
|
3360
3374
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementInput AWS API Documentation
|
3361
3375
|
#
|
3362
3376
|
class ExecuteStatementInput < Struct.new(
|
@@ -3364,7 +3378,8 @@ module Aws::DynamoDB
|
|
3364
3378
|
:parameters,
|
3365
3379
|
:consistent_read,
|
3366
3380
|
:next_token,
|
3367
|
-
:return_consumed_capacity
|
3381
|
+
:return_consumed_capacity,
|
3382
|
+
:limit)
|
3368
3383
|
SENSITIVE = []
|
3369
3384
|
include Aws::Structure
|
3370
3385
|
end
|
@@ -3395,12 +3410,24 @@ module Aws::DynamoDB
|
|
3395
3410
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
3396
3411
|
# @return [Types::ConsumedCapacity]
|
3397
3412
|
#
|
3413
|
+
# @!attribute [rw] last_evaluated_key
|
3414
|
+
# The primary key of the item where the operation stopped, inclusive
|
3415
|
+
# of the previous result set. Use this value to start a new operation,
|
3416
|
+
# excluding this value in the new request. If `LastEvaluatedKey` is
|
3417
|
+
# empty, then the "last page" of results has been processed and
|
3418
|
+
# there is no more data to be retrieved. If `LastEvaluatedKey` is not
|
3419
|
+
# empty, it does not necessarily mean that there is more data in the
|
3420
|
+
# result set. The only way to know when you have reached the end of
|
3421
|
+
# the result set is when `LastEvaluatedKey` is empty.
|
3422
|
+
# @return [Hash<String,Types::AttributeValue>]
|
3423
|
+
#
|
3398
3424
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementOutput AWS API Documentation
|
3399
3425
|
#
|
3400
3426
|
class ExecuteStatementOutput < Struct.new(
|
3401
3427
|
:items,
|
3402
3428
|
:next_token,
|
3403
|
-
:consumed_capacity
|
3429
|
+
:consumed_capacity,
|
3430
|
+
:last_evaluated_key)
|
3404
3431
|
SENSITIVE = []
|
3405
3432
|
include Aws::Structure
|
3406
3433
|
end
|
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.74.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: 2022-02-
|
11
|
+
date: 2022-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|