agent_aliases
Creates, updates, deletes, gets or lists an agent_aliases resource.
Overview
| Name | agent_aliases |
| Type | Resource |
| Id | aws.bedrock_agent.agent_aliases |
Fields
The following fields are returned by SELECT queries:
- list_agent_aliases
| Name | Datatype | Description |
|---|---|---|
agent_alias_id | string | Contains details about (pattern: <code>(\bTSTALIASID\b|[0-9a-zA-Z]+)</code>) |
agent_alias_name | string | The name of the alias. (pattern: <code>([0-9a-zA-Z][_-]?){1,100}</code>) |
agent_alias_status | string | The status of the alias. (CREATING, PREPARED, FAILED, UPDATING, DELETING, DISSOCIATED) |
alias_invocation_state | string | The invocation state for the agent alias. If the agent alias is running, the value is ACCEPT_INVOCATIONS. If the agent alias is paused, the value is REJECT_INVOCATIONS. Use the UpdateAgentAlias operation to change the invocation state. (ACCEPT_INVOCATIONS, REJECT_INVOCATIONS) |
created_at | string (date-time) | The time at which the alias of the agent was created. |
description | string | The description of the alias. |
routing_configuration | array | Contains details about the version of the agent with which the alias is associated. |
updated_at | string (date-time) | The time at which the alias was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_agent_aliases | select | agent_id, region | Lists the aliases of an agent and information about each one. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
agent_id | string | The unique identifier of the agent. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_agent_aliases
Lists the aliases of an agent and information about each one.
SELECT
agent_alias_id,
agent_alias_name,
agent_alias_status,
alias_invocation_state,
created_at,
description,
routing_configuration,
updated_at
FROM aws.bedrock_agent.agent_aliases
WHERE agent_id = '{{ agent_id }}' -- required
AND region = '{{ region }}' -- required
;