update_agent_alias
async
¶
update_agent_alias(
agent_id: Id,
agent_alias_id: AgentAliasId,
agent_alias_name: Name,
*,
config_overrides: Optional[AsyncBedrockAgentClientConfig] = None,
description: Optional[Description] = None,
routing_configuration: Optional[AgentAliasRoutingConfiguration] = None,
alias_invocation_state: Optional[AliasInvocationState] = None,
) -> UpdateAgentAliasResponse
Updates configurations for an alias of an agent.
Parameters:
-
agent_id(Id) –The unique identifier of the agent.
-
agent_alias_id(AgentAliasId) –The unique identifier of the alias.
-
agent_alias_name(Name) –Specifies a new name for the alias.
-
description(Optional[Description], default:None) –Specifies a new description for the alias.
-
routing_configuration(Optional[AgentAliasRoutingConfiguration], default:None) –Contains details about the routing configuration of the alias.
-
alias_invocation_state(Optional[AliasInvocationState], default:None) –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 toACCEPT_INVOCATIONS. Use theGetAgentAlias, orListAgentAliases, operation to get the invocation state of an agent alias.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
ConflictException–There was a conflict performing an operation.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ServiceQuotaExceededException–The number of requests exceeds the service quota. Resubmit your request later.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agent/_services/async_bedrock_agent.py
2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 | |