BedrockAgentClient.create_agent_alias
rboto-bedrock-agent==0.4.0 · Service index · Types
Model summary (excerpt): Creates an alias of an agent that can be used to deploy the agent.
Install and imports
from rboto import BedrockAgentClient
from collections.abc import Sequence
from rboto_bedrock_agent.types import (
AgentAliasRoutingConfigurationListItem,
CreateAgentAliasOutput,
)
Signature
async def create_agent_alias(
*,
agent_id: str,
agent_alias_name: str,
client_token: str | None = None,
description: str | None = None,
routing_configuration: Sequence[AgentAliasRoutingConfigurationListItem] | None = None,
tags: dict[str, str] | None = None,
) -> CreateAgentAliasOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
agent_id |
Yes | The unique identifier of the agent. |
agent_alias_name |
Yes | The name of the alias. |
client_token |
No | A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency . |
description |
No | A description of the alias of the agent. |
routing_configuration |
No | Contains details about the routing configuration of the alias. |
tags |
No | Any tags that you want to attach to the alias of the agent. |
Output
CreateAgentAliasOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
agent_alias |
AgentAliasOutput | None |
Always present | AgentAliasOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
AgentAliasRoutingConfigurationListItem, CreateAgentAliasOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agent.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.