aws-sdk-bedrockagentruntime 1.82.0 → 1.84.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 +17 -2
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +25 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +96 -0
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +11 -1
- data/sig/errors.rbs +10 -10
- data/sig/types.rbs +27 -1
- 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: 9191ec22c4f80374a7f7f6848053fcc13d4c2232dea708219457d52b799b4b79
|
|
4
|
+
data.tar.gz: 9efe31e8f7520001be6029a760a738c0c824da6efef311d3bb0dd46dc98c04a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5e3d037e41a7b91cf75f5eadda510d8f51ec263d5145b5b4f98ab950e02160daf34e809afce1ec7be4ff130bdf5e292eeea4a11bcdc66ffbfb12bf9817e4ef3
|
|
7
|
+
data.tar.gz: f6cba559cb61a2bb42ca1c176f1987994f47e8d716e0c31ce54afb7b663b2a67ca5b74a70ec6100275f832002898181f77fd03ad421d667af922a8a6d79aff05
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.84.0 (2026-10-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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.
|
|
8
|
+
|
|
9
|
+
1.83.0 (2026-09-29)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon Bedrock Agentic Retrieve now supports the Bedrock Mantle (OpenAI Responses) endpoint via a new MantleFoundationModel configuration with an optional projectId.
|
|
13
|
+
|
|
4
14
|
1.82.0 (2026-09-11)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.84.0
|
|
@@ -516,6 +516,9 @@ module Aws::BedrockAgentRuntime
|
|
|
516
516
|
# @option params [Types::AgenticRetrievePolicyConfiguration] :policy_configuration
|
|
517
517
|
# Policy configuration for guardrails and content filtering.
|
|
518
518
|
#
|
|
519
|
+
# @option params [Types::AgenticRetrieveInstructionConfiguration] :retrieval_instruction_configuration
|
|
520
|
+
# A retrieval instruction to apply to this request.
|
|
521
|
+
#
|
|
519
522
|
# @option params [required, Array<Types::AgenticRetriever>] :retrievers
|
|
520
523
|
# The list of retrievers to use for agentic retrieval.
|
|
521
524
|
#
|
|
@@ -726,7 +729,13 @@ module Aws::BedrockAgentRuntime
|
|
|
726
729
|
# model_arn: "BedrockModelArn", # required
|
|
727
730
|
# },
|
|
728
731
|
# },
|
|
729
|
-
#
|
|
732
|
+
# mantle_foundation_model_configuration: {
|
|
733
|
+
# model_configuration: { # required
|
|
734
|
+
# model_arn: "BedrockModelArn", # required
|
|
735
|
+
# project_id: "MantleProjectId",
|
|
736
|
+
# },
|
|
737
|
+
# },
|
|
738
|
+
# type: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, MANTLE_FOUNDATION_MODEL
|
|
730
739
|
# },
|
|
731
740
|
# foundation_model_type: "CUSTOM", # accepts CUSTOM, MANAGED
|
|
732
741
|
# max_agent_iteration: 1,
|
|
@@ -787,6 +796,10 @@ module Aws::BedrockAgentRuntime
|
|
|
787
796
|
# guardrail_version: "AgenticRetrieveBedrockGuardrailConfigurationGuardrailVersionString", # required
|
|
788
797
|
# },
|
|
789
798
|
# },
|
|
799
|
+
# retrieval_instruction_configuration: {
|
|
800
|
+
# retrieval_instruction_id: "RetrievalInstructionId", # required
|
|
801
|
+
# version: "RetrievalInstructionVersion",
|
|
802
|
+
# },
|
|
790
803
|
# retrievers: [ # required
|
|
791
804
|
# {
|
|
792
805
|
# configuration: { # required
|
|
@@ -935,6 +948,8 @@ module Aws::BedrockAgentRuntime
|
|
|
935
948
|
# event.attributes.actions[0].retrieve.input_query.text #=> String
|
|
936
949
|
# event.attributes.actions[0].retrieve.source_retrievers #=> Array
|
|
937
950
|
# event.attributes.actions[0].retrieve.source_retrievers[0].identifier #=> String
|
|
951
|
+
# event.attributes.applied_instruction.id #=> String
|
|
952
|
+
# event.attributes.applied_instruction.version #=> String
|
|
938
953
|
# event.attributes.failures #=> Array
|
|
939
954
|
# event.attributes.failures[0].message #=> String
|
|
940
955
|
# event.attributes.message #=> String
|
|
@@ -8467,7 +8482,7 @@ module Aws::BedrockAgentRuntime
|
|
|
8467
8482
|
tracer: tracer
|
|
8468
8483
|
)
|
|
8469
8484
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
|
8470
|
-
context[:gem_version] = '1.
|
|
8485
|
+
context[:gem_version] = '1.84.0'
|
|
8471
8486
|
Seahorse::Client::Request.new(handlers, context)
|
|
8472
8487
|
end
|
|
8473
8488
|
|
|
@@ -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')
|
|
@@ -446,6 +448,9 @@ module Aws::BedrockAgentRuntime
|
|
|
446
448
|
ManagedSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'ManagedSearchConfigurationNumberOfResultsInteger')
|
|
447
449
|
ManagedSearchRerankingConfiguration = Shapes::StructureShape.new(name: 'ManagedSearchRerankingConfiguration')
|
|
448
450
|
ManagedSearchRerankingConfigurationType = Shapes::StringShape.new(name: 'ManagedSearchRerankingConfigurationType')
|
|
451
|
+
MantleFoundationModelConfiguration = Shapes::StructureShape.new(name: 'MantleFoundationModelConfiguration')
|
|
452
|
+
MantleFoundationModelModelConfiguration = Shapes::StructureShape.new(name: 'MantleFoundationModelModelConfiguration')
|
|
453
|
+
MantleProjectId = Shapes::StringShape.new(name: 'MantleProjectId')
|
|
449
454
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
450
455
|
MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
|
|
451
456
|
MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
|
|
@@ -587,6 +592,8 @@ module Aws::BedrockAgentRuntime
|
|
|
587
592
|
RetrievalContent = Shapes::StructureShape.new(name: 'RetrievalContent')
|
|
588
593
|
RetrievalFilter = Shapes::UnionShape.new(name: 'RetrievalFilter')
|
|
589
594
|
RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
|
|
595
|
+
RetrievalInstructionId = Shapes::StringShape.new(name: 'RetrievalInstructionId')
|
|
596
|
+
RetrievalInstructionVersion = Shapes::StringShape.new(name: 'RetrievalInstructionVersion')
|
|
590
597
|
RetrievalOverrides = Shapes::StructureShape.new(name: 'RetrievalOverrides')
|
|
591
598
|
RetrievalOverridesMaxNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'RetrievalOverridesMaxNumberOfResultsInteger')
|
|
592
599
|
RetrievalResultConfluenceLocation = Shapes::StructureShape.new(name: 'RetrievalResultConfluenceLocation')
|
|
@@ -797,6 +804,10 @@ module Aws::BedrockAgentRuntime
|
|
|
797
804
|
|
|
798
805
|
AgenticRetrieveActions.member = Shapes::ShapeRef.new(shape: AgenticRetrieveAction)
|
|
799
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
|
+
|
|
800
811
|
AgenticRetrieveBedrockGuardrailConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: AgenticRetrieveBedrockGuardrailConfigurationGuardrailIdString, required: true, location_name: "guardrailId"))
|
|
801
812
|
AgenticRetrieveBedrockGuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: AgenticRetrieveBedrockGuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
|
|
802
813
|
AgenticRetrieveBedrockGuardrailConfiguration.struct_class = Types::AgenticRetrieveBedrockGuardrailConfiguration
|
|
@@ -845,6 +856,10 @@ module Aws::BedrockAgentRuntime
|
|
|
845
856
|
AgenticRetrieveGuardrailWarning.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
|
|
846
857
|
AgenticRetrieveGuardrailWarning.struct_class = Types::AgenticRetrieveGuardrailWarning
|
|
847
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
|
+
|
|
848
863
|
AgenticRetrieveMemoryConfiguration.add_member(:memory_id, Shapes::ShapeRef.new(shape: AgentCoreMemoryId, required: true, location_name: "memoryId"))
|
|
849
864
|
AgenticRetrieveMemoryConfiguration.add_member(:persistence_mode, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryPersistenceMode, location_name: "persistenceMode"))
|
|
850
865
|
AgenticRetrieveMemoryConfiguration.add_member(:retrieval_configs, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryRetrievalConfigList, location_name: "retrievalConfigs"))
|
|
@@ -952,6 +967,7 @@ module Aws::BedrockAgentRuntime
|
|
|
952
967
|
AgenticRetrieveStreamRequest.add_member(:messages, Shapes::ShapeRef.new(shape: AgenticRetrieveStreamRequestMessagesList, required: true, location_name: "messages"))
|
|
953
968
|
AgenticRetrieveStreamRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
954
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"))
|
|
955
971
|
AgenticRetrieveStreamRequest.add_member(:retrievers, Shapes::ShapeRef.new(shape: AgenticRetrieveStreamRequestRetrieversList, required: true, location_name: "retrievers"))
|
|
956
972
|
AgenticRetrieveStreamRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "userContext"))
|
|
957
973
|
AgenticRetrieveStreamRequest.struct_class = Types::AgenticRetrieveStreamRequest
|
|
@@ -985,6 +1001,7 @@ module Aws::BedrockAgentRuntime
|
|
|
985
1001
|
AgenticRetrieveTraceEvent.struct_class = Types::AgenticRetrieveTraceEvent
|
|
986
1002
|
|
|
987
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"))
|
|
988
1005
|
AgenticRetrieveTraceEventAttributes.add_member(:failures, Shapes::ShapeRef.new(shape: AgenticRetrieveFailures, location_name: "failures"))
|
|
989
1006
|
AgenticRetrieveTraceEventAttributes.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
990
1007
|
AgenticRetrieveTraceEventAttributes.add_member(:retrieval_metadata, Shapes::ShapeRef.new(shape: AgenticRetrieveSourceMetadataList, location_name: "retrievalMetadata"))
|
|
@@ -1549,6 +1566,7 @@ module Aws::BedrockAgentRuntime
|
|
|
1549
1566
|
FlowTraceNodeOutputNextList.member = Shapes::ShapeRef.new(shape: FlowTraceNodeOutputNext)
|
|
1550
1567
|
|
|
1551
1568
|
FoundationModelConfiguration.add_member(:bedrock_foundation_model_configuration, Shapes::ShapeRef.new(shape: BedrockFoundationModelConfiguration, location_name: "bedrockFoundationModelConfiguration"))
|
|
1569
|
+
FoundationModelConfiguration.add_member(:mantle_foundation_model_configuration, Shapes::ShapeRef.new(shape: MantleFoundationModelConfiguration, location_name: "mantleFoundationModelConfiguration"))
|
|
1552
1570
|
FoundationModelConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: FoundationModelConfigurationType, required: true, location_name: "type"))
|
|
1553
1571
|
FoundationModelConfiguration.struct_class = Types::FoundationModelConfiguration
|
|
1554
1572
|
|
|
@@ -2129,6 +2147,13 @@ module Aws::BedrockAgentRuntime
|
|
|
2129
2147
|
ManagedSearchRerankingConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: ManagedSearchRerankingConfigurationType, required: true, location_name: "type"))
|
|
2130
2148
|
ManagedSearchRerankingConfiguration.struct_class = Types::ManagedSearchRerankingConfiguration
|
|
2131
2149
|
|
|
2150
|
+
MantleFoundationModelConfiguration.add_member(:model_configuration, Shapes::ShapeRef.new(shape: MantleFoundationModelModelConfiguration, required: true, location_name: "modelConfiguration"))
|
|
2151
|
+
MantleFoundationModelConfiguration.struct_class = Types::MantleFoundationModelConfiguration
|
|
2152
|
+
|
|
2153
|
+
MantleFoundationModelModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
|
|
2154
|
+
MantleFoundationModelModelConfiguration.add_member(:project_id, Shapes::ShapeRef.new(shape: MantleProjectId, location_name: "projectId"))
|
|
2155
|
+
MantleFoundationModelModelConfiguration.struct_class = Types::MantleFoundationModelModelConfiguration
|
|
2156
|
+
|
|
2132
2157
|
Memories.member = Shapes::ShapeRef.new(shape: Memory)
|
|
2133
2158
|
|
|
2134
2159
|
Memory.add_member(:session_summary, Shapes::ShapeRef.new(shape: MemorySessionSummary, location_name: "sessionSummary"))
|
|
@@ -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,
|
|
@@ -3702,6 +3758,10 @@ module Aws::BedrockAgentRuntime
|
|
|
3702
3758
|
# The Bedrock foundation model configuration.
|
|
3703
3759
|
# @return [Types::BedrockFoundationModelConfiguration]
|
|
3704
3760
|
#
|
|
3761
|
+
# @!attribute [rw] mantle_foundation_model_configuration
|
|
3762
|
+
# The Mantle foundation model configuration.
|
|
3763
|
+
# @return [Types::MantleFoundationModelConfiguration]
|
|
3764
|
+
#
|
|
3705
3765
|
# @!attribute [rw] type
|
|
3706
3766
|
# The type of foundation model configuration.
|
|
3707
3767
|
# @return [String]
|
|
@@ -3710,6 +3770,7 @@ module Aws::BedrockAgentRuntime
|
|
|
3710
3770
|
#
|
|
3711
3771
|
class FoundationModelConfiguration < Struct.new(
|
|
3712
3772
|
:bedrock_foundation_model_configuration,
|
|
3773
|
+
:mantle_foundation_model_configuration,
|
|
3713
3774
|
:type)
|
|
3714
3775
|
SENSITIVE = []
|
|
3715
3776
|
include Aws::Structure
|
|
@@ -6696,6 +6757,41 @@ module Aws::BedrockAgentRuntime
|
|
|
6696
6757
|
include Aws::Structure
|
|
6697
6758
|
end
|
|
6698
6759
|
|
|
6760
|
+
# Configuration for a Mantle foundation model.
|
|
6761
|
+
#
|
|
6762
|
+
# @!attribute [rw] model_configuration
|
|
6763
|
+
# The model configuration containing the model ARN and project ID.
|
|
6764
|
+
# @return [Types::MantleFoundationModelModelConfiguration]
|
|
6765
|
+
#
|
|
6766
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/MantleFoundationModelConfiguration AWS API Documentation
|
|
6767
|
+
#
|
|
6768
|
+
class MantleFoundationModelConfiguration < Struct.new(
|
|
6769
|
+
:model_configuration)
|
|
6770
|
+
SENSITIVE = []
|
|
6771
|
+
include Aws::Structure
|
|
6772
|
+
end
|
|
6773
|
+
|
|
6774
|
+
# Model configuration for a Mantle foundation model.
|
|
6775
|
+
#
|
|
6776
|
+
# @!attribute [rw] model_arn
|
|
6777
|
+
# The ARN of the Mantle foundation model.
|
|
6778
|
+
# @return [String]
|
|
6779
|
+
#
|
|
6780
|
+
# @!attribute [rw] project_id
|
|
6781
|
+
# The Amazon Bedrock project ID used for billing and usage
|
|
6782
|
+
# attribution. If you don't specify a value, the service uses the
|
|
6783
|
+
# default project.
|
|
6784
|
+
# @return [String]
|
|
6785
|
+
#
|
|
6786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/MantleFoundationModelModelConfiguration AWS API Documentation
|
|
6787
|
+
#
|
|
6788
|
+
class MantleFoundationModelModelConfiguration < Struct.new(
|
|
6789
|
+
:model_arn,
|
|
6790
|
+
:project_id)
|
|
6791
|
+
SENSITIVE = []
|
|
6792
|
+
include Aws::Structure
|
|
6793
|
+
end
|
|
6794
|
+
|
|
6699
6795
|
# Contains sessions summaries.
|
|
6700
6796
|
#
|
|
6701
6797
|
# @note Memory is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Memory corresponding to the set member.
|
data/sig/client.rbs
CHANGED
|
@@ -94,7 +94,13 @@ module Aws
|
|
|
94
94
|
model_arn: ::String
|
|
95
95
|
}
|
|
96
96
|
}?,
|
|
97
|
-
|
|
97
|
+
mantle_foundation_model_configuration: {
|
|
98
|
+
model_configuration: {
|
|
99
|
+
model_arn: ::String,
|
|
100
|
+
project_id: ::String?
|
|
101
|
+
}
|
|
102
|
+
}?,
|
|
103
|
+
type: ("BEDROCK_FOUNDATION_MODEL" | "MANTLE_FOUNDATION_MODEL")
|
|
98
104
|
}?,
|
|
99
105
|
foundation_model_type: ("CUSTOM" | "MANAGED")?,
|
|
100
106
|
max_agent_iteration: ::Integer?,
|
|
@@ -155,6 +161,10 @@ module Aws
|
|
|
155
161
|
guardrail_version: ::String
|
|
156
162
|
}?
|
|
157
163
|
},
|
|
164
|
+
?retrieval_instruction_configuration: {
|
|
165
|
+
retrieval_instruction_id: ::String,
|
|
166
|
+
version: ::String?
|
|
167
|
+
},
|
|
158
168
|
retrievers: Array[
|
|
159
169
|
{
|
|
160
170
|
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/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]
|
|
@@ -1073,7 +1087,8 @@ module Aws::BedrockAgentRuntime
|
|
|
1073
1087
|
|
|
1074
1088
|
class FoundationModelConfiguration
|
|
1075
1089
|
attr_accessor bedrock_foundation_model_configuration: Types::BedrockFoundationModelConfiguration
|
|
1076
|
-
attr_accessor
|
|
1090
|
+
attr_accessor mantle_foundation_model_configuration: Types::MantleFoundationModelConfiguration
|
|
1091
|
+
attr_accessor type: ("BEDROCK_FOUNDATION_MODEL" | "MANTLE_FOUNDATION_MODEL")
|
|
1077
1092
|
SENSITIVE: []
|
|
1078
1093
|
end
|
|
1079
1094
|
|
|
@@ -1817,6 +1832,17 @@ module Aws::BedrockAgentRuntime
|
|
|
1817
1832
|
SENSITIVE: []
|
|
1818
1833
|
end
|
|
1819
1834
|
|
|
1835
|
+
class MantleFoundationModelConfiguration
|
|
1836
|
+
attr_accessor model_configuration: Types::MantleFoundationModelModelConfiguration
|
|
1837
|
+
SENSITIVE: []
|
|
1838
|
+
end
|
|
1839
|
+
|
|
1840
|
+
class MantleFoundationModelModelConfiguration
|
|
1841
|
+
attr_accessor model_arn: ::String
|
|
1842
|
+
attr_accessor project_id: ::String
|
|
1843
|
+
SENSITIVE: []
|
|
1844
|
+
end
|
|
1845
|
+
|
|
1820
1846
|
class Memory
|
|
1821
1847
|
attr_accessor session_summary: Types::MemorySessionSummary
|
|
1822
1848
|
attr_accessor unknown: untyped
|
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.84.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
|