aws-sdk-dynamodbstreams 1.95.0 → 1.97.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: 2462f7bd0322144979428edb64720aa7bdcafe34a34f1d01399803020a3320d2
4
- data.tar.gz: 68d50367d0086441addab179c7f2c89bcb8a576220f818e613224b0f30754a6c
3
+ metadata.gz: 5adb35a1cbf040becd7bce5f39e0295a6930cb3ebe48d6a60cdc5e342cb16a7a
4
+ data.tar.gz: 94b94dbe14fe5a3276327f389c9982441a46d5959eac64fe8e30d7b0db4c0536
5
5
  SHA512:
6
- metadata.gz: 85e5169e8f2fbfaeee81cfed29caaaadcf228ca1d6705544609c45d151a88e5eaa99a6f295b1df66f79e5b7654c34e343107d86c29e2f135e822416190c9fe55
7
- data.tar.gz: 91cf50b19887982c74d4272f84bb632d42c9e221f03667094425edd3a29eea30a8890dd90b8e5f64035332ac92974e184713b1b20270f1d4edd0272549f663e7
6
+ metadata.gz: 489e5e33b71cad8e43010740da1b0dcaff4003836f4ae79dc4e64902f327aba7394cd67da8a09bd9d6c856162a5892cb97fa3e376827ad745e89431ddeac3717
7
+ data.tar.gz: b327510b12450af6d7dcf8ee7145ebd495756fe0ea99f26f3c638f92c09d4452a86b42f192276099035ab3f69be6aefe5212176cfe824139734a4ac2391788b6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.97.0 (2026-10-14)
5
+ ------------------
6
+
7
+ * Feature - Add support for a new iterator type (AT TIMESTAMP) for DynamoDB Streams GetShardIterator API that allows reading from a specific point in time from the stream.
8
+
9
+ 1.96.0 (2026-09-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.95.0 (2026-09-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.95.0
1
+ 1.97.0
@@ -807,10 +807,25 @@ module Aws::DynamoDBStreams
807
807
  # the shard, so that you always read the most recent data in the
808
808
  # shard.
809
809
  #
810
+ # * `AT_TIMESTAMP` - Start reading from the position denoted by a
811
+ # specific timestamp, provided in the parameter `Timestamp`.
812
+ #
810
813
  # @option params [String] :sequence_number
811
814
  # The sequence number of a stream record in the shard from which to
812
815
  # start reading.
813
816
  #
817
+ # @option params [Time,DateTime,Date,Integer,String] :timestamp
818
+ # The timestamp of the stream record from which to start reading. Used
819
+ # with shard iterator type `AT_TIMESTAMP`. A timestamp is the Unix epoch
820
+ # date with precision in milliseconds. For example, `1791316726.480`.
821
+ # The iterator points to the first stream record whose
822
+ # `ApproximateCreationDateTime` is at or after the specified timestamp.
823
+ # If no record with that exact timestamp exists, the iterator points to
824
+ # the next (later) record. If the timestamp is older than the current
825
+ # trim horizon, the iterator points to the oldest untrimmed stream
826
+ # record (`TRIM_HORIZON`). If the timestamp is in the future, the
827
+ # request returns a `ValidationException`.
828
+ #
814
829
  # @return [Types::GetShardIteratorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
815
830
  #
816
831
  # * {Types::GetShardIteratorOutput#shard_iterator #shard_iterator} => String
@@ -836,8 +851,9 @@ module Aws::DynamoDBStreams
836
851
  # resp = client.get_shard_iterator({
837
852
  # stream_arn: "StreamArn", # required
838
853
  # shard_id: "ShardId", # required
839
- # shard_iterator_type: "TRIM_HORIZON", # required, accepts TRIM_HORIZON, LATEST, AT_SEQUENCE_NUMBER, AFTER_SEQUENCE_NUMBER
854
+ # shard_iterator_type: "TRIM_HORIZON", # required, accepts TRIM_HORIZON, LATEST, AT_SEQUENCE_NUMBER, AFTER_SEQUENCE_NUMBER, AT_TIMESTAMP
840
855
  # sequence_number: "SequenceNumber",
856
+ # timestamp: Time.now,
841
857
  # })
842
858
  #
843
859
  # @example Response structure
@@ -950,7 +966,7 @@ module Aws::DynamoDBStreams
950
966
  tracer: tracer
951
967
  )
952
968
  context[:gem_name] = 'aws-sdk-dynamodbstreams'
953
- context[:gem_version] = '1.95.0'
969
+ context[:gem_version] = '1.97.0'
954
970
  Seahorse::Client::Request.new(handlers, context)
955
971
  end
956
972
 
@@ -69,6 +69,7 @@ module Aws::DynamoDBStreams
69
69
  StringAttributeValue = Shapes::StringShape.new(name: 'StringAttributeValue')
70
70
  StringSetAttributeValue = Shapes::ListShape.new(name: 'StringSetAttributeValue')
71
71
  TableName = Shapes::StringShape.new(name: 'TableName')
72
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
72
73
  TrimmedDataAccessException = Shapes::StructureShape.new(name: 'TrimmedDataAccessException')
73
74
 
74
75
  AttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
@@ -112,6 +113,7 @@ module Aws::DynamoDBStreams
112
113
  GetShardIteratorInput.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, required: true, location_name: "ShardId"))
113
114
  GetShardIteratorInput.add_member(:shard_iterator_type, Shapes::ShapeRef.new(shape: ShardIteratorType, required: true, location_name: "ShardIteratorType"))
114
115
  GetShardIteratorInput.add_member(:sequence_number, Shapes::ShapeRef.new(shape: SequenceNumber, location_name: "SequenceNumber"))
116
+ GetShardIteratorInput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
115
117
  GetShardIteratorInput.struct_class = Types::GetShardIteratorInput
116
118
 
117
119
  GetShardIteratorOutput.add_member(:shard_iterator, Shapes::ShapeRef.new(shape: ShardIterator, location_name: "ShardIterator"))
@@ -249,6 +249,9 @@ module Aws::DynamoDBStreams
249
249
  # * `LATEST` - Start reading just after the most recent stream record
250
250
  # in the shard, so that you always read the most recent data in the
251
251
  # shard.
252
+ #
253
+ # * `AT_TIMESTAMP` - Start reading from the position denoted by a
254
+ # specific timestamp, provided in the parameter `Timestamp`.
252
255
  # @return [String]
253
256
  #
254
257
  # @!attribute [rw] sequence_number
@@ -256,13 +259,27 @@ module Aws::DynamoDBStreams
256
259
  # start reading.
257
260
  # @return [String]
258
261
  #
262
+ # @!attribute [rw] timestamp
263
+ # The timestamp of the stream record from which to start reading. Used
264
+ # with shard iterator type `AT_TIMESTAMP`. A timestamp is the Unix
265
+ # epoch date with precision in milliseconds. For example,
266
+ # `1791316726.480`. The iterator points to the first stream record
267
+ # whose `ApproximateCreationDateTime` is at or after the specified
268
+ # timestamp. If no record with that exact timestamp exists, the
269
+ # iterator points to the next (later) record. If the timestamp is
270
+ # older than the current trim horizon, the iterator points to the
271
+ # oldest untrimmed stream record (`TRIM_HORIZON`). If the timestamp is
272
+ # in the future, the request returns a `ValidationException`.
273
+ # @return [Time]
274
+ #
259
275
  # @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/GetShardIteratorInput AWS API Documentation
260
276
  #
261
277
  class GetShardIteratorInput < Struct.new(
262
278
  :stream_arn,
263
279
  :shard_id,
264
280
  :shard_iterator_type,
265
- :sequence_number)
281
+ :sequence_number,
282
+ :timestamp)
266
283
  SENSITIVE = []
267
284
  include Aws::Structure
268
285
  end
@@ -754,11 +771,14 @@ module Aws::DynamoDBStreams
754
771
  #
755
772
  # @!attribute [rw] approximate_creation_date_time
756
773
  # The approximate date and time when the stream record was created, in
757
- # [ISO 8601][1] format and rounded down to the closest second.
774
+ # [UNIX epoch time][1] format and rounded down to the closest second.
775
+ # Some tools and SDKs may convert this value to a different format,
776
+ # such as [ISO 8601][2].
758
777
  #
759
778
  #
760
779
  #
761
- # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
780
+ # [1]: http://www.epochconverter.com/
781
+ # [2]: https://www.iso.org/iso-8601-date-and-time-format.html
762
782
  # @return [Time]
763
783
  #
764
784
  # @!attribute [rw] keys
@@ -54,7 +54,7 @@ module Aws::DynamoDBStreams
54
54
  autoload :EndpointProvider, 'aws-sdk-dynamodbstreams/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-dynamodbstreams/endpoints'
56
56
 
57
- GEM_VERSION = '1.95.0'
57
+ GEM_VERSION = '1.97.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -116,8 +116,9 @@ module Aws
116
116
  def get_shard_iterator: (
117
117
  stream_arn: ::String,
118
118
  shard_id: ::String,
119
- shard_iterator_type: ("TRIM_HORIZON" | "LATEST" | "AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER"),
120
- ?sequence_number: ::String
119
+ shard_iterator_type: ("TRIM_HORIZON" | "LATEST" | "AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER" | "AT_TIMESTAMP"),
120
+ ?sequence_number: ::String,
121
+ ?timestamp: ::Time
121
122
  ) -> _GetShardIteratorResponseSuccess
122
123
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetShardIteratorResponseSuccess
123
124
 
data/sig/types.rbs CHANGED
@@ -55,8 +55,9 @@ module Aws::DynamoDBStreams
55
55
  class GetShardIteratorInput
56
56
  attr_accessor stream_arn: ::String
57
57
  attr_accessor shard_id: ::String
58
- attr_accessor shard_iterator_type: ("TRIM_HORIZON" | "LATEST" | "AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER")
58
+ attr_accessor shard_iterator_type: ("TRIM_HORIZON" | "LATEST" | "AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER" | "AT_TIMESTAMP")
59
59
  attr_accessor sequence_number: ::String
60
+ attr_accessor timestamp: ::Time
60
61
  SENSITIVE: []
61
62
  end
62
63
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodbstreams
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.95.0
4
+ version: 1.97.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.255.0
21
+ version: 3.256.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.255.0
31
+ version: 3.256.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement