update_flow_alias¶
Operation¶
update_flow_alias
¶
update_flow_alias(request: UpdateFlowAliasInput | UpdateFlowAliasInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateFlowAliasInputDict]) -> 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 |
|---|---|---|---|
request
|
UpdateFlowAliasInput | UpdateFlowAliasInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[UpdateFlowAliasInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateFlowAliasOutput
|
An instance of |
update_flow_alias
async
¶
update_flow_alias(request: UpdateFlowAliasInput | UpdateFlowAliasInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateFlowAliasInputDict]) -> 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 |
|---|---|---|---|
request
|
UpdateFlowAliasInput | UpdateFlowAliasInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[UpdateFlowAliasInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateFlowAliasOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
UpdateFlowAliasInputDict
¶
Bases: TypedDict
Dictionary form of UpdateFlowAliasInput.
Attributes¶
alias_identifier
instance-attribute
¶
The unique identifier of the alias.
concurrency_configuration
instance-attribute
¶
concurrency_configuration: FlowAliasConcurrencyConfiguration | FlowAliasConcurrencyConfigurationDict | None
The configuration that specifies how nodes in the flow are executed in parallel.
flow_identifier
instance-attribute
¶
The unique identifier of the flow.
routing_configuration
instance-attribute
¶
routing_configuration: Required[Sequence[FlowAliasRoutingConfigurationListItem | FlowAliasRoutingConfigurationListItemDict]]
Contains information about the version to which to map the alias.
UpdateFlowAliasInput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateFlowAliasInput structure.
Attributes¶
alias_identifier
class-attribute
instance-attribute
¶
alias_identifier: str | None = ...
The unique identifier of the alias.
concurrency_configuration
class-attribute
instance-attribute
¶
concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ...
The configuration that specifies how nodes in the flow are executed in parallel.
description
class-attribute
instance-attribute
¶
description: str | None = ...
A description for the alias.
flow_identifier
class-attribute
instance-attribute
¶
flow_identifier: str | None = ...
The unique identifier of the flow.
routing_configuration
class-attribute
instance-attribute
¶
routing_configuration: list[FlowAliasRoutingConfigurationListItem] | None = ...
Contains information about the version to which to map the alias.
Output¶
UpdateFlowAliasOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateFlowAliasOutput structure.
Attributes¶
concurrency_configuration
class-attribute
instance-attribute
¶
concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ...
The configuration that specifies how nodes in the flow are executed in parallel.
description
class-attribute
instance-attribute
¶
description: str | None = ...
The description of the flow.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
routing_configuration
instance-attribute
¶
routing_configuration: list[FlowAliasRoutingConfigurationListItem]
Contains information about the version that the alias is mapped to.