{"id":26064821,"url":"https://github.com/syncano/syncano-socket-aws-polly","last_synced_at":"2025-10-05T19:56:05.256Z","repository":{"id":77440720,"uuid":"113275365","full_name":"Syncano/syncano-socket-aws-polly","owner":"Syncano","description":"Amazon Polly is a Text-to-Speech (TTS) cloud service that converts text into lifelike speech.","archived":false,"fork":false,"pushed_at":"2018-03-28T11:22:24.000Z","size":125,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-08T18:51:12.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Syncano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-06T05:58:24.000Z","updated_at":"2018-03-28T11:22:26.000Z","dependencies_parsed_at":"2023-02-26T10:00:27.963Z","dependency_job_id":null,"html_url":"https://github.com/Syncano/syncano-socket-aws-polly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Syncano/syncano-socket-aws-polly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-aws-polly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-aws-polly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-aws-polly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-aws-polly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Syncano","download_url":"https://codeload.github.com/Syncano/syncano-socket-aws-polly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-socket-aws-polly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278510918,"owners_count":25998997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-08T18:49:27.912Z","updated_at":"2025-10-05T19:56:05.250Z","avatar_url":"https://github.com/Syncano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-polly\n[![CircleCI](https://circleci.com/gh/Syncano/syncano-socket-aws-polly.svg?style=svg)](https://circleci.com/gh/Syncano/syncano-socket-aws-polly)\n\n`version:` **0.0.1**\n\nAmazon Polly Integration\n\nTo install, run:\n\n```\nsyncano-cli add aws-polly\n```\n\n## Config\n\n| Name | Required | Description | Info\n| ---- | -------- | ----------- | ----\n| AWS_ACCESS_KEY_ID | true | AWS Access Key | To find the key, log into your AWS account to get it \n| AWS_SECRET_ACCESS_KEY | true | AWS Access Secret Key | To find the key, log into your AWS account to get it \n| region | true | Region | On your AWS Console, search for Polly to check supported regions and select one (e.g, us-east-1 ) \n\n## Endpoints\n\n### delete-lexicon\n\nDeletes the specified pronunciation lexicon stored in an AWS Region.\n\n#### Parameters\n\n| name | type | description | example\n| ---- | ---- | ----------- | -------\n| lexiconName | string | The name of the lexicon to delete. Must be an existing lexicon in the region. | Example\n\n\n\n#### Response\n\nmimetype: `application/json`\n\n##### Success `200`\n\n```\n{\n\"statusCode\": 200,\n\"message\": \"Lexicon Deleted\"\n}\n```\n\n##### Failed `400`\n\n```\n{\n  \"statusCode\": 404,\n  \"code\": \"LexiconNotFoundException\",\n  \"message\": \"Lexicon not found\"\n}\n```\n\n### describe-voices\n\nReturns the list of voices that are available for use when requesting speech synthesis.\n\n#### Parameters\n\n| name | type | description | example\n| ---- | ---- | ----------- | -------\n| languageCode | string | Language identification tag for filtering the list of voices returned (Optional) | en-US\n| nextToken | string | An opaque pagination token returned from the previous `DescribeVoices` operation. | opaqueToken\n\n\n\n#### Response\n\nmimetype: `application/json`\n\n##### Success `200`\n\n```\n{\n \"message\": \"Described Voice\",\n  \"data\": {\n            \"Voices\": []\n          }\n}\n```\n\n##### Failed `400`\n\n```\n{\n \"statusCode\": 400,\n \"code\": \"ValidationException\",\n \"message\": \"1 validation error detected\"\n}\n```\n\n### get-lexicon\n\nReturns the content of the specified pronunciation lexicon stored in an AWS Region\n\n#### Parameters\n\n| name | type | description | example\n| ---- | ---- | ----------- | -------\n| lexiconName | string | Name of the lexicon. | Example\n\n\n\n#### Response\n\nmimetype: `application/json`\n\n##### Success `200`\n\n```\n{\n\"statusCode\": 200,\n\"data\": {\n          \"Lexicon\": {}\n        }\n}\n```\n\n##### Failed `400`\n\n```\n{\n  \"statusCode\": 404,\n  \"code\": \"LexiconNotFoundException\",\n  \"message\": \"Lexicon not found\"\n}\n```\n\n### list-lexicons\n\nReturns a list of pronunciation lexicons stored in an AWS Region.\n\n#### Parameters\n\n| name | type | description | long_description | example\n| ---- | ---- | ----------- | ---------------- | -------\n| nextTokens | string | Pagination token | An opaque pagination token returned from previous ListLexicons operation. (Optional)  | token\n\n\n\n#### Response\n\nmimetype: `application/json`\n\n##### Success `200`\n\n```\n{\n\"message\": \"List of Lexicons\"\n\"data\": {\n          \"Lexicons\": []\n        }\n}\n```\n\n##### Failed `400`\n\n```\n{\n  \"detail\": \"Not found.\"\n}\n```\n\n### put-lexicon\n\nStores a pronunciation lexicon in an AWS Region.\n\n#### Parameters\n\n| name | type | description | example\n| ---- | ---- | ----------- | -------\n| lexiconName | string | Name of the lexicon -  name is case sensitive | Example\n| content | string | Content of the PLS lexicon | Check PSL for its text format.\n\n\n\n#### Response\n\nmimetype: `application/json`\n\n##### Success `200`\n\n```\n{\n\"StatusCode\": 200\n\"message\": \"Lexicon Saved\"\n}\n```\n\n##### Failed `400`\n\n```\n{\n  \"statusCode\": 400,\n  \"code\": \"MissingRequiredParameter\",\n  \"message\": \"Missing required key 'Content' in params\"\n}\n```\n\n### synthesize-speech\n\nSynthesizes UTF-8 input, plain text or SSML, to a stream of bytes.\n\n#### Parameters\n\n| name | type | description | example\n| ---- | ---- | ----------- | -------\n| params | object | First name of the person you want to greet | {\"params\":   { \"OutputFormat\": \"pcm\",     \"VoiceId\": \"Raveena\",     \"Text\": \"text\"     }   } \n\n\n\n#### Response\n\nmimetype: `application/json`\n\n##### Success `200`\n\n```\n{\nmsg: \"Text converted\",\ndata: {}\n}\n```\n\n##### Failed `400`\n\n```\n{\n  \"statusCode\": 400,\n  \"code\": \"MissingRequiredParameter\",\n  \"message\": \"Missing required key 'Text' in params\"\n}\n```\n\n### Contributing\n\n#### How to Contribute\n  * Fork this repository\n  * Clone from your fork\n  * Make your contributions (Make sure your work is well tested)\n  * Create Pull request from the fork to this repo\n\n#### Setting up environment variables\n  * Ensure [direnv](https://direnv.net/) is setup on local system.\n  * Create a `.envrc` on parent folder\n  * Copy contents of `.envrc.default` file to newly created `.envrc` file and assign appropriate values to the listed variables.\n\n#### Testing\n  * Ensure all your test are written on the `test` directory\n  * Use the command `npm test` to run test","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncano%2Fsyncano-socket-aws-polly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyncano%2Fsyncano-socket-aws-polly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncano%2Fsyncano-socket-aws-polly/lists"}