{"_id":"@aws-sdk/client-polly-browser","_rev":"19-88604664262ac7a61ec4821aab1d7973","name":"@aws-sdk/client-polly-browser","dist-tags":{"latest":"0.1.0-preview.2","preview":"0.1.0-preview.6"},"versions":{"0.1.0-preview.2":{"name":"@aws-sdk/client-polly-browser","version":"0.1.0-preview.2","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-polly-browser@0.1.0-preview.2","maintainers":[{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"dist":{"shasum":"dc4af24f1c302721f7bdf9e36d53fffa11660069","tarball":"https://registry.npmjs.org/@aws-sdk/client-polly-browser/-/client-polly-browser-0.1.0-preview.2.tgz","fileCount":396,"integrity":"sha512-mY1RN1wC9xxw1Un9kwg8tuVsJOV+IRFQtF+V3IvYIKiHmBf+kmwCxQTEeA7aQWqyHgo8oiliAImvGNy2N/pvFQ==","signatures":[{"sig":"MEUCIQCQbIafpSeK2WM3K4P6tBW1d8U7WwA7iMo/A8fgIVJ46gIgbBUu0QpNK4KAgqwGt/53GomrCwn2mzFk4QrEzTzAl9E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":238032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpRDCRA9TVsSAnZWagAAIJoP/01TiZRKj231l35xN1CJ\nxJZ7fBPHvOlgv+GpkpXUgI9DMj1c4IPi2kGzFjt/EsXSgZ/5nmJYk8RkCaSp\nJgrioUQjjE+Waw9pNRWSdbwC13kuPXA5RIb7QcgJxgPKdu1J/+tMLnDGjKS1\nM2U16MnS0Tjaz5AkSepqq6UuiTVnTTAWlI60TZKAD2qYi6TmYWZT+2PtASjy\ndl078OMGLre8T5XFyZQK/F4v4RzTxoKNjgz/MKka+WZ2ZnF2gwHt3Pr4fmVh\nhvwQ7aEb1om1ekoSB4jGYs3pUJldOJvQZnki4o1cG7TU07VKiX1kRB2whwlk\nE0qxbp90ErT89WGCTEEqFLjtqJ6MffhWBtPM/64YUKzlzxtdKm6/YP/eJJWr\ntVy7EraLCC6I15Gl4uTT1jvzvAchENhlynNAhY1BahlnqT3/6IXUzVpF8htY\nQ1180dDAJP/4uHUgrL3hmgO+v88UAGdHR0iyRmZXYrvBlXMXW+vLXvOxAnew\ndu2MImbLdsUOwTnq8yCJjAs2wS8d4J8Ku4I7ousIIFJ5iYOdgl3yVz6upkde\nSzzzdmltldbmvPI8uFDkSOJvEj5oYJMNAuPnLH2kBEVxb2QRMe8kG7TbIfqV\ngDPh/7t11gxivoSfIn/hYwMZWz9CVhgglxGpHt8HfsPe/5XNxt1nsua6OIob\n1ToN\r\n=O2BN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"karma start karma.conf","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-polly-browser has been renamed to @aws-sdk/client-polly. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Polly","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/json-parser":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/json-builder":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.6","@aws-sdk/protocol-rest":"^0.1.0-preview.7","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.5","@aws-sdk/signing-middleware":"^0.1.0-preview.6","@aws-sdk/url-parser-browser":"^0.1.0-preview.5","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.6","@aws-sdk/stream-collector-browser":"^0.1.0-preview.5","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.5","@aws-sdk/middleware-header-default":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.7.1","karma":"^4.1.0","rimraf":"^2.6.2","typedoc":"^0.14.2","puppeteer":"^1.0.0","typescript":"~3.4.0","@types/jest":"^24.0.12","jasmine-core":"^3.4.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.1","karma-typescript":"^4.0.0","karma-chrome-launcher":"^3.0.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.6","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-polly-browser_0.1.0-preview.2_1568052290578_0.6123005330825606","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-polly-browser","version":"0.1.0-preview.3","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-polly-browser@0.1.0-preview.3","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"f9af99335a349ccd5eb0b53c890e36ab782789fc","tarball":"https://registry.npmjs.org/@aws-sdk/client-polly-browser/-/client-polly-browser-0.1.0-preview.3.tgz","fileCount":396,"integrity":"sha512-d9Q7O+DUNwmFGeUrtK7YGsqZ6rio5n2fsK0leTNDEHKfM6kVlMZ+DtovIYoqdGjQIf2hHLaDZOkbQhMyrNDBFg==","signatures":[{"sig":"MEQCIHRKTiQ5ERRxzndKDmyjcosnNIrbITjb9FWLjUjGYc/nAiAEG92bbzCr0Q820f4P8zVVyOsrPPMZcJLx5a6FhDaNgQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":238252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6UqCRA9TVsSAnZWagAAe5IP/ji08em8Fxfnb9dYMVeP\nwpxXVEa1kkq96ZWsxO3vzsbz5Tu2tXv2p3a52ncWanVUITVtX1AW4XjeYuml\nk5msJkUZLMnC9H918puKZhbrQ43HX7RMU7niVwpWw6jmU+H1eWDL5yqHGD3W\nlwe4Nf1fPSAmTqNL1lFRRdENsixe0ldT4Cx1S3gJMkcjv45KgvI4XzsmMbV1\nGJVzWToq7U2xyxVPWoz3y945AJzWEMUVrqjGB3JmMGZelNH2jKAuuitZVdoq\nqhQRGZgrt13mzyCd9ElehCWalIQocxje1Vb0pjNt/a9HHvx96DVnnjc1T4K9\nQgXEPpz6+vQ+o2zPBb/rrFeoLG1cwOFo+JnjgUO0YhSU50NFoueiFC4wISFy\n0izY2gXW5wYV2YA1LgmfVREPzutxWF6E3yicrrJGIR+/TKEKtiO061nMudGM\njTtV0g/mV/w5zI7AawOs0vNk16qaQ6W5e7nAZuqSzKP02kJkFaRWmisVRu8K\naJjmUhpd1rjXM+UXRZjBvAHKTTXYa6+tyDZEwD3BSg3kQQNEGJ3w8Zs+GE6e\nf9zj1Rw0WOa46eRAQ1ENBLNNbhZEkt3M7PNgOMZnJexOrRzAmh72BTeMjXN1\nkN8uveRJ3RThI2A3zwVWTiqtGBDoArL5x5q6Mnm9JSsNROAbH2ve6CsZYwNk\nFLzm\r\n=9Mc5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-polly-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-polly-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-polly-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-polly-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-polly-browser)\n\n## Description\n\n<p>Amazon Polly is a web service that makes it easy to synthesize speech from text.</p> <p>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.</p>\n\n## Installing\n\nTo install the this package using NPM, simply type the following into a terminal window:\n\n```\nnpm install @aws-sdk/client-polly-browser\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`PollyClient`) and the commands you need, for example `DeleteLexiconCommand`:\n\n```javascript\n//JavaScript\nconst { PollyClient } = require(\"@aws-sdk/client-polly-browser/PollyClient\");\nconst {\n  DeleteLexiconCommand\n} = require(\"@aws-sdk/client-polly-browser/commands/DeleteLexiconCommand\");\n```\n\n```javascript\n//TypeScript\nimport { PollyClient } from \"@aws-sdk/client-polly-browser/PollyClient\";\nimport { DeleteLexiconCommand } from \"@aws-sdk/client-polly-browser/commands/DeleteLexiconCommand\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst polly = new PollyClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst deleteLexiconCommand = new DeleteLexiconCommand(params);\npolly.send(deleteLexiconCommand).then(data => {\n    // do something\n}).catch(error => {\n    // error handling\n})\n```\n\nIn addition to using promises, there are 2 other ways to send a request:\n\n```javascript\n// async/await\ntry {\n  const data = await polly.send(deleteLexiconCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\npolly.send(deleteLexiconCommand, (err, data) => {\n  //do something\n});\n```\n\nThe SDK can also send requests using the simplified callback style from version 2 of the SDK.\n\n```javascript\nimport * as AWS from \"@aws-sdk/@aws-sdk/client-polly-browser/Polly\";\nconst polly = new AWS.Polly({ region: \"region\" });\npolly.deleteLexicon(params, (err, data) => {\n  //do something\n});\n```\n\nFor operations containing stream response like `SynthesizeSpeech()`, you can get response stream by accessing to streaming member. e.g. data.AudioStream.getReader().read().then(/_ do something and continue reading _/).(`data` is the resolved response object)\n\n### Troubleshooting\n\nWhen the service returns an exception, the error will include the exception information, as well as response metadata (e.g. request id).\n\n```javascript\ntry {\n  const data = await polly.send(deleteLexiconCommand);\n  // do something\n} catch (error) {\n  const metadata = error.$metadata;\n  console.log(\n    `requestId: ${metadata.requestId}\ncfId: ${metadata.cfId}\nextendedRequestId: ${metadata.extendedRequestId}`\n  );\n  /*\nThe keys within exceptions are also parsed. You can access them by specifying exception names:\n    if(error.name === 'SomeServiceException') {\n        const value = error.specialKeyInException;\n    }\n*/\n}\n```\n\n## Getting Help\n\nPlease use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.\n\n- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`\n- Come join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3)\n- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues)\n\n## Contributing\n\nThis client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/@aws-sdk/client-polly-browser' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"karma start karma.conf","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-polly-browser has been renamed to @aws-sdk/client-polly. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Polly","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/json-parser":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/json-builder":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.7","@aws-sdk/protocol-rest":"^0.1.0-preview.7","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.5","@aws-sdk/signing-middleware":"^0.1.0-preview.7","@aws-sdk/url-parser-browser":"^0.1.0-preview.5","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.6","@aws-sdk/stream-collector-browser":"^0.1.0-preview.5","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.5","@aws-sdk/middleware-header-default":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","karma":"^4.1.0","rimraf":"^2.6.2","typedoc":"^0.14.2","puppeteer":"^1.0.0","typescript":"~3.4.0","@types/jest":"^24.0.12","jasmine-core":"^3.4.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.1","karma-typescript":"^4.0.0","karma-chrome-launcher":"^3.0.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.7","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-polly-browser_0.1.0-preview.3_1568908585691_0.6117260488819667","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-polly-browser","version":"0.1.0-preview.4","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-polly-browser@0.1.0-preview.4","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"2e6992b7df02ebd493bc451d5dd53e1d4c63f642","tarball":"https://registry.npmjs.org/@aws-sdk/client-polly-browser/-/client-polly-browser-0.1.0-preview.4.tgz","fileCount":396,"integrity":"sha512-eghbnXEfi5OqnBTovCgZdlb3po3UzJSwfEST8hUi4nOyq/L0HnCYiBBDtHiyxcALufkxl0QbjN3RaAi9Ye06ZA==","signatures":[{"sig":"MEUCIHDrc3dqyHr9KwTJWhCMmXQ/pzRCXSt6jXRCQDpqZN75AiEAtcH3egHb0muNLMnwrpTHFxQWegiJP2DUjczQbRW+lmk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":238302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNNfCRA9TVsSAnZWagAAPwUP/0jK1nUg40sDvWpy649P\nmqdqCJ+tVadnZm/QtO/2KEIC+zR14G4JCeqUe2m1ORs0n2m8+UgRiiB1u7f6\ne4NXIZppFgNQAUsQ97/QoanUw7+MX5x8Va6GzatWAgv0AojveRiZfSMdl912\nqMyctKfdq3YKbS5/rInO4vujBUamJjjHsW6pnUO0SfKrVs9VWTB3h25Tbwyu\nyu7azKfoKP6OMtZ6jWxuuh5GzSyzjRqXlvNRGfTbdBTs6Z+xyjWA/8Cmmt4a\nduOAGx5B9fkLwMglmfStPTZLiU5Emg5NtnbZ9/BtcuIjGE0cv/gZJ6A8RT0K\nsLV28BE089IMGweWJpk2ZROoFpv0YlRggma1lMnBrn9eFiPBdgCQo5HPLRcj\nuYIDPW90uPtA8+y4eSo2CJjThkjGFyHf8SSTZMEKpSZ3MMqV/iUXQJ+RB6DB\nVdaFcbNTUkwwzx5Wu5zTCNek5VCkbU9RPNLgllzBmQyH0g3e2Q3eDfIZTp3n\nAfFpYAlMCMkpC7IGi5CDDE2jQzW234fLTE/KjdxoWiip/PNGRXj1vYpvNiKf\nXGcWTxSCc00Nb0cTCx5/Ukd6LXnBHqAeNDHx90LcPi4d8rTprFR0jXe6Odud\nW30ZfOHfrmBf31kJ1iAWJaKOLduA4WZ8J7Wo3cOSAWyd45qZuFUDblWmuGV8\nQrub\r\n=Hoka\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-polly-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-polly-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-polly-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-polly-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-polly-browser)\n\n## Description\n\n<p>Amazon Polly is a web service that makes it easy to synthesize speech from text.</p> <p>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.</p>\n\n## Installing\n\nTo install the this package using NPM, simply type the following into a terminal window:\n\n```\nnpm install @aws-sdk/client-polly-browser\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`PollyClient`) and the commands you need, for example `DeleteLexiconCommand`:\n\n```javascript\n//JavaScript\nconst {\n  PollyClient,\n  DeleteLexiconCommand\n} = require(\"@aws-sdk/client-polly-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  PollyClient,\n  DeleteLexiconCommand\n} from \"@aws-sdk/client-polly-browser\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst polly = new PollyClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst deleteLexiconCommand = new DeleteLexiconCommand(params);\npolly.send(deleteLexiconCommand).then(data => {\n    // do something\n}).catch(error => {\n    // error handling\n})\n```\n\nIn addition to using promises, there are 2 other ways to send a request:\n\n```javascript\n// async/await\ntry {\n  const data = await polly.send(deleteLexiconCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\npolly.send(deleteLexiconCommand, (err, data) => {\n  //do something\n});\n```\n\nThe SDK can also send requests using the simplified callback style from version 2 of the SDK.\n\n```javascript\nimport * as AWS from \"@aws-sdk/client-polly-browser\";\nconst polly = new AWS.Polly({ region: \"region\" });\npolly.deleteLexicon(params, (err, data) => {\n  //do something\n});\n```\n\nFor operations containing stream response like `SynthesizeSpeech()`, you can get response stream by accessing to streaming member. e.g. data.AudioStream.getReader().read().then(/_ do something and continue reading _/).(`data` is the resolved response object)\n\n### Troubleshooting\n\nWhen the service returns an exception, the error will include the exception information, as well as response metadata (e.g. request id).\n\n```javascript\ntry {\n  const data = await polly.send(deleteLexiconCommand);\n  // do something\n} catch (error) {\n  const metadata = error.$metadata;\n  console.log(\n    `requestId: ${metadata.requestId}\ncfId: ${metadata.cfId}\nextendedRequestId: ${metadata.extendedRequestId}`\n  );\n  /*\nThe keys within exceptions are also parsed. You can access them by specifying exception names:\n    if(error.name === 'SomeServiceException') {\n        const value = error.specialKeyInException;\n    }\n*/\n}\n```\n\n## Getting Help\n\nPlease use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.\n\n- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`\n- Come join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3)\n- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues)\n\n## Contributing\n\nThis client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/@aws-sdk/client-polly-browser' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"karma start karma.conf","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-polly-browser has been renamed to @aws-sdk/client-polly. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Polly","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.6","@aws-sdk/json-parser":"^0.1.0-preview.6","@aws-sdk/core-handler":"^0.1.0-preview.6","@aws-sdk/json-builder":"^0.1.0-preview.6","@aws-sdk/signature-v4":"^0.1.0-preview.8","@aws-sdk/protocol-rest":"^0.1.0-preview.8","@aws-sdk/config-resolver":"^0.1.0-preview.6","@aws-sdk/middleware-stack":"^0.1.0-preview.7","@aws-sdk/retry-middleware":"^0.1.0-preview.6","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.8","@aws-sdk/url-parser-browser":"^0.1.0-preview.6","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.6","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.7","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.7","@aws-sdk/stream-collector-browser":"^0.1.0-preview.6","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.6","@aws-sdk/middleware-header-default":"^0.1.0-preview.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","karma":"^4.1.0","rimraf":"^2.6.2","typedoc":"^0.14.2","puppeteer":"^1.0.0","typescript":"~3.4.0","@types/jest":"^24.0.12","jasmine-core":"^3.4.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.1","karma-typescript":"^4.0.0","karma-chrome-launcher":"^3.0.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.8","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-polly-browser_0.1.0-preview.4_1572393822935_0.4169770973362126","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-polly-browser","version":"0.1.0-preview.5","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-polly-browser@0.1.0-preview.5","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"478c35c626bb40dd3f438d797f26731bf7d17c35","tarball":"https://registry.npmjs.org/@aws-sdk/client-polly-browser/-/client-polly-browser-0.1.0-preview.5.tgz","fileCount":396,"integrity":"sha512-0n4dIWIDCuZrRKDiBlmM7Sl4F39Y37jzm8jQq0j5PhgvbvcmYDCveAGt64gVJSzo9LzO0LkdyQDp12YmbQAv2A==","signatures":[{"sig":"MEUCIQD/7Wqph8K4KCjFfKma7OTHlyj3velkxF1KCgewRKYYpAIgGLCMiGRfo2gwZiwdJQA4VCFVZ1aZYSyq26VsLG7QPIs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":238546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueb4CRA9TVsSAnZWagAAREcP/2kIyYO21gIjCT7XLQZu\nv/RFn1894vEJE4n3/oABHaJseS+/QXoPY/ZkAjm+2fO9qv2WSTZW8zFV7MMj\nZaMRC28Hb4zag8yiL/ZQZt7/z3vGf9CuYz+AZRIozUv2YgfUJ+cgj1foJTud\nM1czXs3/HMfDOgH74ozXCl56dv8aDFWTyQ0gSCbK1KsyUy57+V4Dea/0qc3b\neTM1wm/7/1smw1mo4Yo9IsC9NGHdkIaOKmV15fBu9adW1rUMdjUX4+jBZ+SX\nCZ+ccZQHxRfPbpHztBU+6d3B0O7G/O9fPMvGoK4ckXSsCJYUUivRQJRiUydY\nw/c3qOmy3tzBhYQEfcdN/X8lsNZu3N2HZnDScU+nWb6QO7+LEvsuyVOZTCHg\nYfrazMIjsUWBgzGE8YFxrcbgadl8oQZscUhU3IbQ81hS+/uSegbLsmIn6wCo\n8uuCaLtxItEqn4gbJW9bWvjhzegnZKf3ZtqtEAuWbEBysRt3q36/J5xOWsQ6\nNFgMb3zPH/7b8wQ267Eq1+8kzCW1dEZHzo6sg0A3ps4sTUDqtwadzEO6aONp\nXldMqShfVs+WfrNeYkmL5GPmvbLtYdRSJLfkouDsfHrR678738f1py3vTAlK\nKJj5DCKpJg9kHpm0w/IFf86WJrq5X2COjY9Xta+yp76U/lyR8yHNYL/LgmFd\nFuWP\r\n=zXvf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-polly-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-polly-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-polly-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-polly-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-polly-browser)\n\n## Description\n\n<p>Amazon Polly is a web service that makes it easy to synthesize speech from text.</p> <p>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.</p>\n\n## Installing\n\nTo install the this package using NPM, simply type the following into a terminal window:\n\n```\nnpm install @aws-sdk/client-polly-browser\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`PollyClient`) and the commands you need, for example `DeleteLexiconCommand`:\n\n```javascript\n//JavaScript\nconst {\n  PollyClient,\n  DeleteLexiconCommand\n} = require(\"@aws-sdk/client-polly-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  PollyClient,\n  DeleteLexiconCommand\n} from \"@aws-sdk/client-polly-browser\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst polly = new PollyClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst deleteLexiconCommand = new DeleteLexiconCommand(params);\npolly.send(deleteLexiconCommand).then(data => {\n    // do something\n}).catch(error => {\n    // error handling\n})\n```\n\nIn addition to using promises, there are 2 other ways to send a request:\n\n```javascript\n// async/await\ntry {\n  const data = await polly.send(deleteLexiconCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\npolly.send(deleteLexiconCommand, (err, data) => {\n  //do something\n});\n```\n\nThe SDK can also send requests using the simplified callback style from version 2 of the SDK.\n\n```javascript\nimport * as AWS from \"@aws-sdk/client-polly-browser\";\nconst polly = new AWS.Polly({ region: \"region\" });\npolly.deleteLexicon(params, (err, data) => {\n  //do something\n});\n```\n\nFor operations containing stream response like `SynthesizeSpeech()`, you can get response stream by accessing to streaming member. e.g. data.AudioStream.getReader().read().then(/_ do something and continue reading _/).(`data` is the resolved response object)\n\n### Troubleshooting\n\nWhen the service returns an exception, the error will include the exception information, as well as response metadata (e.g. request id).\n\n```javascript\ntry {\n  const data = await polly.send(deleteLexiconCommand);\n  // do something\n} catch (error) {\n  const metadata = error.$metadata;\n  console.log(\n    `requestId: ${metadata.requestId}\ncfId: ${metadata.cfId}\nextendedRequestId: ${metadata.extendedRequestId}`\n  );\n  /*\nThe keys within exceptions are also parsed. You can access them by specifying exception names:\n    if(error.name === 'SomeServiceException') {\n        const value = error.specialKeyInException;\n    }\n*/\n}\n```\n\n## Getting Help\n\nPlease use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.\n\n- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`\n- Come join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3)\n- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues)\n\n## Contributing\n\nThis client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/@aws-sdk/client-polly-browser' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"karma start karma.conf","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-polly-browser has been renamed to @aws-sdk/client-polly. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Polly","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/json-parser":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/json-builder":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.9","@aws-sdk/protocol-rest":"^0.1.0-preview.9","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/middleware-stack":"^0.1.0-preview.8","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.7","@aws-sdk/signing-middleware":"^0.1.0-preview.9","@aws-sdk/url-parser-browser":"^0.1.0-preview.7","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.8","@aws-sdk/stream-collector-browser":"^0.1.0-preview.7","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.7","@aws-sdk/middleware-header-default":"^0.1.0-preview.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","karma":"^4.1.0","rimraf":"^2.6.2","typedoc":"^0.14.2","puppeteer":"^1.0.0","typescript":"~3.4.0","@types/jest":"^24.0.12","jasmine-core":"^3.4.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.1","karma-typescript":"^4.0.0","karma-chrome-launcher":"^3.0.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.9","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-polly-browser_0.1.0-preview.5_1572464376100_0.07578785010893907","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-polly-browser","version":"0.1.0-preview.6","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-polly-browser@0.1.0-preview.6","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"40c18a7634ce12a9cc6580a6d210709ea8ecf91b","tarball":"https://registry.npmjs.org/@aws-sdk/client-polly-browser/-/client-polly-browser-0.1.0-preview.6.tgz","fileCount":396,"integrity":"sha512-IuIoCKSm+mAq7IkjYk6XgOaaBp8aPGO3hvdJUkzH0+m+4tdqXEf2atIzYFdOWPCv9OjaWhWdxSkVkXqEzg1sow==","signatures":[{"sig":"MEQCIG+vcDwVR2FZHlcj07Jo4PgFPeTyNStLFKiiF06mmh5vAiBLPPjMOnnNW7779cPChmDYHRRs3rdP/ko0nwEPBOVpMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":238818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FWECRA9TVsSAnZWagAArJ8QAIJ48H25TRlTniN4RxfR\nGz7igZX3+fvm/pwysrfsu4B1Z1NPrszy5mgTi1Tr/dEX200xKUs97LchyUUm\nAdWN4MhEnv9lPEBBji/lN0GEt0cAmGX2EWuORc/cS/gfqcA51YvvLcRxUOAg\noDj2l/R3s1a+zrqy9RpMea3/8Qmn4vKV+XzLQXZPTkG8hpHMZ+RpdLChXN4z\nbildnppfEUw0i2L87zl9Q4M2PCNzk1ckqckLDeDgM2bB25ARoEDOEwtnA6tK\nk18utYAXM3TmIf97zOgOMm9RQAa95QsT+NMqm53J2Ot9huGYXwdm8VktsMyk\nASN8FrThuY3S5lsNw1+qY4FbkVdWvoFXnPmP8pZHce0JIQ+2yApfdJA79t/y\nlAD4HcsaGpoqRpWFFPiENdV/q9rD4wGNj+nmEVsBgIJoqlrmAHIIjokrs3jf\nLF/HX4OWPhvhmuaNtCUWa/Q+cwDvkwlNEs3m+bAR+hl1JdOlFhC6eOo8sf6Q\noqSbE82ABH3yM54dzvSp3MXSbHxkwNIUnxmo/dcBLaKtH5kmnVQ9pB9UNm3O\nz8FDqToQiPeBFX1t20ouW5gzY+XLLndXbI7pxA3NiA0zY19Sn+HHGvLYBMni\nps5u0Ecq0yHmUahYbs+43/8P3MBWWyGhZxRdm0xQ2Mcx146Z4rEFAdxmzTbc\neysO\r\n=bRBd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-polly-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-polly-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-polly-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-polly-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-polly-browser)\n\n## Description\n\n<p>Amazon Polly is a web service that makes it easy to synthesize speech from text.</p> <p>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.</p>\n\n## Installing\n\nTo install the this package using NPM, simply type the following into a terminal window:\n\n```\nnpm install @aws-sdk/client-polly-browser\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`PollyClient`) and the commands you need, for example `DeleteLexiconCommand`:\n\n```javascript\n//JavaScript\nconst {\n  PollyClient,\n  DeleteLexiconCommand\n} = require(\"@aws-sdk/client-polly-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  PollyClient,\n  DeleteLexiconCommand\n} from \"@aws-sdk/client-polly-browser\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst polly = new PollyClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst deleteLexiconCommand = new DeleteLexiconCommand(params);\npolly.send(deleteLexiconCommand).then(data => {\n    // do something\n}).catch(error => {\n    // error handling\n})\n```\n\nIn addition to using promises, there are 2 other ways to send a request:\n\n```javascript\n// async/await\ntry {\n  const data = await polly.send(deleteLexiconCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\npolly.send(deleteLexiconCommand, (err, data) => {\n  //do something\n});\n```\n\nThe SDK can also send requests using the simplified callback style from version 2 of the SDK.\n\n```javascript\nimport * as AWS from \"@aws-sdk/client-polly-browser\";\nconst polly = new AWS.Polly({ region: \"region\" });\npolly.deleteLexicon(params, (err, data) => {\n  //do something\n});\n```\n\nFor operations containing stream response like `SynthesizeSpeech()`, you can get response stream by accessing to streaming member. e.g. data.AudioStream.getReader().read().then(/_ do something and continue reading _/).(`data` is the resolved response object)\n\n### Troubleshooting\n\nWhen the service returns an exception, the error will include the exception information, as well as response metadata (e.g. request id).\n\n```javascript\ntry {\n  const data = await polly.send(deleteLexiconCommand);\n  // do something\n} catch (error) {\n  const metadata = error.$metadata;\n  console.log(\n    `requestId: ${metadata.requestId}\ncfId: ${metadata.cfId}\nextendedRequestId: ${metadata.extendedRequestId}`\n  );\n  /*\nThe keys within exceptions are also parsed. You can access them by specifying exception names:\n    if(error.name === 'SomeServiceException') {\n        const value = error.specialKeyInException;\n    }\n*/\n}\n```\n\n## Getting Help\n\nPlease use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.\n\n- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`\n- Come join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3)\n- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues)\n\n## Contributing\n\nThis client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/@aws-sdk/client-polly-browser' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"karma start karma.conf","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-polly-browser has been renamed to @aws-sdk/client-polly. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Polly","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/json-parser":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/json-builder":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.10","@aws-sdk/protocol-rest":"^0.1.0-preview.10","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/middleware-stack":"^0.1.0-preview.9","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.10","@aws-sdk/url-parser-browser":"^0.1.0-preview.7","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.9","@aws-sdk/stream-collector-browser":"^0.1.0-preview.7","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.7","@aws-sdk/middleware-header-default":"^0.1.0-preview.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","karma":"^4.1.0","rimraf":"^2.6.2","typedoc":"^0.14.2","puppeteer":"^1.0.0","typescript":"~3.4.0","@types/jest":"^24.0.12","jasmine-core":"^3.4.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.1","karma-typescript":"^4.0.0","karma-chrome-launcher":"^3.0.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.10","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-polly-browser_0.1.0-preview.6_1574196612431_0.7170066729523754","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T18:04:50.406Z","modified":"2025-03-27T18:41:27.977Z","0.1.0-preview.2":"2019-09-09T18:04:50.793Z","0.1.0-preview.3":"2019-09-19T15:56:25.881Z","0.1.0-preview.4":"2019-10-30T00:03:43.076Z","0.1.0-preview.5":"2019-10-30T19:39:36.252Z","0.1.0-preview.6":"2019-11-19T20:50:12.542Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for Amazon Polly","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}