npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_polly

v5.0.0

Published

DataFire integration for Amazon Polly

Downloads

6

Readme

@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