Skip to content

Publishes a new version of the flow provided

Description

Publishes a new version of the flow provided. Versions are immutable and monotonically increasing. If the FlowContentSha256 provided is different from the FlowContentSha256 of the $LATEST published flow content, then an error is returned. This API only supports creating versions for flows of type Campaign.

Usage

connect_create_contact_flow_version(InstanceId, Description,
  ContactFlowId, FlowContentSha256, ContactFlowVersion, LastModifiedTime,
  LastModifiedRegion)

Arguments

  • InstanceId

    [required] The identifier of the Connect Customer instance.

  • Description

    The description of the flow version.

  • ContactFlowId

    [required] The identifier of the flow.

  • FlowContentSha256

    Indicates the checksum value of the flow content.

  • ContactFlowVersion

    The identifier of the flow version.

  • LastModifiedTime

    The Amazon Web Services Region where this resource was last modified.

  • LastModifiedRegion

    The Amazon Web Services Region where this resource was last modified.

Value

A list with the following syntax:

list(
  ContactFlowArn = "string",
  Version = 123
)

Request syntax

svc$create_contact_flow_version(
  InstanceId = "string",
  Description = "string",
  ContactFlowId = "string",
  FlowContentSha256 = "string",
  ContactFlowVersion = 123,
  LastModifiedTime = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedRegion = "string"
)