aws-sdk-dynamodb 1.93.0 → 1.110.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.
@@ -45,8 +45,8 @@ module Aws::DynamoDB
45
45
  include Aws::Structure
46
46
  end
47
47
 
48
- # Represents an attribute for describing the key schema for the table
49
- # and indexes.
48
+ # Represents an attribute for describing the schema for the table and
49
+ # indexes.
50
50
  #
51
51
  # @!attribute [rw] attribute_name
52
52
  # A name for the attribute.
@@ -737,9 +737,10 @@ module Aws::DynamoDB
737
737
  # Represents the input of a `BatchGetItem` operation.
738
738
  #
739
739
  # @!attribute [rw] request_items
740
- # A map of one or more table names and, for each table, a map that
741
- # describes one or more items to retrieve from that table. Each table
742
- # name can be used only once per `BatchGetItem` request.
740
+ # A map of one or more table names or table ARNs and, for each table,
741
+ # a map that describes one or more items to retrieve from that table.
742
+ # Each table name or ARN can be used only once per `BatchGetItem`
743
+ # request.
743
744
  #
744
745
  # Each element in the map of items to retrieve consists of the
745
746
  # following:
@@ -857,9 +858,9 @@ module Aws::DynamoDB
857
858
  # Represents the output of a `BatchGetItem` operation.
858
859
  #
859
860
  # @!attribute [rw] responses
860
- # A map of table name to a list of items. Each object in `Responses`
861
- # consists of a table name, along with a map of attribute data
862
- # consisting of the data type and attribute value.
861
+ # A map of table name or table ARN to a list of items. Each object in
862
+ # `Responses` consists of a table name or ARN, along with a map of
863
+ # attribute data consisting of the data type and attribute value.
863
864
  # @return [Hash<String,Array<Hash<String,Types::AttributeValue>>>]
864
865
  #
865
866
  # @!attribute [rw] unprocessed_keys
@@ -995,9 +996,9 @@ module Aws::DynamoDB
995
996
  # Represents the input of a `BatchWriteItem` operation.
996
997
  #
997
998
  # @!attribute [rw] request_items
998
- # A map of one or more table names and, for each table, a list of
999
- # operations to be performed (`DeleteRequest` or `PutRequest`). Each
1000
- # element in the map consists of the following:
999
+ # A map of one or more table names or table ARNs and, for each table,
1000
+ # a list of operations to be performed (`DeleteRequest` or
1001
+ # `PutRequest`). Each element in the map consists of the following:
1001
1002
  #
1002
1003
  # * `DeleteRequest` - Perform a `DeleteItem` operation on the
1003
1004
  # specified item. The item to be deleted is identified by a `Key`
@@ -1075,9 +1076,9 @@ module Aws::DynamoDB
1075
1076
  # subsequent `BatchWriteItem` operation. For more information, see
1076
1077
  # `RequestItems` in the Request Parameters section.
1077
1078
  #
1078
- # Each `UnprocessedItems` entry consists of a table name and, for that
1079
- # table, a list of operations to perform (`DeleteRequest` or
1080
- # `PutRequest`).
1079
+ # Each `UnprocessedItems` entry consists of a table name or table ARN
1080
+ # and, for that table, a list of operations to perform
1081
+ # (`DeleteRequest` or `PutRequest`).
1081
1082
  #
1082
1083
  # * `DeleteRequest` - Perform a `DeleteItem` operation on the
1083
1084
  # specified item. The item to be deleted is identified by a `Key`
@@ -1474,7 +1475,8 @@ module Aws::DynamoDB
1474
1475
  # @return [Hash<String,Types::AttributeValue>]
1475
1476
  #
1476
1477
  # @!attribute [rw] table_name
1477
- # Name of the table for the check item request.
1478
+ # Name of the table for the check item request. You can also provide
1479
+ # the Amazon Resource Name (ARN) of the table in this parameter.
1478
1480
  # @return [String]
1479
1481
  #
1480
1482
  # @!attribute [rw] condition_expression
@@ -1550,15 +1552,17 @@ module Aws::DynamoDB
1550
1552
  # includes the total provisioned throughput consumed, along with
1551
1553
  # statistics for the table and any indexes involved in the operation.
1552
1554
  # `ConsumedCapacity` is only returned if the request asked for it. For
1553
- # more information, see [Provisioned Throughput][1] in the *Amazon
1555
+ # more information, see [Provisioned capacity mode][1] in the *Amazon
1554
1556
  # DynamoDB Developer Guide*.
1555
1557
  #
1556
1558
  #
1557
1559
  #
1558
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
1560
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
1559
1561
  #
1560
1562
  # @!attribute [rw] table_name
1561
- # The name of the table that was affected by the operation.
1563
+ # The name of the table that was affected by the operation. If you had
1564
+ # specified the Amazon Resource Name (ARN) of a table in the input,
1565
+ # you'll see the table ARN in the response.
1562
1566
  # @return [String]
1563
1567
  #
1564
1568
  # @!attribute [rw] capacity_units
@@ -1663,7 +1667,8 @@ module Aws::DynamoDB
1663
1667
  end
1664
1668
 
1665
1669
  # @!attribute [rw] table_name
1666
- # The name of the table.
1670
+ # The name of the table. You can also provide the Amazon Resource Name
1671
+ # (ARN) of the table in this parameter.
1667
1672
  # @return [String]
1668
1673
  #
1669
1674
  # @!attribute [rw] backup_name
@@ -1721,13 +1726,20 @@ module Aws::DynamoDB
1721
1726
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
1722
1727
  # @return [Types::ProvisionedThroughput]
1723
1728
  #
1729
+ # @!attribute [rw] on_demand_throughput
1730
+ # The maximum number of read and write units for the global secondary
1731
+ # index being created. If you use this parameter, you must specify
1732
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
1733
+ # @return [Types::OnDemandThroughput]
1734
+ #
1724
1735
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalSecondaryIndexAction AWS API Documentation
1725
1736
  #
1726
1737
  class CreateGlobalSecondaryIndexAction < Struct.new(
1727
1738
  :index_name,
1728
1739
  :key_schema,
1729
1740
  :projection,
1730
- :provisioned_throughput)
1741
+ :provisioned_throughput,
1742
+ :on_demand_throughput)
1731
1743
  SENSITIVE = []
1732
1744
  include Aws::Structure
1733
1745
  end
@@ -1794,6 +1806,13 @@ module Aws::DynamoDB
1794
1806
  # source table's provisioned throughput settings.
1795
1807
  # @return [Types::ProvisionedThroughputOverride]
1796
1808
  #
1809
+ # @!attribute [rw] on_demand_throughput_override
1810
+ # The maximum on-demand throughput settings for the specified replica
1811
+ # table being created. You can only modify `MaxReadRequestUnits`,
1812
+ # because you can't modify `MaxWriteRequestUnits` for individual
1813
+ # replica tables.
1814
+ # @return [Types::OnDemandThroughputOverride]
1815
+ #
1797
1816
  # @!attribute [rw] global_secondary_indexes
1798
1817
  # Replica-specific global secondary index settings.
1799
1818
  # @return [Array<Types::ReplicaGlobalSecondaryIndex>]
@@ -1809,6 +1828,7 @@ module Aws::DynamoDB
1809
1828
  :region_name,
1810
1829
  :kms_master_key_id,
1811
1830
  :provisioned_throughput_override,
1831
+ :on_demand_throughput_override,
1812
1832
  :global_secondary_indexes,
1813
1833
  :table_class_override)
1814
1834
  SENSITIVE = []
@@ -1823,7 +1843,8 @@ module Aws::DynamoDB
1823
1843
  # @return [Array<Types::AttributeDefinition>]
1824
1844
  #
1825
1845
  # @!attribute [rw] table_name
1826
- # The name of the table to create.
1846
+ # The name of the table to create. You can also provide the Amazon
1847
+ # Resource Name (ARN) of the table in this parameter.
1827
1848
  # @return [String]
1828
1849
  #
1829
1850
  # @!attribute [rw] key_schema
@@ -1963,16 +1984,16 @@ module Aws::DynamoDB
1963
1984
  #
1964
1985
  # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
1965
1986
  # workloads. `PROVISIONED` sets the billing mode to [Provisioned
1966
- # Mode][1].
1987
+ # capacity mode][1].
1967
1988
  #
1968
1989
  # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
1969
1990
  # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode
1970
- # to [On-Demand Mode][2].
1991
+ # to [On-demand capacity mode][2].
1971
1992
  #
1972
1993
  #
1973
1994
  #
1974
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual
1975
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand
1995
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
1996
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
1976
1997
  # @return [String]
1977
1998
  #
1978
1999
  # @!attribute [rw] provisioned_throughput
@@ -2040,6 +2061,30 @@ module Aws::DynamoDB
2040
2061
  # disabled (false) on the table.
2041
2062
  # @return [Boolean]
2042
2063
  #
2064
+ # @!attribute [rw] resource_policy
2065
+ # An Amazon Web Services resource-based policy document in JSON format
2066
+ # that will be attached to the table.
2067
+ #
2068
+ # When you attach a resource-based policy while creating a table, the
2069
+ # policy application is *strongly consistent*.
2070
+ #
2071
+ # The maximum size supported for a resource-based policy document is
2072
+ # 20 KB. DynamoDB counts whitespaces when calculating the size of a
2073
+ # policy against this limit. For a full list of all considerations
2074
+ # that apply for resource-based policies, see [Resource-based policy
2075
+ # considerations][1].
2076
+ #
2077
+ #
2078
+ #
2079
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
2080
+ # @return [String]
2081
+ #
2082
+ # @!attribute [rw] on_demand_throughput
2083
+ # Sets the maximum number of read and write units for the specified
2084
+ # table in on-demand capacity mode. If you use this parameter, you
2085
+ # must specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
2086
+ # @return [Types::OnDemandThroughput]
2087
+ #
2043
2088
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput AWS API Documentation
2044
2089
  #
2045
2090
  class CreateTableInput < Struct.new(
@@ -2054,7 +2099,9 @@ module Aws::DynamoDB
2054
2099
  :sse_specification,
2055
2100
  :tags,
2056
2101
  :table_class,
2057
- :deletion_protection_enabled)
2102
+ :deletion_protection_enabled,
2103
+ :resource_policy,
2104
+ :on_demand_throughput)
2058
2105
  SENSITIVE = []
2059
2106
  include Aws::Structure
2060
2107
  end
@@ -2105,7 +2152,9 @@ module Aws::DynamoDB
2105
2152
  # @return [Hash<String,Types::AttributeValue>]
2106
2153
  #
2107
2154
  # @!attribute [rw] table_name
2108
- # Name of the table in which the item to be deleted resides.
2155
+ # Name of the table in which the item to be deleted resides. You can
2156
+ # also provide the Amazon Resource Name (ARN) of the table in this
2157
+ # parameter.
2109
2158
  # @return [String]
2110
2159
  #
2111
2160
  # @!attribute [rw] condition_expression
@@ -2184,7 +2233,9 @@ module Aws::DynamoDB
2184
2233
  # Represents the input of a `DeleteItem` operation.
2185
2234
  #
2186
2235
  # @!attribute [rw] table_name
2187
- # The name of the table from which to delete the item.
2236
+ # The name of the table from which to delete the item. You can also
2237
+ # provide the Amazon Resource Name (ARN) of the table in this
2238
+ # parameter.
2188
2239
  # @return [String]
2189
2240
  #
2190
2241
  # @!attribute [rw] key
@@ -2413,12 +2464,12 @@ module Aws::DynamoDB
2413
2464
  # with statistics for the table and any indexes involved in the
2414
2465
  # operation. `ConsumedCapacity` is only returned if the
2415
2466
  # `ReturnConsumedCapacity` parameter was specified. For more
2416
- # information, see [Provisioned Throughput][1] in the *Amazon DynamoDB
2417
- # Developer Guide*.
2467
+ # information, see [Provisioned capacity mode][1] in the *Amazon
2468
+ # DynamoDB Developer Guide*.
2418
2469
  #
2419
2470
  #
2420
2471
  #
2421
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
2472
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
2422
2473
  # @return [Types::ConsumedCapacity]
2423
2474
  #
2424
2475
  # @!attribute [rw] item_collection_metrics
@@ -2501,10 +2552,54 @@ module Aws::DynamoDB
2501
2552
  include Aws::Structure
2502
2553
  end
2503
2554
 
2555
+ # @!attribute [rw] resource_arn
2556
+ # The Amazon Resource Name (ARN) of the DynamoDB resource from which
2557
+ # the policy will be removed. The resources you can specify include
2558
+ # tables and streams. If you remove the policy of a table, it will
2559
+ # also remove the permissions for the table's indexes defined in that
2560
+ # policy document. This is because index permissions are defined in
2561
+ # the table's policy.
2562
+ # @return [String]
2563
+ #
2564
+ # @!attribute [rw] expected_revision_id
2565
+ # A string value that you can use to conditionally delete your policy.
2566
+ # When you provide an expected revision ID, if the revision ID of the
2567
+ # existing policy on the resource doesn't match or if there's no
2568
+ # policy attached to the resource, the request will fail and return a
2569
+ # `PolicyNotFoundException`.
2570
+ # @return [String]
2571
+ #
2572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteResourcePolicyInput AWS API Documentation
2573
+ #
2574
+ class DeleteResourcePolicyInput < Struct.new(
2575
+ :resource_arn,
2576
+ :expected_revision_id)
2577
+ SENSITIVE = []
2578
+ include Aws::Structure
2579
+ end
2580
+
2581
+ # @!attribute [rw] revision_id
2582
+ # A unique string that represents the revision ID of the policy. If
2583
+ # you're comparing revision IDs, make sure to always use string
2584
+ # comparison logic.
2585
+ #
2586
+ # This value will be empty if you make a request against a resource
2587
+ # without a policy.
2588
+ # @return [String]
2589
+ #
2590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteResourcePolicyOutput AWS API Documentation
2591
+ #
2592
+ class DeleteResourcePolicyOutput < Struct.new(
2593
+ :revision_id)
2594
+ SENSITIVE = []
2595
+ include Aws::Structure
2596
+ end
2597
+
2504
2598
  # Represents the input of a `DeleteTable` operation.
2505
2599
  #
2506
2600
  # @!attribute [rw] table_name
2507
- # The name of the table to delete.
2601
+ # The name of the table to delete. You can also provide the Amazon
2602
+ # Resource Name (ARN) of the table in this parameter.
2508
2603
  # @return [String]
2509
2604
  #
2510
2605
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableInput AWS API Documentation
@@ -2556,6 +2651,9 @@ module Aws::DynamoDB
2556
2651
  # @!attribute [rw] table_name
2557
2652
  # Name of the table for which the customer wants to check the
2558
2653
  # continuous backups and point in time recovery settings.
2654
+ #
2655
+ # You can also provide the Amazon Resource Name (ARN) of the table in
2656
+ # this parameter.
2559
2657
  # @return [String]
2560
2658
  #
2561
2659
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackupsInput AWS API Documentation
@@ -2580,7 +2678,8 @@ module Aws::DynamoDB
2580
2678
  end
2581
2679
 
2582
2680
  # @!attribute [rw] table_name
2583
- # The name of the table to describe.
2681
+ # The name of the table to describe. You can also provide the Amazon
2682
+ # Resource Name (ARN) of the table in this parameter.
2584
2683
  # @return [String]
2585
2684
  #
2586
2685
  # @!attribute [rw] index_name
@@ -2773,7 +2872,8 @@ module Aws::DynamoDB
2773
2872
  end
2774
2873
 
2775
2874
  # @!attribute [rw] table_name
2776
- # The name of the table being described.
2875
+ # The name of the table being described. You can also provide the
2876
+ # Amazon Resource Name (ARN) of the table in this parameter.
2777
2877
  # @return [String]
2778
2878
  #
2779
2879
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestinationInput AWS API Documentation
@@ -2849,7 +2949,8 @@ module Aws::DynamoDB
2849
2949
  # Represents the input of a `DescribeTable` operation.
2850
2950
  #
2851
2951
  # @!attribute [rw] table_name
2852
- # The name of the table to describe.
2952
+ # The name of the table to describe. You can also provide the Amazon
2953
+ # Resource Name (ARN) of the table in this parameter.
2853
2954
  # @return [String]
2854
2955
  #
2855
2956
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableInput AWS API Documentation
@@ -2875,7 +2976,8 @@ module Aws::DynamoDB
2875
2976
  end
2876
2977
 
2877
2978
  # @!attribute [rw] table_name
2878
- # The name of the table.
2979
+ # The name of the table. You can also provide the Amazon Resource Name
2980
+ # (ARN) of the table in this parameter.
2879
2981
  # @return [String]
2880
2982
  #
2881
2983
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScalingInput AWS API Documentation
@@ -2899,7 +3001,8 @@ module Aws::DynamoDB
2899
3001
  end
2900
3002
 
2901
3003
  # @!attribute [rw] table_name
2902
- # The name of the table to be described.
3004
+ # The name of the table to be described. You can also provide the
3005
+ # Amazon Resource Name (ARN) of the table in this parameter.
2903
3006
  # @return [String]
2904
3007
  #
2905
3008
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLiveInput AWS API Documentation
@@ -2935,6 +3038,21 @@ module Aws::DynamoDB
2935
3038
  include Aws::Structure
2936
3039
  end
2937
3040
 
3041
+ # Enables setting the configuration for Kinesis Streaming.
3042
+ #
3043
+ # @!attribute [rw] approximate_creation_date_time_precision
3044
+ # Toggle for the precision of Kinesis data stream timestamp. The
3045
+ # values are either `MILLISECOND` or `MICROSECOND`.
3046
+ # @return [String]
3047
+ #
3048
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/EnableKinesisStreamingConfiguration AWS API Documentation
3049
+ #
3050
+ class EnableKinesisStreamingConfiguration < Struct.new(
3051
+ :approximate_creation_date_time_precision)
3052
+ SENSITIVE = []
3053
+ include Aws::Structure
3054
+ end
3055
+
2938
3056
  # An endpoint information details.
2939
3057
  #
2940
3058
  # @!attribute [rw] address
@@ -3047,12 +3165,12 @@ module Aws::DynamoDB
3047
3165
  # includes the total provisioned throughput consumed, along with
3048
3166
  # statistics for the table and any indexes involved in the operation.
3049
3167
  # `ConsumedCapacity` is only returned if the request asked for it. For
3050
- # more information, see [Provisioned Throughput][1] in the *Amazon
3168
+ # more information, see [Provisioned capacity mode][1] in the *Amazon
3051
3169
  # DynamoDB Developer Guide*.
3052
3170
  #
3053
3171
  #
3054
3172
  #
3055
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
3173
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
3056
3174
  # @return [Types::ConsumedCapacity]
3057
3175
  #
3058
3176
  # @!attribute [rw] last_evaluated_key
@@ -3500,6 +3618,16 @@ module Aws::DynamoDB
3500
3618
  # The number of items exported.
3501
3619
  # @return [Integer]
3502
3620
  #
3621
+ # @!attribute [rw] export_type
3622
+ # The type of export that was performed. Valid values are
3623
+ # `FULL_EXPORT` or `INCREMENTAL_EXPORT`.
3624
+ # @return [String]
3625
+ #
3626
+ # @!attribute [rw] incremental_export_specification
3627
+ # Optional object containing the parameters specific to an incremental
3628
+ # export.
3629
+ # @return [Types::IncrementalExportSpecification]
3630
+ #
3503
3631
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportDescription AWS API Documentation
3504
3632
  #
3505
3633
  class ExportDescription < Struct.new(
@@ -3521,7 +3649,9 @@ module Aws::DynamoDB
3521
3649
  :failure_message,
3522
3650
  :export_format,
3523
3651
  :billed_size_bytes,
3524
- :item_count)
3652
+ :item_count,
3653
+ :export_type,
3654
+ :incremental_export_specification)
3525
3655
  SENSITIVE = []
3526
3656
  include Aws::Structure
3527
3657
  end
@@ -3550,11 +3680,17 @@ module Aws::DynamoDB
3550
3680
  # COMPLETED, or FAILED.
3551
3681
  # @return [String]
3552
3682
  #
3683
+ # @!attribute [rw] export_type
3684
+ # The type of export that was performed. Valid values are
3685
+ # `FULL_EXPORT` or `INCREMENTAL_EXPORT`.
3686
+ # @return [String]
3687
+ #
3553
3688
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportSummary AWS API Documentation
3554
3689
  #
3555
3690
  class ExportSummary < Struct.new(
3556
3691
  :export_arn,
3557
- :export_status)
3692
+ :export_status,
3693
+ :export_type)
3558
3694
  SENSITIVE = []
3559
3695
  include Aws::Structure
3560
3696
  end
@@ -3595,6 +3731,11 @@ module Aws::DynamoDB
3595
3731
  # @!attribute [rw] s3_bucket_owner
3596
3732
  # The ID of the Amazon Web Services account that owns the bucket the
3597
3733
  # export will be stored in.
3734
+ #
3735
+ # <note markdown="1"> S3BucketOwner is a required parameter when exporting to a S3 bucket
3736
+ # in another account.
3737
+ #
3738
+ # </note>
3598
3739
  # @return [String]
3599
3740
  #
3600
3741
  # @!attribute [rw] s3_prefix
@@ -3621,6 +3762,18 @@ module Aws::DynamoDB
3621
3762
  # are `DYNAMODB_JSON` or `ION`.
3622
3763
  # @return [String]
3623
3764
  #
3765
+ # @!attribute [rw] export_type
3766
+ # Choice of whether to execute as a full export or incremental export.
3767
+ # Valid values are FULL\_EXPORT or INCREMENTAL\_EXPORT. The default
3768
+ # value is FULL\_EXPORT. If INCREMENTAL\_EXPORT is provided, the
3769
+ # IncrementalExportSpecification must also be used.
3770
+ # @return [String]
3771
+ #
3772
+ # @!attribute [rw] incremental_export_specification
3773
+ # Optional object containing the parameters specific to an incremental
3774
+ # export.
3775
+ # @return [Types::IncrementalExportSpecification]
3776
+ #
3624
3777
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTimeInput AWS API Documentation
3625
3778
  #
3626
3779
  class ExportTableToPointInTimeInput < Struct.new(
@@ -3632,7 +3785,9 @@ module Aws::DynamoDB
3632
3785
  :s3_prefix,
3633
3786
  :s3_sse_algorithm,
3634
3787
  :s3_sse_kms_key_id,
3635
- :export_format)
3788
+ :export_format,
3789
+ :export_type,
3790
+ :incremental_export_specification)
3636
3791
  SENSITIVE = []
3637
3792
  include Aws::Structure
3638
3793
  end
@@ -3677,7 +3832,9 @@ module Aws::DynamoDB
3677
3832
  # @return [Hash<String,Types::AttributeValue>]
3678
3833
  #
3679
3834
  # @!attribute [rw] table_name
3680
- # The name of the table from which to retrieve the specified item.
3835
+ # The name of the table from which to retrieve the specified item. You
3836
+ # can also provide the Amazon Resource Name (ARN) of the table in this
3837
+ # parameter.
3681
3838
  # @return [String]
3682
3839
  #
3683
3840
  # @!attribute [rw] projection_expression
@@ -3708,7 +3865,9 @@ module Aws::DynamoDB
3708
3865
  # Represents the input of a `GetItem` operation.
3709
3866
  #
3710
3867
  # @!attribute [rw] table_name
3711
- # The name of the table containing the requested item.
3868
+ # The name of the table containing the requested item. You can also
3869
+ # provide the Amazon Resource Name (ARN) of the table in this
3870
+ # parameter.
3712
3871
  # @return [String]
3713
3872
  #
3714
3873
  # @!attribute [rw] key
@@ -3855,12 +4014,12 @@ module Aws::DynamoDB
3855
4014
  # with statistics for the table and any indexes involved in the
3856
4015
  # operation. `ConsumedCapacity` is only returned if the
3857
4016
  # `ReturnConsumedCapacity` parameter was specified. For more
3858
- # information, see [Provisioned Throughput][1] in the *Amazon DynamoDB
3859
- # Developer Guide*.
4017
+ # information, see [Capacity unit consumption for read operations][1]
4018
+ # in the *Amazon DynamoDB Developer Guide*.
3860
4019
  #
3861
4020
  #
3862
4021
  #
3863
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html#ItemSizeCalculations.Reads
4022
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption
3864
4023
  # @return [Types::ConsumedCapacity]
3865
4024
  #
3866
4025
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemOutput AWS API Documentation
@@ -3872,6 +4031,40 @@ module Aws::DynamoDB
3872
4031
  include Aws::Structure
3873
4032
  end
3874
4033
 
4034
+ # @!attribute [rw] resource_arn
4035
+ # The Amazon Resource Name (ARN) of the DynamoDB resource to which the
4036
+ # policy is attached. The resources you can specify include tables and
4037
+ # streams.
4038
+ # @return [String]
4039
+ #
4040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetResourcePolicyInput AWS API Documentation
4041
+ #
4042
+ class GetResourcePolicyInput < Struct.new(
4043
+ :resource_arn)
4044
+ SENSITIVE = []
4045
+ include Aws::Structure
4046
+ end
4047
+
4048
+ # @!attribute [rw] policy
4049
+ # The resource-based policy document attached to the resource, which
4050
+ # can be a table or stream, in JSON format.
4051
+ # @return [String]
4052
+ #
4053
+ # @!attribute [rw] revision_id
4054
+ # A unique string that represents the revision ID of the policy. If
4055
+ # you're comparing revision IDs, make sure to always use string
4056
+ # comparison logic.
4057
+ # @return [String]
4058
+ #
4059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetResourcePolicyOutput AWS API Documentation
4060
+ #
4061
+ class GetResourcePolicyOutput < Struct.new(
4062
+ :policy,
4063
+ :revision_id)
4064
+ SENSITIVE = []
4065
+ include Aws::Structure
4066
+ end
4067
+
3875
4068
  # Represents the properties of a global secondary index.
3876
4069
  #
3877
4070
  # @!attribute [rw] index_name
@@ -3920,13 +4113,20 @@ module Aws::DynamoDB
3920
4113
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
3921
4114
  # @return [Types::ProvisionedThroughput]
3922
4115
  #
4116
+ # @!attribute [rw] on_demand_throughput
4117
+ # The maximum number of read and write units for the specified global
4118
+ # secondary index. If you use this parameter, you must specify
4119
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
4120
+ # @return [Types::OnDemandThroughput]
4121
+ #
3923
4122
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndex AWS API Documentation
3924
4123
  #
3925
4124
  class GlobalSecondaryIndex < Struct.new(
3926
4125
  :index_name,
3927
4126
  :key_schema,
3928
4127
  :projection,
3929
- :provisioned_throughput)
4128
+ :provisioned_throughput,
4129
+ :on_demand_throughput)
3930
4130
  SENSITIVE = []
3931
4131
  include Aws::Structure
3932
4132
  end
@@ -4049,6 +4249,12 @@ module Aws::DynamoDB
4049
4249
  # The Amazon Resource Name (ARN) that uniquely identifies the index.
4050
4250
  # @return [String]
4051
4251
  #
4252
+ # @!attribute [rw] on_demand_throughput
4253
+ # The maximum number of read and write units for the specified global
4254
+ # secondary index. If you use this parameter, you must specify
4255
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
4256
+ # @return [Types::OnDemandThroughput]
4257
+ #
4052
4258
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexDescription AWS API Documentation
4053
4259
  #
4054
4260
  class GlobalSecondaryIndexDescription < Struct.new(
@@ -4060,7 +4266,8 @@ module Aws::DynamoDB
4060
4266
  :provisioned_throughput,
4061
4267
  :index_size_bytes,
4062
4268
  :item_count,
4063
- :index_arn)
4269
+ :index_arn,
4270
+ :on_demand_throughput)
4064
4271
  SENSITIVE = []
4065
4272
  include Aws::Structure
4066
4273
  end
@@ -4105,13 +4312,20 @@ module Aws::DynamoDB
4105
4312
  # global secondary index.
4106
4313
  # @return [Types::ProvisionedThroughput]
4107
4314
  #
4315
+ # @!attribute [rw] on_demand_throughput
4316
+ # Sets the maximum number of read and write units for the specified
4317
+ # on-demand table. If you use this parameter, you must specify
4318
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
4319
+ # @return [Types::OnDemandThroughput]
4320
+ #
4108
4321
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexInfo AWS API Documentation
4109
4322
  #
4110
4323
  class GlobalSecondaryIndexInfo < Struct.new(
4111
4324
  :index_name,
4112
4325
  :key_schema,
4113
4326
  :projection,
4114
- :provisioned_throughput)
4327
+ :provisioned_throughput,
4328
+ :on_demand_throughput)
4115
4329
  SENSITIVE = []
4116
4330
  include Aws::Structure
4117
4331
  end
@@ -4557,6 +4771,40 @@ module Aws::DynamoDB
4557
4771
  include Aws::Structure
4558
4772
  end
4559
4773
 
4774
+ # Optional object containing the parameters specific to an incremental
4775
+ # export.
4776
+ #
4777
+ # @!attribute [rw] export_from_time
4778
+ # Time in the past which provides the inclusive start range for the
4779
+ # export table's data, counted in seconds from the start of the Unix
4780
+ # epoch. The incremental export will reflect the table's state
4781
+ # including and after this point in time.
4782
+ # @return [Time]
4783
+ #
4784
+ # @!attribute [rw] export_to_time
4785
+ # Time in the past which provides the exclusive end range for the
4786
+ # export table's data, counted in seconds from the start of the Unix
4787
+ # epoch. The incremental export will reflect the table's state just
4788
+ # prior to this point in time. If this is not provided, the latest
4789
+ # time with data available will be used.
4790
+ # @return [Time]
4791
+ #
4792
+ # @!attribute [rw] export_view_type
4793
+ # The view type that was chosen for the export. Valid values are
4794
+ # `NEW_AND_OLD_IMAGES` and `NEW_IMAGES`. The default value is
4795
+ # `NEW_AND_OLD_IMAGES`.
4796
+ # @return [String]
4797
+ #
4798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IncrementalExportSpecification AWS API Documentation
4799
+ #
4800
+ class IncrementalExportSpecification < Struct.new(
4801
+ :export_from_time,
4802
+ :export_to_time,
4803
+ :export_view_type)
4804
+ SENSITIVE = []
4805
+ include Aws::Structure
4806
+ end
4807
+
4560
4808
  # The operation tried to access a nonexistent index.
4561
4809
  #
4562
4810
  # @!attribute [rw] message
@@ -4864,29 +5112,42 @@ module Aws::DynamoDB
4864
5112
  # The human-readable string that corresponds to the replica status.
4865
5113
  # @return [String]
4866
5114
  #
5115
+ # @!attribute [rw] approximate_creation_date_time_precision
5116
+ # The precision of the Kinesis data stream timestamp. The values are
5117
+ # either `MILLISECOND` or `MICROSECOND`.
5118
+ # @return [String]
5119
+ #
4867
5120
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisDataStreamDestination AWS API Documentation
4868
5121
  #
4869
5122
  class KinesisDataStreamDestination < Struct.new(
4870
5123
  :stream_arn,
4871
5124
  :destination_status,
4872
- :destination_status_description)
5125
+ :destination_status_description,
5126
+ :approximate_creation_date_time_precision)
4873
5127
  SENSITIVE = []
4874
5128
  include Aws::Structure
4875
5129
  end
4876
5130
 
4877
5131
  # @!attribute [rw] table_name
4878
- # The name of the DynamoDB table.
5132
+ # The name of the DynamoDB table. You can also provide the Amazon
5133
+ # Resource Name (ARN) of the table in this parameter.
4879
5134
  # @return [String]
4880
5135
  #
4881
5136
  # @!attribute [rw] stream_arn
4882
5137
  # The ARN for a Kinesis data stream.
4883
5138
  # @return [String]
4884
5139
  #
5140
+ # @!attribute [rw] enable_kinesis_streaming_configuration
5141
+ # The source for the Kinesis streaming information that is being
5142
+ # enabled.
5143
+ # @return [Types::EnableKinesisStreamingConfiguration]
5144
+ #
4885
5145
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationInput AWS API Documentation
4886
5146
  #
4887
5147
  class KinesisStreamingDestinationInput < Struct.new(
4888
5148
  :table_name,
4889
- :stream_arn)
5149
+ :stream_arn,
5150
+ :enable_kinesis_streaming_configuration)
4890
5151
  SENSITIVE = []
4891
5152
  include Aws::Structure
4892
5153
  end
@@ -4903,12 +5164,18 @@ module Aws::DynamoDB
4903
5164
  # The current status of the replication.
4904
5165
  # @return [String]
4905
5166
  #
5167
+ # @!attribute [rw] enable_kinesis_streaming_configuration
5168
+ # The destination for the Kinesis streaming information that is being
5169
+ # enabled.
5170
+ # @return [Types::EnableKinesisStreamingConfiguration]
5171
+ #
4906
5172
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationOutput AWS API Documentation
4907
5173
  #
4908
5174
  class KinesisStreamingDestinationOutput < Struct.new(
4909
5175
  :table_name,
4910
5176
  :stream_arn,
4911
- :destination_status)
5177
+ :destination_status,
5178
+ :enable_kinesis_streaming_configuration)
4912
5179
  SENSITIVE = []
4913
5180
  include Aws::Structure
4914
5181
  end
@@ -4950,7 +5217,9 @@ module Aws::DynamoDB
4950
5217
  end
4951
5218
 
4952
5219
  # @!attribute [rw] table_name
4953
- # The backups from the table specified by `TableName` are listed.
5220
+ # Lists the backups from the table specified in `TableName`. You can
5221
+ # also provide the Amazon Resource Name (ARN) of the table in this
5222
+ # parameter.
4954
5223
  # @return [String]
4955
5224
  #
4956
5225
  # @!attribute [rw] limit
@@ -5030,7 +5299,8 @@ module Aws::DynamoDB
5030
5299
  end
5031
5300
 
5032
5301
  # @!attribute [rw] table_name
5033
- # The name of the table.
5302
+ # The name of the table. You can also provide the Amazon Resource Name
5303
+ # (ARN) of the table in this parameter.
5034
5304
  # @return [String]
5035
5305
  #
5036
5306
  # @!attribute [rw] next_token
@@ -5445,10 +5715,58 @@ module Aws::DynamoDB
5445
5715
  include Aws::Structure
5446
5716
  end
5447
5717
 
5448
- # Represents a PartiQL statment that uses parameters.
5718
+ # Sets the maximum number of read and write units for the specified
5719
+ # on-demand table. If you use this parameter, you must specify
5720
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
5721
+ #
5722
+ # @!attribute [rw] max_read_request_units
5723
+ # Maximum number of read request units for the specified table.
5724
+ #
5725
+ # To specify a maximum `OnDemandThroughput` on your table, set the
5726
+ # value of `MaxReadRequestUnits` as greater than or equal to 1. To
5727
+ # remove the maximum `OnDemandThroughput` that is currently set on
5728
+ # your table, set the value of `MaxReadRequestUnits` to -1.
5729
+ # @return [Integer]
5730
+ #
5731
+ # @!attribute [rw] max_write_request_units
5732
+ # Maximum number of write request units for the specified table.
5733
+ #
5734
+ # To specify a maximum `OnDemandThroughput` on your table, set the
5735
+ # value of `MaxWriteRequestUnits` as greater than or equal to 1. To
5736
+ # remove the maximum `OnDemandThroughput` that is currently set on
5737
+ # your table, set the value of `MaxWriteRequestUnits` to -1.
5738
+ # @return [Integer]
5739
+ #
5740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/OnDemandThroughput AWS API Documentation
5741
+ #
5742
+ class OnDemandThroughput < Struct.new(
5743
+ :max_read_request_units,
5744
+ :max_write_request_units)
5745
+ SENSITIVE = []
5746
+ include Aws::Structure
5747
+ end
5748
+
5749
+ # Overrides the on-demand throughput settings for this replica table. If
5750
+ # you don't specify a value for this parameter, it uses the source
5751
+ # table's on-demand throughput settings.
5752
+ #
5753
+ # @!attribute [rw] max_read_request_units
5754
+ # Maximum number of read request units for the specified replica
5755
+ # table.
5756
+ # @return [Integer]
5757
+ #
5758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/OnDemandThroughputOverride AWS API Documentation
5759
+ #
5760
+ class OnDemandThroughputOverride < Struct.new(
5761
+ :max_read_request_units)
5762
+ SENSITIVE = []
5763
+ include Aws::Structure
5764
+ end
5765
+
5766
+ # Represents a PartiQL statement that uses parameters.
5449
5767
  #
5450
5768
  # @!attribute [rw] statement
5451
- # A PartiQL statment that uses parameters.
5769
+ # A PartiQL statement that uses parameters.
5452
5770
  # @return [String]
5453
5771
  #
5454
5772
  # @!attribute [rw] parameters
@@ -5533,6 +5851,23 @@ module Aws::DynamoDB
5533
5851
  include Aws::Structure
5534
5852
  end
5535
5853
 
5854
+ # The operation tried to access a nonexistent resource-based policy.
5855
+ #
5856
+ # If you specified an `ExpectedRevisionId`, it's possible that a policy
5857
+ # is present for the resource but its revision ID didn't match the
5858
+ # expected value.
5859
+ #
5860
+ # @!attribute [rw] message
5861
+ # @return [String]
5862
+ #
5863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PolicyNotFoundException AWS API Documentation
5864
+ #
5865
+ class PolicyNotFoundException < Struct.new(
5866
+ :message)
5867
+ SENSITIVE = []
5868
+ include Aws::Structure
5869
+ end
5870
+
5536
5871
  # Represents attributes that are copied (projected) from the table into
5537
5872
  # an index. These are in addition to the primary key attributes and
5538
5873
  # index key attributes, which are automatically projected.
@@ -5548,6 +5883,8 @@ module Aws::DynamoDB
5548
5883
  # attributes that you specify.
5549
5884
  #
5550
5885
  # * `ALL` - All of the table attributes are projected into the index.
5886
+ #
5887
+ # When using the DynamoDB console, `ALL` is selected by default.
5551
5888
  # @return [String]
5552
5889
  #
5553
5890
  # @!attribute [rw] non_key_attributes
@@ -5719,7 +6056,8 @@ module Aws::DynamoDB
5719
6056
  # @return [Hash<String,Types::AttributeValue>]
5720
6057
  #
5721
6058
  # @!attribute [rw] table_name
5722
- # Name of the table in which to write the item.
6059
+ # Name of the table in which to write the item. You can also provide
6060
+ # the Amazon Resource Name (ARN) of the table in this parameter.
5723
6061
  # @return [String]
5724
6062
  #
5725
6063
  # @!attribute [rw] condition_expression
@@ -5759,7 +6097,8 @@ module Aws::DynamoDB
5759
6097
  # Represents the input of a `PutItem` operation.
5760
6098
  #
5761
6099
  # @!attribute [rw] table_name
5762
- # The name of the table to contain the item.
6100
+ # The name of the table to contain the item. You can also provide the
6101
+ # Amazon Resource Name (ARN) of the table in this parameter.
5763
6102
  # @return [String]
5764
6103
  #
5765
6104
  # @!attribute [rw] item
@@ -6010,12 +6349,12 @@ module Aws::DynamoDB
6010
6349
  # with statistics for the table and any indexes involved in the
6011
6350
  # operation. `ConsumedCapacity` is only returned if the
6012
6351
  # `ReturnConsumedCapacity` parameter was specified. For more
6013
- # information, see [Provisioned Throughput][1] in the *Amazon DynamoDB
6014
- # Developer Guide*.
6352
+ # information, see [Capacity unity consumption for write
6353
+ # operations][1] in the *Amazon DynamoDB Developer Guide*.
6015
6354
  #
6016
6355
  #
6017
6356
  #
6018
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
6357
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#write-operation-consumption
6019
6358
  # @return [Types::ConsumedCapacity]
6020
6359
  #
6021
6360
  # @!attribute [rw] item_collection_metrics
@@ -6072,10 +6411,93 @@ module Aws::DynamoDB
6072
6411
  include Aws::Structure
6073
6412
  end
6074
6413
 
6414
+ # @!attribute [rw] resource_arn
6415
+ # The Amazon Resource Name (ARN) of the DynamoDB resource to which the
6416
+ # policy will be attached. The resources you can specify include
6417
+ # tables and streams.
6418
+ #
6419
+ # You can control index permissions using the base table's policy. To
6420
+ # specify the same permission level for your table and its indexes,
6421
+ # you can provide both the table and index Amazon Resource Name (ARN)s
6422
+ # in the `Resource` field of a given `Statement` in your policy
6423
+ # document. Alternatively, to specify different permissions for your
6424
+ # table, indexes, or both, you can define multiple `Statement` fields
6425
+ # in your policy document.
6426
+ # @return [String]
6427
+ #
6428
+ # @!attribute [rw] policy
6429
+ # An Amazon Web Services resource-based policy document in JSON
6430
+ # format.
6431
+ #
6432
+ # * The maximum size supported for a resource-based policy document is
6433
+ # 20 KB. DynamoDB counts whitespaces when calculating the size of a
6434
+ # policy against this limit.
6435
+ #
6436
+ # * Within a resource-based policy, if the action for a DynamoDB
6437
+ # service-linked role (SLR) to replicate data for a global table is
6438
+ # denied, adding or deleting a replica will fail with an error.
6439
+ #
6440
+ # For a full list of all considerations that apply while attaching a
6441
+ # resource-based policy, see [Resource-based policy
6442
+ # considerations][1].
6443
+ #
6444
+ #
6445
+ #
6446
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
6447
+ # @return [String]
6448
+ #
6449
+ # @!attribute [rw] expected_revision_id
6450
+ # A string value that you can use to conditionally update your policy.
6451
+ # You can provide the revision ID of your existing policy to make
6452
+ # mutating requests against that policy.
6453
+ #
6454
+ # <note markdown="1"> When you provide an expected revision ID, if the revision ID of the
6455
+ # existing policy on the resource doesn't match or if there's no
6456
+ # policy attached to the resource, your request will be rejected with
6457
+ # a `PolicyNotFoundException`.
6458
+ #
6459
+ # </note>
6460
+ #
6461
+ # To conditionally attach a policy when no policy exists for the
6462
+ # resource, specify `NO_POLICY` for the revision ID.
6463
+ # @return [String]
6464
+ #
6465
+ # @!attribute [rw] confirm_remove_self_resource_access
6466
+ # Set this parameter to `true` to confirm that you want to remove your
6467
+ # permissions to change the policy of this resource in the future.
6468
+ # @return [Boolean]
6469
+ #
6470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutResourcePolicyInput AWS API Documentation
6471
+ #
6472
+ class PutResourcePolicyInput < Struct.new(
6473
+ :resource_arn,
6474
+ :policy,
6475
+ :expected_revision_id,
6476
+ :confirm_remove_self_resource_access)
6477
+ SENSITIVE = []
6478
+ include Aws::Structure
6479
+ end
6480
+
6481
+ # @!attribute [rw] revision_id
6482
+ # A unique string that represents the revision ID of the policy. If
6483
+ # you're comparing revision IDs, make sure to always use string
6484
+ # comparison logic.
6485
+ # @return [String]
6486
+ #
6487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutResourcePolicyOutput AWS API Documentation
6488
+ #
6489
+ class PutResourcePolicyOutput < Struct.new(
6490
+ :revision_id)
6491
+ SENSITIVE = []
6492
+ include Aws::Structure
6493
+ end
6494
+
6075
6495
  # Represents the input of a `Query` operation.
6076
6496
  #
6077
6497
  # @!attribute [rw] table_name
6078
- # The name of the table containing the requested items.
6498
+ # The name of the table containing the requested items. You can also
6499
+ # provide the Amazon Resource Name (ARN) of the table in this
6500
+ # parameter.
6079
6501
  # @return [String]
6080
6502
  #
6081
6503
  # @!attribute [rw] index_name
@@ -6292,7 +6714,7 @@ module Aws::DynamoDB
6292
6714
  #
6293
6715
  #
6294
6716
  #
6295
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
6717
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.FilterExpression.html
6296
6718
  # @return [String]
6297
6719
  #
6298
6720
  # @!attribute [rw] key_condition_expression
@@ -6541,12 +6963,12 @@ module Aws::DynamoDB
6541
6963
  # with statistics for the table and any indexes involved in the
6542
6964
  # operation. `ConsumedCapacity` is only returned if the
6543
6965
  # `ReturnConsumedCapacity` parameter was specified. For more
6544
- # information, see [Provisioned Throughput][1] in the *Amazon DynamoDB
6545
- # Developer Guide*.
6966
+ # information, see [Capacity unit consumption for read operations][1]
6967
+ # in the *Amazon DynamoDB Developer Guide*.
6546
6968
  #
6547
6969
  #
6548
6970
  #
6549
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
6971
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption
6550
6972
  # @return [Types::ConsumedCapacity]
6551
6973
  #
6552
6974
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryOutput AWS API Documentation
@@ -6715,6 +7137,11 @@ module Aws::DynamoDB
6715
7137
  # source table's provisioned throughput settings.
6716
7138
  # @return [Types::ProvisionedThroughputOverride]
6717
7139
  #
7140
+ # @!attribute [rw] on_demand_throughput_override
7141
+ # Overrides the maximum on-demand throughput settings for the
7142
+ # specified replica table.
7143
+ # @return [Types::OnDemandThroughputOverride]
7144
+ #
6718
7145
  # @!attribute [rw] global_secondary_indexes
6719
7146
  # Replica-specific global secondary index settings.
6720
7147
  # @return [Array<Types::ReplicaGlobalSecondaryIndexDescription>]
@@ -6738,6 +7165,7 @@ module Aws::DynamoDB
6738
7165
  :replica_status_percent_progress,
6739
7166
  :kms_master_key_id,
6740
7167
  :provisioned_throughput_override,
7168
+ :on_demand_throughput_override,
6741
7169
  :global_secondary_indexes,
6742
7170
  :replica_inaccessible_date_time,
6743
7171
  :replica_table_class_summary)
@@ -6756,11 +7184,17 @@ module Aws::DynamoDB
6756
7184
  # uses the source table GSI's read capacity settings.
6757
7185
  # @return [Types::ProvisionedThroughputOverride]
6758
7186
  #
7187
+ # @!attribute [rw] on_demand_throughput_override
7188
+ # Overrides the maximum on-demand throughput settings for the
7189
+ # specified global secondary index in the specified replica table.
7190
+ # @return [Types::OnDemandThroughputOverride]
7191
+ #
6759
7192
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndex AWS API Documentation
6760
7193
  #
6761
7194
  class ReplicaGlobalSecondaryIndex < Struct.new(
6762
7195
  :index_name,
6763
- :provisioned_throughput_override)
7196
+ :provisioned_throughput_override,
7197
+ :on_demand_throughput_override)
6764
7198
  SENSITIVE = []
6765
7199
  include Aws::Structure
6766
7200
  end
@@ -6838,11 +7272,17 @@ module Aws::DynamoDB
6838
7272
  # settings.
6839
7273
  # @return [Types::ProvisionedThroughputOverride]
6840
7274
  #
7275
+ # @!attribute [rw] on_demand_throughput_override
7276
+ # Overrides the maximum on-demand throughput for the specified global
7277
+ # secondary index in the specified replica table.
7278
+ # @return [Types::OnDemandThroughputOverride]
7279
+ #
6841
7280
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaGlobalSecondaryIndexDescription AWS API Documentation
6842
7281
  #
6843
7282
  class ReplicaGlobalSecondaryIndexDescription < Struct.new(
6844
7283
  :index_name,
6845
- :provisioned_throughput_override)
7284
+ :provisioned_throughput_override,
7285
+ :on_demand_throughput_override)
6846
7286
  SENSITIVE = []
6847
7287
  include Aws::Structure
6848
7288
  end
@@ -7239,6 +7679,12 @@ module Aws::DynamoDB
7239
7679
  # Provisioned throughput settings for the restored table.
7240
7680
  # @return [Types::ProvisionedThroughput]
7241
7681
  #
7682
+ # @!attribute [rw] on_demand_throughput_override
7683
+ # Sets the maximum number of read and write units for the specified
7684
+ # on-demand table. If you use this parameter, you must specify
7685
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
7686
+ # @return [Types::OnDemandThroughput]
7687
+ #
7242
7688
  # @!attribute [rw] sse_specification_override
7243
7689
  # The new server-side encryption settings for the restored table.
7244
7690
  # @return [Types::SSESpecification]
@@ -7252,6 +7698,7 @@ module Aws::DynamoDB
7252
7698
  :global_secondary_index_override,
7253
7699
  :local_secondary_index_override,
7254
7700
  :provisioned_throughput_override,
7701
+ :on_demand_throughput_override,
7255
7702
  :sse_specification_override)
7256
7703
  SENSITIVE = []
7257
7704
  include Aws::Structure
@@ -7312,6 +7759,12 @@ module Aws::DynamoDB
7312
7759
  # Provisioned throughput settings for the restored table.
7313
7760
  # @return [Types::ProvisionedThroughput]
7314
7761
  #
7762
+ # @!attribute [rw] on_demand_throughput_override
7763
+ # Sets the maximum number of read and write units for the specified
7764
+ # on-demand table. If you use this parameter, you must specify
7765
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
7766
+ # @return [Types::OnDemandThroughput]
7767
+ #
7315
7768
  # @!attribute [rw] sse_specification_override
7316
7769
  # The new server-side encryption settings for the restored table.
7317
7770
  # @return [Types::SSESpecification]
@@ -7328,6 +7781,7 @@ module Aws::DynamoDB
7328
7781
  :global_secondary_index_override,
7329
7782
  :local_secondary_index_override,
7330
7783
  :provisioned_throughput_override,
7784
+ :on_demand_throughput_override,
7331
7785
  :sse_specification_override)
7332
7786
  SENSITIVE = []
7333
7787
  include Aws::Structure
@@ -7457,9 +7911,12 @@ module Aws::DynamoDB
7457
7911
  # Represents the input of a `Scan` operation.
7458
7912
  #
7459
7913
  # @!attribute [rw] table_name
7460
- # The name of the table containing the requested items; or, if you
7914
+ # The name of the table containing the requested items or if you
7461
7915
  # provide `IndexName`, the name of the table to which that index
7462
7916
  # belongs.
7917
+ #
7918
+ # You can also provide the Amazon Resource Name (ARN) of the table in
7919
+ # this parameter.
7463
7920
  # @return [String]
7464
7921
  #
7465
7922
  # @!attribute [rw] index_name
@@ -7673,7 +8130,7 @@ module Aws::DynamoDB
7673
8130
  #
7674
8131
  #
7675
8132
  #
7676
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
8133
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression
7677
8134
  # @return [String]
7678
8135
  #
7679
8136
  # @!attribute [rw] expression_attribute_names
@@ -7852,12 +8309,12 @@ module Aws::DynamoDB
7852
8309
  # with statistics for the table and any indexes involved in the
7853
8310
  # operation. `ConsumedCapacity` is only returned if the
7854
8311
  # `ReturnConsumedCapacity` parameter was specified. For more
7855
- # information, see [Provisioned Throughput][1] in the *Amazon DynamoDB
7856
- # Developer Guide*.
8312
+ # information, see [Capacity unit consumption for read operations][1]
8313
+ # in the *Amazon DynamoDB Developer Guide*.
7857
8314
  #
7858
8315
  #
7859
8316
  #
7860
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html#ItemSizeCalculations.Reads
8317
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption
7861
8318
  # @return [Types::ConsumedCapacity]
7862
8319
  #
7863
8320
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanOutput AWS API Documentation
@@ -7902,6 +8359,12 @@ module Aws::DynamoDB
7902
8359
  # Read IOPs and Write IOPS on the table when the backup was created.
7903
8360
  # @return [Types::ProvisionedThroughput]
7904
8361
  #
8362
+ # @!attribute [rw] on_demand_throughput
8363
+ # Sets the maximum number of read and write units for the specified
8364
+ # on-demand table. If you use this parameter, you must specify
8365
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
8366
+ # @return [Types::OnDemandThroughput]
8367
+ #
7905
8368
  # @!attribute [rw] item_count
7906
8369
  # Number of items in the table. Note that this is an approximate
7907
8370
  # value.
@@ -7930,6 +8393,7 @@ module Aws::DynamoDB
7930
8393
  :key_schema,
7931
8394
  :table_creation_date_time,
7932
8395
  :provisioned_throughput,
8396
+ :on_demand_throughput,
7933
8397
  :item_count,
7934
8398
  :billing_mode)
7935
8399
  SENSITIVE = []
@@ -8110,6 +8574,12 @@ module Aws::DynamoDB
8110
8574
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
8111
8575
  # @return [Types::ProvisionedThroughput]
8112
8576
  #
8577
+ # @!attribute [rw] on_demand_throughput
8578
+ # Sets the maximum number of read and write units for the specified
8579
+ # on-demand table. If you use this parameter, you must specify
8580
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
8581
+ # @return [Types::OnDemandThroughput]
8582
+ #
8113
8583
  # @!attribute [rw] sse_specification
8114
8584
  # Represents the settings used to enable server-side encryption.
8115
8585
  # @return [Types::SSESpecification]
@@ -8127,6 +8597,7 @@ module Aws::DynamoDB
8127
8597
  :key_schema,
8128
8598
  :billing_mode,
8129
8599
  :provisioned_throughput,
8600
+ :on_demand_throughput,
8130
8601
  :sse_specification,
8131
8602
  :global_secondary_indexes)
8132
8603
  SENSITIVE = []
@@ -8432,6 +8903,12 @@ module Aws::DynamoDB
8432
8903
  # (false) on the table.
8433
8904
  # @return [Boolean]
8434
8905
  #
8906
+ # @!attribute [rw] on_demand_throughput
8907
+ # The maximum number of read and write units for the specified
8908
+ # on-demand table. If you use this parameter, you must specify
8909
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
8910
+ # @return [Types::OnDemandThroughput]
8911
+ #
8435
8912
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription AWS API Documentation
8436
8913
  #
8437
8914
  class TableDescription < Struct.new(
@@ -8457,7 +8934,8 @@ module Aws::DynamoDB
8457
8934
  :sse_description,
8458
8935
  :archival_summary,
8459
8936
  :table_class_summary,
8460
- :deletion_protection_enabled)
8937
+ :deletion_protection_enabled,
8938
+ :on_demand_throughput)
8461
8939
  SENSITIVE = []
8462
8940
  include Aws::Structure
8463
8941
  end
@@ -8802,6 +9280,11 @@ module Aws::DynamoDB
8802
9280
  #
8803
9281
  # * There is a user error, such as an invalid data format.
8804
9282
  #
9283
+ # * There is an ongoing `TransactWriteItems` operation that conflicts
9284
+ # with a concurrent `TransactWriteItems` request. In this case the
9285
+ # `TransactWriteItems` operation fails with a
9286
+ # `TransactionCanceledException`.
9287
+ #
8805
9288
  # DynamoDB cancels a `TransactGetItems` request under the following
8806
9289
  # circumstances:
8807
9290
  #
@@ -9057,7 +9540,8 @@ module Aws::DynamoDB
9057
9540
  # @return [String]
9058
9541
  #
9059
9542
  # @!attribute [rw] table_name
9060
- # Name of the table for the `UpdateItem` request.
9543
+ # Name of the table for the `UpdateItem` request. You can also provide
9544
+ # the Amazon Resource Name (ARN) of the table in this parameter.
9061
9545
  # @return [String]
9062
9546
  #
9063
9547
  # @!attribute [rw] condition_expression
@@ -9096,7 +9580,8 @@ module Aws::DynamoDB
9096
9580
  end
9097
9581
 
9098
9582
  # @!attribute [rw] table_name
9099
- # The name of the table.
9583
+ # The name of the table. You can also provide the Amazon Resource Name
9584
+ # (ARN) of the table in this parameter.
9100
9585
  # @return [String]
9101
9586
  #
9102
9587
  # @!attribute [rw] point_in_time_recovery_specification
@@ -9126,7 +9611,8 @@ module Aws::DynamoDB
9126
9611
  end
9127
9612
 
9128
9613
  # @!attribute [rw] table_name
9129
- # The name of the table.
9614
+ # The name of the table. You can also provide the Amazon Resource Name
9615
+ # (ARN) of the table in this parameter.
9130
9616
  # @return [String]
9131
9617
  #
9132
9618
  # @!attribute [rw] index_name
@@ -9189,11 +9675,18 @@ module Aws::DynamoDB
9189
9675
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
9190
9676
  # @return [Types::ProvisionedThroughput]
9191
9677
  #
9678
+ # @!attribute [rw] on_demand_throughput
9679
+ # Updates the maximum number of read and write units for the specified
9680
+ # global secondary index. If you use this parameter, you must specify
9681
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
9682
+ # @return [Types::OnDemandThroughput]
9683
+ #
9192
9684
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalSecondaryIndexAction AWS API Documentation
9193
9685
  #
9194
9686
  class UpdateGlobalSecondaryIndexAction < Struct.new(
9195
9687
  :index_name,
9196
- :provisioned_throughput)
9688
+ :provisioned_throughput,
9689
+ :on_demand_throughput)
9197
9690
  SENSITIVE = []
9198
9691
  include Aws::Structure
9199
9692
  end
@@ -9239,16 +9732,16 @@ module Aws::DynamoDB
9239
9732
  #
9240
9733
  # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
9241
9734
  # workloads. `PROVISIONED` sets the billing mode to [Provisioned
9242
- # Mode][1].
9735
+ # capacity mode][1].
9243
9736
  #
9244
9737
  # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
9245
9738
  # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode
9246
- # to [On-Demand Mode][2].
9739
+ # to [On-demand capacity mode][2].
9247
9740
  #
9248
9741
  #
9249
9742
  #
9250
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual
9251
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand
9743
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
9744
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
9252
9745
  # @return [String]
9253
9746
  #
9254
9747
  # @!attribute [rw] global_table_provisioned_write_capacity_units
@@ -9304,7 +9797,9 @@ module Aws::DynamoDB
9304
9797
  # Represents the input of an `UpdateItem` operation.
9305
9798
  #
9306
9799
  # @!attribute [rw] table_name
9307
- # The name of the table containing the item to update.
9800
+ # The name of the table containing the item to update. You can also
9801
+ # provide the Amazon Resource Name (ARN) of the table in this
9802
+ # parameter.
9308
9803
  # @return [String]
9309
9804
  #
9310
9805
  # @!attribute [rw] key
@@ -9649,12 +10144,12 @@ module Aws::DynamoDB
9649
10144
  # with statistics for the table and any indexes involved in the
9650
10145
  # operation. `ConsumedCapacity` is only returned if the
9651
10146
  # `ReturnConsumedCapacity` parameter was specified. For more
9652
- # information, see [Provisioned Throughput][1] in the *Amazon DynamoDB
9653
- # Developer Guide*.
10147
+ # information, see [Capacity unity consumption for write
10148
+ # operations][1] in the *Amazon DynamoDB Developer Guide*.
9654
10149
  #
9655
10150
  #
9656
10151
  #
9657
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html#ItemSizeCalculations.Reads
10152
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#write-operation-consumption
9658
10153
  # @return [Types::ConsumedCapacity]
9659
10154
  #
9660
10155
  # @!attribute [rw] item_collection_metrics
@@ -9692,6 +10187,72 @@ module Aws::DynamoDB
9692
10187
  include Aws::Structure
9693
10188
  end
9694
10189
 
10190
+ # Enables updating the configuration for Kinesis Streaming.
10191
+ #
10192
+ # @!attribute [rw] approximate_creation_date_time_precision
10193
+ # Enables updating the precision of Kinesis data stream timestamp.
10194
+ # @return [String]
10195
+ #
10196
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateKinesisStreamingConfiguration AWS API Documentation
10197
+ #
10198
+ class UpdateKinesisStreamingConfiguration < Struct.new(
10199
+ :approximate_creation_date_time_precision)
10200
+ SENSITIVE = []
10201
+ include Aws::Structure
10202
+ end
10203
+
10204
+ # @!attribute [rw] table_name
10205
+ # The table name for the Kinesis streaming destination input. You can
10206
+ # also provide the ARN of the table in this parameter.
10207
+ # @return [String]
10208
+ #
10209
+ # @!attribute [rw] stream_arn
10210
+ # The Amazon Resource Name (ARN) for the Kinesis stream input.
10211
+ # @return [String]
10212
+ #
10213
+ # @!attribute [rw] update_kinesis_streaming_configuration
10214
+ # The command to update the Kinesis stream configuration.
10215
+ # @return [Types::UpdateKinesisStreamingConfiguration]
10216
+ #
10217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateKinesisStreamingDestinationInput AWS API Documentation
10218
+ #
10219
+ class UpdateKinesisStreamingDestinationInput < Struct.new(
10220
+ :table_name,
10221
+ :stream_arn,
10222
+ :update_kinesis_streaming_configuration)
10223
+ SENSITIVE = []
10224
+ include Aws::Structure
10225
+ end
10226
+
10227
+ # @!attribute [rw] table_name
10228
+ # The table name for the Kinesis streaming destination output.
10229
+ # @return [String]
10230
+ #
10231
+ # @!attribute [rw] stream_arn
10232
+ # The ARN for the Kinesis stream input.
10233
+ # @return [String]
10234
+ #
10235
+ # @!attribute [rw] destination_status
10236
+ # The status of the attempt to update the Kinesis streaming
10237
+ # destination output.
10238
+ # @return [String]
10239
+ #
10240
+ # @!attribute [rw] update_kinesis_streaming_configuration
10241
+ # The command to update the Kinesis streaming destination
10242
+ # configuration.
10243
+ # @return [Types::UpdateKinesisStreamingConfiguration]
10244
+ #
10245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateKinesisStreamingDestinationOutput AWS API Documentation
10246
+ #
10247
+ class UpdateKinesisStreamingDestinationOutput < Struct.new(
10248
+ :table_name,
10249
+ :stream_arn,
10250
+ :destination_status,
10251
+ :update_kinesis_streaming_configuration)
10252
+ SENSITIVE = []
10253
+ include Aws::Structure
10254
+ end
10255
+
9695
10256
  # Represents a replica to be modified.
9696
10257
  #
9697
10258
  # @!attribute [rw] region_name
@@ -9711,6 +10272,10 @@ module Aws::DynamoDB
9711
10272
  # source table's provisioned throughput settings.
9712
10273
  # @return [Types::ProvisionedThroughputOverride]
9713
10274
  #
10275
+ # @!attribute [rw] on_demand_throughput_override
10276
+ # Overrides the maximum on-demand throughput for the replica table.
10277
+ # @return [Types::OnDemandThroughputOverride]
10278
+ #
9714
10279
  # @!attribute [rw] global_secondary_indexes
9715
10280
  # Replica-specific global secondary index settings.
9716
10281
  # @return [Array<Types::ReplicaGlobalSecondaryIndex>]
@@ -9726,6 +10291,7 @@ module Aws::DynamoDB
9726
10291
  :region_name,
9727
10292
  :kms_master_key_id,
9728
10293
  :provisioned_throughput_override,
10294
+ :on_demand_throughput_override,
9729
10295
  :global_secondary_indexes,
9730
10296
  :table_class_override)
9731
10297
  SENSITIVE = []
@@ -9742,7 +10308,8 @@ module Aws::DynamoDB
9742
10308
  # @return [Array<Types::AttributeDefinition>]
9743
10309
  #
9744
10310
  # @!attribute [rw] table_name
9745
- # The name of the table to be updated.
10311
+ # The name of the table to be updated. You can also provide the Amazon
10312
+ # Resource Name (ARN) of the table in this parameter.
9746
10313
  # @return [String]
9747
10314
  #
9748
10315
  # @!attribute [rw] billing_mode
@@ -9755,16 +10322,16 @@ module Aws::DynamoDB
9755
10322
  #
9756
10323
  # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
9757
10324
  # workloads. `PROVISIONED` sets the billing mode to [Provisioned
9758
- # Mode][1].
10325
+ # capacity mode][1].
9759
10326
  #
9760
10327
  # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
9761
10328
  # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode
9762
- # to [On-Demand Mode][2].
10329
+ # to [On-demand capacity mode][2].
9763
10330
  #
9764
10331
  #
9765
10332
  #
9766
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual
9767
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand
10333
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
10334
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
9768
10335
  # @return [String]
9769
10336
  #
9770
10337
  # @!attribute [rw] provisioned_throughput
@@ -9797,9 +10364,9 @@ module Aws::DynamoDB
9797
10364
  # @!attribute [rw] stream_specification
9798
10365
  # Represents the DynamoDB Streams configuration for the table.
9799
10366
  #
9800
- # <note markdown="1"> You receive a `ResourceInUseException` if you try to enable a stream
9801
- # on a table that already has a stream, or if you try to disable a
9802
- # stream on a table that doesn't have a stream.
10367
+ # <note markdown="1"> You receive a `ValidationException` if you try to enable a stream on
10368
+ # a table that already has a stream, or if you try to disable a stream
10369
+ # on a table that doesn't have a stream.
9803
10370
  #
9804
10371
  # </note>
9805
10372
  # @return [Types::StreamSpecification]
@@ -9812,14 +10379,10 @@ module Aws::DynamoDB
9812
10379
  # A list of replica update actions (create, delete, or update) for the
9813
10380
  # table.
9814
10381
  #
9815
- # <note markdown="1"> This property only applies to [Version 2019.11.21 (Current)][1] of
9816
- # global tables.
10382
+ # <note markdown="1"> For global tables, this property only applies to global tables using
10383
+ # Version 2019.11.21 (Current version).
9817
10384
  #
9818
10385
  # </note>
9819
- #
9820
- #
9821
- #
9822
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
9823
10386
  # @return [Array<Types::ReplicationGroupUpdate>]
9824
10387
  #
9825
10388
  # @!attribute [rw] table_class
@@ -9832,6 +10395,12 @@ module Aws::DynamoDB
9832
10395
  # disabled (false) on the table.
9833
10396
  # @return [Boolean]
9834
10397
  #
10398
+ # @!attribute [rw] on_demand_throughput
10399
+ # Updates the maximum number of read and write units for the specified
10400
+ # table in on-demand capacity mode. If you use this parameter, you
10401
+ # must specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
10402
+ # @return [Types::OnDemandThroughput]
10403
+ #
9835
10404
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput AWS API Documentation
9836
10405
  #
9837
10406
  class UpdateTableInput < Struct.new(
@@ -9844,7 +10413,8 @@ module Aws::DynamoDB
9844
10413
  :sse_specification,
9845
10414
  :replica_updates,
9846
10415
  :table_class,
9847
- :deletion_protection_enabled)
10416
+ :deletion_protection_enabled,
10417
+ :on_demand_throughput)
9848
10418
  SENSITIVE = []
9849
10419
  include Aws::Structure
9850
10420
  end
@@ -9869,7 +10439,8 @@ module Aws::DynamoDB
9869
10439
  # @return [Array<Types::GlobalSecondaryIndexAutoScalingUpdate>]
9870
10440
  #
9871
10441
  # @!attribute [rw] table_name
9872
- # The name of the global table to be updated.
10442
+ # The name of the global table to be updated. You can also provide the
10443
+ # Amazon Resource Name (ARN) of the table in this parameter.
9873
10444
  # @return [String]
9874
10445
  #
9875
10446
  # @!attribute [rw] provisioned_write_capacity_auto_scaling_update
@@ -9909,7 +10480,8 @@ module Aws::DynamoDB
9909
10480
  # Represents the input of an `UpdateTimeToLive` operation.
9910
10481
  #
9911
10482
  # @!attribute [rw] table_name
9912
- # The name of the table to be configured.
10483
+ # The name of the table to be configured. You can also provide the
10484
+ # Amazon Resource Name (ARN) of the table in this parameter.
9913
10485
  # @return [String]
9914
10486
  #
9915
10487
  # @!attribute [rw] time_to_live_specification