aws-sdk-dynamodb 1.65.0 → 1.69.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,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,20 +3337,41 @@ 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
3307
3371
 
3308
3372
  # @!attribute [rw] items
3309
3373
  # 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.
3374
+ # of the read operation; a map of attribute names and their values.
3311
3375
  # For the write operations this value will be empty.
3312
3376
  # @return [Array<Hash<String,Types::AttributeValue>>]
3313
3377
  #
@@ -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
@@ -3711,8 +3808,8 @@ module Aws::DynamoDB
3711
3808
  # @return [String]
3712
3809
  #
3713
3810
  # @!attribute [rw] s3_bucket_owner
3714
- # The ID of the AWS account that owns the bucket containing the
3715
- # export.
3811
+ # The ID of the Amazon Web Services account that owns the bucket
3812
+ # containing the export.
3716
3813
  # @return [String]
3717
3814
  #
3718
3815
  # @!attribute [rw] s3_prefix
@@ -3726,12 +3823,12 @@ module Aws::DynamoDB
3726
3823
  #
3727
3824
  # * `AES256` - server-side encryption with Amazon S3 managed keys
3728
3825
  #
3729
- # * `KMS` - server-side encryption with AWS KMS managed keys
3826
+ # * `KMS` - server-side encryption with KMS managed keys
3730
3827
  # @return [String]
3731
3828
  #
3732
3829
  # @!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).
3830
+ # The ID of the KMS managed key used to encrypt the S3 bucket where
3831
+ # export data is stored (if applicable).
3735
3832
  # @return [String]
3736
3833
  #
3737
3834
  # @!attribute [rw] failure_code
@@ -3862,8 +3959,8 @@ module Aws::DynamoDB
3862
3959
  # @return [String]
3863
3960
  #
3864
3961
  # @!attribute [rw] s3_bucket_owner
3865
- # The ID of the AWS account that owns the bucket the export will be
3866
- # stored in.
3962
+ # The ID of the Amazon Web Services account that owns the bucket the
3963
+ # export will be stored in.
3867
3964
  # @return [String]
3868
3965
  #
3869
3966
  # @!attribute [rw] s3_prefix
@@ -3877,12 +3974,12 @@ module Aws::DynamoDB
3877
3974
  #
3878
3975
  # * `AES256` - server-side encryption with Amazon S3 managed keys
3879
3976
  #
3880
- # * `KMS` - server-side encryption with AWS KMS managed keys
3977
+ # * `KMS` - server-side encryption with KMS managed keys
3881
3978
  # @return [String]
3882
3979
  #
3883
3980
  # @!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).
3981
+ # The ID of the KMS managed key used to encrypt the S3 bucket where
3982
+ # export data will be stored (if applicable).
3886
3983
  # @return [String]
3887
3984
  #
3888
3985
  # @!attribute [rw] export_format
@@ -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 throughput
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
@@ -5857,12 +5954,12 @@ module Aws::DynamoDB
5857
5954
  include Aws::Structure
5858
5955
  end
5859
5956
 
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*.
5957
+ # Your request rate is too high. The Amazon Web Services SDKs for
5958
+ # DynamoDB automatically retry requests that receive this exception.
5959
+ # Your request is eventually successful, unless your retry queue is too
5960
+ # large to finish. Reduce the frequency of requests and use exponential
5961
+ # backoff. For more information, go to [Error Retries and Exponential
5962
+ # Backoff][1] in the *Amazon DynamoDB Developer Guide*.
5866
5963
  #
5867
5964
  #
5868
5965
  #
@@ -6056,6 +6153,8 @@ module Aws::DynamoDB
6056
6153
  # * `ALL_OLD` - If `PutItem` overwrote an attribute name-value pair,
6057
6154
  # then the content of the old item is returned.
6058
6155
  #
6156
+ # The values returned are strongly consistent.
6157
+ #
6059
6158
  # <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
6060
6159
  # however, `PutItem` does not recognize any values other than `NONE`
6061
6160
  # or `ALL_OLD`.
@@ -6064,8 +6163,8 @@ module Aws::DynamoDB
6064
6163
  # @return [String]
6065
6164
  #
6066
6165
  # @!attribute [rw] return_consumed_capacity
6067
- # Determines the level of detail about provisioned throughput
6068
- # 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:
6069
6168
  #
6070
6169
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
6071
6170
  # for the operation, together with `ConsumedCapacity` for each table
@@ -6507,8 +6606,8 @@ module Aws::DynamoDB
6507
6606
  # @return [Hash<String,Types::AttributeValue>]
6508
6607
  #
6509
6608
  # @!attribute [rw] return_consumed_capacity
6510
- # Determines the level of detail about provisioned throughput
6511
- # 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:
6512
6611
  #
6513
6612
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
6514
6613
  # for the operation, together with `ConsumedCapacity` for each table
@@ -6997,20 +7096,20 @@ module Aws::DynamoDB
6997
7096
  #
6998
7097
  # * `ACTIVE` - The replica is ready for use.
6999
7098
  #
7000
- # * `REGION_DISABLED` - The replica is inaccessible because the AWS
7001
- # Region has been disabled.
7099
+ # * `REGION_DISABLED` - The replica is inaccessible because the Amazon
7100
+ # Web Services Region has been disabled.
7002
7101
  #
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.
7102
+ # <note markdown="1"> If the Amazon Web Services Region remains inaccessible for more
7103
+ # than 20 hours, DynamoDB will remove this replica from the
7104
+ # replication group. The replica will not be deleted and replication
7105
+ # will stop from and to this region.
7007
7106
  #
7008
7107
  # </note>
7009
7108
  #
7010
- # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The AWS KMS key used to
7109
+ # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The KMS key used to
7011
7110
  # encrypt the table is inaccessible.
7012
7111
  #
7013
- # <note markdown="1"> If the AWS KMS key remains inaccessible for more than 20 hours,
7112
+ # <note markdown="1"> If the KMS key remains inaccessible for more than 20 hours,
7014
7113
  # DynamoDB will remove this replica from the replication group. The
7015
7114
  # replica will not be deleted and replication will stop from and to
7016
7115
  # this region.
@@ -7028,8 +7127,7 @@ module Aws::DynamoDB
7028
7127
  # @return [String]
7029
7128
  #
7030
7129
  # @!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.
7130
+ # The KMS key of the replica that will be used for KMS encryption.
7033
7131
  # @return [String]
7034
7132
  #
7035
7133
  # @!attribute [rw] provisioned_throughput_override
@@ -7047,6 +7145,10 @@ module Aws::DynamoDB
7047
7145
  # property.
7048
7146
  # @return [Time]
7049
7147
  #
7148
+ # @!attribute [rw] replica_table_class_summary
7149
+ # Contains details of the table class.
7150
+ # @return [Types::TableClassSummary]
7151
+ #
7050
7152
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaDescription AWS API Documentation
7051
7153
  #
7052
7154
  class ReplicaDescription < Struct.new(
@@ -7057,7 +7159,8 @@ module Aws::DynamoDB
7057
7159
  :kms_master_key_id,
7058
7160
  :provisioned_throughput_override,
7059
7161
  :global_secondary_indexes,
7060
- :replica_inaccessible_date_time)
7162
+ :replica_inaccessible_date_time,
7163
+ :replica_table_class_summary)
7061
7164
  SENSITIVE = []
7062
7165
  include Aws::Structure
7063
7166
  end
@@ -7369,6 +7472,10 @@ module Aws::DynamoDB
7369
7472
  # Replica global secondary index settings for the global table.
7370
7473
  # @return [Array<Types::ReplicaGlobalSecondaryIndexSettingsDescription>]
7371
7474
  #
7475
+ # @!attribute [rw] replica_table_class_summary
7476
+ # Contains details of the table class.
7477
+ # @return [Types::TableClassSummary]
7478
+ #
7372
7479
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaSettingsDescription AWS API Documentation
7373
7480
  #
7374
7481
  class ReplicaSettingsDescription < Struct.new(
@@ -7379,7 +7486,8 @@ module Aws::DynamoDB
7379
7486
  :replica_provisioned_read_capacity_auto_scaling_settings,
7380
7487
  :replica_provisioned_write_capacity_units,
7381
7488
  :replica_provisioned_write_capacity_auto_scaling_settings,
7382
- :replica_global_secondary_index_settings)
7489
+ :replica_global_secondary_index_settings,
7490
+ :replica_table_class_summary)
7383
7491
  SENSITIVE = []
7384
7492
  include Aws::Structure
7385
7493
  end
@@ -7429,6 +7537,7 @@ module Aws::DynamoDB
7429
7537
  # },
7430
7538
  # },
7431
7539
  # ],
7540
+ # replica_table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
7432
7541
  # }
7433
7542
  #
7434
7543
  # @!attribute [rw] region_name
@@ -7456,13 +7565,19 @@ module Aws::DynamoDB
7456
7565
  # table that will be modified.
7457
7566
  # @return [Array<Types::ReplicaGlobalSecondaryIndexSettingsUpdate>]
7458
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
+ #
7459
7573
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaSettingsUpdate AWS API Documentation
7460
7574
  #
7461
7575
  class ReplicaSettingsUpdate < Struct.new(
7462
7576
  :region_name,
7463
7577
  :replica_provisioned_read_capacity_units,
7464
7578
  :replica_provisioned_read_capacity_auto_scaling_settings_update,
7465
- :replica_global_secondary_index_settings_update)
7579
+ :replica_global_secondary_index_settings_update,
7580
+ :replica_table_class)
7466
7581
  SENSITIVE = []
7467
7582
  include Aws::Structure
7468
7583
  end
@@ -7536,6 +7651,7 @@ module Aws::DynamoDB
7536
7651
  # },
7537
7652
  # },
7538
7653
  # ],
7654
+ # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
7539
7655
  # },
7540
7656
  # update: {
7541
7657
  # region_name: "RegionName", # required
@@ -7551,6 +7667,7 @@ module Aws::DynamoDB
7551
7667
  # },
7552
7668
  # },
7553
7669
  # ],
7670
+ # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
7554
7671
  # },
7555
7672
  # delete: {
7556
7673
  # region_name: "RegionName", # required
@@ -7580,7 +7697,7 @@ module Aws::DynamoDB
7580
7697
  end
7581
7698
 
7582
7699
  # Throughput exceeds the current throughput quota for your account.
7583
- # Please contact AWS Support at [AWS Support][1] to request a quota
7700
+ # Please contact [Amazon Web Services Support][1] to request a quota
7584
7701
  # increase.
7585
7702
  #
7586
7703
  #
@@ -7916,25 +8033,24 @@ module Aws::DynamoDB
7916
8033
  # @!attribute [rw] sse_type
7917
8034
  # Server-side encryption type. The only supported value is:
7918
8035
  #
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).
8036
+ # * `KMS` - Server-side encryption that uses Key Management Service.
8037
+ # The key is stored in your account and is managed by KMS (KMS
8038
+ # charges apply).
7922
8039
  #
7923
8040
  # ^
7924
8041
  # @return [String]
7925
8042
  #
7926
8043
  # @!attribute [rw] kms_master_key_arn
7927
- # The AWS KMS customer master key (CMK) ARN used for the AWS KMS
7928
- # encryption.
8044
+ # The KMS key ARN used for the KMS encryption.
7929
8045
  # @return [String]
7930
8046
  #
7931
8047
  # @!attribute [rw] inaccessible_encryption_date_time
7932
8048
  # 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.
8049
+ # detected that the table's KMS key was inaccessible. This attribute
8050
+ # will automatically be cleared when DynamoDB detects that the
8051
+ # table's KMS key is accessible again. DynamoDB will initiate the
8052
+ # table archival process when table's KMS key remains inaccessible
8053
+ # for more than seven days from this date.
7938
8054
  # @return [Time]
7939
8055
  #
7940
8056
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSEDescription AWS API Documentation
@@ -7960,29 +8076,29 @@ module Aws::DynamoDB
7960
8076
  # }
7961
8077
  #
7962
8078
  # @!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.
8079
+ # Indicates whether server-side encryption is done using an Amazon Web
8080
+ # Services managed key or an Amazon Web Services owned key. If enabled
8081
+ # (true), server-side encryption type is set to `KMS` and an Amazon
8082
+ # Web Services managed key is used (KMS charges apply). If disabled
8083
+ # (false) or not specified, server-side encryption is set to Amazon
8084
+ # Web Services owned key.
7968
8085
  # @return [Boolean]
7969
8086
  #
7970
8087
  # @!attribute [rw] sse_type
7971
8088
  # Server-side encryption type. The only supported value is:
7972
8089
  #
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).
8090
+ # * `KMS` - Server-side encryption that uses Key Management Service.
8091
+ # The key is stored in your account and is managed by KMS (KMS
8092
+ # charges apply).
7976
8093
  #
7977
8094
  # ^
7978
8095
  # @return [String]
7979
8096
  #
7980
8097
  # @!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.
8098
+ # The KMS key that should be used for the KMS encryption. To specify a
8099
+ # key, use its key ID, Amazon Resource Name (ARN), alias name, or
8100
+ # alias ARN. Note that you should only provide this parameter if the
8101
+ # key is different from the default DynamoDB key `alias/aws/dynamodb`.
7986
8102
  # @return [String]
7987
8103
  #
7988
8104
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSESpecification AWS API Documentation
@@ -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 throughput
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
@@ -8695,11 +8831,11 @@ module Aws::DynamoDB
8695
8831
  #
8696
8832
  # * `ACTIVE` - The table is ready for use.
8697
8833
  #
8698
- # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The AWS KMS key used to
8834
+ # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The KMS key used to
8699
8835
  # 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.
8836
+ # to failure to use the KMS key. DynamoDB will initiate the table
8837
+ # archival process when a table's KMS key remains inaccessible for
8838
+ # more than seven days.
8703
8839
  #
8704
8840
  # * `ARCHIVING` - The table is being archived. Operations are not
8705
8841
  # allowed until archival is complete.
@@ -8886,7 +9022,7 @@ module Aws::DynamoDB
8886
9022
  # might have the same timestamp. However, the combination of the
8887
9023
  # following three elements is guaranteed to be unique:
8888
9024
  #
8889
- # * AWS customer ID
9025
+ # * Amazon Web Services customer ID
8890
9026
  #
8891
9027
  # * Table name
8892
9028
  #
@@ -8900,7 +9036,7 @@ module Aws::DynamoDB
8900
9036
  #
8901
9037
  # @!attribute [rw] global_table_version
8902
9038
  # Represents the version of [global tables][1] in use, if the table is
8903
- # replicated across AWS Regions.
9039
+ # replicated across Amazon Web Services Regions.
8904
9040
  #
8905
9041
  #
8906
9042
  #
@@ -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
@@ -8983,11 +9124,11 @@ module Aws::DynamoDB
8983
9124
  # Describes a tag. A tag is a key-value pair. You can add up to 50 tags
8984
9125
  # to a single DynamoDB table.
8985
9126
  #
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.
9127
+ # Amazon Web Services-assigned tag names and values are automatically
9128
+ # assigned the `aws:` prefix, which the user cannot assign. Amazon Web
9129
+ # Services-assigned tag names do not count towards the tag limit of 50.
9130
+ # User-assigned tag names have the prefix `user:` in the Cost Allocation
9131
+ # Report. You cannot backdate the application of a tag.
8991
9132
  #
8992
9133
  # For an overview on tagging DynamoDB resources, see [Tagging for
8993
9134
  # DynamoDB][1] in the *Amazon DynamoDB Developer Guide*.
@@ -9375,13 +9516,13 @@ module Aws::DynamoDB
9375
9516
  # An ordered array of up to 25 `TransactWriteItem` objects, each of
9376
9517
  # which contains a `ConditionCheck`, `Put`, `Update`, or `Delete`
9377
9518
  # 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.
9519
+ # tables must reside in the same Amazon Web Services account and
9520
+ # Region, and no two of them can operate on the same item.
9380
9521
  # @return [Array<Types::TransactWriteItem>]
9381
9522
  #
9382
9523
  # @!attribute [rw] return_consumed_capacity
9383
- # Determines the level of detail about provisioned throughput
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 throughput
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
@@ -10545,11 +10688,11 @@ module Aws::DynamoDB
10545
10688
  # @return [String]
10546
10689
  #
10547
10690
  # @!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.
10691
+ # The KMS key of the replica that should be used for KMS encryption.
10692
+ # To specify a key, use its key ID, Amazon Resource Name (ARN), alias
10693
+ # name, or alias ARN. Note that you should only provide this parameter
10694
+ # if the key is different from the default DynamoDB KMS key
10695
+ # `alias/aws/dynamodb`.
10553
10696
  # @return [String]
10554
10697
  #
10555
10698
  # @!attribute [rw] provisioned_throughput_override
@@ -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