Edit an alias of an agent in Amazon Bedrock
To learn how to edit an alias of an agent, select the tab corresponding to your method of choice and follow the steps:
- Console
-
To edit an alias
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and 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.
-
In the Aliases section, choose the option button next to the alias that you want to edit. Then choose Edit
-
Edit any of the existing fields as necessary. For more information about these fields, see Deploy and integrate an Amazon Bedrock agent into your application.
-
Select Save.
To add or remove tags associated with an alias
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and 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 the alias for which you want to manage tags from the Aliases section.
-
In the Tags section, choose Manage tags.
-
To add a tag, choose Add new tag. Then enter a Key and optionally enter a Value. To remove a tag, choose Remove. For more information, see Tagging Amazon Bedrock resources.
-
When you're done editing tags, choose Submit.
-
- API
-
To edit an agent alias, send an UpdateAgentAlias request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint. Because all fields will be overwritten, include both fields that you want to update as well as fields that you want to keep the same.
To add tags to an alias, send a TagResource request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint and include the Amazon Resource Name (ARN) of the alias. The request body contains a
tags
field, which is an object containing a key-value pair that you specify for each tag.To remove tags from an alias, send an UntagResource request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint and include the Amazon Resource Name (ARN) of the alias. The
tagKeys
request parameter is a list containing the keys for the tags that you want to remove.