kendra_create_faq: Creates a set of frequently ask questions (FAQs) using a...

View source: R/kendra_operations.R

kendra_create_faqR Documentation

Creates a set of frequently ask questions (FAQs) using a specified FAQ file stored in an Amazon S3 bucket

Description

Creates a set of frequently ask questions (FAQs) using a specified FAQ file stored in an Amazon S3 bucket.

See https://www.paws-r-sdk.com/docs/kendra_create_faq/ for full documentation.

Usage

kendra_create_faq(
  IndexId,
  Name,
  Description = NULL,
  S3Path,
  RoleArn,
  Tags = NULL,
  FileFormat = NULL,
  ClientToken = NULL,
  LanguageCode = NULL
)

Arguments

IndexId

[required] The identifier of the index for the FAQ.

Name

[required] A name for the FAQ.

Description

A description for the FAQ.

S3Path

[required] The path to the FAQ file in S3.

RoleArn

[required] The Amazon Resource Name (ARN) of an IAM role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM access roles for Amazon Kendra.

Tags

A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.

FileFormat

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

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

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.


paws.analytics documentation built on Sept. 11, 2023, 5:06 p.m.