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 |
Updates a thesaurus for an index.
Synopsis
- data UpdateThesaurus = UpdateThesaurus' {}
- newUpdateThesaurus :: Text -> Text -> UpdateThesaurus
- updateThesaurus_description :: Lens' UpdateThesaurus (Maybe Text)
- updateThesaurus_name :: Lens' UpdateThesaurus (Maybe Text)
- updateThesaurus_roleArn :: Lens' UpdateThesaurus (Maybe Text)
- updateThesaurus_sourceS3Path :: Lens' UpdateThesaurus (Maybe S3Path)
- updateThesaurus_id :: Lens' UpdateThesaurus Text
- updateThesaurus_indexId :: Lens' UpdateThesaurus Text
- data UpdateThesaurusResponse = UpdateThesaurusResponse' {
- newUpdateThesaurusResponse :: UpdateThesaurusResponse
Creating a Request
data UpdateThesaurus Source #
See: newUpdateThesaurus
smart constructor.
UpdateThesaurus' | |
|
Instances
Create a value of UpdateThesaurus
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:description:UpdateThesaurus'
, updateThesaurus_description
- A new description for the thesaurus.
UpdateThesaurus
, updateThesaurus_name
- A new name for the thesaurus.
UpdateThesaurus
, updateThesaurus_roleArn
- An IAM role that gives Amazon Kendra permissions to access thesaurus
file specified in SourceS3Path
.
$sel:sourceS3Path:UpdateThesaurus'
, updateThesaurus_sourceS3Path
- Undocumented member.
UpdateThesaurus
, updateThesaurus_id
- The identifier of the thesaurus you want to update.
$sel:indexId:UpdateThesaurus'
, updateThesaurus_indexId
- The identifier of the index for the thesaurus.
Request Lenses
updateThesaurus_description :: Lens' UpdateThesaurus (Maybe Text) Source #
A new description for the thesaurus.
updateThesaurus_name :: Lens' UpdateThesaurus (Maybe Text) Source #
A new name for the thesaurus.
updateThesaurus_roleArn :: Lens' UpdateThesaurus (Maybe Text) Source #
An IAM role that gives Amazon Kendra permissions to access thesaurus
file specified in SourceS3Path
.
updateThesaurus_sourceS3Path :: Lens' UpdateThesaurus (Maybe S3Path) Source #
Undocumented member.
updateThesaurus_id :: Lens' UpdateThesaurus Text Source #
The identifier of the thesaurus you want to update.
updateThesaurus_indexId :: Lens' UpdateThesaurus Text Source #
The identifier of the index for the thesaurus.
Destructuring the Response
data UpdateThesaurusResponse Source #
See: newUpdateThesaurusResponse
smart constructor.
Instances
Generic UpdateThesaurusResponse Source # | |
Defined in Amazonka.Kendra.UpdateThesaurus type Rep UpdateThesaurusResponse :: Type -> Type # | |
Read UpdateThesaurusResponse Source # | |
Show UpdateThesaurusResponse Source # | |
Defined in Amazonka.Kendra.UpdateThesaurus showsPrec :: Int -> UpdateThesaurusResponse -> ShowS # show :: UpdateThesaurusResponse -> String # showList :: [UpdateThesaurusResponse] -> ShowS # | |
NFData UpdateThesaurusResponse Source # | |
Defined in Amazonka.Kendra.UpdateThesaurus rnf :: UpdateThesaurusResponse -> () # | |
Eq UpdateThesaurusResponse Source # | |
Defined in Amazonka.Kendra.UpdateThesaurus | |
type Rep UpdateThesaurusResponse Source # | |
newUpdateThesaurusResponse :: UpdateThesaurusResponse Source #
Create a value of UpdateThesaurusResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.