Skip to content

Commit f0f84e5

Browse files
author
awstools
committed
feat(client-bedrock-agent-runtime): This release introduces the PromptCreationConfigurations input parameter, which includes fields to control prompt population for InvokeAgent or InvokeInlineAgent requests.
1 parent 8090631 commit f0f84e5

12 files changed

+204
-125
lines changed

clients/client-bedrock-agent-runtime/src/commands/GetExecutionFlowSnapshotCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface GetExecutionFlowSnapshotCommandInput extends GetExecutionFlowSn
3232
export interface GetExecutionFlowSnapshotCommandOutput extends GetExecutionFlowSnapshotResponse, __MetadataBearer {}
3333

3434
/**
35-
* <p>Retrieves the flow definition snapshot used for an asynchronous execution. The snapshot represents the flow metadata and definition as it existed at the time the asynchronous execution was started. Note that even if the flow is edited after an execution starts, the snapshot connected to the execution remains unchanged.</p> <note> <p>Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.</p> </note>
35+
* <p>Retrieves the flow definition snapshot used for a flow execution. The snapshot represents the flow metadata and definition as it existed at the time the execution was started. Note that even if the flow is edited after an execution starts, the snapshot connected to the execution remains unchanged.</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

clients/client-bedrock-agent-runtime/src/commands/GetFlowExecutionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface GetFlowExecutionCommandInput extends GetFlowExecutionRequest {}
3232
export interface GetFlowExecutionCommandOutput extends GetFlowExecutionResponse, __MetadataBearer {}
3333

3434
/**
35-
* <p>Retrieves details about a specific asynchronous execution of a flow, including its status, start and end times, and any errors that occurred during execution.</p>
35+
* <p>Retrieves details about a specific flow execution, including its status, start and end times, and any errors that occurred during execution.</p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

clients/client-bedrock-agent-runtime/src/commands/InvokeAgentCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
240240
* streamFinalResponse: true || false,
241241
* applyGuardrailInterval: Number("int"),
242242
* },
243+
* promptCreationConfigurations: { // PromptCreationConfigurations
244+
* previousConversationTurnsToInclude: Number("int"),
245+
* excludePreviousThinkingSteps: true || false,
246+
* },
243247
* sourceArn: "STRING_VALUE",
244248
* };
245249
* const command = new InvokeAgentCommand(input);

clients/client-bedrock-agent-runtime/src/commands/InvokeInlineAgentCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ export interface InvokeInlineAgentCommandOutput extends InvokeInlineAgentRespons
228228
* streamFinalResponse: true || false,
229229
* applyGuardrailInterval: Number("int"),
230230
* },
231+
* promptCreationConfigurations: { // PromptCreationConfigurations
232+
* previousConversationTurnsToInclude: Number("int"),
233+
* excludePreviousThinkingSteps: true || false,
234+
* },
231235
* inlineSessionState: { // InlineSessionState
232236
* sessionAttributes: { // SessionAttributesMap
233237
* "<keys>": "STRING_VALUE",

clients/client-bedrock-agent-runtime/src/commands/ListFlowExecutionEventsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface ListFlowExecutionEventsCommandInput extends ListFlowExecutionEv
3636
export interface ListFlowExecutionEventsCommandOutput extends ListFlowExecutionEventsResponse, __MetadataBearer {}
3737

3838
/**
39-
* <p>Lists events that occurred during an asynchronous execution of a flow. Events provide detailed information about the execution progress, including node inputs and outputs, flow inputs and outputs, condition results, and failure events.</p> <note> <p>Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.</p> </note>
39+
* <p>Lists events that occurred during a flow execution. Events provide detailed information about the execution progress, including node inputs and outputs, flow inputs and outputs, condition results, and failure events.</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-bedrock-agent-runtime/src/commands/ListFlowExecutionsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface ListFlowExecutionsCommandInput extends ListFlowExecutionsReques
3232
export interface ListFlowExecutionsCommandOutput extends ListFlowExecutionsResponse, __MetadataBearer {}
3333

3434
/**
35-
* <p>Lists all asynchronous executions for a flow. Results can be paginated and include summary information about each execution, such as status, start and end times, and the execution's Amazon Resource Name (ARN).</p> <note> <p>Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.</p> </note>
35+
* <p>Lists all executions of a flow. Results can be paginated and include summary information about each execution, such as status, start and end times, and the execution's Amazon Resource Name (ARN).</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

clients/client-bedrock-agent-runtime/src/commands/StartFlowExecutionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface StartFlowExecutionCommandInput extends StartFlowExecutionReques
3636
export interface StartFlowExecutionCommandOutput extends StartFlowExecutionResponse, __MetadataBearer {}
3737

3838
/**
39-
* <p>Starts an asynchronous execution of an Amazon Bedrock flow. Unlike synchronous flows that run until completion or time out after five minutes, you can run asynchronous flows for longer durations. Asynchronous flows also yield control so that your application can perform other tasks.</p> <p>This operation returns an Amazon Resource Name (ARN) that you can use to track and manage your flow's async execution.</p> <note> <p>Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.</p> </note>
39+
* <p>Starts an execution of an Amazon Bedrock flow. Unlike flows that run until completion or time out after five minutes, flow executions let you run flows asynchronously for longer durations. Flow executions also yield control so that your application can perform other tasks.</p> <p>This operation returns an Amazon Resource Name (ARN) that you can use to track and manage your flow execution.</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
4040
* @example
4141
* Use a bare-bones client and the command you need to make an API call.
4242
* ```javascript

clients/client-bedrock-agent-runtime/src/commands/StopFlowExecutionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface StopFlowExecutionCommandInput extends StopFlowExecutionRequest
3232
export interface StopFlowExecutionCommandOutput extends StopFlowExecutionResponse, __MetadataBearer {}
3333

3434
/**
35-
* <p>Stops an Amazon Bedrock flow's asynchronous execution. This operation prevents further processing of the flow and changes the execution status to <code>Aborted</code>.</p>
35+
* <p>Stops an Amazon Bedrock flow's execution. This operation prevents further processing of the flow and changes the execution status to <code>Aborted</code>.</p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

0 commit comments

Comments
 (0)