aws-sdk-dynamodbstreams 1.76.0 → 1.78.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-dynamodbstreams/client.rb +27 -9
- 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 +6 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +7 -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: 7fb321e403e03743315c2643359d44c2c9c96fe1b0f19e44205b4e990d7192a6
|
4
|
+
data.tar.gz: 9761c8cad267016b76ddf41463a84957a2f1f404677c9d4ee89bda1e39581be7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b30a690c5363e41b2950f1d8fdaa3ddc43f09159eb59bfe9e3ca57d0d09213e9565d47d66c0abc42cc21eac9e331d1a0b3b830fa4c873d8ffd739871ac0e7135
|
7
|
+
data.tar.gz: 793eb1b3e421989acfd71d88fbc992cc90514f9d5ea092bd49803309e585abf400b1f05cca67ad5f9a973e8bd99cf5b95a4cf39269c624996912ffd097453629
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.78.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.77.0 (2025-07-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added support for optional shard filter parameter in DescribeStream api that allows customers to fetch child shards of a read_only parent shard.
|
13
|
+
|
4
14
|
1.76.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.78.0
|
@@ -97,7 +97,7 @@ module Aws::DynamoDBStreams
|
|
97
97
|
# class name or an instance of a plugin class.
|
98
98
|
#
|
99
99
|
# @option options [required, Aws::CredentialProvider] :credentials
|
100
|
-
# Your AWS credentials. This can be an instance of any one of the
|
100
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
101
101
|
# following classes:
|
102
102
|
#
|
103
103
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -130,18 +130,23 @@ module Aws::DynamoDBStreams
|
|
130
130
|
# locations will be searched for credentials:
|
131
131
|
#
|
132
132
|
# * `Aws.config[:credentials]`
|
133
|
+
#
|
133
134
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
134
135
|
# `:account_id` options.
|
135
|
-
#
|
136
|
-
#
|
136
|
+
#
|
137
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
138
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
139
|
+
#
|
137
140
|
# * `~/.aws/credentials`
|
141
|
+
#
|
138
142
|
# * `~/.aws/config`
|
143
|
+
#
|
139
144
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
140
145
|
# are very aggressive. Construct and pass an instance of
|
141
146
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
142
147
|
# enable retries and extended timeouts. Instance profile credential
|
143
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
144
|
-
# to true
|
148
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
149
|
+
# to `true`.
|
145
150
|
#
|
146
151
|
# @option options [required, String] :region
|
147
152
|
# The AWS region to connect to. The configured `:region` is
|
@@ -169,6 +174,11 @@ module Aws::DynamoDBStreams
|
|
169
174
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
170
175
|
# not retry instead of sleeping.
|
171
176
|
#
|
177
|
+
# @option options [Array<String>] :auth_scheme_preference
|
178
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
179
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
180
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
181
|
+
#
|
172
182
|
# @option options [Boolean] :client_side_monitoring (false)
|
173
183
|
# When `true`, client-side metrics will be collected for all API requests from
|
174
184
|
# this client.
|
@@ -255,8 +265,8 @@ module Aws::DynamoDBStreams
|
|
255
265
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
256
266
|
#
|
257
267
|
# @option options [String] :profile ("default")
|
258
|
-
# Used when loading credentials from the shared credentials file
|
259
|
-
#
|
268
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
269
|
+
# When not specified, 'default' is used.
|
260
270
|
#
|
261
271
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
262
272
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -380,7 +390,7 @@ module Aws::DynamoDBStreams
|
|
380
390
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
381
391
|
#
|
382
392
|
# @option options [Aws::TokenProvider] :token_provider
|
383
|
-
#
|
393
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
384
394
|
# following classes:
|
385
395
|
#
|
386
396
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -509,6 +519,10 @@ module Aws::DynamoDBStreams
|
|
509
519
|
# the value that was returned for `LastEvaluatedShardId` in the previous
|
510
520
|
# operation.
|
511
521
|
#
|
522
|
+
# @option params [Types::ShardFilter] :shard_filter
|
523
|
+
# This optional field contains the filter definition for the
|
524
|
+
# `DescribeStream` API.
|
525
|
+
#
|
512
526
|
# @return [Types::DescribeStreamOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
513
527
|
#
|
514
528
|
# * {Types::DescribeStreamOutput#stream_description #stream_description} => Types::StreamDescription
|
@@ -582,6 +596,10 @@ module Aws::DynamoDBStreams
|
|
582
596
|
# stream_arn: "StreamArn", # required
|
583
597
|
# limit: 1,
|
584
598
|
# exclusive_start_shard_id: "ShardId",
|
599
|
+
# shard_filter: {
|
600
|
+
# type: "CHILD_SHARDS", # accepts CHILD_SHARDS
|
601
|
+
# shard_id: "ShardId",
|
602
|
+
# },
|
585
603
|
# })
|
586
604
|
#
|
587
605
|
# @example Response structure
|
@@ -937,7 +955,7 @@ module Aws::DynamoDBStreams
|
|
937
955
|
tracer: tracer
|
938
956
|
)
|
939
957
|
context[:gem_name] = 'aws-sdk-dynamodbstreams'
|
940
|
-
context[:gem_version] = '1.
|
958
|
+
context[:gem_version] = '1.78.0'
|
941
959
|
Seahorse::Client::Request.new(handlers, context)
|
942
960
|
end
|
943
961
|
|
@@ -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
@@ -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,
|
@@ -87,7 +88,11 @@ module Aws
|
|
87
88
|
def describe_stream: (
|
88
89
|
stream_arn: ::String,
|
89
90
|
?limit: ::Integer,
|
90
|
-
?exclusive_start_shard_id: ::String
|
91
|
+
?exclusive_start_shard_id: ::String,
|
92
|
+
?shard_filter: {
|
93
|
+
type: ("CHILD_SHARDS")?,
|
94
|
+
shard_id: ::String?
|
95
|
+
}
|
91
96
|
) -> _DescribeStreamResponseSuccess
|
92
97
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStreamResponseSuccess
|
93
98
|
|
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
@@ -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
|
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.
|
4
|
+
version: 1.78.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
|