aws-sdk-dynamodb 1.0.0 → 1.1.0
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 +13 -7
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3317f6d8094f3f00058bddbd38a47ff9e7211679
|
4
|
+
data.tar.gz: 154a0379a46df23f4a39784637572eccd3d50225
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf52cbdac66ed2465921dcc3212c3deb07b4e76c22c2a6a34bc7fddc7afd03e2f9966d15ef8fa27cd93febb014d4213c0500e667c51c6f40bbf515d1db0170d0
|
7
|
+
data.tar.gz: 5b9fa55a65b64c559d67c3bd4a7d03454e68410d02e7ecd1845d38ddb5caabba37f20ba031838d045fe2fd8dbe9868a6d2d95172522b214c3605092a00dccd76
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -357,7 +357,8 @@ module Aws::DynamoDB
|
|
357
357
|
#
|
358
358
|
# @example Example: To retrieve multiple items from a table
|
359
359
|
#
|
360
|
-
# # This example reads multiple items from the Music table using a batch of three GetItem requests. Only the AlbumTitle
|
360
|
+
# # This example reads multiple items from the Music table using a batch of three GetItem requests. Only the AlbumTitle
|
361
|
+
# # attribute is returned.
|
361
362
|
#
|
362
363
|
# resp = client.batch_get_item({
|
363
364
|
# request_items: {
|
@@ -1582,7 +1583,8 @@ module Aws::DynamoDB
|
|
1582
1583
|
#
|
1583
1584
|
# @example Example: To determine capacity limits per table and account, in the current AWS region
|
1584
1585
|
#
|
1585
|
-
# # The following example returns the maximum read and write capacity units per table, and for the AWS account, in the
|
1586
|
+
# # The following example returns the maximum read and write capacity units per table, and for the AWS account, in the
|
1587
|
+
# # current AWS region.
|
1586
1588
|
#
|
1587
1589
|
# resp = client.describe_limits({
|
1588
1590
|
# })
|
@@ -1904,7 +1906,8 @@ module Aws::DynamoDB
|
|
1904
1906
|
#
|
1905
1907
|
# @example Example: To read an item from a table
|
1906
1908
|
#
|
1907
|
-
# # This example retrieves an item from the Music table. The table has a partition key and a sort key (Artist and
|
1909
|
+
# # This example retrieves an item from the Music table. The table has a partition key and a sort key (Artist and
|
1910
|
+
# # SongTitle), so you must specify both of these attributes.
|
1908
1911
|
#
|
1909
1912
|
# resp = client.get_item({
|
1910
1913
|
# key: {
|
@@ -2844,7 +2847,8 @@ module Aws::DynamoDB
|
|
2844
2847
|
#
|
2845
2848
|
# @example Example: To query an item
|
2846
2849
|
#
|
2847
|
-
# # This example queries items in the Music table. The table has a partition key and sort key (Artist and SongTitle), but
|
2850
|
+
# # This example queries items in the Music table. The table has a partition key and sort key (Artist and SongTitle), but
|
2851
|
+
# # this query only specifies the partition key value. It returns song titles by the artist named "No One You Know".
|
2848
2852
|
#
|
2849
2853
|
# resp = client.query({
|
2850
2854
|
# expression_attribute_values: {
|
@@ -3276,7 +3280,8 @@ module Aws::DynamoDB
|
|
3276
3280
|
#
|
3277
3281
|
# @example Example: To scan a table
|
3278
3282
|
#
|
3279
|
-
# # This example scans the entire Music table, and then narrows the results to songs by the artist "No One You Know". For
|
3283
|
+
# # This example scans the entire Music table, and then narrows the results to songs by the artist "No One You Know". For
|
3284
|
+
# # each item, only the album title and song title are returned.
|
3280
3285
|
#
|
3281
3286
|
# resp = client.scan({
|
3282
3287
|
# expression_attribute_names: {
|
@@ -3751,7 +3756,8 @@ module Aws::DynamoDB
|
|
3751
3756
|
#
|
3752
3757
|
# @example Example: To update an item in a table
|
3753
3758
|
#
|
3754
|
-
# # This example updates an item in the Music table. It adds a new attribute (Year) and modifies the AlbumTitle attribute.
|
3759
|
+
# # This example updates an item in the Music table. It adds a new attribute (Year) and modifies the AlbumTitle attribute.
|
3760
|
+
# # All of the attributes in the item, as they appear after the update, are returned in the response.
|
3755
3761
|
#
|
3756
3762
|
# resp = client.update_item({
|
3757
3763
|
# expression_attribute_names: {
|
@@ -4170,7 +4176,7 @@ module Aws::DynamoDB
|
|
4170
4176
|
params: params,
|
4171
4177
|
config: config)
|
4172
4178
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
4173
|
-
context[:gem_version] = '1.
|
4179
|
+
context[:gem_version] = '1.1.0'
|
4174
4180
|
Seahorse::Client::Request.new(handlers, context)
|
4175
4181
|
end
|
4176
4182
|
|
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.
|
4
|
+
version: 1.1.0
|
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-
|
11
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -63,7 +63,9 @@ files:
|
|
63
63
|
homepage: http://github.com/aws/aws-sdk-ruby
|
64
64
|
licenses:
|
65
65
|
- Apache-2.0
|
66
|
-
metadata:
|
66
|
+
metadata:
|
67
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-dynamodb
|
68
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-dynamodb/CHANGELOG.md
|
67
69
|
post_install_message:
|
68
70
|
rdoc_options: []
|
69
71
|
require_paths:
|