{"_id":"@aws-sdk/client-servicediscovery-browser","_rev":"19-0183a56c473768aa168c58db226d3ebe","name":"@aws-sdk/client-servicediscovery-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-servicediscovery-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-servicediscovery-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":"221eab93e6e709ccafca157120a84f37388e078b","tarball":"https://registry.npmjs.org/@aws-sdk/client-servicediscovery-browser/-/client-servicediscovery-browser-0.1.0-preview.2.tgz","fileCount":680,"integrity":"sha512-XT+kYC8eCBNMRO9vjR1MCCkhH2LxusK4QQu8ChBfc7l0o/usngFz8ovSIYdJ1Ageacat+GAWipIGxcMnHDwgbw==","signatures":[{"sig":"MEUCIQDl4Nu2jy3CuPISFjHjBoEKfJZV0B1DKERlSAr/Oq4VsgIgSp9lW2TU503p7jR71pH89iAKPhJi6ONANdsd6j2Oeuc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":431949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddo+UCRA9TVsSAnZWagAAKfkP/0mYfB85wDtbWL65joBx\n5bccq8Ek3tJlrNobDKPdljA3PlnNrdjMZrZn+FNT5TIKFzYI2zdgMfcUU1gJ\n1RetbHZzCC6c4g4qeYj6NBFZdX5MnL0yy5juqJGosQtS21AhSXS1aYY95OIU\nwen9zXM7iWvdFMI+PExe1lVZ9shw+/+wCq8rr8/MMVUhv7CVp4Ek9+Zht5nM\n3TyOwNbgcVfDGYQcLdb7B2VULHAQoyQPf2/+lL9fo/FClzCEkI5kYgMOoGKQ\nYAjug0tXPqnROPyAxfEcWlbGHfJHlflE6UYb8TmevfAwuEA16+6q960JQIwE\n1jsbGUbJdhIPVm4z2eBi/0C79ZTKxMDzYnUYjqtFhnsG2Xbdsq8LlLUFoNeN\nx7tDJjV6P6fA1Vyc+Yxqy2BHJE94p2BjgC63fl0JyrvrV7AYC+/8Y1LqGEvR\n61xe8l4XGDQhF7WBJlxQ3nuqZo1o8RMYPD62uk2lHajLlZoPMig4eVECDBC/\nEV2zdX8y/Np58kXTyIKJgBVPMKZmEgFsE9Q6hCdHKjFRpRpcAcqlbjQmsOWe\nJnR6O/esNnxc6pw43DgzM+AVpx46E0PEWlQhYLEX/TNXlAmpf4CcwbTC4IMl\nCuB2BUE349UYSoiPVbNp3T7vmUWJBqduQWqmJJazpXSPpl5ikLLqhdDNJ9mA\niwAp\r\n=S4qh\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-servicediscovery-browser has been renamed to @aws-sdk/client-servicediscovery. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Cloud Map","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-servicediscovery-browser_0.1.0-preview.2_1568051091737_0.8057035929674257","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-servicediscovery-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-servicediscovery-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":"b3eefc5ae9decb22aedf2e6b1f16867b481def38","tarball":"https://registry.npmjs.org/@aws-sdk/client-servicediscovery-browser/-/client-servicediscovery-browser-0.1.0-preview.3.tgz","fileCount":680,"integrity":"sha512-v/3Vg6crep0JgEa1eFghweLlEnk8eyWwJe12ik+KEoKSJLAV8/eigHlSLtx7PG/AkHH05DAY3AmU+LkrNRGldg==","signatures":[{"sig":"MEUCIFup7hdwWqwFtscGhlL+hnWheXuz1c1mW2IHGlINg3RrAiEA2HvSEOM9mRFw/0gN0BmNs28iIA6qW3m2FGayHFJ11QY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":432169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6V/CRA9TVsSAnZWagAAnJMP/13p34pRbAb0UnYe1cOq\nYPaoWXasFKRP6vG3DJDUK1VKkPQB9qoYmTJmQJxlQriokTqs1+JKLDutehkj\njz0YVleSQJKOae6w1CVd5NKS+BQQnOKVSwqqBDLbmBnIZedP5cB/eNbe0Fjj\nbGOtMao25ckQ11vWOuIih2Vjgx9xBsO2BoBXDAA0JtZp3SHB4/mtNcy8rPpj\n4ECt6V6dpAIB/EW7jP4tLqM97exsKTrQuHLiZx6MvcRVVQ51oAuWfmoJkdF1\naGltG7kLiuVDYtl3t8Pkf5Xj81B8ogu0pVeoWw6CKwUH1gpL//QLw5UcYf9C\nLW2mzJhTE0FTmmmrankASypEaPiRQdlKJKVr5WCeKcK0QVk6zb+yD8fmR/ri\nlWTKFJxIsh5/xMs1kr9B1QbAUFf8I3Bu4+eB0UR6BHbgGVjmVZwpNG9dbQyS\nsm9RaXZCggjI9slx+IctKQdlqgPLlJ2+omuH7uybQyW60+U/JoqrOMSBwWQ1\n7lM8Vn90qNryhrPMAqVjVJrzbBCybcbO6Fo9gdPzik3UvUN+IrqRr2kNDzu1\n/mcnhGdDsfUlY6sohYSj5vOkpSTM8pwYLDWRWD7Wotw+fmSLsoqly5WjCsfI\nf4pZ7BSoNVA9x1W9F8c3EHpuCHPiyWUWWCmmopkwkiHDkTJehIKgvPG24/1+\nIPmT\r\n=dsq7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-servicediscovery-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-servicediscovery-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-servicediscovery-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-servicediscovery-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-servicediscovery-browser)\n\n## Description\n\n<p>AWS Cloud Map lets you configure public DNS, private DNS, or HTTP namespaces that your microservice applications run in. When an instance of the service becomes available, you can call the AWS Cloud Map API to register the instance with AWS Cloud Map. For public or private DNS namespaces, AWS Cloud Map automatically creates DNS records and an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service receive an answer that contains up to eight healthy records. </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-servicediscovery-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(`ServiceDiscoveryClient`) and the commands you need, for example `CreateHttpNamespaceCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ServiceDiscoveryClient\n} = require(\"@aws-sdk/client-servicediscovery-browser/ServiceDiscoveryClient\");\nconst {\n  CreateHttpNamespaceCommand\n} = require(\"@aws-sdk/client-servicediscovery-browser/commands/CreateHttpNamespaceCommand\");\n```\n\n```javascript\n//TypeScript\nimport { ServiceDiscoveryClient } from \"@aws-sdk/client-servicediscovery-browser/ServiceDiscoveryClient\";\nimport { CreateHttpNamespaceCommand } from \"@aws-sdk/client-servicediscovery-browser/commands/CreateHttpNamespaceCommand\";\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 serviceDiscovery = new ServiceDiscoveryClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst createHttpNamespaceCommand = new CreateHttpNamespaceCommand(params);\nserviceDiscovery.send(createHttpNamespaceCommand).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 serviceDiscovery.send(createHttpNamespaceCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nserviceDiscovery.send(createHttpNamespaceCommand, (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-servicediscovery-browser/ServiceDiscovery\";\nconst serviceDiscovery = new AWS.ServiceDiscovery({ region: \"region\" });\nserviceDiscovery.createHttpNamespace(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 serviceDiscovery.send(createHttpNamespaceCommand);\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-servicediscovery-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-servicediscovery-browser has been renamed to @aws-sdk/client-servicediscovery. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Cloud Map","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-servicediscovery-browser_0.1.0-preview.3_1568908670659_0.5118994438247131","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-servicediscovery-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-servicediscovery-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":"958cebcf69151423cbdfcfb11a0e464271519664","tarball":"https://registry.npmjs.org/@aws-sdk/client-servicediscovery-browser/-/client-servicediscovery-browser-0.1.0-preview.4.tgz","fileCount":680,"integrity":"sha512-jSvg4xgImnGS2HsR9yWe+FPvINDI1bjB5B++Ny35vUABQ1w+6ZmiWoMU2yJEBxNPQhH93qJ4Zi4KhmYEMJKXAQ==","signatures":[{"sig":"MEYCIQCDMccBBmSdqfHsVHNXP2qvBCFbTRQ8XQqBovaeSyRypgIhAMTX+eNGZ6r3eIUoAP1GQb3C0GH4N8HGpWIGnGRjvcLl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":432150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduM+ICRA9TVsSAnZWagAAmfQQAIa84DE622xdrevN7vZ9\nJJoQ873Zwc5AxR0M8+bDy2zCGNOUJ1t/Ng6zJtqmFDz+4pq58rUDzE79xd1l\nzIk43oaVfxesZKKsgj6asQLRhAOGRhdbN1M6fAn2fytpk1rD/KAB6UEhsytL\neZ8+x+AwvIqOfJSImYcPzrvo+kfT8JBRW69T6YcEF2sSujhaSRVcTc9ocACU\n0sCTJRsnrmV4y5WREgSm5ebAkNISa1FXYufdx+JRSFmTXjMPoNS/E8ObR+CX\nF4V1SmeNydhzQUi9I1JMIutXWQYXoimrwoWTghOBEBZL09167hzF/z1n96OL\nYp8oOmautTBTuNjuE7NjDuVYo+CKuljnpFJe7j4FjC6AciYUQLFxCnxliVgp\nLscY5vmRcgBhoZKgmWuJS8IOxqqRWGXS9fXp2tO/c0lyZCWKtp+QP7DPcZav\ns2apx7KpHdhBMrZcvx9nJitBqjvmAI/Mk5KqPtb2REJ5L1uua2QXjw6XtK74\nfVyXFZdJKoK9ZKwDdx+KZvNXhKKstxpFGcw1dxLIgC0ULcbajVEPylPwWF5M\nSSz6CoFksp5DRNajByGx/O3BNUmXqiEVj2i32ll+StuVoTYjjAoyfE4z6yT0\nEQy/la+T9fXYK+ytnMs1ZbpleULcFHywXv+R148NA2lETKxSSSye7cKBaBIp\nMbIn\r\n=AAAX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-servicediscovery-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-servicediscovery-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-servicediscovery-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-servicediscovery-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-servicediscovery-browser)\n\n## Description\n\n<p>AWS Cloud Map lets you configure public DNS, private DNS, or HTTP namespaces that your microservice applications run in. When an instance of the service becomes available, you can call the AWS Cloud Map API to register the instance with AWS Cloud Map. For public or private DNS namespaces, AWS Cloud Map automatically creates DNS records and an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service receive an answer that contains up to eight healthy records. </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-servicediscovery-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(`ServiceDiscoveryClient`) and the commands you need, for example `CreateHttpNamespaceCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ServiceDiscoveryClient,\n  CreateHttpNamespaceCommand\n} = require(\"@aws-sdk/client-servicediscovery-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ServiceDiscoveryClient,\n  CreateHttpNamespaceCommand\n} from \"@aws-sdk/client-servicediscovery-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 serviceDiscovery = new ServiceDiscoveryClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst createHttpNamespaceCommand = new CreateHttpNamespaceCommand(params);\nserviceDiscovery.send(createHttpNamespaceCommand).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 serviceDiscovery.send(createHttpNamespaceCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nserviceDiscovery.send(createHttpNamespaceCommand, (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-servicediscovery-browser\";\nconst serviceDiscovery = new AWS.ServiceDiscovery({ region: \"region\" });\nserviceDiscovery.createHttpNamespace(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 serviceDiscovery.send(createHttpNamespaceCommand);\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-servicediscovery-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-servicediscovery-browser has been renamed to @aws-sdk/client-servicediscovery. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Cloud Map","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-servicediscovery-browser_0.1.0-preview.4_1572392840325_0.5406517496684091","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-servicediscovery-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-servicediscovery-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":"e78a6886b867731efb0b969e5b2f95aea31e219f","tarball":"https://registry.npmjs.org/@aws-sdk/client-servicediscovery-browser/-/client-servicediscovery-browser-0.1.0-preview.5.tgz","fileCount":680,"integrity":"sha512-x7j9ii91c0FbVg7xlYc2MDty6VA+CY91jJV2dPUsvAJh0SjFG2T/wCdAJX+139b54jk/ROd1W7ljlgu2laxasg==","signatures":[{"sig":"MEUCIQCf6WCZHRDSxwg7Azmukcf4O4wQZXHy94jqnm85E9LJxAIgEVo6uJi9KXHZLa0NBtmWADI5RahBCDNL2u7mhQXfuME=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":432394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueJ4CRA9TVsSAnZWagAAhB0P/RfDfjc31cCbQCVKK1Wl\npT+bXNiwCqiuENLZxDCRAMntxyHueg+BuYCzosSWldscT7qJBpUJ8WG08MXs\n9coNrHEcS/A2zPFHrAl2mTk/OoZpf0CnM4C3XR9hzTG26DwyYz0IU/iqfM5W\nUJPGx+YVPwwwiiTfoOw5thPPZ8K0N+06SuXFiIVHv29v9gJ4ca52/uxipPhu\nGhtlVkE2NQeGSie6iM9W7APNr0LzhZ+zPi0WAxZX52MWvG7q6o1vfNTRjNWr\ntVwyQmmEjskqAG69a00QOCTywoEtjzsdYdIgHOvqy+KCloHO38lS29dDVuxc\nyR8zxwemRQco72esaBhiu4FAdvMdN9RaN2w5QUfee0H4XR42VnrShZ2BiTA4\nyaKAllxcn2NOe6ECo4AEVN+D6CcrNMp9QuO5VcECg8sJNbmVX9ppIl6E3JMs\n5ohbax30hqR4QlhSOMoI4lzbv1apAhsR8vjPqm0rCey2uno3TFjjO272v0pe\nv0UBOSFncCm7mmYJ9k3hP10dPdxzDSnri+/fO96Kh6QFlZ85N8aE89izK1Pa\nIwfN57FNlImFXA2YoGFhNKa36nCHafz20zZE7cd8VXMdpBhabp1dSJTjlc2R\njWvddr0+fGc1rGGL4JGZbUNSy4s0XueZU//+crdkrqgqKi5qX9igWDbj5oRr\nhRZz\r\n=pXvJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-servicediscovery-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-servicediscovery-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-servicediscovery-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-servicediscovery-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-servicediscovery-browser)\n\n## Description\n\n<p>AWS Cloud Map lets you configure public DNS, private DNS, or HTTP namespaces that your microservice applications run in. When an instance of the service becomes available, you can call the AWS Cloud Map API to register the instance with AWS Cloud Map. For public or private DNS namespaces, AWS Cloud Map automatically creates DNS records and an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service receive an answer that contains up to eight healthy records. </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-servicediscovery-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(`ServiceDiscoveryClient`) and the commands you need, for example `CreateHttpNamespaceCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ServiceDiscoveryClient,\n  CreateHttpNamespaceCommand\n} = require(\"@aws-sdk/client-servicediscovery-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ServiceDiscoveryClient,\n  CreateHttpNamespaceCommand\n} from \"@aws-sdk/client-servicediscovery-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 serviceDiscovery = new ServiceDiscoveryClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst createHttpNamespaceCommand = new CreateHttpNamespaceCommand(params);\nserviceDiscovery.send(createHttpNamespaceCommand).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 serviceDiscovery.send(createHttpNamespaceCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nserviceDiscovery.send(createHttpNamespaceCommand, (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-servicediscovery-browser\";\nconst serviceDiscovery = new AWS.ServiceDiscovery({ region: \"region\" });\nserviceDiscovery.createHttpNamespace(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 serviceDiscovery.send(createHttpNamespaceCommand);\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-servicediscovery-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-servicediscovery-browser has been renamed to @aws-sdk/client-servicediscovery. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Cloud Map","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-servicediscovery-browser_0.1.0-preview.5_1572463224055_0.3314142871703243","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-servicediscovery-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-servicediscovery-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":"b942262474184f2b94e29dd211f8a8e4358dfc10","tarball":"https://registry.npmjs.org/@aws-sdk/client-servicediscovery-browser/-/client-servicediscovery-browser-0.1.0-preview.6.tgz","fileCount":680,"integrity":"sha512-ge1eoczW7YJ4LRGj0G25poi655HdeTwx0AhiHwYjcMTVFWCkgJYunyEYF0203b+mV9J8uForouhvKSTdmwAyHg==","signatures":[{"sig":"MEUCIQCkGU6J3sqBZSd8j0zAyR1ySA09LYEnklIVLngySVM9gQIgAaSmv7MvsHhMt7qnV1J0DP6tmfQHJ0ST+E/1ZJS1Tz8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":432664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FO5CRA9TVsSAnZWagAAIGUP/2237uzAAmbNgN53MnOW\nWzhruNyTAqWNaAQ8LA5sU37cV2KdCB2eezKCjeRC0MzkWCSiq1XDLVxgyOAt\nCsJG/kRMhoeZZA4G6tqBtf2Hi0u2tTGV3Zx1GtsJgDWRDS3tFukqkbePTfMD\nAcOm76PWdW/iAviYYYCr+xyZjWIv97tWgvhWBjnx7XuJv3j3qlUXzLGVpSYZ\nvPWs1/5ey0+/uEzDgTbqNKEf07Gq59FP2Npr6tYxye4ZMAngtYuPjl/iXt+c\nzYBmt33mevzH6RcfThiuzQSwtQypNL1kOImBBWaTLZe0C8boh0rHc2PKHpBP\ndizV7dVer2ovmy9euRhhVVq/ilFm21DFgNDW0HKS0WiCK09I/89yWSKzgFiy\nWaEBNfPu2UNbCyLVmz88Xd/Kt1JzwsAyPs0jD6nwT+p3t9cUNJN+4mpPsHg4\nA7cPJzKn8Id+p5Nvb+6K9PpIkoLQGfVQU3ud1t7arrLa+kZX/V3sYa9p16Ud\nKwMXgde+H9ge+KeRbJdshrfN62aRHUCg1kk8Dc38rYM9oH+lMttuvtVV+WEh\nrgAChh/WDD6d2vLW0fDNtlt4hsE7LzeFppc3rfUASGenTUhhO0CyEEBEX6pS\nVNdIX5z30oD5QOxnGkRy+6MEMPkQnz4/yS4yhDrvg2Q+hy5B0s75XNa+8oE0\nuZVE\r\n=zAzC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-servicediscovery-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-servicediscovery-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-servicediscovery-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-servicediscovery-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-servicediscovery-browser)\n\n## Description\n\n<p>AWS Cloud Map lets you configure public DNS, private DNS, or HTTP namespaces that your microservice applications run in. When an instance of the service becomes available, you can call the AWS Cloud Map API to register the instance with AWS Cloud Map. For public or private DNS namespaces, AWS Cloud Map automatically creates DNS records and an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service receive an answer that contains up to eight healthy records. </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-servicediscovery-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(`ServiceDiscoveryClient`) and the commands you need, for example `CreateHttpNamespaceCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ServiceDiscoveryClient,\n  CreateHttpNamespaceCommand\n} = require(\"@aws-sdk/client-servicediscovery-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ServiceDiscoveryClient,\n  CreateHttpNamespaceCommand\n} from \"@aws-sdk/client-servicediscovery-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 serviceDiscovery = new ServiceDiscoveryClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst createHttpNamespaceCommand = new CreateHttpNamespaceCommand(params);\nserviceDiscovery.send(createHttpNamespaceCommand).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 serviceDiscovery.send(createHttpNamespaceCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nserviceDiscovery.send(createHttpNamespaceCommand, (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-servicediscovery-browser\";\nconst serviceDiscovery = new AWS.ServiceDiscovery({ region: \"region\" });\nserviceDiscovery.createHttpNamespace(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 serviceDiscovery.send(createHttpNamespaceCommand);\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-servicediscovery-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-servicediscovery-browser has been renamed to @aws-sdk/client-servicediscovery. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Cloud Map","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-servicediscovery-browser_0.1.0-preview.6_1574196152933_0.5678060961630285","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T17:44:51.557Z","modified":"2025-03-27T18:42:38.522Z","0.1.0-preview.2":"2019-09-09T17:44:51.930Z","0.1.0-preview.3":"2019-09-19T15:57:50.816Z","0.1.0-preview.4":"2019-10-29T23:47:20.505Z","0.1.0-preview.5":"2019-10-30T19:20:24.200Z","0.1.0-preview.6":"2019-11-19T20:42:33.112Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for AWS Cloud Map","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}