[ aws . kendra ]

list-faqs

Description

Gets a list of FAQ lists associated with an index.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  list-faqs
--index-id <value>
[--next-token <value>]
[--max-results <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--cli-auto-prompt <value>]

Options

--index-id (string)

The index that contains the FAQ lists.

--next-token (string)

If the result of the previous request to ListFaqs was truncated, include the NextToken to fetch the next set of FAQs.

--max-results (integer)

The maximum number of FAQs to return in the response. If there are fewer results in the list, this response contains only the actual results.

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

--cli-auto-prompt (boolean) Automatically prompt for CLI input parameters.

See ‘aws help’ for descriptions of global parameters.

Output

NextToken -> (string)

The ListFaqs operation returns a page of FAQs at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Kendra returns the NextPage token. Include the token in the next request to the ListFaqs operation to return the next page of FAQs.

FaqSummaryItems -> (list)

information about the FAQs associated with the specified index.

(structure)

Provides information about a frequently asked questions and answer contained in an index.

Id -> (string)

The unique identifier of the FAQ.

Name -> (string)

The name that you assigned the FAQ when you created or updated the FAQ.

Status -> (string)

The current status of the FAQ. When the status is ACTIVE the FAQ is ready for use.

CreatedAt -> (timestamp)

The UNIX datetime that the FAQ was added to the index.

UpdatedAt -> (timestamp)

The UNIX datetime that the FAQ was last updated.