aws-sdk-dynamodb 1.63.0 → 1.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +207 -73
- data/lib/aws-sdk-dynamodb/client_api.rb +6 -0
- data/lib/aws-sdk-dynamodb/resource.rb +4 -4
- data/lib/aws-sdk-dynamodb/table.rb +21 -19
- data/lib/aws-sdk-dynamodb/types.rb +187 -104
- data/lib/aws-sdk-dynamodb.rb +1 -1
- metadata +4 -4
@@ -22,7 +22,7 @@ module Aws::DynamoDB
|
|
22
22
|
# value is:
|
23
23
|
#
|
24
24
|
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The table was archived due
|
25
|
-
# to the table's
|
25
|
+
# to the table's KMS key being inaccessible for more than seven
|
26
26
|
# days. An On-Demand backup was created at the archival time.
|
27
27
|
#
|
28
28
|
# ^
|
@@ -625,7 +625,7 @@ module Aws::DynamoDB
|
|
625
625
|
# you to restore the deleted table to the state it was in just
|
626
626
|
# before the point of deletion.
|
627
627
|
#
|
628
|
-
# * `AWS_BACKUP` - On-demand backup created by you from
|
628
|
+
# * `AWS_BACKUP` - On-demand backup created by you from Backup
|
629
629
|
# service.
|
630
630
|
# @return [String]
|
631
631
|
#
|
@@ -731,7 +731,7 @@ module Aws::DynamoDB
|
|
731
731
|
# you to restore the deleted table to the state it was in just
|
732
732
|
# before the point of deletion.
|
733
733
|
#
|
734
|
-
# * `AWS_BACKUP` - On-demand backup created by you from
|
734
|
+
# * `AWS_BACKUP` - On-demand backup created by you from Backup
|
735
735
|
# service.
|
736
736
|
# @return [String]
|
737
737
|
#
|
@@ -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
|
@@ -1942,11 +1970,11 @@ module Aws::DynamoDB
|
|
1942
1970
|
# @return [String]
|
1943
1971
|
#
|
1944
1972
|
# @!attribute [rw] kms_master_key_id
|
1945
|
-
# The
|
1946
|
-
#
|
1947
|
-
#
|
1948
|
-
#
|
1949
|
-
#
|
1973
|
+
# The KMS key that should be used for KMS encryption in the new
|
1974
|
+
# replica. To specify a key, use its key ID, Amazon Resource Name
|
1975
|
+
# (ARN), alias name, or alias ARN. Note that you should only provide
|
1976
|
+
# this parameter if the key is different from the default DynamoDB KMS
|
1977
|
+
# key `alias/aws/dynamodb`.
|
1950
1978
|
# @return [String]
|
1951
1979
|
#
|
1952
1980
|
# @!attribute [rw] provisioned_throughput_override
|
@@ -2488,8 +2516,8 @@ module Aws::DynamoDB
|
|
2488
2516
|
# @return [String]
|
2489
2517
|
#
|
2490
2518
|
# @!attribute [rw] return_consumed_capacity
|
2491
|
-
# Determines the level of detail about provisioned
|
2492
|
-
# consumption that is returned in the response:
|
2519
|
+
# Determines the level of detail about either provisioned or on-demand
|
2520
|
+
# throughput consumption that is returned in the response:
|
2493
2521
|
#
|
2494
2522
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
2495
2523
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -2895,11 +2923,11 @@ module Aws::DynamoDB
|
|
2895
2923
|
# @return [String]
|
2896
2924
|
#
|
2897
2925
|
# @!attribute [rw] contributor_insights_rule_list
|
2898
|
-
# List of names of the associated
|
2926
|
+
# List of names of the associated contributor insights rules.
|
2899
2927
|
# @return [Array<String>]
|
2900
2928
|
#
|
2901
2929
|
# @!attribute [rw] contributor_insights_status
|
2902
|
-
# Current
|
2930
|
+
# Current status of contributor insights.
|
2903
2931
|
# @return [String]
|
2904
2932
|
#
|
2905
2933
|
# @!attribute [rw] last_update_date_time
|
@@ -2907,7 +2935,7 @@ module Aws::DynamoDB
|
|
2907
2935
|
# @return [Time]
|
2908
2936
|
#
|
2909
2937
|
# @!attribute [rw] failure_exception
|
2910
|
-
# Returns information about the last failure that encountered.
|
2938
|
+
# Returns information about the last failure that was encountered.
|
2911
2939
|
#
|
2912
2940
|
# The most common exceptions for a FAILED status are:
|
2913
2941
|
#
|
@@ -3273,6 +3301,7 @@ module Aws::DynamoDB
|
|
3273
3301
|
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3274
3302
|
# consistent_read: false,
|
3275
3303
|
# next_token: "PartiQLNextToken",
|
3304
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3276
3305
|
# }
|
3277
3306
|
#
|
3278
3307
|
# @!attribute [rw] statement
|
@@ -3294,20 +3323,41 @@ module Aws::DynamoDB
|
|
3294
3323
|
# in the statement response.
|
3295
3324
|
# @return [String]
|
3296
3325
|
#
|
3326
|
+
# @!attribute [rw] return_consumed_capacity
|
3327
|
+
# Determines the level of detail about either provisioned or on-demand
|
3328
|
+
# throughput consumption that is returned in the response:
|
3329
|
+
#
|
3330
|
+
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
3331
|
+
# for the operation, together with `ConsumedCapacity` for each table
|
3332
|
+
# and secondary index that was accessed.
|
3333
|
+
#
|
3334
|
+
# Note that some operations, such as `GetItem` and `BatchGetItem`,
|
3335
|
+
# do not access any indexes at all. In these cases, specifying
|
3336
|
+
# `INDEXES` will only return `ConsumedCapacity` information for
|
3337
|
+
# table(s).
|
3338
|
+
#
|
3339
|
+
# * `TOTAL` - The response includes only the aggregate
|
3340
|
+
# `ConsumedCapacity` for the operation.
|
3341
|
+
#
|
3342
|
+
# * `NONE` - No `ConsumedCapacity` details are included in the
|
3343
|
+
# response.
|
3344
|
+
# @return [String]
|
3345
|
+
#
|
3297
3346
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementInput AWS API Documentation
|
3298
3347
|
#
|
3299
3348
|
class ExecuteStatementInput < Struct.new(
|
3300
3349
|
:statement,
|
3301
3350
|
:parameters,
|
3302
3351
|
:consistent_read,
|
3303
|
-
:next_token
|
3352
|
+
:next_token,
|
3353
|
+
:return_consumed_capacity)
|
3304
3354
|
SENSITIVE = []
|
3305
3355
|
include Aws::Structure
|
3306
3356
|
end
|
3307
3357
|
|
3308
3358
|
# @!attribute [rw] items
|
3309
3359
|
# If a read operation was used, this property will contain the result
|
3310
|
-
# of the
|
3360
|
+
# of the read operation; a map of attribute names and their values.
|
3311
3361
|
# For the write operations this value will be empty.
|
3312
3362
|
# @return [Array<Hash<String,Types::AttributeValue>>]
|
3313
3363
|
#
|
@@ -3318,11 +3368,25 @@ module Aws::DynamoDB
|
|
3318
3368
|
# results.
|
3319
3369
|
# @return [String]
|
3320
3370
|
#
|
3371
|
+
# @!attribute [rw] consumed_capacity
|
3372
|
+
# The capacity units consumed by an operation. The data returned
|
3373
|
+
# includes the total provisioned throughput consumed, along with
|
3374
|
+
# statistics for the table and any indexes involved in the operation.
|
3375
|
+
# `ConsumedCapacity` is only returned if the request asked for it. For
|
3376
|
+
# more information, see [Provisioned Throughput][1] in the *Amazon
|
3377
|
+
# DynamoDB Developer Guide*.
|
3378
|
+
#
|
3379
|
+
#
|
3380
|
+
#
|
3381
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
3382
|
+
# @return [Types::ConsumedCapacity]
|
3383
|
+
#
|
3321
3384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementOutput AWS API Documentation
|
3322
3385
|
#
|
3323
3386
|
class ExecuteStatementOutput < Struct.new(
|
3324
3387
|
:items,
|
3325
|
-
:next_token
|
3388
|
+
:next_token,
|
3389
|
+
:consumed_capacity)
|
3326
3390
|
SENSITIVE = []
|
3327
3391
|
include Aws::Structure
|
3328
3392
|
end
|
@@ -3338,6 +3402,7 @@ module Aws::DynamoDB
|
|
3338
3402
|
# },
|
3339
3403
|
# ],
|
3340
3404
|
# client_request_token: "ClientRequestToken",
|
3405
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3341
3406
|
# }
|
3342
3407
|
#
|
3343
3408
|
# @!attribute [rw] transact_statements
|
@@ -3352,11 +3417,23 @@ module Aws::DynamoDB
|
|
3352
3417
|
# not need to pass this option.
|
3353
3418
|
# @return [String]
|
3354
3419
|
#
|
3420
|
+
# @!attribute [rw] return_consumed_capacity
|
3421
|
+
# Determines the level of detail about either provisioned or on-demand
|
3422
|
+
# throughput consumption that is returned in the response. For more
|
3423
|
+
# information, see [TransactGetItems][1] and [TransactWriteItems][2].
|
3424
|
+
#
|
3425
|
+
#
|
3426
|
+
#
|
3427
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html
|
3428
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html
|
3429
|
+
# @return [String]
|
3430
|
+
#
|
3355
3431
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionInput AWS API Documentation
|
3356
3432
|
#
|
3357
3433
|
class ExecuteTransactionInput < Struct.new(
|
3358
3434
|
:transact_statements,
|
3359
|
-
:client_request_token
|
3435
|
+
:client_request_token,
|
3436
|
+
:return_consumed_capacity)
|
3360
3437
|
SENSITIVE = []
|
3361
3438
|
include Aws::Structure
|
3362
3439
|
end
|
@@ -3365,10 +3442,16 @@ module Aws::DynamoDB
|
|
3365
3442
|
# The response to a PartiQL transaction.
|
3366
3443
|
# @return [Array<Types::ItemResponse>]
|
3367
3444
|
#
|
3445
|
+
# @!attribute [rw] consumed_capacity
|
3446
|
+
# The capacity units consumed by the entire operation. The values of
|
3447
|
+
# the list are ordered according to the ordering of the statements.
|
3448
|
+
# @return [Array<Types::ConsumedCapacity>]
|
3449
|
+
#
|
3368
3450
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionOutput AWS API Documentation
|
3369
3451
|
#
|
3370
3452
|
class ExecuteTransactionOutput < Struct.new(
|
3371
|
-
:responses
|
3453
|
+
:responses,
|
3454
|
+
:consumed_capacity)
|
3372
3455
|
SENSITIVE = []
|
3373
3456
|
include Aws::Structure
|
3374
3457
|
end
|
@@ -3711,8 +3794,8 @@ module Aws::DynamoDB
|
|
3711
3794
|
# @return [String]
|
3712
3795
|
#
|
3713
3796
|
# @!attribute [rw] s3_bucket_owner
|
3714
|
-
# The ID of the
|
3715
|
-
# export.
|
3797
|
+
# The ID of the Amazon Web Services account that owns the bucket
|
3798
|
+
# containing the export.
|
3716
3799
|
# @return [String]
|
3717
3800
|
#
|
3718
3801
|
# @!attribute [rw] s3_prefix
|
@@ -3726,12 +3809,12 @@ module Aws::DynamoDB
|
|
3726
3809
|
#
|
3727
3810
|
# * `AES256` - server-side encryption with Amazon S3 managed keys
|
3728
3811
|
#
|
3729
|
-
# * `KMS` - server-side encryption with
|
3812
|
+
# * `KMS` - server-side encryption with KMS managed keys
|
3730
3813
|
# @return [String]
|
3731
3814
|
#
|
3732
3815
|
# @!attribute [rw] s3_sse_kms_key_id
|
3733
|
-
# The ID of the
|
3734
|
-
#
|
3816
|
+
# The ID of the KMS managed key used to encrypt the S3 bucket where
|
3817
|
+
# export data is stored (if applicable).
|
3735
3818
|
# @return [String]
|
3736
3819
|
#
|
3737
3820
|
# @!attribute [rw] failure_code
|
@@ -3862,8 +3945,8 @@ module Aws::DynamoDB
|
|
3862
3945
|
# @return [String]
|
3863
3946
|
#
|
3864
3947
|
# @!attribute [rw] s3_bucket_owner
|
3865
|
-
# The ID of the
|
3866
|
-
# stored in.
|
3948
|
+
# The ID of the Amazon Web Services account that owns the bucket the
|
3949
|
+
# export will be stored in.
|
3867
3950
|
# @return [String]
|
3868
3951
|
#
|
3869
3952
|
# @!attribute [rw] s3_prefix
|
@@ -3877,12 +3960,12 @@ module Aws::DynamoDB
|
|
3877
3960
|
#
|
3878
3961
|
# * `AES256` - server-side encryption with Amazon S3 managed keys
|
3879
3962
|
#
|
3880
|
-
# * `KMS` - server-side encryption with
|
3963
|
+
# * `KMS` - server-side encryption with KMS managed keys
|
3881
3964
|
# @return [String]
|
3882
3965
|
#
|
3883
3966
|
# @!attribute [rw] s3_sse_kms_key_id
|
3884
|
-
# The ID of the
|
3885
|
-
#
|
3967
|
+
# The ID of the KMS managed key used to encrypt the S3 bucket where
|
3968
|
+
# export data will be stored (if applicable).
|
3886
3969
|
# @return [String]
|
3887
3970
|
#
|
3888
3971
|
# @!attribute [rw] export_format
|
@@ -4038,8 +4121,8 @@ module Aws::DynamoDB
|
|
4038
4121
|
# @return [Boolean]
|
4039
4122
|
#
|
4040
4123
|
# @!attribute [rw] return_consumed_capacity
|
4041
|
-
# Determines the level of detail about provisioned
|
4042
|
-
# consumption that is returned in the response:
|
4124
|
+
# Determines the level of detail about either provisioned or on-demand
|
4125
|
+
# throughput consumption that is returned in the response:
|
4043
4126
|
#
|
4044
4127
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
4045
4128
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -5857,12 +5940,12 @@ module Aws::DynamoDB
|
|
5857
5940
|
include Aws::Structure
|
5858
5941
|
end
|
5859
5942
|
|
5860
|
-
# Your request rate is too high. The
|
5861
|
-
# retry requests that receive this exception.
|
5862
|
-
# successful, unless your retry queue is too
|
5863
|
-
# frequency of requests and use exponential
|
5864
|
-
# information, go to [Error Retries and Exponential
|
5865
|
-
# *Amazon DynamoDB Developer Guide*.
|
5943
|
+
# Your request rate is too high. The Amazon Web Services SDKs for
|
5944
|
+
# DynamoDB automatically retry requests that receive this exception.
|
5945
|
+
# Your request is eventually successful, unless your retry queue is too
|
5946
|
+
# large to finish. Reduce the frequency of requests and use exponential
|
5947
|
+
# backoff. For more information, go to [Error Retries and Exponential
|
5948
|
+
# Backoff][1] in the *Amazon DynamoDB Developer Guide*.
|
5866
5949
|
#
|
5867
5950
|
#
|
5868
5951
|
#
|
@@ -6056,6 +6139,8 @@ module Aws::DynamoDB
|
|
6056
6139
|
# * `ALL_OLD` - If `PutItem` overwrote an attribute name-value pair,
|
6057
6140
|
# then the content of the old item is returned.
|
6058
6141
|
#
|
6142
|
+
# The values returned are strongly consistent.
|
6143
|
+
#
|
6059
6144
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
6060
6145
|
# however, `PutItem` does not recognize any values other than `NONE`
|
6061
6146
|
# or `ALL_OLD`.
|
@@ -6064,8 +6149,8 @@ module Aws::DynamoDB
|
|
6064
6149
|
# @return [String]
|
6065
6150
|
#
|
6066
6151
|
# @!attribute [rw] return_consumed_capacity
|
6067
|
-
# Determines the level of detail about provisioned
|
6068
|
-
# consumption that is returned in the response:
|
6152
|
+
# Determines the level of detail about either provisioned or on-demand
|
6153
|
+
# throughput consumption that is returned in the response:
|
6069
6154
|
#
|
6070
6155
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
6071
6156
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -6507,8 +6592,8 @@ module Aws::DynamoDB
|
|
6507
6592
|
# @return [Hash<String,Types::AttributeValue>]
|
6508
6593
|
#
|
6509
6594
|
# @!attribute [rw] return_consumed_capacity
|
6510
|
-
# Determines the level of detail about provisioned
|
6511
|
-
# consumption that is returned in the response:
|
6595
|
+
# Determines the level of detail about either provisioned or on-demand
|
6596
|
+
# throughput consumption that is returned in the response:
|
6512
6597
|
#
|
6513
6598
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
6514
6599
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -6997,20 +7082,20 @@ module Aws::DynamoDB
|
|
6997
7082
|
#
|
6998
7083
|
# * `ACTIVE` - The replica is ready for use.
|
6999
7084
|
#
|
7000
|
-
# * `REGION_DISABLED` - The replica is inaccessible because the
|
7001
|
-
# Region has been disabled.
|
7085
|
+
# * `REGION_DISABLED` - The replica is inaccessible because the Amazon
|
7086
|
+
# Web Services Region has been disabled.
|
7002
7087
|
#
|
7003
|
-
# <note markdown="1"> If the
|
7004
|
-
# DynamoDB will remove this replica from the
|
7005
|
-
# replica will not be deleted and replication
|
7006
|
-
# this region.
|
7088
|
+
# <note markdown="1"> If the Amazon Web Services Region remains inaccessible for more
|
7089
|
+
# than 20 hours, DynamoDB will remove this replica from the
|
7090
|
+
# replication group. The replica will not be deleted and replication
|
7091
|
+
# will stop from and to this region.
|
7007
7092
|
#
|
7008
7093
|
# </note>
|
7009
7094
|
#
|
7010
|
-
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The
|
7095
|
+
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The KMS key used to
|
7011
7096
|
# encrypt the table is inaccessible.
|
7012
7097
|
#
|
7013
|
-
# <note markdown="1"> If the
|
7098
|
+
# <note markdown="1"> If the KMS key remains inaccessible for more than 20 hours,
|
7014
7099
|
# DynamoDB will remove this replica from the replication group. The
|
7015
7100
|
# replica will not be deleted and replication will stop from and to
|
7016
7101
|
# this region.
|
@@ -7028,8 +7113,7 @@ module Aws::DynamoDB
|
|
7028
7113
|
# @return [String]
|
7029
7114
|
#
|
7030
7115
|
# @!attribute [rw] kms_master_key_id
|
7031
|
-
# The
|
7032
|
-
# used for AWS KMS encryption.
|
7116
|
+
# The KMS key of the replica that will be used for KMS encryption.
|
7033
7117
|
# @return [String]
|
7034
7118
|
#
|
7035
7119
|
# @!attribute [rw] provisioned_throughput_override
|
@@ -7580,7 +7664,7 @@ module Aws::DynamoDB
|
|
7580
7664
|
end
|
7581
7665
|
|
7582
7666
|
# Throughput exceeds the current throughput quota for your account.
|
7583
|
-
# Please contact
|
7667
|
+
# Please contact [Amazon Web Services Support][1] to request a quota
|
7584
7668
|
# increase.
|
7585
7669
|
#
|
7586
7670
|
#
|
@@ -7916,25 +8000,24 @@ module Aws::DynamoDB
|
|
7916
8000
|
# @!attribute [rw] sse_type
|
7917
8001
|
# Server-side encryption type. The only supported value is:
|
7918
8002
|
#
|
7919
|
-
# * `KMS` - Server-side encryption that uses
|
7920
|
-
#
|
7921
|
-
#
|
8003
|
+
# * `KMS` - Server-side encryption that uses Key Management Service.
|
8004
|
+
# The key is stored in your account and is managed by KMS (KMS
|
8005
|
+
# charges apply).
|
7922
8006
|
#
|
7923
8007
|
# ^
|
7924
8008
|
# @return [String]
|
7925
8009
|
#
|
7926
8010
|
# @!attribute [rw] kms_master_key_arn
|
7927
|
-
# The
|
7928
|
-
# encryption.
|
8011
|
+
# The KMS key ARN used for the KMS encryption.
|
7929
8012
|
# @return [String]
|
7930
8013
|
#
|
7931
8014
|
# @!attribute [rw] inaccessible_encryption_date_time
|
7932
8015
|
# Indicates the time, in UNIX epoch date format, when DynamoDB
|
7933
|
-
# detected that the table's
|
7934
|
-
#
|
7935
|
-
#
|
7936
|
-
#
|
7937
|
-
#
|
8016
|
+
# detected that the table's KMS key was inaccessible. This attribute
|
8017
|
+
# will automatically be cleared when DynamoDB detects that the
|
8018
|
+
# table's KMS key is accessible again. DynamoDB will initiate the
|
8019
|
+
# table archival process when table's KMS key remains inaccessible
|
8020
|
+
# for more than seven days from this date.
|
7938
8021
|
# @return [Time]
|
7939
8022
|
#
|
7940
8023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSEDescription AWS API Documentation
|
@@ -7960,29 +8043,29 @@ module Aws::DynamoDB
|
|
7960
8043
|
# }
|
7961
8044
|
#
|
7962
8045
|
# @!attribute [rw] enabled
|
7963
|
-
# Indicates whether server-side encryption is done using an
|
7964
|
-
# managed
|
7965
|
-
# encryption type is set to `KMS` and an
|
7966
|
-
# KMS charges apply). If disabled
|
7967
|
-
# server-side encryption is set to
|
8046
|
+
# Indicates whether server-side encryption is done using an Amazon Web
|
8047
|
+
# Services managed key or an Amazon Web Services owned key. If enabled
|
8048
|
+
# (true), server-side encryption type is set to `KMS` and an Amazon
|
8049
|
+
# Web Services managed key is used (KMS charges apply). If disabled
|
8050
|
+
# (false) or not specified, server-side encryption is set to Amazon
|
8051
|
+
# Web Services owned key.
|
7968
8052
|
# @return [Boolean]
|
7969
8053
|
#
|
7970
8054
|
# @!attribute [rw] sse_type
|
7971
8055
|
# Server-side encryption type. The only supported value is:
|
7972
8056
|
#
|
7973
|
-
# * `KMS` - Server-side encryption that uses
|
7974
|
-
#
|
7975
|
-
#
|
8057
|
+
# * `KMS` - Server-side encryption that uses Key Management Service.
|
8058
|
+
# The key is stored in your account and is managed by KMS (KMS
|
8059
|
+
# charges apply).
|
7976
8060
|
#
|
7977
8061
|
# ^
|
7978
8062
|
# @return [String]
|
7979
8063
|
#
|
7980
8064
|
# @!attribute [rw] kms_master_key_id
|
7981
|
-
# The
|
7982
|
-
#
|
7983
|
-
#
|
7984
|
-
#
|
7985
|
-
# DynamoDB customer master key alias/aws/dynamodb.
|
8065
|
+
# The KMS key that should be used for the KMS encryption. To specify a
|
8066
|
+
# key, use its key ID, Amazon Resource Name (ARN), alias name, or
|
8067
|
+
# alias ARN. Note that you should only provide this parameter if the
|
8068
|
+
# key is different from the default DynamoDB key `alias/aws/dynamodb`.
|
7986
8069
|
# @return [String]
|
7987
8070
|
#
|
7988
8071
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSESpecification AWS API Documentation
|
@@ -8156,8 +8239,8 @@ module Aws::DynamoDB
|
|
8156
8239
|
# @return [Hash<String,Types::AttributeValue>]
|
8157
8240
|
#
|
8158
8241
|
# @!attribute [rw] return_consumed_capacity
|
8159
|
-
# Determines the level of detail about provisioned
|
8160
|
-
# consumption that is returned in the response:
|
8242
|
+
# Determines the level of detail about either provisioned or on-demand
|
8243
|
+
# throughput consumption that is returned in the response:
|
8161
8244
|
#
|
8162
8245
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
8163
8246
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -8695,11 +8778,11 @@ module Aws::DynamoDB
|
|
8695
8778
|
#
|
8696
8779
|
# * `ACTIVE` - The table is ready for use.
|
8697
8780
|
#
|
8698
|
-
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The
|
8781
|
+
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The KMS key used to
|
8699
8782
|
# encrypt the table in inaccessible. Table operations may fail due
|
8700
|
-
# to failure to use the
|
8701
|
-
#
|
8702
|
-
#
|
8783
|
+
# to failure to use the KMS key. DynamoDB will initiate the table
|
8784
|
+
# archival process when a table's KMS key remains inaccessible for
|
8785
|
+
# more than seven days.
|
8703
8786
|
#
|
8704
8787
|
# * `ARCHIVING` - The table is being archived. Operations are not
|
8705
8788
|
# allowed until archival is complete.
|
@@ -8886,7 +8969,7 @@ module Aws::DynamoDB
|
|
8886
8969
|
# might have the same timestamp. However, the combination of the
|
8887
8970
|
# following three elements is guaranteed to be unique:
|
8888
8971
|
#
|
8889
|
-
# *
|
8972
|
+
# * Amazon Web Services customer ID
|
8890
8973
|
#
|
8891
8974
|
# * Table name
|
8892
8975
|
#
|
@@ -8900,7 +8983,7 @@ module Aws::DynamoDB
|
|
8900
8983
|
#
|
8901
8984
|
# @!attribute [rw] global_table_version
|
8902
8985
|
# Represents the version of [global tables][1] in use, if the table is
|
8903
|
-
# replicated across
|
8986
|
+
# replicated across Amazon Web Services Regions.
|
8904
8987
|
#
|
8905
8988
|
#
|
8906
8989
|
#
|
@@ -8983,11 +9066,11 @@ module Aws::DynamoDB
|
|
8983
9066
|
# Describes a tag. A tag is a key-value pair. You can add up to 50 tags
|
8984
9067
|
# to a single DynamoDB table.
|
8985
9068
|
#
|
8986
|
-
#
|
8987
|
-
# `aws:` prefix, which the user cannot assign.
|
8988
|
-
# not count towards the tag limit of 50.
|
8989
|
-
# the prefix `user:` in the Cost Allocation
|
8990
|
-
# the application of a tag.
|
9069
|
+
# Amazon Web Services-assigned tag names and values are automatically
|
9070
|
+
# assigned the `aws:` prefix, which the user cannot assign. Amazon Web
|
9071
|
+
# Services-assigned tag names do not count towards the tag limit of 50.
|
9072
|
+
# User-assigned tag names have the prefix `user:` in the Cost Allocation
|
9073
|
+
# Report. You cannot backdate the application of a tag.
|
8991
9074
|
#
|
8992
9075
|
# For an overview on tagging DynamoDB resources, see [Tagging for
|
8993
9076
|
# DynamoDB][1] in the *Amazon DynamoDB Developer Guide*.
|
@@ -9375,13 +9458,13 @@ module Aws::DynamoDB
|
|
9375
9458
|
# An ordered array of up to 25 `TransactWriteItem` objects, each of
|
9376
9459
|
# which contains a `ConditionCheck`, `Put`, `Update`, or `Delete`
|
9377
9460
|
# object. These can operate on items in different tables, but the
|
9378
|
-
# tables must reside in the same
|
9379
|
-
# them can operate on the same item.
|
9461
|
+
# tables must reside in the same Amazon Web Services account and
|
9462
|
+
# Region, and no two of them can operate on the same item.
|
9380
9463
|
# @return [Array<Types::TransactWriteItem>]
|
9381
9464
|
#
|
9382
9465
|
# @!attribute [rw] return_consumed_capacity
|
9383
|
-
# Determines the level of detail about provisioned
|
9384
|
-
# consumption that is returned in the response:
|
9466
|
+
# Determines the level of detail about either provisioned or on-demand
|
9467
|
+
# throughput consumption that is returned in the response:
|
9385
9468
|
#
|
9386
9469
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
9387
9470
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -10213,8 +10296,8 @@ module Aws::DynamoDB
|
|
10213
10296
|
# @return [String]
|
10214
10297
|
#
|
10215
10298
|
# @!attribute [rw] return_consumed_capacity
|
10216
|
-
# Determines the level of detail about provisioned
|
10217
|
-
# consumption that is returned in the response:
|
10299
|
+
# Determines the level of detail about either provisioned or on-demand
|
10300
|
+
# throughput consumption that is returned in the response:
|
10218
10301
|
#
|
10219
10302
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
10220
10303
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -10545,11 +10628,11 @@ module Aws::DynamoDB
|
|
10545
10628
|
# @return [String]
|
10546
10629
|
#
|
10547
10630
|
# @!attribute [rw] kms_master_key_id
|
10548
|
-
# The
|
10549
|
-
#
|
10550
|
-
#
|
10551
|
-
#
|
10552
|
-
#
|
10631
|
+
# The KMS key of the replica that should be used for KMS encryption.
|
10632
|
+
# To specify a key, use its key ID, Amazon Resource Name (ARN), alias
|
10633
|
+
# name, or alias ARN. Note that you should only provide this parameter
|
10634
|
+
# if the key is different from the default DynamoDB KMS key
|
10635
|
+
# `alias/aws/dynamodb`.
|
10553
10636
|
# @return [String]
|
10554
10637
|
#
|
10555
10638
|
# @!attribute [rw] provisioned_throughput_override
|
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.67.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-11-23 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.122.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.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|