interface ExactResponseFieldsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.ExactResponseFieldsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_ExactResponseFieldsProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.ExactResponseFieldsProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.ExactResponseFieldsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » ExactResponseFieldsProperty |
Contains the names of the fields used for an exact response to the user.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const exactResponseFieldsProperty: lex_mixins.CfnBotPropsMixin.ExactResponseFieldsProperty = {
answerField: 'answerField',
questionField: 'questionField',
};
Properties
| Name | Type | Description |
|---|---|---|
| answer | string | The name of the field that contains the answer to the query made to the OpenSearch Service database. |
| question | string | The name of the field that contains the query made to the OpenSearch Service database. |
answerField?
Type:
string
(optional)
The name of the field that contains the answer to the query made to the OpenSearch Service database.
questionField?
Type:
string
(optional)
The name of the field that contains the query made to the OpenSearch Service database.

.NET
Go
Java
Python
TypeScript