NAME

Paws::LexRuntimeV2::ConfigurationEvent

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::LexRuntimeV2::ConfigurationEvent object:

$service_obj->Method(Att1 => { ClientTimestampMillis => $value, ..., WelcomeMessages => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::LexRuntimeV2::ConfigurationEvent object:

$result = $service_obj->Method(...);
$result->Att1->ClientTimestampMillis

DESCRIPTION

The initial event sent from the application to Amazon Lex V2 to configure the conversation, including session and request attributes and the response content type.

ATTRIBUTES

ClientTimestampMillis => Int

A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

DisablePlayback => Bool

Determines whether Amazon Lex V2 should send audio responses to the client application. When this parameter if false, the client application needs to create responses for the user.

EventId => Str

A unique identifier that your application assigns to the event. You can use this to identify events in logs.

RequestAttributes => Paws::LexRuntimeV2::StringMap

Request-specific information passed between the client application and Amazon Lex V2.

The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes for prefix x-amz-lex:.

REQUIRED ResponseContentType => Str

The message that Amazon Lex V2 returns in the response can be either text or speech based on the responseContentType value.

  • If the value is text/plain;charset=utf-8, Amazon Lex V2 returns text in the response.

  • If the value begins with audio/, Amazon Lex V2 returns speech in the response. Amazon Lex V2 uses Amazon Polly to generate the speech using the configuration that you specified in the requestContentType parameter. For example, if you specify audio/mpeg as the value, Amazon Lex V2 returns speech in the MPEG format.

  • If the value is audio/pcm, the speech returned is audio/pcm in 16-bit, little-endian format.

  • The following are the accepted values:

    • audio/mpeg

    • audio/ogg

    • audio/pcm

    • audio/* (defaults to mpeg)

    • text/plain; charset=utf-8

SessionState => Paws::LexRuntimeV2::SessionState

WelcomeMessages => ArrayRef[Paws::LexRuntimeV2::Message]

A list of messages to send to the user.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::LexRuntimeV2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues