create_contact_flow_module
async
¶
create_contact_flow_module(
instance_id: InstanceId,
name: ContactFlowModuleName,
content: ContactFlowModuleContent,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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/async_connect.py
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 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 | |