Delete an action group
To learn how to delete an action group, choose the tab for your preferred method, and then follow the steps:
- Console
-
To delete an action group
-
Sign in to the AWS Management Console with an IAM identity that has permissions to use the Amazon Bedrock console. Then, open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock
. -
Select Agents from the left navigation pane. Then, choose an agent in the Agents section.
-
Choose Edit in Agent builder
-
In the Action groups section, choose the option button that's next to the action group you want to delete.
-
A dialog box appears warning you about the consequences of deletion. To confirm that you want to delete the action group, enter
deletein the input field and then select Delete. -
When deletion is complete, a success banner appears.
-
To apply the changes that you made to the agent before testing it, choose Prepare in the Test window or at the top of the Working draft page.
-
- API
-
To delete an action group, send a DeleteAgentActionGroup request. Specify the
actionGroupIdand theagentIdandagentVersionfrom which to delete it. By default, theskipResourceInUseCheckparameter isfalseand deletion is stopped if the resource is in use. If you setskipResourceInUseChecktotrue, the resource will be deleted even if the resource is in use.To apply the changes to the working draft, send a PrepareAgent request with an Agents for Amazon Bedrock build-time endpoint. Include the
agentIdin the request. The changes apply to theDRAFTversion, which theTSTALIASIDalias points to.