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 |
Deletes an existing Amazon Kendra thesaurus.
Synopsis
- data DeleteThesaurus = DeleteThesaurus' {}
- newDeleteThesaurus :: Text -> Text -> DeleteThesaurus
- deleteThesaurus_id :: Lens' DeleteThesaurus Text
- deleteThesaurus_indexId :: Lens' DeleteThesaurus Text
- data DeleteThesaurusResponse = DeleteThesaurusResponse' {
- newDeleteThesaurusResponse :: DeleteThesaurusResponse
Creating a Request
data DeleteThesaurus Source #
See: newDeleteThesaurus
smart constructor.
Instances
Create a value of DeleteThesaurus
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:
DeleteThesaurus
, deleteThesaurus_id
- The identifier of the thesaurus you want to delete.
$sel:indexId:DeleteThesaurus'
, deleteThesaurus_indexId
- The identifier of the index for the thesaurus.
Request Lenses
deleteThesaurus_id :: Lens' DeleteThesaurus Text Source #
The identifier of the thesaurus you want to delete.
deleteThesaurus_indexId :: Lens' DeleteThesaurus Text Source #
The identifier of the index for the thesaurus.
Destructuring the Response
data DeleteThesaurusResponse Source #
See: newDeleteThesaurusResponse
smart constructor.
Instances
Generic DeleteThesaurusResponse Source # | |
Defined in Amazonka.Kendra.DeleteThesaurus type Rep DeleteThesaurusResponse :: Type -> Type # | |
Read DeleteThesaurusResponse Source # | |
Show DeleteThesaurusResponse Source # | |
Defined in Amazonka.Kendra.DeleteThesaurus showsPrec :: Int -> DeleteThesaurusResponse -> ShowS # show :: DeleteThesaurusResponse -> String # showList :: [DeleteThesaurusResponse] -> ShowS # | |
NFData DeleteThesaurusResponse Source # | |
Defined in Amazonka.Kendra.DeleteThesaurus rnf :: DeleteThesaurusResponse -> () # | |
Eq DeleteThesaurusResponse Source # | |
Defined in Amazonka.Kendra.DeleteThesaurus | |
type Rep DeleteThesaurusResponse Source # | |
newDeleteThesaurusResponse :: DeleteThesaurusResponse Source #
Create a value of DeleteThesaurusResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.