aws-sdk-dynamodb 1.0.0.rc10 → 1.0.0.rc12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 335093c91784056cf21b20186742296b6be20ec8
4
- data.tar.gz: 0419590bac02237fe754b94810d7ae37a92bfd32
3
+ metadata.gz: f3f8958c4b015b88676b1a7ab1fde4493492a227
4
+ data.tar.gz: c14ffcb74fe09afcce3cd480677870d5849d8916
5
5
  SHA512:
6
- metadata.gz: c1c1e6ced0ce2abf4d3c6d0427d057f315201d13115aad9258af7f1ff8885a7488b8678c5e75ee463a2f1d7d05bdd00fa73be4baf824142fda40ee726ed91cdf
7
- data.tar.gz: e21f784c7e53716808b70077fb0e8a1d276201d93eed8ba7e76977a4797a6904cf13cd7d59480ff0ea0c820ea7f525927544fbf706d3f5a7f6d6e64d6df9c5fc
6
+ metadata.gz: 5d90ed51f5803de8f3a25f800410af1194f3840503064ca029c9ddd14f5ae356179f1334a0462fce19f09e3148e52db3e29e2b682d52ae450f573debf0109ae3
7
+ data.tar.gz: 2c99cc0ef38f49666f9dc1fd84626fa71d8605735aead52ab290d5b2b48019539c9254f1740ac5d07e29aa5344bceddde5aa4e09f10286121fe868fcbd710128
@@ -44,6 +44,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
44
44
  # @service
45
45
  module Aws::DynamoDB
46
46
 
47
- GEM_VERSION = '1.0.0.rc10'
47
+ GEM_VERSION = '1.0.0.rc12'
48
48
 
49
49
  end
@@ -563,12 +563,12 @@ module Aws::DynamoDB
563
563
  # item. The item to be deleted is identified by a `Key` subelement:
564
564
  #
565
565
  # * `Key` - A map of primary key attribute values that uniquely
566
- # identify the ! item. Each entry in this map consists of an
567
- # attribute name and an attribute value. For each primary key, you
568
- # must provide *all* of the key attributes. For example, with a
569
- # simple primary key, you only need to provide a value for the
570
- # partition key. For a composite primary key, you must provide
571
- # values for *both* the partition key and the sort key.
566
+ # identify the item. Each entry in this map consists of an attribute
567
+ # name and an attribute value. For each primary key, you must
568
+ # provide *all* of the key attributes. For example, with a simple
569
+ # primary key, you only need to provide a value for the partition
570
+ # key. For a composite primary key, you must provide values for
571
+ # *both* the partition key and the sort key.
572
572
  #
573
573
  # ^
574
574
  #
@@ -1141,7 +1141,7 @@ module Aws::DynamoDB
1141
1141
  # values for both the partition key and the sort key.
1142
1142
  #
1143
1143
  # @option params [Hash<String,Types::ExpectedAttributeValue>] :expected
1144
- # This is a legacy parameter. Use `ConditionExpresssion` instead. For
1144
+ # This is a legacy parameter. Use `ConditionExpression` instead. For
1145
1145
  # more information, see [Expected][1] in the *Amazon DynamoDB Developer
1146
1146
  # Guide*.
1147
1147
  #
@@ -2080,11 +2080,32 @@ module Aws::DynamoDB
2080
2080
  # the specified table, the new item completely replaces the existing
2081
2081
  # item. You can perform a conditional put operation (add a new item if
2082
2082
  # one with the specified primary key doesn't exist), or replace an
2083
- # existing item if it has certain attribute values.
2083
+ # existing item if it has certain attribute values. You can return the
2084
+ # item's attribute values in the same operation, using the
2085
+ # `ReturnValues` parameter.
2084
2086
  #
2085
- # In addition to putting an item, you can also return the item's
2086
- # attribute values in the same operation, using the `ReturnValues`
2087
- # parameter.
2087
+ # This topic provides general information about the `PutItem` API.
2088
+ #
2089
+ # For information on how to call the `PutItem` API using the AWS SDK in
2090
+ # specific languages, see the following:
2091
+ #
2092
+ # * [ PutItem in the AWS Command Line Interface ][1]
2093
+ #
2094
+ # * [ PutItem in the AWS SDK for .NET ][2]
2095
+ #
2096
+ # * [ PutItem in the AWS SDK for C++ ][3]
2097
+ #
2098
+ # * [ PutItem in the AWS SDK for Go ][4]
2099
+ #
2100
+ # * [ PutItem in the AWS SDK for Java ][5]
2101
+ #
2102
+ # * [ PutItem in the AWS SDK for JavaScript ][6]
2103
+ #
2104
+ # * [ PutItem in the AWS SDK for PHP V3 ][7]
2105
+ #
2106
+ # * [ PutItem in the AWS SDK for Python ][8]
2107
+ #
2108
+ # * [ PutItem in the AWS SDK for Ruby V2 ][9]
2088
2109
  #
2089
2110
  # When you add an item, the primary key attribute(s) are the only
2090
2111
  # required attributes. Attribute values cannot be null. String and
@@ -2101,12 +2122,21 @@ module Aws::DynamoDB
2101
2122
  #
2102
2123
  # </note>
2103
2124
  #
2104
- # For more information about `PutItem`, see [Working with Items][1] in
2125
+ # For more information about `PutItem`, see [Working with Items][10] in
2105
2126
  # the *Amazon DynamoDB Developer Guide*.
2106
2127
  #
2107
2128
  #
2108
2129
  #
2109
- # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html
2130
+ # [1]: http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem
2131
+ # [2]: http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem
2132
+ # [3]: http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem
2133
+ # [4]: http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem
2134
+ # [5]: http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem
2135
+ # [6]: http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem
2136
+ # [7]: http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem
2137
+ # [8]: http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem
2138
+ # [9]: http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem
2139
+ # [10]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html
2110
2140
  #
2111
2141
  # @option params [required, String] :table_name
2112
2142
  # The name of the table to contain the item.
@@ -2135,7 +2165,7 @@ module Aws::DynamoDB
2135
2165
  # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModelPrimaryKey
2136
2166
  #
2137
2167
  # @option params [Hash<String,Types::ExpectedAttributeValue>] :expected
2138
- # This is a legacy parameter. Use `ConditionExpresssion` instead. For
2168
+ # This is a legacy parameter. Use `ConditionExpression` instead. For
2139
2169
  # more information, see [Expected][1] in the *Amazon DynamoDB Developer
2140
2170
  # Guide*.
2141
2171
  #
@@ -2380,28 +2410,57 @@ module Aws::DynamoDB
2380
2410
  req.send_request(options)
2381
2411
  end
2382
2412
 
2383
- # A `Query` operation uses the primary key of a table or a secondary
2384
- # index to directly access items from that table or index.
2413
+ # The `Query` operation finds items based on primary key values. You can
2414
+ # query any table or secondary index that has a composite primary key (a
2415
+ # partition key and a sort key).
2385
2416
  #
2386
2417
  # Use the `KeyConditionExpression` parameter to provide a specific value
2387
2418
  # for the partition key. The `Query` operation will return all of the
2388
2419
  # items from the table or index with that partition key value. You can
2389
2420
  # optionally narrow the scope of the `Query` operation by specifying a
2390
2421
  # sort key value and a comparison operator in `KeyConditionExpression`.
2391
- # You can use the `ScanIndexForward` parameter to get results in forward
2392
- # or reverse order, by sort key.
2422
+ # To further refine the `Query` results, you can optionally provide a
2423
+ # `FilterExpression`. A `FilterExpression` determines which items within
2424
+ # the results should be returned to you. All of the other results are
2425
+ # discarded.
2426
+ #
2427
+ # A `Query` operation always returns a result set. If no matching items
2428
+ # are found, the result set will be empty. Queries that do not return
2429
+ # results consume the minimum number of read capacity units for that
2430
+ # type of read operation.
2431
+ #
2432
+ # <note markdown="1"> DynamoDB calculates the number of read capacity units consumed based
2433
+ # on item size, not on the amount of data that is returned to an
2434
+ # application. The number of capacity units consumed will be the same
2435
+ # whether you request all of the attributes (the default behavior) or
2436
+ # just some of them (using a projection expression). The number will
2437
+ # also be the same whether or not you use a `FilterExpression`.
2393
2438
  #
2394
- # Queries that do not return results consume the minimum number of read
2395
- # capacity units for that type of read operation.
2439
+ # </note>
2396
2440
  #
2397
- # If the total number of items meeting the query criteria exceeds the
2398
- # result set size limit of 1 MB, the query stops and results are
2399
- # returned to the user with the `LastEvaluatedKey` element to continue
2400
- # the query in a subsequent operation. Unlike a `Scan` operation, a
2401
- # `Query` operation never returns both an empty result set and a
2402
- # `LastEvaluatedKey` value. `LastEvaluatedKey` is only provided if you
2403
- # have used the `Limit` parameter, or if the result set exceeds 1 MB
2404
- # (prior to applying a filter).
2441
+ # `Query` results are always sorted by the sort key value. If the data
2442
+ # type of the sort key is Number, the results are returned in numeric
2443
+ # order; otherwise, the results are returned in order of UTF-8 bytes. By
2444
+ # default, the sort order is ascending. To reverse the order, set the
2445
+ # `ScanIndexForward` parameter to false.
2446
+ #
2447
+ # A single `Query` operation will read up to the maximum number of items
2448
+ # set (if using the `Limit` parameter) or a maximum of 1 MB of data and
2449
+ # then apply any filtering to the results using `FilterExpression`. If
2450
+ # `LastEvaluatedKey` is present in the response, you will need to
2451
+ # paginate the result set. For more information, see [Paginating the
2452
+ # Results][1] in the *Amazon DynamoDB Developer Guide*.
2453
+ #
2454
+ # `FilterExpression` is applied after a `Query` finishes, but before the
2455
+ # results are returned. A `FilterExpression` cannot contain partition
2456
+ # key or sort key attributes. You need to specify those attributes in
2457
+ # the `KeyConditionExpression`.
2458
+ #
2459
+ # <note markdown="1"> A `Query` operation can return an empty result set and a
2460
+ # `LastEvaluatedKey` if all the items read for the page of results are
2461
+ # filtered out.
2462
+ #
2463
+ # </note>
2405
2464
  #
2406
2465
  # You can query a table, a local secondary index, or a global secondary
2407
2466
  # index. For a query on a table or on a local secondary index, you can
@@ -2410,6 +2469,10 @@ module Aws::DynamoDB
2410
2469
  # consistent reads only, so do not specify `ConsistentRead` when
2411
2470
  # querying a global secondary index.
2412
2471
  #
2472
+ #
2473
+ #
2474
+ # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.Pagination
2475
+ #
2413
2476
  # @option params [required, String] :table_name
2414
2477
  # The name of the table containing the requested items.
2415
2478
  #
@@ -2883,21 +2946,29 @@ module Aws::DynamoDB
2883
2946
  # operation. The results also include the number of items exceeding the
2884
2947
  # limit. A scan can result in no table data meeting the filter criteria.
2885
2948
  #
2886
- # By default, `Scan` operations proceed sequentially; however, for
2887
- # faster performance on a large table or secondary index, applications
2888
- # can request a parallel `Scan` operation by providing the `Segment` and
2949
+ # A single `Scan` operation will read up to the maximum number of items
2950
+ # set (if using the `Limit` parameter) or a maximum of 1 MB of data and
2951
+ # then apply any filtering to the results using `FilterExpression`. If
2952
+ # `LastEvaluatedKey` is present in the response, you will need to
2953
+ # paginate the result set. For more information, see [Paginating the
2954
+ # Results][1] in the *Amazon DynamoDB Developer Guide*.
2955
+ #
2956
+ # `Scan` operations proceed sequentially; however, for faster
2957
+ # performance on a large table or secondary index, applications can
2958
+ # request a parallel `Scan` operation by providing the `Segment` and
2889
2959
  # `TotalSegments` parameters. For more information, see [Parallel
2890
- # Scan][1] in the *Amazon DynamoDB Developer Guide*.
2960
+ # Scan][2] in the *Amazon DynamoDB Developer Guide*.
2891
2961
  #
2892
- # By default, `Scan` uses eventually consistent reads when accessing the
2893
- # data in a table; therefore, the result set might not include the
2894
- # changes to data in the table immediately before the operation began.
2895
- # If you need a consistent copy of the data, as of the time that the
2896
- # Scan begins, you can set the `ConsistentRead` parameter to `true`.
2962
+ # `Scan` uses eventually consistent reads when accessing the data in a
2963
+ # table; therefore, the result set might not include the changes to data
2964
+ # in the table immediately before the operation began. If you need a
2965
+ # consistent copy of the data, as of the time that the `Scan` begins,
2966
+ # you can set the `ConsistentRead` parameter to `true`.
2897
2967
  #
2898
2968
  #
2899
2969
  #
2900
- # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#QueryAndScanParallelScan
2970
+ # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Pagination
2971
+ # [2]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.ParallelScan
2901
2972
  #
2902
2973
  # @option params [required, String] :table_name
2903
2974
  # The name of the table containing the requested items; or, if you
@@ -3417,7 +3488,7 @@ module Aws::DynamoDB
3417
3488
  # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributeUpdates.html
3418
3489
  #
3419
3490
  # @option params [Hash<String,Types::ExpectedAttributeValue>] :expected
3420
- # This is a legacy parameter. Use `ConditionExpresssion` instead. For
3491
+ # This is a legacy parameter. Use `ConditionExpression` instead. For
3421
3492
  # more information, see [Expected][1] in the *Amazon DynamoDB Developer
3422
3493
  # Guide*.
3423
3494
  #
@@ -3436,8 +3507,8 @@ module Aws::DynamoDB
3436
3507
  #
3437
3508
  # @option params [String] :return_values
3438
3509
  # Use `ReturnValues` if you want to get the item attributes as they
3439
- # appeared either before or after they were updated. For `UpdateItem`,
3440
- # the valid values are:
3510
+ # appear before or after they are updated. For `UpdateItem`, the valid
3511
+ # values are:
3441
3512
  #
3442
3513
  # * `NONE` - If `ReturnValues` is not specified, or if its value is
3443
3514
  # `NONE`, then nothing is returned. (This setting is the default for
@@ -3457,9 +3528,9 @@ module Aws::DynamoDB
3457
3528
  #
3458
3529
  # There is no additional cost associated with requesting a return value
3459
3530
  # aside from the small network and processing overhead of receiving a
3460
- # larger response. No Read Capacity Units are consumed.
3531
+ # larger response. No read capacity units are consumed.
3461
3532
  #
3462
- # Values returned are strongly consistent
3533
+ # The values returned are strongly consistent.
3463
3534
  #
3464
3535
  # @option params [String] :return_consumed_capacity
3465
3536
  # Determines the level of detail about provisioned throughput
@@ -3712,7 +3783,7 @@ module Aws::DynamoDB
3712
3783
  # {
3713
3784
  # attributes: {
3714
3785
  # "AlbumTitle" => {
3715
- # s: "Songs About Life",
3786
+ # s: "Louder Than Ever",
3716
3787
  # },
3717
3788
  # "Artist" => {
3718
3789
  # s: "Acme Band",
@@ -3720,6 +3791,9 @@ module Aws::DynamoDB
3720
3791
  # "SongTitle" => {
3721
3792
  # s: "Happy Day",
3722
3793
  # },
3794
+ # "Year" => {
3795
+ # n: "2015",
3796
+ # },
3723
3797
  # },
3724
3798
  # }
3725
3799
  #
@@ -4011,12 +4085,12 @@ module Aws::DynamoDB
4011
4085
  req.send_request(options)
4012
4086
  end
4013
4087
 
4014
- # Specify the lifetime of individual table items. The database
4015
- # automatically removes the item at the expiration of the item. The
4016
- # UpdateTimeToLive method will enable or disable TTL for the specified
4017
- # table. A successful `UpdateTimeToLive` call returns the current
4018
- # `TimeToLiveSpecification`; it may take up to one hour for the change
4019
- # to fully process.
4088
+ # The UpdateTimeToLive method will enable or disable TTL for the
4089
+ # specified table. A successful `UpdateTimeToLive` call returns the
4090
+ # current `TimeToLiveSpecification`; it may take up to one hour for the
4091
+ # change to fully process. Any additional `UpdateTimeToLive` calls for
4092
+ # the same table during this one hour duration result in a
4093
+ # `ValidationException`.
4020
4094
  #
4021
4095
  # TTL compares the current time in epoch time format to the time stored
4022
4096
  # in the TTL attribute of an item. If the epoch time value stored in the
@@ -4096,7 +4170,7 @@ module Aws::DynamoDB
4096
4170
  params: params,
4097
4171
  config: config)
4098
4172
  context[:gem_name] = 'aws-sdk-dynamodb'
4099
- context[:gem_version] = '1.0.0.rc10'
4173
+ context[:gem_version] = '1.0.0.rc12'
4100
4174
  Seahorse::Client::Request.new(handlers, context)
4101
4175
  end
4102
4176
 
@@ -181,12 +181,12 @@ module Aws::DynamoDB
181
181
  # item. The item to be deleted is identified by a `Key` subelement:
182
182
  #
183
183
  # * `Key` - A map of primary key attribute values that uniquely
184
- # identify the ! item. Each entry in this map consists of an
185
- # attribute name and an attribute value. For each primary key, you
186
- # must provide *all* of the key attributes. For example, with a
187
- # simple primary key, you only need to provide a value for the
188
- # partition key. For a composite primary key, you must provide
189
- # values for *both* the partition key and the sort key.
184
+ # identify the item. Each entry in this map consists of an attribute
185
+ # name and an attribute value. For each primary key, you must
186
+ # provide *all* of the key attributes. For example, with a simple
187
+ # primary key, you only need to provide a value for the partition
188
+ # key. For a composite primary key, you must provide values for
189
+ # *both* the partition key and the sort key.
190
190
  #
191
191
  # ^
192
192
  #
@@ -369,7 +369,7 @@ module Aws::DynamoDB
369
369
  # for the partition key. For a composite primary key, you must provide
370
370
  # values for both the partition key and the sort key.
371
371
  # @option options [Hash<String,Types::ExpectedAttributeValue>] :expected
372
- # This is a legacy parameter. Use `ConditionExpresssion` instead. For
372
+ # This is a legacy parameter. Use `ConditionExpression` instead. For
373
373
  # more information, see [Expected][1] in the *Amazon DynamoDB Developer
374
374
  # Guide*.
375
375
  #
@@ -698,7 +698,7 @@ module Aws::DynamoDB
698
698
  #
699
699
  # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModelPrimaryKey
700
700
  # @option options [Hash<String,Types::ExpectedAttributeValue>] :expected
701
- # This is a legacy parameter. Use `ConditionExpresssion` instead. For
701
+ # This is a legacy parameter. Use `ConditionExpression` instead. For
702
702
  # more information, see [Expected][1] in the *Amazon DynamoDB Developer
703
703
  # Guide*.
704
704
  #
@@ -1697,7 +1697,7 @@ module Aws::DynamoDB
1697
1697
  #
1698
1698
  # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributeUpdates.html
1699
1699
  # @option options [Hash<String,Types::ExpectedAttributeValue>] :expected
1700
- # This is a legacy parameter. Use `ConditionExpresssion` instead. For
1700
+ # This is a legacy parameter. Use `ConditionExpression` instead. For
1701
1701
  # more information, see [Expected][1] in the *Amazon DynamoDB Developer
1702
1702
  # Guide*.
1703
1703
  #
@@ -1714,8 +1714,8 @@ module Aws::DynamoDB
1714
1714
  # [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
1715
1715
  # @option options [String] :return_values
1716
1716
  # Use `ReturnValues` if you want to get the item attributes as they
1717
- # appeared either before or after they were updated. For `UpdateItem`,
1718
- # the valid values are:
1717
+ # appear before or after they are updated. For `UpdateItem`, the valid
1718
+ # values are:
1719
1719
  #
1720
1720
  # * `NONE` - If `ReturnValues` is not specified, or if its value is
1721
1721
  # `NONE`, then nothing is returned. (This setting is the default for
@@ -1735,9 +1735,9 @@ module Aws::DynamoDB
1735
1735
  #
1736
1736
  # There is no additional cost associated with requesting a return value
1737
1737
  # aside from the small network and processing overhead of receiving a
1738
- # larger response. No Read Capacity Units are consumed.
1738
+ # larger response. No read capacity units are consumed.
1739
1739
  #
1740
- # Values returned are strongly consistent
1740
+ # The values returned are strongly consistent.
1741
1741
  # @option options [String] :return_consumed_capacity
1742
1742
  # Determines the level of detail about provisioned throughput
1743
1743
  # consumption that is returned in the response:
@@ -509,7 +509,7 @@ module Aws::DynamoDB
509
509
  # subelement:
510
510
  #
511
511
  # * `Key` - A map of primary key attribute values that uniquely
512
- # identify the ! item. Each entry in this map consists of an
512
+ # identify the item. Each entry in this map consists of an
513
513
  # attribute name and an attribute value. For each primary key, you
514
514
  # must provide *all* of the key attributes. For example, with a
515
515
  # simple primary key, you only need to provide a value for the
@@ -1332,7 +1332,7 @@ module Aws::DynamoDB
1332
1332
  # @return [Hash<String,Types::AttributeValue>]
1333
1333
  #
1334
1334
  # @!attribute [rw] expected
1335
- # This is a legacy parameter. Use `ConditionExpresssion` instead. For
1335
+ # This is a legacy parameter. Use `ConditionExpression` instead. For
1336
1336
  # more information, see [Expected][1] in the *Amazon DynamoDB
1337
1337
  # Developer Guide*.
1338
1338
  #
@@ -3094,7 +3094,7 @@ module Aws::DynamoDB
3094
3094
  # @return [Hash<String,Types::AttributeValue>]
3095
3095
  #
3096
3096
  # @!attribute [rw] expected
3097
- # This is a legacy parameter. Use `ConditionExpresssion` instead. For
3097
+ # This is a legacy parameter. Use `ConditionExpression` instead. For
3098
3098
  # more information, see [Expected][1] in the *Amazon DynamoDB
3099
3099
  # Developer Guide*.
3100
3100
  #
@@ -4879,7 +4879,7 @@ module Aws::DynamoDB
4879
4879
  # @return [Hash<String,Types::AttributeValueUpdate>]
4880
4880
  #
4881
4881
  # @!attribute [rw] expected
4882
- # This is a legacy parameter. Use `ConditionExpresssion` instead. For
4882
+ # This is a legacy parameter. Use `ConditionExpression` instead. For
4883
4883
  # more information, see [Expected][1] in the *Amazon DynamoDB
4884
4884
  # Developer Guide*.
4885
4885
  #
@@ -4900,8 +4900,8 @@ module Aws::DynamoDB
4900
4900
  #
4901
4901
  # @!attribute [rw] return_values
4902
4902
  # Use `ReturnValues` if you want to get the item attributes as they
4903
- # appeared either before or after they were updated. For `UpdateItem`,
4904
- # the valid values are:
4903
+ # appear before or after they are updated. For `UpdateItem`, the valid
4904
+ # values are:
4905
4905
  #
4906
4906
  # * `NONE` - If `ReturnValues` is not specified, or if its value is
4907
4907
  # `NONE`, then nothing is returned. (This setting is the default for
@@ -4921,9 +4921,9 @@ module Aws::DynamoDB
4921
4921
  #
4922
4922
  # There is no additional cost associated with requesting a return
4923
4923
  # value aside from the small network and processing overhead of
4924
- # receiving a larger response. No Read Capacity Units are consumed.
4924
+ # receiving a larger response. No read capacity units are consumed.
4925
4925
  #
4926
- # Values returned are strongly consistent
4926
+ # The values returned are strongly consistent.
4927
4927
  # @return [String]
4928
4928
  #
4929
4929
  # @!attribute [rw] return_consumed_capacity
@@ -5173,10 +5173,13 @@ module Aws::DynamoDB
5173
5173
  # Represents the output of an `UpdateItem` operation.
5174
5174
  #
5175
5175
  # @!attribute [rw] attributes
5176
- # A map of attribute values as they appeared before the `UpdateItem`
5177
- # operation. This map only appears if `ReturnValues` was specified as
5178
- # something other than `NONE` in the request. Each element represents
5179
- # one attribute.
5176
+ # A map of attribute values as they appear before or after the
5177
+ # `UpdateItem` operation, as determined by the `ReturnValues`
5178
+ # parameter.
5179
+ #
5180
+ # The `Attributes` map is only present if `ReturnValues` was specified
5181
+ # as something other than `NONE` in the request. Each element
5182
+ # represents one attribute.
5180
5183
  # @return [Hash<String,Types::AttributeValue>]
5181
5184
  #
5182
5185
  # @!attribute [rw] consumed_capacity
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.0.0.rc10
4
+ version: 1.0.0.rc12
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: 2017-07-13 00:00:00.000000000 Z
11
+ date: 2017-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc17
19
+ version: 3.0.0.rc18
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc17
26
+ version: 3.0.0.rc18
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement