Skip to content

Updates the specified flow

Description

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.

Usage

connect_update_contact_flow_content(InstanceId, ContactFlowId, Content)

Arguments

  • InstanceId

    [required] The identifier of the Connect Customer instance.

  • ContactFlowId

    [required] The identifier of the flow.

  • Content

    [required] 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.

Value

An empty list.

Request syntax

svc$update_contact_flow_content(
  InstanceId = "string",
  ContactFlowId = "string",
  Content = "string"
)