aws-sdk-bedrockruntime 1.59.0 → 1.60.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-bedrockruntime/async_client.rb +1 -1
- data/lib/aws-sdk-bedrockruntime/client.rb +3 -3
- data/lib/aws-sdk-bedrockruntime/client_api.rb +1 -0
- data/lib/aws-sdk-bedrockruntime.rb +1 -1
- data/sig/client.rbs +1 -1
- data/sig/types.rbs +2 -2
- 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: 8f63afaf6931610d6e1bc78190c8387a6449349720bf7c243e7b783824d43fb5
|
4
|
+
data.tar.gz: 710a0d8fc7f2ae6b70704a4c203028f48ea622f341fc67eb9d6cc8a501b522b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef0db2cce4bcaeb9f2f01ff09d211be737752007b65be63696b1681d56e5ade78b96b13ba750076af2dedbeaff64bfd56e0c4eab5ab7da07f7cf473ccd54ea69
|
7
|
+
data.tar.gz: ec267468b0e5ede8759478b0ca3592b7c19fe8b00071d7ac07c1bc61ac3cd4eb4ad2527a043424a7e98e2b583f6941334b2e87f040a18f2eaf9646e2f7796f81
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
@@ -1237,7 +1237,7 @@ module Aws::BedrockRuntime
|
|
1237
1237
|
# resp.output.message.content[0].citations_content.citations[0].location.document_chunk.document_index #=> Integer
|
1238
1238
|
# resp.output.message.content[0].citations_content.citations[0].location.document_chunk.start #=> Integer
|
1239
1239
|
# resp.output.message.content[0].citations_content.citations[0].location.document_chunk.end #=> Integer
|
1240
|
-
# resp.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered"
|
1240
|
+
# resp.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered", "model_context_window_exceeded"
|
1241
1241
|
# resp.usage.input_tokens #=> Integer
|
1242
1242
|
# resp.usage.output_tokens #=> Integer
|
1243
1243
|
# resp.usage.total_tokens #=> Integer
|
@@ -2227,7 +2227,7 @@ module Aws::BedrockRuntime
|
|
2227
2227
|
# event.content_block_index #=> Integer
|
2228
2228
|
#
|
2229
2229
|
# # For :message_stop event available at #on_message_stop_event callback and response eventstream enumerator:
|
2230
|
-
# event.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered"
|
2230
|
+
# event.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered", "model_context_window_exceeded"
|
2231
2231
|
#
|
2232
2232
|
# # For :metadata event available at #on_metadata_event callback and response eventstream enumerator:
|
2233
2233
|
# event.usage.input_tokens #=> Integer
|
@@ -3574,7 +3574,7 @@ module Aws::BedrockRuntime
|
|
3574
3574
|
tracer: tracer
|
3575
3575
|
)
|
3576
3576
|
context[:gem_name] = 'aws-sdk-bedrockruntime'
|
3577
|
-
context[:gem_version] = '1.
|
3577
|
+
context[:gem_version] = '1.60.0'
|
3578
3578
|
Seahorse::Client::Request.new(handlers, context)
|
3579
3579
|
end
|
3580
3580
|
|
@@ -1278,6 +1278,7 @@ module Aws::BedrockRuntime
|
|
1278
1278
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1279
1279
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1280
1280
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1281
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1281
1282
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1282
1283
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1283
1284
|
end)
|
data/sig/client.rbs
CHANGED
@@ -116,7 +116,7 @@ module Aws
|
|
116
116
|
interface _ConverseResponseSuccess
|
117
117
|
include ::Seahorse::Client::_ResponseSuccess[Types::ConverseResponse]
|
118
118
|
def output: () -> Types::ConverseOutput
|
119
|
-
def stop_reason: () -> ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered")
|
119
|
+
def stop_reason: () -> ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "model_context_window_exceeded")
|
120
120
|
def usage: () -> Types::TokenUsage
|
121
121
|
def metrics: () -> Types::ConverseMetrics
|
122
122
|
def additional_model_response_fields: () -> untyped
|
data/sig/types.rbs
CHANGED
@@ -282,7 +282,7 @@ module Aws::BedrockRuntime
|
|
282
282
|
|
283
283
|
class ConverseResponse
|
284
284
|
attr_accessor output: Types::ConverseOutput
|
285
|
-
attr_accessor stop_reason: ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered")
|
285
|
+
attr_accessor stop_reason: ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "model_context_window_exceeded")
|
286
286
|
attr_accessor usage: Types::TokenUsage
|
287
287
|
attr_accessor metrics: Types::ConverseMetrics
|
288
288
|
attr_accessor additional_model_response_fields: untyped
|
@@ -920,7 +920,7 @@ module Aws::BedrockRuntime
|
|
920
920
|
end
|
921
921
|
|
922
922
|
class MessageStopEvent
|
923
|
-
attr_accessor stop_reason: ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered")
|
923
|
+
attr_accessor stop_reason: ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "model_context_window_exceeded")
|
924
924
|
attr_accessor additional_model_response_fields: untyped
|
925
925
|
attr_accessor event_type: untyped
|
926
926
|
SENSITIVE: []
|