AudioResponseEvent - Amazon Lex API Reference

AudioResponseEvent

An event sent from Amazon Lex V2 to your client application containing audio to play to the user.

Contents

audioChunk

A chunk of the audio to play.

Type: Base64-encoded binary data object

Required: No

contentType

The encoding of the audio chunk. This is the same as the encoding configure in the contentType field of the ConfigurationEvent.

Type: String

Length Constraints: Minimum length of 1.

Required: No

eventId

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

Type: String

Length Constraints: Minimum length of 2. Maximum length of 100.

Pattern: [0-9a-zA-Z._:-]+

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: