aws-sdk-keyspaces 1.53.0 → 1.54.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-keyspaces/client.rb +35 -1
- data/lib/aws-sdk-keyspaces/client_api.rb +19 -0
- data/lib/aws-sdk-keyspaces/types.rb +115 -11
- data/lib/aws-sdk-keyspaces.rb +1 -1
- data/sig/client.rbs +9 -0
- data/sig/types.rbs +17 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c51a1ed17ad0f4f6d08223b0252d648cc0499b11763770bfaf11951ace9b08d8
|
|
4
|
+
data.tar.gz: f052d36e8930ebb3ded37c94d2f63f01e0cdd0d4bda51e9a70340e9c63d4efb6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5160b243679505fc7103c845b59db5e986b4e7f8c7b8ba9060e5d875235e0f89d20b8154a3a520fb0b0228e37e46bfe2880041c991fff04295f45eccec1d1350
|
|
7
|
+
data.tar.gz: d895f9c83167ab29c958a99c25d42191d837bf7cee8d85b71f444ee4daaba6cdfb46587dc337e5c8e052df5b5f59b088ce40f6f26f241b7605ec41dc2e5e31ed
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.54.0
|
|
@@ -764,6 +764,20 @@ module Aws::Keyspaces
|
|
|
764
764
|
# @option params [Types::CdcSpecification] :cdc_specification
|
|
765
765
|
# The CDC stream settings of the table.
|
|
766
766
|
#
|
|
767
|
+
# @option params [Types::WarmThroughputSpecification] :warm_throughput_specification
|
|
768
|
+
# Specifies the warm throughput settings for the table. Pre-warming a
|
|
769
|
+
# table helps you avoid capacity exceeded exceptions by pre-provisioning
|
|
770
|
+
# read and write capacity units to reduce cold start latency when your
|
|
771
|
+
# table receives traffic.
|
|
772
|
+
#
|
|
773
|
+
# For more information about pre-warming in Amazon Keyspaces, see
|
|
774
|
+
# [Pre-warm a table in Amazon Keyspaces][1] in the *Amazon Keyspaces
|
|
775
|
+
# Developer Guide*.
|
|
776
|
+
#
|
|
777
|
+
#
|
|
778
|
+
#
|
|
779
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/warm-throughput.html
|
|
780
|
+
#
|
|
767
781
|
# @return [Types::CreateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
768
782
|
#
|
|
769
783
|
# * {Types::CreateTableResponse#resource_arn #resource_arn} => String
|
|
@@ -883,6 +897,10 @@ module Aws::Keyspaces
|
|
|
883
897
|
# ],
|
|
884
898
|
# propagate_tags: "TABLE", # accepts TABLE, NONE
|
|
885
899
|
# },
|
|
900
|
+
# warm_throughput_specification: {
|
|
901
|
+
# read_units_per_second: 1,
|
|
902
|
+
# write_units_per_second: 1,
|
|
903
|
+
# },
|
|
886
904
|
# })
|
|
887
905
|
#
|
|
888
906
|
# @example Response structure
|
|
@@ -1139,6 +1157,7 @@ module Aws::Keyspaces
|
|
|
1139
1157
|
# * {Types::GetTableResponse#replica_specifications #replica_specifications} => Array<Types::ReplicaSpecificationSummary>
|
|
1140
1158
|
# * {Types::GetTableResponse#latest_stream_arn #latest_stream_arn} => String
|
|
1141
1159
|
# * {Types::GetTableResponse#cdc_specification #cdc_specification} => Types::CdcSpecificationSummary
|
|
1160
|
+
# * {Types::GetTableResponse#warm_throughput_specification #warm_throughput_specification} => Types::WarmThroughputSpecificationSummary
|
|
1142
1161
|
#
|
|
1143
1162
|
# @example Request syntax with placeholder values
|
|
1144
1163
|
#
|
|
@@ -1183,9 +1202,15 @@ module Aws::Keyspaces
|
|
|
1183
1202
|
# resp.replica_specifications[0].capacity_specification.read_capacity_units #=> Integer
|
|
1184
1203
|
# resp.replica_specifications[0].capacity_specification.write_capacity_units #=> Integer
|
|
1185
1204
|
# resp.replica_specifications[0].capacity_specification.last_update_to_pay_per_request_timestamp #=> Time
|
|
1205
|
+
# resp.replica_specifications[0].warm_throughput_specification.read_units_per_second #=> Integer
|
|
1206
|
+
# resp.replica_specifications[0].warm_throughput_specification.write_units_per_second #=> Integer
|
|
1207
|
+
# resp.replica_specifications[0].warm_throughput_specification.status #=> String, one of "AVAILABLE", "UPDATING"
|
|
1186
1208
|
# resp.latest_stream_arn #=> String
|
|
1187
1209
|
# resp.cdc_specification.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
|
|
1188
1210
|
# resp.cdc_specification.view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "KEYS_ONLY", "NEW_AND_OLD_IMAGES"
|
|
1211
|
+
# resp.warm_throughput_specification.read_units_per_second #=> Integer
|
|
1212
|
+
# resp.warm_throughput_specification.write_units_per_second #=> Integer
|
|
1213
|
+
# resp.warm_throughput_specification.status #=> String, one of "AVAILABLE", "UPDATING"
|
|
1189
1214
|
#
|
|
1190
1215
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTable AWS API Documentation
|
|
1191
1216
|
#
|
|
@@ -2139,6 +2164,11 @@ module Aws::Keyspaces
|
|
|
2139
2164
|
# @option params [Types::CdcSpecification] :cdc_specification
|
|
2140
2165
|
# The CDC stream settings of the table.
|
|
2141
2166
|
#
|
|
2167
|
+
# @option params [Types::WarmThroughputSpecification] :warm_throughput_specification
|
|
2168
|
+
# Modifies the warm throughput settings for the table. You can update
|
|
2169
|
+
# the read and write capacity units to adjust the pre-provisioned
|
|
2170
|
+
# throughput.
|
|
2171
|
+
#
|
|
2142
2172
|
# @return [Types::UpdateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2143
2173
|
#
|
|
2144
2174
|
# * {Types::UpdateTableResponse#resource_arn #resource_arn} => String
|
|
@@ -2231,6 +2261,10 @@ module Aws::Keyspaces
|
|
|
2231
2261
|
# ],
|
|
2232
2262
|
# propagate_tags: "TABLE", # accepts TABLE, NONE
|
|
2233
2263
|
# },
|
|
2264
|
+
# warm_throughput_specification: {
|
|
2265
|
+
# read_units_per_second: 1,
|
|
2266
|
+
# write_units_per_second: 1,
|
|
2267
|
+
# },
|
|
2234
2268
|
# })
|
|
2235
2269
|
#
|
|
2236
2270
|
# @example Response structure
|
|
@@ -2264,7 +2298,7 @@ module Aws::Keyspaces
|
|
|
2264
2298
|
tracer: tracer
|
|
2265
2299
|
)
|
|
2266
2300
|
context[:gem_name] = 'aws-sdk-keyspaces'
|
|
2267
|
-
context[:gem_version] = '1.
|
|
2301
|
+
context[:gem_version] = '1.54.0'
|
|
2268
2302
|
Seahorse::Client::Request.new(handlers, context)
|
|
2269
2303
|
end
|
|
2270
2304
|
|
|
@@ -78,6 +78,7 @@ module Aws::Keyspaces
|
|
|
78
78
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
79
79
|
ListTypesRequest = Shapes::StructureShape.new(name: 'ListTypesRequest')
|
|
80
80
|
ListTypesResponse = Shapes::StructureShape.new(name: 'ListTypesResponse')
|
|
81
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
81
82
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
82
83
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
83
84
|
PartitionKey = Shapes::StructureShape.new(name: 'PartitionKey')
|
|
@@ -133,6 +134,11 @@ module Aws::Keyspaces
|
|
|
133
134
|
UpdateTableResponse = Shapes::StructureShape.new(name: 'UpdateTableResponse')
|
|
134
135
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
135
136
|
ViewType = Shapes::StringShape.new(name: 'ViewType')
|
|
137
|
+
WarmThroughputSpecification = Shapes::StructureShape.new(name: 'WarmThroughputSpecification')
|
|
138
|
+
WarmThroughputSpecificationReadUnitsPerSecondLong = Shapes::IntegerShape.new(name: 'WarmThroughputSpecificationReadUnitsPerSecondLong')
|
|
139
|
+
WarmThroughputSpecificationSummary = Shapes::StructureShape.new(name: 'WarmThroughputSpecificationSummary')
|
|
140
|
+
WarmThroughputSpecificationWriteUnitsPerSecondLong = Shapes::IntegerShape.new(name: 'WarmThroughputSpecificationWriteUnitsPerSecondLong')
|
|
141
|
+
WarmThroughputStatus = Shapes::StringShape.new(name: 'WarmThroughputStatus')
|
|
136
142
|
kmsKeyARN = Shapes::StringShape.new(name: 'kmsKeyARN')
|
|
137
143
|
region = Shapes::StringShape.new(name: 'region')
|
|
138
144
|
rs = Shapes::StringShape.new(name: 'rs')
|
|
@@ -217,6 +223,7 @@ module Aws::Keyspaces
|
|
|
217
223
|
CreateTableRequest.add_member(:auto_scaling_specification, Shapes::ShapeRef.new(shape: AutoScalingSpecification, location_name: "autoScalingSpecification"))
|
|
218
224
|
CreateTableRequest.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationList, location_name: "replicaSpecifications"))
|
|
219
225
|
CreateTableRequest.add_member(:cdc_specification, Shapes::ShapeRef.new(shape: CdcSpecification, location_name: "cdcSpecification"))
|
|
226
|
+
CreateTableRequest.add_member(:warm_throughput_specification, Shapes::ShapeRef.new(shape: WarmThroughputSpecification, location_name: "warmThroughputSpecification"))
|
|
220
227
|
CreateTableRequest.struct_class = Types::CreateTableRequest
|
|
221
228
|
|
|
222
229
|
CreateTableResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
|
|
@@ -301,6 +308,7 @@ module Aws::Keyspaces
|
|
|
301
308
|
GetTableResponse.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationSummaryList, location_name: "replicaSpecifications"))
|
|
302
309
|
GetTableResponse.add_member(:latest_stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "latestStreamArn"))
|
|
303
310
|
GetTableResponse.add_member(:cdc_specification, Shapes::ShapeRef.new(shape: CdcSpecificationSummary, location_name: "cdcSpecification"))
|
|
311
|
+
GetTableResponse.add_member(:warm_throughput_specification, Shapes::ShapeRef.new(shape: WarmThroughputSpecificationSummary, location_name: "warmThroughputSpecification"))
|
|
304
312
|
GetTableResponse.struct_class = Types::GetTableResponse
|
|
305
313
|
|
|
306
314
|
GetTypeRequest.add_member(:keyspace_name, Shapes::ShapeRef.new(shape: KeyspaceName, required: true, location_name: "keyspaceName"))
|
|
@@ -394,6 +402,7 @@ module Aws::Keyspaces
|
|
|
394
402
|
ReplicaSpecificationSummary.add_member(:region, Shapes::ShapeRef.new(shape: region, location_name: "region"))
|
|
395
403
|
ReplicaSpecificationSummary.add_member(:status, Shapes::ShapeRef.new(shape: TableStatus, location_name: "status"))
|
|
396
404
|
ReplicaSpecificationSummary.add_member(:capacity_specification, Shapes::ShapeRef.new(shape: CapacitySpecificationSummary, location_name: "capacitySpecification"))
|
|
405
|
+
ReplicaSpecificationSummary.add_member(:warm_throughput_specification, Shapes::ShapeRef.new(shape: WarmThroughputSpecificationSummary, location_name: "warmThroughputSpecification"))
|
|
397
406
|
ReplicaSpecificationSummary.struct_class = Types::ReplicaSpecificationSummary
|
|
398
407
|
|
|
399
408
|
ReplicaSpecificationSummaryList.member = Shapes::ShapeRef.new(shape: ReplicaSpecificationSummary)
|
|
@@ -501,6 +510,7 @@ module Aws::Keyspaces
|
|
|
501
510
|
UpdateTableRequest.add_member(:auto_scaling_specification, Shapes::ShapeRef.new(shape: AutoScalingSpecification, location_name: "autoScalingSpecification"))
|
|
502
511
|
UpdateTableRequest.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationList, location_name: "replicaSpecifications"))
|
|
503
512
|
UpdateTableRequest.add_member(:cdc_specification, Shapes::ShapeRef.new(shape: CdcSpecification, location_name: "cdcSpecification"))
|
|
513
|
+
UpdateTableRequest.add_member(:warm_throughput_specification, Shapes::ShapeRef.new(shape: WarmThroughputSpecification, location_name: "warmThroughputSpecification"))
|
|
504
514
|
UpdateTableRequest.struct_class = Types::UpdateTableRequest
|
|
505
515
|
|
|
506
516
|
UpdateTableResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
|
|
@@ -509,6 +519,15 @@ module Aws::Keyspaces
|
|
|
509
519
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
510
520
|
ValidationException.struct_class = Types::ValidationException
|
|
511
521
|
|
|
522
|
+
WarmThroughputSpecification.add_member(:read_units_per_second, Shapes::ShapeRef.new(shape: WarmThroughputSpecificationReadUnitsPerSecondLong, location_name: "readUnitsPerSecond"))
|
|
523
|
+
WarmThroughputSpecification.add_member(:write_units_per_second, Shapes::ShapeRef.new(shape: WarmThroughputSpecificationWriteUnitsPerSecondLong, location_name: "writeUnitsPerSecond"))
|
|
524
|
+
WarmThroughputSpecification.struct_class = Types::WarmThroughputSpecification
|
|
525
|
+
|
|
526
|
+
WarmThroughputSpecificationSummary.add_member(:read_units_per_second, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "readUnitsPerSecond"))
|
|
527
|
+
WarmThroughputSpecificationSummary.add_member(:write_units_per_second, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "writeUnitsPerSecond"))
|
|
528
|
+
WarmThroughputSpecificationSummary.add_member(:status, Shapes::ShapeRef.new(shape: WarmThroughputStatus, required: true, location_name: "status"))
|
|
529
|
+
WarmThroughputSpecificationSummary.struct_class = Types::WarmThroughputSpecificationSummary
|
|
530
|
+
|
|
512
531
|
|
|
513
532
|
# @api private
|
|
514
533
|
API = Seahorse::Model::Api.new.tap do |api|
|
|
@@ -13,7 +13,8 @@ module Aws::Keyspaces
|
|
|
13
13
|
# You don't have sufficient access permissions to perform this action.
|
|
14
14
|
#
|
|
15
15
|
# @!attribute [rw] message
|
|
16
|
-
#
|
|
16
|
+
# You don't have the required permissions to perform this operation.
|
|
17
|
+
# Verify your IAM permissions and try again.
|
|
17
18
|
# @return [String]
|
|
18
19
|
#
|
|
19
20
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/AccessDeniedException AWS API Documentation
|
|
@@ -446,7 +447,8 @@ module Aws::Keyspaces
|
|
|
446
447
|
# already exists.
|
|
447
448
|
#
|
|
448
449
|
# @!attribute [rw] message
|
|
449
|
-
#
|
|
450
|
+
# The requested operation conflicts with the current state of the
|
|
451
|
+
# resource or another concurrent operation.
|
|
450
452
|
# @return [String]
|
|
451
453
|
#
|
|
452
454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ConflictException AWS API Documentation
|
|
@@ -716,6 +718,21 @@ module Aws::Keyspaces
|
|
|
716
718
|
# The CDC stream settings of the table.
|
|
717
719
|
# @return [Types::CdcSpecification]
|
|
718
720
|
#
|
|
721
|
+
# @!attribute [rw] warm_throughput_specification
|
|
722
|
+
# Specifies the warm throughput settings for the table. Pre-warming a
|
|
723
|
+
# table helps you avoid capacity exceeded exceptions by
|
|
724
|
+
# pre-provisioning read and write capacity units to reduce cold start
|
|
725
|
+
# latency when your table receives traffic.
|
|
726
|
+
#
|
|
727
|
+
# For more information about pre-warming in Amazon Keyspaces, see
|
|
728
|
+
# [Pre-warm a table in Amazon Keyspaces][1] in the *Amazon Keyspaces
|
|
729
|
+
# Developer Guide*.
|
|
730
|
+
#
|
|
731
|
+
#
|
|
732
|
+
#
|
|
733
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/warm-throughput.html
|
|
734
|
+
# @return [Types::WarmThroughputSpecification]
|
|
735
|
+
#
|
|
719
736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CreateTableRequest AWS API Documentation
|
|
720
737
|
#
|
|
721
738
|
class CreateTableRequest < Struct.new(
|
|
@@ -732,7 +749,8 @@ module Aws::Keyspaces
|
|
|
732
749
|
:client_side_timestamps,
|
|
733
750
|
:auto_scaling_specification,
|
|
734
751
|
:replica_specifications,
|
|
735
|
-
:cdc_specification
|
|
752
|
+
:cdc_specification,
|
|
753
|
+
:warm_throughput_specification)
|
|
736
754
|
SENSITIVE = []
|
|
737
755
|
include Aws::Structure
|
|
738
756
|
end
|
|
@@ -1147,6 +1165,11 @@ module Aws::Keyspaces
|
|
|
1147
1165
|
# The CDC stream settings of the table.
|
|
1148
1166
|
# @return [Types::CdcSpecificationSummary]
|
|
1149
1167
|
#
|
|
1168
|
+
# @!attribute [rw] warm_throughput_specification
|
|
1169
|
+
# The warm throughput settings for the table, including the current
|
|
1170
|
+
# status and configured read and write capacity units.
|
|
1171
|
+
# @return [Types::WarmThroughputSpecificationSummary]
|
|
1172
|
+
#
|
|
1150
1173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTableResponse AWS API Documentation
|
|
1151
1174
|
#
|
|
1152
1175
|
class GetTableResponse < Struct.new(
|
|
@@ -1165,7 +1188,8 @@ module Aws::Keyspaces
|
|
|
1165
1188
|
:client_side_timestamps,
|
|
1166
1189
|
:replica_specifications,
|
|
1167
1190
|
:latest_stream_arn,
|
|
1168
|
-
:cdc_specification
|
|
1191
|
+
:cdc_specification,
|
|
1192
|
+
:warm_throughput_specification)
|
|
1169
1193
|
SENSITIVE = []
|
|
1170
1194
|
include Aws::Structure
|
|
1171
1195
|
end
|
|
@@ -1247,7 +1271,8 @@ module Aws::Keyspaces
|
|
|
1247
1271
|
# an internal server error.
|
|
1248
1272
|
#
|
|
1249
1273
|
# @!attribute [rw] message
|
|
1250
|
-
#
|
|
1274
|
+
# An internal service error occurred. Retry your request. If the
|
|
1275
|
+
# problem persists, contact Amazon Web Services Support.
|
|
1251
1276
|
# @return [String]
|
|
1252
1277
|
#
|
|
1253
1278
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/InternalServerException AWS API Documentation
|
|
@@ -1622,12 +1647,18 @@ module Aws::Keyspaces
|
|
|
1622
1647
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html
|
|
1623
1648
|
# @return [Types::CapacitySpecificationSummary]
|
|
1624
1649
|
#
|
|
1650
|
+
# @!attribute [rw] warm_throughput_specification
|
|
1651
|
+
# The warm throughput settings for this replica, including the current
|
|
1652
|
+
# status and configured read and write capacity units.
|
|
1653
|
+
# @return [Types::WarmThroughputSpecificationSummary]
|
|
1654
|
+
#
|
|
1625
1655
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ReplicaSpecificationSummary AWS API Documentation
|
|
1626
1656
|
#
|
|
1627
1657
|
class ReplicaSpecificationSummary < Struct.new(
|
|
1628
1658
|
:region,
|
|
1629
1659
|
:status,
|
|
1630
|
-
:capacity_specification
|
|
1660
|
+
:capacity_specification,
|
|
1661
|
+
:warm_throughput_specification)
|
|
1631
1662
|
SENSITIVE = []
|
|
1632
1663
|
include Aws::Structure
|
|
1633
1664
|
end
|
|
@@ -1692,12 +1723,13 @@ module Aws::Keyspaces
|
|
|
1692
1723
|
# might not be `ACTIVE`.
|
|
1693
1724
|
#
|
|
1694
1725
|
# @!attribute [rw] message
|
|
1695
|
-
#
|
|
1726
|
+
# The specified resource was not found. Verify the resource identifier
|
|
1727
|
+
# and ensure the resource exists and is in an ACTIVE state.
|
|
1696
1728
|
# @return [String]
|
|
1697
1729
|
#
|
|
1698
1730
|
# @!attribute [rw] resource_arn
|
|
1699
1731
|
# The unique identifier in the format of Amazon Resource Name (ARN)
|
|
1700
|
-
# for the resource couldn
|
|
1732
|
+
# for the resource couldn't be found.
|
|
1701
1733
|
# @return [String]
|
|
1702
1734
|
#
|
|
1703
1735
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ResourceNotFoundException AWS API Documentation
|
|
@@ -1889,7 +1921,9 @@ module Aws::Keyspaces
|
|
|
1889
1921
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html
|
|
1890
1922
|
#
|
|
1891
1923
|
# @!attribute [rw] message
|
|
1892
|
-
#
|
|
1924
|
+
# The requested operation would exceed the service quota for this
|
|
1925
|
+
# resource. Review the service quotas and adjust your request
|
|
1926
|
+
# accordingly.
|
|
1893
1927
|
# @return [String]
|
|
1894
1928
|
#
|
|
1895
1929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ServiceQuotaExceededException AWS API Documentation
|
|
@@ -2295,6 +2329,12 @@ module Aws::Keyspaces
|
|
|
2295
2329
|
# The CDC stream settings of the table.
|
|
2296
2330
|
# @return [Types::CdcSpecification]
|
|
2297
2331
|
#
|
|
2332
|
+
# @!attribute [rw] warm_throughput_specification
|
|
2333
|
+
# Modifies the warm throughput settings for the table. You can update
|
|
2334
|
+
# the read and write capacity units to adjust the pre-provisioned
|
|
2335
|
+
# throughput.
|
|
2336
|
+
# @return [Types::WarmThroughputSpecification]
|
|
2337
|
+
#
|
|
2298
2338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/UpdateTableRequest AWS API Documentation
|
|
2299
2339
|
#
|
|
2300
2340
|
class UpdateTableRequest < Struct.new(
|
|
@@ -2309,7 +2349,8 @@ module Aws::Keyspaces
|
|
|
2309
2349
|
:client_side_timestamps,
|
|
2310
2350
|
:auto_scaling_specification,
|
|
2311
2351
|
:replica_specifications,
|
|
2312
|
-
:cdc_specification
|
|
2352
|
+
:cdc_specification,
|
|
2353
|
+
:warm_throughput_specification)
|
|
2313
2354
|
SENSITIVE = []
|
|
2314
2355
|
include Aws::Structure
|
|
2315
2356
|
end
|
|
@@ -2329,7 +2370,8 @@ module Aws::Keyspaces
|
|
|
2329
2370
|
# The operation failed due to an invalid or malformed request.
|
|
2330
2371
|
#
|
|
2331
2372
|
# @!attribute [rw] message
|
|
2332
|
-
#
|
|
2373
|
+
# The request parameters are invalid or malformed. Review the API
|
|
2374
|
+
# documentation and correct the request format.
|
|
2333
2375
|
# @return [String]
|
|
2334
2376
|
#
|
|
2335
2377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ValidationException AWS API Documentation
|
|
@@ -2340,6 +2382,68 @@ module Aws::Keyspaces
|
|
|
2340
2382
|
include Aws::Structure
|
|
2341
2383
|
end
|
|
2342
2384
|
|
|
2385
|
+
# Specifies the warm throughput settings for a table. Pre-warming a
|
|
2386
|
+
# table by specifying warm throughput pre-provisions read and write
|
|
2387
|
+
# capacity units to help avoid capacity exceeded exceptions and reduce
|
|
2388
|
+
# latency when your table starts receiving traffic.
|
|
2389
|
+
#
|
|
2390
|
+
# For more information about pre-warming in Amazon Keyspaces, see
|
|
2391
|
+
# [Pre-warm a table in Amazon Keyspaces][1] in the *Amazon Keyspaces
|
|
2392
|
+
# Developer Guide*.
|
|
2393
|
+
#
|
|
2394
|
+
#
|
|
2395
|
+
#
|
|
2396
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/warm-throughput.html
|
|
2397
|
+
#
|
|
2398
|
+
# @!attribute [rw] read_units_per_second
|
|
2399
|
+
# The number of read capacity units per second to pre-warm the table
|
|
2400
|
+
# for read capacity throughput. The minimum value is 1.
|
|
2401
|
+
# @return [Integer]
|
|
2402
|
+
#
|
|
2403
|
+
# @!attribute [rw] write_units_per_second
|
|
2404
|
+
# The number of write capacity units per second to pre-warm the table
|
|
2405
|
+
# for write capacity throughput. The minimum value is 1.
|
|
2406
|
+
# @return [Integer]
|
|
2407
|
+
#
|
|
2408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/WarmThroughputSpecification AWS API Documentation
|
|
2409
|
+
#
|
|
2410
|
+
class WarmThroughputSpecification < Struct.new(
|
|
2411
|
+
:read_units_per_second,
|
|
2412
|
+
:write_units_per_second)
|
|
2413
|
+
SENSITIVE = []
|
|
2414
|
+
include Aws::Structure
|
|
2415
|
+
end
|
|
2416
|
+
|
|
2417
|
+
# Contains the current warm throughput settings for a table, including
|
|
2418
|
+
# the configured capacity units and the current status of the warm
|
|
2419
|
+
# throughput configuration.
|
|
2420
|
+
#
|
|
2421
|
+
# @!attribute [rw] read_units_per_second
|
|
2422
|
+
# The number of read capacity units per second currently configured
|
|
2423
|
+
# for warm throughput.
|
|
2424
|
+
# @return [Integer]
|
|
2425
|
+
#
|
|
2426
|
+
# @!attribute [rw] write_units_per_second
|
|
2427
|
+
# The number of write capacity units per second currently configured
|
|
2428
|
+
# for warm throughput.
|
|
2429
|
+
# @return [Integer]
|
|
2430
|
+
#
|
|
2431
|
+
# @!attribute [rw] status
|
|
2432
|
+
# The current status of the warm throughput configuration. Valid
|
|
2433
|
+
# values are `AVAILABLE` when the configuration is active, and
|
|
2434
|
+
# `UPDATING` when changes are being applied.
|
|
2435
|
+
# @return [String]
|
|
2436
|
+
#
|
|
2437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/WarmThroughputSpecificationSummary AWS API Documentation
|
|
2438
|
+
#
|
|
2439
|
+
class WarmThroughputSpecificationSummary < Struct.new(
|
|
2440
|
+
:read_units_per_second,
|
|
2441
|
+
:write_units_per_second,
|
|
2442
|
+
:status)
|
|
2443
|
+
SENSITIVE = []
|
|
2444
|
+
include Aws::Structure
|
|
2445
|
+
end
|
|
2446
|
+
|
|
2343
2447
|
end
|
|
2344
2448
|
end
|
|
2345
2449
|
|
data/lib/aws-sdk-keyspaces.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -216,6 +216,10 @@ module Aws
|
|
|
216
216
|
},
|
|
217
217
|
]?,
|
|
218
218
|
propagate_tags: ("TABLE" | "NONE")?
|
|
219
|
+
},
|
|
220
|
+
?warm_throughput_specification: {
|
|
221
|
+
read_units_per_second: ::Integer?,
|
|
222
|
+
write_units_per_second: ::Integer?
|
|
219
223
|
}
|
|
220
224
|
) -> _CreateTableResponseSuccess
|
|
221
225
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
|
|
@@ -301,6 +305,7 @@ module Aws
|
|
|
301
305
|
def replica_specifications: () -> ::Array[Types::ReplicaSpecificationSummary]
|
|
302
306
|
def latest_stream_arn: () -> ::String
|
|
303
307
|
def cdc_specification: () -> Types::CdcSpecificationSummary
|
|
308
|
+
def warm_throughput_specification: () -> Types::WarmThroughputSpecificationSummary
|
|
304
309
|
end
|
|
305
310
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#get_table-instance_method
|
|
306
311
|
def get_table: (
|
|
@@ -610,6 +615,10 @@ module Aws
|
|
|
610
615
|
},
|
|
611
616
|
]?,
|
|
612
617
|
propagate_tags: ("TABLE" | "NONE")?
|
|
618
|
+
},
|
|
619
|
+
?warm_throughput_specification: {
|
|
620
|
+
read_units_per_second: ::Integer?,
|
|
621
|
+
write_units_per_second: ::Integer?
|
|
613
622
|
}
|
|
614
623
|
) -> _UpdateTableResponseSuccess
|
|
615
624
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -115,6 +115,7 @@ module Aws::Keyspaces
|
|
|
115
115
|
attr_accessor auto_scaling_specification: Types::AutoScalingSpecification
|
|
116
116
|
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecification]
|
|
117
117
|
attr_accessor cdc_specification: Types::CdcSpecification
|
|
118
|
+
attr_accessor warm_throughput_specification: Types::WarmThroughputSpecification
|
|
118
119
|
SENSITIVE: []
|
|
119
120
|
end
|
|
120
121
|
|
|
@@ -229,6 +230,7 @@ module Aws::Keyspaces
|
|
|
229
230
|
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecificationSummary]
|
|
230
231
|
attr_accessor latest_stream_arn: ::String
|
|
231
232
|
attr_accessor cdc_specification: Types::CdcSpecificationSummary
|
|
233
|
+
attr_accessor warm_throughput_specification: Types::WarmThroughputSpecificationSummary
|
|
232
234
|
SENSITIVE: []
|
|
233
235
|
end
|
|
234
236
|
|
|
@@ -348,6 +350,7 @@ module Aws::Keyspaces
|
|
|
348
350
|
attr_accessor region: ::String
|
|
349
351
|
attr_accessor status: ("ACTIVE" | "CREATING" | "UPDATING" | "DELETING" | "DELETED" | "RESTORING" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS")
|
|
350
352
|
attr_accessor capacity_specification: Types::CapacitySpecificationSummary
|
|
353
|
+
attr_accessor warm_throughput_specification: Types::WarmThroughputSpecificationSummary
|
|
351
354
|
SENSITIVE: []
|
|
352
355
|
end
|
|
353
356
|
|
|
@@ -477,6 +480,7 @@ module Aws::Keyspaces
|
|
|
477
480
|
attr_accessor auto_scaling_specification: Types::AutoScalingSpecification
|
|
478
481
|
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecification]
|
|
479
482
|
attr_accessor cdc_specification: Types::CdcSpecification
|
|
483
|
+
attr_accessor warm_throughput_specification: Types::WarmThroughputSpecification
|
|
480
484
|
SENSITIVE: []
|
|
481
485
|
end
|
|
482
486
|
|
|
@@ -489,5 +493,18 @@ module Aws::Keyspaces
|
|
|
489
493
|
attr_accessor message: ::String
|
|
490
494
|
SENSITIVE: []
|
|
491
495
|
end
|
|
496
|
+
|
|
497
|
+
class WarmThroughputSpecification
|
|
498
|
+
attr_accessor read_units_per_second: ::Integer
|
|
499
|
+
attr_accessor write_units_per_second: ::Integer
|
|
500
|
+
SENSITIVE: []
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
class WarmThroughputSpecificationSummary
|
|
504
|
+
attr_accessor read_units_per_second: ::Integer
|
|
505
|
+
attr_accessor write_units_per_second: ::Integer
|
|
506
|
+
attr_accessor status: ("AVAILABLE" | "UPDATING")
|
|
507
|
+
SENSITIVE: []
|
|
508
|
+
end
|
|
492
509
|
end
|
|
493
510
|
end
|