{"_id":"@aws-sdk/client-alexa-for-business-node","_rev":"19-359b7163da6ad6714b139542736aa6c9","name":"@aws-sdk/client-alexa-for-business-node","dist-tags":{"latest":"0.1.0-preview.2","preview":"0.1.0-preview.6"},"versions":{"0.1.0-preview.2":{"name":"@aws-sdk/client-alexa-for-business-node","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-alexa-for-business-node@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":"aee42564b3d2cdb8b7d89f6f52177f99097ad577","tarball":"https://registry.npmjs.org/@aws-sdk/client-alexa-for-business-node/-/client-alexa-for-business-node-0.1.0-preview.2.tgz","fileCount":2480,"integrity":"sha512-bSkfNEfWft6H/oIjVl284NDuVVDRb0ZE7yQkXCBoZuXJn06M9flg+JhI6nRlgp8Tb56U0iMkXE8ggS8MrP+spQ==","signatures":[{"sig":"MEQCIFplz8sAh5Rw4gjUEP+3WYWf+tL+oOCIvMqi9QYsAymIAiBesbY+JjZIOArQJao/bOV6PZ0ZVogrn0NeKRsxO7vM1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1279917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddo/5CRA9TVsSAnZWagAAnH4P/20R//kdbwmHi54YqRyH\ngkDuJM+ryW5e2X7yzfZrxgCX/vZWecGyKoDyawMFr32S34Tet1Ztk0AQUx7o\n+BJTtoOmrE4eporub6uw/5a74gJE65JXxFD5F/UPblv78RrmwfRZlrQxqfJf\njT4ygGyNcFEm5fwaTC4jVEkJMpTZyaQfVV2T/WD0ELXFE2HATVL16Q8Q8ASj\n2tag1gmIzqnipgLAY5l+ff/DSRLk7LTiSeiAeeqFIajrm6toZMi25/sPkf7j\nQ+/yv12XT8mj/p6yIuVjtBM+WS8iKlYqxCQjMJnPTqQmZAKErYS0odNjCOzs\nYbJikBNV3E4JG+zLPa32T9KiHWN6g2AEs8IbLf+KKedLwTcL6i1hyosg1onN\ns6FGmY/FKSJcuHIy2H8c1OoU+ANY77UMJQS9GAy9yWKO+5ex6ggHNDwt9kv5\njd8nuUgESwPO2zgAIeBvEzslR9g/PeJF+1hJAU2IVoMiEc2lPw7CxF7/TWMs\nueCUvu5EeT3qoyDxXMgaNaJjgDparhJ33Bxq0aCmk+18BD5JjFmVP+8TnDRs\ni4WWUsfsi6JoRJxYy8KMkjSq0ouen1Z/Q9MHe+kyIVailkfFupQlFIxbROB6\nljiGzmGI4fJgBZ717MR0fmoMT7yXjGbA1OQdm9ez1Uxe6/O1ish0C8kAHVis\nXYRq\r\n=OR5F\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":"npm run pretest && node ./test/smoke/index.spec.js","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-alexa-for-business-node has been renamed to @aws-sdk/client-alexa-for-business. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Alexa For Business","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/hash-node":"^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/util-utf8-node":"^0.1.0-preview.3","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/region-provider":"^0.1.0-preview.5","@aws-sdk/url-parser-node":"^0.1.0-preview.5","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-sdk/util-base64-node":"^0.1.0-preview.3","@aws-sdk/node-http-handler":"^0.1.0-preview.6","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.6","@aws-sdk/util-user-agent-node":"^0.1.0-preview.6","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/stream-collector-node":"^0.1.0-preview.5","@aws-sdk/util-body-length-node":"^0.1.0-preview.4","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/credential-provider-node":"^0.1.0-preview.6","@aws-sdk/middleware-content-length":"^0.1.0-preview.5","@aws-sdk/middleware-header-default":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-alexa-for-business-node_0.1.0-preview.2_1568051192990_0.5658276964837115","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-alexa-for-business-node","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-alexa-for-business-node@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":"117fa329e41777c4e4179a29df349f8385c5c18e","tarball":"https://registry.npmjs.org/@aws-sdk/client-alexa-for-business-node/-/client-alexa-for-business-node-0.1.0-preview.3.tgz","fileCount":2480,"integrity":"sha512-pCUzvk4SRU10nhC8FFign5cc4EIzj4hu71a+GBBbgdjubPYl7hnmzAhsMLRc+XnjW3udzNaMlv37fP9BPYeq7Q==","signatures":[{"sig":"MEYCIQDcE/Ql+TvfrtnLuoMQxkf55KEV74BCr4alNTteAQzwJgIhAI9DN1stmru+3mKtAQwwHfarHKaItPJfd0+y/FNgYKAE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1263202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6X/CRA9TVsSAnZWagAAc6QP/2GvhHBIRrgesSKM4GQ4\nDz9Aei91u7o26BBMs45FZTQ6dVO0jDdUI21syF5exNS2A4Wbz/zbv+ak8Izx\n0LE6KUHe66f5iCsEHtHjPC+NGXTgTeEXKnSk96VW9IywNOJ/aZKuCbY7ONWm\nVns14yhwclgJDiPUmIKvZ66uHkHjIfSGivIzGCprAwOIROU4gvmUpv2MCHPf\npfgsbMap9m7EQBwNxWQofDWpliaBKzrt1tVxumQwWzxZ0RXHDMikQYhGNkro\n+3I/iObefS6Diii+03ZvOc37YrR118++BgScLvGxZZNJM9nDzdhO3mQxp4+W\nwp0hdJ8B3wyK5RN3cAQjyyUUCb5izsXhCywW23y6DQEGMYv7LpvGezrEImox\nbUmfL34nWqcn5pCd6UUptTCbs7tMq9tVFPkgPL1230gnKK8OBz6HkAJ5VKP5\nJQgqklUf28FZwpNCMBHzM/BWmCpMpRV+iWeFaMWAx97tH4QHSgaiGjWbhfTX\nfG9tgnPwndwIiSS8cGrlgj2OB3EUPHph3jBJe/jq35P6pkkYdopcO61ANBO2\nIijfIy40GAbgiKbNm+VF/6fG5nSEhwWjgMAuTi1ojmpUp3icrwMkK1FFCbuO\nadHfhFoHRTYVvpVk2Ll3Pxh9ZSIWOs3MLgjJgXNa67B+0v3zcHzA7c+aIXKR\nQrw5\r\n=2YkW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-alexa-for-business-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-alexa-for-business-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-alexa-for-business-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-alexa-for-business-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-alexa-for-business-node)\n\n## Description\n\n<p>Alexa for Business helps you use Alexa in your organization. Alexa for Business provides you with the tools to manage Alexa devices, enroll your users, and assign skills, at scale. You can build your own context-aware voice skills using the Alexa Skills Kit and the Alexa for Business API operations. You can also make these available as private skills for your organization. Alexa for Business makes it efficient to voice-enable your products and services, thus providing context-aware voice experiences for your customers. Device makers building with the Alexa Voice Service (AVS) can create fully integrated solutions, register their products with Alexa for Business, and manage them as shared devices in their organization. </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-alexa-for-business-node\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(`AlexaForBusinessClient`) and the commands you need, for example `ApproveSkillCommand`:\n\n```javascript\n//JavaScript\nconst {\n  AlexaForBusinessClient\n} = require(\"@aws-sdk/client-alexa-for-business-node/AlexaForBusinessClient\");\nconst {\n  ApproveSkillCommand\n} = require(\"@aws-sdk/client-alexa-for-business-node/commands/ApproveSkillCommand\");\n```\n\n```javascript\n//TypeScript\nimport { AlexaForBusinessClient } from \"@aws-sdk/client-alexa-for-business-node/AlexaForBusinessClient\";\nimport { ApproveSkillCommand } from \"@aws-sdk/client-alexa-for-business-node/commands/ApproveSkillCommand\";\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 alexaForBusiness = new AlexaForBusinessClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  SkillId: /**a string value*/,\n};\nconst approveSkillCommand = new ApproveSkillCommand(params);\nalexaForBusiness.send(approveSkillCommand).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 alexaForBusiness.send(approveSkillCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nalexaForBusiness.send(approveSkillCommand, (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-alexa-for-business-node/AlexaForBusiness\";\nconst alexaForBusiness = new AWS.AlexaForBusiness({ region: \"region\" });\nalexaForBusiness.approveSkill(params, (err, data) => {\n  //do something\n});\n```\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 alexaForBusiness.send(approveSkillCommand);\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-alexa-for-business-node' 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":"npm run pretest && node ./test/smoke/index.spec.js","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-alexa-for-business-node has been renamed to @aws-sdk/client-alexa-for-business. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Alexa For Business","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/hash-node":"^0.1.0-preview.6","@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/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/region-provider":"^0.1.0-preview.5","@aws-sdk/url-parser-node":"^0.1.0-preview.6","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.6","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.7","@aws-sdk/util-user-agent-node":"^0.1.0-preview.7","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/stream-collector-node":"^0.1.0-preview.6","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/credential-provider-node":"^0.1.0-preview.7","@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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-alexa-for-business-node_0.1.0-preview.3_1568908798477_0.05377924965383407","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-alexa-for-business-node","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-alexa-for-business-node@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":"58ac65adb2d6fdb8cbc344a0034b682e9c77dc29","tarball":"https://registry.npmjs.org/@aws-sdk/client-alexa-for-business-node/-/client-alexa-for-business-node-0.1.0-preview.4.tgz","fileCount":2480,"integrity":"sha512-6+XcR3fB+I9eiDG92dsRR7r6eTel4L5QTMpcDGUSSVHvOukvwcM3GTht8D7XHc1GHak6vbA2ljWyx+A+WEc/LA==","signatures":[{"sig":"MEUCIA64C7lWfGXGCtKpmOuI7MBis5Jmx+BUHzVlk4borjTcAiEA6LWVZJa5LvZktwiDfs83slhAUZTsLM7U3nF8TNgAcXs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1263199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduM/RCRA9TVsSAnZWagAAdgEP/35tDKl2vM9grttECiD7\nBVJwgeQD13vu7vrx/hdGkuh53baUbHYgcoXNBDVyjAbadheyVf/ESZ0Bo20z\nElaAlHecjxGgz3hyV10nsb4W0j0SORwKj6miio8yo3S2vJTjjFVWyWoR8LK7\nNxn9VKwRbpxSXop0b/g8hhFK7I2IjQOjU82prRi3G7YOMLUTCEIzLW5EcqH2\nRjIGaHmAZrYSUxJmDul/WzQVJxZzse8ApZoXR8z02tkSqd+udQVJajfrKhTD\nhuhxbiG7NjPg6oi/RsNyzBfXwfoJiAJZRXh9vIc6vPQf65zFGXURpuwHFr90\nQKR3jGKP2VpZpfYmFwO0pFPhny6nuggKJXn+jMsl8N8DP2o5rg9eQAwTFKIp\nBJlJCkC6zA7SRMLosHjLzRX1TD5iExDY9u/oFjx4lX35P7PtKA6FIpBAC5iQ\nE05tULGYOhHKkIA0GDlhVmkuTX7076sMc/3utUAnyxMWni0pDjd3e8hmtYge\nX0hYHpz0BN++lDah9PGuiMy5tf62DhCrl3oDrs/ejcnLSWaVwpB3/OlYyvma\nT6lyDt/k3UHNK1yjsD7kK/Y0aVX67uAs7CBc1/9H8v2sMRO1Mm3nEzTOwaTk\nCXBIvc6T/1rEK67oHxSN4pnLxZRnDk35TcybHRXG58l7BRtdtMfEAY1nAUqN\nzLyD\r\n=a2Oz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-alexa-for-business-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-alexa-for-business-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-alexa-for-business-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-alexa-for-business-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-alexa-for-business-node)\n\n## Description\n\n<p>Alexa for Business helps you use Alexa in your organization. Alexa for Business provides you with the tools to manage Alexa devices, enroll your users, and assign skills, at scale. You can build your own context-aware voice skills using the Alexa Skills Kit and the Alexa for Business API operations. You can also make these available as private skills for your organization. Alexa for Business makes it efficient to voice-enable your products and services, thus providing context-aware voice experiences for your customers. Device makers building with the Alexa Voice Service (AVS) can create fully integrated solutions, register their products with Alexa for Business, and manage them as shared devices in their organization. </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-alexa-for-business-node\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(`AlexaForBusinessClient`) and the commands you need, for example `ApproveSkillCommand`:\n\n```javascript\n//JavaScript\nconst {\n  AlexaForBusinessClient,\n  ApproveSkillCommand\n} = require(\"@aws-sdk/client-alexa-for-business-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  AlexaForBusinessClient,\n  ApproveSkillCommand\n} from \"@aws-sdk/client-alexa-for-business-node\";\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 alexaForBusiness = new AlexaForBusinessClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  SkillId: /**a string value*/,\n};\nconst approveSkillCommand = new ApproveSkillCommand(params);\nalexaForBusiness.send(approveSkillCommand).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 alexaForBusiness.send(approveSkillCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nalexaForBusiness.send(approveSkillCommand, (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-alexa-for-business-node\";\nconst alexaForBusiness = new AWS.AlexaForBusiness({ region: \"region\" });\nalexaForBusiness.approveSkill(params, (err, data) => {\n  //do something\n});\n```\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 alexaForBusiness.send(approveSkillCommand);\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-alexa-for-business-node' 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":"npm run pretest && node ./test/smoke/index.spec.js","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-alexa-for-business-node has been renamed to @aws-sdk/client-alexa-for-business. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Alexa For Business","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.6","@aws-sdk/hash-node":"^0.1.0-preview.7","@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/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.6","@aws-sdk/region-provider":"^0.1.0-preview.6","@aws-sdk/url-parser-node":"^0.1.0-preview.7","@aws-sdk/middleware-stack":"^0.1.0-preview.7","@aws-sdk/retry-middleware":"^0.1.0-preview.6","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.7","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.7","@aws-sdk/signing-middleware":"^0.1.0-preview.8","@aws-sdk/util-user-agent-node":"^0.1.0-preview.8","@aws-sdk/middleware-serializer":"^0.1.0-preview.6","@aws-sdk/stream-collector-node":"^0.1.0-preview.7","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.7","@aws-sdk/credential-provider-node":"^0.1.0-preview.8","@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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-alexa-for-business-node_0.1.0-preview.4_1572392912871_0.13288386630909255","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-alexa-for-business-node","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-alexa-for-business-node@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":"7e85f5e3486a6737c45882c27e5b3a794134505c","tarball":"https://registry.npmjs.org/@aws-sdk/client-alexa-for-business-node/-/client-alexa-for-business-node-0.1.0-preview.5.tgz","fileCount":2480,"integrity":"sha512-aKCmZ+P2I6tvBg82RNb2ou/C08zf6rmvWjPvRp/uiBfnyZMwaA9Gtd5cyS7WGTaR7ONDFJps6K1dZAXSHlp9YQ==","signatures":[{"sig":"MEYCIQCqwydB8J4NIRtWBPFlseQ7XLDrShd/0Sj+DcrEASDjDAIhAPG99Vrvaytm202vpHZtWOKWqatVABnmJMsM9ypFmKtr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1263443,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueLHCRA9TVsSAnZWagAAVhMP/jvyOy+EfS2+m9R85GWE\n5N3zNHEk+b2AsldLhdXMN2yRfloiwUc0yjVDQmqbtQPrwn1Z97Xd9pZ+qGuI\nzwS0/gzrk0DE8PKC06auDRHW835Dad7tYJSxC1J+qUdDEpaPKGNW5EHNhbEk\no9OhINveSJxuoPAdQg52Ps6kV63mJpm/e9LUDm4rKjQewlxC+hBtKChHrNOX\n/1/ow61kTRjS+CMmNC+kre7MeCOnwdSNEu9aqbKRiK9WV7G/C2QgtT29578p\nVwviYvJwYyTHVPoLbFgIVao0Q6P2IAe2UQn7BxE0KHcaSnYV6hQlxY/McL/b\n85iozY+C39udZeU+1WEztNOL1TVjSUrc24bq6tr7VRoSPV9ZiIfscSuQnWQe\nzqfpsJjGxcoqHOhyceXTPbmDukJIdHlrHmtzh0TCgqAESlue7C7z0ffrrspY\nQcmZ3lWbSaJV86lNwhkNgiAhxQv7DhBZCQCCxSE1N7JbkDsxxdQBsAlj9qKT\nhAXwfhWaqZ9VYl8eywCSXEFFuPxjmpTtNaZCdhcH36GHcOYVoyoTyZWff6VR\nZh9JA1+A5LcrNGm2TyZfT+eFAeJQo5Eu/tlGcDn90M7ApyDwzEm64gHNtMw6\nW7cy49hW6Sv0h5D1A1FEhsFOdBQqSCLDIDvOI2cNOkZln9Ih9kwn+lH6Vpex\niq7+\r\n=2aAm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-alexa-for-business-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-alexa-for-business-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-alexa-for-business-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-alexa-for-business-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-alexa-for-business-node)\n\n## Description\n\n<p>Alexa for Business helps you use Alexa in your organization. Alexa for Business provides you with the tools to manage Alexa devices, enroll your users, and assign skills, at scale. You can build your own context-aware voice skills using the Alexa Skills Kit and the Alexa for Business API operations. You can also make these available as private skills for your organization. Alexa for Business makes it efficient to voice-enable your products and services, thus providing context-aware voice experiences for your customers. Device makers building with the Alexa Voice Service (AVS) can create fully integrated solutions, register their products with Alexa for Business, and manage them as shared devices in their organization. </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-alexa-for-business-node\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(`AlexaForBusinessClient`) and the commands you need, for example `ApproveSkillCommand`:\n\n```javascript\n//JavaScript\nconst {\n  AlexaForBusinessClient,\n  ApproveSkillCommand\n} = require(\"@aws-sdk/client-alexa-for-business-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  AlexaForBusinessClient,\n  ApproveSkillCommand\n} from \"@aws-sdk/client-alexa-for-business-node\";\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 alexaForBusiness = new AlexaForBusinessClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  SkillId: /**a string value*/,\n};\nconst approveSkillCommand = new ApproveSkillCommand(params);\nalexaForBusiness.send(approveSkillCommand).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 alexaForBusiness.send(approveSkillCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nalexaForBusiness.send(approveSkillCommand, (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-alexa-for-business-node\";\nconst alexaForBusiness = new AWS.AlexaForBusiness({ region: \"region\" });\nalexaForBusiness.approveSkill(params, (err, data) => {\n  //do something\n});\n```\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 alexaForBusiness.send(approveSkillCommand);\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-alexa-for-business-node' 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":"npm run pretest && node ./test/smoke/index.spec.js","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-alexa-for-business-node has been renamed to @aws-sdk/client-alexa-for-business. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Alexa For Business","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/hash-node":"^0.1.0-preview.8","@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/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/region-provider":"^0.1.0-preview.7","@aws-sdk/url-parser-node":"^0.1.0-preview.8","@aws-sdk/middleware-stack":"^0.1.0-preview.8","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.8","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.9","@aws-sdk/util-user-agent-node":"^0.1.0-preview.9","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/stream-collector-node":"^0.1.0-preview.8","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/credential-provider-node":"^0.1.0-preview.9","@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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-alexa-for-business-node_0.1.0-preview.5_1572463302582_0.20999787525597613","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-alexa-for-business-node","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-alexa-for-business-node@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":"301b550b59b6cb4f01b9b9ae636eba66949d79ba","tarball":"https://registry.npmjs.org/@aws-sdk/client-alexa-for-business-node/-/client-alexa-for-business-node-0.1.0-preview.6.tgz","fileCount":2480,"integrity":"sha512-cXCVUWzL6m3RPNikFCoaaYWGCXh0nt80emOBq8ToAmEnB72OV9/hr2yvZdGSvTRsxT8C+Zi2UfwCrfcyutCtvg==","signatures":[{"sig":"MEUCIErNaK7Ty5vVg4uWqf2ug7Ux/bPEhigGIXZQoJZO+2g6AiEAkU8xhzNevhPaI3wJ+YpU5pV+uGTj6Db0Zbd5Vi4dKgc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1263715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FPXCRA9TVsSAnZWagAAqbAQAJjQVM3pW0axQhYHjcDP\n7sBejnWT4XUOtLL6kSCxEauRhkf68Z3wPkmPp7m2EQ7VhnnA59OORNE0x0pw\nkL3YfvWKIk/plxRhDH40pG/o4raAtTcwOz3rs5rIkp3cXI7CCWwvB0k1BbuY\nKHPIeCox+xQpm4VlRZVZL7jLYW0XtIN1B4dYOuXjUMZUGsw55TNWWC791v0V\nWs/6IYeIkFoqbkc789kXc5fEMjVdA3Aaz3/P8HcO8Dr0ogfp14rKhB+VlbvH\nDEUqdc5MS0Ss7oNYiMgwAxSIASHhQ7shm5X5/iCxLWKfll0imSnTJmMqiP7Q\ncAoSc7BTtYYACCnzRlf7mGGZgNl+IfRqngZpv8DY4Y1MacdJuxT81Jg4ev9x\nVO2sJ/ceKze4wPfX7jUFdVAataQxqWbaZkf9nxpU6dHtOekXZl+dAE3YAiz3\nNMsNlPEqk8h8u/PGNkEDSthT5Z3SGE2noPOOzM+evil09wVllObVVgvMsqYY\nGIxm53sEABU2JlZjtzUK9yr+mAIUBJNmeNVnYFLKfQQN9q6CAuCQTod4N5Iz\nZBIDrsyFouyCZndq+5YZor5ZUGIqOKOBkYNJluqfS6blvZN/1xHbAv4aaWZI\n1Trv5Vu6r3ZzotlmHGOXIBxrxvDUHmN9dlG+Ea0vCEtxRt4cWSDXGJC1F4pK\nfI0p\r\n=HvdJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-alexa-for-business-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-alexa-for-business-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-alexa-for-business-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-alexa-for-business-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-alexa-for-business-node)\n\n## Description\n\n<p>Alexa for Business helps you use Alexa in your organization. Alexa for Business provides you with the tools to manage Alexa devices, enroll your users, and assign skills, at scale. You can build your own context-aware voice skills using the Alexa Skills Kit and the Alexa for Business API operations. You can also make these available as private skills for your organization. Alexa for Business makes it efficient to voice-enable your products and services, thus providing context-aware voice experiences for your customers. Device makers building with the Alexa Voice Service (AVS) can create fully integrated solutions, register their products with Alexa for Business, and manage them as shared devices in their organization. </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-alexa-for-business-node\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(`AlexaForBusinessClient`) and the commands you need, for example `ApproveSkillCommand`:\n\n```javascript\n//JavaScript\nconst {\n  AlexaForBusinessClient,\n  ApproveSkillCommand\n} = require(\"@aws-sdk/client-alexa-for-business-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  AlexaForBusinessClient,\n  ApproveSkillCommand\n} from \"@aws-sdk/client-alexa-for-business-node\";\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 alexaForBusiness = new AlexaForBusinessClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  SkillId: /**a string value*/,\n};\nconst approveSkillCommand = new ApproveSkillCommand(params);\nalexaForBusiness.send(approveSkillCommand).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 alexaForBusiness.send(approveSkillCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nalexaForBusiness.send(approveSkillCommand, (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-alexa-for-business-node\";\nconst alexaForBusiness = new AWS.AlexaForBusiness({ region: \"region\" });\nalexaForBusiness.approveSkill(params, (err, data) => {\n  //do something\n});\n```\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 alexaForBusiness.send(approveSkillCommand);\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-alexa-for-business-node' 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":"npm run pretest && node ./test/smoke/index.spec.js","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-alexa-for-business-node has been renamed to @aws-sdk/client-alexa-for-business. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Alexa For Business","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/hash-node":"^0.1.0-preview.8","@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/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/region-provider":"^0.1.0-preview.7","@aws-sdk/url-parser-node":"^0.1.0-preview.8","@aws-sdk/middleware-stack":"^0.1.0-preview.9","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.8","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.10","@aws-sdk/util-user-agent-node":"^0.1.0-preview.10","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/stream-collector-node":"^0.1.0-preview.9","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/credential-provider-node":"^0.1.0-preview.10","@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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-alexa-for-business-node_0.1.0-preview.6_1574196183090_0.1332914054683707","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T17:46:32.819Z","modified":"2025-03-27T18:35:31.670Z","0.1.0-preview.2":"2019-09-09T17:46:33.236Z","0.1.0-preview.3":"2019-09-19T15:59:58.743Z","0.1.0-preview.4":"2019-10-29T23:48:33.109Z","0.1.0-preview.5":"2019-10-30T19:21:42.788Z","0.1.0-preview.6":"2019-11-19T20:43:03.306Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Node SDK for Alexa For Business","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}