Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Clears existing query suggestions from an index.
This deletes existing suggestions only, not the queries in the query log. After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. If you do not see any new suggestions, then please allow Amazon Kendra to collect enough queries to learn new suggestions.
ClearQuerySuggestions
is currently not supported in the Amazon Web
Services GovCloud (US-West) region.
Synopsis
- data ClearQuerySuggestions = ClearQuerySuggestions' {}
- newClearQuerySuggestions :: Text -> ClearQuerySuggestions
- clearQuerySuggestions_indexId :: Lens' ClearQuerySuggestions Text
- data ClearQuerySuggestionsResponse = ClearQuerySuggestionsResponse' {
- newClearQuerySuggestionsResponse :: ClearQuerySuggestionsResponse
Creating a Request
data ClearQuerySuggestions Source #
See: newClearQuerySuggestions
smart constructor.
Instances
newClearQuerySuggestions Source #
Create a value of ClearQuerySuggestions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:indexId:ClearQuerySuggestions'
, clearQuerySuggestions_indexId
- The identifier of the index you want to clear query suggestions from.
Request Lenses
clearQuerySuggestions_indexId :: Lens' ClearQuerySuggestions Text Source #
The identifier of the index you want to clear query suggestions from.
Destructuring the Response
data ClearQuerySuggestionsResponse Source #
See: newClearQuerySuggestionsResponse
smart constructor.
Instances
newClearQuerySuggestionsResponse :: ClearQuerySuggestionsResponse Source #
Create a value of ClearQuerySuggestionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.