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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff6dfa6e29c6564fba3c75c590b542ee379e6b3ec2ff59fc27f6f78e3eb4f859
4
- data.tar.gz: 64bbbb727ac8f28f1931e9b7185b0beb13cd8f23604fa1365a4e0316bcf6b79b
3
+ metadata.gz: 8f63afaf6931610d6e1bc78190c8387a6449349720bf7c243e7b783824d43fb5
4
+ data.tar.gz: 710a0d8fc7f2ae6b70704a4c203028f48ea622f341fc67eb9d6cc8a501b522b5
5
5
  SHA512:
6
- metadata.gz: a3ced0625046955addf56ebbf3147cbd4a78b768d5cd1e127f63984d3be14808612ee3c3d112b24a44a7faac34fec4eabee48253b6a6446f9d446ac43503376c
7
- data.tar.gz: b8f16f5947dc054991afddb60e730fede5154869c45b398e0d2b52abeb4c33b618431a9a25b35f83e00599fe7aed7e5a8bc93e2cd122b35b2921bcd577f839da
6
+ metadata.gz: ef0db2cce4bcaeb9f2f01ff09d211be737752007b65be63696b1681d56e5ade78b96b13ba750076af2dedbeaff64bfd56e0c4eab5ab7da07f7cf473ccd54ea69
7
+ data.tar.gz: ec267468b0e5ede8759478b0ca3592b7c19fe8b00071d7ac07c1bc61ac3cd4eb4ad2527a043424a7e98e2b583f6941334b2e87f040a18f2eaf9646e2f7796f81
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2025-09-29)
5
+ ------------------
6
+
7
+ * Feature - New stop reason for Converse and ConverseStream
8
+
4
9
  1.59.0 (2025-08-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.60.0
@@ -621,7 +621,7 @@ module Aws::BedrockRuntime
621
621
  tracer: tracer
622
622
  )
623
623
  context[:gem_name] = 'aws-sdk-bedrockruntime'
624
- context[:gem_version] = '1.59.0'
624
+ context[:gem_version] = '1.60.0'
625
625
  Seahorse::Client::Request.new(handlers, context)
626
626
  end
627
627
 
@@ -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.59.0'
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)
@@ -57,7 +57,7 @@ module Aws::BedrockRuntime
57
57
  autoload :AsyncClient, 'aws-sdk-bedrockruntime/async_client'
58
58
  autoload :EventStreams, 'aws-sdk-bedrockruntime/event_streams'
59
59
 
60
- GEM_VERSION = '1.59.0'
60
+ GEM_VERSION = '1.60.0'
61
61
 
62
62
  end
63
63
 
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: []
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.59.0
4
+ version: 1.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services