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.

This is the response object from the GetIntent operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.LexModelBuildingService.Model.GetIntentResponse

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

Syntax

C#
public class GetIntentResponse : AmazonWebServiceResponse

The GetIntentResponse type exposes the following members

Constructors

NameDescription
Public Method GetIntentResponse()

Properties

NameTypeDescription
Public Property Checksum System.String

Gets and sets the property Checksum.

Checksum of the intent.

Public Property ConclusionStatement Amazon.LexModelBuildingService.Model.Statement

Gets and sets the property ConclusionStatement.

After the Lambda function specified in the fulfillmentActivity element fulfills the intent, Amazon Lex conveys this statement to the user.

Public Property ConfirmationPrompt Amazon.LexModelBuildingService.Model.Prompt

Gets and sets the property ConfirmationPrompt.

If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see PutIntent.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CreatedDate System.DateTime

Gets and sets the property CreatedDate.

The date that the intent was created.

Public Property Description System.String

Gets and sets the property Description.

A description of the intent.

Public Property DialogCodeHook Amazon.LexModelBuildingService.Model.CodeHook

Gets and sets the property DialogCodeHook.

If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see PutIntent.

Public Property FollowUpPrompt Amazon.LexModelBuildingService.Model.FollowUpPrompt

Gets and sets the property FollowUpPrompt.

If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see PutIntent.

Public Property FulfillmentActivity Amazon.LexModelBuildingService.Model.FulfillmentActivity

Gets and sets the property FulfillmentActivity.

Describes how the intent is fulfilled. For more information, see PutIntent.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property InputContexts System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.InputContext>

Gets and sets the property InputContexts.

An array of InputContext objects that lists the contexts that must be active for Amazon Lex to choose the intent in a conversation with the user.

Public Property KendraConfiguration Amazon.LexModelBuildingService.Model.KendraConfiguration

Gets and sets the property KendraConfiguration.

Configuration information, if any, to connect to an Amazon Kendra index with the AMAZON.KendraSearchIntent intent.

Public Property LastUpdatedDate System.DateTime

Gets and sets the property LastUpdatedDate.

The date that the intent was updated. When you create a resource, the creation date and the last updated date are the same.

Public Property Name System.String

Gets and sets the property Name.

The name of the intent.

Public Property OutputContexts System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.OutputContext>

Gets and sets the property OutputContexts.

An array of OutputContext objects that lists the contexts that the intent activates when the intent is fulfilled.

Public Property ParentIntentSignature System.String

Gets and sets the property ParentIntentSignature.

A unique identifier for a built-in intent.

Public Property RejectionStatement Amazon.LexModelBuildingService.Model.Statement

Gets and sets the property RejectionStatement.

If the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SampleUtterances System.Collections.Generic.List<System.String>

Gets and sets the property SampleUtterances.

An array of sample utterances configured for the intent.

Public Property Slots System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.Slot>

Gets and sets the property Slots.

An array of intent slots configured for the intent.

Public Property Version System.String

Gets and sets the property Version.

The version of the intent.

Examples

This example shows how to get information about an intent.

To get a information about an intent


var client = new AmazonLexModelBuildingServiceClient();
var response = client.GetIntent(new GetIntentRequest 
{
    Version = "$LATEST",
    Name = "DocOrderPizza"
});

string version = response.Version;
string name = response.Name;
string checksum = response.Checksum;
Statement conclusionStatement = response.ConclusionStatement;
Prompt confirmationPrompt = response.ConfirmationPrompt;
DateTime createdDate = response.CreatedDate;
string description = response.Description;
FulfillmentActivity fulfillmentActivity = response.FulfillmentActivity;
DateTime lastUpdatedDate = response.LastUpdatedDate;
Statement rejectionStatement = response.RejectionStatement;
List<string> sampleUtterances = response.SampleUtterances;
List<Slot> slots = response.Slots;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5