aws-sdk-bedrockruntime 1.78.0 → 1.80.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-bedrockruntime/async_client.rb +6 -8
- data/lib/aws-sdk-bedrockruntime/client.rb +11 -13
- data/lib/aws-sdk-bedrockruntime.rb +1 -1
- data/sig/params.rbs +1 -1
- data/sig/types.rbs +2 -2
- 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: 763244b999635486db8fdbf419f5821213f4272feaab80bb3d04a2ebe2032bb3
|
|
4
|
+
data.tar.gz: de3a4e784bb5303e4abe7b64bed087d60a6e669aa47737ee7d9350cb6a8800d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2e1859baaa0a2f1dd284da72f8def4f4d8d148e5d8ac4e3f043e20899ae288a591f1f86e2afcf60f268900beb894600d35fa4c1e246fb132c4e7ee89f170aa4
|
|
7
|
+
data.tar.gz: 3993dbe642ca75d5faa34a3ff886167d25267ce25350590f689d82af96df9b9790df2dd54ea8ecfb1436e18c344879e4fa869d03d2c17c6f027ad8c148e280c7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.80.0 (2026-05-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Support system role in message
|
|
8
|
+
|
|
9
|
+
1.79.0 (2026-05-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adding new BDD representation of endpoint ruleset
|
|
13
|
+
|
|
4
14
|
1.78.0 (2026-05-20)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.80.0
|
|
@@ -170,7 +170,7 @@ module Aws::BedrockRuntime
|
|
|
170
170
|
# the required types.
|
|
171
171
|
#
|
|
172
172
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
173
|
-
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
173
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
|
|
174
174
|
# a clock skew correction and retry requests with skewed client clocks.
|
|
175
175
|
#
|
|
176
176
|
# @option options [String] :defaults_mode ("legacy")
|
|
@@ -285,17 +285,15 @@ module Aws::BedrockRuntime
|
|
|
285
285
|
# @option options [String] :retry_mode ("legacy")
|
|
286
286
|
# Specifies which retry algorithm to use. Values are:
|
|
287
287
|
#
|
|
288
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
289
|
-
# no retry mode is provided.
|
|
288
|
+
# * `legacy` - The pre-existing retry behavior. This is the default
|
|
289
|
+
# value if no retry mode is provided.
|
|
290
290
|
#
|
|
291
291
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
292
292
|
# This includes support for retry quotas, which limit the number of
|
|
293
293
|
# unsuccessful retries a client can make.
|
|
294
294
|
#
|
|
295
|
-
# * `adaptive` -
|
|
296
|
-
#
|
|
297
|
-
# throttling. This is a provisional mode that may change behavior
|
|
298
|
-
# in the future.
|
|
295
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
296
|
+
# `standard` mode along with automatic client side throttling.
|
|
299
297
|
#
|
|
300
298
|
# @option options [String] :sdk_ua_app_id
|
|
301
299
|
# A unique and opaque application ID that is appended to the
|
|
@@ -621,7 +619,7 @@ module Aws::BedrockRuntime
|
|
|
621
619
|
tracer: tracer
|
|
622
620
|
)
|
|
623
621
|
context[:gem_name] = 'aws-sdk-bedrockruntime'
|
|
624
|
-
context[:gem_version] = '1.
|
|
622
|
+
context[:gem_version] = '1.80.0'
|
|
625
623
|
Seahorse::Client::Request.new(handlers, context)
|
|
626
624
|
end
|
|
627
625
|
|
|
@@ -203,7 +203,7 @@ module Aws::BedrockRuntime
|
|
|
203
203
|
# the required types.
|
|
204
204
|
#
|
|
205
205
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
206
|
-
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
206
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
|
|
207
207
|
# a clock skew correction and retry requests with skewed client clocks.
|
|
208
208
|
#
|
|
209
209
|
# @option options [String] :defaults_mode ("legacy")
|
|
@@ -336,17 +336,15 @@ module Aws::BedrockRuntime
|
|
|
336
336
|
# @option options [String] :retry_mode ("legacy")
|
|
337
337
|
# Specifies which retry algorithm to use. Values are:
|
|
338
338
|
#
|
|
339
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
340
|
-
# no retry mode is provided.
|
|
339
|
+
# * `legacy` - The pre-existing retry behavior. This is the default
|
|
340
|
+
# value if no retry mode is provided.
|
|
341
341
|
#
|
|
342
342
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
343
343
|
# This includes support for retry quotas, which limit the number of
|
|
344
344
|
# unsuccessful retries a client can make.
|
|
345
345
|
#
|
|
346
|
-
# * `adaptive` -
|
|
347
|
-
#
|
|
348
|
-
# throttling. This is a provisional mode that may change behavior
|
|
349
|
-
# in the future.
|
|
346
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
347
|
+
# `standard` mode along with automatic client side throttling.
|
|
350
348
|
#
|
|
351
349
|
# @option options [String] :sdk_ua_app_id
|
|
352
350
|
# A unique and opaque application ID that is appended to the
|
|
@@ -944,7 +942,7 @@ module Aws::BedrockRuntime
|
|
|
944
942
|
# model_id: "ConversationalModelId", # required
|
|
945
943
|
# messages: [
|
|
946
944
|
# {
|
|
947
|
-
# role: "user", # required, accepts user, assistant
|
|
945
|
+
# role: "user", # required, accepts user, assistant, system
|
|
948
946
|
# content: [ # required
|
|
949
947
|
# {
|
|
950
948
|
# text: "String",
|
|
@@ -1259,7 +1257,7 @@ module Aws::BedrockRuntime
|
|
|
1259
1257
|
#
|
|
1260
1258
|
# @example Response structure
|
|
1261
1259
|
#
|
|
1262
|
-
# resp.output.message.role #=> String, one of "user", "assistant"
|
|
1260
|
+
# resp.output.message.role #=> String, one of "user", "assistant", "system"
|
|
1263
1261
|
# resp.output.message.content #=> Array
|
|
1264
1262
|
# resp.output.message.content[0].text #=> String
|
|
1265
1263
|
# resp.output.message.content[0].image.format #=> String, one of "png", "jpeg", "gif", "webp"
|
|
@@ -2092,7 +2090,7 @@ module Aws::BedrockRuntime
|
|
|
2092
2090
|
# model_id: "ConversationalModelId", # required
|
|
2093
2091
|
# messages: [
|
|
2094
2092
|
# {
|
|
2095
|
-
# role: "user", # required, accepts user, assistant
|
|
2093
|
+
# role: "user", # required, accepts user, assistant, system
|
|
2096
2094
|
# content: [ # required
|
|
2097
2095
|
# {
|
|
2098
2096
|
# text: "String",
|
|
@@ -2413,7 +2411,7 @@ module Aws::BedrockRuntime
|
|
|
2413
2411
|
# resp.stream.event_types #=> [:message_start, :content_block_start, :content_block_delta, :content_block_stop, :message_stop, :metadata, :internal_server_exception, :model_stream_error_exception, :validation_exception, :throttling_exception, :service_unavailable_exception]
|
|
2414
2412
|
#
|
|
2415
2413
|
# # For :message_start event available at #on_message_start_event callback and response eventstream enumerator:
|
|
2416
|
-
# event.role #=> String, one of "user", "assistant"
|
|
2414
|
+
# event.role #=> String, one of "user", "assistant", "system"
|
|
2417
2415
|
#
|
|
2418
2416
|
# # For :content_block_start event available at #on_content_block_start_event callback and response eventstream enumerator:
|
|
2419
2417
|
# event.start.tool_use.tool_use_id #=> String
|
|
@@ -2926,7 +2924,7 @@ module Aws::BedrockRuntime
|
|
|
2926
2924
|
# converse: {
|
|
2927
2925
|
# messages: [
|
|
2928
2926
|
# {
|
|
2929
|
-
# role: "user", # required, accepts user, assistant
|
|
2927
|
+
# role: "user", # required, accepts user, assistant, system
|
|
2930
2928
|
# content: [ # required
|
|
2931
2929
|
# {
|
|
2932
2930
|
# text: "String",
|
|
@@ -3934,7 +3932,7 @@ module Aws::BedrockRuntime
|
|
|
3934
3932
|
tracer: tracer
|
|
3935
3933
|
)
|
|
3936
3934
|
context[:gem_name] = 'aws-sdk-bedrockruntime'
|
|
3937
|
-
context[:gem_version] = '1.
|
|
3935
|
+
context[:gem_version] = '1.80.0'
|
|
3938
3936
|
Seahorse::Client::Request.new(handlers, context)
|
|
3939
3937
|
end
|
|
3940
3938
|
|
data/sig/params.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -1010,13 +1010,13 @@ module Aws::BedrockRuntime
|
|
|
1010
1010
|
end
|
|
1011
1011
|
|
|
1012
1012
|
class Message
|
|
1013
|
-
attr_accessor role: ("user" | "assistant")
|
|
1013
|
+
attr_accessor role: ("user" | "assistant" | "system")
|
|
1014
1014
|
attr_accessor content: ::Array[Types::ContentBlock]
|
|
1015
1015
|
SENSITIVE: []
|
|
1016
1016
|
end
|
|
1017
1017
|
|
|
1018
1018
|
class MessageStartEvent
|
|
1019
|
-
attr_accessor role: ("user" | "assistant")
|
|
1019
|
+
attr_accessor role: ("user" | "assistant" | "system")
|
|
1020
1020
|
attr_accessor event_type: untyped
|
|
1021
1021
|
SENSITIVE: []
|
|
1022
1022
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-bedrockruntime
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.80.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.248.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.248.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|