class Aws::LexRuntimeV2::Types::AudioInputEvent

Represents a chunk of audio sent from the client application to Amazon Lex V2. The audio is all or part of an utterance from the user.

Amazon Lex V2 accumulates audio chunks until it recognizes a natural pause in speech before processing the input.

@note When making an API call, you may pass AudioInputEvent

data as a hash:

    {
      audio_chunk: "data",
      content_type: "NonEmptyString", # required
      event_id: "EventId",
      client_timestamp_millis: 1,
    }

@!attribute [rw] audio_chunk

An encoded stream of audio.
@return [String]

@!attribute [rw] content_type

The encoding used for the audio chunk. You must use 8 KHz PCM 16-bit
mono-channel little-endian format. The value of the field should be:

`audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1;
is-big-endian=false`
@return [String]

@!attribute [rw] event_id

A unique identifier that your application assigns to the event. You
can use this to identify events in logs.
@return [String]

@!attribute [rw] client_timestamp_millis

A timestamp set by the client of the date and time that the event
was sent to Amazon Lex V2.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/AudioInputEvent AWS API Documentation

Constants

SENSITIVE