1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

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
This commit is contained in:
Postmodern 2019-02-08 13:05:21 -08:00
parent 1fbef63fa5
commit ffcd43a651

View file

@ -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