NAME

Paws::LexRuntimeV2::DialogAction

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

$service_obj->Method(Att1 => { SlotToElicit => $value, ..., Type => $value  });

Results returned from an API call

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

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

DESCRIPTION

The next action that Amazon Lex V2 should take.

ATTRIBUTES

SlotToElicit => Str

The name of the slot that should be elicited from the user.

REQUIRED Type => Str

The next action that the bot should take in its interaction with the user. The possible values are:

  • Close - Indicates that there will not be a response from the user. For example, the statement "Your order has been placed" does not require a response.

  • ConfirmIntent - The next action is asking the user if the intent is complete and ready to be fulfilled. This is a yes/no question such as "Place the order?"

  • Delegate - The next action is determined by Amazon Lex V2.

  • ElicitSlot - The next action is to elicit a slot value from 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