5.0.0 • Published 7 years ago

@datafire/amazonaws_polly v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@datafire/amazonaws_polly

Client library for Amazon Polly

Installation and Usage

npm install --save @datafire/amazonaws_polly
let amazonaws_polly = require('@datafire/amazonaws_polly').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_polly.ListLexicons({}).then(data => {
  console.log(data);
});

Description

Actions

ListLexicons

amazonaws_polly.ListLexicons({}, context)

Input

  • input object

Output

DeleteLexicon

amazonaws_polly.DeleteLexicon({
  "LexiconName": ""
}, context)

Input

  • input object
    • LexiconName required string

Output

GetLexicon

amazonaws_polly.GetLexicon({
  "LexiconName": ""
}, context)

Input

  • input object
    • LexiconName required string

Output

PutLexicon

amazonaws_polly.PutLexicon({
  "LexiconName": "",
  "Content": ""
}, context)

Input

  • input object

Output

SynthesizeSpeech

amazonaws_polly.SynthesizeSpeech({
  "OutputFormat": "",
  "Text": "",
  "VoiceId": ""
}, context)

Input

Output

DescribeVoices

amazonaws_polly.DescribeVoices({}, context)

Input

  • input object

Output

Definitions

Alphabet

  • Alphabet string

AudioStream

  • AudioStream string

ContentType

  • ContentType string

DeleteLexiconInput

  • DeleteLexiconInput object

DeleteLexiconOutput

  • DeleteLexiconOutput object

DescribeVoicesInput

  • DescribeVoicesInput object

DescribeVoicesOutput

ErrorMessage

  • ErrorMessage string

Gender

  • Gender string (values: Female, Male)

GetLexiconInput

  • GetLexiconInput object

GetLexiconOutput

InvalidLexiconException

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

InvalidNextTokenException

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

InvalidSampleRateException

  • InvalidSampleRateException object: The specified sample rate is not valid.

InvalidSsmlException

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

LanguageCode

  • LanguageCode string (values: cy-GB, da-DK, de-DE, en-AU, en-GB, en-GB-WLS, en-IN, en-US, es-ES, es-US, fr-CA, fr-FR, is-IS, it-IT, ko-KR, ja-JP, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sv-SE, tr-TR)

LanguageName

  • LanguageName string

LastModified

  • LastModified string

LexemesCount

  • LexemesCount integer

Lexicon

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

LexiconArn

  • LexiconArn string

LexiconAttributes

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

LexiconContent

  • LexiconContent string

LexiconDescription

LexiconDescriptionList

LexiconName

  • LexiconName string

LexiconNameList

LexiconNotFoundException

  • LexiconNotFoundException object: 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 object: The maximum size of the specified lexicon would be exceeded by this operation.

ListLexiconsInput

  • ListLexiconsInput object

ListLexiconsOutput

MarksNotSupportedForFormatException

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

MaxLexemeLengthExceededException

  • MaxLexemeLengthExceededException object: The maximum size of the lexeme would be exceeded by this operation.

MaxLexiconsNumberExceededException

  • MaxLexiconsNumberExceededException object: The maximum number of lexicons would be exceeded by this operation.

NextToken

  • NextToken string

OutputFormat

  • OutputFormat string (values: json, mp3, ogg_vorbis, pcm)

PutLexiconInput

PutLexiconOutput

  • PutLexiconOutput object

RequestCharacters

  • RequestCharacters integer

SampleRate

  • SampleRate string

ServiceFailureException

  • ServiceFailureException object: An unknown condition has caused a service failure.

Size

  • Size integer

SpeechMarkType

  • SpeechMarkType string (values: sentence, ssml, viseme, word)

SpeechMarkTypeList

SsmlMarksNotSupportedForTextTypeException

  • SsmlMarksNotSupportedForTextTypeException object: SSML speech marks are not supported for plain text-type input.

SynthesizeSpeechInput

SynthesizeSpeechOutput

Text

  • Text string

TextLengthExceededException

  • TextLengthExceededException object: The value of the "Text" parameter is longer than the accepted limits. The limit for input text is a maximum of 3000 characters total, of which no more than 1500 can be billed characters. SSML tags are not counted as billed characters.

TextType

  • TextType string (values: ssml, text)

UnsupportedPlsAlphabetException

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

UnsupportedPlsLanguageException

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

Voice

VoiceId

  • VoiceId string (values: Geraint, Gwyneth, Mads, Naja, Hans, Marlene, Nicole, Russell, Amy, Brian, Emma, Raveena, Ivy, Joanna, Joey, Justin, Kendra, Kimberly, Matthew, Salli, Conchita, Enrique, Miguel, Penelope, Chantal, Celine, Mathieu, Dora, Karl, Carla, Giorgio, Mizuki, Liv, Lotte, Ruben, Ewa, Jacek, Jan, Maja, Ricardo, Vitoria, Cristiano, Ines, Carmen, Maxim, Tatyana, Astrid, Filiz, Vicki, Takumi, Seoyeon, Aditi)

VoiceList

  • VoiceList array

VoiceName

  • VoiceName string
5.0.0

7 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago