aws-sdk-dynamodbstreams 1.76.0 → 1.77.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-dynamodbstreams/client.rb +9 -1
- data/lib/aws-sdk-dynamodbstreams/client_api.rb +7 -0
- data/lib/aws-sdk-dynamodbstreams/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-dynamodbstreams/types.rb +34 -3
- data/lib/aws-sdk-dynamodbstreams.rb +1 -1
- data/sig/client.rbs +5 -1
- data/sig/types.rbs +7 -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: 4d9e87f95d158f05effb10c572393b94524b34804c01f6e39d96e91de8409ada
|
4
|
+
data.tar.gz: 9d899c5ac028f0653a1f21046a2008e700878612f082063538d6b8f20c13b1f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0595a44ffae71394ea1619e5b13b8ce79631e18655a6ec89a87aadf0dfbdb5b186313c61d4639d026a7a0c7d920d5780c72f77cb20edbd2f8cd99dfee0611f3a'
|
7
|
+
data.tar.gz: cb9248cf4ee1f5a14071a786affaf1879bdfea0dc3038ebc79228fb47a36a81e1875bdc5faeeb99d15861ef99704cdb9dc33de70e8c243bc3645f71b4b81c1c8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.77.0 (2025-07-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for optional shard filter parameter in DescribeStream api that allows customers to fetch child shards of a read_only parent shard.
|
8
|
+
|
4
9
|
1.76.0 (2025-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
@@ -509,6 +509,10 @@ module Aws::DynamoDBStreams
|
|
509
509
|
# the value that was returned for `LastEvaluatedShardId` in the previous
|
510
510
|
# operation.
|
511
511
|
#
|
512
|
+
# @option params [Types::ShardFilter] :shard_filter
|
513
|
+
# This optional field contains the filter definition for the
|
514
|
+
# `DescribeStream` API.
|
515
|
+
#
|
512
516
|
# @return [Types::DescribeStreamOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
513
517
|
#
|
514
518
|
# * {Types::DescribeStreamOutput#stream_description #stream_description} => Types::StreamDescription
|
@@ -582,6 +586,10 @@ module Aws::DynamoDBStreams
|
|
582
586
|
# stream_arn: "StreamArn", # required
|
583
587
|
# limit: 1,
|
584
588
|
# exclusive_start_shard_id: "ShardId",
|
589
|
+
# shard_filter: {
|
590
|
+
# type: "CHILD_SHARDS", # accepts CHILD_SHARDS
|
591
|
+
# shard_id: "ShardId",
|
592
|
+
# },
|
585
593
|
# })
|
586
594
|
#
|
587
595
|
# @example Response structure
|
@@ -937,7 +945,7 @@ module Aws::DynamoDBStreams
|
|
937
945
|
tracer: tracer
|
938
946
|
)
|
939
947
|
context[:gem_name] = 'aws-sdk-dynamodbstreams'
|
940
|
-
context[:gem_version] = '1.
|
948
|
+
context[:gem_version] = '1.77.0'
|
941
949
|
Seahorse::Client::Request.new(handlers, context)
|
942
950
|
end
|
943
951
|
|
@@ -53,6 +53,8 @@ module Aws::DynamoDBStreams
|
|
53
53
|
SequenceNumberRange = Shapes::StructureShape.new(name: 'SequenceNumberRange')
|
54
54
|
Shard = Shapes::StructureShape.new(name: 'Shard')
|
55
55
|
ShardDescriptionList = Shapes::ListShape.new(name: 'ShardDescriptionList')
|
56
|
+
ShardFilter = Shapes::StructureShape.new(name: 'ShardFilter')
|
57
|
+
ShardFilterType = Shapes::StringShape.new(name: 'ShardFilterType')
|
56
58
|
ShardId = Shapes::StringShape.new(name: 'ShardId')
|
57
59
|
ShardIterator = Shapes::StringShape.new(name: 'ShardIterator')
|
58
60
|
ShardIteratorType = Shapes::StringShape.new(name: 'ShardIteratorType')
|
@@ -89,6 +91,7 @@ module Aws::DynamoDBStreams
|
|
89
91
|
DescribeStreamInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, required: true, location_name: "StreamArn"))
|
90
92
|
DescribeStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntegerObject, location_name: "Limit"))
|
91
93
|
DescribeStreamInput.add_member(:exclusive_start_shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ExclusiveStartShardId"))
|
94
|
+
DescribeStreamInput.add_member(:shard_filter, Shapes::ShapeRef.new(shape: ShardFilter, location_name: "ShardFilter"))
|
92
95
|
DescribeStreamInput.struct_class = Types::DescribeStreamInput
|
93
96
|
|
94
97
|
DescribeStreamOutput.add_member(:stream_description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "StreamDescription"))
|
@@ -171,6 +174,10 @@ module Aws::DynamoDBStreams
|
|
171
174
|
|
172
175
|
ShardDescriptionList.member = Shapes::ShapeRef.new(shape: Shard)
|
173
176
|
|
177
|
+
ShardFilter.add_member(:type, Shapes::ShapeRef.new(shape: ShardFilterType, location_name: "Type"))
|
178
|
+
ShardFilter.add_member(:shard_id, Shapes::ShapeRef.new(shape: ShardId, location_name: "ShardId"))
|
179
|
+
ShardFilter.struct_class = Types::ShardFilter
|
180
|
+
|
174
181
|
Stream.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "StreamArn"))
|
175
182
|
Stream.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
176
183
|
Stream.add_member(:stream_label, Shapes::ShapeRef.new(shape: String, location_name: "StreamLabel"))
|
@@ -28,8 +28,8 @@ module Aws::DynamoDBStreams
|
|
28
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
29
29
|
end
|
30
30
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
31
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
32
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
31
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
32
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
33
33
|
return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
|
34
34
|
end
|
35
35
|
return Aws::Endpoints::Endpoint.new(url: "https://streams.dynamodb-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -126,12 +126,18 @@ module Aws::DynamoDBStreams
|
|
126
126
|
# previous operation.
|
127
127
|
# @return [String]
|
128
128
|
#
|
129
|
+
# @!attribute [rw] shard_filter
|
130
|
+
# This optional field contains the filter definition for the
|
131
|
+
# `DescribeStream` API.
|
132
|
+
# @return [Types::ShardFilter]
|
133
|
+
#
|
129
134
|
# @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/DescribeStreamInput AWS API Documentation
|
130
135
|
#
|
131
136
|
class DescribeStreamInput < Struct.new(
|
132
137
|
:stream_arn,
|
133
138
|
:limit,
|
134
|
-
:exclusive_start_shard_id
|
139
|
+
:exclusive_start_shard_id,
|
140
|
+
:shard_filter)
|
135
141
|
SENSITIVE = []
|
136
142
|
include Aws::Structure
|
137
143
|
end
|
@@ -585,6 +591,31 @@ module Aws::DynamoDBStreams
|
|
585
591
|
include Aws::Structure
|
586
592
|
end
|
587
593
|
|
594
|
+
# This optional field contains the filter definition for the
|
595
|
+
# `DescribeStream` API.
|
596
|
+
#
|
597
|
+
# @!attribute [rw] type
|
598
|
+
# Contains the type of filter to be applied on the `DescribeStream`
|
599
|
+
# API. Currently, the only value this parameter accepts is
|
600
|
+
# `CHILD_SHARDS`.
|
601
|
+
# @return [String]
|
602
|
+
#
|
603
|
+
# @!attribute [rw] shard_id
|
604
|
+
# Contains the `shardId` of the parent shard for which you are
|
605
|
+
# requesting child shards.
|
606
|
+
#
|
607
|
+
# *Sample request:*
|
608
|
+
# @return [String]
|
609
|
+
#
|
610
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/ShardFilter AWS API Documentation
|
611
|
+
#
|
612
|
+
class ShardFilter < Struct.new(
|
613
|
+
:type,
|
614
|
+
:shard_id)
|
615
|
+
SENSITIVE = []
|
616
|
+
include Aws::Structure
|
617
|
+
end
|
618
|
+
|
588
619
|
# Represents all of the data describing a particular stream.
|
589
620
|
#
|
590
621
|
# @!attribute [rw] stream_arn
|
@@ -723,11 +754,11 @@ module Aws::DynamoDBStreams
|
|
723
754
|
#
|
724
755
|
# @!attribute [rw] approximate_creation_date_time
|
725
756
|
# The approximate date and time when the stream record was created, in
|
726
|
-
# [
|
757
|
+
# [ISO 8601][1] format and rounded down to the closest second.
|
727
758
|
#
|
728
759
|
#
|
729
760
|
#
|
730
|
-
# [1]:
|
761
|
+
# [1]: https://www.iso.org/iso-8601-date-and-time-format.html
|
731
762
|
# @return [Time]
|
732
763
|
#
|
733
764
|
# @!attribute [rw] keys
|
data/sig/client.rbs
CHANGED
@@ -87,7 +87,11 @@ module Aws
|
|
87
87
|
def describe_stream: (
|
88
88
|
stream_arn: ::String,
|
89
89
|
?limit: ::Integer,
|
90
|
-
?exclusive_start_shard_id: ::String
|
90
|
+
?exclusive_start_shard_id: ::String,
|
91
|
+
?shard_filter: {
|
92
|
+
type: ("CHILD_SHARDS")?,
|
93
|
+
shard_id: ::String?
|
94
|
+
}
|
91
95
|
) -> _DescribeStreamResponseSuccess
|
92
96
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStreamResponseSuccess
|
93
97
|
|
data/sig/types.rbs
CHANGED
@@ -26,6 +26,7 @@ module Aws::DynamoDBStreams
|
|
26
26
|
attr_accessor stream_arn: ::String
|
27
27
|
attr_accessor limit: ::Integer
|
28
28
|
attr_accessor exclusive_start_shard_id: ::String
|
29
|
+
attr_accessor shard_filter: Types::ShardFilter
|
29
30
|
SENSITIVE: []
|
30
31
|
end
|
31
32
|
|
@@ -128,6 +129,12 @@ module Aws::DynamoDBStreams
|
|
128
129
|
SENSITIVE: []
|
129
130
|
end
|
130
131
|
|
132
|
+
class ShardFilter
|
133
|
+
attr_accessor type: ("CHILD_SHARDS")
|
134
|
+
attr_accessor shard_id: ::String
|
135
|
+
SENSITIVE: []
|
136
|
+
end
|
137
|
+
|
131
138
|
class Stream
|
132
139
|
attr_accessor stream_arn: ::String
|
133
140
|
attr_accessor table_name: ::String
|