aws-sdk-keyspaces 1.14.0 → 1.16.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
  SHA256:
3
- metadata.gz: 81633eb1af30a3db58ac176975a96ce0545264a4582d72096d36a006e247859f
4
- data.tar.gz: 2fa8fcc2804910e0b231e6a9ad0b351022b348cac7e04bf090a4fca92d4867a2
3
+ metadata.gz: 599c29764833010218314335b15c06786e8c1e8f2893a2bf644b239bd49f9946
4
+ data.tar.gz: 0cd9419ce13e31ad40c1bf074f481d9b49b3471280e1a0385cad31b4667ab23c
5
5
  SHA512:
6
- metadata.gz: 6316b22ee92609c6dbde2c68a446e0efaa16264d8754648757ae0e1ec92221953f433fb6518d988866079defcf135da3fdd220feffc2790695174e340e79c0b6
7
- data.tar.gz: 114a3fe7bf474990f14c29ae73f59d471dcb9439ab29ecf29e56dd1661037a7db23575a6e6c9f83065735b305c813267cd211a9a4e6d14d3c99831179472f4c0
6
+ metadata.gz: 8228f6a74894985dc5321d5757c065e8906b9b2bf347605e0624e46e2be527054797030f43b3e8f07880abe2993dd7e771c3923ec7f0a755195c8ca4707cd021
7
+ data.tar.gz: c3dc85097d7b8dae32ddcb5d2ef11d493521d4a39228817abe4270c4b374bf2eb1c305fb43ebb7bfbfcfa8307b54c14fd2661f7cb87c42e8b3def852e0de4fc3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2024-01-17)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for Multi-Region Replication with provisioned tables, and Keyspaces auto scaling APIs
8
+
9
+ 1.15.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.14.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.16.0
@@ -639,6 +639,44 @@ module Aws::Keyspaces
639
639
  # Once client-side timestamps are enabled for a table, this setting
640
640
  # cannot be disabled.
641
641
  #
642
+ # @option params [Types::AutoScalingSpecification] :auto_scaling_specification
643
+ # The optional auto scaling settings for a table in provisioned capacity
644
+ # mode. Specifies if the service can manage throughput capacity
645
+ # automatically on your behalf.
646
+ #
647
+ # Auto scaling helps you provision throughput capacity for variable
648
+ # workloads efficiently by increasing and decreasing your table's read
649
+ # and write capacity automatically in response to application traffic.
650
+ # For more information, see [Managing throughput capacity automatically
651
+ # with Amazon Keyspaces auto scaling][1] in the *Amazon Keyspaces
652
+ # Developer Guide*.
653
+ #
654
+ # By default, auto scaling is disabled for a table.
655
+ #
656
+ #
657
+ #
658
+ # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html
659
+ #
660
+ # @option params [Array<Types::ReplicaSpecification>] :replica_specifications
661
+ # The optional Amazon Web Services Region specific settings of a
662
+ # multi-Region table. These settings overwrite the general settings of
663
+ # the table for the specified Region.
664
+ #
665
+ # For a multi-Region table in provisioned capacity mode, you can
666
+ # configure the table's read capacity differently for each Region's
667
+ # replica. The write capacity, however, remains synchronized between all
668
+ # replicas to ensure that there's enough capacity to replicate writes
669
+ # across all Regions. To define the read capacity for a table replica in
670
+ # a specific Region, you can do so by configuring the following
671
+ # parameters.
672
+ #
673
+ # * `region`: The Region where these settings are applied. (Required)
674
+ #
675
+ # * `readCapacityUnits`: The provisioned read capacity units. (Optional)
676
+ #
677
+ # * `readCapacityAutoScaling`: The read capacity auto scaling settings
678
+ # for the table. (Optional)
679
+ #
642
680
  # @return [Types::CreateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
643
681
  #
644
682
  # * {Types::CreateTableResponse#resource_arn #resource_arn} => String
@@ -700,6 +738,53 @@ module Aws::Keyspaces
700
738
  # client_side_timestamps: {
701
739
  # status: "ENABLED", # required, accepts ENABLED
702
740
  # },
741
+ # auto_scaling_specification: {
742
+ # write_capacity_auto_scaling: {
743
+ # auto_scaling_disabled: false,
744
+ # minimum_units: 1,
745
+ # maximum_units: 1,
746
+ # scaling_policy: {
747
+ # target_tracking_scaling_policy_configuration: {
748
+ # disable_scale_in: false,
749
+ # scale_in_cooldown: 1,
750
+ # scale_out_cooldown: 1,
751
+ # target_value: 1.0, # required
752
+ # },
753
+ # },
754
+ # },
755
+ # read_capacity_auto_scaling: {
756
+ # auto_scaling_disabled: false,
757
+ # minimum_units: 1,
758
+ # maximum_units: 1,
759
+ # scaling_policy: {
760
+ # target_tracking_scaling_policy_configuration: {
761
+ # disable_scale_in: false,
762
+ # scale_in_cooldown: 1,
763
+ # scale_out_cooldown: 1,
764
+ # target_value: 1.0, # required
765
+ # },
766
+ # },
767
+ # },
768
+ # },
769
+ # replica_specifications: [
770
+ # {
771
+ # region: "region", # required
772
+ # read_capacity_units: 1,
773
+ # read_capacity_auto_scaling: {
774
+ # auto_scaling_disabled: false,
775
+ # minimum_units: 1,
776
+ # maximum_units: 1,
777
+ # scaling_policy: {
778
+ # target_tracking_scaling_policy_configuration: {
779
+ # disable_scale_in: false,
780
+ # scale_in_cooldown: 1,
781
+ # scale_out_cooldown: 1,
782
+ # target_value: 1.0, # required
783
+ # },
784
+ # },
785
+ # },
786
+ # },
787
+ # ],
703
788
  # })
704
789
  #
705
790
  # @example Response structure
@@ -836,6 +921,7 @@ module Aws::Keyspaces
836
921
  # * {Types::GetTableResponse#default_time_to_live #default_time_to_live} => Integer
837
922
  # * {Types::GetTableResponse#comment #comment} => Types::Comment
838
923
  # * {Types::GetTableResponse#client_side_timestamps #client_side_timestamps} => Types::ClientSideTimestamps
924
+ # * {Types::GetTableResponse#replica_specifications #replica_specifications} => Array&lt;Types::ReplicaSpecificationSummary&gt;
839
925
  #
840
926
  # @example Request syntax with placeholder values
841
927
  #
@@ -873,6 +959,13 @@ module Aws::Keyspaces
873
959
  # resp.default_time_to_live #=> Integer
874
960
  # resp.comment.message #=> String
875
961
  # resp.client_side_timestamps.status #=> String, one of "ENABLED"
962
+ # resp.replica_specifications #=> Array
963
+ # resp.replica_specifications[0].region #=> String
964
+ # resp.replica_specifications[0].status #=> String, one of "ACTIVE", "CREATING", "UPDATING", "DELETING", "DELETED", "RESTORING", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
965
+ # resp.replica_specifications[0].capacity_specification.throughput_mode #=> String, one of "PAY_PER_REQUEST", "PROVISIONED"
966
+ # resp.replica_specifications[0].capacity_specification.read_capacity_units #=> Integer
967
+ # resp.replica_specifications[0].capacity_specification.write_capacity_units #=> Integer
968
+ # resp.replica_specifications[0].capacity_specification.last_update_to_pay_per_request_timestamp #=> Time
876
969
  #
877
970
  # @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTable AWS API Documentation
878
971
  #
@@ -883,6 +976,87 @@ module Aws::Keyspaces
883
976
  req.send_request(options)
884
977
  end
885
978
 
979
+ # Returns auto scaling related settings of the specified table in JSON
980
+ # format. If the table is a multi-Region table, the Amazon Web Services
981
+ # Region specific auto scaling settings of the table are included.
982
+ #
983
+ # Amazon Keyspaces auto scaling helps you provision throughput capacity
984
+ # for variable workloads efficiently by increasing and decreasing your
985
+ # table's read and write capacity automatically in response to
986
+ # application traffic. For more information, see [Managing throughput
987
+ # capacity automatically with Amazon Keyspaces auto scaling][1] in the
988
+ # *Amazon Keyspaces Developer Guide*.
989
+ #
990
+ #
991
+ #
992
+ # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html
993
+ #
994
+ # @option params [required, String] :keyspace_name
995
+ # The name of the keyspace.
996
+ #
997
+ # @option params [required, String] :table_name
998
+ # The name of the table.
999
+ #
1000
+ # @return [Types::GetTableAutoScalingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1001
+ #
1002
+ # * {Types::GetTableAutoScalingSettingsResponse#keyspace_name #keyspace_name} => String
1003
+ # * {Types::GetTableAutoScalingSettingsResponse#table_name #table_name} => String
1004
+ # * {Types::GetTableAutoScalingSettingsResponse#resource_arn #resource_arn} => String
1005
+ # * {Types::GetTableAutoScalingSettingsResponse#auto_scaling_specification #auto_scaling_specification} => Types::AutoScalingSpecification
1006
+ # * {Types::GetTableAutoScalingSettingsResponse#replica_specifications #replica_specifications} => Array&lt;Types::ReplicaAutoScalingSpecification&gt;
1007
+ #
1008
+ # @example Request syntax with placeholder values
1009
+ #
1010
+ # resp = client.get_table_auto_scaling_settings({
1011
+ # keyspace_name: "KeyspaceName", # required
1012
+ # table_name: "TableName", # required
1013
+ # })
1014
+ #
1015
+ # @example Response structure
1016
+ #
1017
+ # resp.keyspace_name #=> String
1018
+ # resp.table_name #=> String
1019
+ # resp.resource_arn #=> String
1020
+ # resp.auto_scaling_specification.write_capacity_auto_scaling.auto_scaling_disabled #=> Boolean
1021
+ # resp.auto_scaling_specification.write_capacity_auto_scaling.minimum_units #=> Integer
1022
+ # resp.auto_scaling_specification.write_capacity_auto_scaling.maximum_units #=> Integer
1023
+ # resp.auto_scaling_specification.write_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
1024
+ # resp.auto_scaling_specification.write_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
1025
+ # resp.auto_scaling_specification.write_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
1026
+ # resp.auto_scaling_specification.write_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.target_value #=> Float
1027
+ # resp.auto_scaling_specification.read_capacity_auto_scaling.auto_scaling_disabled #=> Boolean
1028
+ # resp.auto_scaling_specification.read_capacity_auto_scaling.minimum_units #=> Integer
1029
+ # resp.auto_scaling_specification.read_capacity_auto_scaling.maximum_units #=> Integer
1030
+ # resp.auto_scaling_specification.read_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
1031
+ # resp.auto_scaling_specification.read_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
1032
+ # resp.auto_scaling_specification.read_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
1033
+ # resp.auto_scaling_specification.read_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.target_value #=> Float
1034
+ # resp.replica_specifications #=> Array
1035
+ # resp.replica_specifications[0].region #=> String
1036
+ # resp.replica_specifications[0].auto_scaling_specification.write_capacity_auto_scaling.auto_scaling_disabled #=> Boolean
1037
+ # resp.replica_specifications[0].auto_scaling_specification.write_capacity_auto_scaling.minimum_units #=> Integer
1038
+ # resp.replica_specifications[0].auto_scaling_specification.write_capacity_auto_scaling.maximum_units #=> Integer
1039
+ # resp.replica_specifications[0].auto_scaling_specification.write_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
1040
+ # resp.replica_specifications[0].auto_scaling_specification.write_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
1041
+ # resp.replica_specifications[0].auto_scaling_specification.write_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
1042
+ # resp.replica_specifications[0].auto_scaling_specification.write_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.target_value #=> Float
1043
+ # resp.replica_specifications[0].auto_scaling_specification.read_capacity_auto_scaling.auto_scaling_disabled #=> Boolean
1044
+ # resp.replica_specifications[0].auto_scaling_specification.read_capacity_auto_scaling.minimum_units #=> Integer
1045
+ # resp.replica_specifications[0].auto_scaling_specification.read_capacity_auto_scaling.maximum_units #=> Integer
1046
+ # resp.replica_specifications[0].auto_scaling_specification.read_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.disable_scale_in #=> Boolean
1047
+ # resp.replica_specifications[0].auto_scaling_specification.read_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
1048
+ # resp.replica_specifications[0].auto_scaling_specification.read_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
1049
+ # resp.replica_specifications[0].auto_scaling_specification.read_capacity_auto_scaling.scaling_policy.target_tracking_scaling_policy_configuration.target_value #=> Float
1050
+ #
1051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTableAutoScalingSettings AWS API Documentation
1052
+ #
1053
+ # @overload get_table_auto_scaling_settings(params = {})
1054
+ # @param [Hash] params ({})
1055
+ def get_table_auto_scaling_settings(params = {}, options = {})
1056
+ req = build_request(:get_table_auto_scaling_settings, params)
1057
+ req.send_request(options)
1058
+ end
1059
+
886
1060
  # Returns a list of keyspaces.
887
1061
  #
888
1062
  # @option params [String] :next_token
@@ -1022,7 +1196,7 @@ module Aws::Keyspaces
1022
1196
  req.send_request(options)
1023
1197
  end
1024
1198
 
1025
- # Restores the specified table to the specified point in time within the
1199
+ # Restores the table to the specified point in time within the
1026
1200
  # `earliest_restorable_timestamp` and the current time. For more
1027
1201
  # information about restore points, see [ Time window for PITR
1028
1202
  # continuous backups][1] in the *Amazon Keyspaces Developer Guide*.
@@ -1037,18 +1211,20 @@ module Aws::Keyspaces
1037
1211
  # the selected timestamp.
1038
1212
  #
1039
1213
  # In addition to the table's schema, data, and TTL settings,
1040
- # `RestoreTable` restores the capacity mode, encryption, and
1041
- # point-in-time recovery settings from the source table. Unlike the
1042
- # table's schema data and TTL settings, which are restored based on the
1043
- # selected timestamp, these settings are always restored based on the
1044
- # table's settings as of the current time or when the table was
1045
- # deleted.
1214
+ # `RestoreTable` restores the capacity mode, auto scaling settings,
1215
+ # encryption settings, and point-in-time recovery settings from the
1216
+ # source table. Unlike the table's schema data and TTL settings, which
1217
+ # are restored based on the selected timestamp, these settings are
1218
+ # always restored based on the table's settings as of the current time
1219
+ # or when the table was deleted.
1046
1220
  #
1047
1221
  # You can also overwrite these settings during restore:
1048
1222
  #
1049
1223
  # * Read/write capacity mode
1050
1224
  #
1051
- # * Provisioned throughput capacity settings
1225
+ # * Provisioned throughput capacity units
1226
+ #
1227
+ # * Auto scaling settings
1052
1228
  #
1053
1229
  # * Point-in-time (PITR) settings
1054
1230
  #
@@ -1060,9 +1236,6 @@ module Aws::Keyspaces
1060
1236
  # Note that the following settings are not restored, and you must
1061
1237
  # configure them manually for the new table:
1062
1238
  #
1063
- # * Automatic scaling policies (for tables that use provisioned capacity
1064
- # mode)
1065
- #
1066
1239
  # * Identity and Access Management (IAM) policies
1067
1240
  #
1068
1241
  # * Amazon CloudWatch metrics and alarms
@@ -1152,6 +1325,26 @@ module Aws::Keyspaces
1152
1325
  #
1153
1326
  # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html
1154
1327
  #
1328
+ # @option params [Types::AutoScalingSpecification] :auto_scaling_specification
1329
+ # The optional auto scaling settings for the restored table in
1330
+ # provisioned capacity mode. Specifies if the service can manage
1331
+ # throughput capacity of a provisioned table automatically on your
1332
+ # behalf. Amazon Keyspaces auto scaling helps you provision throughput
1333
+ # capacity for variable workloads efficiently by increasing and
1334
+ # decreasing your table's read and write capacity automatically in
1335
+ # response to application traffic.
1336
+ #
1337
+ # For more information, see [Managing throughput capacity automatically
1338
+ # with Amazon Keyspaces auto scaling][1] in the *Amazon Keyspaces
1339
+ # Developer Guide*.
1340
+ #
1341
+ #
1342
+ #
1343
+ # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html
1344
+ #
1345
+ # @option params [Array<Types::ReplicaSpecification>] :replica_specifications
1346
+ # The optional Region specific settings of a multi-Regional table.
1347
+ #
1155
1348
  # @return [Types::RestoreTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1156
1349
  #
1157
1350
  # * {Types::RestoreTableResponse#restored_table_arn #restored_table_arn} => String
@@ -1182,6 +1375,53 @@ module Aws::Keyspaces
1182
1375
  # value: "TagValue", # required
1183
1376
  # },
1184
1377
  # ],
1378
+ # auto_scaling_specification: {
1379
+ # write_capacity_auto_scaling: {
1380
+ # auto_scaling_disabled: false,
1381
+ # minimum_units: 1,
1382
+ # maximum_units: 1,
1383
+ # scaling_policy: {
1384
+ # target_tracking_scaling_policy_configuration: {
1385
+ # disable_scale_in: false,
1386
+ # scale_in_cooldown: 1,
1387
+ # scale_out_cooldown: 1,
1388
+ # target_value: 1.0, # required
1389
+ # },
1390
+ # },
1391
+ # },
1392
+ # read_capacity_auto_scaling: {
1393
+ # auto_scaling_disabled: false,
1394
+ # minimum_units: 1,
1395
+ # maximum_units: 1,
1396
+ # scaling_policy: {
1397
+ # target_tracking_scaling_policy_configuration: {
1398
+ # disable_scale_in: false,
1399
+ # scale_in_cooldown: 1,
1400
+ # scale_out_cooldown: 1,
1401
+ # target_value: 1.0, # required
1402
+ # },
1403
+ # },
1404
+ # },
1405
+ # },
1406
+ # replica_specifications: [
1407
+ # {
1408
+ # region: "region", # required
1409
+ # read_capacity_units: 1,
1410
+ # read_capacity_auto_scaling: {
1411
+ # auto_scaling_disabled: false,
1412
+ # minimum_units: 1,
1413
+ # maximum_units: 1,
1414
+ # scaling_policy: {
1415
+ # target_tracking_scaling_policy_configuration: {
1416
+ # disable_scale_in: false,
1417
+ # scale_in_cooldown: 1,
1418
+ # scale_out_cooldown: 1,
1419
+ # target_value: 1.0, # required
1420
+ # },
1421
+ # },
1422
+ # },
1423
+ # },
1424
+ # ],
1185
1425
  # })
1186
1426
  #
1187
1427
  # @example Response structure
@@ -1276,9 +1516,9 @@ module Aws::Keyspaces
1276
1516
  end
1277
1517
 
1278
1518
  # Adds new columns to the table or updates one of the table's settings,
1279
- # for example capacity mode, encryption, point-in-time recovery, or ttl
1280
- # settings. Note that you can only update one specific table setting per
1281
- # update operation.
1519
+ # for example capacity mode, auto scaling, encryption, point-in-time
1520
+ # recovery, or ttl settings. Note that you can only update one specific
1521
+ # table setting per update operation.
1282
1522
  #
1283
1523
  # @option params [required, String] :keyspace_name
1284
1524
  # The name of the keyspace the specified table is stored in.
@@ -1392,6 +1632,30 @@ module Aws::Keyspaces
1392
1632
  # Once client-side timestamps are enabled for a table, this setting
1393
1633
  # cannot be disabled.
1394
1634
  #
1635
+ # @option params [Types::AutoScalingSpecification] :auto_scaling_specification
1636
+ # The optional auto scaling settings to update for a table in
1637
+ # provisioned capacity mode. Specifies if the service can manage
1638
+ # throughput capacity of a provisioned table automatically on your
1639
+ # behalf. Amazon Keyspaces auto scaling helps you provision throughput
1640
+ # capacity for variable workloads efficiently by increasing and
1641
+ # decreasing your table's read and write capacity automatically in
1642
+ # response to application traffic.
1643
+ #
1644
+ # If auto scaling is already enabled for the table, you can use
1645
+ # `UpdateTable` to update the minimum and maximum values or the auto
1646
+ # scaling policy settings independently.
1647
+ #
1648
+ # For more information, see [Managing throughput capacity automatically
1649
+ # with Amazon Keyspaces auto scaling][1] in the *Amazon Keyspaces
1650
+ # Developer Guide*.
1651
+ #
1652
+ #
1653
+ #
1654
+ # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html
1655
+ #
1656
+ # @option params [Array<Types::ReplicaSpecification>] :replica_specifications
1657
+ # The Region specific settings of a multi-Regional table.
1658
+ #
1395
1659
  # @return [Types::UpdateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1396
1660
  #
1397
1661
  # * {Types::UpdateTableResponse#resource_arn #resource_arn} => String
@@ -1426,6 +1690,53 @@ module Aws::Keyspaces
1426
1690
  # client_side_timestamps: {
1427
1691
  # status: "ENABLED", # required, accepts ENABLED
1428
1692
  # },
1693
+ # auto_scaling_specification: {
1694
+ # write_capacity_auto_scaling: {
1695
+ # auto_scaling_disabled: false,
1696
+ # minimum_units: 1,
1697
+ # maximum_units: 1,
1698
+ # scaling_policy: {
1699
+ # target_tracking_scaling_policy_configuration: {
1700
+ # disable_scale_in: false,
1701
+ # scale_in_cooldown: 1,
1702
+ # scale_out_cooldown: 1,
1703
+ # target_value: 1.0, # required
1704
+ # },
1705
+ # },
1706
+ # },
1707
+ # read_capacity_auto_scaling: {
1708
+ # auto_scaling_disabled: false,
1709
+ # minimum_units: 1,
1710
+ # maximum_units: 1,
1711
+ # scaling_policy: {
1712
+ # target_tracking_scaling_policy_configuration: {
1713
+ # disable_scale_in: false,
1714
+ # scale_in_cooldown: 1,
1715
+ # scale_out_cooldown: 1,
1716
+ # target_value: 1.0, # required
1717
+ # },
1718
+ # },
1719
+ # },
1720
+ # },
1721
+ # replica_specifications: [
1722
+ # {
1723
+ # region: "region", # required
1724
+ # read_capacity_units: 1,
1725
+ # read_capacity_auto_scaling: {
1726
+ # auto_scaling_disabled: false,
1727
+ # minimum_units: 1,
1728
+ # maximum_units: 1,
1729
+ # scaling_policy: {
1730
+ # target_tracking_scaling_policy_configuration: {
1731
+ # disable_scale_in: false,
1732
+ # scale_in_cooldown: 1,
1733
+ # scale_out_cooldown: 1,
1734
+ # target_value: 1.0, # required
1735
+ # },
1736
+ # },
1737
+ # },
1738
+ # },
1739
+ # ],
1429
1740
  # })
1430
1741
  #
1431
1742
  # @example Response structure
@@ -1454,7 +1765,7 @@ module Aws::Keyspaces
1454
1765
  params: params,
1455
1766
  config: config)
1456
1767
  context[:gem_name] = 'aws-sdk-keyspaces'
1457
- context[:gem_version] = '1.14.0'
1768
+ context[:gem_version] = '1.16.0'
1458
1769
  Seahorse::Client::Request.new(handlers, context)
1459
1770
  end
1460
1771
 
@@ -15,6 +15,10 @@ module Aws::Keyspaces
15
15
 
16
16
  ARN = Shapes::StringShape.new(name: 'ARN')
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ AutoScalingPolicy = Shapes::StructureShape.new(name: 'AutoScalingPolicy')
19
+ AutoScalingSettings = Shapes::StructureShape.new(name: 'AutoScalingSettings')
20
+ AutoScalingSpecification = Shapes::StructureShape.new(name: 'AutoScalingSpecification')
21
+ BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
18
22
  CapacitySpecification = Shapes::StructureShape.new(name: 'CapacitySpecification')
19
23
  CapacitySpecificationSummary = Shapes::StructureShape.new(name: 'CapacitySpecificationSummary')
20
24
  CapacityUnits = Shapes::IntegerShape.new(name: 'CapacityUnits')
@@ -35,13 +39,17 @@ module Aws::Keyspaces
35
39
  DeleteKeyspaceResponse = Shapes::StructureShape.new(name: 'DeleteKeyspaceResponse')
36
40
  DeleteTableRequest = Shapes::StructureShape.new(name: 'DeleteTableRequest')
37
41
  DeleteTableResponse = Shapes::StructureShape.new(name: 'DeleteTableResponse')
42
+ DoubleObject = Shapes::FloatShape.new(name: 'DoubleObject')
38
43
  EncryptionSpecification = Shapes::StructureShape.new(name: 'EncryptionSpecification')
39
44
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
40
45
  GenericString = Shapes::StringShape.new(name: 'GenericString')
41
46
  GetKeyspaceRequest = Shapes::StructureShape.new(name: 'GetKeyspaceRequest')
42
47
  GetKeyspaceResponse = Shapes::StructureShape.new(name: 'GetKeyspaceResponse')
48
+ GetTableAutoScalingSettingsRequest = Shapes::StructureShape.new(name: 'GetTableAutoScalingSettingsRequest')
49
+ GetTableAutoScalingSettingsResponse = Shapes::StructureShape.new(name: 'GetTableAutoScalingSettingsResponse')
43
50
  GetTableRequest = Shapes::StructureShape.new(name: 'GetTableRequest')
44
51
  GetTableResponse = Shapes::StructureShape.new(name: 'GetTableResponse')
52
+ IntegerObject = Shapes::IntegerShape.new(name: 'IntegerObject')
45
53
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
46
54
  KeyspaceName = Shapes::StringShape.new(name: 'KeyspaceName')
47
55
  KeyspaceSummary = Shapes::StructureShape.new(name: 'KeyspaceSummary')
@@ -60,6 +68,12 @@ module Aws::Keyspaces
60
68
  PointInTimeRecoveryStatus = Shapes::StringShape.new(name: 'PointInTimeRecoveryStatus')
61
69
  PointInTimeRecoverySummary = Shapes::StructureShape.new(name: 'PointInTimeRecoverySummary')
62
70
  RegionList = Shapes::ListShape.new(name: 'RegionList')
71
+ ReplicaAutoScalingSpecification = Shapes::StructureShape.new(name: 'ReplicaAutoScalingSpecification')
72
+ ReplicaAutoScalingSpecificationList = Shapes::ListShape.new(name: 'ReplicaAutoScalingSpecificationList')
73
+ ReplicaSpecification = Shapes::StructureShape.new(name: 'ReplicaSpecification')
74
+ ReplicaSpecificationList = Shapes::ListShape.new(name: 'ReplicaSpecificationList')
75
+ ReplicaSpecificationSummary = Shapes::StructureShape.new(name: 'ReplicaSpecificationSummary')
76
+ ReplicaSpecificationSummaryList = Shapes::ListShape.new(name: 'ReplicaSpecificationSummaryList')
63
77
  ReplicationSpecification = Shapes::StructureShape.new(name: 'ReplicationSpecification')
64
78
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
65
79
  RestoreTableRequest = Shapes::StructureShape.new(name: 'RestoreTableRequest')
@@ -80,6 +94,7 @@ module Aws::Keyspaces
80
94
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
81
95
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
82
96
  TagValue = Shapes::StringShape.new(name: 'TagValue')
97
+ TargetTrackingScalingPolicyConfiguration = Shapes::StructureShape.new(name: 'TargetTrackingScalingPolicyConfiguration')
83
98
  ThroughputMode = Shapes::StringShape.new(name: 'ThroughputMode')
84
99
  TimeToLive = Shapes::StructureShape.new(name: 'TimeToLive')
85
100
  TimeToLiveStatus = Shapes::StringShape.new(name: 'TimeToLiveStatus')
@@ -96,6 +111,19 @@ module Aws::Keyspaces
96
111
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
97
112
  AccessDeniedException.struct_class = Types::AccessDeniedException
98
113
 
114
+ AutoScalingPolicy.add_member(:target_tracking_scaling_policy_configuration, Shapes::ShapeRef.new(shape: TargetTrackingScalingPolicyConfiguration, location_name: "targetTrackingScalingPolicyConfiguration"))
115
+ AutoScalingPolicy.struct_class = Types::AutoScalingPolicy
116
+
117
+ AutoScalingSettings.add_member(:auto_scaling_disabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "autoScalingDisabled"))
118
+ AutoScalingSettings.add_member(:minimum_units, Shapes::ShapeRef.new(shape: CapacityUnits, location_name: "minimumUnits"))
119
+ AutoScalingSettings.add_member(:maximum_units, Shapes::ShapeRef.new(shape: CapacityUnits, location_name: "maximumUnits"))
120
+ AutoScalingSettings.add_member(:scaling_policy, Shapes::ShapeRef.new(shape: AutoScalingPolicy, location_name: "scalingPolicy"))
121
+ AutoScalingSettings.struct_class = Types::AutoScalingSettings
122
+
123
+ AutoScalingSpecification.add_member(:write_capacity_auto_scaling, Shapes::ShapeRef.new(shape: AutoScalingSettings, location_name: "writeCapacityAutoScaling"))
124
+ AutoScalingSpecification.add_member(:read_capacity_auto_scaling, Shapes::ShapeRef.new(shape: AutoScalingSettings, location_name: "readCapacityAutoScaling"))
125
+ AutoScalingSpecification.struct_class = Types::AutoScalingSpecification
126
+
99
127
  CapacitySpecification.add_member(:throughput_mode, Shapes::ShapeRef.new(shape: ThroughputMode, required: true, location_name: "throughputMode"))
100
128
  CapacitySpecification.add_member(:read_capacity_units, Shapes::ShapeRef.new(shape: CapacityUnits, location_name: "readCapacityUnits"))
101
129
  CapacitySpecification.add_member(:write_capacity_units, Shapes::ShapeRef.new(shape: CapacityUnits, location_name: "writeCapacityUnits"))
@@ -147,6 +175,8 @@ module Aws::Keyspaces
147
175
  CreateTableRequest.add_member(:default_time_to_live, Shapes::ShapeRef.new(shape: DefaultTimeToLive, location_name: "defaultTimeToLive"))
148
176
  CreateTableRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
149
177
  CreateTableRequest.add_member(:client_side_timestamps, Shapes::ShapeRef.new(shape: ClientSideTimestamps, location_name: "clientSideTimestamps"))
178
+ CreateTableRequest.add_member(:auto_scaling_specification, Shapes::ShapeRef.new(shape: AutoScalingSpecification, location_name: "autoScalingSpecification"))
179
+ CreateTableRequest.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationList, location_name: "replicaSpecifications"))
150
180
  CreateTableRequest.struct_class = Types::CreateTableRequest
151
181
 
152
182
  CreateTableResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
@@ -176,6 +206,17 @@ module Aws::Keyspaces
176
206
  GetKeyspaceResponse.add_member(:replication_regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "replicationRegions"))
177
207
  GetKeyspaceResponse.struct_class = Types::GetKeyspaceResponse
178
208
 
209
+ GetTableAutoScalingSettingsRequest.add_member(:keyspace_name, Shapes::ShapeRef.new(shape: KeyspaceName, required: true, location_name: "keyspaceName"))
210
+ GetTableAutoScalingSettingsRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
211
+ GetTableAutoScalingSettingsRequest.struct_class = Types::GetTableAutoScalingSettingsRequest
212
+
213
+ GetTableAutoScalingSettingsResponse.add_member(:keyspace_name, Shapes::ShapeRef.new(shape: KeyspaceName, required: true, location_name: "keyspaceName"))
214
+ GetTableAutoScalingSettingsResponse.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
215
+ GetTableAutoScalingSettingsResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
216
+ GetTableAutoScalingSettingsResponse.add_member(:auto_scaling_specification, Shapes::ShapeRef.new(shape: AutoScalingSpecification, location_name: "autoScalingSpecification"))
217
+ GetTableAutoScalingSettingsResponse.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaAutoScalingSpecificationList, location_name: "replicaSpecifications"))
218
+ GetTableAutoScalingSettingsResponse.struct_class = Types::GetTableAutoScalingSettingsResponse
219
+
179
220
  GetTableRequest.add_member(:keyspace_name, Shapes::ShapeRef.new(shape: KeyspaceName, required: true, location_name: "keyspaceName"))
180
221
  GetTableRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
181
222
  GetTableRequest.struct_class = Types::GetTableRequest
@@ -193,6 +234,7 @@ module Aws::Keyspaces
193
234
  GetTableResponse.add_member(:default_time_to_live, Shapes::ShapeRef.new(shape: DefaultTimeToLive, location_name: "defaultTimeToLive"))
194
235
  GetTableResponse.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
195
236
  GetTableResponse.add_member(:client_side_timestamps, Shapes::ShapeRef.new(shape: ClientSideTimestamps, location_name: "clientSideTimestamps"))
237
+ GetTableResponse.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationSummaryList, location_name: "replicaSpecifications"))
196
238
  GetTableResponse.struct_class = Types::GetTableResponse
197
239
 
198
240
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -246,6 +288,26 @@ module Aws::Keyspaces
246
288
 
247
289
  RegionList.member = Shapes::ShapeRef.new(shape: region)
248
290
 
291
+ ReplicaAutoScalingSpecification.add_member(:region, Shapes::ShapeRef.new(shape: region, location_name: "region"))
292
+ ReplicaAutoScalingSpecification.add_member(:auto_scaling_specification, Shapes::ShapeRef.new(shape: AutoScalingSpecification, location_name: "autoScalingSpecification"))
293
+ ReplicaAutoScalingSpecification.struct_class = Types::ReplicaAutoScalingSpecification
294
+
295
+ ReplicaAutoScalingSpecificationList.member = Shapes::ShapeRef.new(shape: ReplicaAutoScalingSpecification)
296
+
297
+ ReplicaSpecification.add_member(:region, Shapes::ShapeRef.new(shape: region, required: true, location_name: "region"))
298
+ ReplicaSpecification.add_member(:read_capacity_units, Shapes::ShapeRef.new(shape: CapacityUnits, location_name: "readCapacityUnits"))
299
+ ReplicaSpecification.add_member(:read_capacity_auto_scaling, Shapes::ShapeRef.new(shape: AutoScalingSettings, location_name: "readCapacityAutoScaling"))
300
+ ReplicaSpecification.struct_class = Types::ReplicaSpecification
301
+
302
+ ReplicaSpecificationList.member = Shapes::ShapeRef.new(shape: ReplicaSpecification)
303
+
304
+ ReplicaSpecificationSummary.add_member(:region, Shapes::ShapeRef.new(shape: region, location_name: "region"))
305
+ ReplicaSpecificationSummary.add_member(:status, Shapes::ShapeRef.new(shape: TableStatus, location_name: "status"))
306
+ ReplicaSpecificationSummary.add_member(:capacity_specification, Shapes::ShapeRef.new(shape: CapacitySpecificationSummary, location_name: "capacitySpecification"))
307
+ ReplicaSpecificationSummary.struct_class = Types::ReplicaSpecificationSummary
308
+
309
+ ReplicaSpecificationSummaryList.member = Shapes::ShapeRef.new(shape: ReplicaSpecificationSummary)
310
+
249
311
  ReplicationSpecification.add_member(:replication_strategy, Shapes::ShapeRef.new(shape: rs, required: true, location_name: "replicationStrategy"))
250
312
  ReplicationSpecification.add_member(:region_list, Shapes::ShapeRef.new(shape: RegionList, location_name: "regionList"))
251
313
  ReplicationSpecification.struct_class = Types::ReplicationSpecification
@@ -263,6 +325,8 @@ module Aws::Keyspaces
263
325
  RestoreTableRequest.add_member(:encryption_specification_override, Shapes::ShapeRef.new(shape: EncryptionSpecification, location_name: "encryptionSpecificationOverride"))
264
326
  RestoreTableRequest.add_member(:point_in_time_recovery_override, Shapes::ShapeRef.new(shape: PointInTimeRecovery, location_name: "pointInTimeRecoveryOverride"))
265
327
  RestoreTableRequest.add_member(:tags_override, Shapes::ShapeRef.new(shape: TagList, location_name: "tagsOverride"))
328
+ RestoreTableRequest.add_member(:auto_scaling_specification, Shapes::ShapeRef.new(shape: AutoScalingSpecification, location_name: "autoScalingSpecification"))
329
+ RestoreTableRequest.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationList, location_name: "replicaSpecifications"))
266
330
  RestoreTableRequest.struct_class = Types::RestoreTableRequest
267
331
 
268
332
  RestoreTableResponse.add_member(:restored_table_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "restoredTableARN"))
@@ -301,6 +365,12 @@ module Aws::Keyspaces
301
365
 
302
366
  TagResourceResponse.struct_class = Types::TagResourceResponse
303
367
 
368
+ TargetTrackingScalingPolicyConfiguration.add_member(:disable_scale_in, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "disableScaleIn"))
369
+ TargetTrackingScalingPolicyConfiguration.add_member(:scale_in_cooldown, Shapes::ShapeRef.new(shape: IntegerObject, location_name: "scaleInCooldown"))
370
+ TargetTrackingScalingPolicyConfiguration.add_member(:scale_out_cooldown, Shapes::ShapeRef.new(shape: IntegerObject, location_name: "scaleOutCooldown"))
371
+ TargetTrackingScalingPolicyConfiguration.add_member(:target_value, Shapes::ShapeRef.new(shape: DoubleObject, required: true, location_name: "targetValue"))
372
+ TargetTrackingScalingPolicyConfiguration.struct_class = Types::TargetTrackingScalingPolicyConfiguration
373
+
304
374
  TimeToLive.add_member(:status, Shapes::ShapeRef.new(shape: TimeToLiveStatus, required: true, location_name: "status"))
305
375
  TimeToLive.struct_class = Types::TimeToLive
306
376
 
@@ -319,6 +389,8 @@ module Aws::Keyspaces
319
389
  UpdateTableRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TimeToLive, location_name: "ttl"))
320
390
  UpdateTableRequest.add_member(:default_time_to_live, Shapes::ShapeRef.new(shape: DefaultTimeToLive, location_name: "defaultTimeToLive"))
321
391
  UpdateTableRequest.add_member(:client_side_timestamps, Shapes::ShapeRef.new(shape: ClientSideTimestamps, location_name: "clientSideTimestamps"))
392
+ UpdateTableRequest.add_member(:auto_scaling_specification, Shapes::ShapeRef.new(shape: AutoScalingSpecification, location_name: "autoScalingSpecification"))
393
+ UpdateTableRequest.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationList, location_name: "replicaSpecifications"))
322
394
  UpdateTableRequest.struct_class = Types::UpdateTableRequest
323
395
 
324
396
  UpdateTableResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
@@ -427,6 +499,19 @@ module Aws::Keyspaces
427
499
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
428
500
  end)
429
501
 
502
+ api.add_operation(:get_table_auto_scaling_settings, Seahorse::Model::Operation.new.tap do |o|
503
+ o.name = "GetTableAutoScalingSettings"
504
+ o.http_method = "POST"
505
+ o.http_request_uri = "/"
506
+ o.input = Shapes::ShapeRef.new(shape: GetTableAutoScalingSettingsRequest)
507
+ o.output = Shapes::ShapeRef.new(shape: GetTableAutoScalingSettingsResponse)
508
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
509
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
510
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
511
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
512
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
513
+ end)
514
+
430
515
  api.add_operation(:list_keyspaces, Seahorse::Model::Operation.new.tap do |o|
431
516
  o.name = "ListKeyspaces"
432
517
  o.http_method = "POST"