NAME
Paws::LexModelsV2::IntentConfirmationSetting
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::LexModelsV2::IntentConfirmationSetting object:
$service_obj->Method(Att1 => { DeclinationResponse => $value, ..., PromptSpecification => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::LexModelsV2::IntentConfirmationSetting object:
$result = $service_obj->Method(...);
$result->Att1->DeclinationResponse
DESCRIPTION
Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
ATTRIBUTES
REQUIRED DeclinationResponse => Paws::LexModelsV2::ResponseSpecification
When the user answers "no" to the question defined in promptSpecification
, Amazon Lex responds with this response to acknowledge that the intent was canceled.
REQUIRED PromptSpecification => Paws::LexModelsV2::PromptSpecification
Prompts the user to confirm the intent. This question should have a yes or no answer.
Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. For example, with the OrderPizza
intent, you might want to confirm that the order is correct before placing it. For other intents, such as intents that simply respond to user questions, you might not need to ask the user for confirmation before providing the information.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::LexModelsV2
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