{"_id":"@aws-sdk/client-sms-browser","_rev":"19-1792620edf04ca5ef3aefb782a7e1223","name":"@aws-sdk/client-sms-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-sms-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-sms-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":"7f4697fbd514975729bebf0a66fc87358ddf2d51","tarball":"https://registry.npmjs.org/@aws-sdk/client-sms-browser/-/client-sms-browser-0.1.0-preview.2.tgz","fileCount":834,"integrity":"sha512-+NSK6n9gKzcqFYvS26A/yeSA/DAa0/oLP9H20fcwWOA/ZMwPH0nH9vEZ9Fsnifnr3bBRPXovNpABL0L4P2rqkw==","signatures":[{"sig":"MEUCIBRQxVeRqiOiDiZtC5CtawhyR3M5AI7bXYdjpnKoKSduAiEAjPHomXuWrJJStCpua4F66u3ICp2C9WnfdPQ37hpdQwM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":484562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpR8CRA9TVsSAnZWagAAZikP/ijvMt3t3pLoYgem0ybb\nBD7Qu9uUGeT2cVb4TSyS3YBT4lTk1BWRJ78k0DlpjKVAOzQU2kLt23L6C711\n9fs1jOkyTW256uWjC0bcEPMFT2y5OG2QLS7fAVEzULlYQUTV+dAbDsiCPecL\n+ltl+/84bCXp7InVW99ibHnUKhizfNcVWWt0I/twYiYA8dzOBxSR5MGWqNH3\nbKUC+HWzNv0EK4V9hI6qcY7TkhNk2AqvzH6P0FaRE8aXSquEbvHESZGI3xYN\ndDNgCkqPkgSw9cakq4FaTK1oWrkpiSGz+h9XBAALRw2lRlt/u5nj447fFBFO\n9dOKrITM8k/31WUApZnp7eZQ2vZIny3laWVreSAi2DG6lcpBq4ijZjmvtted\naVgd2OAIqBHyI/n4Yev1KVN8G1FBeYqGaewlL399UfuQukT95R7ooa5p6Tcc\n8hD9i+Ni7EHf8gBuQocw3P7B+mmfrSUmonyuH1cEUf+SQxYP99K1JquqhGF4\nEkW4MUI2P3nR7XL5v9T19GC4TOIxoUglEg3z5otxw/E38Wd3EfhDjricOVY4\nD0HELkdkUrseuTg3wgQY8bJmA+YeBEUCjAf67TlhfUhUkzSXdyvB8D7aWK8O\nQAea/2OKRNsZu/Z/Gwrbvmyl+w7JEppBLKUzirYPyxbxzGrXeesX8EqD9j+d\ndde1\r\n=+i6Z\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-sms-browser has been renamed to @aws-sdk/client-sms. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Server Migration Service","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-sms-browser_0.1.0-preview.2_1568052347650_0.6570350421442779","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-sms-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-sms-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":"c987db852f7fb389013715487957b6f3fec05ece","tarball":"https://registry.npmjs.org/@aws-sdk/client-sms-browser/-/client-sms-browser-0.1.0-preview.3.tgz","fileCount":834,"integrity":"sha512-abAP1w9Q7bAa+z+YkGPYpfcAJV31Wec3XTaUnB2RdDH2E8ZiUUVBJJu8ZaIz54cjgAzUB4RlA4oiNScN6fep6Q==","signatures":[{"sig":"MEUCID8AyrPsfPcRMXmvOvgaLNHWLoNWf7SZjnE1RkXabaHpAiEAsrRY/gJi+bcExup49ptxJoZuKMLBjg4nwuhLDbAQaKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":484782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6WaCRA9TVsSAnZWagAAv8cP/Azcu76W7+SHMqkpcqiI\n7k9lyOzu0mkvFT8GMtZyxJ6Us4LWJjez9YGkblWczJ14ehG8jL9ltJYoo/6B\nmYx4kaioMhfTuKLQvTDAmdUAvKmMSWQQv2FvVVPwtw0P/ShMuOft9FhcsRHf\nK5VgKBG3dlMP+sHiEL6IxirhX0sEzDzB2ul8407DvIKKvzvRFGDAvvNL5XSi\ngJN2q27fUm6LIqXKMNJ2IlZR2uGqpywUl9ogE2WQV7/zLD7YV3Gz0ksgQqJ8\nkArbzO7LHj5P7fA4UVjh6XHpwRtHHLyMr0OKagBIVfyUJTneuHLY25JTVw0h\nNvPYS/OeO+KRh5SJS5SFvBa59zD4ZSAJ8MvzfCUzogfoqW+67e5pabnzykBx\npkNQFWfnuVc9TiYoHjXyYKW7IlEk4exrgBDL8SdGPi+TgAAViNJIXSH1X6dK\n7Srw6RcqC5TeMS64pyn10KC4ivOLKuyNPHMCLCPazLNmVWCZUuXRreClTTud\nY3TsZMcsz1vhqNUS43BTzWRIOzvyC/TDQxQFWSI0msfmaurqOpeL1zd8FA6c\nTOdUehljaimZLaT/59WGML1jIM6XS+vl1hu/8iqGwAAndOr1eO1MPLD9pUIS\nTj+oWyPwd44c4AGIez5B2Q6XMp4hKon+7Q/ZcC9YDJkSQIFWs1kmgPsqSYI2\neGOX\r\n=95Xi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-sms-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-sms-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-sms-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-sms-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-sms-browser)\n\n## Description\n\n<fullname>AAWS Sever Migration Service</fullname> <p>This is the <i>AWS Sever Migration Service API Reference</i>. It provides descriptions, syntax, and usage examples for each of the actions and data types for the AWS Sever Migration Service (AWS SMS). The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.</p> <p>Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see <a href=\"http://aws.amazon.com/tools/#SDKs\">AWS SDKs</a>.</p> <p>To learn more about the Server Migration Service, see the following resources:</p> <ul> <li> <p> <a href=\"https://aws.amazon.com/server-migration-service/\">AWS Sever Migration Service product page</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/server-migration-service/latest/userguide/server-migration.html\">AWS Sever Migration Service User Guide</a> </p> </li> </ul>\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-sms-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(`SMSClient`) and the commands you need, for example `CreateAppCommand`:\n\n```javascript\n//JavaScript\nconst { SMSClient } = require(\"@aws-sdk/client-sms-browser/SMSClient\");\nconst {\n  CreateAppCommand\n} = require(\"@aws-sdk/client-sms-browser/commands/CreateAppCommand\");\n```\n\n```javascript\n//TypeScript\nimport { SMSClient } from \"@aws-sdk/client-sms-browser/SMSClient\";\nimport { CreateAppCommand } from \"@aws-sdk/client-sms-browser/commands/CreateAppCommand\";\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 sMS = new SMSClient({ region: \"region\" });\n//clients can be shared by different commands\nconst params = {};\nconst createAppCommand = new CreateAppCommand(params);\nsMS\n  .send(createAppCommand)\n  .then(data => {\n    // do something\n  })\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 sMS.send(createAppCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nsMS.send(createAppCommand, (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-sms-browser/SMS\";\nconst sMS = new AWS.SMS({ region: \"region\" });\nsMS.createApp(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 sMS.send(createAppCommand);\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-sms-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-sms-browser has been renamed to @aws-sdk/client-sms. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Server Migration Service","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-sms-browser_0.1.0-preview.3_1568908697550_0.6650782051203192","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-sms-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-sms-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":"d1fce70b275114857cd7b98c0143e918690dd2c9","tarball":"https://registry.npmjs.org/@aws-sdk/client-sms-browser/-/client-sms-browser-0.1.0-preview.4.tgz","fileCount":834,"integrity":"sha512-zfmgoP+Q7UHjYhMBzlI+1BpON27fuEBxjV1kpvA7JW9LX03poT4eHGPikUS6DNtJKdziyDkCwuctXr0LeiL4Kw==","signatures":[{"sig":"MEUCIDBgnTa5VXUp9l2MhJtwp3KUSQKF2+ymaIrDgaAlk6LoAiEAt7eI/Wwb/ru3OUUmbto1KOfk6Ic/1OWfoei1LO8NRoY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":484842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNOiCRA9TVsSAnZWagAAngcP/R0+zE+DS7vwYr5lTnyj\n6vsKybN1tuMvxDA4PIknLC9DXWk4p+1BD0KbvLL1z4PDPcMDIUKu2EHD0xao\nwgarWf8nmbNNbOrBdaqvqgdtL3u/Q1TH2QbpZ2J0T9vmd5JyKZsav9yQCPoJ\nK30uraFJWNMnqRIxFIYHDBpcAf7zHTelXj/tzkb+dBAUOM8Lttnokdi195gq\n0CL4AmVGMFrUD9uqmEFV2Ge4NTVDS1Bkkbuzvf88dyPFP4+0UiNZ44qtfAHd\nPgW0iWoJQ8g16P7lNWQSlKLPWTaBy7igymPHlU1YZRGJrdZ1xedCmbvFdsZy\nATsGorSUZ1Q2vQWVams1C2C+pKZ1maON81z8DGDqdDoshAPpLfAOayyHThSD\nMjw5agm6m2Ea59TonXn3th/5C+Ti1PheUvbHl1VnwFY905GIP8r2sw2Nz/2B\nFbQj01RovgM+iM8/DJ59QwO0A2hy2JM8HPLd1cS3G3a/EGG7UDCcruPc8U8Y\ncSOR0zbRCrdPS8ogWhELiHw+2Wb/CjvA+lJA8fSdjlz5gPJLUkCv8D196H9d\nG97cfEQ2hk6F/b2ZMWAIfz1IaSMznpr2me6DzaAWmNRcYnHFuHXEn2cjkhgq\nv/d1KF24WfF9Z1YH/+5org4kyZX4tFaIw4iN/oO4/nHirrPAWX0BRy2nIZON\n3zJ2\r\n=jAIW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-sms-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-sms-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-sms-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-sms-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-sms-browser)\n\n## Description\n\n<fullname>AAWS Sever Migration Service</fullname> <p>This is the <i>AWS Sever Migration Service API Reference</i>. It provides descriptions, syntax, and usage examples for each of the actions and data types for the AWS Sever Migration Service (AWS SMS). The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.</p> <p>Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see <a href=\"http://aws.amazon.com/tools/#SDKs\">AWS SDKs</a>.</p> <p>To learn more about the Server Migration Service, see the following resources:</p> <ul> <li> <p> <a href=\"https://aws.amazon.com/server-migration-service/\">AWS Sever Migration Service product page</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/server-migration-service/latest/userguide/server-migration.html\">AWS Sever Migration Service User Guide</a> </p> </li> </ul>\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-sms-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(`SMSClient`) and the commands you need, for example `CreateAppCommand`:\n\n```javascript\n//JavaScript\nconst { SMSClient, CreateAppCommand } = require(\"@aws-sdk/client-sms-browser\");\n```\n\n```javascript\n//TypeScript\nimport { SMSClient, CreateAppCommand } from \"@aws-sdk/client-sms-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 sMS = new SMSClient({ region: \"region\" });\n//clients can be shared by different commands\nconst params = {};\nconst createAppCommand = new CreateAppCommand(params);\nsMS\n  .send(createAppCommand)\n  .then(data => {\n    // do something\n  })\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 sMS.send(createAppCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nsMS.send(createAppCommand, (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-sms-browser\";\nconst sMS = new AWS.SMS({ region: \"region\" });\nsMS.createApp(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 sMS.send(createAppCommand);\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-sms-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-sms-browser has been renamed to @aws-sdk/client-sms. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Server Migration Service","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-sms-browser_0.1.0-preview.4_1572393890086_0.9196779761556164","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-sms-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-sms-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":"dab822ab5359e506c7476b8391878f8c7e0d904c","tarball":"https://registry.npmjs.org/@aws-sdk/client-sms-browser/-/client-sms-browser-0.1.0-preview.5.tgz","fileCount":834,"integrity":"sha512-8PdZjSWGQsvHb+QRMgcD4ZEO4XVNCvJykqg7ihEgAmjRqsyn2Zf45PDPcB8fdvEJnVclQKxq7TYQtaPX0zGSXA==","signatures":[{"sig":"MEUCIHmIApiQJ4u5g978MIcqUuCbj3C67FE4RzhbCnxIfVFJAiEAz3DtJguqB8/npROpHS3bpZRuQJXw6maNZBgucNceTSg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduedACRA9TVsSAnZWagAA7ocP/A0NsLUT0G+9yu0Nbdsq\nbum2VVLvFFQBxc6LloSKrmG78yUaeXjljWofMF8a7WsWGyYrI5C1xqqq5EBE\nmAVg7Nu0pyzYtaU/SmNk/uMNHVEvrg54WvJKAmGYvi/EclJ8nJoqmvlH8Qhy\nsDeiT2D+ihcp5MGAXl2SRegV8FOSgdX30h2WOGEc7WlkImBkSgXGFWveSIa+\nTQFtvtBoKt0DepR0vIYihqZBnBmUYZxuaiWszLjoYaIutSDmTB+IgeRT7VOm\nqj3QwIREXOALizdWMr81AtyRBJsbq0IN54SDd/dZgi+Dym7WT8aOIEJKIwF0\noU0kRdwcpd5cEGQpt03/FttDXg/K+Rn8XfRd01V3gViQw8yOIs0StOpZM9oy\nTdzbal/aLCwq+5JTJ1iIPh0KG13K+QYUs+ZltoctZwNfKCwRMX3SRvYEga0t\n0GOIXYK2M93WHbTXH/TjEV2GC3hh1j8B8PWVy3+E0oGrCI73baG511OibcUC\n16SU3TfxuX+RidjSQ4SPnoVDcCvqs6/rMStry0X24O0W7N0G5gAGwMkvkIWW\nzc3YFFLZizCAv5a/gUrIWCVmTJByN0OZtdC2r7W0rhCsFQ5tClxNQv23a4yy\n9MvIwRtWpBVUiDjsmYEISiCY+ujxXyPpoC1SYdmiAZmx75D9PCMVik8DE+/Y\nVVNv\r\n=vEMa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-sms-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-sms-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-sms-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-sms-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-sms-browser)\n\n## Description\n\n<fullname>AAWS Sever Migration Service</fullname> <p>This is the <i>AWS Sever Migration Service API Reference</i>. It provides descriptions, syntax, and usage examples for each of the actions and data types for the AWS Sever Migration Service (AWS SMS). The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.</p> <p>Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see <a href=\"http://aws.amazon.com/tools/#SDKs\">AWS SDKs</a>.</p> <p>To learn more about the Server Migration Service, see the following resources:</p> <ul> <li> <p> <a href=\"https://aws.amazon.com/server-migration-service/\">AWS Sever Migration Service product page</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/server-migration-service/latest/userguide/server-migration.html\">AWS Sever Migration Service User Guide</a> </p> </li> </ul>\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-sms-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(`SMSClient`) and the commands you need, for example `CreateAppCommand`:\n\n```javascript\n//JavaScript\nconst { SMSClient, CreateAppCommand } = require(\"@aws-sdk/client-sms-browser\");\n```\n\n```javascript\n//TypeScript\nimport { SMSClient, CreateAppCommand } from \"@aws-sdk/client-sms-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 sMS = new SMSClient({ region: \"region\" });\n//clients can be shared by different commands\nconst params = {};\nconst createAppCommand = new CreateAppCommand(params);\nsMS\n  .send(createAppCommand)\n  .then(data => {\n    // do something\n  })\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 sMS.send(createAppCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nsMS.send(createAppCommand, (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-sms-browser\";\nconst sMS = new AWS.SMS({ region: \"region\" });\nsMS.createApp(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 sMS.send(createAppCommand);\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-sms-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-sms-browser has been renamed to @aws-sdk/client-sms. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Server Migration Service","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-sms-browser_0.1.0-preview.5_1572464448140_0.4486901862093484","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-sms-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-sms-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":"e661c96b6e0ba262bd6bb13a9731ca5a2172cb88","tarball":"https://registry.npmjs.org/@aws-sdk/client-sms-browser/-/client-sms-browser-0.1.0-preview.6.tgz","fileCount":834,"integrity":"sha512-as3B23VfP4e+3UT+QeW6GkM/WBfObnPyLYUzGfshmsj/bp0t8deGfyegqpWpq+Q9WEEjl1x+f5USik/kVNsPTg==","signatures":[{"sig":"MEQCIG2759Yzvc1y7AKvJ4+GdJQlvgJk2IUkNH5S4wDb1UiqAiA+g+GZGh6N/OwfUt/EA1SOqqh9q4Nn/5CfbcTdOpaarg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":485357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FWZCRA9TVsSAnZWagAAxUAP/1chqKWAEeOVL8fy5/ve\nZQjwmkeA79ENsbx+S6mqH/AGSpp324y9g6BzDFyuveuKO2gvpaGPBlbCJJFB\nNNRo0mt/e8cybfjVu2U5QRMQCu9k/RmrTsvlGh4uO98MsFAzRCqBPVchqggI\npDdEM1bTPRFNZTX7HwfQeVZh/ZJXz+oD4qh1zfOamDcnc2wUJnJjIgq322wM\nvTc/TUjJbrfToZYhJknib3OrNqGAWsdEEyJrB0Z9JKkoh9oZsIhKv/9w9RJE\nkXraUniWdeOnWt5Hgf8weUwf5V/YP66MlkXhbXMSnzekp1qe/FWx1r15N7qS\nB1h2oxx0V8ECsEjumkSZ1GCkHRPAa/CFQx/vQ5jWDTNA7vDDN4XE0KBdE7qG\nGQpP2KVgx0AALbrIKwOBdnfax0Uj2kiqtO72xSyYOY90ImC7bVMOxIuzB8LI\nS7c/RUZFj7fcLo2F+t43vpzgqBf5SEU9rPHu1Q5a1sYSUNOLQRtaKmXNQ3GZ\nbptykq5qrWBuJYIjSWGVgIXUQ9AKzG0/JRvKsDFsAfEHXzG6CNt+eMOCAyK+\ngrqm0VoTLL/MNZWYdnGakhVqPJBdyFRDrSmp5ma8mqaR3Y4NnhZMcvL5GRYS\nk0OuRuQ/h9IqHBrFQKbZHp9CJqYng86xroqXpsGHiD5ybTzGRK6/JJBbzQPp\n3cUq\r\n=NvdP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-sms-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-sms-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-sms-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-sms-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-sms-browser)\n\n## Description\n\n<fullname>AAWS Sever Migration Service</fullname> <p>This is the <i>AWS Sever Migration Service API Reference</i>. It provides descriptions, syntax, and usage examples for each of the actions and data types for the AWS Sever Migration Service (AWS SMS). The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.</p> <p>Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see <a href=\"http://aws.amazon.com/tools/#SDKs\">AWS SDKs</a>.</p> <p>To learn more about the Server Migration Service, see the following resources:</p> <ul> <li> <p> <a href=\"https://aws.amazon.com/server-migration-service/\">AWS Sever Migration Service product page</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/server-migration-service/latest/userguide/server-migration.html\">AWS Sever Migration Service User Guide</a> </p> </li> </ul>\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-sms-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(`SMSClient`) and the commands you need, for example `CreateAppCommand`:\n\n```javascript\n//JavaScript\nconst { SMSClient, CreateAppCommand } = require(\"@aws-sdk/client-sms-browser\");\n```\n\n```javascript\n//TypeScript\nimport { SMSClient, CreateAppCommand } from \"@aws-sdk/client-sms-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 sMS = new SMSClient({ region: \"region\" });\n//clients can be shared by different commands\nconst params = {};\nconst createAppCommand = new CreateAppCommand(params);\nsMS\n  .send(createAppCommand)\n  .then(data => {\n    // do something\n  })\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 sMS.send(createAppCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nsMS.send(createAppCommand, (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-sms-browser\";\nconst sMS = new AWS.SMS({ region: \"region\" });\nsMS.createApp(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 sMS.send(createAppCommand);\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-sms-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-sms-browser has been renamed to @aws-sdk/client-sms. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Server Migration Service","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-sms-browser_0.1.0-preview.6_1574196633317_0.9788371404349936","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T18:05:47.480Z","modified":"2025-03-27T18:42:47.606Z","0.1.0-preview.2":"2019-09-09T18:05:47.901Z","0.1.0-preview.3":"2019-09-19T15:58:17.729Z","0.1.0-preview.4":"2019-10-30T00:04:50.315Z","0.1.0-preview.5":"2019-10-30T19:40:48.372Z","0.1.0-preview.6":"2019-11-19T20:50:33.519Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for AWS Server Migration Service","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}