Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes the specified pronunciation lexicon stored in an Amazon Web
Services Region. A lexicon which has been deleted is not available for
speech synthesis, nor is it possible to retrieve it using either the
GetLexicon
or ListLexicon
APIs.
For more information, see Managing Lexicons.
Synopsis
- data DeleteLexicon = DeleteLexicon' {}
- newDeleteLexicon :: Text -> DeleteLexicon
- deleteLexicon_name :: Lens' DeleteLexicon Text
- data DeleteLexiconResponse = DeleteLexiconResponse' {
- httpStatus :: Int
- newDeleteLexiconResponse :: Int -> DeleteLexiconResponse
- deleteLexiconResponse_httpStatus :: Lens' DeleteLexiconResponse Int
Creating a Request
data DeleteLexicon Source #
See: newDeleteLexicon
smart constructor.
Instances
Create a value of DeleteLexicon
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:name:DeleteLexicon'
, deleteLexicon_name
- The name of the lexicon to delete. Must be an existing lexicon in the
region.
Request Lenses
deleteLexicon_name :: Lens' DeleteLexicon Text Source #
The name of the lexicon to delete. Must be an existing lexicon in the region.
Destructuring the Response
data DeleteLexiconResponse Source #
See: newDeleteLexiconResponse
smart constructor.
DeleteLexiconResponse' | |
|
Instances
newDeleteLexiconResponse Source #
Create a value of DeleteLexiconResponse
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:httpStatus:DeleteLexiconResponse'
, deleteLexiconResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLexiconResponse_httpStatus :: Lens' DeleteLexiconResponse Int Source #
The response's http status code.