aws-sdk-keyspaces 1.41.0 → 1.43.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-keyspaces/client.rb +52 -9
- data/lib/aws-sdk-keyspaces/client_api.rb +20 -0
- data/lib/aws-sdk-keyspaces/types.rb +113 -3
- data/lib/aws-sdk-keyspaces.rb +1 -1
- data/sig/client.rbs +27 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +18 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64382c0996a37dc70702df2350eabedf0c7081aa3ea65765eac1583f1dfd3014
|
4
|
+
data.tar.gz: fd0cdac2262f2aa1b9d48844b2fa9e8a0c0e938a9913df224f872c58586db11f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab536d9e9f2ad653bab5007d0f97f301e3ddd6d42bbfa17dd2e597fc084881a54655cc3ff92b9a7bf89fc39e4a356a57e73c92aa3e93ca06c5b1a4f23d54d971
|
7
|
+
data.tar.gz: 8eda6774566a9ee578e367a2bd8a8ff3eabf9dcd36fa4ad4a36cf0a61210603787c71c394afb72a9e894aae7b4d826ef44ddbae04a6fb10e88a466247a87899b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.42.0 (2025-06-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release provides change data capture (CDC) streams support through updates to the Amazon Keyspaces API.
|
13
|
+
|
4
14
|
1.41.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -95,7 +95,7 @@ module Aws::Keyspaces
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::Keyspaces
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::Keyspaces
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::Keyspaces
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -374,7 +384,7 @@ module Aws::Keyspaces
|
|
374
384
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
375
385
|
#
|
376
386
|
# @option options [Aws::TokenProvider] :token_provider
|
377
|
-
#
|
387
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
378
388
|
# following classes:
|
379
389
|
#
|
380
390
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -754,6 +764,9 @@ module Aws::Keyspaces
|
|
754
764
|
# * `readCapacityAutoScaling`: The read capacity auto scaling settings
|
755
765
|
# for the table. (Optional)
|
756
766
|
#
|
767
|
+
# @option params [Types::CdcSpecification] :cdc_specification
|
768
|
+
# The CDC stream settings of the table.
|
769
|
+
#
|
757
770
|
# @return [Types::CreateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
758
771
|
#
|
759
772
|
# * {Types::CreateTableResponse#resource_arn #resource_arn} => String
|
@@ -862,6 +875,17 @@ module Aws::Keyspaces
|
|
862
875
|
# },
|
863
876
|
# },
|
864
877
|
# ],
|
878
|
+
# cdc_specification: {
|
879
|
+
# status: "ENABLED", # required, accepts ENABLED, ENABLING, DISABLED, DISABLING
|
880
|
+
# view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, KEYS_ONLY, NEW_AND_OLD_IMAGES
|
881
|
+
# tags: [
|
882
|
+
# {
|
883
|
+
# key: "TagKey", # required
|
884
|
+
# value: "TagValue", # required
|
885
|
+
# },
|
886
|
+
# ],
|
887
|
+
# propagate_tags: "TABLE", # accepts TABLE, NONE
|
888
|
+
# },
|
865
889
|
# })
|
866
890
|
#
|
867
891
|
# @example Response structure
|
@@ -1116,6 +1140,8 @@ module Aws::Keyspaces
|
|
1116
1140
|
# * {Types::GetTableResponse#comment #comment} => Types::Comment
|
1117
1141
|
# * {Types::GetTableResponse#client_side_timestamps #client_side_timestamps} => Types::ClientSideTimestamps
|
1118
1142
|
# * {Types::GetTableResponse#replica_specifications #replica_specifications} => Array<Types::ReplicaSpecificationSummary>
|
1143
|
+
# * {Types::GetTableResponse#latest_stream_arn #latest_stream_arn} => String
|
1144
|
+
# * {Types::GetTableResponse#cdc_specification #cdc_specification} => Types::CdcSpecificationSummary
|
1119
1145
|
#
|
1120
1146
|
# @example Request syntax with placeholder values
|
1121
1147
|
#
|
@@ -1160,6 +1186,9 @@ module Aws::Keyspaces
|
|
1160
1186
|
# resp.replica_specifications[0].capacity_specification.read_capacity_units #=> Integer
|
1161
1187
|
# resp.replica_specifications[0].capacity_specification.write_capacity_units #=> Integer
|
1162
1188
|
# resp.replica_specifications[0].capacity_specification.last_update_to_pay_per_request_timestamp #=> Time
|
1189
|
+
# resp.latest_stream_arn #=> String
|
1190
|
+
# resp.cdc_specification.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
|
1191
|
+
# resp.cdc_specification.view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "KEYS_ONLY", "NEW_AND_OLD_IMAGES"
|
1163
1192
|
#
|
1164
1193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTable AWS API Documentation
|
1165
1194
|
#
|
@@ -2110,6 +2139,9 @@ module Aws::Keyspaces
|
|
2110
2139
|
# @option params [Array<Types::ReplicaSpecification>] :replica_specifications
|
2111
2140
|
# The Region specific settings of a multi-Regional table.
|
2112
2141
|
#
|
2142
|
+
# @option params [Types::CdcSpecification] :cdc_specification
|
2143
|
+
# The CDC stream settings of the table.
|
2144
|
+
#
|
2113
2145
|
# @return [Types::UpdateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2114
2146
|
#
|
2115
2147
|
# * {Types::UpdateTableResponse#resource_arn #resource_arn} => String
|
@@ -2191,6 +2223,17 @@ module Aws::Keyspaces
|
|
2191
2223
|
# },
|
2192
2224
|
# },
|
2193
2225
|
# ],
|
2226
|
+
# cdc_specification: {
|
2227
|
+
# status: "ENABLED", # required, accepts ENABLED, ENABLING, DISABLED, DISABLING
|
2228
|
+
# view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, KEYS_ONLY, NEW_AND_OLD_IMAGES
|
2229
|
+
# tags: [
|
2230
|
+
# {
|
2231
|
+
# key: "TagKey", # required
|
2232
|
+
# value: "TagValue", # required
|
2233
|
+
# },
|
2234
|
+
# ],
|
2235
|
+
# propagate_tags: "TABLE", # accepts TABLE, NONE
|
2236
|
+
# },
|
2194
2237
|
# })
|
2195
2238
|
#
|
2196
2239
|
# @example Response structure
|
@@ -2224,7 +2267,7 @@ module Aws::Keyspaces
|
|
2224
2267
|
tracer: tracer
|
2225
2268
|
)
|
2226
2269
|
context[:gem_name] = 'aws-sdk-keyspaces'
|
2227
|
-
context[:gem_version] = '1.
|
2270
|
+
context[:gem_version] = '1.43.0'
|
2228
2271
|
Seahorse::Client::Request.new(handlers, context)
|
2229
2272
|
end
|
2230
2273
|
|
@@ -23,6 +23,10 @@ module Aws::Keyspaces
|
|
23
23
|
CapacitySpecification = Shapes::StructureShape.new(name: 'CapacitySpecification')
|
24
24
|
CapacitySpecificationSummary = Shapes::StructureShape.new(name: 'CapacitySpecificationSummary')
|
25
25
|
CapacityUnits = Shapes::IntegerShape.new(name: 'CapacityUnits')
|
26
|
+
CdcPropagateTags = Shapes::StringShape.new(name: 'CdcPropagateTags')
|
27
|
+
CdcSpecification = Shapes::StructureShape.new(name: 'CdcSpecification')
|
28
|
+
CdcSpecificationSummary = Shapes::StructureShape.new(name: 'CdcSpecificationSummary')
|
29
|
+
CdcStatus = Shapes::StringShape.new(name: 'CdcStatus')
|
26
30
|
ClientSideTimestamps = Shapes::StructureShape.new(name: 'ClientSideTimestamps')
|
27
31
|
ClientSideTimestampsStatus = Shapes::StringShape.new(name: 'ClientSideTimestampsStatus')
|
28
32
|
ClusteringKey = Shapes::StructureShape.new(name: 'ClusteringKey')
|
@@ -99,6 +103,7 @@ module Aws::Keyspaces
|
|
99
103
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
100
104
|
StaticColumn = Shapes::StructureShape.new(name: 'StaticColumn')
|
101
105
|
StaticColumnList = Shapes::ListShape.new(name: 'StaticColumnList')
|
106
|
+
StreamArn = Shapes::StringShape.new(name: 'StreamArn')
|
102
107
|
String = Shapes::StringShape.new(name: 'String')
|
103
108
|
TableName = Shapes::StringShape.new(name: 'TableName')
|
104
109
|
TableNameList = Shapes::ListShape.new(name: 'TableNameList')
|
@@ -127,6 +132,7 @@ module Aws::Keyspaces
|
|
127
132
|
UpdateTableRequest = Shapes::StructureShape.new(name: 'UpdateTableRequest')
|
128
133
|
UpdateTableResponse = Shapes::StructureShape.new(name: 'UpdateTableResponse')
|
129
134
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
135
|
+
ViewType = Shapes::StringShape.new(name: 'ViewType')
|
130
136
|
kmsKeyARN = Shapes::StringShape.new(name: 'kmsKeyARN')
|
131
137
|
region = Shapes::StringShape.new(name: 'region')
|
132
138
|
rs = Shapes::StringShape.new(name: 'rs')
|
@@ -158,6 +164,16 @@ module Aws::Keyspaces
|
|
158
164
|
CapacitySpecificationSummary.add_member(:last_update_to_pay_per_request_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateToPayPerRequestTimestamp"))
|
159
165
|
CapacitySpecificationSummary.struct_class = Types::CapacitySpecificationSummary
|
160
166
|
|
167
|
+
CdcSpecification.add_member(:status, Shapes::ShapeRef.new(shape: CdcStatus, required: true, location_name: "status"))
|
168
|
+
CdcSpecification.add_member(:view_type, Shapes::ShapeRef.new(shape: ViewType, location_name: "viewType"))
|
169
|
+
CdcSpecification.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
170
|
+
CdcSpecification.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: CdcPropagateTags, location_name: "propagateTags"))
|
171
|
+
CdcSpecification.struct_class = Types::CdcSpecification
|
172
|
+
|
173
|
+
CdcSpecificationSummary.add_member(:status, Shapes::ShapeRef.new(shape: CdcStatus, required: true, location_name: "status"))
|
174
|
+
CdcSpecificationSummary.add_member(:view_type, Shapes::ShapeRef.new(shape: ViewType, location_name: "viewType"))
|
175
|
+
CdcSpecificationSummary.struct_class = Types::CdcSpecificationSummary
|
176
|
+
|
161
177
|
ClientSideTimestamps.add_member(:status, Shapes::ShapeRef.new(shape: ClientSideTimestampsStatus, required: true, location_name: "status"))
|
162
178
|
ClientSideTimestamps.struct_class = Types::ClientSideTimestamps
|
163
179
|
|
@@ -200,6 +216,7 @@ module Aws::Keyspaces
|
|
200
216
|
CreateTableRequest.add_member(:client_side_timestamps, Shapes::ShapeRef.new(shape: ClientSideTimestamps, location_name: "clientSideTimestamps"))
|
201
217
|
CreateTableRequest.add_member(:auto_scaling_specification, Shapes::ShapeRef.new(shape: AutoScalingSpecification, location_name: "autoScalingSpecification"))
|
202
218
|
CreateTableRequest.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationList, location_name: "replicaSpecifications"))
|
219
|
+
CreateTableRequest.add_member(:cdc_specification, Shapes::ShapeRef.new(shape: CdcSpecification, location_name: "cdcSpecification"))
|
203
220
|
CreateTableRequest.struct_class = Types::CreateTableRequest
|
204
221
|
|
205
222
|
CreateTableResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
|
@@ -282,6 +299,8 @@ module Aws::Keyspaces
|
|
282
299
|
GetTableResponse.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
283
300
|
GetTableResponse.add_member(:client_side_timestamps, Shapes::ShapeRef.new(shape: ClientSideTimestamps, location_name: "clientSideTimestamps"))
|
284
301
|
GetTableResponse.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationSummaryList, location_name: "replicaSpecifications"))
|
302
|
+
GetTableResponse.add_member(:latest_stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "latestStreamArn"))
|
303
|
+
GetTableResponse.add_member(:cdc_specification, Shapes::ShapeRef.new(shape: CdcSpecificationSummary, location_name: "cdcSpecification"))
|
285
304
|
GetTableResponse.struct_class = Types::GetTableResponse
|
286
305
|
|
287
306
|
GetTypeRequest.add_member(:keyspace_name, Shapes::ShapeRef.new(shape: KeyspaceName, required: true, location_name: "keyspaceName"))
|
@@ -481,6 +500,7 @@ module Aws::Keyspaces
|
|
481
500
|
UpdateTableRequest.add_member(:client_side_timestamps, Shapes::ShapeRef.new(shape: ClientSideTimestamps, location_name: "clientSideTimestamps"))
|
482
501
|
UpdateTableRequest.add_member(:auto_scaling_specification, Shapes::ShapeRef.new(shape: AutoScalingSpecification, location_name: "autoScalingSpecification"))
|
483
502
|
UpdateTableRequest.add_member(:replica_specifications, Shapes::ShapeRef.new(shape: ReplicaSpecificationList, location_name: "replicaSpecifications"))
|
503
|
+
UpdateTableRequest.add_member(:cdc_specification, Shapes::ShapeRef.new(shape: CdcSpecification, location_name: "cdcSpecification"))
|
484
504
|
UpdateTableRequest.struct_class = Types::UpdateTableRequest
|
485
505
|
|
486
506
|
UpdateTableResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
|
@@ -270,6 +270,96 @@ module Aws::Keyspaces
|
|
270
270
|
include Aws::Structure
|
271
271
|
end
|
272
272
|
|
273
|
+
# The settings for the CDC stream of a table. For more information about
|
274
|
+
# CDC streams, see [Working with change data capture (CDC) streams in
|
275
|
+
# Amazon Keyspaces][1] in the *Amazon Keyspaces Developer Guide*.
|
276
|
+
#
|
277
|
+
#
|
278
|
+
#
|
279
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/cdc.html
|
280
|
+
#
|
281
|
+
# @!attribute [rw] status
|
282
|
+
# The status of the CDC stream. You can enable or disable a stream for
|
283
|
+
# a table.
|
284
|
+
# @return [String]
|
285
|
+
#
|
286
|
+
# @!attribute [rw] view_type
|
287
|
+
# The view type specifies the changes Amazon Keyspaces records for
|
288
|
+
# each changed row in the stream. After you create the stream, you
|
289
|
+
# can't make changes to this selection.
|
290
|
+
#
|
291
|
+
# The options are:
|
292
|
+
#
|
293
|
+
# * `NEW_AND_OLD_IMAGES` - both versions of the row, before and after
|
294
|
+
# the change. This is the default.
|
295
|
+
#
|
296
|
+
# * `NEW_IMAGE` - the version of the row after the change.
|
297
|
+
#
|
298
|
+
# * `OLD_IMAGE` - the version of the row before the change.
|
299
|
+
#
|
300
|
+
# * `KEYS_ONLY` - the partition and clustering keys of the row that
|
301
|
+
# was changed.
|
302
|
+
# @return [String]
|
303
|
+
#
|
304
|
+
# @!attribute [rw] tags
|
305
|
+
# The tags (key-value pairs) that you want to apply to the stream.
|
306
|
+
# @return [Array<Types::Tag>]
|
307
|
+
#
|
308
|
+
# @!attribute [rw] propagate_tags
|
309
|
+
# Specifies that the stream inherits the tags from the table.
|
310
|
+
# @return [String]
|
311
|
+
#
|
312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CdcSpecification AWS API Documentation
|
313
|
+
#
|
314
|
+
class CdcSpecification < Struct.new(
|
315
|
+
:status,
|
316
|
+
:view_type,
|
317
|
+
:tags,
|
318
|
+
:propagate_tags)
|
319
|
+
SENSITIVE = []
|
320
|
+
include Aws::Structure
|
321
|
+
end
|
322
|
+
|
323
|
+
# The settings of the CDC stream of the table. For more information
|
324
|
+
# about CDC streams, see [Working with change data capture (CDC) streams
|
325
|
+
# in Amazon Keyspaces][1] in the *Amazon Keyspaces Developer Guide*.
|
326
|
+
#
|
327
|
+
#
|
328
|
+
#
|
329
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/cdc.html
|
330
|
+
#
|
331
|
+
# @!attribute [rw] status
|
332
|
+
# The status of the CDC stream. Specifies if the table has a CDC
|
333
|
+
# stream.
|
334
|
+
# @return [String]
|
335
|
+
#
|
336
|
+
# @!attribute [rw] view_type
|
337
|
+
# The view type specifies the changes Amazon Keyspaces records for
|
338
|
+
# each changed row in the stream. This setting can't be changed,
|
339
|
+
# after the stream has been created.
|
340
|
+
#
|
341
|
+
# The options are:
|
342
|
+
#
|
343
|
+
# * `NEW_AND_OLD_IMAGES` - both versions of the row, before and after
|
344
|
+
# the change. This is the default.
|
345
|
+
#
|
346
|
+
# * `NEW_IMAGE` - the version of the row after the change.
|
347
|
+
#
|
348
|
+
# * `OLD_IMAGE` - the version of the row before the change.
|
349
|
+
#
|
350
|
+
# * `KEYS_ONLY` - the partition and clustering keys of the row that
|
351
|
+
# was changed.
|
352
|
+
# @return [String]
|
353
|
+
#
|
354
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CdcSpecificationSummary AWS API Documentation
|
355
|
+
#
|
356
|
+
class CdcSpecificationSummary < Struct.new(
|
357
|
+
:status,
|
358
|
+
:view_type)
|
359
|
+
SENSITIVE = []
|
360
|
+
include Aws::Structure
|
361
|
+
end
|
362
|
+
|
273
363
|
# The client-side timestamp setting of the table.
|
274
364
|
#
|
275
365
|
# For more information, see [How it works: Amazon Keyspaces client-side
|
@@ -622,6 +712,10 @@ module Aws::Keyspaces
|
|
622
712
|
# for the table. (Optional)
|
623
713
|
# @return [Array<Types::ReplicaSpecification>]
|
624
714
|
#
|
715
|
+
# @!attribute [rw] cdc_specification
|
716
|
+
# The CDC stream settings of the table.
|
717
|
+
# @return [Types::CdcSpecification]
|
718
|
+
#
|
625
719
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CreateTableRequest AWS API Documentation
|
626
720
|
#
|
627
721
|
class CreateTableRequest < Struct.new(
|
@@ -637,7 +731,8 @@ module Aws::Keyspaces
|
|
637
731
|
:tags,
|
638
732
|
:client_side_timestamps,
|
639
733
|
:auto_scaling_specification,
|
640
|
-
:replica_specifications
|
734
|
+
:replica_specifications,
|
735
|
+
:cdc_specification)
|
641
736
|
SENSITIVE = []
|
642
737
|
include Aws::Structure
|
643
738
|
end
|
@@ -1044,6 +1139,14 @@ module Aws::Keyspaces
|
|
1044
1139
|
# Regions a multi-Region table is replicated in.
|
1045
1140
|
# @return [Array<Types::ReplicaSpecificationSummary>]
|
1046
1141
|
#
|
1142
|
+
# @!attribute [rw] latest_stream_arn
|
1143
|
+
# The Amazon Resource Name (ARN) of the stream.
|
1144
|
+
# @return [String]
|
1145
|
+
#
|
1146
|
+
# @!attribute [rw] cdc_specification
|
1147
|
+
# The CDC stream settings of the table.
|
1148
|
+
# @return [Types::CdcSpecificationSummary]
|
1149
|
+
#
|
1047
1150
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTableResponse AWS API Documentation
|
1048
1151
|
#
|
1049
1152
|
class GetTableResponse < Struct.new(
|
@@ -1060,7 +1163,9 @@ module Aws::Keyspaces
|
|
1060
1163
|
:default_time_to_live,
|
1061
1164
|
:comment,
|
1062
1165
|
:client_side_timestamps,
|
1063
|
-
:replica_specifications
|
1166
|
+
:replica_specifications,
|
1167
|
+
:latest_stream_arn,
|
1168
|
+
:cdc_specification)
|
1064
1169
|
SENSITIVE = []
|
1065
1170
|
include Aws::Structure
|
1066
1171
|
end
|
@@ -2186,6 +2291,10 @@ module Aws::Keyspaces
|
|
2186
2291
|
# The Region specific settings of a multi-Regional table.
|
2187
2292
|
# @return [Array<Types::ReplicaSpecification>]
|
2188
2293
|
#
|
2294
|
+
# @!attribute [rw] cdc_specification
|
2295
|
+
# The CDC stream settings of the table.
|
2296
|
+
# @return [Types::CdcSpecification]
|
2297
|
+
#
|
2189
2298
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/UpdateTableRequest AWS API Documentation
|
2190
2299
|
#
|
2191
2300
|
class UpdateTableRequest < Struct.new(
|
@@ -2199,7 +2308,8 @@ module Aws::Keyspaces
|
|
2199
2308
|
:default_time_to_live,
|
2200
2309
|
:client_side_timestamps,
|
2201
2310
|
:auto_scaling_specification,
|
2202
|
-
:replica_specifications
|
2311
|
+
:replica_specifications,
|
2312
|
+
:cdc_specification)
|
2203
2313
|
SENSITIVE = []
|
2204
2314
|
include Aws::Structure
|
2205
2315
|
end
|
data/lib/aws-sdk-keyspaces.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -204,7 +205,18 @@ module Aws
|
|
204
205
|
}?
|
205
206
|
}?
|
206
207
|
},
|
207
|
-
]
|
208
|
+
],
|
209
|
+
?cdc_specification: {
|
210
|
+
status: ("ENABLED" | "ENABLING" | "DISABLED" | "DISABLING"),
|
211
|
+
view_type: ("NEW_IMAGE" | "OLD_IMAGE" | "KEYS_ONLY" | "NEW_AND_OLD_IMAGES")?,
|
212
|
+
tags: Array[
|
213
|
+
{
|
214
|
+
key: ::String,
|
215
|
+
value: ::String
|
216
|
+
},
|
217
|
+
]?,
|
218
|
+
propagate_tags: ("TABLE" | "NONE")?
|
219
|
+
}
|
208
220
|
) -> _CreateTableResponseSuccess
|
209
221
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
|
210
222
|
|
@@ -287,6 +299,8 @@ module Aws
|
|
287
299
|
def comment: () -> Types::Comment
|
288
300
|
def client_side_timestamps: () -> Types::ClientSideTimestamps
|
289
301
|
def replica_specifications: () -> ::Array[Types::ReplicaSpecificationSummary]
|
302
|
+
def latest_stream_arn: () -> ::String
|
303
|
+
def cdc_specification: () -> Types::CdcSpecificationSummary
|
290
304
|
end
|
291
305
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Keyspaces/Client.html#get_table-instance_method
|
292
306
|
def get_table: (
|
@@ -585,7 +599,18 @@ module Aws
|
|
585
599
|
}?
|
586
600
|
}?
|
587
601
|
},
|
588
|
-
]
|
602
|
+
],
|
603
|
+
?cdc_specification: {
|
604
|
+
status: ("ENABLED" | "ENABLING" | "DISABLED" | "DISABLING"),
|
605
|
+
view_type: ("NEW_IMAGE" | "OLD_IMAGE" | "KEYS_ONLY" | "NEW_AND_OLD_IMAGES")?,
|
606
|
+
tags: Array[
|
607
|
+
{
|
608
|
+
key: ::String,
|
609
|
+
value: ::String
|
610
|
+
},
|
611
|
+
]?,
|
612
|
+
propagate_tags: ("TABLE" | "NONE")?
|
613
|
+
}
|
589
614
|
) -> _UpdateTableResponseSuccess
|
590
615
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableResponseSuccess
|
591
616
|
end
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/types.rbs
CHANGED
@@ -47,6 +47,20 @@ module Aws::Keyspaces
|
|
47
47
|
SENSITIVE: []
|
48
48
|
end
|
49
49
|
|
50
|
+
class CdcSpecification
|
51
|
+
attr_accessor status: ("ENABLED" | "ENABLING" | "DISABLED" | "DISABLING")
|
52
|
+
attr_accessor view_type: ("NEW_IMAGE" | "OLD_IMAGE" | "KEYS_ONLY" | "NEW_AND_OLD_IMAGES")
|
53
|
+
attr_accessor tags: ::Array[Types::Tag]
|
54
|
+
attr_accessor propagate_tags: ("TABLE" | "NONE")
|
55
|
+
SENSITIVE: []
|
56
|
+
end
|
57
|
+
|
58
|
+
class CdcSpecificationSummary
|
59
|
+
attr_accessor status: ("ENABLED" | "ENABLING" | "DISABLED" | "DISABLING")
|
60
|
+
attr_accessor view_type: ("NEW_IMAGE" | "OLD_IMAGE" | "KEYS_ONLY" | "NEW_AND_OLD_IMAGES")
|
61
|
+
SENSITIVE: []
|
62
|
+
end
|
63
|
+
|
50
64
|
class ClientSideTimestamps
|
51
65
|
attr_accessor status: ("ENABLED")
|
52
66
|
SENSITIVE: []
|
@@ -100,6 +114,7 @@ module Aws::Keyspaces
|
|
100
114
|
attr_accessor client_side_timestamps: Types::ClientSideTimestamps
|
101
115
|
attr_accessor auto_scaling_specification: Types::AutoScalingSpecification
|
102
116
|
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecification]
|
117
|
+
attr_accessor cdc_specification: Types::CdcSpecification
|
103
118
|
SENSITIVE: []
|
104
119
|
end
|
105
120
|
|
@@ -212,6 +227,8 @@ module Aws::Keyspaces
|
|
212
227
|
attr_accessor comment: Types::Comment
|
213
228
|
attr_accessor client_side_timestamps: Types::ClientSideTimestamps
|
214
229
|
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecificationSummary]
|
230
|
+
attr_accessor latest_stream_arn: ::String
|
231
|
+
attr_accessor cdc_specification: Types::CdcSpecificationSummary
|
215
232
|
SENSITIVE: []
|
216
233
|
end
|
217
234
|
|
@@ -459,6 +476,7 @@ module Aws::Keyspaces
|
|
459
476
|
attr_accessor client_side_timestamps: Types::ClientSideTimestamps
|
460
477
|
attr_accessor auto_scaling_specification: Types::AutoScalingSpecification
|
461
478
|
attr_accessor replica_specifications: ::Array[Types::ReplicaSpecification]
|
479
|
+
attr_accessor cdc_specification: Types::CdcSpecification
|
462
480
|
SENSITIVE: []
|
463
481
|
end
|
464
482
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-keyspaces
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|