aws-sdk-bedrockagentruntime 1.40.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +9 -1
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +1 -0
- data/lib/aws-sdk-bedrockagentruntime/errors.rb +5 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +7 -0
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/errors.rbs +1 -0
- data/sig/types.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fa1e662a49c9a1f9c3cb769cb7e767b8372ffa0307cfc29f876e16459e1ad8a
|
4
|
+
data.tar.gz: e366d900741f248f0b6723721e8c6fc22bed8fbb91359eaa1dbaf53b2c4d085b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87d3ecf4841e471f13bff33dccd9dadc9b5c6bea10b2044bd3a12959ae78912db7cb20e8f3f681e1fd756becf44bdd46dfdb4b72ad4798ee39d44a0c10d8925b
|
7
|
+
data.tar.gz: 204b0dc932d78525210498b6a5dfcd70cd0771ebe40ee341c1e8a013a1df9fd0c626a148d1ba820ba9171f649580af6ccda7c6d84841a8b995291b557d625465
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -1206,6 +1206,7 @@ module Aws::BedrockAgentRuntime
|
|
1206
1206
|
#
|
1207
1207
|
# For :internal_server_exception event available at #on_internal_server_exception_event callback and response eventstream enumerator:
|
1208
1208
|
# event.message #=> String
|
1209
|
+
# event.reason #=> String
|
1209
1210
|
#
|
1210
1211
|
# For :model_not_ready_exception event available at #on_model_not_ready_exception_event callback and response eventstream enumerator:
|
1211
1212
|
# event.message #=> String
|
@@ -1936,6 +1937,7 @@ module Aws::BedrockAgentRuntime
|
|
1936
1937
|
#
|
1937
1938
|
# For :internal_server_exception event available at #on_internal_server_exception_event callback and response eventstream enumerator:
|
1938
1939
|
# event.message #=> String
|
1940
|
+
# event.reason #=> String
|
1939
1941
|
#
|
1940
1942
|
# For :resource_not_found_exception event available at #on_resource_not_found_exception_event callback and response eventstream enumerator:
|
1941
1943
|
# event.message #=> String
|
@@ -2596,6 +2598,7 @@ module Aws::BedrockAgentRuntime
|
|
2596
2598
|
#
|
2597
2599
|
# For :internal_server_exception event available at #on_internal_server_exception_event callback and response eventstream enumerator:
|
2598
2600
|
# event.message #=> String
|
2601
|
+
# event.reason #=> String
|
2599
2602
|
#
|
2600
2603
|
# For :resource_not_found_exception event available at #on_resource_not_found_exception_event callback and response eventstream enumerator:
|
2601
2604
|
# event.message #=> String
|
@@ -3204,6 +3207,7 @@ module Aws::BedrockAgentRuntime
|
|
3204
3207
|
#
|
3205
3208
|
# For :internal_server_exception event available at #on_internal_server_exception_event callback and response eventstream enumerator:
|
3206
3209
|
# event.message #=> String
|
3210
|
+
# event.reason #=> String
|
3207
3211
|
#
|
3208
3212
|
# For :optimized_prompt_event event available at #on_optimized_prompt_event_event callback and response eventstream enumerator:
|
3209
3213
|
# event.optimized_prompt.text_prompt.text #=> String
|
@@ -3820,6 +3824,9 @@ module Aws::BedrockAgentRuntime
|
|
3820
3824
|
#
|
3821
3825
|
# </note>
|
3822
3826
|
#
|
3827
|
+
# This operation requires permission for the `
|
3828
|
+
# bedrock:RetrieveAndGenerate` action.
|
3829
|
+
#
|
3823
3830
|
# @option params [required, Types::RetrieveAndGenerateInput] :input
|
3824
3831
|
# Contains the query to be made to the knowledge base.
|
3825
3832
|
#
|
@@ -4295,6 +4302,7 @@ module Aws::BedrockAgentRuntime
|
|
4295
4302
|
#
|
4296
4303
|
# For :internal_server_exception event available at #on_internal_server_exception_event callback and response eventstream enumerator:
|
4297
4304
|
# event.message #=> String
|
4305
|
+
# event.reason #=> String
|
4298
4306
|
#
|
4299
4307
|
# For :output event available at #on_output_event callback and response eventstream enumerator:
|
4300
4308
|
# event.text #=> String
|
@@ -4356,7 +4364,7 @@ module Aws::BedrockAgentRuntime
|
|
4356
4364
|
tracer: tracer
|
4357
4365
|
)
|
4358
4366
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
4359
|
-
context[:gem_version] = '1.
|
4367
|
+
context[:gem_version] = '1.41.0'
|
4360
4368
|
Seahorse::Client::Request.new(handlers, context)
|
4361
4369
|
end
|
4362
4370
|
|
@@ -1008,6 +1008,7 @@ module Aws::BedrockAgentRuntime
|
|
1008
1008
|
InputPrompt.struct_class = Types::InputPrompt
|
1009
1009
|
|
1010
1010
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
1011
|
+
InternalServerException.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
1011
1012
|
InternalServerException.struct_class = Types::InternalServerException
|
1012
1013
|
|
1013
1014
|
InvocationInput.add_member(:action_group_invocation_input, Shapes::ShapeRef.new(shape: ActionGroupInvocationInput, location_name: "actionGroupInvocationInput"))
|
@@ -2663,10 +2663,17 @@ module Aws::BedrockAgentRuntime
|
|
2663
2663
|
# @!attribute [rw] message
|
2664
2664
|
# @return [String]
|
2665
2665
|
#
|
2666
|
+
# @!attribute [rw] reason
|
2667
|
+
# The reason for the exception. If the reason is
|
2668
|
+
# `BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE`, the model invocation
|
2669
|
+
# service is unavailable. Retry your request.
|
2670
|
+
# @return [String]
|
2671
|
+
#
|
2666
2672
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/InternalServerException AWS API Documentation
|
2667
2673
|
#
|
2668
2674
|
class InternalServerException < Struct.new(
|
2669
2675
|
:message,
|
2676
|
+
:reason,
|
2670
2677
|
:event_type)
|
2671
2678
|
SENSITIVE = []
|
2672
2679
|
include Aws::Structure
|
data/sig/errors.rbs
CHANGED
data/sig/types.rbs
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrockagentruntime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|