aws-sdk-dynamodb 1.60.0 → 1.74.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 AWS KMS key being inaccessible for more than seven
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 AWS Backup
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 AWS Backup
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 throughput
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 throughput
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
@@ -1942,11 +1971,11 @@ module Aws::DynamoDB
1942
1971
  # @return [String]
1943
1972
  #
1944
1973
  # @!attribute [rw] kms_master_key_id
1945
- # The AWS KMS customer master key (CMK) that should be used for AWS
1946
- # KMS encryption in the new replica. To specify a CMK, use its key ID,
1947
- # Amazon Resource Name (ARN), alias name, or alias ARN. Note that you
1948
- # should only provide this parameter if the key is different from the
1949
- # default DynamoDB KMS master key alias/aws/dynamodb.
1974
+ # The KMS key that should be used for KMS encryption in the new
1975
+ # replica. To specify a key, use its key ID, Amazon Resource Name
1976
+ # (ARN), alias name, or alias ARN. Note that you should only provide
1977
+ # this parameter if the key is different from the default DynamoDB KMS
1978
+ # key `alias/aws/dynamodb`.
1950
1979
  # @return [String]
1951
1980
  #
1952
1981
  # @!attribute [rw] provisioned_throughput_override
@@ -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 throughput
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
@@ -2895,11 +2937,11 @@ module Aws::DynamoDB
2895
2937
  # @return [String]
2896
2938
  #
2897
2939
  # @!attribute [rw] contributor_insights_rule_list
2898
- # List of names of the associated Alpine rules.
2940
+ # List of names of the associated contributor insights rules.
2899
2941
  # @return [Array<String>]
2900
2942
  #
2901
2943
  # @!attribute [rw] contributor_insights_status
2902
- # Current Status contributor insights.
2944
+ # Current status of contributor insights.
2903
2945
  # @return [String]
2904
2946
  #
2905
2947
  # @!attribute [rw] last_update_date_time
@@ -2907,7 +2949,7 @@ module Aws::DynamoDB
2907
2949
  # @return [Time]
2908
2950
  #
2909
2951
  # @!attribute [rw] failure_exception
2910
- # Returns information about the last failure that encountered.
2952
+ # Returns information about the last failure that was encountered.
2911
2953
  #
2912
2954
  # The most common exceptions for a FAILED status are:
2913
2955
  #
@@ -3273,6 +3315,8 @@ 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
3319
+ # limit: 1,
3276
3320
  # }
3277
3321
  #
3278
3322
  # @!attribute [rw] statement
@@ -3294,20 +3338,55 @@ module Aws::DynamoDB
3294
3338
  # in the statement response.
3295
3339
  # @return [String]
3296
3340
  #
3341
+ # @!attribute [rw] return_consumed_capacity
3342
+ # Determines the level of detail about either provisioned or on-demand
3343
+ # throughput consumption that is returned in the response:
3344
+ #
3345
+ # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
3346
+ # for the operation, together with `ConsumedCapacity` for each table
3347
+ # and secondary index that was accessed.
3348
+ #
3349
+ # Note that some operations, such as `GetItem` and `BatchGetItem`,
3350
+ # do not access any indexes at all. In these cases, specifying
3351
+ # `INDEXES` will only return `ConsumedCapacity` information for
3352
+ # table(s).
3353
+ #
3354
+ # * `TOTAL` - The response includes only the aggregate
3355
+ # `ConsumedCapacity` for the operation.
3356
+ #
3357
+ # * `NONE` - No `ConsumedCapacity` details are included in the
3358
+ # response.
3359
+ # @return [String]
3360
+ #
3361
+ # @!attribute [rw] limit
3362
+ # The maximum number of items to evaluate (not necessarily the number
3363
+ # of matching items). If DynamoDB processes the number of items up to
3364
+ # the limit while processing the results, it stops the operation and
3365
+ # returns the matching values up to that point, along with a key in
3366
+ # `LastEvaluatedKey` to apply in a subsequent operation so you can
3367
+ # pick up where you left off. Also, if the processed dataset size
3368
+ # exceeds 1 MB before DynamoDB reaches this limit, it stops the
3369
+ # operation and returns the matching values up to the limit, and a key
3370
+ # in `LastEvaluatedKey` to apply in a subsequent operation to continue
3371
+ # the operation.
3372
+ # @return [Integer]
3373
+ #
3297
3374
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementInput AWS API Documentation
3298
3375
  #
3299
3376
  class ExecuteStatementInput < Struct.new(
3300
3377
  :statement,
3301
3378
  :parameters,
3302
3379
  :consistent_read,
3303
- :next_token)
3380
+ :next_token,
3381
+ :return_consumed_capacity,
3382
+ :limit)
3304
3383
  SENSITIVE = []
3305
3384
  include Aws::Structure
3306
3385
  end
3307
3386
 
3308
3387
  # @!attribute [rw] items
3309
3388
  # If a read operation was used, this property will contain the result
3310
- # of the reade operation; a map of attribute names and their values.
3389
+ # of the read operation; a map of attribute names and their values.
3311
3390
  # For the write operations this value will be empty.
3312
3391
  # @return [Array<Hash<String,Types::AttributeValue>>]
3313
3392
  #
@@ -3318,11 +3397,37 @@ module Aws::DynamoDB
3318
3397
  # results.
3319
3398
  # @return [String]
3320
3399
  #
3400
+ # @!attribute [rw] consumed_capacity
3401
+ # The capacity units consumed by an operation. The data returned
3402
+ # includes the total provisioned throughput consumed, along with
3403
+ # statistics for the table and any indexes involved in the operation.
3404
+ # `ConsumedCapacity` is only returned if the request asked for it. For
3405
+ # more information, see [Provisioned Throughput][1] in the *Amazon
3406
+ # DynamoDB Developer Guide*.
3407
+ #
3408
+ #
3409
+ #
3410
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
3411
+ # @return [Types::ConsumedCapacity]
3412
+ #
3413
+ # @!attribute [rw] last_evaluated_key
3414
+ # The primary key of the item where the operation stopped, inclusive
3415
+ # of the previous result set. Use this value to start a new operation,
3416
+ # excluding this value in the new request. If `LastEvaluatedKey` is
3417
+ # empty, then the "last page" of results has been processed and
3418
+ # there is no more data to be retrieved. If `LastEvaluatedKey` is not
3419
+ # empty, it does not necessarily mean that there is more data in the
3420
+ # result set. The only way to know when you have reached the end of
3421
+ # the result set is when `LastEvaluatedKey` is empty.
3422
+ # @return [Hash<String,Types::AttributeValue>]
3423
+ #
3321
3424
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementOutput AWS API Documentation
3322
3425
  #
3323
3426
  class ExecuteStatementOutput < Struct.new(
3324
3427
  :items,
3325
- :next_token)
3428
+ :next_token,
3429
+ :consumed_capacity,
3430
+ :last_evaluated_key)
3326
3431
  SENSITIVE = []
3327
3432
  include Aws::Structure
3328
3433
  end
@@ -3338,6 +3443,7 @@ module Aws::DynamoDB
3338
3443
  # },
3339
3444
  # ],
3340
3445
  # client_request_token: "ClientRequestToken",
3446
+ # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
3341
3447
  # }
3342
3448
  #
3343
3449
  # @!attribute [rw] transact_statements
@@ -3352,11 +3458,23 @@ module Aws::DynamoDB
3352
3458
  # not need to pass this option.
3353
3459
  # @return [String]
3354
3460
  #
3461
+ # @!attribute [rw] return_consumed_capacity
3462
+ # Determines the level of detail about either provisioned or on-demand
3463
+ # throughput consumption that is returned in the response. For more
3464
+ # information, see [TransactGetItems][1] and [TransactWriteItems][2].
3465
+ #
3466
+ #
3467
+ #
3468
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html
3469
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html
3470
+ # @return [String]
3471
+ #
3355
3472
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionInput AWS API Documentation
3356
3473
  #
3357
3474
  class ExecuteTransactionInput < Struct.new(
3358
3475
  :transact_statements,
3359
- :client_request_token)
3476
+ :client_request_token,
3477
+ :return_consumed_capacity)
3360
3478
  SENSITIVE = []
3361
3479
  include Aws::Structure
3362
3480
  end
@@ -3365,10 +3483,16 @@ module Aws::DynamoDB
3365
3483
  # The response to a PartiQL transaction.
3366
3484
  # @return [Array<Types::ItemResponse>]
3367
3485
  #
3486
+ # @!attribute [rw] consumed_capacity
3487
+ # The capacity units consumed by the entire operation. The values of
3488
+ # the list are ordered according to the ordering of the statements.
3489
+ # @return [Array<Types::ConsumedCapacity>]
3490
+ #
3368
3491
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionOutput AWS API Documentation
3369
3492
  #
3370
3493
  class ExecuteTransactionOutput < Struct.new(
3371
- :responses)
3494
+ :responses,
3495
+ :consumed_capacity)
3372
3496
  SENSITIVE = []
3373
3497
  include Aws::Structure
3374
3498
  end
@@ -3711,8 +3835,8 @@ module Aws::DynamoDB
3711
3835
  # @return [String]
3712
3836
  #
3713
3837
  # @!attribute [rw] s3_bucket_owner
3714
- # The ID of the AWS account that owns the bucket containing the
3715
- # export.
3838
+ # The ID of the Amazon Web Services account that owns the bucket
3839
+ # containing the export.
3716
3840
  # @return [String]
3717
3841
  #
3718
3842
  # @!attribute [rw] s3_prefix
@@ -3726,12 +3850,12 @@ module Aws::DynamoDB
3726
3850
  #
3727
3851
  # * `AES256` - server-side encryption with Amazon S3 managed keys
3728
3852
  #
3729
- # * `KMS` - server-side encryption with AWS KMS managed keys
3853
+ # * `KMS` - server-side encryption with KMS managed keys
3730
3854
  # @return [String]
3731
3855
  #
3732
3856
  # @!attribute [rw] s3_sse_kms_key_id
3733
- # The ID of the AWS KMS managed key used to encrypt the S3 bucket
3734
- # where export data is stored (if applicable).
3857
+ # The ID of the KMS managed key used to encrypt the S3 bucket where
3858
+ # export data is stored (if applicable).
3735
3859
  # @return [String]
3736
3860
  #
3737
3861
  # @!attribute [rw] failure_code
@@ -3862,8 +3986,8 @@ module Aws::DynamoDB
3862
3986
  # @return [String]
3863
3987
  #
3864
3988
  # @!attribute [rw] s3_bucket_owner
3865
- # The ID of the AWS account that owns the bucket the export will be
3866
- # stored in.
3989
+ # The ID of the Amazon Web Services account that owns the bucket the
3990
+ # export will be stored in.
3867
3991
  # @return [String]
3868
3992
  #
3869
3993
  # @!attribute [rw] s3_prefix
@@ -3877,12 +4001,12 @@ module Aws::DynamoDB
3877
4001
  #
3878
4002
  # * `AES256` - server-side encryption with Amazon S3 managed keys
3879
4003
  #
3880
- # * `KMS` - server-side encryption with AWS KMS managed keys
4004
+ # * `KMS` - server-side encryption with KMS managed keys
3881
4005
  # @return [String]
3882
4006
  #
3883
4007
  # @!attribute [rw] s3_sse_kms_key_id
3884
- # The ID of the AWS KMS managed key used to encrypt the S3 bucket
3885
- # where export data will be stored (if applicable).
4008
+ # The ID of the KMS managed key used to encrypt the S3 bucket where
4009
+ # export data will be stored (if applicable).
3886
4010
  # @return [String]
3887
4011
  #
3888
4012
  # @!attribute [rw] export_format
@@ -4038,8 +4162,8 @@ module Aws::DynamoDB
4038
4162
  # @return [Boolean]
4039
4163
  #
4040
4164
  # @!attribute [rw] return_consumed_capacity
4041
- # Determines the level of detail about provisioned throughput
4042
- # consumption that is returned in the response:
4165
+ # Determines the level of detail about either provisioned or on-demand
4166
+ # throughput consumption that is returned in the response:
4043
4167
  #
4044
4168
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
4045
4169
  # for the operation, together with `ConsumedCapacity` for each table
@@ -5643,8 +5767,6 @@ module Aws::DynamoDB
5643
5767
  # @!attribute [rw] point_in_time_recovery_status
5644
5768
  # The current state of point in time recovery:
5645
5769
  #
5646
- # * `ENABLING` - Point in time recovery is being enabled.
5647
- #
5648
5770
  # * `ENABLED` - Point in time recovery is enabled.
5649
5771
  #
5650
5772
  # * `DISABLED` - Point in time recovery is disabled.
@@ -5857,12 +5979,12 @@ module Aws::DynamoDB
5857
5979
  include Aws::Structure
5858
5980
  end
5859
5981
 
5860
- # Your request rate is too high. The AWS SDKs for DynamoDB automatically
5861
- # retry requests that receive this exception. Your request is eventually
5862
- # successful, unless your retry queue is too large to finish. Reduce the
5863
- # frequency of requests and use exponential backoff. For more
5864
- # information, go to [Error Retries and Exponential Backoff][1] in the
5865
- # *Amazon DynamoDB Developer Guide*.
5982
+ # Your request rate is too high. The Amazon Web Services SDKs for
5983
+ # DynamoDB automatically retry requests that receive this exception.
5984
+ # Your request is eventually successful, unless your retry queue is too
5985
+ # large to finish. Reduce the frequency of requests and use exponential
5986
+ # backoff. For more information, go to [Error Retries and Exponential
5987
+ # Backoff][1] in the *Amazon DynamoDB Developer Guide*.
5866
5988
  #
5867
5989
  #
5868
5990
  #
@@ -6056,6 +6178,8 @@ module Aws::DynamoDB
6056
6178
  # * `ALL_OLD` - If `PutItem` overwrote an attribute name-value pair,
6057
6179
  # then the content of the old item is returned.
6058
6180
  #
6181
+ # The values returned are strongly consistent.
6182
+ #
6059
6183
  # <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
6060
6184
  # however, `PutItem` does not recognize any values other than `NONE`
6061
6185
  # or `ALL_OLD`.
@@ -6064,8 +6188,8 @@ module Aws::DynamoDB
6064
6188
  # @return [String]
6065
6189
  #
6066
6190
  # @!attribute [rw] return_consumed_capacity
6067
- # Determines the level of detail about provisioned throughput
6068
- # consumption that is returned in the response:
6191
+ # Determines the level of detail about either provisioned or on-demand
6192
+ # throughput consumption that is returned in the response:
6069
6193
  #
6070
6194
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
6071
6195
  # for the operation, together with `ConsumedCapacity` for each table
@@ -6507,8 +6631,8 @@ module Aws::DynamoDB
6507
6631
  # @return [Hash<String,Types::AttributeValue>]
6508
6632
  #
6509
6633
  # @!attribute [rw] return_consumed_capacity
6510
- # Determines the level of detail about provisioned throughput
6511
- # consumption that is returned in the response:
6634
+ # Determines the level of detail about either provisioned or on-demand
6635
+ # throughput consumption that is returned in the response:
6512
6636
  #
6513
6637
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
6514
6638
  # for the operation, together with `ConsumedCapacity` for each table
@@ -6997,20 +7121,20 @@ module Aws::DynamoDB
6997
7121
  #
6998
7122
  # * `ACTIVE` - The replica is ready for use.
6999
7123
  #
7000
- # * `REGION_DISABLED` - The replica is inaccessible because the AWS
7001
- # Region has been disabled.
7124
+ # * `REGION_DISABLED` - The replica is inaccessible because the Amazon
7125
+ # Web Services Region has been disabled.
7002
7126
  #
7003
- # <note markdown="1"> If the AWS Region remains inaccessible for more than 20 hours,
7004
- # DynamoDB will remove this replica from the replication group. The
7005
- # replica will not be deleted and replication will stop from and to
7006
- # this region.
7127
+ # <note markdown="1"> If the Amazon Web Services Region remains inaccessible for more
7128
+ # than 20 hours, DynamoDB will remove this replica from the
7129
+ # replication group. The replica will not be deleted and replication
7130
+ # will stop from and to this region.
7007
7131
  #
7008
7132
  # </note>
7009
7133
  #
7010
- # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The AWS KMS key used to
7134
+ # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The KMS key used to
7011
7135
  # encrypt the table is inaccessible.
7012
7136
  #
7013
- # <note markdown="1"> If the AWS KMS key remains inaccessible for more than 20 hours,
7137
+ # <note markdown="1"> If the KMS key remains inaccessible for more than 20 hours,
7014
7138
  # DynamoDB will remove this replica from the replication group. The
7015
7139
  # replica will not be deleted and replication will stop from and to
7016
7140
  # this region.
@@ -7028,8 +7152,7 @@ module Aws::DynamoDB
7028
7152
  # @return [String]
7029
7153
  #
7030
7154
  # @!attribute [rw] kms_master_key_id
7031
- # The AWS KMS customer master key (CMK) of the replica that will be
7032
- # used for AWS KMS encryption.
7155
+ # The KMS key of the replica that will be used for KMS encryption.
7033
7156
  # @return [String]
7034
7157
  #
7035
7158
  # @!attribute [rw] provisioned_throughput_override
@@ -7047,6 +7170,10 @@ module Aws::DynamoDB
7047
7170
  # property.
7048
7171
  # @return [Time]
7049
7172
  #
7173
+ # @!attribute [rw] replica_table_class_summary
7174
+ # Contains details of the table class.
7175
+ # @return [Types::TableClassSummary]
7176
+ #
7050
7177
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaDescription AWS API Documentation
7051
7178
  #
7052
7179
  class ReplicaDescription < Struct.new(
@@ -7057,7 +7184,8 @@ module Aws::DynamoDB
7057
7184
  :kms_master_key_id,
7058
7185
  :provisioned_throughput_override,
7059
7186
  :global_secondary_indexes,
7060
- :replica_inaccessible_date_time)
7187
+ :replica_inaccessible_date_time,
7188
+ :replica_table_class_summary)
7061
7189
  SENSITIVE = []
7062
7190
  include Aws::Structure
7063
7191
  end
@@ -7369,6 +7497,10 @@ module Aws::DynamoDB
7369
7497
  # Replica global secondary index settings for the global table.
7370
7498
  # @return [Array<Types::ReplicaGlobalSecondaryIndexSettingsDescription>]
7371
7499
  #
7500
+ # @!attribute [rw] replica_table_class_summary
7501
+ # Contains details of the table class.
7502
+ # @return [Types::TableClassSummary]
7503
+ #
7372
7504
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaSettingsDescription AWS API Documentation
7373
7505
  #
7374
7506
  class ReplicaSettingsDescription < Struct.new(
@@ -7379,7 +7511,8 @@ module Aws::DynamoDB
7379
7511
  :replica_provisioned_read_capacity_auto_scaling_settings,
7380
7512
  :replica_provisioned_write_capacity_units,
7381
7513
  :replica_provisioned_write_capacity_auto_scaling_settings,
7382
- :replica_global_secondary_index_settings)
7514
+ :replica_global_secondary_index_settings,
7515
+ :replica_table_class_summary)
7383
7516
  SENSITIVE = []
7384
7517
  include Aws::Structure
7385
7518
  end
@@ -7429,6 +7562,7 @@ module Aws::DynamoDB
7429
7562
  # },
7430
7563
  # },
7431
7564
  # ],
7565
+ # replica_table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
7432
7566
  # }
7433
7567
  #
7434
7568
  # @!attribute [rw] region_name
@@ -7456,13 +7590,19 @@ module Aws::DynamoDB
7456
7590
  # table that will be modified.
7457
7591
  # @return [Array<Types::ReplicaGlobalSecondaryIndexSettingsUpdate>]
7458
7592
  #
7593
+ # @!attribute [rw] replica_table_class
7594
+ # Replica-specific table class. If not specified, uses the source
7595
+ # table's table class.
7596
+ # @return [String]
7597
+ #
7459
7598
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaSettingsUpdate AWS API Documentation
7460
7599
  #
7461
7600
  class ReplicaSettingsUpdate < Struct.new(
7462
7601
  :region_name,
7463
7602
  :replica_provisioned_read_capacity_units,
7464
7603
  :replica_provisioned_read_capacity_auto_scaling_settings_update,
7465
- :replica_global_secondary_index_settings_update)
7604
+ :replica_global_secondary_index_settings_update,
7605
+ :replica_table_class)
7466
7606
  SENSITIVE = []
7467
7607
  include Aws::Structure
7468
7608
  end
@@ -7536,6 +7676,7 @@ module Aws::DynamoDB
7536
7676
  # },
7537
7677
  # },
7538
7678
  # ],
7679
+ # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
7539
7680
  # },
7540
7681
  # update: {
7541
7682
  # region_name: "RegionName", # required
@@ -7551,6 +7692,7 @@ module Aws::DynamoDB
7551
7692
  # },
7552
7693
  # },
7553
7694
  # ],
7695
+ # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
7554
7696
  # },
7555
7697
  # delete: {
7556
7698
  # region_name: "RegionName", # required
@@ -7580,7 +7722,7 @@ module Aws::DynamoDB
7580
7722
  end
7581
7723
 
7582
7724
  # Throughput exceeds the current throughput quota for your account.
7583
- # Please contact AWS Support at [AWS Support][1] to request a quota
7725
+ # Please contact [Amazon Web Services Support][1] to request a quota
7584
7726
  # increase.
7585
7727
  #
7586
7728
  #
@@ -7916,25 +8058,24 @@ module Aws::DynamoDB
7916
8058
  # @!attribute [rw] sse_type
7917
8059
  # Server-side encryption type. The only supported value is:
7918
8060
  #
7919
- # * `KMS` - Server-side encryption that uses AWS Key Management
7920
- # Service. The key is stored in your account and is managed by AWS
7921
- # KMS (AWS KMS charges apply).
8061
+ # * `KMS` - Server-side encryption that uses Key Management Service.
8062
+ # The key is stored in your account and is managed by KMS (KMS
8063
+ # charges apply).
7922
8064
  #
7923
8065
  # ^
7924
8066
  # @return [String]
7925
8067
  #
7926
8068
  # @!attribute [rw] kms_master_key_arn
7927
- # The AWS KMS customer master key (CMK) ARN used for the AWS KMS
7928
- # encryption.
8069
+ # The KMS key ARN used for the KMS encryption.
7929
8070
  # @return [String]
7930
8071
  #
7931
8072
  # @!attribute [rw] inaccessible_encryption_date_time
7932
8073
  # Indicates the time, in UNIX epoch date format, when DynamoDB
7933
- # detected that the table's AWS KMS key was inaccessible. This
7934
- # attribute will automatically be cleared when DynamoDB detects that
7935
- # the table's AWS KMS key is accessible again. DynamoDB will initiate
7936
- # the table archival process when table's AWS KMS key remains
7937
- # inaccessible for more than seven days from this date.
8074
+ # detected that the table's KMS key was inaccessible. This attribute
8075
+ # will automatically be cleared when DynamoDB detects that the
8076
+ # table's KMS key is accessible again. DynamoDB will initiate the
8077
+ # table archival process when table's KMS key remains inaccessible
8078
+ # for more than seven days from this date.
7938
8079
  # @return [Time]
7939
8080
  #
7940
8081
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSEDescription AWS API Documentation
@@ -7960,29 +8101,29 @@ module Aws::DynamoDB
7960
8101
  # }
7961
8102
  #
7962
8103
  # @!attribute [rw] enabled
7963
- # Indicates whether server-side encryption is done using an AWS
7964
- # managed CMK or an AWS owned CMK. If enabled (true), server-side
7965
- # encryption type is set to `KMS` and an AWS managed CMK is used (AWS
7966
- # KMS charges apply). If disabled (false) or not specified,
7967
- # server-side encryption is set to AWS owned CMK.
8104
+ # Indicates whether server-side encryption is done using an Amazon Web
8105
+ # Services managed key or an Amazon Web Services owned key. If enabled
8106
+ # (true), server-side encryption type is set to `KMS` and an Amazon
8107
+ # Web Services managed key is used (KMS charges apply). If disabled
8108
+ # (false) or not specified, server-side encryption is set to Amazon
8109
+ # Web Services owned key.
7968
8110
  # @return [Boolean]
7969
8111
  #
7970
8112
  # @!attribute [rw] sse_type
7971
8113
  # Server-side encryption type. The only supported value is:
7972
8114
  #
7973
- # * `KMS` - Server-side encryption that uses AWS Key Management
7974
- # Service. The key is stored in your account and is managed by AWS
7975
- # KMS (AWS KMS charges apply).
8115
+ # * `KMS` - Server-side encryption that uses Key Management Service.
8116
+ # The key is stored in your account and is managed by KMS (KMS
8117
+ # charges apply).
7976
8118
  #
7977
8119
  # ^
7978
8120
  # @return [String]
7979
8121
  #
7980
8122
  # @!attribute [rw] kms_master_key_id
7981
- # The AWS KMS customer master key (CMK) that should be used for the
7982
- # AWS KMS encryption. To specify a CMK, use its key ID, Amazon
7983
- # Resource Name (ARN), alias name, or alias ARN. Note that you should
7984
- # only provide this parameter if the key is different from the default
7985
- # DynamoDB customer master key alias/aws/dynamodb.
8123
+ # The KMS key that should be used for the KMS encryption. To specify a
8124
+ # key, use its key ID, Amazon Resource Name (ARN), alias name, or
8125
+ # alias ARN. Note that you should only provide this parameter if the
8126
+ # key is different from the default DynamoDB key `alias/aws/dynamodb`.
7986
8127
  # @return [String]
7987
8128
  #
7988
8129
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSESpecification AWS API Documentation
@@ -8156,8 +8297,8 @@ module Aws::DynamoDB
8156
8297
  # @return [Hash<String,Types::AttributeValue>]
8157
8298
  #
8158
8299
  # @!attribute [rw] return_consumed_capacity
8159
- # Determines the level of detail about provisioned throughput
8160
- # consumption that is returned in the response:
8300
+ # Determines the level of detail about either provisioned or on-demand
8301
+ # throughput consumption that is returned in the response:
8161
8302
  #
8162
8303
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
8163
8304
  # for the operation, together with `ConsumedCapacity` for each table
@@ -8635,6 +8776,26 @@ module Aws::DynamoDB
8635
8776
  include Aws::Structure
8636
8777
  end
8637
8778
 
8779
+ # Contains details of the table class.
8780
+ #
8781
+ # @!attribute [rw] table_class
8782
+ # The table class of the specified table. Valid values are `STANDARD`
8783
+ # and `STANDARD_INFREQUENT_ACCESS`.
8784
+ # @return [String]
8785
+ #
8786
+ # @!attribute [rw] last_update_date_time
8787
+ # The date and time at which the table class was last updated.
8788
+ # @return [Time]
8789
+ #
8790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableClassSummary AWS API Documentation
8791
+ #
8792
+ class TableClassSummary < Struct.new(
8793
+ :table_class,
8794
+ :last_update_date_time)
8795
+ SENSITIVE = []
8796
+ include Aws::Structure
8797
+ end
8798
+
8638
8799
  # Represents the properties of a table.
8639
8800
  #
8640
8801
  # @!attribute [rw] attribute_definitions
@@ -8695,11 +8856,11 @@ module Aws::DynamoDB
8695
8856
  #
8696
8857
  # * `ACTIVE` - The table is ready for use.
8697
8858
  #
8698
- # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The AWS KMS key used to
8859
+ # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The KMS key used to
8699
8860
  # encrypt the table in inaccessible. Table operations may fail due
8700
- # to failure to use the AWS KMS key. DynamoDB will initiate the
8701
- # table archival process when a table's AWS KMS key remains
8702
- # inaccessible for more than seven days.
8861
+ # to failure to use the KMS key. DynamoDB will initiate the table
8862
+ # archival process when a table's KMS key remains inaccessible for
8863
+ # more than seven days.
8703
8864
  #
8704
8865
  # * `ARCHIVING` - The table is being archived. Operations are not
8705
8866
  # allowed until archival is complete.
@@ -8886,7 +9047,7 @@ module Aws::DynamoDB
8886
9047
  # might have the same timestamp. However, the combination of the
8887
9048
  # following three elements is guaranteed to be unique:
8888
9049
  #
8889
- # * AWS customer ID
9050
+ # * Amazon Web Services customer ID
8890
9051
  #
8891
9052
  # * Table name
8892
9053
  #
@@ -8900,7 +9061,7 @@ module Aws::DynamoDB
8900
9061
  #
8901
9062
  # @!attribute [rw] global_table_version
8902
9063
  # Represents the version of [global tables][1] in use, if the table is
8903
- # replicated across AWS Regions.
9064
+ # replicated across Amazon Web Services Regions.
8904
9065
  #
8905
9066
  #
8906
9067
  #
@@ -8924,6 +9085,10 @@ module Aws::DynamoDB
8924
9085
  # Contains information about the table archive.
8925
9086
  # @return [Types::ArchivalSummary]
8926
9087
  #
9088
+ # @!attribute [rw] table_class_summary
9089
+ # Contains details of the table class.
9090
+ # @return [Types::TableClassSummary]
9091
+ #
8927
9092
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription AWS API Documentation
8928
9093
  #
8929
9094
  class TableDescription < Struct.new(
@@ -8947,7 +9112,8 @@ module Aws::DynamoDB
8947
9112
  :replicas,
8948
9113
  :restore_summary,
8949
9114
  :sse_description,
8950
- :archival_summary)
9115
+ :archival_summary,
9116
+ :table_class_summary)
8951
9117
  SENSITIVE = []
8952
9118
  include Aws::Structure
8953
9119
  end
@@ -8983,11 +9149,11 @@ module Aws::DynamoDB
8983
9149
  # Describes a tag. A tag is a key-value pair. You can add up to 50 tags
8984
9150
  # to a single DynamoDB table.
8985
9151
  #
8986
- # AWS-assigned tag names and values are automatically assigned the
8987
- # `aws:` prefix, which the user cannot assign. AWS-assigned tag names do
8988
- # not count towards the tag limit of 50. User-assigned tag names have
8989
- # the prefix `user:` in the Cost Allocation Report. You cannot backdate
8990
- # the application of a tag.
9152
+ # Amazon Web Services-assigned tag names and values are automatically
9153
+ # assigned the `aws:` prefix, which the user cannot assign. Amazon Web
9154
+ # Services-assigned tag names do not count towards the tag limit of 50.
9155
+ # User-assigned tag names have the prefix `user:` in the Cost Allocation
9156
+ # Report. You cannot backdate the application of a tag.
8991
9157
  #
8992
9158
  # For an overview on tagging DynamoDB resources, see [Tagging for
8993
9159
  # DynamoDB][1] in the *Amazon DynamoDB Developer Guide*.
@@ -9375,13 +9541,13 @@ module Aws::DynamoDB
9375
9541
  # An ordered array of up to 25 `TransactWriteItem` objects, each of
9376
9542
  # which contains a `ConditionCheck`, `Put`, `Update`, or `Delete`
9377
9543
  # object. These can operate on items in different tables, but the
9378
- # tables must reside in the same AWS account and Region, and no two of
9379
- # them can operate on the same item.
9544
+ # tables must reside in the same Amazon Web Services account and
9545
+ # Region, and no two of them can operate on the same item.
9380
9546
  # @return [Array<Types::TransactWriteItem>]
9381
9547
  #
9382
9548
  # @!attribute [rw] return_consumed_capacity
9383
- # Determines the level of detail about provisioned throughput
9384
- # consumption that is returned in the response:
9549
+ # Determines the level of detail about either provisioned or on-demand
9550
+ # throughput consumption that is returned in the response:
9385
9551
  #
9386
9552
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
9387
9553
  # for the operation, together with `ConsumedCapacity` for each table
@@ -10025,6 +10191,7 @@ module Aws::DynamoDB
10025
10191
  # },
10026
10192
  # },
10027
10193
  # ],
10194
+ # replica_table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
10028
10195
  # },
10029
10196
  # ],
10030
10197
  # }
@@ -10213,8 +10380,8 @@ module Aws::DynamoDB
10213
10380
  # @return [String]
10214
10381
  #
10215
10382
  # @!attribute [rw] return_consumed_capacity
10216
- # Determines the level of detail about provisioned throughput
10217
- # consumption that is returned in the response:
10383
+ # Determines the level of detail about either provisioned or on-demand
10384
+ # throughput consumption that is returned in the response:
10218
10385
  #
10219
10386
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
10220
10387
  # for the operation, together with `ConsumedCapacity` for each table
@@ -10538,6 +10705,7 @@ module Aws::DynamoDB
10538
10705
  # },
10539
10706
  # },
10540
10707
  # ],
10708
+ # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
10541
10709
  # }
10542
10710
  #
10543
10711
  # @!attribute [rw] region_name
@@ -10545,11 +10713,11 @@ module Aws::DynamoDB
10545
10713
  # @return [String]
10546
10714
  #
10547
10715
  # @!attribute [rw] kms_master_key_id
10548
- # The AWS KMS customer master key (CMK) of the replica that should be
10549
- # used for AWS KMS encryption. To specify a CMK, use its key ID,
10550
- # Amazon Resource Name (ARN), alias name, or alias ARN. Note that you
10551
- # should only provide this parameter if the key is different from the
10552
- # default DynamoDB KMS master key alias/aws/dynamodb.
10716
+ # The KMS key of the replica that should be used for KMS encryption.
10717
+ # To specify a key, use its key ID, Amazon Resource Name (ARN), alias
10718
+ # name, or alias ARN. Note that you should only provide this parameter
10719
+ # if the key is different from the default DynamoDB KMS key
10720
+ # `alias/aws/dynamodb`.
10553
10721
  # @return [String]
10554
10722
  #
10555
10723
  # @!attribute [rw] provisioned_throughput_override
@@ -10561,13 +10729,19 @@ module Aws::DynamoDB
10561
10729
  # Replica-specific global secondary index settings.
10562
10730
  # @return [Array<Types::ReplicaGlobalSecondaryIndex>]
10563
10731
  #
10732
+ # @!attribute [rw] table_class_override
10733
+ # Replica-specific table class. If not specified, uses the source
10734
+ # table's table class.
10735
+ # @return [String]
10736
+ #
10564
10737
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateReplicationGroupMemberAction AWS API Documentation
10565
10738
  #
10566
10739
  class UpdateReplicationGroupMemberAction < Struct.new(
10567
10740
  :region_name,
10568
10741
  :kms_master_key_id,
10569
10742
  :provisioned_throughput_override,
10570
- :global_secondary_indexes)
10743
+ :global_secondary_indexes,
10744
+ :table_class_override)
10571
10745
  SENSITIVE = []
10572
10746
  include Aws::Structure
10573
10747
  end
@@ -10646,6 +10820,7 @@ module Aws::DynamoDB
10646
10820
  # },
10647
10821
  # },
10648
10822
  # ],
10823
+ # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
10649
10824
  # },
10650
10825
  # update: {
10651
10826
  # region_name: "RegionName", # required
@@ -10661,12 +10836,14 @@ module Aws::DynamoDB
10661
10836
  # },
10662
10837
  # },
10663
10838
  # ],
10839
+ # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
10664
10840
  # },
10665
10841
  # delete: {
10666
10842
  # region_name: "RegionName", # required
10667
10843
  # },
10668
10844
  # },
10669
10845
  # ],
10846
+ # table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
10670
10847
  # }
10671
10848
  #
10672
10849
  # @!attribute [rw] attribute_definitions
@@ -10757,6 +10934,11 @@ module Aws::DynamoDB
10757
10934
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
10758
10935
  # @return [Array<Types::ReplicationGroupUpdate>]
10759
10936
  #
10937
+ # @!attribute [rw] table_class
10938
+ # The table class of the table to be updated. Valid values are
10939
+ # `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
10940
+ # @return [String]
10941
+ #
10760
10942
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput AWS API Documentation
10761
10943
  #
10762
10944
  class UpdateTableInput < Struct.new(
@@ -10767,7 +10949,8 @@ module Aws::DynamoDB
10767
10949
  :global_secondary_index_updates,
10768
10950
  :stream_specification,
10769
10951
  :sse_specification,
10770
- :replica_updates)
10952
+ :replica_updates,
10953
+ :table_class)
10771
10954
  SENSITIVE = []
10772
10955
  include Aws::Structure
10773
10956
  end