update_contact_flow_content
async
¶
update_contact_flow_content(
instance_id: InstanceId,
contact_flow_id: ContactFlowId,
content: ContactFlowContent,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
) -> UpdateContactFlowContentResponse
Updates the specified flow.
You can also create and update flows using the Connect Customer Flow language.
Use the $SAVED alias in the request to describe the SAVED content of a Flow. For example, arn:aws:.../contact-flow/{id}:$SAVED. After a flow is published, $SAVED needs to be supplied to view saved content that has not been published.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance.
-
contact_flow_id(ContactFlowId) –The identifier of the flow.
-
content(ContactFlowContent) –The JSON string that represents the content of the flow. For an example, see Example flow in Connect Customer Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidContactFlowException–The flow is not valid.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
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
25844 25845 25846 25847 25848 25849 25850 25851 25852 25853 25854 25855 25856 25857 25858 25859 25860 25861 25862 25863 25864 25865 25866 25867 25868 25869 25870 25871 25872 25873 25874 25875 25876 25877 25878 25879 25880 25881 25882 25883 25884 25885 25886 25887 25888 25889 25890 25891 25892 25893 25894 25895 25896 25897 25898 25899 | |