create_contact_flow_module
¶
create_contact_flow_module(
instance_id: InstanceId,
name: ContactFlowModuleName,
content: ContactFlowModuleContent,
*,
config_overrides: Optional[ConnectClientConfig] = None,
description: Optional[ContactFlowModuleDescription] = None,
tags: Optional[TagMap] = None,
client_token: Optional[ClientToken] = None,
settings: Optional[FlowModuleSettings] = None,
external_invocation_configuration: Optional[ExternalInvocationConfiguration] = None,
) -> CreateContactFlowModuleResponse
Creates a flow module for the specified Connect Customer instance.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
name(ContactFlowModuleName) –The name of the flow module.
-
description(Optional[ContactFlowModuleDescription], default:None) –The description of the flow module.
-
content(ContactFlowModuleContent) –The JSON string that represents the content of the flow. For an example, see Example flow in Connect Customer Flow language.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
-
settings(Optional[FlowModuleSettings], default:None) –The configuration settings for the flow module.
-
external_invocation_configuration(Optional[ExternalInvocationConfiguration], default:None) –The external invocation configuration for the flow module.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
DuplicateResourceException–A resource with the specified name already exists.
-
IdempotencyException–An entity with the same name already exists.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidContactFlowModuleException–The problems with the module. Please fix before trying again.
-
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/connect.py
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 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 | |