amazonka-polly-2.0: Amazon Polly SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Polly.DeleteLexicon

Description

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

Creating a Request

data DeleteLexicon Source #

See: newDeleteLexicon smart constructor.

Constructors

DeleteLexicon' 

Fields

  • name :: Text

    The name of the lexicon to delete. Must be an existing lexicon in the region.

Instances

Instances details
ToHeaders DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

ToPath DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

ToQuery DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

AWSRequest DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Associated Types

type AWSResponse DeleteLexicon #

Generic DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Associated Types

type Rep DeleteLexicon :: Type -> Type #

Read DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Show DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

NFData DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Methods

rnf :: DeleteLexicon -> () #

Eq DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Hashable DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

type AWSResponse DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

type Rep DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

type Rep DeleteLexicon = D1 ('MetaData "DeleteLexicon" "Amazonka.Polly.DeleteLexicon" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "DeleteLexicon'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteLexicon Source #

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:

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.

Constructors

DeleteLexiconResponse' 

Fields

Instances

Instances details
Generic DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Associated Types

type Rep DeleteLexiconResponse :: Type -> Type #

Read DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Show DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

NFData DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Methods

rnf :: DeleteLexiconResponse -> () #

Eq DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

type Rep DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

type Rep DeleteLexiconResponse = D1 ('MetaData "DeleteLexiconResponse" "Amazonka.Polly.DeleteLexicon" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "DeleteLexiconResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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