aws-sdk-keyspacesstreams 1.17.0 → 1.18.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-keyspacesstreams/client.rb +3 -1
- data/lib/aws-sdk-keyspacesstreams/client_api.rb +6 -0
- data/lib/aws-sdk-keyspacesstreams/types.rb +31 -1
- data/lib/aws-sdk-keyspacesstreams.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/types.rbs +6 -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: 4ceb604f390bfa96584f5883524d1b7793bda1d39016896fc20bb34983359202
|
|
4
|
+
data.tar.gz: efc9238a1922e1f6f0cb3f1ce61cfa452bba6370e35a744a47f995f57f46129f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab4df0a2316ac33f8afa5e5f1063873e9f460cc43acd6155435d4128413e3abcd058a5107a1a9256bbab9d0bf56149b9d04c8ca268a60a98173f15a326ec2ed8
|
|
7
|
+
data.tar.gz: e5b33ad6adbfd6b18faabff22156e4727bab8c6b6db91ea82dee581c3581d1a3464ce1c4e0e746815dfc4589e0cbbe476f45be0801983142e3a27acdee9fe16e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.18.0 (2026-06-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added iterator description to the GetRecords API response for Amazon Keyspaces Change Data Capture (CDC) streams, enabling consumers to track their current position within the stream.
|
|
8
|
+
|
|
4
9
|
1.17.0 (2026-05-26)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.18.0
|
|
@@ -506,6 +506,7 @@ module Aws::KeyspacesStreams
|
|
|
506
506
|
#
|
|
507
507
|
# * {Types::GetRecordsOutput#change_records #change_records} => Array<Types::Record>
|
|
508
508
|
# * {Types::GetRecordsOutput#next_shard_iterator #next_shard_iterator} => String
|
|
509
|
+
# * {Types::GetRecordsOutput#iterator_description #iterator_description} => Types::IteratorDescription
|
|
509
510
|
#
|
|
510
511
|
# @example Request syntax with placeholder values
|
|
511
512
|
#
|
|
@@ -760,6 +761,7 @@ module Aws::KeyspacesStreams
|
|
|
760
761
|
# resp.change_records[0].old_image.row_metadata.write_time #=> String
|
|
761
762
|
# resp.change_records[0].sequence_number #=> String
|
|
762
763
|
# resp.next_shard_iterator #=> String
|
|
764
|
+
# resp.iterator_description.iterator_position #=> String, one of "AT_TIP", "BEHIND_TIP"
|
|
763
765
|
#
|
|
764
766
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspacesstreams-2024-09-09/GetRecords AWS API Documentation
|
|
765
767
|
#
|
|
@@ -993,7 +995,7 @@ module Aws::KeyspacesStreams
|
|
|
993
995
|
tracer: tracer
|
|
994
996
|
)
|
|
995
997
|
context[:gem_name] = 'aws-sdk-keyspacesstreams'
|
|
996
|
-
context[:gem_version] = '1.
|
|
998
|
+
context[:gem_version] = '1.18.0'
|
|
997
999
|
Seahorse::Client::Request.new(handlers, context)
|
|
998
1000
|
end
|
|
999
1001
|
|
|
@@ -27,6 +27,8 @@ module Aws::KeyspacesStreams
|
|
|
27
27
|
GetStreamInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'GetStreamInputMaxResultsInteger')
|
|
28
28
|
GetStreamOutput = Shapes::StructureShape.new(name: 'GetStreamOutput')
|
|
29
29
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
30
|
+
IteratorDescription = Shapes::StructureShape.new(name: 'IteratorDescription')
|
|
31
|
+
IteratorPosition = Shapes::StringShape.new(name: 'IteratorPosition')
|
|
30
32
|
KeyspaceName = Shapes::StringShape.new(name: 'KeyspaceName')
|
|
31
33
|
KeyspacesCell = Shapes::StructureShape.new(name: 'KeyspacesCell')
|
|
32
34
|
KeyspacesCellList = Shapes::ListShape.new(name: 'KeyspacesCellList')
|
|
@@ -77,6 +79,7 @@ module Aws::KeyspacesStreams
|
|
|
77
79
|
|
|
78
80
|
GetRecordsOutput.add_member(:change_records, Shapes::ShapeRef.new(shape: RecordList, location_name: "changeRecords"))
|
|
79
81
|
GetRecordsOutput.add_member(:next_shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, location_name: "nextShardIterator"))
|
|
82
|
+
GetRecordsOutput.add_member(:iterator_description, Shapes::ShapeRef.new(shape: IteratorDescription, location_name: "iteratorDescription"))
|
|
80
83
|
GetRecordsOutput.struct_class = Types::GetRecordsOutput
|
|
81
84
|
|
|
82
85
|
GetShardIteratorInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, required: true, location_name: "streamArn"))
|
|
@@ -108,6 +111,9 @@ module Aws::KeyspacesStreams
|
|
|
108
111
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
109
112
|
InternalServerException.struct_class = Types::InternalServerException
|
|
110
113
|
|
|
114
|
+
IteratorDescription.add_member(:iterator_position, Shapes::ShapeRef.new(shape: IteratorPosition, location_name: "iteratorPosition"))
|
|
115
|
+
IteratorDescription.struct_class = Types::IteratorDescription
|
|
116
|
+
|
|
111
117
|
KeyspacesCell.add_member(:value, Shapes::ShapeRef.new(shape: KeyspacesCellValue, location_name: "value"))
|
|
112
118
|
KeyspacesCell.add_member(:metadata, Shapes::ShapeRef.new(shape: KeyspacesMetadata, location_name: "metadata"))
|
|
113
119
|
KeyspacesCell.struct_class = Types::KeyspacesCell
|
|
@@ -69,11 +69,17 @@ module Aws::KeyspacesStreams
|
|
|
69
69
|
# requested iterator will not return any more data.
|
|
70
70
|
# @return [String]
|
|
71
71
|
#
|
|
72
|
+
# @!attribute [rw] iterator_description
|
|
73
|
+
# Provides information about the current iterator at the time
|
|
74
|
+
# GetRecords request was processed by Keyspaces.
|
|
75
|
+
# @return [Types::IteratorDescription]
|
|
76
|
+
#
|
|
72
77
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspacesstreams-2024-09-09/GetRecordsOutput AWS API Documentation
|
|
73
78
|
#
|
|
74
79
|
class GetRecordsOutput < Struct.new(
|
|
75
80
|
:change_records,
|
|
76
|
-
:next_shard_iterator
|
|
81
|
+
:next_shard_iterator,
|
|
82
|
+
:iterator_description)
|
|
77
83
|
SENSITIVE = []
|
|
78
84
|
include Aws::Structure
|
|
79
85
|
end
|
|
@@ -275,6 +281,30 @@ module Aws::KeyspacesStreams
|
|
|
275
281
|
include Aws::Structure
|
|
276
282
|
end
|
|
277
283
|
|
|
284
|
+
# Provides information about the current iterator.
|
|
285
|
+
#
|
|
286
|
+
# @!attribute [rw] iterator_position
|
|
287
|
+
# Indicates the current iterator's position within the shard. The
|
|
288
|
+
# possible values are:
|
|
289
|
+
#
|
|
290
|
+
# * `AT_TIP` - No more records are currently available.
|
|
291
|
+
#
|
|
292
|
+
# * `BEHIND_TIP` - Additional records may be available.
|
|
293
|
+
#
|
|
294
|
+
# Stream progresses in absence of customer records. `BEHIND_TIP` with
|
|
295
|
+
# an empty `changeRecords` list indicates the stream is progressing
|
|
296
|
+
# but no customer records are available at this position. Continue
|
|
297
|
+
# polling normally.
|
|
298
|
+
# @return [String]
|
|
299
|
+
#
|
|
300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspacesstreams-2024-09-09/IteratorDescription AWS API Documentation
|
|
301
|
+
#
|
|
302
|
+
class IteratorDescription < Struct.new(
|
|
303
|
+
:iterator_position)
|
|
304
|
+
SENSITIVE = []
|
|
305
|
+
include Aws::Structure
|
|
306
|
+
end
|
|
307
|
+
|
|
278
308
|
# Represents a cell in an Amazon Keyspaces table, containing both the
|
|
279
309
|
# value and metadata about the cell.
|
|
280
310
|
#
|
data/sig/client.rbs
CHANGED
|
@@ -83,6 +83,7 @@ module Aws
|
|
|
83
83
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetRecordsOutput]
|
|
84
84
|
def change_records: () -> ::Array[Types::Record]
|
|
85
85
|
def next_shard_iterator: () -> ::String
|
|
86
|
+
def iterator_description: () -> Types::IteratorDescription
|
|
86
87
|
end
|
|
87
88
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KeyspacesStreams/Client.html#get_records-instance_method
|
|
88
89
|
def get_records: (
|
data/sig/types.rbs
CHANGED
|
@@ -22,6 +22,7 @@ module Aws::KeyspacesStreams
|
|
|
22
22
|
class GetRecordsOutput
|
|
23
23
|
attr_accessor change_records: ::Array[Types::Record]
|
|
24
24
|
attr_accessor next_shard_iterator: ::String
|
|
25
|
+
attr_accessor iterator_description: Types::IteratorDescription
|
|
25
26
|
SENSITIVE: []
|
|
26
27
|
end
|
|
27
28
|
|
|
@@ -64,6 +65,11 @@ module Aws::KeyspacesStreams
|
|
|
64
65
|
SENSITIVE: []
|
|
65
66
|
end
|
|
66
67
|
|
|
68
|
+
class IteratorDescription
|
|
69
|
+
attr_accessor iterator_position: ("AT_TIP" | "BEHIND_TIP")
|
|
70
|
+
SENSITIVE: []
|
|
71
|
+
end
|
|
72
|
+
|
|
67
73
|
class KeyspacesCell
|
|
68
74
|
attr_accessor value: Types::KeyspacesCellValue
|
|
69
75
|
attr_accessor metadata: Types::KeyspacesMetadata
|