| 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 |
Amazonka.Kendra.DeleteQuerySuggestionsBlockList
Description
Deletes a block list used for query suggestions for an index.
A deleted block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to add back the queries that were previously blocked.
DeleteQuerySuggestionsBlockList is currently not supported in the
Amazon Web Services GovCloud (US-West) region.
Synopsis
- data DeleteQuerySuggestionsBlockList = DeleteQuerySuggestionsBlockList' {}
- newDeleteQuerySuggestionsBlockList :: Text -> Text -> DeleteQuerySuggestionsBlockList
- deleteQuerySuggestionsBlockList_indexId :: Lens' DeleteQuerySuggestionsBlockList Text
- deleteQuerySuggestionsBlockList_id :: Lens' DeleteQuerySuggestionsBlockList Text
- data DeleteQuerySuggestionsBlockListResponse = DeleteQuerySuggestionsBlockListResponse' {
- newDeleteQuerySuggestionsBlockListResponse :: DeleteQuerySuggestionsBlockListResponse
Creating a Request
data DeleteQuerySuggestionsBlockList Source #
See: newDeleteQuerySuggestionsBlockList smart constructor.
Constructors
| DeleteQuerySuggestionsBlockList' | |
Instances
newDeleteQuerySuggestionsBlockList Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteQuerySuggestionsBlockList |
Create a value of DeleteQuerySuggestionsBlockList 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:DeleteQuerySuggestionsBlockList', deleteQuerySuggestionsBlockList_indexId - The identifier of the index for the block list.
DeleteQuerySuggestionsBlockList, deleteQuerySuggestionsBlockList_id - The identifier of the block list you want to delete.
Request Lenses
deleteQuerySuggestionsBlockList_indexId :: Lens' DeleteQuerySuggestionsBlockList Text Source #
The identifier of the index for the block list.
deleteQuerySuggestionsBlockList_id :: Lens' DeleteQuerySuggestionsBlockList Text Source #
The identifier of the block list you want to delete.
Destructuring the Response
data DeleteQuerySuggestionsBlockListResponse Source #
See: newDeleteQuerySuggestionsBlockListResponse smart constructor.
Constructors
| DeleteQuerySuggestionsBlockListResponse' | |
Instances
newDeleteQuerySuggestionsBlockListResponse :: DeleteQuerySuggestionsBlockListResponse Source #
Create a value of DeleteQuerySuggestionsBlockListResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.