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.
Namespace: Amazon.LexModelBuildingService.Model
Assembly: AWSSDK.LexModelBuildingService.dll
Version: 3.x.y.z
public class GetIntentResponse : AmazonWebServiceResponse
The GetIntentResponse type exposes the following members
Name | Description | |
---|---|---|
GetIntentResponse() |
Name | Type | Description | |
---|---|---|---|
Checksum | System.String |
Gets and sets the property Checksum. Checksum of the intent. |
|
ConclusionStatement | Amazon.LexModelBuildingService.Model.Statement |
Gets and sets the property ConclusionStatement.
After the Lambda function specified in the |
|
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. |
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
CreatedDate | System.DateTime |
Gets and sets the property CreatedDate. The date that the intent was created. |
|
Description | System.String |
Gets and sets the property Description. A description of the intent. |
|
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. |
|
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. |
|
FulfillmentActivity | Amazon.LexModelBuildingService.Model.FulfillmentActivity |
Gets and sets the property FulfillmentActivity. Describes how the intent is fulfilled. For more information, see PutIntent. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
InputContexts | System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.InputContext> |
Gets and sets the property InputContexts.
An array of |
|
KendraConfiguration | Amazon.LexModelBuildingService.Model.KendraConfiguration |
Gets and sets the property KendraConfiguration.
Configuration information, if any, to connect to an Amazon Kendra index with the |
|
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. |
|
Name | System.String |
Gets and sets the property Name. The name of the intent. |
|
OutputContexts | System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.OutputContext> |
Gets and sets the property OutputContexts.
An array of |
|
ParentIntentSignature | System.String |
Gets and sets the property ParentIntentSignature. A unique identifier for a built-in intent. |
|
RejectionStatement | Amazon.LexModelBuildingService.Model.Statement |
Gets and sets the property RejectionStatement.
If the user answers "no" to the question defined in |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
SampleUtterances | System.Collections.Generic.List<System.String> |
Gets and sets the property SampleUtterances. An array of sample utterances configured for the intent. |
|
Slots | System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.Slot> |
Gets and sets the property Slots. An array of intent slots configured for the intent. |
|
Version | System.String |
Gets and sets the property Version. The version of the intent. |
This example shows how to get 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;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5