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
26089 26090 26091 26092 26093 26094 26095 26096 26097 26098 26099 26100 26101 26102 26103 26104 26105 26106 26107 26108 26109 26110 26111 26112 26113 26114 26115 26116 26117 26118 26119 26120 26121 26122 26123 26124 26125 26126 26127 26128 26129 26130 26131 26132 26133 26134 26135 26136 26137 26138 26139 26140 26141 26142 26143 26144 | |