{"_id":"@aws-sdk/client-device-farm-browser","_rev":"19-4ac97a7e13a4f36138ac2afc79c3d94f","name":"@aws-sdk/client-device-farm-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-device-farm-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-device-farm-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":"d9bf99b4df24943e561f28b1484f361bcf2af189","tarball":"https://registry.npmjs.org/@aws-sdk/client-device-farm-browser/-/client-device-farm-browser-0.1.0-preview.2.tgz","fileCount":1878,"integrity":"sha512-0om7IV5JfZTm3VDFYjlq4FvtUnwLQkn+ZT64PSTI/louM61/zFlvYrpPFXxywAHVdtbZNvUiayCe9OYe5I1o9A==","signatures":[{"sig":"MEUCIQCP5l8ETtT243tHbOGZgzgcsZEE8H4/xhqbXNLIaqZxgwIgaNR1wJLIgivGpTzyJI1IYDqMR98a/rd6CYaMu98MTUE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1096756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpOBCRA9TVsSAnZWagAANncP/3oeOwPuLCXxyIS14N/S\nmjZfCzPZJe8eVeyAb5FTr3c9j6OPGDCThvPp56dguZna76U6lAbfNJdsqFjl\nVMBlnN49dfNCIs0ZqOD7y34AP5tLTIQxfkFXqdMYM2+AY++QbI3GUnB5IvdS\nFA+Bk+16GkWzYxTyQMJbigR1/bqnwrHj2owMNy8/pzgdYbHLiOZrrm09rNsO\nO/RHcYaM6zma0sggq7YUXSLZ9UZrXRdwiqIa+1kf/LxEZ8QlFfkN4EdM1bnN\nvkgex3VQoKbFcDq4DE4YoKf4wgViKk50f/DfrnpJI3+eweq/zhj+gMPAB1km\nBrsP6lZiZPflTD3iVEEPARJhkp9skHP1Bx0pYLgTpk9wo7c8f6OiGwc8NjdX\nl5gdeJYxglQN74V2rZ7QPmn+1qa6PRkdLD9UrkMU8BgsHyowKlh9RSdFp12N\nfhmyB5iBkP9sYW9FFo1KEXlzC26xqn2a2tg3BsmZnlsfDSFLFtweFg/8Pv6K\nUfTpeMgC6Q3+lGZSDBhetn/mqpY8oVd7g1rqN0Epa12YaivaPqp/CMduwr9h\nG49p4PrL+0ylTJMMwlXeAP7AHZAgRfVIOm7ZhhLc6GdhGlSbRArHs68CLwKg\nsvzlvMLzM4gVeObjib2hzh6764A2osk5GtvD6G/LRZn0ccfmOsd0DGzr5DGE\nS9Bo\r\n=tdXK\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-device-farm-browser has been renamed to @aws-sdk/client-device-farm. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Device Farm","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/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/protocol-json-rpc":"^0.1.0-preview.6","@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-device-farm-browser_0.1.0-preview.2_1568052096709_0.13477178590976746","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-device-farm-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-device-farm-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":"0977afc36fefdae9bfd983145115bb0421349252","tarball":"https://registry.npmjs.org/@aws-sdk/client-device-farm-browser/-/client-device-farm-browser-0.1.0-preview.3.tgz","fileCount":1878,"integrity":"sha512-gE0D0JKi6p8DqKylEQSU9Lr1A4+x883Br5mKPkYHPLFCc7RRXl900PfY45lSDxgem4wRV2+Ua4UR3v0xV34/AQ==","signatures":[{"sig":"MEQCICelBbnwA/zZq52mc6vWV/3NWzsP9axJ4yDILhE5iRJnAiBzd08QPLL1q90HgSXeb9iaC5JZ0EuiwXAi18T9YaK5sw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1096976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6OfCRA9TVsSAnZWagAANasQAKANPkJ5tsuUeBJZvWct\nHQoiAEbHFldaHSI1v3RcR/E9CXSRgrOTDkTONAXO4x0GG7oTazCb/lrdda8R\n6xZr/vmD0wAI2yqQGFClmLQa0de1CdkhimUn4oeBokeCUID21SGtHyRIV4I7\nx7+H1e9tyabSC8WAshqzbwO1oaMBAcldBa3gpdygVQlINVp65wW5JUZ9wU5r\nnKCHeOvGy/OsE7SsEm9U25R3eCwkoDsqRy4b0LgY7r5xRc2jBNI9M2tqxP4n\nFrn991m2Ugjx4bOKJgr0xvQHNhhHWX9BG5Z9Kyv7dVG+g6LkQ/HJPum4bsu+\ny4GtO7TL83eEe/th/ohSy/F5/EMzpXHfBQkaFAyFS4xGUfpL7xkiQm+IqwuF\n9222hw8rVlqk6zD7nI4RrsSysZ8bwQKKCajfGM/ZRoT37Hp+fvVHGJwvh9eq\nWtHB2R6LddrJUaPJHSdVaRYeljBixJusxvM98Ajc1n4OmlPmCO3twxUnSmus\n43pS3DPhSERaJXQO5xSLH6Ch0hDp/fmIK/d8wjm1TXL76kEiEPga71GoBJGT\nkO7UODzjpqYax+RaKgctSaxYmx5OXjHWHsS0DBN4wcQn7hqqwWMLglZBqQER\nSDlqrrPTuMt4+F84BNS1ULGJIWeNk3zZdf0XCFdxIViKZ1GddAeD3voVg2QB\n3X95\r\n=I5bM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-device-farm-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-device-farm-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-device-farm-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-device-farm-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-device-farm-browser)\n\n## Description\n\n<p>AWS Device Farm is a service that enables mobile app developers to test Android, iOS, and Fire OS apps on physical phones, tablets, and other devices in the cloud.</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-device-farm-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(`DeviceFarmClient`) and the commands you need, for example `CreateDevicePoolCommand`:\n\n```javascript\n//JavaScript\nconst {\n  DeviceFarmClient\n} = require(\"@aws-sdk/client-device-farm-browser/DeviceFarmClient\");\nconst {\n  CreateDevicePoolCommand\n} = require(\"@aws-sdk/client-device-farm-browser/commands/CreateDevicePoolCommand\");\n```\n\n```javascript\n//TypeScript\nimport { DeviceFarmClient } from \"@aws-sdk/client-device-farm-browser/DeviceFarmClient\";\nimport { CreateDevicePoolCommand } from \"@aws-sdk/client-device-farm-browser/commands/CreateDevicePoolCommand\";\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 deviceFarm = new DeviceFarmClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  projectArn: /**a string value*/,\n  name: /**a string value*/,\n  rules: [ /**a list of structure*/ ],\n};\nconst createDevicePoolCommand = new CreateDevicePoolCommand(params);\ndeviceFarm.send(createDevicePoolCommand).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 deviceFarm.send(createDevicePoolCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\ndeviceFarm.send(createDevicePoolCommand, (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-device-farm-browser/DeviceFarm\";\nconst deviceFarm = new AWS.DeviceFarm({ region: \"region\" });\ndeviceFarm.createDevicePool(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 deviceFarm.send(createDevicePoolCommand);\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-device-farm-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-device-farm-browser has been renamed to @aws-sdk/client-device-farm. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Device Farm","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/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/protocol-json-rpc":"^0.1.0-preview.6","@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-device-farm-browser_0.1.0-preview.3_1568908190718_0.19824731701793863","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-device-farm-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-device-farm-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":"4e9a4375f5711fcd39e7228bc2a2ebded26557c7","tarball":"https://registry.npmjs.org/@aws-sdk/client-device-farm-browser/-/client-device-farm-browser-0.1.0-preview.4.tgz","fileCount":1878,"integrity":"sha512-tQGv1ZjsJ7+9Nw2BcYFcY3buk+by0etdVjjTCiiYKwQnkr9dPFY1S8hq8O1TVALACLBEzmkKfrubU2gaXbk70g==","signatures":[{"sig":"MEYCIQCjzAah8IspWMx4AQBRctDZSmZcMelWIASRXgQGARD2vQIhAMSPIRHhdb/1QPJx/d3axVXPQjvIiKkhYeo8FVZlp6RE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1096991,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNLSCRA9TVsSAnZWagAAxpwQAI/USSGN3eYO5izlqXgJ\nyqC6of53vrTJw4BudH9EeJL32rcfvpENJJ6IMdZUWN0BmLqa7BRW7xzpkTlH\nZrqBdfxovFjlGIhRWujegVaehaghdgVZ2DDNdgoIsR82xb2YclV/bGQkeENh\nI8b3jGSRbF+jBo5b2cuCrS31UHu5x3YSiwbAcQl+BQLyRZkM9WOjDF15NmbK\neS7aWb3wpr6P3rDWh2ea6p/ec5AuKOfxRm8kVcBjLUQ510DtH1kg0WTwlyBU\n1v9M3lzN1+uXGHo/IDi4OZMp8cR30uWRWnev/5Inlpcw75QR+AB+b/S0Usog\nN3sTAJWc8uceF0u2hiMqF1MHAXeGBgKoskEo+qafS/wl8xOFbum58MGkCcAo\n49lei2m0oePkfG30sFh9KZ2+Bf8q2dTbqiIaV4T04bNOe9viv+9c1Op/PtGZ\nBOPlaVM9VRxUm9wqtZ2hSIMAdQGK+MK57shpPrVvmSAUW8+9bGR1xxRxB2Tw\n5vlYfXkHc6qmIzotuAy4HWSWrKQnt/9vZLdy1f4wA1GS1dXpLomdqPdEPnBv\nEE+tGFuBDTwgW0jYk7rf/GcZVzTJ/BewClnW4WrYjjrfC1a+lGD6w9MQIj21\nhxl0J9BYpqzEBQhcq5OcYQm5CT8y0/JMH/gRvKi69I6sIwahjo6lzmQt4VsB\nkd9+\r\n=V1sa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-device-farm-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-device-farm-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-device-farm-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-device-farm-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-device-farm-browser)\n\n## Description\n\n<p>AWS Device Farm is a service that enables mobile app developers to test Android, iOS, and Fire OS apps on physical phones, tablets, and other devices in the cloud.</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-device-farm-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(`DeviceFarmClient`) and the commands you need, for example `CreateDevicePoolCommand`:\n\n```javascript\n//JavaScript\nconst {\n  DeviceFarmClient,\n  CreateDevicePoolCommand\n} = require(\"@aws-sdk/client-device-farm-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  DeviceFarmClient,\n  CreateDevicePoolCommand\n} from \"@aws-sdk/client-device-farm-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 deviceFarm = new DeviceFarmClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  projectArn: /**a string value*/,\n  name: /**a string value*/,\n  rules: [ /**a list of structure*/ ],\n};\nconst createDevicePoolCommand = new CreateDevicePoolCommand(params);\ndeviceFarm.send(createDevicePoolCommand).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 deviceFarm.send(createDevicePoolCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\ndeviceFarm.send(createDevicePoolCommand, (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-device-farm-browser\";\nconst deviceFarm = new AWS.DeviceFarm({ region: \"region\" });\ndeviceFarm.createDevicePool(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 deviceFarm.send(createDevicePoolCommand);\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-device-farm-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-device-farm-browser has been renamed to @aws-sdk/client-device-farm. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Device Farm","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/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/protocol-json-rpc":"^0.1.0-preview.7","@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-device-farm-browser_0.1.0-preview.4_1572393681908_0.29615661431535356","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-device-farm-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-device-farm-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":"0d8daad95cab3d09eea3c906aebfe3ff01301788","tarball":"https://registry.npmjs.org/@aws-sdk/client-device-farm-browser/-/client-device-farm-browser-0.1.0-preview.5.tgz","fileCount":1878,"integrity":"sha512-cgDtBt80WcytBZwntwD3sg3Ahr/5ZeBKBKKUI6Tv4KzbenQBwFIPz+QDgWXp3pmIy+3QuhiqkVQqZlvdzZHR5Q==","signatures":[{"sig":"MEYCIQDbpBRhaw6zkoFCovTBiXbvqVOPjBojQTA+cnG27FJsSQIhAPlXdAn9clKsT3nR2IEdtKkzNQl56g/Hies8kNQpGel0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1097235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueZfCRA9TVsSAnZWagAAwvYP/RQ2ZT9/xLTAMZDQ61AE\nVB60uTDTWTYxVrdyu6MZmsyIiEwJ+afW2ig17UNQxLWRYNz1QEXJHoBAQ6zP\nFLXyDe6vRbNF/5zGiNOSJzp9rZrgsPdqAmAV0+CyaZt+76uMCCm+ECXt0Ic3\nyqekzsRAGhdI6RnYTcCAceLMvfyBaZ+lFNpkovLGUMj+EuyhCb3/otycQpXv\nzlPWj4SbN0qs3owuBxMmMfv7yf6YPP5eehGIcX71tTmEuM06V76lzJYoigtO\ngtXA3MIWuiqmxKFcuGa0r6njDKzUrDnwxde1mEnwvte/XA2nm6dDqzlD3qYr\n8QK7SeiMUb2sddqc5udKn/sDU/oUZIOFbitWMLmNU+m0DUl93Qi+EwF8Lmae\n14sVVcJzCVjIrLPRP6N4d7yV5KFFk0tXwNtiderMw7LDo2558ZvuvgZzq9zT\n04oAANdy+4Wy12hclzDoOi57YcPAzLF3si0QlImqAa6KNeYJJGGyjaOy6h2X\nxFDwmf+BgQLTc2EACiBz6jgCTe5TGFblalJ7iUD2StRXCvEJcrpRDkQ7ZeQD\nlatqu4ueN20yyNKUEE1dXi2Y9t7Rf2Yfs31adgaFpf2Yv1oUibUNrIgroAct\nf9AQNzOzQA5fGZX5m3amrs729ruAhVgRJxgEeLL+fZzGSfb5gdrMVfPTfwCb\nOYkd\r\n=Qlsr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-device-farm-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-device-farm-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-device-farm-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-device-farm-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-device-farm-browser)\n\n## Description\n\n<p>AWS Device Farm is a service that enables mobile app developers to test Android, iOS, and Fire OS apps on physical phones, tablets, and other devices in the cloud.</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-device-farm-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(`DeviceFarmClient`) and the commands you need, for example `CreateDevicePoolCommand`:\n\n```javascript\n//JavaScript\nconst {\n  DeviceFarmClient,\n  CreateDevicePoolCommand\n} = require(\"@aws-sdk/client-device-farm-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  DeviceFarmClient,\n  CreateDevicePoolCommand\n} from \"@aws-sdk/client-device-farm-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 deviceFarm = new DeviceFarmClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  projectArn: /**a string value*/,\n  name: /**a string value*/,\n  rules: [ /**a list of structure*/ ],\n};\nconst createDevicePoolCommand = new CreateDevicePoolCommand(params);\ndeviceFarm.send(createDevicePoolCommand).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 deviceFarm.send(createDevicePoolCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\ndeviceFarm.send(createDevicePoolCommand, (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-device-farm-browser\";\nconst deviceFarm = new AWS.DeviceFarm({ region: \"region\" });\ndeviceFarm.createDevicePool(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 deviceFarm.send(createDevicePoolCommand);\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-device-farm-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-device-farm-browser has been renamed to @aws-sdk/client-device-farm. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Device Farm","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/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/protocol-json-rpc":"^0.1.0-preview.8","@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-device-farm-browser_0.1.0-preview.5_1572464223341_0.4039312824723176","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-device-farm-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-device-farm-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":"7f977fe77c05d47594767d540ef53d2c25c87663","tarball":"https://registry.npmjs.org/@aws-sdk/client-device-farm-browser/-/client-device-farm-browser-0.1.0-preview.6.tgz","fileCount":1878,"integrity":"sha512-Hc/GTjwseWhsYhtKqG5QY6KppEu5/jWdLu0EjRJoctaq0G2KDvNOwyDI0UNVFbYpn/7fEOb+Coh8YgJB43H7bw==","signatures":[{"sig":"MEUCIDimXzo1wPrydyQitbouvvQEJysvTAdq7xXLz8fM96NyAiEAktpgdPufRge57LaqcK0UGm8tSljmbkD9ZlivVQPBmjA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1097506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FVGCRA9TVsSAnZWagAADiEP/2+l839b2SETAOewpmk3\nieKlWnklv5sufmhlG3mKZJLT0/arsc0r76Dgd4SMfF6sUVZ7PNF9IRIw8Q9t\ncsrPFXfybti07ylY2Bp2zXl81GoMQH6WXJrG+XjZ7dYEk0XBAVAw3v6+j1rV\nRtTsB6Z/dDTgdI861l6nf3VdX8dkngJKJBY/qf+GajmGjp/hUfIWo8KD3wiv\n1LWrD5zucoFygISJfQDn/ekDFmpWv3I2NYE+NAsmik2MKTo46Xe0LjoVWtV2\nAAa87cbeCB7QkYXIBsOsr62uI7kq0vHJn6vNVKM6lBYwx+bJSKpAW5WkDLNC\nC2vtFGje7AhGfhu0qg0yAZP4UrvWFDQbwewFkEw3Cj3LO53IIPJtAxjz8jpr\nVKAEwVq6TzsknsgD2nuUKgY7HhoU+t2pBqJhOlwk+OBbRFbBjqae3/9oPeTJ\nsqWGn31+CpZZ4cajHiMIqzqqUy1LK/1ybrbNXbUUwHlraWyDChIlT1eGFMcb\n+yVTd/tFFDktf6G/z5TH6Pdz+EJoYSVBhlTU/43kQJYfRHf5bHryVkqH0srV\nZq3F934LYJgkq1vzssudMJC0LOLFgIAyl7Wzmkei/6CplzjsBIgrcHFdxNSp\nUhrO+Ph6iSgUOI+tfp08y213z3iyACAib8XgNiLY+VH8WkyKJ7oHzZ8ep02+\n12Eb\r\n=pAG5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-device-farm-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-device-farm-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-device-farm-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-device-farm-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-device-farm-browser)\n\n## Description\n\n<p>AWS Device Farm is a service that enables mobile app developers to test Android, iOS, and Fire OS apps on physical phones, tablets, and other devices in the cloud.</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-device-farm-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(`DeviceFarmClient`) and the commands you need, for example `CreateDevicePoolCommand`:\n\n```javascript\n//JavaScript\nconst {\n  DeviceFarmClient,\n  CreateDevicePoolCommand\n} = require(\"@aws-sdk/client-device-farm-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  DeviceFarmClient,\n  CreateDevicePoolCommand\n} from \"@aws-sdk/client-device-farm-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 deviceFarm = new DeviceFarmClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  projectArn: /**a string value*/,\n  name: /**a string value*/,\n  rules: [ /**a list of structure*/ ],\n};\nconst createDevicePoolCommand = new CreateDevicePoolCommand(params);\ndeviceFarm.send(createDevicePoolCommand).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 deviceFarm.send(createDevicePoolCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\ndeviceFarm.send(createDevicePoolCommand, (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-device-farm-browser\";\nconst deviceFarm = new AWS.DeviceFarm({ region: \"region\" });\ndeviceFarm.createDevicePool(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 deviceFarm.send(createDevicePoolCommand);\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-device-farm-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-device-farm-browser has been renamed to @aws-sdk/client-device-farm. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Device Farm","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/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/protocol-json-rpc":"^0.1.0-preview.8","@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-device-farm-browser_0.1.0-preview.6_1574196550372_0.13347994792543227","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T18:01:36.535Z","modified":"2025-03-27T18:37:49.710Z","0.1.0-preview.2":"2019-09-09T18:01:36.915Z","0.1.0-preview.3":"2019-09-19T15:49:50.897Z","0.1.0-preview.4":"2019-10-30T00:01:22.106Z","0.1.0-preview.5":"2019-10-30T19:37:03.597Z","0.1.0-preview.6":"2019-11-19T20:49:10.550Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for AWS Device Farm","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}