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

Description

Returns the content of the specified pronunciation lexicon stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

Synopsis

Creating a Request

data GetLexicon Source #

See: newGetLexicon smart constructor.

Constructors

GetLexicon' 

Fields

Instances

Instances details
Eq GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Read GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Show GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Generic GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Associated Types

type Rep GetLexicon :: Type -> Type #

NFData GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Methods

rnf :: GetLexicon -> () #

Hashable GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

AWSRequest GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Associated Types

type AWSResponse GetLexicon #

ToHeaders GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Methods

toHeaders :: GetLexicon -> [Header] #

ToPath GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

ToQuery GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

type Rep GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

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

Defined in Amazonka.Polly.GetLexicon

newGetLexicon Source #

Create a value of GetLexicon 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:GetLexicon', getLexicon_name - Name of the lexicon.

Request Lenses

getLexicon_name :: Lens' GetLexicon Text Source #

Name of the lexicon.

Destructuring the Response

data GetLexiconResponse Source #

See: newGetLexiconResponse smart constructor.

Constructors

GetLexiconResponse' 

Fields

Instances

Instances details
Eq GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Show GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Generic GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Associated Types

type Rep GetLexiconResponse :: Type -> Type #

NFData GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Methods

rnf :: GetLexiconResponse -> () #

type Rep GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

type Rep GetLexiconResponse = D1 ('MetaData "GetLexiconResponse" "Amazonka.Polly.GetLexicon" "libZSservicesZSamazonka-pollyZSamazonka-polly" 'False) (C1 ('MetaCons "GetLexiconResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lexiconAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LexiconAttributes)) :*: (S1 ('MetaSel ('Just "lexicon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Lexicon)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetLexiconResponse Source #

Create a value of GetLexiconResponse 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:lexiconAttributes:GetLexiconResponse', getLexiconResponse_lexiconAttributes - Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.

$sel:lexicon:GetLexiconResponse', getLexiconResponse_lexicon - Lexicon object that provides name and the string content of the lexicon.

$sel:httpStatus:GetLexiconResponse', getLexiconResponse_httpStatus - The response's http status code.

Response Lenses

getLexiconResponse_lexiconAttributes :: Lens' GetLexiconResponse (Maybe LexiconAttributes) Source #

Metadata of the lexicon, including phonetic alphabetic used, language code, lexicon ARN, number of lexemes defined in the lexicon, and size of lexicon in bytes.

getLexiconResponse_lexicon :: Lens' GetLexiconResponse (Maybe Lexicon) Source #

Lexicon object that provides name and the string content of the lexicon.