Skip to content

CreateFaqRequest

Source code in docs_src/capo_kendra/types/create_faq_request.py
class CreateFaqRequest(TypedDict, closed=True):
    index_id: "capo_kendra.types.index_id.IndexId"
    """<p>The identifier of the index for the FAQ.</p>"""
    name: "capo_kendra.types.faq_name.FaqName"
    """<p>A name for the FAQ.</p>"""
    description: NotRequired["capo_kendra.types.description.Description"]
    """<p>A description for the FAQ.</p>"""
    s3_path: "capo_kendra.types.s3_path.S3Path"
    """<p>The path to the FAQ file in S3.</p>"""
    role_arn: "capo_kendra.types.role_arn.RoleArn"
    """<p>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 <a href="https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html">IAM access roles for Amazon Kendra</a>.</p>"""
    tags: NotRequired["capo_kendra.types.tag_list.TagList"]
    """<p>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.</p>"""
    file_format: NotRequired["capo_kendra.types.faq_file_format.FaqFileFormat"]
    """<p>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.</p> <p>The default format is CSV.</p> <p>The format must match the format of the file stored in the S3 bucket identified in the <code>S3Path</code> parameter.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html">Adding questions and answers</a>.</p>"""
    client_token: NotRequired["capo_kendra.types.client_token_name.ClientTokenName"]
    """<p>A token that you provide to identify the request to create a FAQ. Multiple calls to the <code>CreateFaqRequest</code> API with the same client token will create only one FAQ. </p>"""
    language_code: NotRequired["capo_kendra.types.language_code.LanguageCode"]
    """<p>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 <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html">Adding documents in languages other than English</a>.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientTokenName]

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.

description instance-attribute

description: NotRequired[Description]

A description for the FAQ.

file_format instance-attribute

file_format: NotRequired[FaqFileFormat]

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.

index_id instance-attribute

index_id: IndexId

The identifier of the index for the FAQ.

language_code instance-attribute

language_code: NotRequired[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.

name instance-attribute

name: FaqName

A name for the FAQ.

role_arn instance-attribute

role_arn: RoleArn

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.

s3_path instance-attribute

s3_path: S3Path

The path to the FAQ file in S3.

tags instance-attribute

tags: NotRequired[TagList]

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.