aws-sdk-dynamodb 1.0.0.rc2 → 1.0.0.rc3
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 +148 -12
- data/lib/aws-sdk-dynamodb/client_api.rb +52 -0
- data/lib/aws-sdk-dynamodb/table.rb +11 -11
- data/lib/aws-sdk-dynamodb/types.rb +246 -11
- 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: 872e0e7ba3ca5d5a1f5c0d5be70ad3eb9d07688d
|
4
|
+
data.tar.gz: 75b9186994e404074daa04fe757d1687e0b349ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67bc6fc367eca1fde07c0a4b98278ba9894993953db787f95daf6a855a2792eb4d7f57df8b550294d64f658a13abccff07636cbca141501cc825b0dba2693071
|
7
|
+
data.tar.gz: c666732d9fa3cac2b1dcacd7d2442c316286317a8ffdb4c58b5077a4e92d7189bf0a8783fc4e73a4350b38b1fdc5146650f9ab16801915dc1b334aeea49639a5
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -398,6 +398,8 @@ module Aws::DynamoDB
|
|
398
398
|
# resp.consumed_capacity[0].global_secondary_indexes #=> Hash
|
399
399
|
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].capacity_units #=> Float
|
400
400
|
#
|
401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem AWS API Documentation
|
402
|
+
#
|
401
403
|
# @overload batch_get_item(params = {})
|
402
404
|
# @param [Hash] params ({})
|
403
405
|
def batch_get_item(params = {}, options = {})
|
@@ -595,6 +597,8 @@ module Aws::DynamoDB
|
|
595
597
|
# resp.consumed_capacity[0].global_secondary_indexes #=> Hash
|
596
598
|
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].capacity_units #=> Float
|
597
599
|
#
|
600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem AWS API Documentation
|
601
|
+
#
|
598
602
|
# @overload batch_write_item(params = {})
|
599
603
|
# @param [Hash] params ({})
|
600
604
|
def batch_write_item(params = {}, options = {})
|
@@ -906,6 +910,8 @@ module Aws::DynamoDB
|
|
906
910
|
# resp.table_description.latest_stream_label #=> String
|
907
911
|
# resp.table_description.latest_stream_arn #=> String
|
908
912
|
#
|
913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
|
914
|
+
#
|
909
915
|
# @overload create_table(params = {})
|
910
916
|
# @param [Hash] params ({})
|
911
917
|
def create_table(params = {}, options = {})
|
@@ -1010,7 +1016,7 @@ module Aws::DynamoDB
|
|
1010
1016
|
#
|
1011
1017
|
# These function names are case-sensitive.
|
1012
1018
|
#
|
1013
|
-
# * Comparison operators:
|
1019
|
+
# * Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN `
|
1014
1020
|
#
|
1015
1021
|
# * Logical operators: `AND | OR | NOT`
|
1016
1022
|
#
|
@@ -1148,6 +1154,8 @@ module Aws::DynamoDB
|
|
1148
1154
|
# resp.item_collection_metrics.size_estimate_range_gb #=> Array
|
1149
1155
|
# resp.item_collection_metrics.size_estimate_range_gb[0] #=> Float
|
1150
1156
|
#
|
1157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem AWS API Documentation
|
1158
|
+
#
|
1151
1159
|
# @overload delete_item(params = {})
|
1152
1160
|
# @param [Hash] params ({})
|
1153
1161
|
def delete_item(params = {}, options = {})
|
@@ -1244,6 +1252,8 @@ module Aws::DynamoDB
|
|
1244
1252
|
# resp.table_description.latest_stream_label #=> String
|
1245
1253
|
# resp.table_description.latest_stream_arn #=> String
|
1246
1254
|
#
|
1255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
|
1256
|
+
#
|
1247
1257
|
# @overload delete_table(params = {})
|
1248
1258
|
# @param [Hash] params ({})
|
1249
1259
|
def delete_table(params = {}, options = {})
|
@@ -1334,6 +1344,8 @@ module Aws::DynamoDB
|
|
1334
1344
|
# resp.table_max_read_capacity_units #=> Integer
|
1335
1345
|
# resp.table_max_write_capacity_units #=> Integer
|
1336
1346
|
#
|
1347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits AWS API Documentation
|
1348
|
+
#
|
1337
1349
|
# @overload describe_limits(params = {})
|
1338
1350
|
# @param [Hash] params ({})
|
1339
1351
|
def describe_limits(params = {}, options = {})
|
@@ -1420,6 +1432,8 @@ module Aws::DynamoDB
|
|
1420
1432
|
# resp.table.latest_stream_label #=> String
|
1421
1433
|
# resp.table.latest_stream_arn #=> String
|
1422
1434
|
#
|
1435
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable AWS API Documentation
|
1436
|
+
#
|
1423
1437
|
# @overload describe_table(params = {})
|
1424
1438
|
# @param [Hash] params ({})
|
1425
1439
|
def describe_table(params = {}, options = {})
|
@@ -1427,6 +1441,36 @@ module Aws::DynamoDB
|
|
1427
1441
|
req.send_request(options)
|
1428
1442
|
end
|
1429
1443
|
|
1444
|
+
# Gives a description of the Time to Live (TTL) status on the specified
|
1445
|
+
# table.
|
1446
|
+
#
|
1447
|
+
# @option params [required, String] :table_name
|
1448
|
+
# The name of the table to be described.
|
1449
|
+
#
|
1450
|
+
# @return [Types::DescribeTimeToLiveOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1451
|
+
#
|
1452
|
+
# * {Types::DescribeTimeToLiveOutput#time_to_live_description #time_to_live_description} => Types::TimeToLiveDescription
|
1453
|
+
#
|
1454
|
+
# @example Request syntax with placeholder values
|
1455
|
+
#
|
1456
|
+
# resp = client.describe_time_to_live({
|
1457
|
+
# table_name: "TableName", # required
|
1458
|
+
# })
|
1459
|
+
#
|
1460
|
+
# @example Response structure
|
1461
|
+
#
|
1462
|
+
# resp.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
|
1463
|
+
# resp.time_to_live_description.attribute_name #=> String
|
1464
|
+
#
|
1465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLive AWS API Documentation
|
1466
|
+
#
|
1467
|
+
# @overload describe_time_to_live(params = {})
|
1468
|
+
# @param [Hash] params ({})
|
1469
|
+
def describe_time_to_live(params = {}, options = {})
|
1470
|
+
req = build_request(:describe_time_to_live, params)
|
1471
|
+
req.send_request(options)
|
1472
|
+
end
|
1473
|
+
|
1430
1474
|
# The `GetItem` operation returns a set of attributes for the item with
|
1431
1475
|
# the given primary key. If there is no matching item, `GetItem` does
|
1432
1476
|
# not return any data and there will be no `Item` element in the
|
@@ -1582,6 +1626,8 @@ module Aws::DynamoDB
|
|
1582
1626
|
# resp.consumed_capacity.global_secondary_indexes #=> Hash
|
1583
1627
|
# resp.consumed_capacity.global_secondary_indexes["IndexName"].capacity_units #=> Float
|
1584
1628
|
#
|
1629
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem AWS API Documentation
|
1630
|
+
#
|
1585
1631
|
# @overload get_item(params = {})
|
1586
1632
|
# @param [Hash] params ({})
|
1587
1633
|
def get_item(params = {}, options = {})
|
@@ -1620,6 +1666,8 @@ module Aws::DynamoDB
|
|
1620
1666
|
# resp.table_names[0] #=> String
|
1621
1667
|
# resp.last_evaluated_table_name #=> String
|
1622
1668
|
#
|
1669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables AWS API Documentation
|
1670
|
+
#
|
1623
1671
|
# @overload list_tables(params = {})
|
1624
1672
|
# @param [Hash] params ({})
|
1625
1673
|
def list_tables(params = {}, options = {})
|
@@ -1665,6 +1713,8 @@ module Aws::DynamoDB
|
|
1665
1713
|
# resp.tags[0].value #=> String
|
1666
1714
|
# resp.next_token #=> String
|
1667
1715
|
#
|
1716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResource AWS API Documentation
|
1717
|
+
#
|
1668
1718
|
# @overload list_tags_of_resource(params = {})
|
1669
1719
|
# @param [Hash] params ({})
|
1670
1720
|
def list_tags_of_resource(params = {}, options = {})
|
@@ -1801,7 +1851,7 @@ module Aws::DynamoDB
|
|
1801
1851
|
#
|
1802
1852
|
# These function names are case-sensitive.
|
1803
1853
|
#
|
1804
|
-
# * Comparison operators:
|
1854
|
+
# * Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN `
|
1805
1855
|
#
|
1806
1856
|
# * Logical operators: `AND | OR | NOT`
|
1807
1857
|
#
|
@@ -1939,6 +1989,8 @@ module Aws::DynamoDB
|
|
1939
1989
|
# resp.item_collection_metrics.size_estimate_range_gb #=> Array
|
1940
1990
|
# resp.item_collection_metrics.size_estimate_range_gb[0] #=> Float
|
1941
1991
|
#
|
1992
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem AWS API Documentation
|
1993
|
+
#
|
1942
1994
|
# @overload put_item(params = {})
|
1943
1995
|
# @param [Hash] params ({})
|
1944
1996
|
def put_item(params = {}, options = {})
|
@@ -2399,6 +2451,8 @@ module Aws::DynamoDB
|
|
2399
2451
|
# resp.consumed_capacity.global_secondary_indexes #=> Hash
|
2400
2452
|
# resp.consumed_capacity.global_secondary_indexes["IndexName"].capacity_units #=> Float
|
2401
2453
|
#
|
2454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query AWS API Documentation
|
2455
|
+
#
|
2402
2456
|
# @overload query(params = {})
|
2403
2457
|
# @param [Hash] params ({})
|
2404
2458
|
def query(params = {}, options = {})
|
@@ -2784,6 +2838,8 @@ module Aws::DynamoDB
|
|
2784
2838
|
# resp.consumed_capacity.global_secondary_indexes #=> Hash
|
2785
2839
|
# resp.consumed_capacity.global_secondary_indexes["IndexName"].capacity_units #=> Float
|
2786
2840
|
#
|
2841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan AWS API Documentation
|
2842
|
+
#
|
2787
2843
|
# @overload scan(params = {})
|
2788
2844
|
# @param [Hash] params ({})
|
2789
2845
|
def scan(params = {}, options = {})
|
@@ -2824,6 +2880,8 @@ module Aws::DynamoDB
|
|
2824
2880
|
# ],
|
2825
2881
|
# })
|
2826
2882
|
#
|
2883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResource AWS API Documentation
|
2884
|
+
#
|
2827
2885
|
# @overload tag_resource(params = {})
|
2828
2886
|
# @param [Hash] params ({})
|
2829
2887
|
def tag_resource(params = {}, options = {})
|
@@ -2859,6 +2917,8 @@ module Aws::DynamoDB
|
|
2859
2917
|
# tag_keys: ["TagKeyString"], # required
|
2860
2918
|
# })
|
2861
2919
|
#
|
2920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResource AWS API Documentation
|
2921
|
+
#
|
2862
2922
|
# @overload untag_resource(params = {})
|
2863
2923
|
# @param [Hash] params ({})
|
2864
2924
|
def untag_resource(params = {}, options = {})
|
@@ -2924,17 +2984,17 @@ module Aws::DynamoDB
|
|
2924
2984
|
# `NONE`, then nothing is returned. (This setting is the default for
|
2925
2985
|
# `ReturnValues`.)
|
2926
2986
|
#
|
2927
|
-
# * `ALL_OLD` -
|
2928
|
-
#
|
2987
|
+
# * `ALL_OLD` - Returns all of the attributes of the item, as they
|
2988
|
+
# appeared before the UpdateItem operation.
|
2929
2989
|
#
|
2930
|
-
# * `UPDATED_OLD` -
|
2931
|
-
#
|
2990
|
+
# * `UPDATED_OLD` - Returns only the updated attributes, as they
|
2991
|
+
# appeared before the UpdateItem operation.
|
2932
2992
|
#
|
2933
|
-
# * `ALL_NEW` -
|
2934
|
-
#
|
2993
|
+
# * `ALL_NEW` - Returns all of the attributes of the item, as they
|
2994
|
+
# appear after the UpdateItem operation.
|
2935
2995
|
#
|
2936
|
-
# * `UPDATED_NEW` -
|
2937
|
-
#
|
2996
|
+
# * `UPDATED_NEW` - Returns only the updated attributes, as they appear
|
2997
|
+
# after the UpdateItem operation.
|
2938
2998
|
#
|
2939
2999
|
# There is no additional cost associated with requesting a return value
|
2940
3000
|
# aside from the small network and processing overhead of receiving a
|
@@ -3064,7 +3124,7 @@ module Aws::DynamoDB
|
|
3064
3124
|
#
|
3065
3125
|
# These function names are case-sensitive.
|
3066
3126
|
#
|
3067
|
-
# * Comparison operators:
|
3127
|
+
# * Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN `
|
3068
3128
|
#
|
3069
3129
|
# * Logical operators: `AND | OR | NOT`
|
3070
3130
|
#
|
@@ -3209,6 +3269,8 @@ module Aws::DynamoDB
|
|
3209
3269
|
# resp.item_collection_metrics.size_estimate_range_gb #=> Array
|
3210
3270
|
# resp.item_collection_metrics.size_estimate_range_gb[0] #=> Float
|
3211
3271
|
#
|
3272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem AWS API Documentation
|
3273
|
+
#
|
3212
3274
|
# @overload update_item(params = {})
|
3213
3275
|
# @param [Hash] params ({})
|
3214
3276
|
def update_item(params = {}, options = {})
|
@@ -3385,6 +3447,8 @@ module Aws::DynamoDB
|
|
3385
3447
|
# resp.table_description.latest_stream_label #=> String
|
3386
3448
|
# resp.table_description.latest_stream_arn #=> String
|
3387
3449
|
#
|
3450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
|
3451
|
+
#
|
3388
3452
|
# @overload update_table(params = {})
|
3389
3453
|
# @param [Hash] params ({})
|
3390
3454
|
def update_table(params = {}, options = {})
|
@@ -3392,6 +3456,78 @@ module Aws::DynamoDB
|
|
3392
3456
|
req.send_request(options)
|
3393
3457
|
end
|
3394
3458
|
|
3459
|
+
# Specify the lifetime of individual table items. The database
|
3460
|
+
# automatically removes the item at the expiration of the item. The
|
3461
|
+
# UpdateTimeToLive method will enable or disable TTL for the specified
|
3462
|
+
# table. A successful `UpdateTimeToLive` call returns the current
|
3463
|
+
# `TimeToLiveSpecification`; it may take up to one hour for the change
|
3464
|
+
# to fully process.
|
3465
|
+
#
|
3466
|
+
# TTL compares the current time in epoch time format to the time stored
|
3467
|
+
# in the TTL attribute of an item. If the epoch time value stored in the
|
3468
|
+
# attribute is less than the current time, the item is marked as expired
|
3469
|
+
# and subsequently deleted.
|
3470
|
+
#
|
3471
|
+
# <note markdown="1"> The epoch time format is the number of seconds elapsed since 12:00:00
|
3472
|
+
# AM January 1st, 1970 UTC.
|
3473
|
+
#
|
3474
|
+
# </note>
|
3475
|
+
#
|
3476
|
+
# DynamoDB deletes expired items on a best-effort basis to ensure
|
3477
|
+
# availability of throughput for other data operations.
|
3478
|
+
#
|
3479
|
+
# DynamoDB typically deletes expired items within two days of
|
3480
|
+
# expiration. The exact duration within which an item gets deleted after
|
3481
|
+
# expiration is specific to the nature of the workload. Items that have
|
3482
|
+
# expired and not been deleted will still show up in reads, queries, and
|
3483
|
+
# scans.
|
3484
|
+
#
|
3485
|
+
# As items are deleted, they are removed from any Local Secondary Index
|
3486
|
+
# and Global Secondary Index immediately in the same eventually
|
3487
|
+
# consistent way as a standard delete operation.
|
3488
|
+
#
|
3489
|
+
# For more information, see [Time To Live][1] in the Amazon DynamoDB
|
3490
|
+
# Developer Guide.
|
3491
|
+
#
|
3492
|
+
#
|
3493
|
+
#
|
3494
|
+
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html
|
3495
|
+
#
|
3496
|
+
# @option params [required, String] :table_name
|
3497
|
+
# The name of the table to be configured.
|
3498
|
+
#
|
3499
|
+
# @option params [required, Types::TimeToLiveSpecification] :time_to_live_specification
|
3500
|
+
# Represents the settings used to enable or disable Time to Live for the
|
3501
|
+
# specified table.
|
3502
|
+
#
|
3503
|
+
# @return [Types::UpdateTimeToLiveOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3504
|
+
#
|
3505
|
+
# * {Types::UpdateTimeToLiveOutput#time_to_live_specification #time_to_live_specification} => Types::TimeToLiveSpecification
|
3506
|
+
#
|
3507
|
+
# @example Request syntax with placeholder values
|
3508
|
+
#
|
3509
|
+
# resp = client.update_time_to_live({
|
3510
|
+
# table_name: "TableName", # required
|
3511
|
+
# time_to_live_specification: { # required
|
3512
|
+
# enabled: false, # required
|
3513
|
+
# attribute_name: "TimeToLiveAttributeName", # required
|
3514
|
+
# },
|
3515
|
+
# })
|
3516
|
+
#
|
3517
|
+
# @example Response structure
|
3518
|
+
#
|
3519
|
+
# resp.time_to_live_specification.enabled #=> Boolean
|
3520
|
+
# resp.time_to_live_specification.attribute_name #=> String
|
3521
|
+
#
|
3522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLive AWS API Documentation
|
3523
|
+
#
|
3524
|
+
# @overload update_time_to_live(params = {})
|
3525
|
+
# @param [Hash] params ({})
|
3526
|
+
def update_time_to_live(params = {}, options = {})
|
3527
|
+
req = build_request(:update_time_to_live, params)
|
3528
|
+
req.send_request(options)
|
3529
|
+
end
|
3530
|
+
|
3395
3531
|
# @!endgroup
|
3396
3532
|
|
3397
3533
|
# @param params ({})
|
@@ -3405,7 +3541,7 @@ module Aws::DynamoDB
|
|
3405
3541
|
params: params,
|
3406
3542
|
config: config)
|
3407
3543
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
3408
|
-
context[:gem_version] = '1.0.0.
|
3544
|
+
context[:gem_version] = '1.0.0.rc3'
|
3409
3545
|
Seahorse::Client::Request.new(handlers, context)
|
3410
3546
|
end
|
3411
3547
|
|
@@ -57,6 +57,8 @@ module Aws::DynamoDB
|
|
57
57
|
DescribeLimitsOutput = Shapes::StructureShape.new(name: 'DescribeLimitsOutput')
|
58
58
|
DescribeTableInput = Shapes::StructureShape.new(name: 'DescribeTableInput')
|
59
59
|
DescribeTableOutput = Shapes::StructureShape.new(name: 'DescribeTableOutput')
|
60
|
+
DescribeTimeToLiveInput = Shapes::StructureShape.new(name: 'DescribeTimeToLiveInput')
|
61
|
+
DescribeTimeToLiveOutput = Shapes::StructureShape.new(name: 'DescribeTimeToLiveOutput')
|
60
62
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
61
63
|
ExpectedAttributeMap = Shapes::MapShape.new(name: 'ExpectedAttributeMap')
|
62
64
|
ExpectedAttributeValue = Shapes::StructureShape.new(name: 'ExpectedAttributeValue')
|
@@ -157,6 +159,11 @@ module Aws::DynamoDB
|
|
157
159
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
158
160
|
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
159
161
|
TagValueString = Shapes::StringShape.new(name: 'TagValueString')
|
162
|
+
TimeToLiveAttributeName = Shapes::StringShape.new(name: 'TimeToLiveAttributeName')
|
163
|
+
TimeToLiveDescription = Shapes::StructureShape.new(name: 'TimeToLiveDescription')
|
164
|
+
TimeToLiveEnabled = Shapes::BooleanShape.new(name: 'TimeToLiveEnabled')
|
165
|
+
TimeToLiveSpecification = Shapes::StructureShape.new(name: 'TimeToLiveSpecification')
|
166
|
+
TimeToLiveStatus = Shapes::StringShape.new(name: 'TimeToLiveStatus')
|
160
167
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
161
168
|
UpdateExpression = Shapes::StringShape.new(name: 'UpdateExpression')
|
162
169
|
UpdateGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'UpdateGlobalSecondaryIndexAction')
|
@@ -164,6 +171,8 @@ module Aws::DynamoDB
|
|
164
171
|
UpdateItemOutput = Shapes::StructureShape.new(name: 'UpdateItemOutput')
|
165
172
|
UpdateTableInput = Shapes::StructureShape.new(name: 'UpdateTableInput')
|
166
173
|
UpdateTableOutput = Shapes::StructureShape.new(name: 'UpdateTableOutput')
|
174
|
+
UpdateTimeToLiveInput = Shapes::StructureShape.new(name: 'UpdateTimeToLiveInput')
|
175
|
+
UpdateTimeToLiveOutput = Shapes::StructureShape.new(name: 'UpdateTimeToLiveOutput')
|
167
176
|
WriteRequest = Shapes::StructureShape.new(name: 'WriteRequest')
|
168
177
|
WriteRequests = Shapes::ListShape.new(name: 'WriteRequests')
|
169
178
|
|
@@ -306,6 +315,12 @@ module Aws::DynamoDB
|
|
306
315
|
DescribeTableOutput.add_member(:table, Shapes::ShapeRef.new(shape: TableDescription, location_name: "Table"))
|
307
316
|
DescribeTableOutput.struct_class = Types::DescribeTableOutput
|
308
317
|
|
318
|
+
DescribeTimeToLiveInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
319
|
+
DescribeTimeToLiveInput.struct_class = Types::DescribeTimeToLiveInput
|
320
|
+
|
321
|
+
DescribeTimeToLiveOutput.add_member(:time_to_live_description, Shapes::ShapeRef.new(shape: TimeToLiveDescription, location_name: "TimeToLiveDescription"))
|
322
|
+
DescribeTimeToLiveOutput.struct_class = Types::DescribeTimeToLiveOutput
|
323
|
+
|
309
324
|
ExpectedAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
|
310
325
|
ExpectedAttributeMap.value = Shapes::ShapeRef.new(shape: ExpectedAttributeValue)
|
311
326
|
|
@@ -572,6 +587,14 @@ module Aws::DynamoDB
|
|
572
587
|
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
573
588
|
TagResourceInput.struct_class = Types::TagResourceInput
|
574
589
|
|
590
|
+
TimeToLiveDescription.add_member(:time_to_live_status, Shapes::ShapeRef.new(shape: TimeToLiveStatus, location_name: "TimeToLiveStatus"))
|
591
|
+
TimeToLiveDescription.add_member(:attribute_name, Shapes::ShapeRef.new(shape: TimeToLiveAttributeName, location_name: "AttributeName"))
|
592
|
+
TimeToLiveDescription.struct_class = Types::TimeToLiveDescription
|
593
|
+
|
594
|
+
TimeToLiveSpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: TimeToLiveEnabled, required: true, location_name: "Enabled"))
|
595
|
+
TimeToLiveSpecification.add_member(:attribute_name, Shapes::ShapeRef.new(shape: TimeToLiveAttributeName, required: true, location_name: "AttributeName"))
|
596
|
+
TimeToLiveSpecification.struct_class = Types::TimeToLiveSpecification
|
597
|
+
|
575
598
|
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, required: true, location_name: "ResourceArn"))
|
576
599
|
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
577
600
|
UntagResourceInput.struct_class = Types::UntagResourceInput
|
@@ -609,6 +632,13 @@ module Aws::DynamoDB
|
|
609
632
|
UpdateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
610
633
|
UpdateTableOutput.struct_class = Types::UpdateTableOutput
|
611
634
|
|
635
|
+
UpdateTimeToLiveInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
636
|
+
UpdateTimeToLiveInput.add_member(:time_to_live_specification, Shapes::ShapeRef.new(shape: TimeToLiveSpecification, required: true, location_name: "TimeToLiveSpecification"))
|
637
|
+
UpdateTimeToLiveInput.struct_class = Types::UpdateTimeToLiveInput
|
638
|
+
|
639
|
+
UpdateTimeToLiveOutput.add_member(:time_to_live_specification, Shapes::ShapeRef.new(shape: TimeToLiveSpecification, location_name: "TimeToLiveSpecification"))
|
640
|
+
UpdateTimeToLiveOutput.struct_class = Types::UpdateTimeToLiveOutput
|
641
|
+
|
612
642
|
WriteRequest.add_member(:put_request, Shapes::ShapeRef.new(shape: PutRequest, location_name: "PutRequest"))
|
613
643
|
WriteRequest.add_member(:delete_request, Shapes::ShapeRef.new(shape: DeleteRequest, location_name: "DeleteRequest"))
|
614
644
|
WriteRequest.struct_class = Types::WriteRequest
|
@@ -713,6 +743,16 @@ module Aws::DynamoDB
|
|
713
743
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
714
744
|
end)
|
715
745
|
|
746
|
+
api.add_operation(:describe_time_to_live, Seahorse::Model::Operation.new.tap do |o|
|
747
|
+
o.name = "DescribeTimeToLive"
|
748
|
+
o.http_method = "POST"
|
749
|
+
o.http_request_uri = "/"
|
750
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTimeToLiveInput)
|
751
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTimeToLiveOutput)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
754
|
+
end)
|
755
|
+
|
716
756
|
api.add_operation(:get_item, Seahorse::Model::Operation.new.tap do |o|
|
717
757
|
o.name = "GetItem"
|
718
758
|
o.http_method = "POST"
|
@@ -844,6 +884,18 @@ module Aws::DynamoDB
|
|
844
884
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
845
885
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
846
886
|
end)
|
887
|
+
|
888
|
+
api.add_operation(:update_time_to_live, Seahorse::Model::Operation.new.tap do |o|
|
889
|
+
o.name = "UpdateTimeToLive"
|
890
|
+
o.http_method = "POST"
|
891
|
+
o.http_request_uri = "/"
|
892
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateTimeToLiveInput)
|
893
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateTimeToLiveOutput)
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
895
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
896
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
897
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
898
|
+
end)
|
847
899
|
end
|
848
900
|
|
849
901
|
end
|
@@ -432,7 +432,7 @@ module Aws::DynamoDB
|
|
432
432
|
#
|
433
433
|
# These function names are case-sensitive.
|
434
434
|
#
|
435
|
-
# * Comparison operators:
|
435
|
+
# * Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN `
|
436
436
|
#
|
437
437
|
# * Logical operators: `AND | OR | NOT`
|
438
438
|
#
|
@@ -762,7 +762,7 @@ module Aws::DynamoDB
|
|
762
762
|
#
|
763
763
|
# These function names are case-sensitive.
|
764
764
|
#
|
765
|
-
# * Comparison operators:
|
765
|
+
# * Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN `
|
766
766
|
#
|
767
767
|
# * Logical operators: `AND | OR | NOT`
|
768
768
|
#
|
@@ -1721,17 +1721,17 @@ module Aws::DynamoDB
|
|
1721
1721
|
# `NONE`, then nothing is returned. (This setting is the default for
|
1722
1722
|
# `ReturnValues`.)
|
1723
1723
|
#
|
1724
|
-
# * `ALL_OLD` -
|
1725
|
-
#
|
1724
|
+
# * `ALL_OLD` - Returns all of the attributes of the item, as they
|
1725
|
+
# appeared before the UpdateItem operation.
|
1726
1726
|
#
|
1727
|
-
# * `UPDATED_OLD` -
|
1728
|
-
#
|
1727
|
+
# * `UPDATED_OLD` - Returns only the updated attributes, as they
|
1728
|
+
# appeared before the UpdateItem operation.
|
1729
1729
|
#
|
1730
|
-
# * `ALL_NEW` -
|
1731
|
-
#
|
1730
|
+
# * `ALL_NEW` - Returns all of the attributes of the item, as they
|
1731
|
+
# appear after the UpdateItem operation.
|
1732
1732
|
#
|
1733
|
-
# * `UPDATED_NEW` -
|
1734
|
-
#
|
1733
|
+
# * `UPDATED_NEW` - Returns only the updated attributes, as they appear
|
1734
|
+
# after the UpdateItem operation.
|
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
|
@@ -1857,7 +1857,7 @@ module Aws::DynamoDB
|
|
1857
1857
|
#
|
1858
1858
|
# These function names are case-sensitive.
|
1859
1859
|
#
|
1860
|
-
# * Comparison operators:
|
1860
|
+
# * Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN `
|
1861
1861
|
#
|
1862
1862
|
# * Logical operators: `AND | OR | NOT`
|
1863
1863
|
#
|
@@ -33,6 +33,8 @@ module Aws::DynamoDB
|
|
33
33
|
# * `B` - the attribute is of type Binary
|
34
34
|
# @return [String]
|
35
35
|
#
|
36
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeDefinition AWS API Documentation
|
37
|
+
#
|
36
38
|
class AttributeDefinition < Struct.new(
|
37
39
|
:attribute_name,
|
38
40
|
:attribute_type)
|
@@ -139,6 +141,8 @@ module Aws::DynamoDB
|
|
139
141
|
# `"BOOL": true`
|
140
142
|
# @return [Boolean]
|
141
143
|
#
|
144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValue AWS API Documentation
|
145
|
+
#
|
142
146
|
class AttributeValue < Struct.new(
|
143
147
|
:s,
|
144
148
|
:n,
|
@@ -267,6 +271,8 @@ module Aws::DynamoDB
|
|
267
271
|
# be specified.
|
268
272
|
# @return [String]
|
269
273
|
#
|
274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValueUpdate AWS API Documentation
|
275
|
+
#
|
270
276
|
class AttributeValueUpdate < Struct.new(
|
271
277
|
:value,
|
272
278
|
:action)
|
@@ -406,6 +412,8 @@ module Aws::DynamoDB
|
|
406
412
|
# response.
|
407
413
|
# @return [String]
|
408
414
|
#
|
415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemInput AWS API Documentation
|
416
|
+
#
|
409
417
|
class BatchGetItemInput < Struct.new(
|
410
418
|
:request_items,
|
411
419
|
:return_consumed_capacity)
|
@@ -456,6 +464,8 @@ module Aws::DynamoDB
|
|
456
464
|
# * `CapacityUnits` - The total number of capacity units consumed.
|
457
465
|
# @return [Array<Types::ConsumedCapacity>]
|
458
466
|
#
|
467
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemOutput AWS API Documentation
|
468
|
+
#
|
459
469
|
class BatchGetItemOutput < Struct.new(
|
460
470
|
:responses,
|
461
471
|
:unprocessed_keys,
|
@@ -551,6 +561,8 @@ module Aws::DynamoDB
|
|
551
561
|
# returned.
|
552
562
|
# @return [String]
|
553
563
|
#
|
564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemInput AWS API Documentation
|
565
|
+
#
|
554
566
|
class BatchWriteItemInput < Struct.new(
|
555
567
|
:request_items,
|
556
568
|
:return_consumed_capacity,
|
@@ -633,6 +645,8 @@ module Aws::DynamoDB
|
|
633
645
|
# * `CapacityUnits` - The total number of capacity units consumed.
|
634
646
|
# @return [Array<Types::ConsumedCapacity>]
|
635
647
|
#
|
648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemOutput AWS API Documentation
|
649
|
+
#
|
636
650
|
class BatchWriteItemOutput < Struct.new(
|
637
651
|
:unprocessed_items,
|
638
652
|
:item_collection_metrics,
|
@@ -647,6 +661,8 @@ module Aws::DynamoDB
|
|
647
661
|
# The total number of capacity units consumed on a table or an index.
|
648
662
|
# @return [Float]
|
649
663
|
#
|
664
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Capacity AWS API Documentation
|
665
|
+
#
|
650
666
|
class Capacity < Struct.new(
|
651
667
|
:capacity_units)
|
652
668
|
include Aws::Structure
|
@@ -870,6 +886,8 @@ module Aws::DynamoDB
|
|
870
886
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html
|
871
887
|
# @return [String]
|
872
888
|
#
|
889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Condition AWS API Documentation
|
890
|
+
#
|
873
891
|
class Condition < Struct.new(
|
874
892
|
:attribute_value_list,
|
875
893
|
:comparison_operator)
|
@@ -910,6 +928,8 @@ module Aws::DynamoDB
|
|
910
928
|
# the operation.
|
911
929
|
# @return [Hash<String,Types::Capacity>]
|
912
930
|
#
|
931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ConsumedCapacity AWS API Documentation
|
932
|
+
#
|
913
933
|
class ConsumedCapacity < Struct.new(
|
914
934
|
:table_name,
|
915
935
|
:capacity_units,
|
@@ -969,6 +989,8 @@ module Aws::DynamoDB
|
|
969
989
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
970
990
|
# @return [Types::ProvisionedThroughput]
|
971
991
|
#
|
992
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalSecondaryIndexAction AWS API Documentation
|
993
|
+
#
|
972
994
|
class CreateGlobalSecondaryIndexAction < Struct.new(
|
973
995
|
:index_name,
|
974
996
|
:key_schema,
|
@@ -1217,6 +1239,8 @@ module Aws::DynamoDB
|
|
1217
1239
|
# the item are written to the stream.
|
1218
1240
|
# @return [Types::StreamSpecification]
|
1219
1241
|
#
|
1242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput AWS API Documentation
|
1243
|
+
#
|
1220
1244
|
class CreateTableInput < Struct.new(
|
1221
1245
|
:attribute_definitions,
|
1222
1246
|
:table_name,
|
@@ -1234,6 +1258,8 @@ module Aws::DynamoDB
|
|
1234
1258
|
# Represents the properties of the table.
|
1235
1259
|
# @return [Types::TableDescription]
|
1236
1260
|
#
|
1261
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableOutput AWS API Documentation
|
1262
|
+
#
|
1237
1263
|
class CreateTableOutput < Struct.new(
|
1238
1264
|
:table_description)
|
1239
1265
|
include Aws::Structure
|
@@ -1253,6 +1279,8 @@ module Aws::DynamoDB
|
|
1253
1279
|
# The name of the global secondary index to be deleted.
|
1254
1280
|
# @return [String]
|
1255
1281
|
#
|
1282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteGlobalSecondaryIndexAction AWS API Documentation
|
1283
|
+
#
|
1256
1284
|
class DeleteGlobalSecondaryIndexAction < Struct.new(
|
1257
1285
|
:index_name)
|
1258
1286
|
include Aws::Structure
|
@@ -1380,7 +1408,7 @@ module Aws::DynamoDB
|
|
1380
1408
|
#
|
1381
1409
|
# These function names are case-sensitive.
|
1382
1410
|
#
|
1383
|
-
# * Comparison operators:
|
1411
|
+
# * Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN `
|
1384
1412
|
#
|
1385
1413
|
# * Logical operators: `AND | OR | NOT`
|
1386
1414
|
#
|
@@ -1473,6 +1501,8 @@ module Aws::DynamoDB
|
|
1473
1501
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
1474
1502
|
# @return [Hash<String,Types::AttributeValue>]
|
1475
1503
|
#
|
1504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemInput AWS API Documentation
|
1505
|
+
#
|
1476
1506
|
class DeleteItemInput < Struct.new(
|
1477
1507
|
:table_name,
|
1478
1508
|
:key,
|
@@ -1535,6 +1565,8 @@ module Aws::DynamoDB
|
|
1535
1565
|
# rely on the precision or accuracy of the estimate.
|
1536
1566
|
# @return [Types::ItemCollectionMetrics]
|
1537
1567
|
#
|
1568
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemOutput AWS API Documentation
|
1569
|
+
#
|
1538
1570
|
class DeleteItemOutput < Struct.new(
|
1539
1571
|
:attributes,
|
1540
1572
|
:consumed_capacity,
|
@@ -1560,6 +1592,8 @@ module Aws::DynamoDB
|
|
1560
1592
|
# of the table's key schema.
|
1561
1593
|
# @return [Hash<String,Types::AttributeValue>]
|
1562
1594
|
#
|
1595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteRequest AWS API Documentation
|
1596
|
+
#
|
1563
1597
|
class DeleteRequest < Struct.new(
|
1564
1598
|
:key)
|
1565
1599
|
include Aws::Structure
|
@@ -1578,6 +1612,8 @@ module Aws::DynamoDB
|
|
1578
1612
|
# The name of the table to delete.
|
1579
1613
|
# @return [String]
|
1580
1614
|
#
|
1615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableInput AWS API Documentation
|
1616
|
+
#
|
1581
1617
|
class DeleteTableInput < Struct.new(
|
1582
1618
|
:table_name)
|
1583
1619
|
include Aws::Structure
|
@@ -1589,6 +1625,8 @@ module Aws::DynamoDB
|
|
1589
1625
|
# Represents the properties of a table.
|
1590
1626
|
# @return [Types::TableDescription]
|
1591
1627
|
#
|
1628
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableOutput AWS API Documentation
|
1629
|
+
#
|
1592
1630
|
class DeleteTableOutput < Struct.new(
|
1593
1631
|
:table_description)
|
1594
1632
|
include Aws::Structure
|
@@ -1598,6 +1636,8 @@ module Aws::DynamoDB
|
|
1598
1636
|
#
|
1599
1637
|
# @api private
|
1600
1638
|
#
|
1639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimitsInput AWS API Documentation
|
1640
|
+
#
|
1601
1641
|
class DescribeLimitsInput < Aws::EmptyStructure; end
|
1602
1642
|
|
1603
1643
|
# Represents the output of a `DescribeLimits` operation.
|
@@ -1626,6 +1666,8 @@ module Aws::DynamoDB
|
|
1626
1666
|
# secondary indexes (GSIs).
|
1627
1667
|
# @return [Integer]
|
1628
1668
|
#
|
1669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimitsOutput AWS API Documentation
|
1670
|
+
#
|
1629
1671
|
class DescribeLimitsOutput < Struct.new(
|
1630
1672
|
:account_max_read_capacity_units,
|
1631
1673
|
:account_max_write_capacity_units,
|
@@ -1647,6 +1689,8 @@ module Aws::DynamoDB
|
|
1647
1689
|
# The name of the table to describe.
|
1648
1690
|
# @return [String]
|
1649
1691
|
#
|
1692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableInput AWS API Documentation
|
1693
|
+
#
|
1650
1694
|
class DescribeTableInput < Struct.new(
|
1651
1695
|
:table_name)
|
1652
1696
|
include Aws::Structure
|
@@ -1658,11 +1702,41 @@ module Aws::DynamoDB
|
|
1658
1702
|
# The properties of the table.
|
1659
1703
|
# @return [Types::TableDescription]
|
1660
1704
|
#
|
1705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableOutput AWS API Documentation
|
1706
|
+
#
|
1661
1707
|
class DescribeTableOutput < Struct.new(
|
1662
1708
|
:table)
|
1663
1709
|
include Aws::Structure
|
1664
1710
|
end
|
1665
1711
|
|
1712
|
+
# @note When making an API call, you may pass DescribeTimeToLiveInput
|
1713
|
+
# data as a hash:
|
1714
|
+
#
|
1715
|
+
# {
|
1716
|
+
# table_name: "TableName", # required
|
1717
|
+
# }
|
1718
|
+
#
|
1719
|
+
# @!attribute [rw] table_name
|
1720
|
+
# The name of the table to be described.
|
1721
|
+
# @return [String]
|
1722
|
+
#
|
1723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLiveInput AWS API Documentation
|
1724
|
+
#
|
1725
|
+
class DescribeTimeToLiveInput < Struct.new(
|
1726
|
+
:table_name)
|
1727
|
+
include Aws::Structure
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
# @!attribute [rw] time_to_live_description
|
1731
|
+
# @return [Types::TimeToLiveDescription]
|
1732
|
+
#
|
1733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLiveOutput AWS API Documentation
|
1734
|
+
#
|
1735
|
+
class DescribeTimeToLiveOutput < Struct.new(
|
1736
|
+
:time_to_live_description)
|
1737
|
+
include Aws::Structure
|
1738
|
+
end
|
1739
|
+
|
1666
1740
|
# Represents a condition to be compared with an attribute value. This
|
1667
1741
|
# condition can be used with `DeleteItem`, `PutItem` or `UpdateItem`
|
1668
1742
|
# operations; if the comparison evaluates to true, the operation
|
@@ -1930,6 +2004,8 @@ module Aws::DynamoDB
|
|
1930
2004
|
# [2]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html
|
1931
2005
|
# @return [Array<Types::AttributeValue>]
|
1932
2006
|
#
|
2007
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExpectedAttributeValue AWS API Documentation
|
2008
|
+
#
|
1933
2009
|
class ExpectedAttributeValue < Struct.new(
|
1934
2010
|
:value,
|
1935
2011
|
:exists,
|
@@ -2078,6 +2154,8 @@ module Aws::DynamoDB
|
|
2078
2154
|
# [2]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
2079
2155
|
# @return [Hash<String,String>]
|
2080
2156
|
#
|
2157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemInput AWS API Documentation
|
2158
|
+
#
|
2081
2159
|
class GetItemInput < Struct.new(
|
2082
2160
|
:table_name,
|
2083
2161
|
:key,
|
@@ -2110,6 +2188,8 @@ module Aws::DynamoDB
|
|
2110
2188
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
2111
2189
|
# @return [Types::ConsumedCapacity]
|
2112
2190
|
#
|
2191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemOutput AWS API Documentation
|
2192
|
+
#
|
2113
2193
|
class GetItemOutput < Struct.new(
|
2114
2194
|
:item,
|
2115
2195
|
:consumed_capacity)
|
@@ -2184,6 +2264,8 @@ module Aws::DynamoDB
|
|
2184
2264
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
2185
2265
|
# @return [Types::ProvisionedThroughput]
|
2186
2266
|
#
|
2267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndex AWS API Documentation
|
2268
|
+
#
|
2187
2269
|
class GlobalSecondaryIndex < Struct.new(
|
2188
2270
|
:index_name,
|
2189
2271
|
:key_schema,
|
@@ -2282,6 +2364,8 @@ module Aws::DynamoDB
|
|
2282
2364
|
# The Amazon Resource Name (ARN) that uniquely identifies the index.
|
2283
2365
|
# @return [String]
|
2284
2366
|
#
|
2367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexDescription AWS API Documentation
|
2368
|
+
#
|
2285
2369
|
class GlobalSecondaryIndexDescription < Struct.new(
|
2286
2370
|
:index_name,
|
2287
2371
|
:key_schema,
|
@@ -2362,6 +2446,8 @@ module Aws::DynamoDB
|
|
2362
2446
|
# The name of an existing global secondary index to be removed.
|
2363
2447
|
# @return [Types::DeleteGlobalSecondaryIndexAction]
|
2364
2448
|
#
|
2449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexUpdate AWS API Documentation
|
2450
|
+
#
|
2365
2451
|
class GlobalSecondaryIndexUpdate < Struct.new(
|
2366
2452
|
:update,
|
2367
2453
|
:create,
|
@@ -2391,6 +2477,8 @@ module Aws::DynamoDB
|
|
2391
2477
|
# on the precision or accuracy of the estimate.
|
2392
2478
|
# @return [Array<Float>]
|
2393
2479
|
#
|
2480
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ItemCollectionMetrics AWS API Documentation
|
2481
|
+
#
|
2394
2482
|
class ItemCollectionMetrics < Struct.new(
|
2395
2483
|
:item_collection_key,
|
2396
2484
|
:size_estimate_range_gb)
|
@@ -2443,6 +2531,8 @@ module Aws::DynamoDB
|
|
2443
2531
|
# </note>
|
2444
2532
|
# @return [String]
|
2445
2533
|
#
|
2534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KeySchemaElement AWS API Documentation
|
2535
|
+
#
|
2446
2536
|
class KeySchemaElement < Struct.new(
|
2447
2537
|
:attribute_name,
|
2448
2538
|
:key_type)
|
@@ -2566,6 +2656,8 @@ module Aws::DynamoDB
|
|
2566
2656
|
# [2]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
2567
2657
|
# @return [Hash<String,String>]
|
2568
2658
|
#
|
2659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KeysAndAttributes AWS API Documentation
|
2660
|
+
#
|
2569
2661
|
class KeysAndAttributes < Struct.new(
|
2570
2662
|
:keys,
|
2571
2663
|
:attributes_to_get,
|
@@ -2596,6 +2688,8 @@ module Aws::DynamoDB
|
|
2596
2688
|
# specified, the limit is 100.
|
2597
2689
|
# @return [Integer]
|
2598
2690
|
#
|
2691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesInput AWS API Documentation
|
2692
|
+
#
|
2599
2693
|
class ListTablesInput < Struct.new(
|
2600
2694
|
:exclusive_start_table_name,
|
2601
2695
|
:limit)
|
@@ -2623,6 +2717,8 @@ module Aws::DynamoDB
|
|
2623
2717
|
# retrieved.
|
2624
2718
|
# @return [String]
|
2625
2719
|
#
|
2720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesOutput AWS API Documentation
|
2721
|
+
#
|
2626
2722
|
class ListTablesOutput < Struct.new(
|
2627
2723
|
:table_names,
|
2628
2724
|
:last_evaluated_table_name)
|
@@ -2648,6 +2744,8 @@ module Aws::DynamoDB
|
|
2648
2744
|
# manner, this API fetches the next page of results.
|
2649
2745
|
# @return [String]
|
2650
2746
|
#
|
2747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResourceInput AWS API Documentation
|
2748
|
+
#
|
2651
2749
|
class ListTagsOfResourceInput < Struct.new(
|
2652
2750
|
:resource_arn,
|
2653
2751
|
:next_token)
|
@@ -2664,6 +2762,8 @@ module Aws::DynamoDB
|
|
2664
2762
|
# NextToken set to this value.
|
2665
2763
|
# @return [String]
|
2666
2764
|
#
|
2765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResourceOutput AWS API Documentation
|
2766
|
+
#
|
2667
2767
|
class ListTagsOfResourceOutput < Struct.new(
|
2668
2768
|
:tags,
|
2669
2769
|
:next_token)
|
@@ -2722,6 +2822,8 @@ module Aws::DynamoDB
|
|
2722
2822
|
# projected.
|
2723
2823
|
# @return [Types::Projection]
|
2724
2824
|
#
|
2825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndex AWS API Documentation
|
2826
|
+
#
|
2725
2827
|
class LocalSecondaryIndex < Struct.new(
|
2726
2828
|
:index_name,
|
2727
2829
|
:key_schema,
|
@@ -2779,6 +2881,8 @@ module Aws::DynamoDB
|
|
2779
2881
|
# The Amazon Resource Name (ARN) that uniquely identifies the index.
|
2780
2882
|
# @return [String]
|
2781
2883
|
#
|
2884
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndexDescription AWS API Documentation
|
2885
|
+
#
|
2782
2886
|
class LocalSecondaryIndexDescription < Struct.new(
|
2783
2887
|
:index_name,
|
2784
2888
|
:key_schema,
|
@@ -2824,6 +2928,8 @@ module Aws::DynamoDB
|
|
2824
2928
|
# this counts as two distinct attributes when determining the total.
|
2825
2929
|
# @return [Array<String>]
|
2826
2930
|
#
|
2931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Projection AWS API Documentation
|
2932
|
+
#
|
2827
2933
|
class Projection < Struct.new(
|
2828
2934
|
:projection_type,
|
2829
2935
|
:non_key_attributes)
|
@@ -2871,6 +2977,8 @@ module Aws::DynamoDB
|
|
2871
2977
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
|
2872
2978
|
# @return [Integer]
|
2873
2979
|
#
|
2980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughput AWS API Documentation
|
2981
|
+
#
|
2874
2982
|
class ProvisionedThroughput < Struct.new(
|
2875
2983
|
:read_capacity_units,
|
2876
2984
|
:write_capacity_units)
|
@@ -2915,6 +3023,8 @@ module Aws::DynamoDB
|
|
2915
3023
|
# returns a `ThrottlingException`.
|
2916
3024
|
# @return [Integer]
|
2917
3025
|
#
|
3026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughputDescription AWS API Documentation
|
3027
|
+
#
|
2918
3028
|
class ProvisionedThroughputDescription < Struct.new(
|
2919
3029
|
:last_increase_date_time,
|
2920
3030
|
:last_decrease_date_time,
|
@@ -3061,7 +3171,7 @@ module Aws::DynamoDB
|
|
3061
3171
|
#
|
3062
3172
|
# These function names are case-sensitive.
|
3063
3173
|
#
|
3064
|
-
# * Comparison operators:
|
3174
|
+
# * Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN `
|
3065
3175
|
#
|
3066
3176
|
# * Logical operators: `AND | OR | NOT`
|
3067
3177
|
#
|
@@ -3154,6 +3264,8 @@ module Aws::DynamoDB
|
|
3154
3264
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
3155
3265
|
# @return [Hash<String,Types::AttributeValue>]
|
3156
3266
|
#
|
3267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemInput AWS API Documentation
|
3268
|
+
#
|
3157
3269
|
class PutItemInput < Struct.new(
|
3158
3270
|
:table_name,
|
3159
3271
|
:item,
|
@@ -3216,6 +3328,8 @@ module Aws::DynamoDB
|
|
3216
3328
|
# rely on the precision or accuracy of the estimate.
|
3217
3329
|
# @return [Types::ItemCollectionMetrics]
|
3218
3330
|
#
|
3331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemOutput AWS API Documentation
|
3332
|
+
#
|
3219
3333
|
class PutItemOutput < Struct.new(
|
3220
3334
|
:attributes,
|
3221
3335
|
:consumed_capacity,
|
@@ -3243,6 +3357,8 @@ module Aws::DynamoDB
|
|
3243
3357
|
# the table, their types must match the index key schema.
|
3244
3358
|
# @return [Hash<String,Types::AttributeValue>]
|
3245
3359
|
#
|
3360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutRequest AWS API Documentation
|
3361
|
+
#
|
3246
3362
|
class PutRequest < Struct.new(
|
3247
3363
|
:item)
|
3248
3364
|
include Aws::Structure
|
@@ -3673,6 +3789,8 @@ module Aws::DynamoDB
|
|
3673
3789
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
3674
3790
|
# @return [Hash<String,Types::AttributeValue>]
|
3675
3791
|
#
|
3792
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryInput AWS API Documentation
|
3793
|
+
#
|
3676
3794
|
class QueryInput < Struct.new(
|
3677
3795
|
:table_name,
|
3678
3796
|
:index_name,
|
@@ -3757,6 +3875,8 @@ module Aws::DynamoDB
|
|
3757
3875
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
3758
3876
|
# @return [Types::ConsumedCapacity]
|
3759
3877
|
#
|
3878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryOutput AWS API Documentation
|
3879
|
+
#
|
3760
3880
|
class QueryOutput < Struct.new(
|
3761
3881
|
:items,
|
3762
3882
|
:count,
|
@@ -4119,6 +4239,8 @@ module Aws::DynamoDB
|
|
4119
4239
|
# set to true, you will receive a `ValidationException`.
|
4120
4240
|
# @return [Boolean]
|
4121
4241
|
#
|
4242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanInput AWS API Documentation
|
4243
|
+
#
|
4122
4244
|
class ScanInput < Struct.new(
|
4123
4245
|
:table_name,
|
4124
4246
|
:index_name,
|
@@ -4200,6 +4322,8 @@ module Aws::DynamoDB
|
|
4200
4322
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
4201
4323
|
# @return [Types::ConsumedCapacity]
|
4202
4324
|
#
|
4325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanOutput AWS API Documentation
|
4326
|
+
#
|
4203
4327
|
class ScanOutput < Struct.new(
|
4204
4328
|
:items,
|
4205
4329
|
:count,
|
@@ -4242,6 +4366,8 @@ module Aws::DynamoDB
|
|
4242
4366
|
# item are written to the stream.
|
4243
4367
|
# @return [String]
|
4244
4368
|
#
|
4369
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/StreamSpecification AWS API Documentation
|
4370
|
+
#
|
4245
4371
|
class StreamSpecification < Struct.new(
|
4246
4372
|
:stream_enabled,
|
4247
4373
|
:stream_view_type)
|
@@ -4484,6 +4610,8 @@ module Aws::DynamoDB
|
|
4484
4610
|
# stream for this table.
|
4485
4611
|
# @return [String]
|
4486
4612
|
#
|
4613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription AWS API Documentation
|
4614
|
+
#
|
4487
4615
|
class TableDescription < Struct.new(
|
4488
4616
|
:attribute_definitions,
|
4489
4617
|
:table_name,
|
@@ -4537,6 +4665,8 @@ module Aws::DynamoDB
|
|
4537
4665
|
# The value of the tag. Tag values are case-sensitive and can be null.
|
4538
4666
|
# @return [String]
|
4539
4667
|
#
|
4668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Tag AWS API Documentation
|
4669
|
+
#
|
4540
4670
|
class Tag < Struct.new(
|
4541
4671
|
:key,
|
4542
4672
|
:value)
|
@@ -4565,12 +4695,62 @@ module Aws::DynamoDB
|
|
4565
4695
|
# The tags to be assigned to the Amazon DynamoDB resource.
|
4566
4696
|
# @return [Array<Types::Tag>]
|
4567
4697
|
#
|
4698
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResourceInput AWS API Documentation
|
4699
|
+
#
|
4568
4700
|
class TagResourceInput < Struct.new(
|
4569
4701
|
:resource_arn,
|
4570
4702
|
:tags)
|
4571
4703
|
include Aws::Structure
|
4572
4704
|
end
|
4573
4705
|
|
4706
|
+
# The description of the Time to Live (TTL) status on the specified
|
4707
|
+
# table.
|
4708
|
+
#
|
4709
|
+
# @!attribute [rw] time_to_live_status
|
4710
|
+
# The Time to Live status for the table.
|
4711
|
+
# @return [String]
|
4712
|
+
#
|
4713
|
+
# @!attribute [rw] attribute_name
|
4714
|
+
# The name of the Time to Live attribute for items in the table.
|
4715
|
+
# @return [String]
|
4716
|
+
#
|
4717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TimeToLiveDescription AWS API Documentation
|
4718
|
+
#
|
4719
|
+
class TimeToLiveDescription < Struct.new(
|
4720
|
+
:time_to_live_status,
|
4721
|
+
:attribute_name)
|
4722
|
+
include Aws::Structure
|
4723
|
+
end
|
4724
|
+
|
4725
|
+
# Represents the settings used to enable or disable Time to Live for the
|
4726
|
+
# specified table.
|
4727
|
+
#
|
4728
|
+
# @note When making an API call, you may pass TimeToLiveSpecification
|
4729
|
+
# data as a hash:
|
4730
|
+
#
|
4731
|
+
# {
|
4732
|
+
# enabled: false, # required
|
4733
|
+
# attribute_name: "TimeToLiveAttributeName", # required
|
4734
|
+
# }
|
4735
|
+
#
|
4736
|
+
# @!attribute [rw] enabled
|
4737
|
+
# Indicates whether Time To Live is to be enabled (true) or disabled
|
4738
|
+
# (false) on the table.
|
4739
|
+
# @return [Boolean]
|
4740
|
+
#
|
4741
|
+
# @!attribute [rw] attribute_name
|
4742
|
+
# The name of the Time to Live attribute used to store the expiration
|
4743
|
+
# time for items in the table.
|
4744
|
+
# @return [String]
|
4745
|
+
#
|
4746
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TimeToLiveSpecification AWS API Documentation
|
4747
|
+
#
|
4748
|
+
class TimeToLiveSpecification < Struct.new(
|
4749
|
+
:enabled,
|
4750
|
+
:attribute_name)
|
4751
|
+
include Aws::Structure
|
4752
|
+
end
|
4753
|
+
|
4574
4754
|
# @note When making an API call, you may pass UntagResourceInput
|
4575
4755
|
# data as a hash:
|
4576
4756
|
#
|
@@ -4590,6 +4770,8 @@ module Aws::DynamoDB
|
|
4590
4770
|
# resource.
|
4591
4771
|
# @return [Array<String>]
|
4592
4772
|
#
|
4773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResourceInput AWS API Documentation
|
4774
|
+
#
|
4593
4775
|
class UntagResourceInput < Struct.new(
|
4594
4776
|
:resource_arn,
|
4595
4777
|
:tag_keys)
|
@@ -4626,6 +4808,8 @@ module Aws::DynamoDB
|
|
4626
4808
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
4627
4809
|
# @return [Types::ProvisionedThroughput]
|
4628
4810
|
#
|
4811
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalSecondaryIndexAction AWS API Documentation
|
4812
|
+
#
|
4629
4813
|
class UpdateGlobalSecondaryIndexAction < Struct.new(
|
4630
4814
|
:index_name,
|
4631
4815
|
:provisioned_throughput)
|
@@ -4723,17 +4907,17 @@ module Aws::DynamoDB
|
|
4723
4907
|
# `NONE`, then nothing is returned. (This setting is the default for
|
4724
4908
|
# `ReturnValues`.)
|
4725
4909
|
#
|
4726
|
-
# * `ALL_OLD` -
|
4727
|
-
#
|
4910
|
+
# * `ALL_OLD` - Returns all of the attributes of the item, as they
|
4911
|
+
# appeared before the UpdateItem operation.
|
4728
4912
|
#
|
4729
|
-
# * `UPDATED_OLD` -
|
4730
|
-
#
|
4913
|
+
# * `UPDATED_OLD` - Returns only the updated attributes, as they
|
4914
|
+
# appeared before the UpdateItem operation.
|
4731
4915
|
#
|
4732
|
-
# * `ALL_NEW` -
|
4733
|
-
#
|
4916
|
+
# * `ALL_NEW` - Returns all of the attributes of the item, as they
|
4917
|
+
# appear after the UpdateItem operation.
|
4734
4918
|
#
|
4735
|
-
# * `UPDATED_NEW` -
|
4736
|
-
#
|
4919
|
+
# * `UPDATED_NEW` - Returns only the updated attributes, as they
|
4920
|
+
# appear after the UpdateItem operation.
|
4737
4921
|
#
|
4738
4922
|
# There is no additional cost associated with requesting a return
|
4739
4923
|
# value aside from the small network and processing overhead of
|
@@ -4875,7 +5059,7 @@ module Aws::DynamoDB
|
|
4875
5059
|
#
|
4876
5060
|
# These function names are case-sensitive.
|
4877
5061
|
#
|
4878
|
-
# * Comparison operators:
|
5062
|
+
# * Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN `
|
4879
5063
|
#
|
4880
5064
|
# * Logical operators: `AND | OR | NOT`
|
4881
5065
|
#
|
@@ -4968,6 +5152,8 @@ module Aws::DynamoDB
|
|
4968
5152
|
# [1]: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
4969
5153
|
# @return [Hash<String,Types::AttributeValue>]
|
4970
5154
|
#
|
5155
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemInput AWS API Documentation
|
5156
|
+
#
|
4971
5157
|
class UpdateItemInput < Struct.new(
|
4972
5158
|
:table_name,
|
4973
5159
|
:key,
|
@@ -5032,6 +5218,8 @@ module Aws::DynamoDB
|
|
5032
5218
|
# rely on the precision or accuracy of the estimate.
|
5033
5219
|
# @return [Types::ItemCollectionMetrics]
|
5034
5220
|
#
|
5221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemOutput AWS API Documentation
|
5222
|
+
#
|
5035
5223
|
class UpdateItemOutput < Struct.new(
|
5036
5224
|
:attributes,
|
5037
5225
|
:consumed_capacity,
|
@@ -5138,6 +5326,8 @@ module Aws::DynamoDB
|
|
5138
5326
|
# </note>
|
5139
5327
|
# @return [Types::StreamSpecification]
|
5140
5328
|
#
|
5329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput AWS API Documentation
|
5330
|
+
#
|
5141
5331
|
class UpdateTableInput < Struct.new(
|
5142
5332
|
:attribute_definitions,
|
5143
5333
|
:table_name,
|
@@ -5153,11 +5343,54 @@ module Aws::DynamoDB
|
|
5153
5343
|
# Represents the properties of the table.
|
5154
5344
|
# @return [Types::TableDescription]
|
5155
5345
|
#
|
5346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableOutput AWS API Documentation
|
5347
|
+
#
|
5156
5348
|
class UpdateTableOutput < Struct.new(
|
5157
5349
|
:table_description)
|
5158
5350
|
include Aws::Structure
|
5159
5351
|
end
|
5160
5352
|
|
5353
|
+
# Represents the input of an `UpdateTimeToLive` operation.
|
5354
|
+
#
|
5355
|
+
# @note When making an API call, you may pass UpdateTimeToLiveInput
|
5356
|
+
# data as a hash:
|
5357
|
+
#
|
5358
|
+
# {
|
5359
|
+
# table_name: "TableName", # required
|
5360
|
+
# time_to_live_specification: { # required
|
5361
|
+
# enabled: false, # required
|
5362
|
+
# attribute_name: "TimeToLiveAttributeName", # required
|
5363
|
+
# },
|
5364
|
+
# }
|
5365
|
+
#
|
5366
|
+
# @!attribute [rw] table_name
|
5367
|
+
# The name of the table to be configured.
|
5368
|
+
# @return [String]
|
5369
|
+
#
|
5370
|
+
# @!attribute [rw] time_to_live_specification
|
5371
|
+
# Represents the settings used to enable or disable Time to Live for
|
5372
|
+
# the specified table.
|
5373
|
+
# @return [Types::TimeToLiveSpecification]
|
5374
|
+
#
|
5375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLiveInput AWS API Documentation
|
5376
|
+
#
|
5377
|
+
class UpdateTimeToLiveInput < Struct.new(
|
5378
|
+
:table_name,
|
5379
|
+
:time_to_live_specification)
|
5380
|
+
include Aws::Structure
|
5381
|
+
end
|
5382
|
+
|
5383
|
+
# @!attribute [rw] time_to_live_specification
|
5384
|
+
# Represents the output of an `UpdateTimeToLive` operation.
|
5385
|
+
# @return [Types::TimeToLiveSpecification]
|
5386
|
+
#
|
5387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLiveOutput AWS API Documentation
|
5388
|
+
#
|
5389
|
+
class UpdateTimeToLiveOutput < Struct.new(
|
5390
|
+
:time_to_live_specification)
|
5391
|
+
include Aws::Structure
|
5392
|
+
end
|
5393
|
+
|
5161
5394
|
# Represents an operation to perform - either `DeleteItem` or `PutItem`.
|
5162
5395
|
# You can only request one of these operations, not both, in a single
|
5163
5396
|
# `WriteRequest`. If you do need to perform both of these operations,
|
@@ -5187,6 +5420,8 @@ module Aws::DynamoDB
|
|
5187
5420
|
# A request to perform a `DeleteItem` operation.
|
5188
5421
|
# @return [Types::DeleteRequest]
|
5189
5422
|
#
|
5423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/WriteRequest AWS API Documentation
|
5424
|
+
#
|
5190
5425
|
class WriteRequest < Struct.new(
|
5191
5426
|
:put_request,
|
5192
5427
|
:delete_request)
|
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.rc3
|
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-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|