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 +4 -4
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +125 -51
- data/lib/aws-sdk-dynamodb/resource.rb +6 -6
- data/lib/aws-sdk-dynamodb/table.rb +7 -7
- data/lib/aws-sdk-dynamodb/types.rb +15 -12
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: f3f8958c4b015b88676b1a7ab1fde4493492a227
         | 
| 4 | 
            +
              data.tar.gz: c14ffcb74fe09afcce3cd480677870d5849d8916
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 5d90ed51f5803de8f3a25f800410af1194f3840503064ca029c9ddd14f5ae356179f1334a0462fce19f09e3148e52db3e29e2b682d52ae450f573debf0109ae3
         | 
| 7 | 
            +
              data.tar.gz: 2c99cc0ef38f49666f9dc1fd84626fa71d8605735aead52ab290d5b2b48019539c9254f1740ac5d07e29aa5344bceddde5aa4e09f10286121fe868fcbd710128
         | 
    
        data/lib/aws-sdk-dynamodb.rb
    CHANGED
    
    
| @@ -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  | 
| 567 | 
            -
                #        | 
| 568 | 
            -
                #        | 
| 569 | 
            -
                #        | 
| 570 | 
            -
                #        | 
| 571 | 
            -
                #        | 
| 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 ` | 
| 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 | 
            -
                #  | 
| 2086 | 
            -
                # | 
| 2087 | 
            -
                #  | 
| 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][ | 
| 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/ | 
| 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 ` | 
| 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 | 
            -
                #  | 
| 2384 | 
            -
                #  | 
| 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 | 
            -
                #  | 
| 2392 | 
            -
                #  | 
| 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 | 
            -
                # | 
| 2395 | 
            -
                # capacity units for that type of read operation.
         | 
| 2439 | 
            +
                #  </note>
         | 
| 2396 2440 | 
             
                #
         | 
| 2397 | 
            -
                #  | 
| 2398 | 
            -
                #  | 
| 2399 | 
            -
                #  | 
| 2400 | 
            -
                # the  | 
| 2401 | 
            -
                # ` | 
| 2402 | 
            -
                # | 
| 2403 | 
            -
                #  | 
| 2404 | 
            -
                # ( | 
| 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 | 
            -
                #  | 
| 2887 | 
            -
                #  | 
| 2888 | 
            -
                #  | 
| 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][ | 
| 2960 | 
            +
                # Scan][2] in the *Amazon DynamoDB Developer Guide*.
         | 
| 2891 2961 | 
             
                #
         | 
| 2892 | 
            -
                #  | 
| 2893 | 
            -
                #  | 
| 2894 | 
            -
                #  | 
| 2895 | 
            -
                #  | 
| 2896 | 
            -
                #  | 
| 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/ | 
| 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 ` | 
| 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 | 
            -
                #    | 
| 3440 | 
            -
                #    | 
| 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  | 
| 3531 | 
            +
                #   larger response. No read capacity units are consumed.
         | 
| 3461 3532 | 
             
                #
         | 
| 3462 | 
            -
                #    | 
| 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: " | 
| 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 | 
            -
                #  | 
| 4015 | 
            -
                #  | 
| 4016 | 
            -
                #  | 
| 4017 | 
            -
                #  | 
| 4018 | 
            -
                #  | 
| 4019 | 
            -
                #  | 
| 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. | 
| 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  | 
| 185 | 
            -
                #        | 
| 186 | 
            -
                #        | 
| 187 | 
            -
                #        | 
| 188 | 
            -
                #        | 
| 189 | 
            -
                #        | 
| 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 ` | 
| 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 ` | 
| 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 ` | 
| 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 | 
            -
                #    | 
| 1718 | 
            -
                #    | 
| 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  | 
| 1738 | 
            +
                #   larger response. No read capacity units are consumed.
         | 
| 1739 1739 | 
             
                #
         | 
| 1740 | 
            -
                #    | 
| 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  | 
| 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 ` | 
| 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 ` | 
| 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 ` | 
| 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 | 
            -
                #    | 
| 4904 | 
            -
                #    | 
| 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  | 
| 4924 | 
            +
                #   receiving a larger response. No read capacity units are consumed.
         | 
| 4925 4925 | 
             
                #
         | 
| 4926 | 
            -
                #    | 
| 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  | 
| 5177 | 
            -
                #   operation | 
| 5178 | 
            -
                #    | 
| 5179 | 
            -
                # | 
| 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. | 
| 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- | 
| 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. | 
| 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. | 
| 26 | 
            +
                    version: 3.0.0.rc18
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: aws-sigv4
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         |