aws-sdk-bedrockagentruntime 1.83.0 → 1.85.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-bedrockagentruntime/client.rb +19 -3
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +14 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +56 -0
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +5 -0
- data/sig/errors.rbs +10 -10
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +14 -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: c0374548bfb4383aabedb330225fa82c46b3abe3d49aaa998be18e6bce6c23e8
|
|
4
|
+
data.tar.gz: 1b26ef7b8a98bd1516bf477c99b1a86571d9f158f394117324d802aba68f9ab7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1c179169b202d80b96d97bf95e66f03f3b881abb8f1358f3ca3b0b13db52accff163eba5edaa7d613471b8338b7d8c793da115cfcb41c244b4725b2ec733a37
|
|
7
|
+
data.tar.gz: 7a4bc5d100d2c2262f556c848ca5d7d6d97303eb3dfca8cfa682cba2ec7b8925732a14505c9b07b5a609f99b94c81da1e292286fb944e37f76841cbbb3d70190
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.85.0 (2026-10-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.84.0 (2026-10-19)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for applying a Retrieval Instruction, optionally by version, to AgenticRetrieveStream requests for Amazon Bedrock Knowledge Bases, and reports the applied instruction and version on the trace.
|
|
13
|
+
|
|
4
14
|
1.83.0 (2026-09-29)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.85.0
|
|
@@ -201,13 +201,20 @@ module Aws::BedrockAgentRuntime
|
|
|
201
201
|
# the required types.
|
|
202
202
|
#
|
|
203
203
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
204
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
205
|
-
# a clock skew correction and retry requests with skewed client
|
|
204
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
205
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
206
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
206
207
|
#
|
|
207
208
|
# @option options [String] :defaults_mode ("legacy")
|
|
208
209
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
209
210
|
# accepted modes and the configuration defaults that are included.
|
|
210
211
|
#
|
|
212
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
213
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
214
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
215
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
216
|
+
# correction is enabled by default.
|
|
217
|
+
#
|
|
211
218
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
212
219
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
213
220
|
#
|
|
@@ -516,6 +523,9 @@ module Aws::BedrockAgentRuntime
|
|
|
516
523
|
# @option params [Types::AgenticRetrievePolicyConfiguration] :policy_configuration
|
|
517
524
|
# Policy configuration for guardrails and content filtering.
|
|
518
525
|
#
|
|
526
|
+
# @option params [Types::AgenticRetrieveInstructionConfiguration] :retrieval_instruction_configuration
|
|
527
|
+
# A retrieval instruction to apply to this request.
|
|
528
|
+
#
|
|
519
529
|
# @option params [required, Array<Types::AgenticRetriever>] :retrievers
|
|
520
530
|
# The list of retrievers to use for agentic retrieval.
|
|
521
531
|
#
|
|
@@ -793,6 +803,10 @@ module Aws::BedrockAgentRuntime
|
|
|
793
803
|
# guardrail_version: "AgenticRetrieveBedrockGuardrailConfigurationGuardrailVersionString", # required
|
|
794
804
|
# },
|
|
795
805
|
# },
|
|
806
|
+
# retrieval_instruction_configuration: {
|
|
807
|
+
# retrieval_instruction_id: "RetrievalInstructionId", # required
|
|
808
|
+
# version: "RetrievalInstructionVersion",
|
|
809
|
+
# },
|
|
796
810
|
# retrievers: [ # required
|
|
797
811
|
# {
|
|
798
812
|
# configuration: { # required
|
|
@@ -941,6 +955,8 @@ module Aws::BedrockAgentRuntime
|
|
|
941
955
|
# event.attributes.actions[0].retrieve.input_query.text #=> String
|
|
942
956
|
# event.attributes.actions[0].retrieve.source_retrievers #=> Array
|
|
943
957
|
# event.attributes.actions[0].retrieve.source_retrievers[0].identifier #=> String
|
|
958
|
+
# event.attributes.applied_instruction.id #=> String
|
|
959
|
+
# event.attributes.applied_instruction.version #=> String
|
|
944
960
|
# event.attributes.failures #=> Array
|
|
945
961
|
# event.attributes.failures[0].message #=> String
|
|
946
962
|
# event.attributes.message #=> String
|
|
@@ -8473,7 +8489,7 @@ module Aws::BedrockAgentRuntime
|
|
|
8473
8489
|
tracer: tracer
|
|
8474
8490
|
)
|
|
8475
8491
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
|
8476
|
-
context[:gem_version] = '1.
|
|
8492
|
+
context[:gem_version] = '1.85.0'
|
|
8477
8493
|
Seahorse::Client::Request.new(handlers, context)
|
|
8478
8494
|
end
|
|
8479
8495
|
|
|
@@ -49,6 +49,7 @@ module Aws::BedrockAgentRuntime
|
|
|
49
49
|
AgenticRetrieveAction = Shapes::StructureShape.new(name: 'AgenticRetrieveAction')
|
|
50
50
|
AgenticRetrieveActionDetails = Shapes::StructureShape.new(name: 'AgenticRetrieveActionDetails')
|
|
51
51
|
AgenticRetrieveActions = Shapes::ListShape.new(name: 'AgenticRetrieveActions')
|
|
52
|
+
AgenticRetrieveAppliedInstruction = Shapes::StructureShape.new(name: 'AgenticRetrieveAppliedInstruction')
|
|
52
53
|
AgenticRetrieveBedrockGuardrailConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrieveBedrockGuardrailConfiguration')
|
|
53
54
|
AgenticRetrieveBedrockGuardrailConfigurationGuardrailIdString = Shapes::StringShape.new(name: 'AgenticRetrieveBedrockGuardrailConfigurationGuardrailIdString')
|
|
54
55
|
AgenticRetrieveBedrockGuardrailConfigurationGuardrailVersionString = Shapes::StringShape.new(name: 'AgenticRetrieveBedrockGuardrailConfigurationGuardrailVersionString')
|
|
@@ -65,6 +66,7 @@ module Aws::BedrockAgentRuntime
|
|
|
65
66
|
AgenticRetrieveFullDocExpansionDetails = Shapes::StructureShape.new(name: 'AgenticRetrieveFullDocExpansionDetails')
|
|
66
67
|
AgenticRetrieveGeneratedResponse = Shapes::StructureShape.new(name: 'AgenticRetrieveGeneratedResponse')
|
|
67
68
|
AgenticRetrieveGuardrailWarning = Shapes::StructureShape.new(name: 'AgenticRetrieveGuardrailWarning')
|
|
69
|
+
AgenticRetrieveInstructionConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrieveInstructionConfiguration')
|
|
68
70
|
AgenticRetrieveMemoryConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrieveMemoryConfiguration')
|
|
69
71
|
AgenticRetrieveMemoryMetadataFilter = Shapes::StructureShape.new(name: 'AgenticRetrieveMemoryMetadataFilter')
|
|
70
72
|
AgenticRetrieveMemoryMetadataFilterLeft = Shapes::UnionShape.new(name: 'AgenticRetrieveMemoryMetadataFilterLeft')
|
|
@@ -590,6 +592,8 @@ module Aws::BedrockAgentRuntime
|
|
|
590
592
|
RetrievalContent = Shapes::StructureShape.new(name: 'RetrievalContent')
|
|
591
593
|
RetrievalFilter = Shapes::UnionShape.new(name: 'RetrievalFilter')
|
|
592
594
|
RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
|
|
595
|
+
RetrievalInstructionId = Shapes::StringShape.new(name: 'RetrievalInstructionId')
|
|
596
|
+
RetrievalInstructionVersion = Shapes::StringShape.new(name: 'RetrievalInstructionVersion')
|
|
593
597
|
RetrievalOverrides = Shapes::StructureShape.new(name: 'RetrievalOverrides')
|
|
594
598
|
RetrievalOverridesMaxNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'RetrievalOverridesMaxNumberOfResultsInteger')
|
|
595
599
|
RetrievalResultConfluenceLocation = Shapes::StructureShape.new(name: 'RetrievalResultConfluenceLocation')
|
|
@@ -800,6 +804,10 @@ module Aws::BedrockAgentRuntime
|
|
|
800
804
|
|
|
801
805
|
AgenticRetrieveActions.member = Shapes::ShapeRef.new(shape: AgenticRetrieveAction)
|
|
802
806
|
|
|
807
|
+
AgenticRetrieveAppliedInstruction.add_member(:id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location_name: "id"))
|
|
808
|
+
AgenticRetrieveAppliedInstruction.add_member(:version, Shapes::ShapeRef.new(shape: RetrievalInstructionVersion, location_name: "version"))
|
|
809
|
+
AgenticRetrieveAppliedInstruction.struct_class = Types::AgenticRetrieveAppliedInstruction
|
|
810
|
+
|
|
803
811
|
AgenticRetrieveBedrockGuardrailConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: AgenticRetrieveBedrockGuardrailConfigurationGuardrailIdString, required: true, location_name: "guardrailId"))
|
|
804
812
|
AgenticRetrieveBedrockGuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: AgenticRetrieveBedrockGuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
|
|
805
813
|
AgenticRetrieveBedrockGuardrailConfiguration.struct_class = Types::AgenticRetrieveBedrockGuardrailConfiguration
|
|
@@ -848,6 +856,10 @@ module Aws::BedrockAgentRuntime
|
|
|
848
856
|
AgenticRetrieveGuardrailWarning.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
|
|
849
857
|
AgenticRetrieveGuardrailWarning.struct_class = Types::AgenticRetrieveGuardrailWarning
|
|
850
858
|
|
|
859
|
+
AgenticRetrieveInstructionConfiguration.add_member(:retrieval_instruction_id, Shapes::ShapeRef.new(shape: RetrievalInstructionId, required: true, location_name: "retrievalInstructionId"))
|
|
860
|
+
AgenticRetrieveInstructionConfiguration.add_member(:version, Shapes::ShapeRef.new(shape: RetrievalInstructionVersion, location_name: "version"))
|
|
861
|
+
AgenticRetrieveInstructionConfiguration.struct_class = Types::AgenticRetrieveInstructionConfiguration
|
|
862
|
+
|
|
851
863
|
AgenticRetrieveMemoryConfiguration.add_member(:memory_id, Shapes::ShapeRef.new(shape: AgentCoreMemoryId, required: true, location_name: "memoryId"))
|
|
852
864
|
AgenticRetrieveMemoryConfiguration.add_member(:persistence_mode, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryPersistenceMode, location_name: "persistenceMode"))
|
|
853
865
|
AgenticRetrieveMemoryConfiguration.add_member(:retrieval_configs, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryRetrievalConfigList, location_name: "retrievalConfigs"))
|
|
@@ -955,6 +967,7 @@ module Aws::BedrockAgentRuntime
|
|
|
955
967
|
AgenticRetrieveStreamRequest.add_member(:messages, Shapes::ShapeRef.new(shape: AgenticRetrieveStreamRequestMessagesList, required: true, location_name: "messages"))
|
|
956
968
|
AgenticRetrieveStreamRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
957
969
|
AgenticRetrieveStreamRequest.add_member(:policy_configuration, Shapes::ShapeRef.new(shape: AgenticRetrievePolicyConfiguration, location_name: "policyConfiguration"))
|
|
970
|
+
AgenticRetrieveStreamRequest.add_member(:retrieval_instruction_configuration, Shapes::ShapeRef.new(shape: AgenticRetrieveInstructionConfiguration, location_name: "retrievalInstructionConfiguration"))
|
|
958
971
|
AgenticRetrieveStreamRequest.add_member(:retrievers, Shapes::ShapeRef.new(shape: AgenticRetrieveStreamRequestRetrieversList, required: true, location_name: "retrievers"))
|
|
959
972
|
AgenticRetrieveStreamRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "userContext"))
|
|
960
973
|
AgenticRetrieveStreamRequest.struct_class = Types::AgenticRetrieveStreamRequest
|
|
@@ -988,6 +1001,7 @@ module Aws::BedrockAgentRuntime
|
|
|
988
1001
|
AgenticRetrieveTraceEvent.struct_class = Types::AgenticRetrieveTraceEvent
|
|
989
1002
|
|
|
990
1003
|
AgenticRetrieveTraceEventAttributes.add_member(:actions, Shapes::ShapeRef.new(shape: AgenticRetrieveActions, location_name: "actions"))
|
|
1004
|
+
AgenticRetrieveTraceEventAttributes.add_member(:applied_instruction, Shapes::ShapeRef.new(shape: AgenticRetrieveAppliedInstruction, location_name: "appliedInstruction"))
|
|
991
1005
|
AgenticRetrieveTraceEventAttributes.add_member(:failures, Shapes::ShapeRef.new(shape: AgenticRetrieveFailures, location_name: "failures"))
|
|
992
1006
|
AgenticRetrieveTraceEventAttributes.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
993
1007
|
AgenticRetrieveTraceEventAttributes.add_member(:retrieval_metadata, Shapes::ShapeRef.new(shape: AgenticRetrieveSourceMetadataList, location_name: "retrievalMetadata"))
|
|
@@ -423,6 +423,28 @@ module Aws::BedrockAgentRuntime
|
|
|
423
423
|
include Aws::Structure
|
|
424
424
|
end
|
|
425
425
|
|
|
426
|
+
# The retrieval instruction, identified by its ID and version, that was
|
|
427
|
+
# applied to the request.
|
|
428
|
+
#
|
|
429
|
+
# @!attribute [rw] id
|
|
430
|
+
# The identifier of the retrieval instruction applied.
|
|
431
|
+
# @return [String]
|
|
432
|
+
#
|
|
433
|
+
# @!attribute [rw] version
|
|
434
|
+
# The version that was applied: a version number, or DRAFT. The
|
|
435
|
+
# service reports this version whenever it reports appliedInstruction,
|
|
436
|
+
# including DRAFT when the request did not specify a version.
|
|
437
|
+
# @return [String]
|
|
438
|
+
#
|
|
439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/AgenticRetrieveAppliedInstruction AWS API Documentation
|
|
440
|
+
#
|
|
441
|
+
class AgenticRetrieveAppliedInstruction < Struct.new(
|
|
442
|
+
:id,
|
|
443
|
+
:version)
|
|
444
|
+
SENSITIVE = []
|
|
445
|
+
include Aws::Structure
|
|
446
|
+
end
|
|
447
|
+
|
|
426
448
|
# Configuration for a Bedrock guardrail applied during agentic
|
|
427
449
|
# retrieval.
|
|
428
450
|
#
|
|
@@ -631,6 +653,29 @@ module Aws::BedrockAgentRuntime
|
|
|
631
653
|
include Aws::Structure
|
|
632
654
|
end
|
|
633
655
|
|
|
656
|
+
# The retrieval instruction, identified by its ID and optional version,
|
|
657
|
+
# to apply to this request.
|
|
658
|
+
#
|
|
659
|
+
# @!attribute [rw] retrieval_instruction_id
|
|
660
|
+
# The identifier of the retrieval instruction. The instruction must
|
|
661
|
+
# exist in the caller's account and its status must be ACTIVE.
|
|
662
|
+
# @return [String]
|
|
663
|
+
#
|
|
664
|
+
# @!attribute [rw] version
|
|
665
|
+
# The version of the retrieval instruction to apply: a version number,
|
|
666
|
+
# or DRAFT for the instruction's current reviewed content. When
|
|
667
|
+
# omitted, DRAFT is used. This default is permanent.
|
|
668
|
+
# @return [String]
|
|
669
|
+
#
|
|
670
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/AgenticRetrieveInstructionConfiguration AWS API Documentation
|
|
671
|
+
#
|
|
672
|
+
class AgenticRetrieveInstructionConfiguration < Struct.new(
|
|
673
|
+
:retrieval_instruction_id,
|
|
674
|
+
:version)
|
|
675
|
+
SENSITIVE = []
|
|
676
|
+
include Aws::Structure
|
|
677
|
+
end
|
|
678
|
+
|
|
634
679
|
# Specifies an AgentCore Memory resource and how this retrieval uses it.
|
|
635
680
|
# Set sessionBinding to restore and continue a session. Set
|
|
636
681
|
# retrievalConfigs to let the agent retrieve from long-term memory. You
|
|
@@ -1085,6 +1130,10 @@ module Aws::BedrockAgentRuntime
|
|
|
1085
1130
|
# Policy configuration for guardrails and content filtering.
|
|
1086
1131
|
# @return [Types::AgenticRetrievePolicyConfiguration]
|
|
1087
1132
|
#
|
|
1133
|
+
# @!attribute [rw] retrieval_instruction_configuration
|
|
1134
|
+
# A retrieval instruction to apply to this request.
|
|
1135
|
+
# @return [Types::AgenticRetrieveInstructionConfiguration]
|
|
1136
|
+
#
|
|
1088
1137
|
# @!attribute [rw] retrievers
|
|
1089
1138
|
# The list of retrievers to use for agentic retrieval.
|
|
1090
1139
|
# @return [Array<Types::AgenticRetriever>]
|
|
@@ -1104,6 +1153,7 @@ module Aws::BedrockAgentRuntime
|
|
|
1104
1153
|
:messages,
|
|
1105
1154
|
:next_token,
|
|
1106
1155
|
:policy_configuration,
|
|
1156
|
+
:retrieval_instruction_configuration,
|
|
1107
1157
|
:retrievers,
|
|
1108
1158
|
:user_context)
|
|
1109
1159
|
SENSITIVE = [:user_context]
|
|
@@ -1155,6 +1205,11 @@ module Aws::BedrockAgentRuntime
|
|
|
1155
1205
|
# The list of actions taken during this step.
|
|
1156
1206
|
# @return [Array<Types::AgenticRetrieveAction>]
|
|
1157
1207
|
#
|
|
1208
|
+
# @!attribute [rw] applied_instruction
|
|
1209
|
+
# The agent reports the retrieval instruction applied to this request
|
|
1210
|
+
# on the first planning step.
|
|
1211
|
+
# @return [Types::AgenticRetrieveAppliedInstruction]
|
|
1212
|
+
#
|
|
1158
1213
|
# @!attribute [rw] failures
|
|
1159
1214
|
# Failures that occurred during this step.
|
|
1160
1215
|
# @return [Array<Types::AgenticRetrieveFailure>]
|
|
@@ -1187,6 +1242,7 @@ module Aws::BedrockAgentRuntime
|
|
|
1187
1242
|
#
|
|
1188
1243
|
class AgenticRetrieveTraceEventAttributes < Struct.new(
|
|
1189
1244
|
:actions,
|
|
1245
|
+
:applied_instruction,
|
|
1190
1246
|
:failures,
|
|
1191
1247
|
:message,
|
|
1192
1248
|
:retrieval_metadata,
|
data/sig/client.rbs
CHANGED
|
@@ -27,6 +27,7 @@ module Aws
|
|
|
27
27
|
?convert_params: bool,
|
|
28
28
|
?correct_clock_skew: bool,
|
|
29
29
|
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
30
31
|
?disable_host_prefix_injection: bool,
|
|
31
32
|
?disable_request_compression: bool,
|
|
32
33
|
?endpoint: String,
|
|
@@ -161,6 +162,10 @@ module Aws
|
|
|
161
162
|
guardrail_version: ::String
|
|
162
163
|
}?
|
|
163
164
|
},
|
|
165
|
+
?retrieval_instruction_configuration: {
|
|
166
|
+
retrieval_instruction_id: ::String,
|
|
167
|
+
version: ::String?
|
|
168
|
+
},
|
|
164
169
|
retrievers: Array[
|
|
165
170
|
{
|
|
166
171
|
configuration: {
|
data/sig/errors.rbs
CHANGED
|
@@ -11,37 +11,37 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class AccessDeniedException <
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
15
|
def message: () -> ::String
|
|
16
16
|
end
|
|
17
|
-
class BadGatewayException <
|
|
17
|
+
class BadGatewayException < ServiceError
|
|
18
18
|
def message: () -> ::String
|
|
19
19
|
def resource_name: () -> ::String
|
|
20
20
|
end
|
|
21
|
-
class ConflictException <
|
|
21
|
+
class ConflictException < ServiceError
|
|
22
22
|
def message: () -> ::String
|
|
23
23
|
end
|
|
24
|
-
class DependencyFailedException <
|
|
24
|
+
class DependencyFailedException < ServiceError
|
|
25
25
|
def message: () -> ::String
|
|
26
26
|
def resource_name: () -> ::String
|
|
27
27
|
end
|
|
28
|
-
class InternalServerException <
|
|
28
|
+
class InternalServerException < ServiceError
|
|
29
29
|
def message: () -> ::String
|
|
30
30
|
def reason: () -> ::String
|
|
31
31
|
end
|
|
32
|
-
class ModelNotReadyException <
|
|
32
|
+
class ModelNotReadyException < ServiceError
|
|
33
33
|
def message: () -> ::String
|
|
34
34
|
end
|
|
35
|
-
class ResourceNotFoundException <
|
|
35
|
+
class ResourceNotFoundException < ServiceError
|
|
36
36
|
def message: () -> ::String
|
|
37
37
|
end
|
|
38
|
-
class ServiceQuotaExceededException <
|
|
38
|
+
class ServiceQuotaExceededException < ServiceError
|
|
39
39
|
def message: () -> ::String
|
|
40
40
|
end
|
|
41
|
-
class ThrottlingException <
|
|
41
|
+
class ThrottlingException < ServiceError
|
|
42
42
|
def message: () -> ::String
|
|
43
43
|
end
|
|
44
|
-
class ValidationException <
|
|
44
|
+
class ValidationException < ServiceError
|
|
45
45
|
def message: () -> ::String
|
|
46
46
|
end
|
|
47
47
|
end
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -113,6 +113,12 @@ module Aws::BedrockAgentRuntime
|
|
|
113
113
|
SENSITIVE: [:input_query]
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
+
class AgenticRetrieveAppliedInstruction
|
|
117
|
+
attr_accessor id: ::String
|
|
118
|
+
attr_accessor version: ::String
|
|
119
|
+
SENSITIVE: []
|
|
120
|
+
end
|
|
121
|
+
|
|
116
122
|
class AgenticRetrieveBedrockGuardrailConfiguration
|
|
117
123
|
attr_accessor guardrail_id: ::String
|
|
118
124
|
attr_accessor guardrail_version: ::String
|
|
@@ -175,6 +181,12 @@ module Aws::BedrockAgentRuntime
|
|
|
175
181
|
SENSITIVE: []
|
|
176
182
|
end
|
|
177
183
|
|
|
184
|
+
class AgenticRetrieveInstructionConfiguration
|
|
185
|
+
attr_accessor retrieval_instruction_id: ::String
|
|
186
|
+
attr_accessor version: ::String
|
|
187
|
+
SENSITIVE: []
|
|
188
|
+
end
|
|
189
|
+
|
|
178
190
|
class AgenticRetrieveMemoryConfiguration
|
|
179
191
|
attr_accessor memory_id: ::String
|
|
180
192
|
attr_accessor persistence_mode: ("DEFAULT" | "NONE")
|
|
@@ -316,6 +328,7 @@ module Aws::BedrockAgentRuntime
|
|
|
316
328
|
attr_accessor messages: ::Array[Types::AgenticRetrieveMessage]
|
|
317
329
|
attr_accessor next_token: ::String
|
|
318
330
|
attr_accessor policy_configuration: Types::AgenticRetrievePolicyConfiguration
|
|
331
|
+
attr_accessor retrieval_instruction_configuration: Types::AgenticRetrieveInstructionConfiguration
|
|
319
332
|
attr_accessor retrievers: ::Array[Types::AgenticRetriever]
|
|
320
333
|
attr_accessor user_context: Types::UserContext
|
|
321
334
|
SENSITIVE: [:user_context]
|
|
@@ -336,6 +349,7 @@ module Aws::BedrockAgentRuntime
|
|
|
336
349
|
|
|
337
350
|
class AgenticRetrieveTraceEventAttributes
|
|
338
351
|
attr_accessor actions: ::Array[Types::AgenticRetrieveAction]
|
|
352
|
+
attr_accessor applied_instruction: Types::AgenticRetrieveAppliedInstruction
|
|
339
353
|
attr_accessor failures: ::Array[Types::AgenticRetrieveFailure]
|
|
340
354
|
attr_accessor message: ::String
|
|
341
355
|
attr_accessor retrieval_metadata: ::Array[Types::AgenticRetrieveSourceMetadata]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.85.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.258.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.258.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|