Skip to content

Enables in-flight message processing for an ongoing chat session

Description

Enables in-flight message processing for an ongoing chat session. Message processing will stay active for the rest of the chat, even if an individual contact segment ends.

Usage

connect_start_contact_media_processing(InstanceId, ContactId,
  ProcessorArn, FailureMode)

Arguments

  • InstanceId

The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • ContactId

The identifier of the contact.

  • ProcessorArn

The Amazon Resource Name (ARN) of the Lambda processor. You can find the Amazon Resource Name of the lambda in the lambda console.

  • FailureMode

The desired behavior for failed message processing.

Value

An empty list.

Request syntax

svc$start_contact_media_processing(
  InstanceId = "string",
  ContactId = "string",
  ProcessorArn = "string",
  FailureMode = "DELIVER_UNPROCESSED_MESSAGE"|"DO_NOT_DELIVER_UNPROCESSED_MESSAGE"
)