aws-sdk-bedrockagentruntime 1.56.0 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +81 -50
- 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 +9 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3f4259d1eb16baf2ec1dc70d7671a45891a96397319696b71c8e8c36287c0db
|
4
|
+
data.tar.gz: f28a23e51e4b2df96209650c741382017ece9e6135851e187adb7625b6af9004
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3df1f38ab6a92beba0e08cf1ff2197ee44e9b8ea695ba9f1f673172f57049a08b78e604954975b52755f1a97f35840916cfe04f632a9c4eff4ce15265366db66
|
7
|
+
data.tar.gz: 244c3c276da54b6879b0e1713366e93a6cd73c6cfd427524d1a542ab644af0621751c0e79bef435ddb386b16b31019bf5fe9e4121fecf718dec11763c649efba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.60.0 (2025-07-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.59.0 (2025-07-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.58.0 (2025-06-06)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release introduces the `PromptCreationConfigurations` input parameter, which includes fields to control prompt population for `InvokeAgent` or `InvokeInlineAgent` requests.
|
18
|
+
|
19
|
+
1.57.0 (2025-06-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.56.0 (2025-05-21)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
@@ -97,7 +97,7 @@ module Aws::BedrockAgentRuntime
|
|
97
97
|
# class name or an instance of a plugin class.
|
98
98
|
#
|
99
99
|
# @option options [required, Aws::CredentialProvider] :credentials
|
100
|
-
# Your AWS credentials. This can be an instance of any one of the
|
100
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
101
101
|
# following classes:
|
102
102
|
#
|
103
103
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -130,18 +130,23 @@ module Aws::BedrockAgentRuntime
|
|
130
130
|
# locations will be searched for credentials:
|
131
131
|
#
|
132
132
|
# * `Aws.config[:credentials]`
|
133
|
+
#
|
133
134
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
134
135
|
# `:account_id` options.
|
135
|
-
#
|
136
|
-
#
|
136
|
+
#
|
137
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
138
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
139
|
+
#
|
137
140
|
# * `~/.aws/credentials`
|
141
|
+
#
|
138
142
|
# * `~/.aws/config`
|
143
|
+
#
|
139
144
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
140
145
|
# are very aggressive. Construct and pass an instance of
|
141
146
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
142
147
|
# enable retries and extended timeouts. Instance profile credential
|
143
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
144
|
-
# to true
|
148
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
149
|
+
# to `true`.
|
145
150
|
#
|
146
151
|
# @option options [required, String] :region
|
147
152
|
# The AWS region to connect to. The configured `:region` is
|
@@ -169,6 +174,11 @@ module Aws::BedrockAgentRuntime
|
|
169
174
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
170
175
|
# not retry instead of sleeping.
|
171
176
|
#
|
177
|
+
# @option options [Array<String>] :auth_scheme_preference
|
178
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
179
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
180
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
181
|
+
#
|
172
182
|
# @option options [Boolean] :client_side_monitoring (false)
|
173
183
|
# When `true`, client-side metrics will be collected for all API requests from
|
174
184
|
# this client.
|
@@ -264,8 +274,8 @@ module Aws::BedrockAgentRuntime
|
|
264
274
|
# When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
|
265
275
|
#
|
266
276
|
# @option options [String] :profile ("default")
|
267
|
-
# Used when loading credentials from the shared credentials file
|
268
|
-
#
|
277
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
278
|
+
# When not specified, 'default' is used.
|
269
279
|
#
|
270
280
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
271
281
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -378,7 +388,7 @@ module Aws::BedrockAgentRuntime
|
|
378
388
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
379
389
|
#
|
380
390
|
# @option options [Aws::TokenProvider] :token_provider
|
381
|
-
#
|
391
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
382
392
|
# following classes:
|
383
393
|
#
|
384
394
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -859,22 +869,22 @@ module Aws::BedrockAgentRuntime
|
|
859
869
|
req.send_request(options)
|
860
870
|
end
|
861
871
|
|
862
|
-
# Retrieves the flow definition snapshot used for
|
863
|
-
#
|
864
|
-
#
|
865
|
-
#
|
866
|
-
#
|
872
|
+
# Retrieves the flow definition snapshot used for a flow execution. The
|
873
|
+
# snapshot represents the flow metadata and definition as it existed at
|
874
|
+
# the time the execution was started. Note that even if the flow is
|
875
|
+
# edited after an execution starts, the snapshot connected to the
|
876
|
+
# execution remains unchanged.
|
867
877
|
#
|
868
|
-
# <note markdown="1">
|
878
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
869
879
|
# subject to change.
|
870
880
|
#
|
871
881
|
# </note>
|
872
882
|
#
|
873
883
|
# @option params [required, String] :execution_identifier
|
874
|
-
# The unique identifier of the
|
884
|
+
# The unique identifier of the flow execution.
|
875
885
|
#
|
876
886
|
# @option params [required, String] :flow_alias_identifier
|
877
|
-
# The unique identifier of the flow alias used for the
|
887
|
+
# The unique identifier of the flow alias used for the flow execution.
|
878
888
|
#
|
879
889
|
# @option params [required, String] :flow_identifier
|
880
890
|
# The unique identifier of the flow.
|
@@ -914,12 +924,12 @@ module Aws::BedrockAgentRuntime
|
|
914
924
|
req.send_request(options)
|
915
925
|
end
|
916
926
|
|
917
|
-
# Retrieves details about a specific
|
918
|
-
#
|
919
|
-
#
|
927
|
+
# Retrieves details about a specific flow execution, including its
|
928
|
+
# status, start and end times, and any errors that occurred during
|
929
|
+
# execution.
|
920
930
|
#
|
921
931
|
# @option params [required, String] :execution_identifier
|
922
|
-
# The unique identifier of the
|
932
|
+
# The unique identifier of the flow execution to retrieve.
|
923
933
|
#
|
924
934
|
# @option params [required, String] :flow_alias_identifier
|
925
935
|
# The unique identifier of the flow alias used for the execution.
|
@@ -1144,6 +1154,13 @@ module Aws::BedrockAgentRuntime
|
|
1144
1154
|
# @option params [String] :memory_id
|
1145
1155
|
# The unique identifier of the agent memory.
|
1146
1156
|
#
|
1157
|
+
# @option params [Types::PromptCreationConfigurations] :prompt_creation_configurations
|
1158
|
+
# Specifies parameters that control how the service populates the agent
|
1159
|
+
# prompt for an `InvokeAgent` request. You can control which aspects of
|
1160
|
+
# previous invocations in the same agent session the service uses to
|
1161
|
+
# populate the agent prompt. This gives you more granular control over
|
1162
|
+
# the contextual history that is used to process the current request.
|
1163
|
+
#
|
1147
1164
|
# @option params [required, String] :session_id
|
1148
1165
|
# The unique identifier of the session. Use the same value across
|
1149
1166
|
# requests to continue the same conversation.
|
@@ -1399,6 +1416,10 @@ module Aws::BedrockAgentRuntime
|
|
1399
1416
|
# end_session: false,
|
1400
1417
|
# input_text: "InputText",
|
1401
1418
|
# memory_id: "MemoryId",
|
1419
|
+
# prompt_creation_configurations: {
|
1420
|
+
# exclude_previous_thinking_steps: false,
|
1421
|
+
# previous_conversation_turns_to_include: 1,
|
1422
|
+
# },
|
1402
1423
|
# session_id: "SessionId", # required
|
1403
1424
|
# session_state: {
|
1404
1425
|
# conversation_history: {
|
@@ -2697,6 +2718,14 @@ module Aws::BedrockAgentRuntime
|
|
2697
2718
|
# Specifies the type of orchestration strategy for the agent. This is
|
2698
2719
|
# set to DEFAULT orchestration type, by default.
|
2699
2720
|
#
|
2721
|
+
# @option params [Types::PromptCreationConfigurations] :prompt_creation_configurations
|
2722
|
+
# Specifies parameters that control how the service populates the agent
|
2723
|
+
# prompt for an `InvokeInlineAgent` request. You can control which
|
2724
|
+
# aspects of previous invocations in the same agent session the service
|
2725
|
+
# uses to populate the agent prompt. This gives you more granular
|
2726
|
+
# control over the contextual history that is used to process the
|
2727
|
+
# current request.
|
2728
|
+
#
|
2700
2729
|
# @option params [Types::PromptOverrideConfiguration] :prompt_override_configuration
|
2701
2730
|
# Configurations for advanced prompts used to override the default
|
2702
2731
|
# prompts to enhance the accuracy of the inline agent.
|
@@ -3386,6 +3415,10 @@ module Aws::BedrockAgentRuntime
|
|
3386
3415
|
# },
|
3387
3416
|
# ],
|
3388
3417
|
# orchestration_type: "DEFAULT", # accepts DEFAULT, CUSTOM_ORCHESTRATION
|
3418
|
+
# prompt_creation_configurations: {
|
3419
|
+
# exclude_previous_thinking_steps: false,
|
3420
|
+
# previous_conversation_turns_to_include: 1,
|
3421
|
+
# },
|
3389
3422
|
# prompt_override_configuration: {
|
3390
3423
|
# override_lambda: "LambdaResourceArn",
|
3391
3424
|
# prompt_configurations: [ # required
|
@@ -4008,12 +4041,12 @@ module Aws::BedrockAgentRuntime
|
|
4008
4041
|
req.send_request(options, &block)
|
4009
4042
|
end
|
4010
4043
|
|
4011
|
-
# Lists events that occurred during
|
4012
|
-
#
|
4013
|
-
#
|
4014
|
-
#
|
4044
|
+
# Lists events that occurred during a flow execution. Events provide
|
4045
|
+
# detailed information about the execution progress, including node
|
4046
|
+
# inputs and outputs, flow inputs and outputs, condition results, and
|
4047
|
+
# failure events.
|
4015
4048
|
#
|
4016
|
-
# <note markdown="1">
|
4049
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
4017
4050
|
# subject to change.
|
4018
4051
|
#
|
4019
4052
|
# </note>
|
@@ -4023,7 +4056,7 @@ module Aws::BedrockAgentRuntime
|
|
4023
4056
|
# or `Flow` for flow-level events.
|
4024
4057
|
#
|
4025
4058
|
# @option params [required, String] :execution_identifier
|
4026
|
-
# The unique identifier of the
|
4059
|
+
# The unique identifier of the flow execution.
|
4027
4060
|
#
|
4028
4061
|
# @option params [required, String] :flow_alias_identifier
|
4029
4062
|
# The unique identifier of the flow alias used for the execution.
|
@@ -4099,11 +4132,11 @@ module Aws::BedrockAgentRuntime
|
|
4099
4132
|
req.send_request(options)
|
4100
4133
|
end
|
4101
4134
|
|
4102
|
-
# Lists all
|
4103
|
-
#
|
4104
|
-
#
|
4135
|
+
# Lists all executions of a flow. Results can be paginated and include
|
4136
|
+
# summary information about each execution, such as status, start and
|
4137
|
+
# end times, and the execution's Amazon Resource Name (ARN).
|
4105
4138
|
#
|
4106
|
-
# <note markdown="1">
|
4139
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
4107
4140
|
# subject to change.
|
4108
4141
|
#
|
4109
4142
|
# </note>
|
@@ -4115,9 +4148,9 @@ module Aws::BedrockAgentRuntime
|
|
4115
4148
|
# The unique identifier of the flow to list executions for.
|
4116
4149
|
#
|
4117
4150
|
# @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
|
4151
|
+
# The maximum number of flow executions to return in a single response.
|
4152
|
+
# If more executions exist than the specified `maxResults` value, a
|
4153
|
+
# token is included in the response so that the remaining results can be
|
4121
4154
|
# retrieved.
|
4122
4155
|
#
|
4123
4156
|
# @option params [String] :next_token
|
@@ -5819,37 +5852,35 @@ module Aws::BedrockAgentRuntime
|
|
5819
5852
|
req.send_request(options, &block)
|
5820
5853
|
end
|
5821
5854
|
|
5822
|
-
# Starts an
|
5823
|
-
#
|
5824
|
-
#
|
5825
|
-
#
|
5826
|
-
# perform other tasks.
|
5855
|
+
# Starts an execution of an Amazon Bedrock flow. Unlike flows that run
|
5856
|
+
# until completion or time out after five minutes, flow executions let
|
5857
|
+
# you run flows asynchronously for longer durations. Flow executions
|
5858
|
+
# also yield control so that your application can perform other tasks.
|
5827
5859
|
#
|
5828
5860
|
# This operation returns an Amazon Resource Name (ARN) that you can use
|
5829
|
-
# to track and manage your flow
|
5861
|
+
# to track and manage your flow execution.
|
5830
5862
|
#
|
5831
|
-
# <note markdown="1">
|
5863
|
+
# <note markdown="1"> Flow executions is in preview release for Amazon Bedrock and is
|
5832
5864
|
# subject to change.
|
5833
5865
|
#
|
5834
5866
|
# </note>
|
5835
5867
|
#
|
5836
5868
|
# @option params [required, String] :flow_alias_identifier
|
5837
|
-
# The unique identifier of the flow alias to use for the
|
5838
|
-
# execution.
|
5869
|
+
# The unique identifier of the flow alias to use for the flow execution.
|
5839
5870
|
#
|
5840
5871
|
# @option params [String] :flow_execution_name
|
5841
|
-
# The unique name for the
|
5872
|
+
# The unique name for the flow execution. If you don't provide one, a
|
5842
5873
|
# system-generated name is used.
|
5843
5874
|
#
|
5844
5875
|
# @option params [required, String] :flow_identifier
|
5845
5876
|
# The unique identifier of the flow to execute.
|
5846
5877
|
#
|
5847
5878
|
# @option params [required, Array<Types::FlowInput>] :inputs
|
5848
|
-
# The input data required for the
|
5879
|
+
# The input data required for the flow execution. This must match the
|
5849
5880
|
# input schema defined in the flow.
|
5850
5881
|
#
|
5851
5882
|
# @option params [Types::ModelPerformanceConfiguration] :model_performance_configuration
|
5852
|
-
# The performance settings for the foundation model used in the
|
5883
|
+
# The performance settings for the foundation model used in the flow
|
5853
5884
|
# execution.
|
5854
5885
|
#
|
5855
5886
|
# @return [Types::StartFlowExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -5893,12 +5924,12 @@ module Aws::BedrockAgentRuntime
|
|
5893
5924
|
req.send_request(options)
|
5894
5925
|
end
|
5895
5926
|
|
5896
|
-
# Stops an Amazon Bedrock flow's
|
5897
|
-
#
|
5898
|
-
#
|
5927
|
+
# Stops an Amazon Bedrock flow's execution. This operation prevents
|
5928
|
+
# further processing of the flow and changes the execution status to
|
5929
|
+
# `Aborted`.
|
5899
5930
|
#
|
5900
5931
|
# @option params [required, String] :execution_identifier
|
5901
|
-
# The unique identifier of the
|
5932
|
+
# The unique identifier of the flow execution to stop.
|
5902
5933
|
#
|
5903
5934
|
# @option params [required, String] :flow_alias_identifier
|
5904
5935
|
# The unique identifier of the flow alias used for the execution.
|
@@ -6063,7 +6094,7 @@ module Aws::BedrockAgentRuntime
|
|
6063
6094
|
tracer: tracer
|
6064
6095
|
)
|
6065
6096
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
6066
|
-
context[:gem_version] = '1.
|
6097
|
+
context[:gem_version] = '1.60.0'
|
6067
6098
|
Seahorse::Client::Request.new(handlers, context)
|
6068
6099
|
end
|
6069
6100
|
|
@@ -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
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -264,6 +265,10 @@ module Aws
|
|
264
265
|
?end_session: bool,
|
265
266
|
?input_text: ::String,
|
266
267
|
?memory_id: ::String,
|
268
|
+
?prompt_creation_configurations: {
|
269
|
+
exclude_previous_thinking_steps: bool?,
|
270
|
+
previous_conversation_turns_to_include: ::Integer?
|
271
|
+
},
|
267
272
|
session_id: ::String,
|
268
273
|
?session_state: {
|
269
274
|
conversation_history: {
|
@@ -935,6 +940,10 @@ module Aws
|
|
935
940
|
},
|
936
941
|
],
|
937
942
|
?orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION"),
|
943
|
+
?prompt_creation_configurations: {
|
944
|
+
exclude_previous_thinking_steps: bool?,
|
945
|
+
previous_conversation_turns_to_include: ::Integer?
|
946
|
+
},
|
938
947
|
?prompt_override_configuration: {
|
939
948
|
override_lambda: ::String?,
|
940
949
|
prompt_configurations: Array[
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
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]
|
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.60.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.228.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.228.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements:
|
85
85
|
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '2.
|
87
|
+
version: '2.7'
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - ">="
|