Values.CreateFaqRequestSourceCreates a set of frequently ask questions (FAQs) using a specified FAQ file stored in an Amazon S3 bucket. Adding FAQs to an index is an asynchronous operation. For an example of adding an FAQ to an index using Python and Java SDKs, see Using your FAQ file.
type nonrec t = {indexId : IndexId.t;The identifier of the index for the FAQ.
*)name : FaqName.t;A name for the FAQ.
*)description : Description.t option;A description for the FAQ.
*)s3Path : S3Path.t;The path to the FAQ file in S3.
*)roleArn : RoleArn.t;The Amazon Resource Name (ARN) of an IAM role with permission to access the S3 bucket that contains the FAQ file. For more information, see IAM access roles for Amazon Kendra.
*)fileFormat : FaqFileFormat.t option;The format of the FAQ input file. You can choose between a basic CSV format, a CSV format that includes customs attributes in a header, and a JSON format that includes custom attributes. The default format is CSV. The format must match the format of the file stored in the S3 bucket identified in the S3Path parameter. For more information, see Adding questions and answers.
*)clientToken : ClientTokenName.t option;A token that you provide to identify the request to create a FAQ. Multiple calls to the CreateFaqRequest API with the same client token will create only one FAQ.
*)languageCode : LanguageCode.t option;The code for a language. This allows you to support a language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of TagKey.t ]) list ] list
| `String of IndexId.t
| `Structure of (string * [> `String of S3BucketName.t ]) list ])
list ]