create_flow_alias
async
¶
create_flow_alias(
name: Name,
routing_configuration: FlowAliasRoutingConfiguration,
flow_identifier: FlowIdentifier,
*,
config_overrides: Optional[AsyncBedrockAgentClientConfig] = None,
description: Optional[Description] = None,
concurrency_configuration: Optional[FlowAliasConcurrencyConfiguration] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[TagsMap] = None,
) -> CreateFlowAliasResponse
Creates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
Parameters:
-
name(Name) –A name for the alias.
-
description(Optional[Description], default:None) –A description for the alias.
-
routing_configuration(FlowAliasRoutingConfiguration) –Contains information about the version to which to map the alias.
-
concurrency_configuration(Optional[FlowAliasConcurrencyConfiguration], default:None) –The configuration that specifies how nodes in the flow are executed in parallel.
-
flow_identifier(FlowIdentifier) –The unique identifier of the flow for which to create an alias.
-
client_token(Optional[ClientToken], default:None) –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.
-
tags(Optional[TagsMap], default:None) –Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.
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
3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 | |