aws-sdk-dynamodb 1.64.0 → 1.68.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: 38ec3df89d983cdd2b7499a81f4dfdc58db18d7147f320c3e0f0bd1edc3a7cef
4
- data.tar.gz: ca2dfb651dabbec6fac5db86b6f7512781b9e5339cfd66df4c9f8eaa647e369f
3
+ metadata.gz: 97f6b144f04fae76f714c5c9fd5408fb6693dd67eae297ff6e04d84110f90d62
4
+ data.tar.gz: 725580524b672d63f0a61159060abc6e91d9b6074d53d5b5c361815b65885203
5
5
  SHA512:
6
- metadata.gz: d94e44576ca5fcdd9b3969501eacac6a167bac2f2cbda8cabb96113fc56c00a113898fc699ae0dc53978521d7b24ce27b453c9e00238ebb28d5a347274a95103
7
- data.tar.gz: d6396a29a8c2f055b1fe5b711ab7b2ae3898ec4a51a337f41d87eb7a94e8ab68f8d65b46370aa4d9d6e746e6ec66ae22580e07b5179169d0f41409d3ba5092d8
6
+ metadata.gz: d7519ed0d13b5c83a5e9dea46c33f3fd9125d7f5fcc01bf790ba7d4a5fb069407fc3a675cc5c018d1a280693432254046d12b26483479647e1d492062f9903ec
7
+ data.tar.gz: 1ba380b879de7ecffde002ea1a50366209f4dd83451d30d48bbb869d206495a738ae698b625b24806833dce3501e0e94823cac561be54ff25512ede883206e97
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2021-11-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.67.0 (2021-11-23)
10
+ ------------------
11
+
12
+ * Feature - DynamoDB PartiQL now supports ReturnConsumedCapacity, which returns capacity units consumed by PartiQL APIs if the request specified returnConsumedCapacity parameter. PartiQL APIs include ExecuteStatement, BatchExecuteStatement, and ExecuteTransaction.
13
+
14
+ 1.66.0 (2021-11-11)
15
+ ------------------
16
+
17
+ * Feature - Updated Help section for "dynamodb update-contributor-insights" API
18
+
19
+ 1.65.0 (2021-11-04)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.64.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.68.0
@@ -125,7 +125,9 @@ module Aws::DynamoDB
125
125
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
126
126
  # are very aggressive. Construct and pass an instance of
127
127
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
128
- # enable retries and extended timeouts.
128
+ # enable retries and extended timeouts. Instance profile credential
129
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
130
+ # to true.
129
131
  #
130
132
  # @option options [required, String] :region
131
133
  # The AWS region to connect to. The configured `:region` is
@@ -304,6 +306,15 @@ module Aws::DynamoDB
304
306
  # ** Please note ** When response stubbing is enabled, no HTTP
305
307
  # requests are made, and retries are disabled.
306
308
  #
309
+ # @option options [Boolean] :use_dualstack_endpoint
310
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
311
+ # will be used if available.
312
+ #
313
+ # @option options [Boolean] :use_fips_endpoint
314
+ # When set to `true`, fips compatible endpoints will be used if available.
315
+ # When a `fips` region is used, the region is normalized and this config
316
+ # is set to `true`.
317
+ #
307
318
  # @option options [Boolean] :validate_params (true)
308
319
  # When `true`, request parameters are validated before
309
320
  # sending the request.
@@ -356,15 +367,38 @@ module Aws::DynamoDB
356
367
 
357
368
  # @!group API Operations
358
369
 
359
- # This operation allows you to perform batch reads and writes on data
370
+ # This operation allows you to perform batch reads or writes on data
360
371
  # stored in DynamoDB, using PartiQL.
361
372
  #
373
+ # <note markdown="1"> The entire batch must consist of either read statements or write
374
+ # statements, you cannot mix both in one batch.
375
+ #
376
+ # </note>
377
+ #
362
378
  # @option params [required, Array<Types::BatchStatementRequest>] :statements
363
379
  # The list of PartiQL statements representing the batch to run.
364
380
  #
381
+ # @option params [String] :return_consumed_capacity
382
+ # Determines the level of detail about either provisioned or on-demand
383
+ # throughput consumption that is returned in the response:
384
+ #
385
+ # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
386
+ # for the operation, together with `ConsumedCapacity` for each table
387
+ # and secondary index that was accessed.
388
+ #
389
+ # Note that some operations, such as `GetItem` and `BatchGetItem`, do
390
+ # not access any indexes at all. In these cases, specifying `INDEXES`
391
+ # will only return `ConsumedCapacity` information for table(s).
392
+ #
393
+ # * `TOTAL` - The response includes only the aggregate
394
+ # `ConsumedCapacity` for the operation.
395
+ #
396
+ # * `NONE` - No `ConsumedCapacity` details are included in the response.
397
+ #
365
398
  # @return [Types::BatchExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
366
399
  #
367
400
  # * {Types::BatchExecuteStatementOutput#responses #responses} => Array&lt;Types::BatchStatementResponse&gt;
401
+ # * {Types::BatchExecuteStatementOutput#consumed_capacity #consumed_capacity} => Array&lt;Types::ConsumedCapacity&gt;
368
402
  #
369
403
  # @example Request syntax with placeholder values
370
404
  #
@@ -376,6 +410,7 @@ module Aws::DynamoDB
376
410
  # consistent_read: false,
377
411
  # },
378
412
  # ],
413
+ # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
379
414
  # })
380
415
  #
381
416
  # @example Response structure
@@ -386,6 +421,22 @@ module Aws::DynamoDB
386
421
  # resp.responses[0].table_name #=> String
387
422
  # resp.responses[0].item #=> Hash
388
423
  # resp.responses[0].item["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
424
+ # resp.consumed_capacity #=> Array
425
+ # resp.consumed_capacity[0].table_name #=> String
426
+ # resp.consumed_capacity[0].capacity_units #=> Float
427
+ # resp.consumed_capacity[0].read_capacity_units #=> Float
428
+ # resp.consumed_capacity[0].write_capacity_units #=> Float
429
+ # resp.consumed_capacity[0].table.read_capacity_units #=> Float
430
+ # resp.consumed_capacity[0].table.write_capacity_units #=> Float
431
+ # resp.consumed_capacity[0].table.capacity_units #=> Float
432
+ # resp.consumed_capacity[0].local_secondary_indexes #=> Hash
433
+ # resp.consumed_capacity[0].local_secondary_indexes["IndexName"].read_capacity_units #=> Float
434
+ # resp.consumed_capacity[0].local_secondary_indexes["IndexName"].write_capacity_units #=> Float
435
+ # resp.consumed_capacity[0].local_secondary_indexes["IndexName"].capacity_units #=> Float
436
+ # resp.consumed_capacity[0].global_secondary_indexes #=> Hash
437
+ # resp.consumed_capacity[0].global_secondary_indexes["IndexName"].read_capacity_units #=> Float
438
+ # resp.consumed_capacity[0].global_secondary_indexes["IndexName"].write_capacity_units #=> Float
439
+ # resp.consumed_capacity[0].global_secondary_indexes["IndexName"].capacity_units #=> Float
389
440
  #
390
441
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatement AWS API Documentation
391
442
  #
@@ -547,8 +598,8 @@ module Aws::DynamoDB
547
598
  # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
548
599
  #
549
600
  # @option params [String] :return_consumed_capacity
550
- # Determines the level of detail about provisioned throughput
551
- # consumption that is returned in the response:
601
+ # Determines the level of detail about either provisioned or on-demand
602
+ # throughput consumption that is returned in the response:
552
603
  #
553
604
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
554
605
  # for the operation, together with `ConsumedCapacity` for each table
@@ -796,8 +847,8 @@ module Aws::DynamoDB
796
847
  # in the table's attribute definition.
797
848
  #
798
849
  # @option params [String] :return_consumed_capacity
799
- # Determines the level of detail about provisioned throughput
800
- # consumption that is returned in the response:
850
+ # Determines the level of detail about either provisioned or on-demand
851
+ # throughput consumption that is returned in the response:
801
852
  #
802
853
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
803
854
  # for the operation, together with `ConsumedCapacity` for each table
@@ -1100,9 +1151,9 @@ module Aws::DynamoDB
1100
1151
  end
1101
1152
 
1102
1153
  # The `CreateTable` operation adds a new table to your account. In an
1103
- # AWS account, table names must be unique within each Region. That is,
1104
- # you can have two tables with same name if you create the tables in
1105
- # different Regions.
1154
+ # Amazon Web Services account, table names must be unique within each
1155
+ # Region. That is, you can have two tables with same name if you create
1156
+ # the tables in different Regions.
1106
1157
  #
1107
1158
  # `CreateTable` is an asynchronous operation. Upon receiving a
1108
1159
  # `CreateTable` request, DynamoDB immediately returns a response with a
@@ -1689,8 +1740,8 @@ module Aws::DynamoDB
1689
1740
  # </note>
1690
1741
  #
1691
1742
  # @option params [String] :return_consumed_capacity
1692
- # Determines the level of detail about provisioned throughput
1693
- # consumption that is returned in the response:
1743
+ # Determines the level of detail about either provisioned or on-demand
1744
+ # throughput consumption that is returned in the response:
1694
1745
  #
1695
1746
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
1696
1747
  # for the operation, together with `ConsumedCapacity` for each table
@@ -2456,25 +2507,26 @@ module Aws::DynamoDB
2456
2507
  req.send_request(options)
2457
2508
  end
2458
2509
 
2459
- # Returns the current provisioned-capacity quotas for your AWS account
2460
- # in a Region, both for the Region as a whole and for any one DynamoDB
2461
- # table that you create there.
2462
- #
2463
- # When you establish an AWS account, the account has initial quotas on
2464
- # the maximum read capacity units and write capacity units that you can
2465
- # provision across all of your DynamoDB tables in a given Region. Also,
2466
- # there are per-table quotas that apply when you create a table there.
2467
- # For more information, see [Service, Account, and Table Quotas][1] page
2468
- # in the *Amazon DynamoDB Developer Guide*.
2469
- #
2470
- # Although you can increase these quotas by filing a case at [AWS
2471
- # Support Center][2], obtaining the increase is not instantaneous. The
2472
- # `DescribeLimits` action lets you write code to compare the capacity
2473
- # you are currently using to those quotas imposed by your account so
2474
- # that you have enough time to apply for an increase before you hit a
2475
- # quota.
2476
- #
2477
- # For example, you could use one of the AWS SDKs to do the following:
2510
+ # Returns the current provisioned-capacity quotas for your Amazon Web
2511
+ # Services account in a Region, both for the Region as a whole and for
2512
+ # any one DynamoDB table that you create there.
2513
+ #
2514
+ # When you establish an Amazon Web Services account, the account has
2515
+ # initial quotas on the maximum read capacity units and write capacity
2516
+ # units that you can provision across all of your DynamoDB tables in a
2517
+ # given Region. Also, there are per-table quotas that apply when you
2518
+ # create a table there. For more information, see [Service, Account, and
2519
+ # Table Quotas][1] page in the *Amazon DynamoDB Developer Guide*.
2520
+ #
2521
+ # Although you can increase these quotas by filing a case at [Amazon Web
2522
+ # Services Support Center][2], obtaining the increase is not
2523
+ # instantaneous. The `DescribeLimits` action lets you write code to
2524
+ # compare the capacity you are currently using to those quotas imposed
2525
+ # by your account so that you have enough time to apply for an increase
2526
+ # before you hit a quota.
2527
+ #
2528
+ # For example, you could use one of the Amazon Web Services SDKs to do
2529
+ # the following:
2478
2530
  #
2479
2531
  # 1. Call `DescribeLimits` for a particular Region to obtain your
2480
2532
  # current account quotas on provisioned capacity there.
@@ -2940,10 +2992,28 @@ module Aws::DynamoDB
2940
2992
  # Set this value to get remaining results, if `NextToken` was returned
2941
2993
  # in the statement response.
2942
2994
  #
2995
+ # @option params [String] :return_consumed_capacity
2996
+ # Determines the level of detail about either provisioned or on-demand
2997
+ # throughput consumption that is returned in the response:
2998
+ #
2999
+ # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
3000
+ # for the operation, together with `ConsumedCapacity` for each table
3001
+ # and secondary index that was accessed.
3002
+ #
3003
+ # Note that some operations, such as `GetItem` and `BatchGetItem`, do
3004
+ # not access any indexes at all. In these cases, specifying `INDEXES`
3005
+ # will only return `ConsumedCapacity` information for table(s).
3006
+ #
3007
+ # * `TOTAL` - The response includes only the aggregate
3008
+ # `ConsumedCapacity` for the operation.
3009
+ #
3010
+ # * `NONE` - No `ConsumedCapacity` details are included in the response.
3011
+ #
2943
3012
  # @return [Types::ExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2944
3013
  #
2945
3014
  # * {Types::ExecuteStatementOutput#items #items} => Array&lt;Hash&lt;String,Types::AttributeValue&gt;&gt;
2946
3015
  # * {Types::ExecuteStatementOutput#next_token #next_token} => String
3016
+ # * {Types::ExecuteStatementOutput#consumed_capacity #consumed_capacity} => Types::ConsumedCapacity
2947
3017
  #
2948
3018
  # @example Request syntax with placeholder values
2949
3019
  #
@@ -2952,6 +3022,7 @@ module Aws::DynamoDB
2952
3022
  # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2953
3023
  # consistent_read: false,
2954
3024
  # next_token: "PartiQLNextToken",
3025
+ # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
2955
3026
  # })
2956
3027
  #
2957
3028
  # @example Response structure
@@ -2960,6 +3031,21 @@ module Aws::DynamoDB
2960
3031
  # resp.items[0] #=> Hash
2961
3032
  # resp.items[0]["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2962
3033
  # resp.next_token #=> String
3034
+ # resp.consumed_capacity.table_name #=> String
3035
+ # resp.consumed_capacity.capacity_units #=> Float
3036
+ # resp.consumed_capacity.read_capacity_units #=> Float
3037
+ # resp.consumed_capacity.write_capacity_units #=> Float
3038
+ # resp.consumed_capacity.table.read_capacity_units #=> Float
3039
+ # resp.consumed_capacity.table.write_capacity_units #=> Float
3040
+ # resp.consumed_capacity.table.capacity_units #=> Float
3041
+ # resp.consumed_capacity.local_secondary_indexes #=> Hash
3042
+ # resp.consumed_capacity.local_secondary_indexes["IndexName"].read_capacity_units #=> Float
3043
+ # resp.consumed_capacity.local_secondary_indexes["IndexName"].write_capacity_units #=> Float
3044
+ # resp.consumed_capacity.local_secondary_indexes["IndexName"].capacity_units #=> Float
3045
+ # resp.consumed_capacity.global_secondary_indexes #=> Hash
3046
+ # resp.consumed_capacity.global_secondary_indexes["IndexName"].read_capacity_units #=> Float
3047
+ # resp.consumed_capacity.global_secondary_indexes["IndexName"].write_capacity_units #=> Float
3048
+ # resp.consumed_capacity.global_secondary_indexes["IndexName"].capacity_units #=> Float
2963
3049
  #
2964
3050
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatement AWS API Documentation
2965
3051
  #
@@ -2973,6 +3059,18 @@ module Aws::DynamoDB
2973
3059
  # This operation allows you to perform transactional reads or writes on
2974
3060
  # data stored in DynamoDB, using PartiQL.
2975
3061
  #
3062
+ # <note markdown="1"> The entire transaction must consist of either read statements or write
3063
+ # statements, you cannot mix both in one transaction. The EXISTS
3064
+ # function is an exception and can be used to check the condition of
3065
+ # specific attributes of the item in a similar manner to
3066
+ # `ConditionCheck` in the [TransactWriteItems][1] API.
3067
+ #
3068
+ # </note>
3069
+ #
3070
+ #
3071
+ #
3072
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/transaction-apis.html#transaction-apis-txwriteitems
3073
+ #
2976
3074
  # @option params [required, Array<Types::ParameterizedStatement>] :transact_statements
2977
3075
  # The list of PartiQL statements representing the transaction to run.
2978
3076
  #
@@ -2983,9 +3081,20 @@ module Aws::DynamoDB
2983
3081
  # **A suitable default value is auto-generated.** You should normally
2984
3082
  # not need to pass this option.**
2985
3083
  #
3084
+ # @option params [String] :return_consumed_capacity
3085
+ # Determines the level of detail about either provisioned or on-demand
3086
+ # throughput consumption that is returned in the response. For more
3087
+ # information, see [TransactGetItems][1] and [TransactWriteItems][2].
3088
+ #
3089
+ #
3090
+ #
3091
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html
3092
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html
3093
+ #
2986
3094
  # @return [Types::ExecuteTransactionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2987
3095
  #
2988
3096
  # * {Types::ExecuteTransactionOutput#responses #responses} => Array&lt;Types::ItemResponse&gt;
3097
+ # * {Types::ExecuteTransactionOutput#consumed_capacity #consumed_capacity} => Array&lt;Types::ConsumedCapacity&gt;
2989
3098
  #
2990
3099
  # @example Request syntax with placeholder values
2991
3100
  #
@@ -2997,6 +3106,7 @@ module Aws::DynamoDB
2997
3106
  # },
2998
3107
  # ],
2999
3108
  # client_request_token: "ClientRequestToken",
3109
+ # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
3000
3110
  # })
3001
3111
  #
3002
3112
  # @example Response structure
@@ -3004,6 +3114,22 @@ module Aws::DynamoDB
3004
3114
  # resp.responses #=> Array
3005
3115
  # resp.responses[0].item #=> Hash
3006
3116
  # resp.responses[0].item["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
3117
+ # resp.consumed_capacity #=> Array
3118
+ # resp.consumed_capacity[0].table_name #=> String
3119
+ # resp.consumed_capacity[0].capacity_units #=> Float
3120
+ # resp.consumed_capacity[0].read_capacity_units #=> Float
3121
+ # resp.consumed_capacity[0].write_capacity_units #=> Float
3122
+ # resp.consumed_capacity[0].table.read_capacity_units #=> Float
3123
+ # resp.consumed_capacity[0].table.write_capacity_units #=> Float
3124
+ # resp.consumed_capacity[0].table.capacity_units #=> Float
3125
+ # resp.consumed_capacity[0].local_secondary_indexes #=> Hash
3126
+ # resp.consumed_capacity[0].local_secondary_indexes["IndexName"].read_capacity_units #=> Float
3127
+ # resp.consumed_capacity[0].local_secondary_indexes["IndexName"].write_capacity_units #=> Float
3128
+ # resp.consumed_capacity[0].local_secondary_indexes["IndexName"].capacity_units #=> Float
3129
+ # resp.consumed_capacity[0].global_secondary_indexes #=> Hash
3130
+ # resp.consumed_capacity[0].global_secondary_indexes["IndexName"].read_capacity_units #=> Float
3131
+ # resp.consumed_capacity[0].global_secondary_indexes["IndexName"].write_capacity_units #=> Float
3132
+ # resp.consumed_capacity[0].global_secondary_indexes["IndexName"].capacity_units #=> Float
3007
3133
  #
3008
3134
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransaction AWS API Documentation
3009
3135
  #
@@ -3047,8 +3173,8 @@ module Aws::DynamoDB
3047
3173
  # The name of the Amazon S3 bucket to export the snapshot to.
3048
3174
  #
3049
3175
  # @option params [String] :s3_bucket_owner
3050
- # The ID of the AWS account that owns the bucket the export will be
3051
- # stored in.
3176
+ # The ID of the Amazon Web Services account that owns the bucket the
3177
+ # export will be stored in.
3052
3178
  #
3053
3179
  # @option params [String] :s3_prefix
3054
3180
  # The Amazon S3 bucket prefix to use as the file name and path of the
@@ -3060,10 +3186,10 @@ module Aws::DynamoDB
3060
3186
  #
3061
3187
  # * `AES256` - server-side encryption with Amazon S3 managed keys
3062
3188
  #
3063
- # * `KMS` - server-side encryption with AWS KMS managed keys
3189
+ # * `KMS` - server-side encryption with KMS managed keys
3064
3190
  #
3065
3191
  # @option params [String] :s3_sse_kms_key_id
3066
- # The ID of the AWS KMS managed key used to encrypt the S3 bucket where
3192
+ # The ID of the KMS managed key used to encrypt the S3 bucket where
3067
3193
  # export data will be stored (if applicable).
3068
3194
  #
3069
3195
  # @option params [String] :export_format
@@ -3157,8 +3283,8 @@ module Aws::DynamoDB
3157
3283
  # uses eventually consistent reads.
3158
3284
  #
3159
3285
  # @option params [String] :return_consumed_capacity
3160
- # Determines the level of detail about provisioned throughput
3161
- # consumption that is returned in the response:
3286
+ # Determines the level of detail about either provisioned or on-demand
3287
+ # throughput consumption that is returned in the response:
3162
3288
  #
3163
3289
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
3164
3290
  # for the operation, together with `ConsumedCapacity` for each table
@@ -3314,10 +3440,11 @@ module Aws::DynamoDB
3314
3440
  req.send_request(options)
3315
3441
  end
3316
3442
 
3317
- # List backups associated with an AWS account. To list backups for a
3318
- # given table, specify `TableName`. `ListBackups` returns a paginated
3319
- # list of results with at most 1 MB worth of items in a page. You can
3320
- # also specify a maximum number of entries to be returned in a page.
3443
+ # List backups associated with an Amazon Web Services account. To list
3444
+ # backups for a given table, specify `TableName`. `ListBackups` returns
3445
+ # a paginated list of results with at most 1 MB worth of items in a
3446
+ # page. You can also specify a maximum number of entries to be returned
3447
+ # in a page.
3321
3448
  #
3322
3449
  # In the request, start time is inclusive, but end time is exclusive.
3323
3450
  # Note that these boundaries are for the time at which the original
@@ -3660,26 +3787,26 @@ module Aws::DynamoDB
3660
3787
  #
3661
3788
  # This topic provides general information about the `PutItem` API.
3662
3789
  #
3663
- # For information on how to call the `PutItem` API using the AWS SDK in
3664
- # specific languages, see the following:
3790
+ # For information on how to call the `PutItem` API using the Amazon Web
3791
+ # Services SDK in specific languages, see the following:
3665
3792
  #
3666
- # * [ PutItem in the AWS Command Line Interface][1]
3793
+ # * [ PutItem in the Command Line Interface][1]
3667
3794
  #
3668
- # * [ PutItem in the AWS SDK for .NET][2]
3795
+ # * [ PutItem in the SDK for .NET][2]
3669
3796
  #
3670
- # * [ PutItem in the AWS SDK for C++][3]
3797
+ # * [ PutItem in the SDK for C++][3]
3671
3798
  #
3672
- # * [ PutItem in the AWS SDK for Go][4]
3799
+ # * [ PutItem in the SDK for Go][4]
3673
3800
  #
3674
- # * [ PutItem in the AWS SDK for Java][5]
3801
+ # * [ PutItem in the SDK for Java][5]
3675
3802
  #
3676
- # * [ PutItem in the AWS SDK for JavaScript][6]
3803
+ # * [ PutItem in the SDK for JavaScript][6]
3677
3804
  #
3678
- # * [ PutItem in the AWS SDK for PHP V3][7]
3805
+ # * [ PutItem in the SDK for PHP V3][7]
3679
3806
  #
3680
- # * [ PutItem in the AWS SDK for Python][8]
3807
+ # * [ PutItem in the SDK for Python (Boto)][8]
3681
3808
  #
3682
- # * [ PutItem in the AWS SDK for Ruby V2][9]
3809
+ # * [ PutItem in the SDK for Ruby V2][9]
3683
3810
  #
3684
3811
  # When you add an item, the primary key attributes are the only required
3685
3812
  # attributes. Attribute values cannot be null.
@@ -3768,6 +3895,8 @@ module Aws::DynamoDB
3768
3895
  # * `ALL_OLD` - If `PutItem` overwrote an attribute name-value pair,
3769
3896
  # then the content of the old item is returned.
3770
3897
  #
3898
+ # The values returned are strongly consistent.
3899
+ #
3771
3900
  # <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
3772
3901
  # however, `PutItem` does not recognize any values other than `NONE` or
3773
3902
  # `ALL_OLD`.
@@ -3775,8 +3904,8 @@ module Aws::DynamoDB
3775
3904
  # </note>
3776
3905
  #
3777
3906
  # @option params [String] :return_consumed_capacity
3778
- # Determines the level of detail about provisioned throughput
3779
- # consumption that is returned in the response:
3907
+ # Determines the level of detail about either provisioned or on-demand
3908
+ # throughput consumption that is returned in the response:
3780
3909
  #
3781
3910
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
3782
3911
  # for the operation, together with `ConsumedCapacity` for each table
@@ -3995,9 +4124,10 @@ module Aws::DynamoDB
3995
4124
  req.send_request(options)
3996
4125
  end
3997
4126
 
3998
- # The `Query` operation finds items based on primary key values. You can
3999
- # query any table or secondary index that has a composite primary key (a
4000
- # partition key and a sort key).
4127
+ # You must provide the name of the partition key attribute and a single
4128
+ # value for that attribute. `Query` returns all items with that
4129
+ # partition key value. Optionally, you can provide a sort key attribute
4130
+ # and use a comparison operator to refine the search results.
4001
4131
  #
4002
4132
  # Use the `KeyConditionExpression` parameter to provide a specific value
4003
4133
  # for the partition key. The `Query` operation will return all of the
@@ -4204,8 +4334,8 @@ module Aws::DynamoDB
4204
4334
  # Binary. No set data types are allowed.
4205
4335
  #
4206
4336
  # @option params [String] :return_consumed_capacity
4207
- # Determines the level of detail about provisioned throughput
4208
- # consumption that is returned in the response:
4337
+ # Determines the level of detail about either provisioned or on-demand
4338
+ # throughput consumption that is returned in the response:
4209
4339
  #
4210
4340
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
4211
4341
  # for the operation, together with `ConsumedCapacity` for each table
@@ -5092,8 +5222,8 @@ module Aws::DynamoDB
5092
5222
  # corresponding value of `LastEvaluatedKey`.
5093
5223
  #
5094
5224
  # @option params [String] :return_consumed_capacity
5095
- # Determines the level of detail about provisioned throughput
5096
- # consumption that is returned in the response:
5225
+ # Determines the level of detail about either provisioned or on-demand
5226
+ # throughput consumption that is returned in the response:
5097
5227
  #
5098
5228
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
5099
5229
  # for the operation, together with `ConsumedCapacity` for each table
@@ -5431,8 +5561,8 @@ module Aws::DynamoDB
5431
5561
  # contain up to 25 `TransactGetItem` objects, each of which contains a
5432
5562
  # `Get` structure that specifies an item to retrieve from a table in the
5433
5563
  # account and Region. A call to `TransactGetItems` cannot retrieve items
5434
- # from tables in more than one AWS account or Region. The aggregate size
5435
- # of the items in the transaction cannot exceed 4 MB.
5564
+ # from tables in more than one Amazon Web Services account or Region.
5565
+ # The aggregate size of the items in the transaction cannot exceed 4 MB.
5436
5566
  #
5437
5567
  # DynamoDB rejects the entire `TransactGetItems` request if any of the
5438
5568
  # following is true:
@@ -5515,10 +5645,10 @@ module Aws::DynamoDB
5515
5645
 
5516
5646
  # `TransactWriteItems` is a synchronous write operation that groups up
5517
5647
  # to 25 action requests. These actions can target items in different
5518
- # tables, but not in different AWS accounts or Regions, and no two
5519
- # actions can target the same item. For example, you cannot both
5520
- # `ConditionCheck` and `Update` the same item. The aggregate size of the
5521
- # items in the transaction cannot exceed 4 MB.
5648
+ # tables, but not in different Amazon Web Services accounts or Regions,
5649
+ # and no two actions can target the same item. For example, you cannot
5650
+ # both `ConditionCheck` and `Update` the same item. The aggregate size
5651
+ # of the items in the transaction cannot exceed 4 MB.
5522
5652
  #
5523
5653
  # The actions are completed atomically so that either all of them
5524
5654
  # succeed, or all of them fail. They are defined by the following
@@ -5575,12 +5705,12 @@ module Aws::DynamoDB
5575
5705
  # An ordered array of up to 25 `TransactWriteItem` objects, each of
5576
5706
  # which contains a `ConditionCheck`, `Put`, `Update`, or `Delete`
5577
5707
  # object. These can operate on items in different tables, but the tables
5578
- # must reside in the same AWS account and Region, and no two of them can
5579
- # operate on the same item.
5708
+ # must reside in the same Amazon Web Services account and Region, and no
5709
+ # two of them can operate on the same item.
5580
5710
  #
5581
5711
  # @option params [String] :return_consumed_capacity
5582
- # Determines the level of detail about provisioned throughput
5583
- # consumption that is returned in the response:
5712
+ # Determines the level of detail about either provisioned or on-demand
5713
+ # throughput consumption that is returned in the response:
5584
5714
  #
5585
5715
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
5586
5716
  # for the operation, together with `ConsumedCapacity` for each table
@@ -5822,7 +5952,13 @@ module Aws::DynamoDB
5822
5952
  end
5823
5953
 
5824
5954
  # Updates the status for contributor insights for a specific table or
5825
- # index.
5955
+ # index. CloudWatch Contributor Insights for DynamoDB graphs display the
5956
+ # partition key and (if applicable) sort key of frequently accessed
5957
+ # items and frequently throttled items in plaintext. If you require the
5958
+ # use of AWS Key Management Service (KMS) to encrypt this table’s
5959
+ # partition key and sort key data with an AWS managed key or customer
5960
+ # managed key, you should not enable CloudWatch Contributor Insights for
5961
+ # DynamoDB for this table.
5826
5962
  #
5827
5963
  # @option params [required, String] :table_name
5828
5964
  # The name of the table.
@@ -6211,8 +6347,8 @@ module Aws::DynamoDB
6211
6347
  # The values returned are strongly consistent.
6212
6348
  #
6213
6349
  # @option params [String] :return_consumed_capacity
6214
- # Determines the level of detail about provisioned throughput
6215
- # consumption that is returned in the response:
6350
+ # Determines the level of detail about either provisioned or on-demand
6351
+ # throughput consumption that is returned in the response:
6216
6352
  #
6217
6353
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
6218
6354
  # for the operation, together with `ConsumedCapacity` for each table
@@ -7121,7 +7257,7 @@ module Aws::DynamoDB
7121
7257
  params: params,
7122
7258
  config: config)
7123
7259
  context[:gem_name] = 'aws-sdk-dynamodb'
7124
- context[:gem_version] = '1.64.0'
7260
+ context[:gem_version] = '1.68.0'
7125
7261
  Seahorse::Client::Request.new(handlers, context)
7126
7262
  end
7127
7263
 
@@ -534,9 +534,11 @@ module Aws::DynamoDB
534
534
  BackupSummary.struct_class = Types::BackupSummary
535
535
 
536
536
  BatchExecuteStatementInput.add_member(:statements, Shapes::ShapeRef.new(shape: PartiQLBatchRequest, required: true, location_name: "Statements"))
537
+ BatchExecuteStatementInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
537
538
  BatchExecuteStatementInput.struct_class = Types::BatchExecuteStatementInput
538
539
 
539
540
  BatchExecuteStatementOutput.add_member(:responses, Shapes::ShapeRef.new(shape: PartiQLBatchResponse, location_name: "Responses"))
541
+ BatchExecuteStatementOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacityMultiple, location_name: "ConsumedCapacity"))
540
542
  BatchExecuteStatementOutput.struct_class = Types::BatchExecuteStatementOutput
541
543
 
542
544
  BatchGetItemInput.add_member(:request_items, Shapes::ShapeRef.new(shape: BatchGetRequestMap, required: true, location_name: "RequestItems"))
@@ -828,17 +830,21 @@ module Aws::DynamoDB
828
830
  ExecuteStatementInput.add_member(:parameters, Shapes::ShapeRef.new(shape: PreparedStatementParameters, location_name: "Parameters"))
829
831
  ExecuteStatementInput.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
830
832
  ExecuteStatementInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
833
+ ExecuteStatementInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
831
834
  ExecuteStatementInput.struct_class = Types::ExecuteStatementInput
832
835
 
833
836
  ExecuteStatementOutput.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
834
837
  ExecuteStatementOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
838
+ ExecuteStatementOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
835
839
  ExecuteStatementOutput.struct_class = Types::ExecuteStatementOutput
836
840
 
837
841
  ExecuteTransactionInput.add_member(:transact_statements, Shapes::ShapeRef.new(shape: ParameterizedStatements, required: true, location_name: "TransactStatements"))
838
842
  ExecuteTransactionInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
843
+ ExecuteTransactionInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
839
844
  ExecuteTransactionInput.struct_class = Types::ExecuteTransactionInput
840
845
 
841
846
  ExecuteTransactionOutput.add_member(:responses, Shapes::ShapeRef.new(shape: ItemResponseList, location_name: "Responses"))
847
+ ExecuteTransactionOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacityMultiple, location_name: "ConsumedCapacity"))
842
848
  ExecuteTransactionOutput.struct_class = Types::ExecuteTransactionOutput
843
849
 
844
850
  ExpectedAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
@@ -143,8 +143,8 @@ module Aws::DynamoDB
143
143
  # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
144
144
  # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
145
145
  # @option options [String] :return_consumed_capacity
146
- # Determines the level of detail about provisioned throughput
147
- # consumption that is returned in the response:
146
+ # Determines the level of detail about either provisioned or on-demand
147
+ # throughput consumption that is returned in the response:
148
148
  #
149
149
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
150
150
  # for the operation, together with `ConsumedCapacity` for each table
@@ -219,8 +219,8 @@ module Aws::DynamoDB
219
219
  # the data types for those attributes must match those of the schema
220
220
  # in the table's attribute definition.
221
221
  # @option options [String] :return_consumed_capacity
222
- # Determines the level of detail about provisioned throughput
223
- # consumption that is returned in the response:
222
+ # Determines the level of detail about either provisioned or on-demand
223
+ # throughput consumption that is returned in the response:
224
224
  #
225
225
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
226
226
  # for the operation, together with `ConsumedCapacity` for each table