aws-sdk-dynamodb 1.38.0 → 1.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc7250679afbec78bf303aac1bd4e16494a9569a
4
- data.tar.gz: f8206beb5f18ac1592a13e989dd4971cbfb8c139
3
+ metadata.gz: 94a48a038aa241e50f09bda03c5e6f64e1ca84a7
4
+ data.tar.gz: a42497e8d038f03b0df54d0a172b62689b874b58
5
5
  SHA512:
6
- metadata.gz: ad4799edb1a13a13fcdb9c478925018bdb0dc78072baf3ea49df26610f40d38c2d7acd56c127dfe78f9cd78883529ea04f8c208195e24bd05df55f1bc8b534a0
7
- data.tar.gz: 83c622e631d8e3523c9a20926774d60bdaec363a75844299181dad3ab7f7e752602b6755cb16374c96d0ba83be2936ed89e0a3f8708908f05194864e0ccfc74a
6
+ metadata.gz: 782869a785466f628a5b923fbbc13c93600c5a51db05fa01d32b2ec8eaec7c36091055daf8c689a5e08dd3d7c8b656c72a4ec4aca0c74ffa16d00ef18dfad8ee
7
+ data.tar.gz: 59a41c4197018b33e9814cf05cf22147344ac9608a8de724fc349a3231397c918ec650f8d958c99d3e86fffe94bc11f3e591ffaf56fd2e36a872b98627fca690
@@ -44,6 +44,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
44
44
  # @service
45
45
  module Aws::DynamoDB
46
46
 
47
- GEM_VERSION = '1.38.0'
47
+ GEM_VERSION = '1.39.0'
48
48
 
49
49
  end
@@ -889,6 +889,10 @@ module Aws::DynamoDB
889
889
  # a replication relationship between two or more DynamoDB tables with
890
890
  # the same table name in the provided Regions.
891
891
  #
892
+ # <note markdown="1"> This method only applies to [Version 2017.11.29][1] of global tables.
893
+ #
894
+ # </note>
895
+ #
892
896
  # If you want to add a new replica table to a global table, each of the
893
897
  # following conditions must be true:
894
898
  #
@@ -920,6 +924,10 @@ module Aws::DynamoDB
920
924
  # tables. You should also provision equal replicated write capacity
921
925
  # units to matching secondary indexes across your global table.
922
926
  #
927
+ #
928
+ #
929
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html
930
+ #
923
931
  # @option params [required, String] :global_table_name
924
932
  # The global table name.
925
933
  #
@@ -945,6 +953,14 @@ module Aws::DynamoDB
945
953
  #
946
954
  # resp.global_table_description.replication_group #=> Array
947
955
  # resp.global_table_description.replication_group[0].region_name #=> String
956
+ # resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
957
+ # resp.global_table_description.replication_group[0].replica_status_description #=> String
958
+ # resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
959
+ # resp.global_table_description.replication_group[0].kms_master_key_id #=> String
960
+ # resp.global_table_description.replication_group[0].provisioned_throughput_override.read_capacity_units #=> Integer
961
+ # resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
962
+ # resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
963
+ # resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
948
964
  # resp.global_table_description.global_table_arn #=> String
949
965
  # resp.global_table_description.creation_date_time #=> Time
950
966
  # resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
@@ -1306,7 +1322,7 @@ module Aws::DynamoDB
1306
1322
  # write_capacity_units: 1, # required
1307
1323
  # },
1308
1324
  # stream_specification: {
1309
- # stream_enabled: false,
1325
+ # stream_enabled: false, # required
1310
1326
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
1311
1327
  # },
1312
1328
  # sse_specification: {
@@ -1377,6 +1393,17 @@ module Aws::DynamoDB
1377
1393
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
1378
1394
  # resp.table_description.latest_stream_label #=> String
1379
1395
  # resp.table_description.latest_stream_arn #=> String
1396
+ # resp.table_description.global_table_version #=> String
1397
+ # resp.table_description.replicas #=> Array
1398
+ # resp.table_description.replicas[0].region_name #=> String
1399
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
1400
+ # resp.table_description.replicas[0].replica_status_description #=> String
1401
+ # resp.table_description.replicas[0].replica_status_percent_progress #=> String
1402
+ # resp.table_description.replicas[0].kms_master_key_id #=> String
1403
+ # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
1404
+ # resp.table_description.replicas[0].global_secondary_indexes #=> Array
1405
+ # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
1406
+ # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
1380
1407
  # resp.table_description.restore_summary.source_backup_arn #=> String
1381
1408
  # resp.table_description.restore_summary.source_table_arn #=> String
1382
1409
  # resp.table_description.restore_summary.restore_date_time #=> Time
@@ -1855,6 +1882,17 @@ module Aws::DynamoDB
1855
1882
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
1856
1883
  # resp.table_description.latest_stream_label #=> String
1857
1884
  # resp.table_description.latest_stream_arn #=> String
1885
+ # resp.table_description.global_table_version #=> String
1886
+ # resp.table_description.replicas #=> Array
1887
+ # resp.table_description.replicas[0].region_name #=> String
1888
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
1889
+ # resp.table_description.replicas[0].replica_status_description #=> String
1890
+ # resp.table_description.replicas[0].replica_status_percent_progress #=> String
1891
+ # resp.table_description.replicas[0].kms_master_key_id #=> String
1892
+ # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
1893
+ # resp.table_description.replicas[0].global_secondary_indexes #=> Array
1894
+ # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
1895
+ # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
1858
1896
  # resp.table_description.restore_summary.source_backup_arn #=> String
1859
1897
  # resp.table_description.restore_summary.source_table_arn #=> String
1860
1898
  # resp.table_description.restore_summary.restore_date_time #=> Time
@@ -2015,6 +2053,14 @@ module Aws::DynamoDB
2015
2053
 
2016
2054
  # Returns information about the specified global table.
2017
2055
  #
2056
+ # <note markdown="1"> This method only applies to [Version 2017.11.29][1] of global tables.
2057
+ #
2058
+ # </note>
2059
+ #
2060
+ #
2061
+ #
2062
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html
2063
+ #
2018
2064
  # @option params [required, String] :global_table_name
2019
2065
  # The name of the global table.
2020
2066
  #
@@ -2032,6 +2078,14 @@ module Aws::DynamoDB
2032
2078
  #
2033
2079
  # resp.global_table_description.replication_group #=> Array
2034
2080
  # resp.global_table_description.replication_group[0].region_name #=> String
2081
+ # resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
2082
+ # resp.global_table_description.replication_group[0].replica_status_description #=> String
2083
+ # resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
2084
+ # resp.global_table_description.replication_group[0].kms_master_key_id #=> String
2085
+ # resp.global_table_description.replication_group[0].provisioned_throughput_override.read_capacity_units #=> Integer
2086
+ # resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
2087
+ # resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
2088
+ # resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
2035
2089
  # resp.global_table_description.global_table_arn #=> String
2036
2090
  # resp.global_table_description.creation_date_time #=> Time
2037
2091
  # resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
@@ -2048,6 +2102,14 @@ module Aws::DynamoDB
2048
2102
 
2049
2103
  # Describes Region-specific settings for a global table.
2050
2104
  #
2105
+ # <note markdown="1"> This method only applies to [Version 2017.11.29][1] of global tables.
2106
+ #
2107
+ # </note>
2108
+ #
2109
+ #
2110
+ #
2111
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html
2112
+ #
2051
2113
  # @option params [required, String] :global_table_name
2052
2114
  # The name of the global table to describe.
2053
2115
  #
@@ -2067,7 +2129,7 @@ module Aws::DynamoDB
2067
2129
  # resp.global_table_name #=> String
2068
2130
  # resp.replica_settings #=> Array
2069
2131
  # resp.replica_settings[0].region_name #=> String
2070
- # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
2132
+ # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
2071
2133
  # resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
2072
2134
  # resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
2073
2135
  # resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
@@ -2362,6 +2424,17 @@ module Aws::DynamoDB
2362
2424
  # resp.table.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
2363
2425
  # resp.table.latest_stream_label #=> String
2364
2426
  # resp.table.latest_stream_arn #=> String
2427
+ # resp.table.global_table_version #=> String
2428
+ # resp.table.replicas #=> Array
2429
+ # resp.table.replicas[0].region_name #=> String
2430
+ # resp.table.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
2431
+ # resp.table.replicas[0].replica_status_description #=> String
2432
+ # resp.table.replicas[0].replica_status_percent_progress #=> String
2433
+ # resp.table.replicas[0].kms_master_key_id #=> String
2434
+ # resp.table.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
2435
+ # resp.table.replicas[0].global_secondary_indexes #=> Array
2436
+ # resp.table.replicas[0].global_secondary_indexes[0].index_name #=> String
2437
+ # resp.table.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
2365
2438
  # resp.table.restore_summary.source_backup_arn #=> String
2366
2439
  # resp.table.restore_summary.source_table_arn #=> String
2367
2440
  # resp.table.restore_summary.restore_date_time #=> Time
@@ -2379,6 +2452,90 @@ module Aws::DynamoDB
2379
2452
  req.send_request(options)
2380
2453
  end
2381
2454
 
2455
+ # Describes auto scaling settings across replicas of the global table at
2456
+ # once.
2457
+ #
2458
+ # <note markdown="1"> This method only applies to [Version 2019.11.21][1] of global tables.
2459
+ #
2460
+ # </note>
2461
+ #
2462
+ #
2463
+ #
2464
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
2465
+ #
2466
+ # @option params [required, String] :table_name
2467
+ # The name of the table.
2468
+ #
2469
+ # @return [Types::DescribeTableReplicaAutoScalingOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2470
+ #
2471
+ # * {Types::DescribeTableReplicaAutoScalingOutput#table_auto_scaling_description #table_auto_scaling_description} => Types::TableAutoScalingDescription
2472
+ #
2473
+ # @example Request syntax with placeholder values
2474
+ #
2475
+ # resp = client.describe_table_replica_auto_scaling({
2476
+ # table_name: "TableName", # required
2477
+ # })
2478
+ #
2479
+ # @example Response structure
2480
+ #
2481
+ # resp.table_auto_scaling_description.table_name #=> String
2482
+ # resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
2483
+ # resp.table_auto_scaling_description.replicas #=> Array
2484
+ # resp.table_auto_scaling_description.replicas[0].region_name #=> String
2485
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes #=> Array
2486
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].index_name #=> String
2487
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].index_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
2488
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.minimum_units #=> Integer
2489
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.maximum_units #=> Integer
2490
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
2491
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
2492
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies #=> Array
2493
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
2494
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
2495
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
2496
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
2497
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
2498
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.minimum_units #=> Integer
2499
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.maximum_units #=> Integer
2500
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
2501
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
2502
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies #=> Array
2503
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
2504
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
2505
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
2506
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
2507
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
2508
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.minimum_units #=> Integer
2509
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.maximum_units #=> Integer
2510
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
2511
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
2512
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies #=> Array
2513
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
2514
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
2515
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
2516
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
2517
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
2518
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.minimum_units #=> Integer
2519
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.maximum_units #=> Integer
2520
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
2521
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
2522
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies #=> Array
2523
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
2524
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
2525
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
2526
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
2527
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
2528
+ # resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
2529
+ #
2530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScaling AWS API Documentation
2531
+ #
2532
+ # @overload describe_table_replica_auto_scaling(params = {})
2533
+ # @param [Hash] params ({})
2534
+ def describe_table_replica_auto_scaling(params = {}, options = {})
2535
+ req = build_request(:describe_table_replica_auto_scaling, params)
2536
+ req.send_request(options)
2537
+ end
2538
+
2382
2539
  # Gives a description of the Time to Live (TTL) status on the specified
2383
2540
  # table.
2384
2541
  #
@@ -2690,6 +2847,14 @@ module Aws::DynamoDB
2690
2847
 
2691
2848
  # Lists all global tables that have a replica in the specified Region.
2692
2849
  #
2850
+ # <note markdown="1"> This method only applies to [Version 2017.11.29][1] of global tables.
2851
+ #
2852
+ # </note>
2853
+ #
2854
+ #
2855
+ #
2856
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html
2857
+ #
2693
2858
  # @option params [String] :exclusive_start_global_table_name
2694
2859
  # The first global table name that this operation will evaluate.
2695
2860
  #
@@ -3851,6 +4016,17 @@ module Aws::DynamoDB
3851
4016
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
3852
4017
  # resp.table_description.latest_stream_label #=> String
3853
4018
  # resp.table_description.latest_stream_arn #=> String
4019
+ # resp.table_description.global_table_version #=> String
4020
+ # resp.table_description.replicas #=> Array
4021
+ # resp.table_description.replicas[0].region_name #=> String
4022
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
4023
+ # resp.table_description.replicas[0].replica_status_description #=> String
4024
+ # resp.table_description.replicas[0].replica_status_percent_progress #=> String
4025
+ # resp.table_description.replicas[0].kms_master_key_id #=> String
4026
+ # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
4027
+ # resp.table_description.replicas[0].global_secondary_indexes #=> Array
4028
+ # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
4029
+ # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
3854
4030
  # resp.table_description.restore_summary.source_backup_arn #=> String
3855
4031
  # resp.table_description.restore_summary.source_table_arn #=> String
3856
4032
  # resp.table_description.restore_summary.restore_date_time #=> Time
@@ -4045,6 +4221,17 @@ module Aws::DynamoDB
4045
4221
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
4046
4222
  # resp.table_description.latest_stream_label #=> String
4047
4223
  # resp.table_description.latest_stream_arn #=> String
4224
+ # resp.table_description.global_table_version #=> String
4225
+ # resp.table_description.replicas #=> Array
4226
+ # resp.table_description.replicas[0].region_name #=> String
4227
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
4228
+ # resp.table_description.replicas[0].replica_status_description #=> String
4229
+ # resp.table_description.replicas[0].replica_status_percent_progress #=> String
4230
+ # resp.table_description.replicas[0].kms_master_key_id #=> String
4231
+ # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
4232
+ # resp.table_description.replicas[0].global_secondary_indexes #=> Array
4233
+ # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
4234
+ # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
4048
4235
  # resp.table_description.restore_summary.source_backup_arn #=> String
4049
4236
  # resp.table_description.restore_summary.source_table_arn #=> String
4050
4237
  # resp.table_description.restore_summary.restore_date_time #=> Time
@@ -4994,6 +5181,14 @@ module Aws::DynamoDB
4994
5181
  #
4995
5182
  # resp.global_table_description.replication_group #=> Array
4996
5183
  # resp.global_table_description.replication_group[0].region_name #=> String
5184
+ # resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
5185
+ # resp.global_table_description.replication_group[0].replica_status_description #=> String
5186
+ # resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
5187
+ # resp.global_table_description.replication_group[0].kms_master_key_id #=> String
5188
+ # resp.global_table_description.replication_group[0].provisioned_throughput_override.read_capacity_units #=> Integer
5189
+ # resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
5190
+ # resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
5191
+ # resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
4997
5192
  # resp.global_table_description.global_table_arn #=> String
4998
5193
  # resp.global_table_description.creation_date_time #=> Time
4999
5194
  # resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
@@ -5143,7 +5338,7 @@ module Aws::DynamoDB
5143
5338
  # resp.global_table_name #=> String
5144
5339
  # resp.replica_settings #=> Array
5145
5340
  # resp.replica_settings[0].region_name #=> String
5146
- # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
5341
+ # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
5147
5342
  # resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
5148
5343
  # resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
5149
5344
  # resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
@@ -5685,6 +5880,19 @@ module Aws::DynamoDB
5685
5880
  # @option params [Types::SSESpecification] :sse_specification
5686
5881
  # The new server-side encryption settings for the specified table.
5687
5882
  #
5883
+ # @option params [Array<Types::ReplicationGroupUpdate>] :replica_updates
5884
+ # A list of replica update actions (create, delete, or update) for the
5885
+ # table.
5886
+ #
5887
+ # <note markdown="1"> This property only applies to [Version 2019.11.21][1] of global
5888
+ # tables.
5889
+ #
5890
+ # </note>
5891
+ #
5892
+ #
5893
+ #
5894
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
5895
+ #
5688
5896
  # @return [Types::UpdateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5689
5897
  #
5690
5898
  # * {Types::UpdateTableOutput#table_description #table_description} => Types::TableDescription
@@ -5786,7 +5994,7 @@ module Aws::DynamoDB
5786
5994
  # },
5787
5995
  # ],
5788
5996
  # stream_specification: {
5789
- # stream_enabled: false,
5997
+ # stream_enabled: false, # required
5790
5998
  # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
5791
5999
  # },
5792
6000
  # sse_specification: {
@@ -5794,6 +6002,43 @@ module Aws::DynamoDB
5794
6002
  # sse_type: "AES256", # accepts AES256, KMS
5795
6003
  # kms_master_key_id: "KMSMasterKeyId",
5796
6004
  # },
6005
+ # replica_updates: [
6006
+ # {
6007
+ # create: {
6008
+ # region_name: "RegionName", # required
6009
+ # kms_master_key_id: "KMSMasterKeyId",
6010
+ # provisioned_throughput_override: {
6011
+ # read_capacity_units: 1,
6012
+ # },
6013
+ # global_secondary_indexes: [
6014
+ # {
6015
+ # index_name: "IndexName", # required
6016
+ # provisioned_throughput_override: {
6017
+ # read_capacity_units: 1,
6018
+ # },
6019
+ # },
6020
+ # ],
6021
+ # },
6022
+ # update: {
6023
+ # region_name: "RegionName", # required
6024
+ # kms_master_key_id: "KMSMasterKeyId",
6025
+ # provisioned_throughput_override: {
6026
+ # read_capacity_units: 1,
6027
+ # },
6028
+ # global_secondary_indexes: [
6029
+ # {
6030
+ # index_name: "IndexName", # required
6031
+ # provisioned_throughput_override: {
6032
+ # read_capacity_units: 1,
6033
+ # },
6034
+ # },
6035
+ # ],
6036
+ # },
6037
+ # delete: {
6038
+ # region_name: "RegionName", # required
6039
+ # },
6040
+ # },
6041
+ # ],
5797
6042
  # })
5798
6043
  #
5799
6044
  # @example Response structure
@@ -5851,6 +6096,17 @@ module Aws::DynamoDB
5851
6096
  # resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
5852
6097
  # resp.table_description.latest_stream_label #=> String
5853
6098
  # resp.table_description.latest_stream_arn #=> String
6099
+ # resp.table_description.global_table_version #=> String
6100
+ # resp.table_description.replicas #=> Array
6101
+ # resp.table_description.replicas[0].region_name #=> String
6102
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
6103
+ # resp.table_description.replicas[0].replica_status_description #=> String
6104
+ # resp.table_description.replicas[0].replica_status_percent_progress #=> String
6105
+ # resp.table_description.replicas[0].kms_master_key_id #=> String
6106
+ # resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
6107
+ # resp.table_description.replicas[0].global_secondary_indexes #=> Array
6108
+ # resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
6109
+ # resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
5854
6110
  # resp.table_description.restore_summary.source_backup_arn #=> String
5855
6111
  # resp.table_description.restore_summary.source_table_arn #=> String
5856
6112
  # resp.table_description.restore_summary.restore_date_time #=> Time
@@ -5868,6 +6124,176 @@ module Aws::DynamoDB
5868
6124
  req.send_request(options)
5869
6125
  end
5870
6126
 
6127
+ # Updates auto scaling settings on your global tables at once.
6128
+ #
6129
+ # <note markdown="1"> This method only applies to [Version 2019.11.21][1] of global tables.
6130
+ #
6131
+ # </note>
6132
+ #
6133
+ #
6134
+ #
6135
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
6136
+ #
6137
+ # @option params [Array<Types::GlobalSecondaryIndexAutoScalingUpdate>] :global_secondary_index_updates
6138
+ # Represents the auto scaling settings of the global secondary indexes
6139
+ # of the replica to be updated.
6140
+ #
6141
+ # @option params [required, String] :table_name
6142
+ # The name of the global table to be updated.
6143
+ #
6144
+ # @option params [Types::AutoScalingSettingsUpdate] :provisioned_write_capacity_auto_scaling_update
6145
+ # Represents the auto scaling settings to be modified for a global table
6146
+ # or global secondary index.
6147
+ #
6148
+ # @option params [Array<Types::ReplicaAutoScalingUpdate>] :replica_updates
6149
+ # Represents the auto scaling settings of replicas of the table that
6150
+ # will be modified.
6151
+ #
6152
+ # @return [Types::UpdateTableReplicaAutoScalingOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6153
+ #
6154
+ # * {Types::UpdateTableReplicaAutoScalingOutput#table_auto_scaling_description #table_auto_scaling_description} => Types::TableAutoScalingDescription
6155
+ #
6156
+ # @example Request syntax with placeholder values
6157
+ #
6158
+ # resp = client.update_table_replica_auto_scaling({
6159
+ # global_secondary_index_updates: [
6160
+ # {
6161
+ # index_name: "IndexName",
6162
+ # provisioned_write_capacity_auto_scaling_update: {
6163
+ # minimum_units: 1,
6164
+ # maximum_units: 1,
6165
+ # auto_scaling_disabled: false,
6166
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6167
+ # scaling_policy_update: {
6168
+ # policy_name: "AutoScalingPolicyName",
6169
+ # target_tracking_scaling_policy_configuration: { # required
6170
+ # disable_scale_in: false,
6171
+ # scale_in_cooldown: 1,
6172
+ # scale_out_cooldown: 1,
6173
+ # target_value: 1.0, # required
6174
+ # },
6175
+ # },
6176
+ # },
6177
+ # },
6178
+ # ],
6179
+ # table_name: "TableName", # required
6180
+ # provisioned_write_capacity_auto_scaling_update: {
6181
+ # minimum_units: 1,
6182
+ # maximum_units: 1,
6183
+ # auto_scaling_disabled: false,
6184
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6185
+ # scaling_policy_update: {
6186
+ # policy_name: "AutoScalingPolicyName",
6187
+ # target_tracking_scaling_policy_configuration: { # required
6188
+ # disable_scale_in: false,
6189
+ # scale_in_cooldown: 1,
6190
+ # scale_out_cooldown: 1,
6191
+ # target_value: 1.0, # required
6192
+ # },
6193
+ # },
6194
+ # },
6195
+ # replica_updates: [
6196
+ # {
6197
+ # region_name: "RegionName", # required
6198
+ # replica_global_secondary_index_updates: [
6199
+ # {
6200
+ # index_name: "IndexName",
6201
+ # provisioned_read_capacity_auto_scaling_update: {
6202
+ # minimum_units: 1,
6203
+ # maximum_units: 1,
6204
+ # auto_scaling_disabled: false,
6205
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6206
+ # scaling_policy_update: {
6207
+ # policy_name: "AutoScalingPolicyName",
6208
+ # target_tracking_scaling_policy_configuration: { # required
6209
+ # disable_scale_in: false,
6210
+ # scale_in_cooldown: 1,
6211
+ # scale_out_cooldown: 1,
6212
+ # target_value: 1.0, # required
6213
+ # },
6214
+ # },
6215
+ # },
6216
+ # },
6217
+ # ],
6218
+ # replica_provisioned_read_capacity_auto_scaling_update: {
6219
+ # minimum_units: 1,
6220
+ # maximum_units: 1,
6221
+ # auto_scaling_disabled: false,
6222
+ # auto_scaling_role_arn: "AutoScalingRoleArn",
6223
+ # scaling_policy_update: {
6224
+ # policy_name: "AutoScalingPolicyName",
6225
+ # target_tracking_scaling_policy_configuration: { # required
6226
+ # disable_scale_in: false,
6227
+ # scale_in_cooldown: 1,
6228
+ # scale_out_cooldown: 1,
6229
+ # target_value: 1.0, # required
6230
+ # },
6231
+ # },
6232
+ # },
6233
+ # },
6234
+ # ],
6235
+ # })
6236
+ #
6237
+ # @example Response structure
6238
+ #
6239
+ # resp.table_auto_scaling_description.table_name #=> String
6240
+ # resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
6241
+ # resp.table_auto_scaling_description.replicas #=> Array
6242
+ # resp.table_auto_scaling_description.replicas[0].region_name #=> String
6243
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes #=> Array
6244
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].index_name #=> String
6245
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].index_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE"
6246
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.minimum_units #=> Integer
6247
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.maximum_units #=> Integer
6248
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
6249
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
6250
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies #=> Array
6251
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
6252
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
6253
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
6254
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
6255
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
6256
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.minimum_units #=> Integer
6257
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.maximum_units #=> Integer
6258
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
6259
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
6260
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies #=> Array
6261
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
6262
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
6263
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
6264
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
6265
+ # resp.table_auto_scaling_description.replicas[0].global_secondary_indexes[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
6266
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.minimum_units #=> Integer
6267
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.maximum_units #=> Integer
6268
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
6269
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
6270
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies #=> Array
6271
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
6272
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
6273
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
6274
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
6275
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_read_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
6276
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.minimum_units #=> Integer
6277
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.maximum_units #=> Integer
6278
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.auto_scaling_disabled #=> Boolean
6279
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.auto_scaling_role_arn #=> String
6280
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies #=> Array
6281
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].policy_name #=> String
6282
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
6283
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
6284
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
6285
+ # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
6286
+ # resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
6287
+ #
6288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableReplicaAutoScaling AWS API Documentation
6289
+ #
6290
+ # @overload update_table_replica_auto_scaling(params = {})
6291
+ # @param [Hash] params ({})
6292
+ def update_table_replica_auto_scaling(params = {}, options = {})
6293
+ req = build_request(:update_table_replica_auto_scaling, params)
6294
+ req.send_request(options)
6295
+ end
6296
+
5871
6297
  # The `UpdateTimeToLive` method enables or disables Time to Live (TTL)
5872
6298
  # for the specified table. A successful `UpdateTimeToLive` call returns
5873
6299
  # the current `TimeToLiveSpecification`. It can take up to one hour for
@@ -5953,7 +6379,7 @@ module Aws::DynamoDB
5953
6379
  params: params,
5954
6380
  config: config)
5955
6381
  context[:gem_name] = 'aws-sdk-dynamodb'
5956
- context[:gem_version] = '1.38.0'
6382
+ context[:gem_version] = '1.39.0'
5957
6383
  Seahorse::Client::Request.new(handlers, context)
5958
6384
  end
5959
6385