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

Description

Derived from API version 2016-06-10 of the AWS service descriptions, licensed under Apache 2.0.

Amazon Polly is a web service that makes it easy to synthesize speech from text.

The Amazon Polly service provides API operations for synthesizing high-quality speech from plain text and Speech Synthesis Markup Language (SSML), along with managing pronunciations lexicons that enable you to get the best results for your application domain.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2016-06-10 of the Amazon Polly SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Polly.

EngineNotSupportedException

_EngineNotSupportedException :: AsError a => Fold a ServiceError Source #

This engine is not compatible with the voice that you have designated. Choose a new voice that is compatible with the engine or change the engine and restart the operation.

InvalidLexiconException

_InvalidLexiconException :: AsError a => Fold a ServiceError Source #

Amazon Polly can't find the specified lexicon. Verify that the lexicon's name is spelled correctly, and then try again.

InvalidNextTokenException

_InvalidNextTokenException :: AsError a => Fold a ServiceError Source #

The NextToken is invalid. Verify that it's spelled correctly, and then try again.

InvalidS3BucketException

_InvalidS3BucketException :: AsError a => Fold a ServiceError Source #

The provided Amazon S3 bucket name is invalid. Please check your input with S3 bucket naming requirements and try again.

InvalidS3KeyException

_InvalidS3KeyException :: AsError a => Fold a ServiceError Source #

The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object key name.

InvalidSampleRateException

_InvalidSampleRateException :: AsError a => Fold a ServiceError Source #

The specified sample rate is not valid.

InvalidSnsTopicArnException

_InvalidSnsTopicArnException :: AsError a => Fold a ServiceError Source #

The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN and try again.

InvalidSsmlException

_InvalidSsmlException :: AsError a => Fold a ServiceError Source #

The SSML you provided is invalid. Verify the SSML syntax, spelling of tags and values, and then try again.

InvalidTaskIdException

_InvalidTaskIdException :: AsError a => Fold a ServiceError Source #

The provided Task ID is not valid. Please provide a valid Task ID and try again.

LanguageNotSupportedException

_LanguageNotSupportedException :: AsError a => Fold a ServiceError Source #

The language specified is not currently supported by Amazon Polly in this capacity.

LexiconNotFoundException

_LexiconNotFoundException :: AsError a => Fold a ServiceError Source #

Amazon Polly can't find the specified lexicon. This could be caused by a lexicon that is missing, its name is misspelled or specifying a lexicon that is in a different region.

Verify that the lexicon exists, is in the region (see ListLexicons) and that you spelled its name is spelled correctly. Then try again.

LexiconSizeExceededException

_LexiconSizeExceededException :: AsError a => Fold a ServiceError Source #

The maximum size of the specified lexicon would be exceeded by this operation.

MarksNotSupportedForFormatException

_MarksNotSupportedForFormatException :: AsError a => Fold a ServiceError Source #

Speech marks are not supported for the OutputFormat selected. Speech marks are only available for content in json format.

MaxLexemeLengthExceededException

_MaxLexemeLengthExceededException :: AsError a => Fold a ServiceError Source #

The maximum size of the lexeme would be exceeded by this operation.

MaxLexiconsNumberExceededException

_MaxLexiconsNumberExceededException :: AsError a => Fold a ServiceError Source #

The maximum number of lexicons would be exceeded by this operation.

ServiceFailureException

_ServiceFailureException :: AsError a => Fold a ServiceError Source #

An unknown condition has caused a service failure.

SsmlMarksNotSupportedForTextTypeException

_SsmlMarksNotSupportedForTextTypeException :: AsError a => Fold a ServiceError Source #

SSML speech marks are not supported for plain text-type input.

SynthesisTaskNotFoundException

_SynthesisTaskNotFoundException :: AsError a => Fold a ServiceError Source #

The Speech Synthesis task with requested Task ID cannot be found.

TextLengthExceededException

_TextLengthExceededException :: AsError a => Fold a ServiceError Source #

The value of the "Text" parameter is longer than the accepted limits. For the SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters total, of which no more than 3000 can be billed characters. For the StartSpeechSynthesisTask API, the maximum is 200,000 characters, of which no more than 100,000 can be billed characters. SSML tags are not counted as billed characters.

UnsupportedPlsAlphabetException

_UnsupportedPlsAlphabetException :: AsError a => Fold a ServiceError Source #

The alphabet specified by the lexicon is not a supported alphabet. Valid values are x-sampa and ipa.

UnsupportedPlsLanguageException

_UnsupportedPlsLanguageException :: AsError a => Fold a ServiceError Source #

The language specified in the lexicon is unsupported. For a list of supported languages, see Lexicon Attributes.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DeleteLexicon

data DeleteLexicon Source #

See: newDeleteLexicon smart constructor.

Constructors

DeleteLexicon' Text 

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.

data DeleteLexiconResponse Source #

See: newDeleteLexiconResponse smart constructor.

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.

DescribeVoices (Paginated)

data DescribeVoices Source #

See: newDescribeVoices smart constructor.

Instances

Instances details
ToHeaders DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

ToPath DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

ToQuery DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

AWSPager DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

AWSRequest DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

Associated Types

type AWSResponse DescribeVoices #

Generic DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

Associated Types

type Rep DescribeVoices :: Type -> Type #

Read DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

Show DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

NFData DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

Methods

rnf :: DescribeVoices -> () #

Eq DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

Hashable DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

type AWSResponse DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

type Rep DescribeVoices Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

type Rep DescribeVoices = D1 ('MetaData "DescribeVoices" "Amazonka.Polly.DescribeVoices" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "DescribeVoices'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Engine)) :*: S1 ('MetaSel ('Just "includeAdditionalLanguageCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeVoices :: DescribeVoices Source #

Create a value of DescribeVoices 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:

DescribeVoices, describeVoices_engine - Specifies the engine (standard or neural) used by Amazon Polly when processing input text for speech synthesis.

$sel:includeAdditionalLanguageCodes:DescribeVoices', describeVoices_includeAdditionalLanguageCodes - Boolean value indicating whether to return any bilingual voices that use the specified language as an additional language. For instance, if you request all languages that use US English (es-US), and there is an Italian voice that speaks both Italian (it-IT) and US English, that voice will be included if you specify yes but not if you specify no.

DescribeVoices, describeVoices_languageCode - The language identification tag (ISO 639 code for the language name-ISO 3166 country code) for filtering the list of voices returned. If you don't specify this optional parameter, all available voices are returned.

DescribeVoices, describeVoices_nextToken - An opaque pagination token returned from the previous DescribeVoices operation. If present, this indicates where to continue the listing.

data DescribeVoicesResponse Source #

See: newDescribeVoicesResponse smart constructor.

Instances

Instances details
Generic DescribeVoicesResponse Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

Associated Types

type Rep DescribeVoicesResponse :: Type -> Type #

Read DescribeVoicesResponse Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

Show DescribeVoicesResponse Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

NFData DescribeVoicesResponse Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

Methods

rnf :: DescribeVoicesResponse -> () #

Eq DescribeVoicesResponse Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

type Rep DescribeVoicesResponse Source # 
Instance details

Defined in Amazonka.Polly.DescribeVoices

type Rep DescribeVoicesResponse = D1 ('MetaData "DescribeVoicesResponse" "Amazonka.Polly.DescribeVoices" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "DescribeVoicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "voices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Voice])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeVoicesResponse Source #

Create a value of DescribeVoicesResponse 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:

DescribeVoices, describeVoicesResponse_nextToken - The pagination token to use in the next request to continue the listing of voices. NextToken is returned only if the response is truncated.

$sel:voices:DescribeVoicesResponse', describeVoicesResponse_voices - A list of voices with their properties.

$sel:httpStatus:DescribeVoicesResponse', describeVoicesResponse_httpStatus - The response's http status code.

GetLexicon

data GetLexicon Source #

See: newGetLexicon smart constructor.

Constructors

GetLexicon' Text 

Instances

Instances details
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

AWSRequest GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Associated Types

type AWSResponse GetLexicon #

Generic GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Associated Types

type Rep GetLexicon :: Type -> Type #

Read GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Show GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

NFData GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Methods

rnf :: GetLexicon -> () #

Eq GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Hashable GetLexicon Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

type AWSResponse 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" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "GetLexicon'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetLexicon Source #

Arguments

:: Text

GetLexicon

-> GetLexicon 

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:

GetLexicon, getLexicon_name - Name of the lexicon.

data GetLexiconResponse Source #

See: newGetLexiconResponse smart constructor.

Instances

Instances details
Generic GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Associated Types

type Rep GetLexiconResponse :: Type -> Type #

Show GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

NFData GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

Methods

rnf :: GetLexiconResponse -> () #

Eq GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

type Rep GetLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.GetLexicon

type Rep GetLexiconResponse = D1 ('MetaData "GetLexiconResponse" "Amazonka.Polly.GetLexicon" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "GetLexiconResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lexicon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Lexicon)) :*: (S1 ('MetaSel ('Just "lexiconAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LexiconAttributes)) :*: 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:lexicon:GetLexiconResponse', getLexiconResponse_lexicon - Lexicon object that provides name and the string content of the lexicon.

$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:httpStatus:GetLexiconResponse', getLexiconResponse_httpStatus - The response's http status code.

GetSpeechSynthesisTask

data GetSpeechSynthesisTask Source #

See: newGetSpeechSynthesisTask smart constructor.

Instances

Instances details
ToHeaders GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

ToPath GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

ToQuery GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

AWSRequest GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Associated Types

type AWSResponse GetSpeechSynthesisTask #

Generic GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Associated Types

type Rep GetSpeechSynthesisTask :: Type -> Type #

Read GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Show GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

NFData GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Methods

rnf :: GetSpeechSynthesisTask -> () #

Eq GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Hashable GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

type AWSResponse GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

type Rep GetSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

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

newGetSpeechSynthesisTask Source #

Create a value of GetSpeechSynthesisTask 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:

GetSpeechSynthesisTask, getSpeechSynthesisTask_taskId - The Amazon Polly generated identifier for a speech synthesis task.

data GetSpeechSynthesisTaskResponse Source #

See: newGetSpeechSynthesisTaskResponse smart constructor.

Instances

Instances details
Generic GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Associated Types

type Rep GetSpeechSynthesisTaskResponse :: Type -> Type #

Read GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Show GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

NFData GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

Eq GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

type Rep GetSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.GetSpeechSynthesisTask

type Rep GetSpeechSynthesisTaskResponse = D1 ('MetaData "GetSpeechSynthesisTaskResponse" "Amazonka.Polly.GetSpeechSynthesisTask" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "GetSpeechSynthesisTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "synthesisTask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SynthesisTask)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetSpeechSynthesisTaskResponse Source #

Create a value of GetSpeechSynthesisTaskResponse 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:synthesisTask:GetSpeechSynthesisTaskResponse', getSpeechSynthesisTaskResponse_synthesisTask - SynthesisTask object that provides information from the requested task, including output format, creation time, task status, and so on.

$sel:httpStatus:GetSpeechSynthesisTaskResponse', getSpeechSynthesisTaskResponse_httpStatus - The response's http status code.

ListLexicons (Paginated)

data ListLexicons Source #

See: newListLexicons smart constructor.

Constructors

ListLexicons' (Maybe Text) 

Instances

Instances details
ToHeaders ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

ToPath ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

ToQuery ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

AWSPager ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

AWSRequest ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

Associated Types

type AWSResponse ListLexicons #

Generic ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

Associated Types

type Rep ListLexicons :: Type -> Type #

Read ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

Show ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

NFData ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

Methods

rnf :: ListLexicons -> () #

Eq ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

Hashable ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

type AWSResponse ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

type Rep ListLexicons Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

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

newListLexicons :: ListLexicons Source #

Create a value of ListLexicons 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:

ListLexicons, listLexicons_nextToken - An opaque pagination token returned from previous ListLexicons operation. If present, indicates where to continue the list of lexicons.

data ListLexiconsResponse Source #

See: newListLexiconsResponse smart constructor.

Instances

Instances details
Generic ListLexiconsResponse Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

Associated Types

type Rep ListLexiconsResponse :: Type -> Type #

Read ListLexiconsResponse Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

Show ListLexiconsResponse Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

NFData ListLexiconsResponse Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

Methods

rnf :: ListLexiconsResponse -> () #

Eq ListLexiconsResponse Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

type Rep ListLexiconsResponse Source # 
Instance details

Defined in Amazonka.Polly.ListLexicons

type Rep ListLexiconsResponse = D1 ('MetaData "ListLexiconsResponse" "Amazonka.Polly.ListLexicons" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "ListLexiconsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lexicons") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LexiconDescription])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListLexiconsResponse Source #

Create a value of ListLexiconsResponse 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:lexicons:ListLexiconsResponse', listLexiconsResponse_lexicons - A list of lexicon names and attributes.

ListLexicons, listLexiconsResponse_nextToken - The pagination token to use in the next request to continue the listing of lexicons. NextToken is returned only if the response is truncated.

$sel:httpStatus:ListLexiconsResponse', listLexiconsResponse_httpStatus - The response's http status code.

ListSpeechSynthesisTasks (Paginated)

data ListSpeechSynthesisTasks Source #

See: newListSpeechSynthesisTasks smart constructor.

Instances

Instances details
ToHeaders ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

ToPath ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

ToQuery ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

AWSPager ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

AWSRequest ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

Generic ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

Associated Types

type Rep ListSpeechSynthesisTasks :: Type -> Type #

Read ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

Show ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

NFData ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

Eq ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

Hashable ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

type AWSResponse ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

type Rep ListSpeechSynthesisTasks Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

type Rep ListSpeechSynthesisTasks = D1 ('MetaData "ListSpeechSynthesisTasks" "Amazonka.Polly.ListSpeechSynthesisTasks" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "ListSpeechSynthesisTasks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TaskStatus)))))

newListSpeechSynthesisTasks :: ListSpeechSynthesisTasks Source #

Create a value of ListSpeechSynthesisTasks 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:maxResults:ListSpeechSynthesisTasks', listSpeechSynthesisTasks_maxResults - Maximum number of speech synthesis tasks returned in a List operation.

ListSpeechSynthesisTasks, listSpeechSynthesisTasks_nextToken - The pagination token to use in the next request to continue the listing of speech synthesis tasks.

$sel:status:ListSpeechSynthesisTasks', listSpeechSynthesisTasks_status - Status of the speech synthesis tasks returned in a List operation

data ListSpeechSynthesisTasksResponse Source #

See: newListSpeechSynthesisTasksResponse smart constructor.

Instances

Instances details
Generic ListSpeechSynthesisTasksResponse Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

Associated Types

type Rep ListSpeechSynthesisTasksResponse :: Type -> Type #

Read ListSpeechSynthesisTasksResponse Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

Show ListSpeechSynthesisTasksResponse Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

NFData ListSpeechSynthesisTasksResponse Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

Eq ListSpeechSynthesisTasksResponse Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

type Rep ListSpeechSynthesisTasksResponse Source # 
Instance details

Defined in Amazonka.Polly.ListSpeechSynthesisTasks

type Rep ListSpeechSynthesisTasksResponse = D1 ('MetaData "ListSpeechSynthesisTasksResponse" "Amazonka.Polly.ListSpeechSynthesisTasks" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "ListSpeechSynthesisTasksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "synthesisTasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SynthesisTask])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSpeechSynthesisTasksResponse Source #

Create a value of ListSpeechSynthesisTasksResponse 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:

ListSpeechSynthesisTasks, listSpeechSynthesisTasksResponse_nextToken - An opaque pagination token returned from the previous List operation in this request. If present, this indicates where to continue the listing.

$sel:synthesisTasks:ListSpeechSynthesisTasksResponse', listSpeechSynthesisTasksResponse_synthesisTasks - List of SynthesisTask objects that provides information from the specified task in the list request, including output format, creation time, task status, and so on.

$sel:httpStatus:ListSpeechSynthesisTasksResponse', listSpeechSynthesisTasksResponse_httpStatus - The response's http status code.

PutLexicon

data PutLexicon Source #

See: newPutLexicon smart constructor.

Constructors

PutLexicon' Text (Sensitive Text) 

Instances

Instances details
ToJSON PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

ToHeaders PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

Methods

toHeaders :: PutLexicon -> [Header] #

ToPath PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

ToQuery PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

AWSRequest PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

Associated Types

type AWSResponse PutLexicon #

Generic PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

Associated Types

type Rep PutLexicon :: Type -> Type #

Show PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

NFData PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

Methods

rnf :: PutLexicon -> () #

Eq PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

Hashable PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

type AWSResponse PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

type Rep PutLexicon Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

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

newPutLexicon Source #

Create a value of PutLexicon 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:

PutLexicon, putLexicon_name - Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.

PutLexicon, putLexicon_content - Content of the PLS lexicon as string data.

data PutLexiconResponse Source #

See: newPutLexiconResponse smart constructor.

Constructors

PutLexiconResponse' Int 

Instances

Instances details
Generic PutLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

Associated Types

type Rep PutLexiconResponse :: Type -> Type #

Read PutLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

Show PutLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

NFData PutLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

Methods

rnf :: PutLexiconResponse -> () #

Eq PutLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

type Rep PutLexiconResponse Source # 
Instance details

Defined in Amazonka.Polly.PutLexicon

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

newPutLexiconResponse Source #

Create a value of PutLexiconResponse 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:PutLexiconResponse', putLexiconResponse_httpStatus - The response's http status code.

StartSpeechSynthesisTask

data StartSpeechSynthesisTask Source #

See: newStartSpeechSynthesisTask smart constructor.

Instances

Instances details
ToJSON StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

ToHeaders StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

ToPath StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

ToQuery StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

AWSRequest StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

Generic StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

Associated Types

type Rep StartSpeechSynthesisTask :: Type -> Type #

Read StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

Show StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

NFData StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

Eq StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

Hashable StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

type AWSResponse StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

type Rep StartSpeechSynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

type Rep StartSpeechSynthesisTask = D1 ('MetaData "StartSpeechSynthesisTask" "Amazonka.Polly.StartSpeechSynthesisTask" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "StartSpeechSynthesisTask'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Engine)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "lexiconNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "outputS3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sampleRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "speechMarkTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SpeechMarkType])) :*: (S1 ('MetaSel ('Just "textType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextType)) :*: S1 ('MetaSel ('Just "outputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OutputFormat))) :*: (S1 ('MetaSel ('Just "outputS3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "voiceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VoiceId))))))

newStartSpeechSynthesisTask Source #

Create a value of StartSpeechSynthesisTask 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:

StartSpeechSynthesisTask, startSpeechSynthesisTask_engine - Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.

StartSpeechSynthesisTask, startSpeechSynthesisTask_languageCode - Optional language code for the Speech Synthesis request. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

If a bilingual voice is used and no language code is specified, Amazon Polly uses the default language of the bilingual voice. The default language for any voice is the one returned by the DescribeVoices operation for the LanguageCode parameter. For example, if no language code is specified, Aditi will use Indian English rather than Hindi.

StartSpeechSynthesisTask, startSpeechSynthesisTask_lexiconNames - List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.

$sel:outputS3KeyPrefix:StartSpeechSynthesisTask', startSpeechSynthesisTask_outputS3KeyPrefix - The Amazon S3 key prefix for the output speech file.

StartSpeechSynthesisTask, startSpeechSynthesisTask_sampleRate - The audio frequency specified in Hz.

The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".

Valid values for pcm are "8000" and "16000" The default value is "16000".

StartSpeechSynthesisTask, startSpeechSynthesisTask_snsTopicArn - ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.

StartSpeechSynthesisTask, startSpeechSynthesisTask_speechMarkTypes - The type of speech marks returned for the input text.

StartSpeechSynthesisTask, startSpeechSynthesisTask_textType - Specifies whether the input text is plain text or SSML. The default value is plain text.

StartSpeechSynthesisTask, startSpeechSynthesisTask_outputFormat - The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.

$sel:outputS3BucketName:StartSpeechSynthesisTask', startSpeechSynthesisTask_outputS3BucketName - Amazon S3 bucket name to which the output file will be saved.

$sel:text:StartSpeechSynthesisTask', startSpeechSynthesisTask_text - The input text to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text.

StartSpeechSynthesisTask, startSpeechSynthesisTask_voiceId - Voice ID to use for the synthesis.

data StartSpeechSynthesisTaskResponse Source #

See: newStartSpeechSynthesisTaskResponse smart constructor.

Instances

Instances details
Generic StartSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

Associated Types

type Rep StartSpeechSynthesisTaskResponse :: Type -> Type #

Read StartSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

Show StartSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

NFData StartSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

Eq StartSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

type Rep StartSpeechSynthesisTaskResponse Source # 
Instance details

Defined in Amazonka.Polly.StartSpeechSynthesisTask

type Rep StartSpeechSynthesisTaskResponse = D1 ('MetaData "StartSpeechSynthesisTaskResponse" "Amazonka.Polly.StartSpeechSynthesisTask" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "StartSpeechSynthesisTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "synthesisTask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SynthesisTask)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartSpeechSynthesisTaskResponse Source #

Create a value of StartSpeechSynthesisTaskResponse 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:synthesisTask:StartSpeechSynthesisTaskResponse', startSpeechSynthesisTaskResponse_synthesisTask - SynthesisTask object that provides information and attributes about a newly submitted speech synthesis task.

$sel:httpStatus:StartSpeechSynthesisTaskResponse', startSpeechSynthesisTaskResponse_httpStatus - The response's http status code.

SynthesizeSpeech

data SynthesizeSpeech Source #

See: newSynthesizeSpeech smart constructor.

Instances

Instances details
ToJSON SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

ToHeaders SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

ToPath SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

ToQuery SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

AWSRequest SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

Associated Types

type AWSResponse SynthesizeSpeech #

Generic SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

Associated Types

type Rep SynthesizeSpeech :: Type -> Type #

Read SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

Show SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

NFData SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

Methods

rnf :: SynthesizeSpeech -> () #

Eq SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

Hashable SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

type AWSResponse SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

type Rep SynthesizeSpeech Source # 
Instance details

Defined in Amazonka.Polly.SynthesizeSpeech

newSynthesizeSpeech Source #

Create a value of SynthesizeSpeech 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:

SynthesizeSpeech, synthesizeSpeech_engine - Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available in standard-only, NTTS-only, and both standard and NTTS formats, see Available Voices.

NTTS-only voices

When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural. If the engine is not specified, or is set to standard, this will result in an error.

Type: String

Valid Values: standard | neural

Required: Yes

Standard voices

For standard voices, this is not required; the engine parameter defaults to standard. If the engine is not specified, or is set to standard and an NTTS-only voice is selected, this will result in an error.

SynthesizeSpeech, synthesizeSpeech_languageCode - Optional language code for the Synthesize Speech request. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

If a bilingual voice is used and no language code is specified, Amazon Polly uses the default language of the bilingual voice. The default language for any voice is the one returned by the DescribeVoices operation for the LanguageCode parameter. For example, if no language code is specified, Aditi will use Indian English rather than Hindi.

SynthesizeSpeech, synthesizeSpeech_lexiconNames - List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice. For information about storing lexicons, see PutLexicon.

SynthesizeSpeech, synthesizeSpeech_sampleRate - The audio frequency specified in Hz.

The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".

Valid values for pcm are "8000" and "16000" The default value is "16000".

SynthesizeSpeech, synthesizeSpeech_speechMarkTypes - The type of speech marks returned for the input text.

SynthesizeSpeech, synthesizeSpeech_textType - Specifies whether the input text is plain text or SSML. The default value is plain text. For more information, see Using SSML.

SynthesizeSpeech, synthesizeSpeech_outputFormat - The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.

When pcm is used, the content returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

$sel:text:SynthesizeSpeech', synthesizeSpeech_text - Input text to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text.

SynthesizeSpeech, synthesizeSpeech_voiceId - Voice ID to use for the synthesis. You can get a list of available voice IDs by calling the DescribeVoices operation.

data SynthesizeSpeechResponse Source #

See: newSynthesizeSpeechResponse smart constructor.

newSynthesizeSpeechResponse Source #

Create a value of SynthesizeSpeechResponse 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:contentType:SynthesizeSpeechResponse', synthesizeSpeechResponse_contentType - Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

  • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.
  • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.
  • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.
  • If you request json as the OutputFormat, the ContentType returned is application/x-json-stream.

SynthesizeSpeechResponse, synthesizeSpeechResponse_requestCharacters - Number of characters synthesized.

$sel:httpStatus:SynthesizeSpeechResponse', synthesizeSpeechResponse_httpStatus - The response's http status code.

$sel:audioStream:SynthesizeSpeechResponse', synthesizeSpeechResponse_audioStream - Stream containing the synthesized speech.

Types

Engine

newtype Engine Source #

Constructors

Engine' 

Fields

Bundled Patterns

pattern Engine_Neural :: Engine 
pattern Engine_Standard :: Engine 

Instances

Instances details
FromJSON Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

FromJSONKey Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

ToJSON Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

ToJSONKey Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

ToByteString Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Methods

toBS :: Engine -> ByteString #

ToHeader Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Methods

toHeader :: HeaderName -> Engine -> [Header] #

ToLog Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

ToQuery Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

FromText Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

ToText Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Methods

toText :: Engine -> Text #

FromXML Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

ToXML Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Methods

toXML :: Engine -> XML #

Generic Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Associated Types

type Rep Engine :: Type -> Type #

Methods

from :: Engine -> Rep Engine x #

to :: Rep Engine x -> Engine #

Read Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Show Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

NFData Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Methods

rnf :: Engine -> () #

Eq Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Methods

(==) :: Engine -> Engine -> Bool #

(/=) :: Engine -> Engine -> Bool #

Ord Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Hashable Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

Methods

hashWithSalt :: Int -> Engine -> Int #

hash :: Engine -> Int #

type Rep Engine Source # 
Instance details

Defined in Amazonka.Polly.Types.Engine

type Rep Engine = D1 ('MetaData "Engine" "Amazonka.Polly.Types.Engine" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'True) (C1 ('MetaCons "Engine'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEngine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Gender

newtype Gender Source #

Constructors

Gender' 

Fields

Bundled Patterns

pattern Gender_Female :: Gender 
pattern Gender_Male :: Gender 

Instances

Instances details
FromJSON Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

FromJSONKey Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

ToJSON Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

ToJSONKey Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

ToByteString Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Methods

toBS :: Gender -> ByteString #

ToHeader Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Methods

toHeader :: HeaderName -> Gender -> [Header] #

ToLog Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

ToQuery Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

FromText Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

ToText Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Methods

toText :: Gender -> Text #

FromXML Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

ToXML Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Methods

toXML :: Gender -> XML #

Generic Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Associated Types

type Rep Gender :: Type -> Type #

Methods

from :: Gender -> Rep Gender x #

to :: Rep Gender x -> Gender #

Read Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Show Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

NFData Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Methods

rnf :: Gender -> () #

Eq Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Methods

(==) :: Gender -> Gender -> Bool #

(/=) :: Gender -> Gender -> Bool #

Ord Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Hashable Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

Methods

hashWithSalt :: Int -> Gender -> Int #

hash :: Gender -> Int #

type Rep Gender Source # 
Instance details

Defined in Amazonka.Polly.Types.Gender

type Rep Gender = D1 ('MetaData "Gender" "Amazonka.Polly.Types.Gender" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'True) (C1 ('MetaCons "Gender'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGender") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LanguageCode

newtype LanguageCode Source #

Constructors

LanguageCode' 

Bundled Patterns

pattern LanguageCode_Ar_AE :: LanguageCode 
pattern LanguageCode_Arb :: LanguageCode 
pattern LanguageCode_Ca_ES :: LanguageCode 
pattern LanguageCode_Cmn_CN :: LanguageCode 
pattern LanguageCode_Cy_GB :: LanguageCode 
pattern LanguageCode_Da_DK :: LanguageCode 
pattern LanguageCode_De_AT :: LanguageCode 
pattern LanguageCode_De_DE :: LanguageCode 
pattern LanguageCode_En_AU :: LanguageCode 
pattern LanguageCode_En_GB :: LanguageCode 
pattern LanguageCode_En_GB_WLS :: LanguageCode 
pattern LanguageCode_En_IN :: LanguageCode 
pattern LanguageCode_En_NZ :: LanguageCode 
pattern LanguageCode_En_US :: LanguageCode 
pattern LanguageCode_En_ZA :: LanguageCode 
pattern LanguageCode_Es_ES :: LanguageCode 
pattern LanguageCode_Es_MX :: LanguageCode 
pattern LanguageCode_Es_US :: LanguageCode 
pattern LanguageCode_Fi_FI :: LanguageCode 
pattern LanguageCode_Fr_CA :: LanguageCode 
pattern LanguageCode_Fr_FR :: LanguageCode 
pattern LanguageCode_Hi_IN :: LanguageCode 
pattern LanguageCode_Is_IS :: LanguageCode 
pattern LanguageCode_It_IT :: LanguageCode 
pattern LanguageCode_Ja_JP :: LanguageCode 
pattern LanguageCode_Ko_KR :: LanguageCode 
pattern LanguageCode_Nb_NO :: LanguageCode 
pattern LanguageCode_Nl_NL :: LanguageCode 
pattern LanguageCode_Pl_PL :: LanguageCode 
pattern LanguageCode_Pt_BR :: LanguageCode 
pattern LanguageCode_Pt_PT :: LanguageCode 
pattern LanguageCode_Ro_RO :: LanguageCode 
pattern LanguageCode_Ru_RU :: LanguageCode 
pattern LanguageCode_Sv_SE :: LanguageCode 
pattern LanguageCode_Tr_TR :: LanguageCode 
pattern LanguageCode_Yue_CN :: LanguageCode 

Instances

Instances details
FromJSON LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

FromJSONKey LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

ToJSON LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

ToJSONKey LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

ToByteString LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

ToHeader LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

ToLog LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

ToQuery LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

FromText LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

ToText LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

Methods

toText :: LanguageCode -> Text #

FromXML LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

ToXML LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

Methods

toXML :: LanguageCode -> XML #

Generic LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

Associated Types

type Rep LanguageCode :: Type -> Type #

Read LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

Show LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

NFData LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

Methods

rnf :: LanguageCode -> () #

Eq LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

Ord LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

Hashable LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

type Rep LanguageCode Source # 
Instance details

Defined in Amazonka.Polly.Types.LanguageCode

type Rep LanguageCode = D1 ('MetaData "LanguageCode" "Amazonka.Polly.Types.LanguageCode" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'True) (C1 ('MetaCons "LanguageCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OutputFormat

newtype OutputFormat Source #

Constructors

OutputFormat' 

Instances

Instances details
FromJSON OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

FromJSONKey OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

ToJSON OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

ToJSONKey OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

ToByteString OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

ToHeader OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

ToLog OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

ToQuery OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

FromText OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

ToText OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

Methods

toText :: OutputFormat -> Text #

FromXML OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

ToXML OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

Methods

toXML :: OutputFormat -> XML #

Generic OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

Associated Types

type Rep OutputFormat :: Type -> Type #

Read OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

Show OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

NFData OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

Methods

rnf :: OutputFormat -> () #

Eq OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

Ord OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

Hashable OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

type Rep OutputFormat Source # 
Instance details

Defined in Amazonka.Polly.Types.OutputFormat

type Rep OutputFormat = D1 ('MetaData "OutputFormat" "Amazonka.Polly.Types.OutputFormat" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'True) (C1 ('MetaCons "OutputFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOutputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SpeechMarkType

newtype SpeechMarkType Source #

Constructors

SpeechMarkType' 

Instances

Instances details
FromJSON SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

FromJSONKey SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

ToJSON SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

ToJSONKey SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

ToByteString SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

ToHeader SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

ToLog SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

ToQuery SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

FromText SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

ToText SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

FromXML SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

ToXML SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

Methods

toXML :: SpeechMarkType -> XML #

Generic SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

Associated Types

type Rep SpeechMarkType :: Type -> Type #

Read SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

Show SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

NFData SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

Methods

rnf :: SpeechMarkType -> () #

Eq SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

Ord SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

Hashable SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

type Rep SpeechMarkType Source # 
Instance details

Defined in Amazonka.Polly.Types.SpeechMarkType

type Rep SpeechMarkType = D1 ('MetaData "SpeechMarkType" "Amazonka.Polly.Types.SpeechMarkType" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'True) (C1 ('MetaCons "SpeechMarkType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSpeechMarkType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TaskStatus

newtype TaskStatus Source #

Constructors

TaskStatus' 

Fields

Instances

Instances details
FromJSON TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

FromJSONKey TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

ToJSON TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

ToJSONKey TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

ToByteString TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

ToHeader TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

ToLog TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

ToQuery TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

FromText TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

ToText TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

Methods

toText :: TaskStatus -> Text #

FromXML TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

ToXML TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

Methods

toXML :: TaskStatus -> XML #

Generic TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

Associated Types

type Rep TaskStatus :: Type -> Type #

Read TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

Show TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

NFData TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

Methods

rnf :: TaskStatus -> () #

Eq TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

Ord TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

Hashable TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

type Rep TaskStatus Source # 
Instance details

Defined in Amazonka.Polly.Types.TaskStatus

type Rep TaskStatus = D1 ('MetaData "TaskStatus" "Amazonka.Polly.Types.TaskStatus" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'True) (C1 ('MetaCons "TaskStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTaskStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TextType

newtype TextType Source #

Constructors

TextType' 

Fields

Bundled Patterns

pattern TextType_Ssml :: TextType 
pattern TextType_Text :: TextType 

Instances

Instances details
FromJSON TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

FromJSONKey TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

ToJSON TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

ToJSONKey TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

ToByteString TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Methods

toBS :: TextType -> ByteString #

ToHeader TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Methods

toHeader :: HeaderName -> TextType -> [Header] #

ToLog TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

ToQuery TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

FromText TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

ToText TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Methods

toText :: TextType -> Text #

FromXML TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

ToXML TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Methods

toXML :: TextType -> XML #

Generic TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Associated Types

type Rep TextType :: Type -> Type #

Methods

from :: TextType -> Rep TextType x #

to :: Rep TextType x -> TextType #

Read TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Show TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

NFData TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Methods

rnf :: TextType -> () #

Eq TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Ord TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Hashable TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

Methods

hashWithSalt :: Int -> TextType -> Int #

hash :: TextType -> Int #

type Rep TextType Source # 
Instance details

Defined in Amazonka.Polly.Types.TextType

type Rep TextType = D1 ('MetaData "TextType" "Amazonka.Polly.Types.TextType" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'True) (C1 ('MetaCons "TextType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTextType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

VoiceId

newtype VoiceId Source #

Constructors

VoiceId' 

Fields

Bundled Patterns

pattern VoiceId_Aditi :: VoiceId 
pattern VoiceId_Amy :: VoiceId 
pattern VoiceId_Aria :: VoiceId 
pattern VoiceId_Arlet :: VoiceId 
pattern VoiceId_Arthur :: VoiceId 
pattern VoiceId_Astrid :: VoiceId 
pattern VoiceId_Ayanda :: VoiceId 
pattern VoiceId_Bianca :: VoiceId 
pattern VoiceId_Brian :: VoiceId 
pattern VoiceId_Camila :: VoiceId 
pattern VoiceId_Carla :: VoiceId 
pattern VoiceId_Carmen :: VoiceId 
pattern VoiceId_Celine :: VoiceId 
pattern VoiceId_Chantal :: VoiceId 
pattern VoiceId_Conchita :: VoiceId 
pattern VoiceId_Cristiano :: VoiceId 
pattern VoiceId_Daniel :: VoiceId 
pattern VoiceId_Dora :: VoiceId 
pattern VoiceId_Elin :: VoiceId 
pattern VoiceId_Emma :: VoiceId 
pattern VoiceId_Enrique :: VoiceId 
pattern VoiceId_Ewa :: VoiceId 
pattern VoiceId_Filiz :: VoiceId 
pattern VoiceId_Gabrielle :: VoiceId 
pattern VoiceId_Geraint :: VoiceId 
pattern VoiceId_Giorgio :: VoiceId 
pattern VoiceId_Gwyneth :: VoiceId 
pattern VoiceId_Hala :: VoiceId 
pattern VoiceId_Hannah :: VoiceId 
pattern VoiceId_Hans :: VoiceId 
pattern VoiceId_Hiujin :: VoiceId 
pattern VoiceId_Ida :: VoiceId 
pattern VoiceId_Ines :: VoiceId 
pattern VoiceId_Ivy :: VoiceId 
pattern VoiceId_Jacek :: VoiceId 
pattern VoiceId_Jan :: VoiceId 
pattern VoiceId_Joanna :: VoiceId 
pattern VoiceId_Joey :: VoiceId 
pattern VoiceId_Justin :: VoiceId 
pattern VoiceId_Kajal :: VoiceId 
pattern VoiceId_Karl :: VoiceId 
pattern VoiceId_Kendra :: VoiceId 
pattern VoiceId_Kevin :: VoiceId 
pattern VoiceId_Kimberly :: VoiceId 
pattern VoiceId_Laura :: VoiceId 
pattern VoiceId_Lea :: VoiceId 
pattern VoiceId_Liam :: VoiceId 
pattern VoiceId_Liv :: VoiceId 
pattern VoiceId_Lotte :: VoiceId 
pattern VoiceId_Lucia :: VoiceId 
pattern VoiceId_Lupe :: VoiceId 
pattern VoiceId_Mads :: VoiceId 
pattern VoiceId_Maja :: VoiceId 
pattern VoiceId_Marlene :: VoiceId 
pattern VoiceId_Mathieu :: VoiceId 
pattern VoiceId_Matthew :: VoiceId 
pattern VoiceId_Maxim :: VoiceId 
pattern VoiceId_Mia :: VoiceId 
pattern VoiceId_Miguel :: VoiceId 
pattern VoiceId_Mizuki :: VoiceId 
pattern VoiceId_Naja :: VoiceId 
pattern VoiceId_Nicole :: VoiceId 
pattern VoiceId_Ola :: VoiceId 
pattern VoiceId_Olivia :: VoiceId 
pattern VoiceId_Pedro :: VoiceId 
pattern VoiceId_Penelope :: VoiceId 
pattern VoiceId_Raveena :: VoiceId 
pattern VoiceId_Ricardo :: VoiceId 
pattern VoiceId_Ruben :: VoiceId 
pattern VoiceId_Russell :: VoiceId 
pattern VoiceId_Salli :: VoiceId 
pattern VoiceId_Seoyeon :: VoiceId 
pattern VoiceId_Suvi :: VoiceId 
pattern VoiceId_Takumi :: VoiceId 
pattern VoiceId_Tatyana :: VoiceId 
pattern VoiceId_Vicki :: VoiceId 
pattern VoiceId_Vitoria :: VoiceId 
pattern VoiceId_Zeina :: VoiceId 
pattern VoiceId_Zhiyu :: VoiceId 

Instances

Instances details
FromJSON VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

FromJSONKey VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

ToJSON VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

ToJSONKey VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

ToByteString VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Methods

toBS :: VoiceId -> ByteString #

ToHeader VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Methods

toHeader :: HeaderName -> VoiceId -> [Header] #

ToLog VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

ToQuery VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

FromText VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

ToText VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Methods

toText :: VoiceId -> Text #

FromXML VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

ToXML VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Methods

toXML :: VoiceId -> XML #

Generic VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Associated Types

type Rep VoiceId :: Type -> Type #

Methods

from :: VoiceId -> Rep VoiceId x #

to :: Rep VoiceId x -> VoiceId #

Read VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Show VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

NFData VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Methods

rnf :: VoiceId -> () #

Eq VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Methods

(==) :: VoiceId -> VoiceId -> Bool #

(/=) :: VoiceId -> VoiceId -> Bool #

Ord VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Hashable VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

Methods

hashWithSalt :: Int -> VoiceId -> Int #

hash :: VoiceId -> Int #

type Rep VoiceId Source # 
Instance details

Defined in Amazonka.Polly.Types.VoiceId

type Rep VoiceId = D1 ('MetaData "VoiceId" "Amazonka.Polly.Types.VoiceId" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'True) (C1 ('MetaCons "VoiceId'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromVoiceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Lexicon

data Lexicon Source #

Provides lexicon name and lexicon content in string format. For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0.

See: newLexicon smart constructor.

Constructors

Lexicon' (Maybe (Sensitive Text)) (Maybe Text) 

Instances

Instances details
FromJSON Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Generic Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Associated Types

type Rep Lexicon :: Type -> Type #

Methods

from :: Lexicon -> Rep Lexicon x #

to :: Rep Lexicon x -> Lexicon #

Show Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

NFData Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Methods

rnf :: Lexicon -> () #

Eq Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Methods

(==) :: Lexicon -> Lexicon -> Bool #

(/=) :: Lexicon -> Lexicon -> Bool #

Hashable Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

Methods

hashWithSalt :: Int -> Lexicon -> Int #

hash :: Lexicon -> Int #

type Rep Lexicon Source # 
Instance details

Defined in Amazonka.Polly.Types.Lexicon

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

newLexicon :: Lexicon Source #

Create a value of Lexicon 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:content:Lexicon', lexicon_content - Lexicon content in string format. The content of a lexicon must be in PLS format.

$sel:name:Lexicon', lexicon_name - Name of the lexicon.

LexiconAttributes

data LexiconAttributes Source #

Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.

See: newLexiconAttributes smart constructor.

Instances

Instances details
FromJSON LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Generic LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Associated Types

type Rep LexiconAttributes :: Type -> Type #

Read LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Show LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

NFData LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Methods

rnf :: LexiconAttributes -> () #

Eq LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

Hashable LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

type Rep LexiconAttributes Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconAttributes

type Rep LexiconAttributes = D1 ('MetaData "LexiconAttributes" "Amazonka.Polly.Types.LexiconAttributes" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "LexiconAttributes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alphabet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "lexemesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "lexiconArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

newLexiconAttributes :: LexiconAttributes Source #

Create a value of LexiconAttributes 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:alphabet:LexiconAttributes', lexiconAttributes_alphabet - Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.

$sel:languageCode:LexiconAttributes', lexiconAttributes_languageCode - Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

$sel:lastModified:LexiconAttributes', lexiconAttributes_lastModified - Date lexicon was last modified (a timestamp value).

$sel:lexemesCount:LexiconAttributes', lexiconAttributes_lexemesCount - Number of lexemes in the lexicon.

$sel:lexiconArn:LexiconAttributes', lexiconAttributes_lexiconArn - Amazon Resource Name (ARN) of the lexicon.

$sel:size:LexiconAttributes', lexiconAttributes_size - Total size of the lexicon, in characters.

LexiconDescription

data LexiconDescription Source #

Describes the content of the lexicon.

See: newLexiconDescription smart constructor.

Instances

Instances details
FromJSON LexiconDescription Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconDescription

Generic LexiconDescription Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconDescription

Associated Types

type Rep LexiconDescription :: Type -> Type #

Read LexiconDescription Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconDescription

Show LexiconDescription Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconDescription

NFData LexiconDescription Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconDescription

Methods

rnf :: LexiconDescription -> () #

Eq LexiconDescription Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconDescription

Hashable LexiconDescription Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconDescription

type Rep LexiconDescription Source # 
Instance details

Defined in Amazonka.Polly.Types.LexiconDescription

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

newLexiconDescription :: LexiconDescription Source #

Create a value of LexiconDescription 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:attributes:LexiconDescription', lexiconDescription_attributes - Provides lexicon metadata.

$sel:name:LexiconDescription', lexiconDescription_name - Name of the lexicon.

SynthesisTask

data SynthesisTask Source #

SynthesisTask object that provides information about a speech synthesis task.

See: newSynthesisTask smart constructor.

Instances

Instances details
FromJSON SynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.Types.SynthesisTask

Generic SynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.Types.SynthesisTask

Associated Types

type Rep SynthesisTask :: Type -> Type #

Read SynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.Types.SynthesisTask

Show SynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.Types.SynthesisTask

NFData SynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.Types.SynthesisTask

Methods

rnf :: SynthesisTask -> () #

Eq SynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.Types.SynthesisTask

Hashable SynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.Types.SynthesisTask

type Rep SynthesisTask Source # 
Instance details

Defined in Amazonka.Polly.Types.SynthesisTask

type Rep SynthesisTask = D1 ('MetaData "SynthesisTask" "Amazonka.Polly.Types.SynthesisTask" "amazonka-polly-2.0-6sZiChgAXCB1QK3Mfr0Pfp" 'False) (C1 ('MetaCons "SynthesisTask'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Engine)) :*: S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)))) :*: ((S1 ('MetaSel ('Just "lexiconNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "outputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputFormat))) :*: (S1 ('MetaSel ('Just "outputUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: (((S1 ('MetaSel ('Just "sampleRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "speechMarkTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SpeechMarkType])) :*: S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "taskStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TaskStatus)) :*: S1 ('MetaSel ('Just "taskStatusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "textType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextType)) :*: S1 ('MetaSel ('Just "voiceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VoiceId)))))))

newSynthesisTask :: SynthesisTask Source #

Create a value of SynthesisTask 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:creationTime:SynthesisTask', synthesisTask_creationTime - Timestamp for the time the synthesis task was started.

$sel:engine:SynthesisTask', synthesisTask_engine - Specifies the engine (standard or neural) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.

$sel:languageCode:SynthesisTask', synthesisTask_languageCode - Optional language code for a synthesis task. This is only necessary if using a bilingual voice, such as Aditi, which can be used for either Indian English (en-IN) or Hindi (hi-IN).

If a bilingual voice is used and no language code is specified, Amazon Polly uses the default language of the bilingual voice. The default language for any voice is the one returned by the DescribeVoices operation for the LanguageCode parameter. For example, if no language code is specified, Aditi will use Indian English rather than Hindi.

$sel:lexiconNames:SynthesisTask', synthesisTask_lexiconNames - List of one or more pronunciation lexicon names you want the service to apply during synthesis. Lexicons are applied only if the language of the lexicon is the same as the language of the voice.

$sel:outputFormat:SynthesisTask', synthesisTask_outputFormat - The format in which the returned output will be encoded. For audio stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json.

$sel:outputUri:SynthesisTask', synthesisTask_outputUri - Pathway for the output speech file.

$sel:requestCharacters:SynthesisTask', synthesisTask_requestCharacters - Number of billable characters synthesized.

$sel:sampleRate:SynthesisTask', synthesisTask_sampleRate - The audio frequency specified in Hz.

The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".

Valid values for pcm are "8000" and "16000" The default value is "16000".

$sel:snsTopicArn:SynthesisTask', synthesisTask_snsTopicArn - ARN for the SNS topic optionally used for providing status notification for a speech synthesis task.

$sel:speechMarkTypes:SynthesisTask', synthesisTask_speechMarkTypes - The type of speech marks returned for the input text.

$sel:taskId:SynthesisTask', synthesisTask_taskId - The Amazon Polly generated identifier for a speech synthesis task.

$sel:taskStatus:SynthesisTask', synthesisTask_taskStatus - Current status of the individual speech synthesis task.

$sel:taskStatusReason:SynthesisTask', synthesisTask_taskStatusReason - Reason for the current status of a specific speech synthesis task, including errors if the task has failed.

$sel:textType:SynthesisTask', synthesisTask_textType - Specifies whether the input text is plain text or SSML. The default value is plain text.

$sel:voiceId:SynthesisTask', synthesisTask_voiceId - Voice ID to use for the synthesis.

Voice

data Voice Source #

Description of the voice.

See: newVoice smart constructor.

Instances

Instances details
FromJSON Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Generic Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Associated Types

type Rep Voice :: Type -> Type #

Methods

from :: Voice -> Rep Voice x #

to :: Rep Voice x -> Voice #

Read Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Show Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

showsPrec :: Int -> Voice -> ShowS #

show :: Voice -> String #

showList :: [Voice] -> ShowS #

NFData Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

rnf :: Voice -> () #

Eq Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

(==) :: Voice -> Voice -> Bool #

(/=) :: Voice -> Voice -> Bool #

Hashable Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

hashWithSalt :: Int -> Voice -> Int #

hash :: Voice -> Int #

type Rep Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

newVoice :: Voice Source #

Create a value of Voice 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:additionalLanguageCodes:Voice', voice_additionalLanguageCodes - Additional codes for languages available for the specified voice in addition to its default language.

For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code hi-IN.

$sel:gender:Voice', voice_gender - Gender of the voice.

$sel:id:Voice', voice_id - Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech operation.

$sel:languageCode:Voice', voice_languageCode - Language code of the voice.

$sel:languageName:Voice', voice_languageName - Human readable name of the language in English.

$sel:name:Voice', voice_name - Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.

$sel:supportedEngines:Voice', voice_supportedEngines - Specifies which engines (standard or neural) that are supported by a given voice.