aws-sdk-bedrockagentruntime 1.57.0 → 1.58.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-bedrockagentruntime/client.rb +63 -42
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +8 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +129 -81
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/types.rbs +8 -0
- 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: 352e048695b94ac42400d7aa1cda2056f02013e300b25ef9012b29fa23b27829
|
4
|
+
data.tar.gz: 57128c24845130a82b1f31ca13dad4e56900295aee8cf53b1ea408c246303a6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0d3ae18742a8422558b07661e036e09c28a012aa91de2c62029b65b59bd236d89a921a18cc61df0aa7b7a3564e3789ac66c98511c903bd179d447081b23ad4a
|
7
|
+
data.tar.gz: 7c7ae216e13ab60c38fd4a4d87164b5febdf371162fd82f8dc0a11847f24f7ea0becb6c00ca06e4de3bc5bb947b9d5c1fbece6d2581d23adb5285a3690cbf66f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.58.0 (2025-06-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces the `PromptCreationConfigurations` input parameter, which includes fields to control prompt population for `InvokeAgent` or `InvokeInlineAgent` requests.
|
8
|
+
|
4
9
|
1.57.0 (2025-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.0
|
@@ -859,22 +859,22 @@ module Aws::BedrockAgentRuntime
|
|
859
859
|
req.send_request(options)
|
860
860
|
end
|
861
861
|
|
862
|
-
# Retrieves the flow definition snapshot used for
|
863
|
-
#
|
864
|
-
#
|
865
|
-
#
|
866
|
-
#
|
862
|
+
# Retrieves the flow definition snapshot used for a flow execution. The
|
863
|
+
# snapshot represents the flow metadata and definition as it existed at
|
864
|
+
# the time the execution was started. Note that even if the flow is
|
865
|
+
# edited after an execution starts, the snapshot connected to the
|
866
|
+
# execution remains unchanged.
|
867
867
|
#
|
868
|
-
# <note markdown="1">
|
868
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
869
869
|
# subject to change.
|
870
870
|
#
|
871
871
|
# </note>
|
872
872
|
#
|
873
873
|
# @option params [required, String] :execution_identifier
|
874
|
-
# The unique identifier of the
|
874
|
+
# The unique identifier of the flow execution.
|
875
875
|
#
|
876
876
|
# @option params [required, String] :flow_alias_identifier
|
877
|
-
# The unique identifier of the flow alias used for the
|
877
|
+
# The unique identifier of the flow alias used for the flow execution.
|
878
878
|
#
|
879
879
|
# @option params [required, String] :flow_identifier
|
880
880
|
# The unique identifier of the flow.
|
@@ -914,12 +914,12 @@ module Aws::BedrockAgentRuntime
|
|
914
914
|
req.send_request(options)
|
915
915
|
end
|
916
916
|
|
917
|
-
# Retrieves details about a specific
|
918
|
-
#
|
919
|
-
#
|
917
|
+
# Retrieves details about a specific flow execution, including its
|
918
|
+
# status, start and end times, and any errors that occurred during
|
919
|
+
# execution.
|
920
920
|
#
|
921
921
|
# @option params [required, String] :execution_identifier
|
922
|
-
# The unique identifier of the
|
922
|
+
# The unique identifier of the flow execution to retrieve.
|
923
923
|
#
|
924
924
|
# @option params [required, String] :flow_alias_identifier
|
925
925
|
# The unique identifier of the flow alias used for the execution.
|
@@ -1144,6 +1144,13 @@ module Aws::BedrockAgentRuntime
|
|
1144
1144
|
# @option params [String] :memory_id
|
1145
1145
|
# The unique identifier of the agent memory.
|
1146
1146
|
#
|
1147
|
+
# @option params [Types::PromptCreationConfigurations] :prompt_creation_configurations
|
1148
|
+
# Specifies parameters that control how the service populates the agent
|
1149
|
+
# prompt for an `InvokeAgent` request. You can control which aspects of
|
1150
|
+
# previous invocations in the same agent session the service uses to
|
1151
|
+
# populate the agent prompt. This gives you more granular control over
|
1152
|
+
# the contextual history that is used to process the current request.
|
1153
|
+
#
|
1147
1154
|
# @option params [required, String] :session_id
|
1148
1155
|
# The unique identifier of the session. Use the same value across
|
1149
1156
|
# requests to continue the same conversation.
|
@@ -1399,6 +1406,10 @@ module Aws::BedrockAgentRuntime
|
|
1399
1406
|
# end_session: false,
|
1400
1407
|
# input_text: "InputText",
|
1401
1408
|
# memory_id: "MemoryId",
|
1409
|
+
# prompt_creation_configurations: {
|
1410
|
+
# exclude_previous_thinking_steps: false,
|
1411
|
+
# previous_conversation_turns_to_include: 1,
|
1412
|
+
# },
|
1402
1413
|
# session_id: "SessionId", # required
|
1403
1414
|
# session_state: {
|
1404
1415
|
# conversation_history: {
|
@@ -2697,6 +2708,14 @@ module Aws::BedrockAgentRuntime
|
|
2697
2708
|
# Specifies the type of orchestration strategy for the agent. This is
|
2698
2709
|
# set to DEFAULT orchestration type, by default.
|
2699
2710
|
#
|
2711
|
+
# @option params [Types::PromptCreationConfigurations] :prompt_creation_configurations
|
2712
|
+
# Specifies parameters that control how the service populates the agent
|
2713
|
+
# prompt for an `InvokeInlineAgent` request. You can control which
|
2714
|
+
# aspects of previous invocations in the same agent session the service
|
2715
|
+
# uses to populate the agent prompt. This gives you more granular
|
2716
|
+
# control over the contextual history that is used to process the
|
2717
|
+
# current request.
|
2718
|
+
#
|
2700
2719
|
# @option params [Types::PromptOverrideConfiguration] :prompt_override_configuration
|
2701
2720
|
# Configurations for advanced prompts used to override the default
|
2702
2721
|
# prompts to enhance the accuracy of the inline agent.
|
@@ -3386,6 +3405,10 @@ module Aws::BedrockAgentRuntime
|
|
3386
3405
|
# },
|
3387
3406
|
# ],
|
3388
3407
|
# orchestration_type: "DEFAULT", # accepts DEFAULT, CUSTOM_ORCHESTRATION
|
3408
|
+
# prompt_creation_configurations: {
|
3409
|
+
# exclude_previous_thinking_steps: false,
|
3410
|
+
# previous_conversation_turns_to_include: 1,
|
3411
|
+
# },
|
3389
3412
|
# prompt_override_configuration: {
|
3390
3413
|
# override_lambda: "LambdaResourceArn",
|
3391
3414
|
# prompt_configurations: [ # required
|
@@ -4008,12 +4031,12 @@ module Aws::BedrockAgentRuntime
|
|
4008
4031
|
req.send_request(options, &block)
|
4009
4032
|
end
|
4010
4033
|
|
4011
|
-
# Lists events that occurred during
|
4012
|
-
#
|
4013
|
-
#
|
4014
|
-
#
|
4034
|
+
# Lists events that occurred during a flow execution. Events provide
|
4035
|
+
# detailed information about the execution progress, including node
|
4036
|
+
# inputs and outputs, flow inputs and outputs, condition results, and
|
4037
|
+
# failure events.
|
4015
4038
|
#
|
4016
|
-
# <note markdown="1">
|
4039
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
4017
4040
|
# subject to change.
|
4018
4041
|
#
|
4019
4042
|
# </note>
|
@@ -4023,7 +4046,7 @@ module Aws::BedrockAgentRuntime
|
|
4023
4046
|
# or `Flow` for flow-level events.
|
4024
4047
|
#
|
4025
4048
|
# @option params [required, String] :execution_identifier
|
4026
|
-
# The unique identifier of the
|
4049
|
+
# The unique identifier of the flow execution.
|
4027
4050
|
#
|
4028
4051
|
# @option params [required, String] :flow_alias_identifier
|
4029
4052
|
# The unique identifier of the flow alias used for the execution.
|
@@ -4099,11 +4122,11 @@ module Aws::BedrockAgentRuntime
|
|
4099
4122
|
req.send_request(options)
|
4100
4123
|
end
|
4101
4124
|
|
4102
|
-
# Lists all
|
4103
|
-
#
|
4104
|
-
#
|
4125
|
+
# Lists all executions of a flow. Results can be paginated and include
|
4126
|
+
# summary information about each execution, such as status, start and
|
4127
|
+
# end times, and the execution's Amazon Resource Name (ARN).
|
4105
4128
|
#
|
4106
|
-
# <note markdown="1">
|
4129
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
4107
4130
|
# subject to change.
|
4108
4131
|
#
|
4109
4132
|
# </note>
|
@@ -4115,9 +4138,9 @@ module Aws::BedrockAgentRuntime
|
|
4115
4138
|
# The unique identifier of the flow to list executions for.
|
4116
4139
|
#
|
4117
4140
|
# @option params [Integer] :max_results
|
4118
|
-
# The maximum number of
|
4119
|
-
# If more executions exist than the specified maxResults value, a
|
4120
|
-
# is included in the response so that the remaining results can be
|
4141
|
+
# The maximum number of flow executions to return in a single response.
|
4142
|
+
# If more executions exist than the specified `maxResults` value, a
|
4143
|
+
# token is included in the response so that the remaining results can be
|
4121
4144
|
# retrieved.
|
4122
4145
|
#
|
4123
4146
|
# @option params [String] :next_token
|
@@ -5819,37 +5842,35 @@ module Aws::BedrockAgentRuntime
|
|
5819
5842
|
req.send_request(options, &block)
|
5820
5843
|
end
|
5821
5844
|
|
5822
|
-
# Starts an
|
5823
|
-
#
|
5824
|
-
#
|
5825
|
-
#
|
5826
|
-
# perform other tasks.
|
5845
|
+
# Starts an execution of an Amazon Bedrock flow. Unlike flows that run
|
5846
|
+
# until completion or time out after five minutes, flow executions let
|
5847
|
+
# you run flows asynchronously for longer durations. Flow executions
|
5848
|
+
# also yield control so that your application can perform other tasks.
|
5827
5849
|
#
|
5828
5850
|
# This operation returns an Amazon Resource Name (ARN) that you can use
|
5829
|
-
# to track and manage your flow
|
5851
|
+
# to track and manage your flow execution.
|
5830
5852
|
#
|
5831
|
-
# <note markdown="1">
|
5853
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
5832
5854
|
# subject to change.
|
5833
5855
|
#
|
5834
5856
|
# </note>
|
5835
5857
|
#
|
5836
5858
|
# @option params [required, String] :flow_alias_identifier
|
5837
|
-
# The unique identifier of the flow alias to use for the
|
5838
|
-
# execution.
|
5859
|
+
# The unique identifier of the flow alias to use for the flow execution.
|
5839
5860
|
#
|
5840
5861
|
# @option params [String] :flow_execution_name
|
5841
|
-
# The unique name for the
|
5862
|
+
# The unique name for the flow execution. If you don't provide one, a
|
5842
5863
|
# system-generated name is used.
|
5843
5864
|
#
|
5844
5865
|
# @option params [required, String] :flow_identifier
|
5845
5866
|
# The unique identifier of the flow to execute.
|
5846
5867
|
#
|
5847
5868
|
# @option params [required, Array<Types::FlowInput>] :inputs
|
5848
|
-
# The input data required for the
|
5869
|
+
# The input data required for the flow execution. This must match the
|
5849
5870
|
# input schema defined in the flow.
|
5850
5871
|
#
|
5851
5872
|
# @option params [Types::ModelPerformanceConfiguration] :model_performance_configuration
|
5852
|
-
# The performance settings for the foundation model used in the
|
5873
|
+
# The performance settings for the foundation model used in the flow
|
5853
5874
|
# execution.
|
5854
5875
|
#
|
5855
5876
|
# @return [Types::StartFlowExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -5893,12 +5914,12 @@ module Aws::BedrockAgentRuntime
|
|
5893
5914
|
req.send_request(options)
|
5894
5915
|
end
|
5895
5916
|
|
5896
|
-
# Stops an Amazon Bedrock flow's
|
5897
|
-
#
|
5898
|
-
#
|
5917
|
+
# Stops an Amazon Bedrock flow's execution. This operation prevents
|
5918
|
+
# further processing of the flow and changes the execution status to
|
5919
|
+
# `Aborted`.
|
5899
5920
|
#
|
5900
5921
|
# @option params [required, String] :execution_identifier
|
5901
|
-
# The unique identifier of the
|
5922
|
+
# The unique identifier of the flow execution to stop.
|
5902
5923
|
#
|
5903
5924
|
# @option params [required, String] :flow_alias_identifier
|
5904
5925
|
# The unique identifier of the flow alias used for the execution.
|
@@ -6063,7 +6084,7 @@ module Aws::BedrockAgentRuntime
|
|
6063
6084
|
tracer: tracer
|
6064
6085
|
)
|
6065
6086
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
6066
|
-
context[:gem_version] = '1.
|
6087
|
+
context[:gem_version] = '1.58.0'
|
6067
6088
|
Seahorse::Client::Request.new(handlers, context)
|
6068
6089
|
end
|
6069
6090
|
|
@@ -397,6 +397,8 @@ module Aws::BedrockAgentRuntime
|
|
397
397
|
PreProcessingTrace = Shapes::UnionShape.new(name: 'PreProcessingTrace')
|
398
398
|
PromptConfiguration = Shapes::StructureShape.new(name: 'PromptConfiguration')
|
399
399
|
PromptConfigurations = Shapes::ListShape.new(name: 'PromptConfigurations')
|
400
|
+
PromptCreationConfigurations = Shapes::StructureShape.new(name: 'PromptCreationConfigurations')
|
401
|
+
PromptCreationConfigurationsPreviousConversationTurnsToIncludeInteger = Shapes::IntegerShape.new(name: 'PromptCreationConfigurationsPreviousConversationTurnsToIncludeInteger')
|
400
402
|
PromptOverrideConfiguration = Shapes::StructureShape.new(name: 'PromptOverrideConfiguration')
|
401
403
|
PromptSessionAttributesMap = Shapes::MapShape.new(name: 'PromptSessionAttributesMap')
|
402
404
|
PromptState = Shapes::StringShape.new(name: 'PromptState')
|
@@ -1445,6 +1447,7 @@ module Aws::BedrockAgentRuntime
|
|
1445
1447
|
InvokeAgentRequest.add_member(:end_session, Shapes::ShapeRef.new(shape: Boolean, location_name: "endSession"))
|
1446
1448
|
InvokeAgentRequest.add_member(:input_text, Shapes::ShapeRef.new(shape: InputText, location_name: "inputText"))
|
1447
1449
|
InvokeAgentRequest.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location_name: "memoryId"))
|
1450
|
+
InvokeAgentRequest.add_member(:prompt_creation_configurations, Shapes::ShapeRef.new(shape: PromptCreationConfigurations, location_name: "promptCreationConfigurations"))
|
1448
1451
|
InvokeAgentRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
|
1449
1452
|
InvokeAgentRequest.add_member(:session_state, Shapes::ShapeRef.new(shape: SessionState, location_name: "sessionState"))
|
1450
1453
|
InvokeAgentRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: AWSResourceARN, location: "header", location_name: "x-amz-source-arn"))
|
@@ -1491,6 +1494,7 @@ module Aws::BedrockAgentRuntime
|
|
1491
1494
|
InvokeInlineAgentRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, required: true, location_name: "instruction"))
|
1492
1495
|
InvokeInlineAgentRequest.add_member(:knowledge_bases, Shapes::ShapeRef.new(shape: KnowledgeBases, location_name: "knowledgeBases"))
|
1493
1496
|
InvokeInlineAgentRequest.add_member(:orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "orchestrationType"))
|
1497
|
+
InvokeInlineAgentRequest.add_member(:prompt_creation_configurations, Shapes::ShapeRef.new(shape: PromptCreationConfigurations, location_name: "promptCreationConfigurations"))
|
1494
1498
|
InvokeInlineAgentRequest.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
|
1495
1499
|
InvokeInlineAgentRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
|
1496
1500
|
InvokeInlineAgentRequest.add_member(:streaming_configurations, Shapes::ShapeRef.new(shape: StreamingConfigurations, location_name: "streamingConfigurations"))
|
@@ -1848,6 +1852,10 @@ module Aws::BedrockAgentRuntime
|
|
1848
1852
|
|
1849
1853
|
PromptConfigurations.member = Shapes::ShapeRef.new(shape: PromptConfiguration)
|
1850
1854
|
|
1855
|
+
PromptCreationConfigurations.add_member(:exclude_previous_thinking_steps, Shapes::ShapeRef.new(shape: Boolean, location_name: "excludePreviousThinkingSteps"))
|
1856
|
+
PromptCreationConfigurations.add_member(:previous_conversation_turns_to_include, Shapes::ShapeRef.new(shape: PromptCreationConfigurationsPreviousConversationTurnsToIncludeInteger, location_name: "previousConversationTurnsToInclude"))
|
1857
|
+
PromptCreationConfigurations.struct_class = Types::PromptCreationConfigurations
|
1858
|
+
|
1851
1859
|
PromptOverrideConfiguration.add_member(:override_lambda, Shapes::ShapeRef.new(shape: LambdaResourceArn, location_name: "overrideLambda"))
|
1852
1860
|
PromptOverrideConfiguration.add_member(:prompt_configurations, Shapes::ShapeRef.new(shape: PromptConfigurations, required: true, location_name: "promptConfigurations"))
|
1853
1861
|
PromptOverrideConfiguration.struct_class = Types::PromptOverrideConfiguration
|
@@ -1005,11 +1005,11 @@ module Aws::BedrockAgentRuntime
|
|
1005
1005
|
include Aws::Structure
|
1006
1006
|
end
|
1007
1007
|
|
1008
|
-
# Contains information about a condition evaluation result during
|
1009
|
-
#
|
1010
|
-
#
|
1008
|
+
# Contains information about a condition evaluation result during a flow
|
1009
|
+
# execution. This event is generated when a condition node in the flow
|
1010
|
+
# evaluates its conditions.
|
1011
1011
|
#
|
1012
|
-
# <note markdown="1">
|
1012
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
1013
1013
|
# subject to change.
|
1014
1014
|
#
|
1015
1015
|
# </note>
|
@@ -1630,9 +1630,9 @@ module Aws::BedrockAgentRuntime
|
|
1630
1630
|
include Aws::Structure
|
1631
1631
|
end
|
1632
1632
|
|
1633
|
-
# Contains the content of an
|
1633
|
+
# Contains the content of an flow execution input or output field.
|
1634
1634
|
#
|
1635
|
-
# <note markdown="1">
|
1635
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
1636
1636
|
# subject to change.
|
1637
1637
|
#
|
1638
1638
|
# </note>
|
@@ -1657,10 +1657,10 @@ module Aws::BedrockAgentRuntime
|
|
1657
1657
|
class Unknown < FlowExecutionContent; end
|
1658
1658
|
end
|
1659
1659
|
|
1660
|
-
# Contains information about an error that occurred during an
|
1660
|
+
# Contains information about an error that occurred during an flow
|
1661
1661
|
# execution.
|
1662
1662
|
#
|
1663
|
-
# <note markdown="1">
|
1663
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
1664
1664
|
# subject to change.
|
1665
1665
|
#
|
1666
1666
|
# </note>
|
@@ -1688,12 +1688,12 @@ module Aws::BedrockAgentRuntime
|
|
1688
1688
|
include Aws::Structure
|
1689
1689
|
end
|
1690
1690
|
|
1691
|
-
# Represents an event that occurred during an
|
1691
|
+
# Represents an event that occurred during an flow execution. This is a
|
1692
1692
|
# union type that can contain one of several event types, such as node
|
1693
1693
|
# input and output events; flow input and output events; condition node
|
1694
1694
|
# result events, or failure events.
|
1695
1695
|
#
|
1696
|
-
# <note markdown="1">
|
1696
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
1697
1697
|
# subject to change.
|
1698
1698
|
#
|
1699
1699
|
# </note>
|
@@ -1702,8 +1702,8 @@ module Aws::BedrockAgentRuntime
|
|
1702
1702
|
#
|
1703
1703
|
# @!attribute [rw] condition_result_event
|
1704
1704
|
# Contains information about a condition evaluation result during the
|
1705
|
-
#
|
1706
|
-
#
|
1705
|
+
# flow execution. This event is generated when a condition node in the
|
1706
|
+
# flow evaluates its conditions.
|
1707
1707
|
# @return [Types::ConditionResultEvent]
|
1708
1708
|
#
|
1709
1709
|
# @!attribute [rw] flow_failure_event
|
@@ -1762,9 +1762,9 @@ module Aws::BedrockAgentRuntime
|
|
1762
1762
|
end
|
1763
1763
|
|
1764
1764
|
# Contains information about the inputs provided to the flow at the
|
1765
|
-
# start of
|
1765
|
+
# start of a flow execution.
|
1766
1766
|
#
|
1767
|
-
# <note markdown="1">
|
1767
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
1768
1768
|
# subject to change.
|
1769
1769
|
#
|
1770
1770
|
# </note>
|
@@ -1791,10 +1791,10 @@ module Aws::BedrockAgentRuntime
|
|
1791
1791
|
include Aws::Structure
|
1792
1792
|
end
|
1793
1793
|
|
1794
|
-
# Contains information about the outputs produced by the flow during
|
1795
|
-
#
|
1794
|
+
# Contains information about the outputs produced by the flow during a
|
1795
|
+
# flow execution.
|
1796
1796
|
#
|
1797
|
-
# <note markdown="1">
|
1797
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
1798
1798
|
# subject to change.
|
1799
1799
|
#
|
1800
1800
|
# </note>
|
@@ -1821,26 +1821,26 @@ module Aws::BedrockAgentRuntime
|
|
1821
1821
|
include Aws::Structure
|
1822
1822
|
end
|
1823
1823
|
|
1824
|
-
# Contains summary information about a flow
|
1825
|
-
#
|
1824
|
+
# Contains summary information about a flow execution, including its
|
1825
|
+
# status, timestamps, and identifiers.
|
1826
1826
|
#
|
1827
|
-
# <note markdown="1">
|
1827
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
1828
1828
|
# subject to change.
|
1829
1829
|
#
|
1830
1830
|
# </note>
|
1831
1831
|
#
|
1832
1832
|
# @!attribute [rw] created_at
|
1833
|
-
# The timestamp when the
|
1833
|
+
# The timestamp when the flow execution was created.
|
1834
1834
|
# @return [Time]
|
1835
1835
|
#
|
1836
1836
|
# @!attribute [rw] ended_at
|
1837
|
-
# The timestamp when the
|
1837
|
+
# The timestamp when the flow execution ended. This field is only
|
1838
1838
|
# populated when the execution has completed, failed, timed out, or
|
1839
1839
|
# been aborted.
|
1840
1840
|
# @return [Time]
|
1841
1841
|
#
|
1842
1842
|
# @!attribute [rw] execution_arn
|
1843
|
-
# The Amazon Resource Name (ARN) that uniquely identifies the
|
1843
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the flow
|
1844
1844
|
# execution.
|
1845
1845
|
# @return [String]
|
1846
1846
|
#
|
@@ -1857,9 +1857,9 @@ module Aws::BedrockAgentRuntime
|
|
1857
1857
|
# @return [String]
|
1858
1858
|
#
|
1859
1859
|
# @!attribute [rw] status
|
1860
|
-
# The current status of the
|
1860
|
+
# The current status of the flow execution.
|
1861
1861
|
#
|
1862
|
-
#
|
1862
|
+
# Flow executions time out after 24 hours.
|
1863
1863
|
# @return [String]
|
1864
1864
|
#
|
1865
1865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/FlowExecutionSummary AWS API Documentation
|
@@ -1877,9 +1877,9 @@ module Aws::BedrockAgentRuntime
|
|
1877
1877
|
end
|
1878
1878
|
|
1879
1879
|
# Contains information about a failure that occurred at the flow level
|
1880
|
-
# during
|
1880
|
+
# during a flow execution.
|
1881
1881
|
#
|
1882
|
-
# <note markdown="1">
|
1882
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
1883
1883
|
# subject to change.
|
1884
1884
|
#
|
1885
1885
|
# </note>
|
@@ -1958,10 +1958,9 @@ module Aws::BedrockAgentRuntime
|
|
1958
1958
|
class Unknown < FlowInputContent; end
|
1959
1959
|
end
|
1960
1960
|
|
1961
|
-
# Represents an input field provided to a flow during
|
1962
|
-
# execution.
|
1961
|
+
# Represents an input field provided to a flow during a flow execution.
|
1963
1962
|
#
|
1964
|
-
# <note markdown="1">
|
1963
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
1965
1964
|
# subject to change.
|
1966
1965
|
#
|
1967
1966
|
# </note>
|
@@ -2081,10 +2080,9 @@ module Aws::BedrockAgentRuntime
|
|
2081
2080
|
include Aws::Structure
|
2082
2081
|
end
|
2083
2082
|
|
2084
|
-
# Represents an output field produced by a flow during
|
2085
|
-
# execution.
|
2083
|
+
# Represents an output field produced by a flow during a flow execution.
|
2086
2084
|
#
|
2087
|
-
# <note markdown="1">
|
2085
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
2088
2086
|
# subject to change.
|
2089
2087
|
#
|
2090
2088
|
# </note>
|
@@ -2839,12 +2837,11 @@ module Aws::BedrockAgentRuntime
|
|
2839
2837
|
end
|
2840
2838
|
|
2841
2839
|
# @!attribute [rw] execution_identifier
|
2842
|
-
# The unique identifier of the
|
2840
|
+
# The unique identifier of the flow execution.
|
2843
2841
|
# @return [String]
|
2844
2842
|
#
|
2845
2843
|
# @!attribute [rw] flow_alias_identifier
|
2846
|
-
# The unique identifier of the flow alias used for the
|
2847
|
-
# execution.
|
2844
|
+
# The unique identifier of the flow alias used for the flow execution.
|
2848
2845
|
# @return [String]
|
2849
2846
|
#
|
2850
2847
|
# @!attribute [rw] flow_identifier
|
@@ -2867,7 +2864,7 @@ module Aws::BedrockAgentRuntime
|
|
2867
2864
|
# @return [String]
|
2868
2865
|
#
|
2869
2866
|
# @!attribute [rw] definition
|
2870
|
-
# The flow definition used for the
|
2867
|
+
# The flow definition used for the flow execution, including the
|
2871
2868
|
# nodes, connections, and configuration at the time when the execution
|
2872
2869
|
# started.
|
2873
2870
|
#
|
@@ -2881,12 +2878,11 @@ module Aws::BedrockAgentRuntime
|
|
2881
2878
|
#
|
2882
2879
|
# @!attribute [rw] execution_role_arn
|
2883
2880
|
# The Amazon Resource Name (ARN) of the IAM service role that's used
|
2884
|
-
# by the
|
2881
|
+
# by the flow execution.
|
2885
2882
|
# @return [String]
|
2886
2883
|
#
|
2887
2884
|
# @!attribute [rw] flow_alias_identifier
|
2888
|
-
# The unique identifier of the flow alias used for the
|
2889
|
-
# execution.
|
2885
|
+
# The unique identifier of the flow alias used for the flow execution.
|
2890
2886
|
# @return [String]
|
2891
2887
|
#
|
2892
2888
|
# @!attribute [rw] flow_identifier
|
@@ -2894,7 +2890,7 @@ module Aws::BedrockAgentRuntime
|
|
2894
2890
|
# @return [String]
|
2895
2891
|
#
|
2896
2892
|
# @!attribute [rw] flow_version
|
2897
|
-
# The version of the flow used for the
|
2893
|
+
# The version of the flow used for the flow execution.
|
2898
2894
|
# @return [String]
|
2899
2895
|
#
|
2900
2896
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/GetExecutionFlowSnapshotResponse AWS API Documentation
|
@@ -2911,7 +2907,7 @@ module Aws::BedrockAgentRuntime
|
|
2911
2907
|
end
|
2912
2908
|
|
2913
2909
|
# @!attribute [rw] execution_identifier
|
2914
|
-
# The unique identifier of the
|
2910
|
+
# The unique identifier of the flow execution to retrieve.
|
2915
2911
|
# @return [String]
|
2916
2912
|
#
|
2917
2913
|
# @!attribute [rw] flow_alias_identifier
|
@@ -2933,19 +2929,19 @@ module Aws::BedrockAgentRuntime
|
|
2933
2929
|
end
|
2934
2930
|
|
2935
2931
|
# @!attribute [rw] ended_at
|
2936
|
-
# The timestamp when the
|
2932
|
+
# The timestamp when the flow execution ended. This field is only
|
2937
2933
|
# populated when the execution has completed, failed, timed out, or
|
2938
2934
|
# been aborted.
|
2939
2935
|
# @return [Time]
|
2940
2936
|
#
|
2941
2937
|
# @!attribute [rw] errors
|
2942
|
-
# A list of errors that occurred during the
|
2943
|
-
#
|
2938
|
+
# A list of errors that occurred during the flow execution. Each error
|
2939
|
+
# includes an error code, message, and the node where the error
|
2944
2940
|
# occurred, if applicable.
|
2945
2941
|
# @return [Array<Types::FlowExecutionError>]
|
2946
2942
|
#
|
2947
2943
|
# @!attribute [rw] execution_arn
|
2948
|
-
# The Amazon Resource Name (ARN) that uniquely identifies the
|
2944
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the flow
|
2949
2945
|
# execution.
|
2950
2946
|
# @return [String]
|
2951
2947
|
#
|
@@ -2962,13 +2958,13 @@ module Aws::BedrockAgentRuntime
|
|
2962
2958
|
# @return [String]
|
2963
2959
|
#
|
2964
2960
|
# @!attribute [rw] started_at
|
2965
|
-
# The timestamp when the
|
2961
|
+
# The timestamp when the flow execution started.
|
2966
2962
|
# @return [Time]
|
2967
2963
|
#
|
2968
2964
|
# @!attribute [rw] status
|
2969
|
-
# The current status of the
|
2965
|
+
# The current status of the flow execution.
|
2970
2966
|
#
|
2971
|
-
#
|
2967
|
+
# Flow executions time out after 24 hours.
|
2972
2968
|
# @return [String]
|
2973
2969
|
#
|
2974
2970
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/GetFlowExecutionResponse AWS API Documentation
|
@@ -4172,6 +4168,15 @@ module Aws::BedrockAgentRuntime
|
|
4172
4168
|
# The unique identifier of the agent memory.
|
4173
4169
|
# @return [String]
|
4174
4170
|
#
|
4171
|
+
# @!attribute [rw] prompt_creation_configurations
|
4172
|
+
# Specifies parameters that control how the service populates the
|
4173
|
+
# agent prompt for an `InvokeAgent` request. You can control which
|
4174
|
+
# aspects of previous invocations in the same agent session the
|
4175
|
+
# service uses to populate the agent prompt. This gives you more
|
4176
|
+
# granular control over the contextual history that is used to process
|
4177
|
+
# the current request.
|
4178
|
+
# @return [Types::PromptCreationConfigurations]
|
4179
|
+
#
|
4175
4180
|
# @!attribute [rw] session_id
|
4176
4181
|
# The unique identifier of the session. Use the same value across
|
4177
4182
|
# requests to continue the same conversation.
|
@@ -4214,6 +4219,7 @@ module Aws::BedrockAgentRuntime
|
|
4214
4219
|
:end_session,
|
4215
4220
|
:input_text,
|
4216
4221
|
:memory_id,
|
4222
|
+
:prompt_creation_configurations,
|
4217
4223
|
:session_id,
|
4218
4224
|
:session_state,
|
4219
4225
|
:source_arn,
|
@@ -4436,6 +4442,15 @@ module Aws::BedrockAgentRuntime
|
|
4436
4442
|
# set to DEFAULT orchestration type, by default.
|
4437
4443
|
# @return [String]
|
4438
4444
|
#
|
4445
|
+
# @!attribute [rw] prompt_creation_configurations
|
4446
|
+
# Specifies parameters that control how the service populates the
|
4447
|
+
# agent prompt for an `InvokeInlineAgent` request. You can control
|
4448
|
+
# which aspects of previous invocations in the same agent session the
|
4449
|
+
# service uses to populate the agent prompt. This gives you more
|
4450
|
+
# granular control over the contextual history that is used to process
|
4451
|
+
# the current request.
|
4452
|
+
# @return [Types::PromptCreationConfigurations]
|
4453
|
+
#
|
4439
4454
|
# @!attribute [rw] prompt_override_configuration
|
4440
4455
|
# Configurations for advanced prompts used to override the default
|
4441
4456
|
# prompts to enhance the accuracy of the inline agent.
|
@@ -4476,6 +4491,7 @@ module Aws::BedrockAgentRuntime
|
|
4476
4491
|
:instruction,
|
4477
4492
|
:knowledge_bases,
|
4478
4493
|
:orchestration_type,
|
4494
|
+
:prompt_creation_configurations,
|
4479
4495
|
:prompt_override_configuration,
|
4480
4496
|
:session_id,
|
4481
4497
|
:streaming_configurations)
|
@@ -4839,7 +4855,7 @@ module Aws::BedrockAgentRuntime
|
|
4839
4855
|
# @return [String]
|
4840
4856
|
#
|
4841
4857
|
# @!attribute [rw] execution_identifier
|
4842
|
-
# The unique identifier of the
|
4858
|
+
# The unique identifier of the flow execution.
|
4843
4859
|
# @return [String]
|
4844
4860
|
#
|
4845
4861
|
# @!attribute [rw] flow_alias_identifier
|
@@ -4876,9 +4892,9 @@ module Aws::BedrockAgentRuntime
|
|
4876
4892
|
end
|
4877
4893
|
|
4878
4894
|
# @!attribute [rw] flow_execution_events
|
4879
|
-
# A list of events that occurred during the
|
4880
|
-
#
|
4881
|
-
#
|
4895
|
+
# A list of events that occurred during the flow execution. Events can
|
4896
|
+
# include node inputs and outputs, flow inputs and outputs, condition
|
4897
|
+
# results, and failure events.
|
4882
4898
|
# @return [Array<Types::FlowExecutionEvent>]
|
4883
4899
|
#
|
4884
4900
|
# @!attribute [rw] next_token
|
@@ -4904,8 +4920,8 @@ module Aws::BedrockAgentRuntime
|
|
4904
4920
|
# @return [String]
|
4905
4921
|
#
|
4906
4922
|
# @!attribute [rw] max_results
|
4907
|
-
# The maximum number of
|
4908
|
-
# response. If more executions exist than the specified maxResults
|
4923
|
+
# The maximum number of flow executions to return in a single
|
4924
|
+
# response. If more executions exist than the specified `maxResults`
|
4909
4925
|
# value, a token is included in the response so that the remaining
|
4910
4926
|
# results can be retrieved.
|
4911
4927
|
# @return [Integer]
|
@@ -4927,7 +4943,7 @@ module Aws::BedrockAgentRuntime
|
|
4927
4943
|
end
|
4928
4944
|
|
4929
4945
|
# @!attribute [rw] flow_execution_summaries
|
4930
|
-
# A list of
|
4946
|
+
# A list of flow execution summaries. Each summary includes the
|
4931
4947
|
# execution ARN, flow identifier, flow alias identifier, flow version,
|
4932
4948
|
# status, and timestamps.
|
4933
4949
|
# @return [Array<Types::FlowExecutionSummary>]
|
@@ -5408,10 +5424,10 @@ module Aws::BedrockAgentRuntime
|
|
5408
5424
|
include Aws::Structure
|
5409
5425
|
end
|
5410
5426
|
|
5411
|
-
# Contains the content of a flow node's input or output field for
|
5412
|
-
#
|
5427
|
+
# Contains the content of a flow node's input or output field for a
|
5428
|
+
# flow execution.
|
5413
5429
|
#
|
5414
|
-
# <note markdown="1">
|
5430
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
5415
5431
|
# subject to change.
|
5416
5432
|
#
|
5417
5433
|
# </note>
|
@@ -5437,9 +5453,9 @@ module Aws::BedrockAgentRuntime
|
|
5437
5453
|
end
|
5438
5454
|
|
5439
5455
|
# Contains information about a failure that occurred at a specific node
|
5440
|
-
# during a flow
|
5456
|
+
# during a flow execution.
|
5441
5457
|
#
|
5442
|
-
# <note markdown="1">
|
5458
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
5443
5459
|
# subject to change.
|
5444
5460
|
#
|
5445
5461
|
# </note>
|
@@ -5473,9 +5489,9 @@ module Aws::BedrockAgentRuntime
|
|
5473
5489
|
end
|
5474
5490
|
|
5475
5491
|
# Contains information about the inputs provided to a specific node
|
5476
|
-
# during a flow
|
5492
|
+
# during a flow execution.
|
5477
5493
|
#
|
5478
|
-
# <note markdown="1">
|
5494
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
5479
5495
|
# subject to change.
|
5480
5496
|
#
|
5481
5497
|
# </note>
|
@@ -5502,8 +5518,7 @@ module Aws::BedrockAgentRuntime
|
|
5502
5518
|
include Aws::Structure
|
5503
5519
|
end
|
5504
5520
|
|
5505
|
-
# Represents an input field provided to a node during a flow
|
5506
|
-
# execution.
|
5521
|
+
# Represents an input field provided to a node during a flow execution.
|
5507
5522
|
#
|
5508
5523
|
# @!attribute [rw] content
|
5509
5524
|
# The content of the input field, which can contain text or structured
|
@@ -5524,9 +5539,9 @@ module Aws::BedrockAgentRuntime
|
|
5524
5539
|
end
|
5525
5540
|
|
5526
5541
|
# Contains information about the outputs produced by a specific node
|
5527
|
-
# during a flow
|
5542
|
+
# during a flow execution.
|
5528
5543
|
#
|
5529
|
-
# <note markdown="1">
|
5544
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
5530
5545
|
# subject to change.
|
5531
5546
|
#
|
5532
5547
|
# </note>
|
@@ -5553,10 +5568,9 @@ module Aws::BedrockAgentRuntime
|
|
5553
5568
|
include Aws::Structure
|
5554
5569
|
end
|
5555
5570
|
|
5556
|
-
# Represents an output field produced by a node during a flow
|
5557
|
-
# execution.
|
5571
|
+
# Represents an output field produced by a node during a flow execution.
|
5558
5572
|
#
|
5559
|
-
# <note markdown="1">
|
5573
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
5560
5574
|
# subject to change.
|
5561
5575
|
#
|
5562
5576
|
# </note>
|
@@ -6281,6 +6295,40 @@ module Aws::BedrockAgentRuntime
|
|
6281
6295
|
include Aws::Structure
|
6282
6296
|
end
|
6283
6297
|
|
6298
|
+
# Specifies parameters that control how the service populates the agent
|
6299
|
+
# prompt for an `InvokeAgent` or `InvokeInlineAgent` request. You can
|
6300
|
+
# control which aspects of previous invocations in the same agent
|
6301
|
+
# session the service uses to populate the agent prompt. This gives you
|
6302
|
+
# more granular control over the contextual history that is used to
|
6303
|
+
# process the current request.
|
6304
|
+
#
|
6305
|
+
# @!attribute [rw] exclude_previous_thinking_steps
|
6306
|
+
# If `true`, the service removes any content between `<thinking>` tags
|
6307
|
+
# from previous conversations in an agent session. The service will
|
6308
|
+
# only remove content from already processed turns. This helps you
|
6309
|
+
# remove content which might not be useful for current and subsequent
|
6310
|
+
# invocations. This can reduce the input token count and potentially
|
6311
|
+
# save costs. The default value is `false`.
|
6312
|
+
# @return [Boolean]
|
6313
|
+
#
|
6314
|
+
# @!attribute [rw] previous_conversation_turns_to_include
|
6315
|
+
# The number of previous conversations from the ongoing agent session
|
6316
|
+
# to include in the conversation history of the agent prompt, during
|
6317
|
+
# the current invocation. This gives you more granular control over
|
6318
|
+
# the context that the model is made aware of, and helps the model
|
6319
|
+
# remove older context which is no longer useful during the ongoing
|
6320
|
+
# agent session.
|
6321
|
+
# @return [Integer]
|
6322
|
+
#
|
6323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/PromptCreationConfigurations AWS API Documentation
|
6324
|
+
#
|
6325
|
+
class PromptCreationConfigurations < Struct.new(
|
6326
|
+
:exclude_previous_thinking_steps,
|
6327
|
+
:previous_conversation_turns_to_include)
|
6328
|
+
SENSITIVE = []
|
6329
|
+
include Aws::Structure
|
6330
|
+
end
|
6331
|
+
|
6284
6332
|
# Contains configurations to override prompts in different parts of an
|
6285
6333
|
# agent sequence. For more information, see [Advanced prompts][1].
|
6286
6334
|
#
|
@@ -7812,9 +7860,9 @@ module Aws::BedrockAgentRuntime
|
|
7812
7860
|
end
|
7813
7861
|
|
7814
7862
|
# Represents a condition that was satisfied during a condition node
|
7815
|
-
# evaluation in a flow
|
7863
|
+
# evaluation in a flow execution.
|
7816
7864
|
#
|
7817
|
-
# <note markdown="1">
|
7865
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
7818
7866
|
# subject to change.
|
7819
7867
|
#
|
7820
7868
|
# </note>
|
@@ -8017,13 +8065,13 @@ module Aws::BedrockAgentRuntime
|
|
8017
8065
|
end
|
8018
8066
|
|
8019
8067
|
# @!attribute [rw] flow_alias_identifier
|
8020
|
-
# The unique identifier of the flow alias to use for the
|
8068
|
+
# The unique identifier of the flow alias to use for the flow
|
8021
8069
|
# execution.
|
8022
8070
|
# @return [String]
|
8023
8071
|
#
|
8024
8072
|
# @!attribute [rw] flow_execution_name
|
8025
|
-
# The unique name for the
|
8026
|
-
#
|
8073
|
+
# The unique name for the flow execution. If you don't provide one, a
|
8074
|
+
# system-generated name is used.
|
8027
8075
|
# @return [String]
|
8028
8076
|
#
|
8029
8077
|
# @!attribute [rw] flow_identifier
|
@@ -8031,12 +8079,12 @@ module Aws::BedrockAgentRuntime
|
|
8031
8079
|
# @return [String]
|
8032
8080
|
#
|
8033
8081
|
# @!attribute [rw] inputs
|
8034
|
-
# The input data required for the
|
8082
|
+
# The input data required for the flow execution. This must match the
|
8035
8083
|
# input schema defined in the flow.
|
8036
8084
|
# @return [Array<Types::FlowInput>]
|
8037
8085
|
#
|
8038
8086
|
# @!attribute [rw] model_performance_configuration
|
8039
|
-
# The performance settings for the foundation model used in the
|
8087
|
+
# The performance settings for the foundation model used in the flow
|
8040
8088
|
# execution.
|
8041
8089
|
# @return [Types::ModelPerformanceConfiguration]
|
8042
8090
|
#
|
@@ -8053,7 +8101,7 @@ module Aws::BedrockAgentRuntime
|
|
8053
8101
|
end
|
8054
8102
|
|
8055
8103
|
# @!attribute [rw] execution_arn
|
8056
|
-
# The Amazon Resource Name (ARN) that uniquely identifies the
|
8104
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the flow
|
8057
8105
|
# execution.
|
8058
8106
|
# @return [String]
|
8059
8107
|
#
|
@@ -8066,7 +8114,7 @@ module Aws::BedrockAgentRuntime
|
|
8066
8114
|
end
|
8067
8115
|
|
8068
8116
|
# @!attribute [rw] execution_identifier
|
8069
|
-
# The unique identifier of the
|
8117
|
+
# The unique identifier of the flow execution to stop.
|
8070
8118
|
# @return [String]
|
8071
8119
|
#
|
8072
8120
|
# @!attribute [rw] flow_alias_identifier
|
@@ -8088,12 +8136,12 @@ module Aws::BedrockAgentRuntime
|
|
8088
8136
|
end
|
8089
8137
|
|
8090
8138
|
# @!attribute [rw] execution_arn
|
8091
|
-
# The Amazon Resource Name (ARN) that uniquely identifies the
|
8139
|
+
# The Amazon Resource Name (ARN) that uniquely identifies the flow
|
8092
8140
|
# execution that was stopped.
|
8093
8141
|
# @return [String]
|
8094
8142
|
#
|
8095
8143
|
# @!attribute [rw] status
|
8096
|
-
# The updated status of the
|
8144
|
+
# The updated status of the flow execution after the stop request.
|
8097
8145
|
# This will typically be ABORTED if the execution was successfully
|
8098
8146
|
# stopped.
|
8099
8147
|
# @return [String]
|
data/sig/client.rbs
CHANGED
@@ -264,6 +264,10 @@ module Aws
|
|
264
264
|
?end_session: bool,
|
265
265
|
?input_text: ::String,
|
266
266
|
?memory_id: ::String,
|
267
|
+
?prompt_creation_configurations: {
|
268
|
+
exclude_previous_thinking_steps: bool?,
|
269
|
+
previous_conversation_turns_to_include: ::Integer?
|
270
|
+
},
|
267
271
|
session_id: ::String,
|
268
272
|
?session_state: {
|
269
273
|
conversation_history: {
|
@@ -935,6 +939,10 @@ module Aws
|
|
935
939
|
},
|
936
940
|
],
|
937
941
|
?orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION"),
|
942
|
+
?prompt_creation_configurations: {
|
943
|
+
exclude_previous_thinking_steps: bool?,
|
944
|
+
previous_conversation_turns_to_include: ::Integer?
|
945
|
+
},
|
938
946
|
?prompt_override_configuration: {
|
939
947
|
override_lambda: ::String?,
|
940
948
|
prompt_configurations: Array[
|
data/sig/types.rbs
CHANGED
@@ -1153,6 +1153,7 @@ module Aws::BedrockAgentRuntime
|
|
1153
1153
|
attr_accessor end_session: bool
|
1154
1154
|
attr_accessor input_text: ::String
|
1155
1155
|
attr_accessor memory_id: ::String
|
1156
|
+
attr_accessor prompt_creation_configurations: Types::PromptCreationConfigurations
|
1156
1157
|
attr_accessor session_id: ::String
|
1157
1158
|
attr_accessor session_state: Types::SessionState
|
1158
1159
|
attr_accessor source_arn: ::String
|
@@ -1203,6 +1204,7 @@ module Aws::BedrockAgentRuntime
|
|
1203
1204
|
attr_accessor instruction: ::String
|
1204
1205
|
attr_accessor knowledge_bases: ::Array[Types::KnowledgeBase]
|
1205
1206
|
attr_accessor orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION")
|
1207
|
+
attr_accessor prompt_creation_configurations: Types::PromptCreationConfigurations
|
1206
1208
|
attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
|
1207
1209
|
attr_accessor session_id: ::String
|
1208
1210
|
attr_accessor streaming_configurations: Types::StreamingConfigurations
|
@@ -1666,6 +1668,12 @@ module Aws::BedrockAgentRuntime
|
|
1666
1668
|
SENSITIVE: [:base_prompt_template]
|
1667
1669
|
end
|
1668
1670
|
|
1671
|
+
class PromptCreationConfigurations
|
1672
|
+
attr_accessor exclude_previous_thinking_steps: bool
|
1673
|
+
attr_accessor previous_conversation_turns_to_include: ::Integer
|
1674
|
+
SENSITIVE: []
|
1675
|
+
end
|
1676
|
+
|
1669
1677
|
class PromptOverrideConfiguration
|
1670
1678
|
attr_accessor override_lambda: ::String
|
1671
1679
|
attr_accessor prompt_configurations: ::Array[Types::PromptConfiguration]
|