libZSservicesZSamazonka-pollyZSamazonka-polly
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Read DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Show DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Generic DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Associated Types

type Rep DeleteLexicon :: Type -> Type #

NFData DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Methods

rnf :: DeleteLexicon -> () #

Hashable DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

AWSRequest DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Associated Types

type AWSResponse DeleteLexicon #

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

type Rep DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

type Rep DeleteLexicon = D1 ('MetaData "DeleteLexicon" "Amazonka.Polly.DeleteLexicon" "libZSservicesZSamazonka-pollyZSamazonka-polly" 'False) (C1 ('MetaCons "DeleteLexicon'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteLexicon Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

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:

$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.

Constructors

DeleteLexiconResponse' 

Fields

Instances

Instances details
Eq DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Read DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Show DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Generic DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Associated Types

type Rep DeleteLexiconResponse :: Type -> Type #

NFData DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

Methods

rnf :: DeleteLexiconResponse -> () #

type Rep DeleteLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.DeleteLexicon

type Rep DeleteLexiconResponse = D1 ('MetaData "DeleteLexiconResponse" "Amazonka.Polly.DeleteLexicon" "libZSservicesZSamazonka-pollyZSamazonka-polly" '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