AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Provides a prompt for making sure that the user is ready for the intent to be fulfilled.

Inheritance Hierarchy

System.Object
  Amazon.LexModelsV2.Model.IntentConfirmationSetting

Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z

Syntax

C#
public class IntentConfirmationSetting

The IntentConfirmationSetting type exposes the following members

Constructors

NameDescription
Public Method IntentConfirmationSetting()

Properties

NameTypeDescription
Public Property Active System.Boolean

Gets and sets the property Active.

Specifies whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent. If the active field isn't specified, the default is true.

Public Property CodeHook Amazon.LexModelsV2.Model.DialogCodeHookInvocationSetting

Gets and sets the property CodeHook.

The DialogCodeHookInvocationSetting object associated with intent's confirmation step. The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step is InvokeDialogCodeHook.

Public Property ConfirmationConditional Amazon.LexModelsV2.Model.ConditionalSpecification

Gets and sets the property ConfirmationConditional.

A list of conditional branches to evaluate after the intent is closed.

Public Property ConfirmationNextStep Amazon.LexModelsV2.Model.DialogState

Gets and sets the property ConfirmationNextStep.

Specifies the next step that the bot executes when the customer confirms the intent.

Public Property ConfirmationResponse Amazon.LexModelsV2.Model.ResponseSpecification

Gets and sets the property ConfirmationResponse.

Public Property DeclinationConditional Amazon.LexModelsV2.Model.ConditionalSpecification

Gets and sets the property DeclinationConditional.

A list of conditional branches to evaluate after the intent is declined.

Public Property DeclinationNextStep Amazon.LexModelsV2.Model.DialogState

Gets and sets the property DeclinationNextStep.

Specifies the next step that the bot executes when the customer declines the intent.

Public Property DeclinationResponse Amazon.LexModelsV2.Model.ResponseSpecification

Gets and sets the property DeclinationResponse.

When the user answers "no" to the question defined in promptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled.

Public Property ElicitationCodeHook Amazon.LexModelsV2.Model.ElicitationCodeHookInvocationSetting

Gets and sets the property ElicitationCodeHook.

The DialogCodeHookInvocationSetting used when the code hook is invoked during confirmation prompt retries.

Public Property FailureConditional Amazon.LexModelsV2.Model.ConditionalSpecification

Gets and sets the property FailureConditional.

Public Property FailureNextStep Amazon.LexModelsV2.Model.DialogState

Gets and sets the property FailureNextStep.

The next step to take in the conversation if the confirmation step fails.

Public Property FailureResponse Amazon.LexModelsV2.Model.ResponseSpecification

Gets and sets the property FailureResponse.

Public Property PromptSpecification Amazon.LexModelsV2.Model.PromptSpecification

Gets and sets the property 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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5