update_contact_flow_content
¶
update_contact_flow_content(
instance_id: InstanceId,
contact_flow_id: ContactFlowId,
content: ContactFlowContent,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
25501 25502 25503 25504 25505 25506 25507 25508 25509 25510 25511 25512 25513 25514 25515 25516 25517 25518 25519 25520 25521 25522 25523 25524 25525 25526 25527 25528 25529 25530 25531 25532 25533 25534 25535 25536 25537 25538 25539 25540 25541 25542 25543 25544 25545 25546 25547 25548 25549 25550 25551 25552 25553 25554 25555 | |