Skip to content

Bedrock Agent  >  Operations  >  update_flow_alias

update_flow_alias

Operation

update_flow_alias async

update_flow_alias(input: UpdateFlowAliasInput, plugins: list[Plugin] | None = None) -> UpdateFlowAliasOutput

Modifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

Parameters:

Name Type Description Default
input UpdateFlowAliasInput

An instance of UpdateFlowAliasInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateFlowAliasOutput

An instance of UpdateFlowAliasOutput.

Input

UpdateFlowAliasInput dataclass

Dataclass for UpdateFlowAliasInput structure.

Attributes

alias_identifier class-attribute instance-attribute
alias_identifier: str | None = None

The unique identifier of the alias.

concurrency_configuration class-attribute instance-attribute
concurrency_configuration: FlowAliasConcurrencyConfiguration | None = None

The configuration that specifies how nodes in the flow are executed in parallel.

description class-attribute instance-attribute
description: str | None = None

A description for the alias.

flow_identifier class-attribute instance-attribute
flow_identifier: str | None = None

The unique identifier of the flow.

name class-attribute instance-attribute
name: str | None = None

The name of the alias.

routing_configuration class-attribute instance-attribute
routing_configuration: list[FlowAliasRoutingConfigurationListItem] | None = None

Contains information about the version to which to map the alias.

Output

UpdateFlowAliasOutput dataclass

Dataclass for UpdateFlowAliasOutput structure.

Attributes

arn instance-attribute
arn: str

The Amazon Resource Name (ARN) of the flow.

concurrency_configuration class-attribute instance-attribute
concurrency_configuration: FlowAliasConcurrencyConfiguration | None = None

The configuration that specifies how nodes in the flow are executed in parallel.

created_at instance-attribute
created_at: datetime

The time at which the flow was created.

description class-attribute instance-attribute
description: str | None = None

The description of the flow.

flow_id instance-attribute
flow_id: str

The unique identifier of the flow.

id instance-attribute
id: str

The unique identifier of the alias.

name instance-attribute
name: str

The name of the alias.

routing_configuration instance-attribute
routing_configuration: list[FlowAliasRoutingConfigurationListItem]

Contains information about the version that the alias is mapped to.

updated_at instance-attribute
updated_at: datetime

The time at which the alias was last updated.