BedrockAgentClient.update_agent_alias
rboto-bedrock-agent==0.4.0 · Service index · Types
Model summary (excerpt): Updates configurations for an alias of an agent.
Install and imports
from rboto import BedrockAgentClient
from collections.abc import Sequence
from rboto_bedrock_agent.types import (
AgentAliasRoutingConfigurationListItem,
AliasInvocationState,
UpdateAgentAliasOutput,
)
Signature
async def update_agent_alias(
*,
agent_id: str,
agent_alias_id: str,
agent_alias_name: str,
description: str | None = None,
routing_configuration: Sequence[AgentAliasRoutingConfigurationListItem] | None = None,
alias_invocation_state: AliasInvocationState | None = None,
) -> UpdateAgentAliasOutput: ...
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_id |
Yes | The unique identifier of the alias. |
agent_alias_name |
Yes | Specifies a new name for the alias. |
description |
No | Specifies a new description for the alias. |
routing_configuration |
No | Contains details about the routing configuration of the alias. |
alias_invocation_state |
No | The invocation state for the agent alias. To pause the agent alias, set the value to REJECT_INVOCATIONS . To start the agent alias running again, set the value to ACCEPT_INVOCATIONS . Use the GetAgentAlias , or ListAgentAliases , operation to get the invocation state of an agent alias. |
Output
UpdateAgentAliasOutput.
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, AliasInvocationState, UpdateAgentAliasOutput
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.