aws-sdk-dynamodb 1.66.0 → 1.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +176 -21
- data/lib/aws-sdk-dynamodb/client_api.rb +20 -0
- data/lib/aws-sdk-dynamodb/resource.rb +8 -4
- data/lib/aws-sdk-dynamodb/table.rb +24 -12
- data/lib/aws-sdk-dynamodb/types.rb +190 -32
- data/lib/aws-sdk-dynamodb.rb +1 -1
- metadata +4 -4
@@ -767,16 +767,38 @@ module Aws::DynamoDB
|
|
767
767
|
# consistent_read: false,
|
768
768
|
# },
|
769
769
|
# ],
|
770
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
770
771
|
# }
|
771
772
|
#
|
772
773
|
# @!attribute [rw] statements
|
773
774
|
# The list of PartiQL statements representing the batch to run.
|
774
775
|
# @return [Array<Types::BatchStatementRequest>]
|
775
776
|
#
|
777
|
+
# @!attribute [rw] return_consumed_capacity
|
778
|
+
# Determines the level of detail about either provisioned or on-demand
|
779
|
+
# throughput consumption that is returned in the response:
|
780
|
+
#
|
781
|
+
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
782
|
+
# for the operation, together with `ConsumedCapacity` for each table
|
783
|
+
# and secondary index that was accessed.
|
784
|
+
#
|
785
|
+
# Note that some operations, such as `GetItem` and `BatchGetItem`,
|
786
|
+
# do not access any indexes at all. In these cases, specifying
|
787
|
+
# `INDEXES` will only return `ConsumedCapacity` information for
|
788
|
+
# table(s).
|
789
|
+
#
|
790
|
+
# * `TOTAL` - The response includes only the aggregate
|
791
|
+
# `ConsumedCapacity` for the operation.
|
792
|
+
#
|
793
|
+
# * `NONE` - No `ConsumedCapacity` details are included in the
|
794
|
+
# response.
|
795
|
+
# @return [String]
|
796
|
+
#
|
776
797
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatementInput AWS API Documentation
|
777
798
|
#
|
778
799
|
class BatchExecuteStatementInput < Struct.new(
|
779
|
-
:statements
|
800
|
+
:statements,
|
801
|
+
:return_consumed_capacity)
|
780
802
|
SENSITIVE = []
|
781
803
|
include Aws::Structure
|
782
804
|
end
|
@@ -785,10 +807,16 @@ module Aws::DynamoDB
|
|
785
807
|
# The response to each PartiQL statement in the batch.
|
786
808
|
# @return [Array<Types::BatchStatementResponse>]
|
787
809
|
#
|
810
|
+
# @!attribute [rw] consumed_capacity
|
811
|
+
# The capacity units consumed by the entire operation. The values of
|
812
|
+
# the list are ordered according to the ordering of the statements.
|
813
|
+
# @return [Array<Types::ConsumedCapacity>]
|
814
|
+
#
|
788
815
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatementOutput AWS API Documentation
|
789
816
|
#
|
790
817
|
class BatchExecuteStatementOutput < Struct.new(
|
791
|
-
:responses
|
818
|
+
:responses,
|
819
|
+
:consumed_capacity)
|
792
820
|
SENSITIVE = []
|
793
821
|
include Aws::Structure
|
794
822
|
end
|
@@ -908,8 +936,8 @@ module Aws::DynamoDB
|
|
908
936
|
# @return [Hash<String,Types::KeysAndAttributes>]
|
909
937
|
#
|
910
938
|
# @!attribute [rw] return_consumed_capacity
|
911
|
-
# Determines the level of detail about provisioned
|
912
|
-
# consumption that is returned in the response:
|
939
|
+
# Determines the level of detail about either provisioned or on-demand
|
940
|
+
# throughput consumption that is returned in the response:
|
913
941
|
#
|
914
942
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
915
943
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -1128,8 +1156,8 @@ module Aws::DynamoDB
|
|
1128
1156
|
# @return [Hash<String,Array<Types::WriteRequest>>]
|
1129
1157
|
#
|
1130
1158
|
# @!attribute [rw] return_consumed_capacity
|
1131
|
-
# Determines the level of detail about provisioned
|
1132
|
-
# consumption that is returned in the response:
|
1159
|
+
# Determines the level of detail about either provisioned or on-demand
|
1160
|
+
# throughput consumption that is returned in the response:
|
1133
1161
|
#
|
1134
1162
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
1135
1163
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -1935,6 +1963,7 @@ module Aws::DynamoDB
|
|
1935
1963
|
# },
|
1936
1964
|
# },
|
1937
1965
|
# ],
|
1966
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
1938
1967
|
# }
|
1939
1968
|
#
|
1940
1969
|
# @!attribute [rw] region_name
|
@@ -1958,13 +1987,19 @@ module Aws::DynamoDB
|
|
1958
1987
|
# Replica-specific global secondary index settings.
|
1959
1988
|
# @return [Array<Types::ReplicaGlobalSecondaryIndex>]
|
1960
1989
|
#
|
1990
|
+
# @!attribute [rw] table_class_override
|
1991
|
+
# Replica-specific table class. If not specified, uses the source
|
1992
|
+
# table's table class.
|
1993
|
+
# @return [String]
|
1994
|
+
#
|
1961
1995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateReplicationGroupMemberAction AWS API Documentation
|
1962
1996
|
#
|
1963
1997
|
class CreateReplicationGroupMemberAction < Struct.new(
|
1964
1998
|
:region_name,
|
1965
1999
|
:kms_master_key_id,
|
1966
2000
|
:provisioned_throughput_override,
|
1967
|
-
:global_secondary_indexes
|
2001
|
+
:global_secondary_indexes,
|
2002
|
+
:table_class_override)
|
1968
2003
|
SENSITIVE = []
|
1969
2004
|
include Aws::Structure
|
1970
2005
|
end
|
@@ -2042,6 +2077,7 @@ module Aws::DynamoDB
|
|
2042
2077
|
# value: "TagValueString", # required
|
2043
2078
|
# },
|
2044
2079
|
# ],
|
2080
|
+
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
2045
2081
|
# }
|
2046
2082
|
#
|
2047
2083
|
# @!attribute [rw] attribute_definitions
|
@@ -2257,6 +2293,11 @@ module Aws::DynamoDB
|
|
2257
2293
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
|
2258
2294
|
# @return [Array<Types::Tag>]
|
2259
2295
|
#
|
2296
|
+
# @!attribute [rw] table_class
|
2297
|
+
# The table class of the new table. Valid values are `STANDARD` and
|
2298
|
+
# `STANDARD_INFREQUENT_ACCESS`.
|
2299
|
+
# @return [String]
|
2300
|
+
#
|
2260
2301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput AWS API Documentation
|
2261
2302
|
#
|
2262
2303
|
class CreateTableInput < Struct.new(
|
@@ -2269,7 +2310,8 @@ module Aws::DynamoDB
|
|
2269
2310
|
:provisioned_throughput,
|
2270
2311
|
:stream_specification,
|
2271
2312
|
:sse_specification,
|
2272
|
-
:tags
|
2313
|
+
:tags,
|
2314
|
+
:table_class)
|
2273
2315
|
SENSITIVE = []
|
2274
2316
|
include Aws::Structure
|
2275
2317
|
end
|
@@ -2488,8 +2530,8 @@ module Aws::DynamoDB
|
|
2488
2530
|
# @return [String]
|
2489
2531
|
#
|
2490
2532
|
# @!attribute [rw] return_consumed_capacity
|
2491
|
-
# Determines the level of detail about provisioned
|
2492
|
-
# consumption that is returned in the response:
|
2533
|
+
# Determines the level of detail about either provisioned or on-demand
|
2534
|
+
# throughput consumption that is returned in the response:
|
2493
2535
|
#
|
2494
2536
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
2495
2537
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -3273,6 +3315,7 @@ module Aws::DynamoDB
|
|
3273
3315
|
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3274
3316
|
# consistent_read: false,
|
3275
3317
|
# next_token: "PartiQLNextToken",
|
3318
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3276
3319
|
# }
|
3277
3320
|
#
|
3278
3321
|
# @!attribute [rw] statement
|
@@ -3294,13 +3337,34 @@ module Aws::DynamoDB
|
|
3294
3337
|
# in the statement response.
|
3295
3338
|
# @return [String]
|
3296
3339
|
#
|
3340
|
+
# @!attribute [rw] return_consumed_capacity
|
3341
|
+
# Determines the level of detail about either provisioned or on-demand
|
3342
|
+
# throughput consumption that is returned in the response:
|
3343
|
+
#
|
3344
|
+
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
3345
|
+
# for the operation, together with `ConsumedCapacity` for each table
|
3346
|
+
# and secondary index that was accessed.
|
3347
|
+
#
|
3348
|
+
# Note that some operations, such as `GetItem` and `BatchGetItem`,
|
3349
|
+
# do not access any indexes at all. In these cases, specifying
|
3350
|
+
# `INDEXES` will only return `ConsumedCapacity` information for
|
3351
|
+
# table(s).
|
3352
|
+
#
|
3353
|
+
# * `TOTAL` - The response includes only the aggregate
|
3354
|
+
# `ConsumedCapacity` for the operation.
|
3355
|
+
#
|
3356
|
+
# * `NONE` - No `ConsumedCapacity` details are included in the
|
3357
|
+
# response.
|
3358
|
+
# @return [String]
|
3359
|
+
#
|
3297
3360
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementInput AWS API Documentation
|
3298
3361
|
#
|
3299
3362
|
class ExecuteStatementInput < Struct.new(
|
3300
3363
|
:statement,
|
3301
3364
|
:parameters,
|
3302
3365
|
:consistent_read,
|
3303
|
-
:next_token
|
3366
|
+
:next_token,
|
3367
|
+
:return_consumed_capacity)
|
3304
3368
|
SENSITIVE = []
|
3305
3369
|
include Aws::Structure
|
3306
3370
|
end
|
@@ -3318,11 +3382,25 @@ module Aws::DynamoDB
|
|
3318
3382
|
# results.
|
3319
3383
|
# @return [String]
|
3320
3384
|
#
|
3385
|
+
# @!attribute [rw] consumed_capacity
|
3386
|
+
# The capacity units consumed by an operation. The data returned
|
3387
|
+
# includes the total provisioned throughput consumed, along with
|
3388
|
+
# statistics for the table and any indexes involved in the operation.
|
3389
|
+
# `ConsumedCapacity` is only returned if the request asked for it. For
|
3390
|
+
# more information, see [Provisioned Throughput][1] in the *Amazon
|
3391
|
+
# DynamoDB Developer Guide*.
|
3392
|
+
#
|
3393
|
+
#
|
3394
|
+
#
|
3395
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
3396
|
+
# @return [Types::ConsumedCapacity]
|
3397
|
+
#
|
3321
3398
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementOutput AWS API Documentation
|
3322
3399
|
#
|
3323
3400
|
class ExecuteStatementOutput < Struct.new(
|
3324
3401
|
:items,
|
3325
|
-
:next_token
|
3402
|
+
:next_token,
|
3403
|
+
:consumed_capacity)
|
3326
3404
|
SENSITIVE = []
|
3327
3405
|
include Aws::Structure
|
3328
3406
|
end
|
@@ -3338,6 +3416,7 @@ module Aws::DynamoDB
|
|
3338
3416
|
# },
|
3339
3417
|
# ],
|
3340
3418
|
# client_request_token: "ClientRequestToken",
|
3419
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3341
3420
|
# }
|
3342
3421
|
#
|
3343
3422
|
# @!attribute [rw] transact_statements
|
@@ -3352,11 +3431,23 @@ module Aws::DynamoDB
|
|
3352
3431
|
# not need to pass this option.
|
3353
3432
|
# @return [String]
|
3354
3433
|
#
|
3434
|
+
# @!attribute [rw] return_consumed_capacity
|
3435
|
+
# Determines the level of detail about either provisioned or on-demand
|
3436
|
+
# throughput consumption that is returned in the response. For more
|
3437
|
+
# information, see [TransactGetItems][1] and [TransactWriteItems][2].
|
3438
|
+
#
|
3439
|
+
#
|
3440
|
+
#
|
3441
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html
|
3442
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html
|
3443
|
+
# @return [String]
|
3444
|
+
#
|
3355
3445
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionInput AWS API Documentation
|
3356
3446
|
#
|
3357
3447
|
class ExecuteTransactionInput < Struct.new(
|
3358
3448
|
:transact_statements,
|
3359
|
-
:client_request_token
|
3449
|
+
:client_request_token,
|
3450
|
+
:return_consumed_capacity)
|
3360
3451
|
SENSITIVE = []
|
3361
3452
|
include Aws::Structure
|
3362
3453
|
end
|
@@ -3365,10 +3456,16 @@ module Aws::DynamoDB
|
|
3365
3456
|
# The response to a PartiQL transaction.
|
3366
3457
|
# @return [Array<Types::ItemResponse>]
|
3367
3458
|
#
|
3459
|
+
# @!attribute [rw] consumed_capacity
|
3460
|
+
# The capacity units consumed by the entire operation. The values of
|
3461
|
+
# the list are ordered according to the ordering of the statements.
|
3462
|
+
# @return [Array<Types::ConsumedCapacity>]
|
3463
|
+
#
|
3368
3464
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionOutput AWS API Documentation
|
3369
3465
|
#
|
3370
3466
|
class ExecuteTransactionOutput < Struct.new(
|
3371
|
-
:responses
|
3467
|
+
:responses,
|
3468
|
+
:consumed_capacity)
|
3372
3469
|
SENSITIVE = []
|
3373
3470
|
include Aws::Structure
|
3374
3471
|
end
|
@@ -4038,8 +4135,8 @@ module Aws::DynamoDB
|
|
4038
4135
|
# @return [Boolean]
|
4039
4136
|
#
|
4040
4137
|
# @!attribute [rw] return_consumed_capacity
|
4041
|
-
# Determines the level of detail about provisioned
|
4042
|
-
# consumption that is returned in the response:
|
4138
|
+
# Determines the level of detail about either provisioned or on-demand
|
4139
|
+
# throughput consumption that is returned in the response:
|
4043
4140
|
#
|
4044
4141
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
4045
4142
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -6066,8 +6163,8 @@ module Aws::DynamoDB
|
|
6066
6163
|
# @return [String]
|
6067
6164
|
#
|
6068
6165
|
# @!attribute [rw] return_consumed_capacity
|
6069
|
-
# Determines the level of detail about provisioned
|
6070
|
-
# consumption that is returned in the response:
|
6166
|
+
# Determines the level of detail about either provisioned or on-demand
|
6167
|
+
# throughput consumption that is returned in the response:
|
6071
6168
|
#
|
6072
6169
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
6073
6170
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -6509,8 +6606,8 @@ module Aws::DynamoDB
|
|
6509
6606
|
# @return [Hash<String,Types::AttributeValue>]
|
6510
6607
|
#
|
6511
6608
|
# @!attribute [rw] return_consumed_capacity
|
6512
|
-
# Determines the level of detail about provisioned
|
6513
|
-
# consumption that is returned in the response:
|
6609
|
+
# Determines the level of detail about either provisioned or on-demand
|
6610
|
+
# throughput consumption that is returned in the response:
|
6514
6611
|
#
|
6515
6612
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
6516
6613
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -7048,6 +7145,10 @@ module Aws::DynamoDB
|
|
7048
7145
|
# property.
|
7049
7146
|
# @return [Time]
|
7050
7147
|
#
|
7148
|
+
# @!attribute [rw] replica_table_class_summary
|
7149
|
+
# Contains details of the table class.
|
7150
|
+
# @return [Types::TableClassSummary]
|
7151
|
+
#
|
7051
7152
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaDescription AWS API Documentation
|
7052
7153
|
#
|
7053
7154
|
class ReplicaDescription < Struct.new(
|
@@ -7058,7 +7159,8 @@ module Aws::DynamoDB
|
|
7058
7159
|
:kms_master_key_id,
|
7059
7160
|
:provisioned_throughput_override,
|
7060
7161
|
:global_secondary_indexes,
|
7061
|
-
:replica_inaccessible_date_time
|
7162
|
+
:replica_inaccessible_date_time,
|
7163
|
+
:replica_table_class_summary)
|
7062
7164
|
SENSITIVE = []
|
7063
7165
|
include Aws::Structure
|
7064
7166
|
end
|
@@ -7370,6 +7472,10 @@ module Aws::DynamoDB
|
|
7370
7472
|
# Replica global secondary index settings for the global table.
|
7371
7473
|
# @return [Array<Types::ReplicaGlobalSecondaryIndexSettingsDescription>]
|
7372
7474
|
#
|
7475
|
+
# @!attribute [rw] replica_table_class_summary
|
7476
|
+
# Contains details of the table class.
|
7477
|
+
# @return [Types::TableClassSummary]
|
7478
|
+
#
|
7373
7479
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaSettingsDescription AWS API Documentation
|
7374
7480
|
#
|
7375
7481
|
class ReplicaSettingsDescription < Struct.new(
|
@@ -7380,7 +7486,8 @@ module Aws::DynamoDB
|
|
7380
7486
|
:replica_provisioned_read_capacity_auto_scaling_settings,
|
7381
7487
|
:replica_provisioned_write_capacity_units,
|
7382
7488
|
:replica_provisioned_write_capacity_auto_scaling_settings,
|
7383
|
-
:replica_global_secondary_index_settings
|
7489
|
+
:replica_global_secondary_index_settings,
|
7490
|
+
:replica_table_class_summary)
|
7384
7491
|
SENSITIVE = []
|
7385
7492
|
include Aws::Structure
|
7386
7493
|
end
|
@@ -7430,6 +7537,7 @@ module Aws::DynamoDB
|
|
7430
7537
|
# },
|
7431
7538
|
# },
|
7432
7539
|
# ],
|
7540
|
+
# replica_table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
7433
7541
|
# }
|
7434
7542
|
#
|
7435
7543
|
# @!attribute [rw] region_name
|
@@ -7457,13 +7565,19 @@ module Aws::DynamoDB
|
|
7457
7565
|
# table that will be modified.
|
7458
7566
|
# @return [Array<Types::ReplicaGlobalSecondaryIndexSettingsUpdate>]
|
7459
7567
|
#
|
7568
|
+
# @!attribute [rw] replica_table_class
|
7569
|
+
# Replica-specific table class. If not specified, uses the source
|
7570
|
+
# table's table class.
|
7571
|
+
# @return [String]
|
7572
|
+
#
|
7460
7573
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaSettingsUpdate AWS API Documentation
|
7461
7574
|
#
|
7462
7575
|
class ReplicaSettingsUpdate < Struct.new(
|
7463
7576
|
:region_name,
|
7464
7577
|
:replica_provisioned_read_capacity_units,
|
7465
7578
|
:replica_provisioned_read_capacity_auto_scaling_settings_update,
|
7466
|
-
:replica_global_secondary_index_settings_update
|
7579
|
+
:replica_global_secondary_index_settings_update,
|
7580
|
+
:replica_table_class)
|
7467
7581
|
SENSITIVE = []
|
7468
7582
|
include Aws::Structure
|
7469
7583
|
end
|
@@ -7537,6 +7651,7 @@ module Aws::DynamoDB
|
|
7537
7651
|
# },
|
7538
7652
|
# },
|
7539
7653
|
# ],
|
7654
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
7540
7655
|
# },
|
7541
7656
|
# update: {
|
7542
7657
|
# region_name: "RegionName", # required
|
@@ -7552,6 +7667,7 @@ module Aws::DynamoDB
|
|
7552
7667
|
# },
|
7553
7668
|
# },
|
7554
7669
|
# ],
|
7670
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
7555
7671
|
# },
|
7556
7672
|
# delete: {
|
7557
7673
|
# region_name: "RegionName", # required
|
@@ -8156,8 +8272,8 @@ module Aws::DynamoDB
|
|
8156
8272
|
# @return [Hash<String,Types::AttributeValue>]
|
8157
8273
|
#
|
8158
8274
|
# @!attribute [rw] return_consumed_capacity
|
8159
|
-
# Determines the level of detail about provisioned
|
8160
|
-
# consumption that is returned in the response:
|
8275
|
+
# Determines the level of detail about either provisioned or on-demand
|
8276
|
+
# throughput consumption that is returned in the response:
|
8161
8277
|
#
|
8162
8278
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
8163
8279
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -8635,6 +8751,26 @@ module Aws::DynamoDB
|
|
8635
8751
|
include Aws::Structure
|
8636
8752
|
end
|
8637
8753
|
|
8754
|
+
# Contains details of the table class.
|
8755
|
+
#
|
8756
|
+
# @!attribute [rw] table_class
|
8757
|
+
# The table class of the specified table. Valid values are `STANDARD`
|
8758
|
+
# and `STANDARD_INFREQUENT_ACCESS`.
|
8759
|
+
# @return [String]
|
8760
|
+
#
|
8761
|
+
# @!attribute [rw] last_update_date_time
|
8762
|
+
# The date and time at which the table class was last updated.
|
8763
|
+
# @return [Time]
|
8764
|
+
#
|
8765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableClassSummary AWS API Documentation
|
8766
|
+
#
|
8767
|
+
class TableClassSummary < Struct.new(
|
8768
|
+
:table_class,
|
8769
|
+
:last_update_date_time)
|
8770
|
+
SENSITIVE = []
|
8771
|
+
include Aws::Structure
|
8772
|
+
end
|
8773
|
+
|
8638
8774
|
# Represents the properties of a table.
|
8639
8775
|
#
|
8640
8776
|
# @!attribute [rw] attribute_definitions
|
@@ -8924,6 +9060,10 @@ module Aws::DynamoDB
|
|
8924
9060
|
# Contains information about the table archive.
|
8925
9061
|
# @return [Types::ArchivalSummary]
|
8926
9062
|
#
|
9063
|
+
# @!attribute [rw] table_class_summary
|
9064
|
+
# Contains details of the table class.
|
9065
|
+
# @return [Types::TableClassSummary]
|
9066
|
+
#
|
8927
9067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription AWS API Documentation
|
8928
9068
|
#
|
8929
9069
|
class TableDescription < Struct.new(
|
@@ -8947,7 +9087,8 @@ module Aws::DynamoDB
|
|
8947
9087
|
:replicas,
|
8948
9088
|
:restore_summary,
|
8949
9089
|
:sse_description,
|
8950
|
-
:archival_summary
|
9090
|
+
:archival_summary,
|
9091
|
+
:table_class_summary)
|
8951
9092
|
SENSITIVE = []
|
8952
9093
|
include Aws::Structure
|
8953
9094
|
end
|
@@ -9380,8 +9521,8 @@ module Aws::DynamoDB
|
|
9380
9521
|
# @return [Array<Types::TransactWriteItem>]
|
9381
9522
|
#
|
9382
9523
|
# @!attribute [rw] return_consumed_capacity
|
9383
|
-
# Determines the level of detail about provisioned
|
9384
|
-
# consumption that is returned in the response:
|
9524
|
+
# Determines the level of detail about either provisioned or on-demand
|
9525
|
+
# throughput consumption that is returned in the response:
|
9385
9526
|
#
|
9386
9527
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
9387
9528
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -10025,6 +10166,7 @@ module Aws::DynamoDB
|
|
10025
10166
|
# },
|
10026
10167
|
# },
|
10027
10168
|
# ],
|
10169
|
+
# replica_table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10028
10170
|
# },
|
10029
10171
|
# ],
|
10030
10172
|
# }
|
@@ -10213,8 +10355,8 @@ module Aws::DynamoDB
|
|
10213
10355
|
# @return [String]
|
10214
10356
|
#
|
10215
10357
|
# @!attribute [rw] return_consumed_capacity
|
10216
|
-
# Determines the level of detail about provisioned
|
10217
|
-
# consumption that is returned in the response:
|
10358
|
+
# Determines the level of detail about either provisioned or on-demand
|
10359
|
+
# throughput consumption that is returned in the response:
|
10218
10360
|
#
|
10219
10361
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
10220
10362
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -10538,6 +10680,7 @@ module Aws::DynamoDB
|
|
10538
10680
|
# },
|
10539
10681
|
# },
|
10540
10682
|
# ],
|
10683
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10541
10684
|
# }
|
10542
10685
|
#
|
10543
10686
|
# @!attribute [rw] region_name
|
@@ -10561,13 +10704,19 @@ module Aws::DynamoDB
|
|
10561
10704
|
# Replica-specific global secondary index settings.
|
10562
10705
|
# @return [Array<Types::ReplicaGlobalSecondaryIndex>]
|
10563
10706
|
#
|
10707
|
+
# @!attribute [rw] table_class_override
|
10708
|
+
# Replica-specific table class. If not specified, uses the source
|
10709
|
+
# table's table class.
|
10710
|
+
# @return [String]
|
10711
|
+
#
|
10564
10712
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateReplicationGroupMemberAction AWS API Documentation
|
10565
10713
|
#
|
10566
10714
|
class UpdateReplicationGroupMemberAction < Struct.new(
|
10567
10715
|
:region_name,
|
10568
10716
|
:kms_master_key_id,
|
10569
10717
|
:provisioned_throughput_override,
|
10570
|
-
:global_secondary_indexes
|
10718
|
+
:global_secondary_indexes,
|
10719
|
+
:table_class_override)
|
10571
10720
|
SENSITIVE = []
|
10572
10721
|
include Aws::Structure
|
10573
10722
|
end
|
@@ -10646,6 +10795,7 @@ module Aws::DynamoDB
|
|
10646
10795
|
# },
|
10647
10796
|
# },
|
10648
10797
|
# ],
|
10798
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10649
10799
|
# },
|
10650
10800
|
# update: {
|
10651
10801
|
# region_name: "RegionName", # required
|
@@ -10661,12 +10811,14 @@ module Aws::DynamoDB
|
|
10661
10811
|
# },
|
10662
10812
|
# },
|
10663
10813
|
# ],
|
10814
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10664
10815
|
# },
|
10665
10816
|
# delete: {
|
10666
10817
|
# region_name: "RegionName", # required
|
10667
10818
|
# },
|
10668
10819
|
# },
|
10669
10820
|
# ],
|
10821
|
+
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10670
10822
|
# }
|
10671
10823
|
#
|
10672
10824
|
# @!attribute [rw] attribute_definitions
|
@@ -10757,6 +10909,11 @@ module Aws::DynamoDB
|
|
10757
10909
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
10758
10910
|
# @return [Array<Types::ReplicationGroupUpdate>]
|
10759
10911
|
#
|
10912
|
+
# @!attribute [rw] table_class
|
10913
|
+
# The table class of the table to be updated. Valid values are
|
10914
|
+
# `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
10915
|
+
# @return [String]
|
10916
|
+
#
|
10760
10917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput AWS API Documentation
|
10761
10918
|
#
|
10762
10919
|
class UpdateTableInput < Struct.new(
|
@@ -10767,7 +10924,8 @@ module Aws::DynamoDB
|
|
10767
10924
|
:global_secondary_index_updates,
|
10768
10925
|
:stream_specification,
|
10769
10926
|
:sse_specification,
|
10770
|
-
:replica_updates
|
10927
|
+
:replica_updates,
|
10928
|
+
:table_class)
|
10771
10929
|
SENSITIVE = []
|
10772
10930
|
include Aws::Structure
|
10773
10931
|
end
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
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.70.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: 2021-
|
11
|
+
date: 2021-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.125.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|