create_contact_flow_alias
async
¶
create_contact_flow_alias(
instance_id: InstanceIdOrArn,
contact_flow_id: ARN,
contact_flow_version: ResourceVersion,
alias_name: ContactFlowName,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
description: Optional[ContactFlowDescription] = None,
) -> CreateContactFlowAliasResponse
Creates a named alias that points to a specific version of a flow.
Parameters:
-
instance_id(InstanceIdOrArn) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
description(Optional[ContactFlowDescription], default:None) –The description of the alias.
-
contact_flow_id(ARN) –The identifier of the flow.
-
contact_flow_version(ResourceVersion) –The version of the flow.
-
alias_name(ContactFlowName) –The name of the alias.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
DuplicateResourceException–A resource with the specified name already exists.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–The allowed limit for the resource has been exceeded.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 | |