ExactResponseFieldsProperty Struct
Contains the names of the fields used for an exact response to the user.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const exactResponseFieldsProperty: lex.CfnBot.ExactResponseFieldsProperty = {
answerField: 'answerField',
questionField: 'questionField',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex
exact_response_fields_property = lex.CfnBot.ExactResponseFieldsProperty(
answer_field="answerField",
question_field="questionField"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;
ExactResponseFieldsProperty exactResponseFieldsProperty = ExactResponseFieldsProperty.builder()
.answerField("answerField")
.questionField("questionField")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var exactResponseFieldsProperty = new ExactResponseFieldsProperty {
AnswerField = "answerField",
QuestionField = "questionField"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
exactResponseFieldsProperty := &ExactResponseFieldsProperty{
AnswerField: jsii.String("answerField"),
QuestionField: jsii.String("questionField"),
}
Properties
answerFieldoptionalstringanswer_fieldoptionalstranswerFieldoptionalStringAnswerFieldoptionalstringAnswerFieldoptional*string #The name of the field that contains the answer to the query made to the OpenSearch Service database.
questionFieldoptionalstringquestion_fieldoptionalstrquestionFieldoptionalStringQuestionFieldoptionalstringQuestionFieldoptional*string #The name of the field that contains the query made to the OpenSearch Service database.