NAME

Paws::LexRuntimeV2::TextResponseEvent

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::TextResponseEvent object:

$service_obj->Method(Att1 => { EventId => $value, ..., Messages => $value  });

Results returned from an API call

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

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

DESCRIPTION

The event sent from Amazon Lex V2 to your application with text to present to the user.

ATTRIBUTES

EventId => Str

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.

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

A list of messages to send to the user. Messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.

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