aws-sdk-dynamodb 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +21 -19
- data/lib/aws-sdk-dynamodb/resource.rb +13 -13
- data/lib/aws-sdk-dynamodb/types.rb +20 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45dbbe69fc316ba7a0a79cb8286982ab16656c0b
|
4
|
+
data.tar.gz: 8e272ddadbcbe0c8ffcff673f98541ff557c7baf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a286bd1ef9102efea62c03147a703d41f9863f5fc56a60562ecfa9418dbf5225a9fd7567d5142b5f33093720d227b662fa2205765cabee751cd4819be7cce018
|
7
|
+
data.tar.gz: 9eadab18d1d1d24a3e37b57cce51475cd3d067bcd1c53576ab1cadfaf895eca41a210577a6a3d6ce65777e1c61bc880e1b7b10d55722a9d6e1a5f18cbc64b664
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -867,7 +867,7 @@ module Aws::DynamoDB
|
|
867
867
|
# resp.backup_details.backup_name #=> String
|
868
868
|
# resp.backup_details.backup_size_bytes #=> Integer
|
869
869
|
# resp.backup_details.backup_status #=> String, one of "CREATING", "DELETED", "AVAILABLE"
|
870
|
-
# resp.backup_details.backup_type #=> String, one of "USER", "SYSTEM"
|
870
|
+
# resp.backup_details.backup_type #=> String, one of "USER", "SYSTEM", "AWS_BACKUP"
|
871
871
|
# resp.backup_details.backup_creation_date_time #=> Time
|
872
872
|
# resp.backup_details.backup_expiry_date_time #=> Time
|
873
873
|
#
|
@@ -1025,10 +1025,10 @@ module Aws::DynamoDB
|
|
1025
1025
|
# [2]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#WorkingWithTables.primary.key
|
1026
1026
|
#
|
1027
1027
|
# @option params [Array<Types::LocalSecondaryIndex>] :local_secondary_indexes
|
1028
|
-
# One or more local secondary indexes (the maximum is
|
1029
|
-
#
|
1030
|
-
#
|
1031
|
-
#
|
1028
|
+
# One or more local secondary indexes (the maximum is 5) to be created
|
1029
|
+
# on the table. Each index is scoped to a given partition key value.
|
1030
|
+
# There is a 10 GB size limit per partition key value; otherwise, the
|
1031
|
+
# size of a local secondary index is unconstrained.
|
1032
1032
|
#
|
1033
1033
|
# Each local secondary index in the array includes the following:
|
1034
1034
|
#
|
@@ -1061,14 +1061,14 @@ module Aws::DynamoDB
|
|
1061
1061
|
# * `NonKeyAttributes` - A list of one or more non-key attribute names
|
1062
1062
|
# that are projected into the secondary index. The total count of
|
1063
1063
|
# attributes provided in `NonKeyAttributes`, summed across all of
|
1064
|
-
# the secondary indexes, must not exceed
|
1065
|
-
# attribute into two different indexes, this counts as two
|
1066
|
-
# attributes when determining the total.
|
1064
|
+
# the secondary indexes, must not exceed 100. If you project the
|
1065
|
+
# same attribute into two different indexes, this counts as two
|
1066
|
+
# distinct attributes when determining the total.
|
1067
1067
|
#
|
1068
1068
|
# @option params [Array<Types::GlobalSecondaryIndex>] :global_secondary_indexes
|
1069
|
-
# One or more global secondary indexes (the maximum is
|
1070
|
-
#
|
1071
|
-
#
|
1069
|
+
# One or more global secondary indexes (the maximum is 20) to be created
|
1070
|
+
# on the table. Each global secondary index in the array includes the
|
1071
|
+
# following:
|
1072
1072
|
#
|
1073
1073
|
# * `IndexName` - The name of the global secondary index. Must be unique
|
1074
1074
|
# only for this table.
|
@@ -1098,9 +1098,9 @@ module Aws::DynamoDB
|
|
1098
1098
|
# * `NonKeyAttributes` - A list of one or more non-key attribute names
|
1099
1099
|
# that are projected into the secondary index. The total count of
|
1100
1100
|
# attributes provided in `NonKeyAttributes`, summed across all of
|
1101
|
-
# the secondary indexes, must not exceed
|
1102
|
-
# attribute into two different indexes, this counts as two
|
1103
|
-
# attributes when determining the total.
|
1101
|
+
# the secondary indexes, must not exceed 100. If you project the
|
1102
|
+
# same attribute into two different indexes, this counts as two
|
1103
|
+
# distinct attributes when determining the total.
|
1104
1104
|
#
|
1105
1105
|
# * `ProvisionedThroughput` - The provisioned throughput settings for
|
1106
1106
|
# the global secondary index, consisting of read and write capacity
|
@@ -1391,7 +1391,7 @@ module Aws::DynamoDB
|
|
1391
1391
|
# resp.backup_description.backup_details.backup_name #=> String
|
1392
1392
|
# resp.backup_description.backup_details.backup_size_bytes #=> Integer
|
1393
1393
|
# resp.backup_description.backup_details.backup_status #=> String, one of "CREATING", "DELETED", "AVAILABLE"
|
1394
|
-
# resp.backup_description.backup_details.backup_type #=> String, one of "USER", "SYSTEM"
|
1394
|
+
# resp.backup_description.backup_details.backup_type #=> String, one of "USER", "SYSTEM", "AWS_BACKUP"
|
1395
1395
|
# resp.backup_description.backup_details.backup_creation_date_time #=> Time
|
1396
1396
|
# resp.backup_description.backup_details.backup_expiry_date_time #=> Time
|
1397
1397
|
# resp.backup_description.source_table_details.table_name #=> String
|
@@ -1874,7 +1874,7 @@ module Aws::DynamoDB
|
|
1874
1874
|
# resp.backup_description.backup_details.backup_name #=> String
|
1875
1875
|
# resp.backup_description.backup_details.backup_size_bytes #=> Integer
|
1876
1876
|
# resp.backup_description.backup_details.backup_status #=> String, one of "CREATING", "DELETED", "AVAILABLE"
|
1877
|
-
# resp.backup_description.backup_details.backup_type #=> String, one of "USER", "SYSTEM"
|
1877
|
+
# resp.backup_description.backup_details.backup_type #=> String, one of "USER", "SYSTEM", "AWS_BACKUP"
|
1878
1878
|
# resp.backup_description.backup_details.backup_creation_date_time #=> Time
|
1879
1879
|
# resp.backup_description.backup_details.backup_expiry_date_time #=> Time
|
1880
1880
|
# resp.backup_description.source_table_details.table_name #=> String
|
@@ -1970,6 +1970,8 @@ module Aws::DynamoDB
|
|
1970
1970
|
req.send_request(options)
|
1971
1971
|
end
|
1972
1972
|
|
1973
|
+
# Returns the regional endpoint information.
|
1974
|
+
#
|
1973
1975
|
# @return [Types::DescribeEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1974
1976
|
#
|
1975
1977
|
# * {Types::DescribeEndpointsResponse#endpoints #endpoints} => Array<Types::Endpoint>
|
@@ -2647,7 +2649,7 @@ module Aws::DynamoDB
|
|
2647
2649
|
# time_range_lower_bound: Time.now,
|
2648
2650
|
# time_range_upper_bound: Time.now,
|
2649
2651
|
# exclusive_start_backup_arn: "BackupArn",
|
2650
|
-
# backup_type: "USER", # accepts USER, SYSTEM, ALL
|
2652
|
+
# backup_type: "USER", # accepts USER, SYSTEM, AWS_BACKUP, ALL
|
2651
2653
|
# })
|
2652
2654
|
#
|
2653
2655
|
# @example Response structure
|
@@ -2661,7 +2663,7 @@ module Aws::DynamoDB
|
|
2661
2663
|
# resp.backup_summaries[0].backup_creation_date_time #=> Time
|
2662
2664
|
# resp.backup_summaries[0].backup_expiry_date_time #=> Time
|
2663
2665
|
# resp.backup_summaries[0].backup_status #=> String, one of "CREATING", "DELETED", "AVAILABLE"
|
2664
|
-
# resp.backup_summaries[0].backup_type #=> String, one of "USER", "SYSTEM"
|
2666
|
+
# resp.backup_summaries[0].backup_type #=> String, one of "USER", "SYSTEM", "AWS_BACKUP"
|
2665
2667
|
# resp.backup_summaries[0].backup_size_bytes #=> Integer
|
2666
2668
|
# resp.last_evaluated_backup_arn #=> String
|
2667
2669
|
#
|
@@ -5837,7 +5839,7 @@ module Aws::DynamoDB
|
|
5837
5839
|
params: params,
|
5838
5840
|
config: config)
|
5839
5841
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
5840
|
-
context[:gem_version] = '1.
|
5842
|
+
context[:gem_version] = '1.20.0'
|
5841
5843
|
Seahorse::Client::Request.new(handlers, context)
|
5842
5844
|
end
|
5843
5845
|
|
@@ -345,10 +345,10 @@ module Aws::DynamoDB
|
|
345
345
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html
|
346
346
|
# [2]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#WorkingWithTables.primary.key
|
347
347
|
# @option options [Array<Types::LocalSecondaryIndex>] :local_secondary_indexes
|
348
|
-
# One or more local secondary indexes (the maximum is
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
348
|
+
# One or more local secondary indexes (the maximum is 5) to be created
|
349
|
+
# on the table. Each index is scoped to a given partition key value.
|
350
|
+
# There is a 10 GB size limit per partition key value; otherwise, the
|
351
|
+
# size of a local secondary index is unconstrained.
|
352
352
|
#
|
353
353
|
# Each local secondary index in the array includes the following:
|
354
354
|
#
|
@@ -381,13 +381,13 @@ module Aws::DynamoDB
|
|
381
381
|
# * `NonKeyAttributes` - A list of one or more non-key attribute names
|
382
382
|
# that are projected into the secondary index. The total count of
|
383
383
|
# attributes provided in `NonKeyAttributes`, summed across all of
|
384
|
-
# the secondary indexes, must not exceed
|
385
|
-
# attribute into two different indexes, this counts as two
|
386
|
-
# attributes when determining the total.
|
384
|
+
# the secondary indexes, must not exceed 100. If you project the
|
385
|
+
# same attribute into two different indexes, this counts as two
|
386
|
+
# distinct attributes when determining the total.
|
387
387
|
# @option options [Array<Types::GlobalSecondaryIndex>] :global_secondary_indexes
|
388
|
-
# One or more global secondary indexes (the maximum is
|
389
|
-
#
|
390
|
-
#
|
388
|
+
# One or more global secondary indexes (the maximum is 20) to be created
|
389
|
+
# on the table. Each global secondary index in the array includes the
|
390
|
+
# following:
|
391
391
|
#
|
392
392
|
# * `IndexName` - The name of the global secondary index. Must be unique
|
393
393
|
# only for this table.
|
@@ -417,9 +417,9 @@ module Aws::DynamoDB
|
|
417
417
|
# * `NonKeyAttributes` - A list of one or more non-key attribute names
|
418
418
|
# that are projected into the secondary index. The total count of
|
419
419
|
# attributes provided in `NonKeyAttributes`, summed across all of
|
420
|
-
# the secondary indexes, must not exceed
|
421
|
-
# attribute into two different indexes, this counts as two
|
422
|
-
# attributes when determining the total.
|
420
|
+
# the secondary indexes, must not exceed 100. If you project the
|
421
|
+
# same attribute into two different indexes, this counts as two
|
422
|
+
# distinct attributes when determining the total.
|
423
423
|
#
|
424
424
|
# * `ProvisionedThroughput` - The provisioned throughput settings for
|
425
425
|
# the global secondary index, consisting of read and write capacity
|
@@ -126,7 +126,7 @@ module Aws::DynamoDB
|
|
126
126
|
# @!attribute [rw] l
|
127
127
|
# An attribute of type List. For example:
|
128
128
|
#
|
129
|
-
# `"L": ["Cookies", "Coffee", 3.14159]`
|
129
|
+
# `"L": [ \{"S": "Cookies"\} , \{"S": "Coffee"\}, \{"N", "3.14159"\}]`
|
130
130
|
# @return [Array<Types::AttributeValue>]
|
131
131
|
#
|
132
132
|
# @!attribute [rw] null
|
@@ -577,6 +577,9 @@ module Aws::DynamoDB
|
|
577
577
|
# retained for 35 days (at no additional cost). System backups allow
|
578
578
|
# you to restore the deleted table to the state it was in just
|
579
579
|
# before the point of deletion.
|
580
|
+
#
|
581
|
+
# * `AWS_BACKUP` - On-demand backup created by you from AWS Backup
|
582
|
+
# service.
|
580
583
|
# @return [String]
|
581
584
|
#
|
582
585
|
# @!attribute [rw] backup_creation_date_time
|
@@ -651,6 +654,9 @@ module Aws::DynamoDB
|
|
651
654
|
# retained for 35 days (at no additional cost). System backups allow
|
652
655
|
# you to restore the deleted table to the state it was in just
|
653
656
|
# before the point of deletion.
|
657
|
+
#
|
658
|
+
# * `AWS_BACKUP` - On-demand backup created by you from AWS Backup
|
659
|
+
# service.
|
654
660
|
# @return [String]
|
655
661
|
#
|
656
662
|
# @!attribute [rw] backup_size_bytes
|
@@ -1772,10 +1778,10 @@ module Aws::DynamoDB
|
|
1772
1778
|
# @return [Array<Types::KeySchemaElement>]
|
1773
1779
|
#
|
1774
1780
|
# @!attribute [rw] local_secondary_indexes
|
1775
|
-
# One or more local secondary indexes (the maximum is
|
1776
|
-
#
|
1777
|
-
#
|
1778
|
-
#
|
1781
|
+
# One or more local secondary indexes (the maximum is 5) to be created
|
1782
|
+
# on the table. Each index is scoped to a given partition key value.
|
1783
|
+
# There is a 10 GB size limit per partition key value; otherwise, the
|
1784
|
+
# size of a local secondary index is unconstrained.
|
1779
1785
|
#
|
1780
1786
|
# Each local secondary index in the array includes the following:
|
1781
1787
|
#
|
@@ -1809,13 +1815,13 @@ module Aws::DynamoDB
|
|
1809
1815
|
# * `NonKeyAttributes` - A list of one or more non-key attribute
|
1810
1816
|
# names that are projected into the secondary index. The total
|
1811
1817
|
# count of attributes provided in `NonKeyAttributes`, summed
|
1812
|
-
# across all of the secondary indexes, must not exceed
|
1818
|
+
# across all of the secondary indexes, must not exceed 100. If you
|
1813
1819
|
# project the same attribute into two different indexes, this
|
1814
1820
|
# counts as two distinct attributes when determining the total.
|
1815
1821
|
# @return [Array<Types::LocalSecondaryIndex>]
|
1816
1822
|
#
|
1817
1823
|
# @!attribute [rw] global_secondary_indexes
|
1818
|
-
# One or more global secondary indexes (the maximum is
|
1824
|
+
# One or more global secondary indexes (the maximum is 20) to be
|
1819
1825
|
# created on the table. Each global secondary index in the array
|
1820
1826
|
# includes the following:
|
1821
1827
|
#
|
@@ -1848,7 +1854,7 @@ module Aws::DynamoDB
|
|
1848
1854
|
# * `NonKeyAttributes` - A list of one or more non-key attribute
|
1849
1855
|
# names that are projected into the secondary index. The total
|
1850
1856
|
# count of attributes provided in `NonKeyAttributes`, summed
|
1851
|
-
# across all of the secondary indexes, must not exceed
|
1857
|
+
# across all of the secondary indexes, must not exceed 100. If you
|
1852
1858
|
# project the same attribute into two different indexes, this
|
1853
1859
|
# counts as two distinct attributes when determining the total.
|
1854
1860
|
#
|
@@ -2486,6 +2492,7 @@ module Aws::DynamoDB
|
|
2486
2492
|
class DescribeEndpointsRequest < Aws::EmptyStructure; end
|
2487
2493
|
|
2488
2494
|
# @!attribute [rw] endpoints
|
2495
|
+
# List of endpoints.
|
2489
2496
|
# @return [Array<Types::Endpoint>]
|
2490
2497
|
#
|
2491
2498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeEndpointsResponse AWS API Documentation
|
@@ -2663,10 +2670,14 @@ module Aws::DynamoDB
|
|
2663
2670
|
include Aws::Structure
|
2664
2671
|
end
|
2665
2672
|
|
2673
|
+
# An endpoint information details.
|
2674
|
+
#
|
2666
2675
|
# @!attribute [rw] address
|
2676
|
+
# IP address of the endpoint.
|
2667
2677
|
# @return [String]
|
2668
2678
|
#
|
2669
2679
|
# @!attribute [rw] cache_period_in_minutes
|
2680
|
+
# Endpoint cache time to live (TTL) value.
|
2670
2681
|
# @return [Integer]
|
2671
2682
|
#
|
2672
2683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Endpoint AWS API Documentation
|
@@ -3839,7 +3850,7 @@ module Aws::DynamoDB
|
|
3839
3850
|
# time_range_lower_bound: Time.now,
|
3840
3851
|
# time_range_upper_bound: Time.now,
|
3841
3852
|
# exclusive_start_backup_arn: "BackupArn",
|
3842
|
-
# backup_type: "USER", # accepts USER, SYSTEM, ALL
|
3853
|
+
# backup_type: "USER", # accepts USER, SYSTEM, AWS_BACKUP, ALL
|
3843
3854
|
# }
|
3844
3855
|
#
|
3845
3856
|
# @!attribute [rw] table_name
|
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.20.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:
|
11
|
+
date: 2019-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|