From ffcd43a65101643c9270f9e0594975884e3c64a6 Mon Sep 17 00:00:00 2001 From: Postmodern Date: Fri, 8 Feb 2019 13:05:21 -0800 Subject: [PATCH] Updated the update_item documentation based on the AWS DynamoDB API docs. * https://docs.aws.amazon.com/sdk-for-ruby/v3/developer-guide/dynamo-example-update-table-item.html --- lib/fog/aws/requests/dynamodb/update_item.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fog/aws/requests/dynamodb/update_item.rb b/lib/fog/aws/requests/dynamodb/update_item.rb index 1bdb7d03a..01f385b69 100644 --- a/lib/fog/aws/requests/dynamodb/update_item.rb +++ b/lib/fog/aws/requests/dynamodb/update_item.rb @@ -7,15 +7,15 @@ module Fog # # ==== Parameters # * 'table_name'<~String> - name of table for item - # * 'key'<~Hash> - list of elements to be updated and their value + # * 'key'<~Hash> - list of Key attributes # { # "ForumName": {"S": "Amazon DynamoDB"}, # "Subject": {"S": "Maximum number of items?"} # } # # * 'options'<~Hash>: - # * 'KeyConditionExpression'<~String> - the condition elements need to match - # * 'ExpressionAttributeValues'<~Hash> - values to be used in the key condition expression + # * 'UpdateExpression'<~String> - the expression that will update the item + # * 'ExpressionAttributeValues'<~Hash> - values to be used in the update expression # * 'ReturnValues'<~String> - data to return in %w{ALL_NEW ALL_OLD NONE UPDATED_NEW UPDATED_OLD}, defaults to NONE # # ==== Returns