CreateFeaturedResultsSetRequest
¶
Source code in docs_src/capo_kendra/types/create_featured_results_set_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientTokenName]
A token that you provide to identify the request to create a set of featured results. Multiple calls to the CreateFeaturedResultsSet API with the same client token will create only one featured results set.
description
instance-attribute
¶
description: NotRequired[FeaturedResultsSetDescription]
A description for the set of featured results.
featured_documents
instance-attribute
¶
featured_documents: NotRequired[FeaturedDocumentList]
A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of documents, see FeaturedResultsSet.
featured_results_set_name
instance-attribute
¶
featured_results_set_name: FeaturedResultsSetName
A name for the set of featured results.
index_id
instance-attribute
¶
index_id: IndexId
The identifier of the index that you want to use for featuring results.
query_texts
instance-attribute
¶
query_texts: NotRequired[QueryTextList]
A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
status
instance-attribute
¶
status: NotRequired[FeaturedResultsSetStatus]
The current status of the set of featured results. When the value is ACTIVE, featured results are ready for use. You can still configure your settings before setting the status to ACTIVE. You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status is ACTIVE or INACTIVE.
tags
instance-attribute
¶
tags: NotRequired[TagList]
A list of key-value pairs that identify or categorize the featured results set. You can also use tags to help control access to the featured results set. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols:_ . : / = + - @.