Manage your prompt flows in Amazon Bedrock
Prompt flows is in preview and is subject to change.
After creating a prompt flow, you can view, edit, or delete it. The changes apply to the working draft version of the prompt flow.
View information about a prompt flow in Amazon Bedrock
To learn how to view information about a prompt flow, select the tab corresponding to your method of choice and follow the steps.
- Console
-
- API
-
To get information about a prompt flow, send a GetFlow request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint and specify the ARN or ID of the prompt flow as the flowIdentifier
.
To list information about your prompt flows, send a ListFlows request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint. You can specify the following optional parameters:
Field |
Short description |
maxResults |
The maximum number of results to return in a
response. |
nextToken |
If there are more results than the number you specified
in the maxResults field, the response returns a nextToken
value. To see the next batch of results, send the
nextToken value in another
request. |
Edit details of a prompt flow in Amazon Bedrock
To learn how to edit details of a prompt flow, select the tab corresponding to your method of choice and follow the steps.
- Console
-
To edit prompt flow details
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at
Getting Started with the AWS Management Console.
-
Select Prompt flows from the left navigation pane. Then, in the Prompt flows section,
select a prompt flow.
-
In the Prompt flow details section, choose Edit.
-
You can edit the name, description, and associate a different service role for the prompt flow.
-
Select Save changes.
- API
-
To edit a prompt flow, send an UpdateFlow request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint. Include both fields that you want to maintain and fields that you want to change. For considerations on the fields in the request, see Create a flow in Amazon Bedrock.
Delete a prompt flow in Amazon Bedrock
To learn how to delete a prompt flow, select the tab corresponding to your method of choice and follow the steps.
- Console
-
To delete a prompt flow
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at
Getting Started with the AWS Management Console.
-
Select Prompt flows from the left navigation pane. Then, in the Prompt flows section,
select a prompt flow to delete.
-
Choose Delete.
-
A dialog box appears warning you about the consequences of deletion. To confirm that you want to delete the prompt flow, enter delete
in the input field and choose Delete.
-
A banner appears to inform you that the prompt flow is being deleted. When deletion is complete, a success banner appears.
- API
-
To delete a prompt flow, send a DeleteFlow request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint and specify the ARN or ID of the prompt flow as the flowIdentifier
.