{"_id":"@aws-sdk/client-lex-model-building-service-node","_rev":"18-d423859c4f6ff16be44dc5e0e60f906a","name":"@aws-sdk/client-lex-model-building-service-node","dist-tags":{"latest":"0.1.0-preview.2","preview":"0.1.0-preview.6"},"versions":{"0.1.0-preview.2":{"name":"@aws-sdk/client-lex-model-building-service-node","version":"0.1.0-preview.2","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-lex-model-building-service-node@0.1.0-preview.2","maintainers":[{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"dist":{"shasum":"e7f1322e188b109a3181a15aeed6c15c91c1efdc","tarball":"https://registry.npmjs.org/@aws-sdk/client-lex-model-building-service-node/-/client-lex-model-building-service-node-0.1.0-preview.2.tgz","fileCount":1007,"integrity":"sha512-1yhbMgj9Db9yYN9ZpeOF5qAepr8ctwzIdIRQFNqEQvdwGa2mNqCtfcLRE9FjUArM+UrbdGOJj+4u5AEnZWZwfA==","signatures":[{"sig":"MEUCIB+Pq/gklaAqZnc8Q8Hfv+F2W5WyFmFiuvsXVTu+VxgZAiEAxIeJWhQ6oWUoNOckFfPjCsJwaK6o2x7P/FnWQ6rznAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":677742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpG7CRA9TVsSAnZWagAAT6YP/27SpZh3aKK2zmRx/qG1\nIO/fSVl0utJ60MHNvCh3jJDw6K/q94eRKiao8kbyzPTXohU5WASBoFZqH+t3\nS76nNLAzLO8BfWcGt36gzG5q+R1H4Wb+hMoiVKydzM4SXst7qer1Zz/l8W2K\nPN8hCnqRT6VUzbQTLCLLpTtR85my87b4JVZZA5yjkm1/b5DOrY5dybcW91Mk\nrxQNPLS18D4B82E89LomQfKSSK1EVqZPKFOKpZCEhCr2XBE7VODtobgKhrxB\nnB51n+OwuEWDE8yb606x4ZJvTCD96e2GJaSGJQYVA0V3roCiwe9e7p2uZahP\nW9hlWAsuyIkjRll4Pdn2Db3U9eSDgxCgTsbok8Z/Bfnn2xBhG2RSRMrUA2Sr\ncjSNdDTzsFJ+7CKuCXJAQN7u8+Js609Mi07OBzsdCx5g0QAe5P8qXLBWNhm6\nhegdfl+4fuOeXvLb+vxdOnAyH8nFklaPTGl4PsBzROOP25iNgjAoHLPgZlcN\nDW1syAJRQGn84QAlQx3AsF6S/t9i5a1AESyK436vC/qRSkyKoNABB2+Ftrfj\nCg/x4Mth7w8uIXgaVTYLGfJmcZPGL0y9DT30vY24EEdE5eSvGs3BtWzlCwnI\nDyBxH3Y3UMXyj6kwS2qD8KZQfGv5PB3HBbR8novnJx5L3E6KDcaP0/kJ9goL\nWJmo\r\n=BJ+/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-lex-model-building-service-node has been renamed to @aws-sdk/client-lex-model-building-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Amazon Lex Model Building Service","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/hash-node":"^0.1.0-preview.5","@aws-sdk/json-parser":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/json-builder":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.6","@aws-sdk/protocol-rest":"^0.1.0-preview.7","@aws-sdk/util-utf8-node":"^0.1.0-preview.3","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/region-provider":"^0.1.0-preview.5","@aws-sdk/url-parser-node":"^0.1.0-preview.5","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-sdk/util-base64-node":"^0.1.0-preview.3","@aws-sdk/node-http-handler":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.6","@aws-sdk/util-user-agent-node":"^0.1.0-preview.6","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/stream-collector-node":"^0.1.0-preview.5","@aws-sdk/util-body-length-node":"^0.1.0-preview.4","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/credential-provider-node":"^0.1.0-preview.6","@aws-sdk/middleware-content-length":"^0.1.0-preview.5","@aws-sdk/middleware-header-default":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-lex-model-building-service-node_0.1.0-preview.2_1568051642408_0.5780638167129171","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-lex-model-building-service-node","version":"0.1.0-preview.3","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-lex-model-building-service-node@0.1.0-preview.3","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"a4ba0b00856f90ceba457f4863a5aa0637213eba","tarball":"https://registry.npmjs.org/@aws-sdk/client-lex-model-building-service-node/-/client-lex-model-building-service-node-0.1.0-preview.3.tgz","fileCount":1007,"integrity":"sha512-268e9FEg6jKiDoNTmXX6ufFWnY53nKRtXKdQLL6ZrmRYuR42YdTEI0272jZ5+5HQXIZfgoN3oV82e3UPrvE7eg==","signatures":[{"sig":"MEUCIE6NCG6snCZavf0Z1PpTnmsysCVlC8/xGdorxB1KaL7fAiEA0JDXpg43N1JFkgU2yv31MYDd7mI085a2Q+sM5oHHa0U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":671107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6foCRA9TVsSAnZWagAAa04P/jAf55LScbMB4I1DQ9AI\nixJGP687GpeW4nUuWkVvba+D/kdXk4dGwFzXwNCLJDijqh53qimH3MvDdyU4\nU05Kk8ms8A0eUpPM6JnzEiNzQnWkmYL45ktT05HWtNqVz3jekoMAHYZljN+S\nUkaZIkUC7gx4jvCoK7wgPcp+vvsY+z1n9y50z6RCql/elTo+GnFU+ALzR5zi\ntTfWPho8uW+Xi1nfpT61L6u7MR3oy5FjJQuLB2P4D9czBWZOoPT2qk84RS//\nS/p+Ds6FLUAtPFZVoH+UjOj7ykqPKa2YMePinRgTmVJTIZ1u6rKEWODkk243\nN6m1O3Ncvjww2xTOSge8CfhoOSZUNxD7/RgF4FhQmqsnP2eStXD+tSIhC+di\nBd5welsD+rmqeMKgb9TlQ+A7Q6hLzxGpHZCh7ncbtYbo5c57cPRrUOo3fBqY\nLZB3vvUQSJNSfNyWP3QGk9ZsljaSvggKs58hHOpZ+a3gFlgS33dpD4yMV8gt\nitsu8DdaNneehEl+Swx6bpcRIiyTWhwCDkWgH+fEjO/CBWFs3SSE3SdcMZJk\nrQdxuxXF+jpyL/3mVnv3lsszaR15k48NOH8Nu+5A/ZH3haGsjY2+UVCfiK5H\nBdCWf7RXOxOxl5XSKDJeLFqn2rNybm7Gc/ixcO3A0/mcgYvv+fVEoZsm98e6\n7FSL\r\n=bTRx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-lex-model-building-service-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-lex-model-building-service-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-lex-model-building-service-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-lex-model-building-service-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-lex-model-building-service-node)\n\n## Description\n\n<fullname>Amazon Lex Build-Time Actions</fullname> <p> Amazon Lex is an AWS service for building conversational voice and text interfaces. Use these actions to create, update, and delete conversational bots for new and existing client applications. </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-lex-model-building-service-node\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`LexModelBuildingServiceClient`) and the commands you need, for example `CreateBotVersionCommand`:\n\n```javascript\n//JavaScript\nconst {\n  LexModelBuildingServiceClient\n} = require(\"@aws-sdk/client-lex-model-building-service-node/LexModelBuildingServiceClient\");\nconst {\n  CreateBotVersionCommand\n} = require(\"@aws-sdk/client-lex-model-building-service-node/commands/CreateBotVersionCommand\");\n```\n\n```javascript\n//TypeScript\nimport { LexModelBuildingServiceClient } from \"@aws-sdk/client-lex-model-building-service-node/LexModelBuildingServiceClient\";\nimport { CreateBotVersionCommand } from \"@aws-sdk/client-lex-model-building-service-node/commands/CreateBotVersionCommand\";\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 lexModelBuildingService = new LexModelBuildingServiceClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  name: /**a string value*/,\n};\nconst createBotVersionCommand = new CreateBotVersionCommand(params);\nlexModelBuildingService.send(createBotVersionCommand).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 lexModelBuildingService.send(createBotVersionCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nlexModelBuildingService.send(createBotVersionCommand, (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-lex-model-building-service-node/LexModelBuildingService\";\nconst lexModelBuildingService = new AWS.LexModelBuildingService({\n  region: \"region\"\n});\nlexModelBuildingService.createBotVersion(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 lexModelBuildingService.send(createBotVersionCommand);\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-lex-model-building-service-node' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-lex-model-building-service-node has been renamed to @aws-sdk/client-lex-model-building-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Amazon Lex Model Building Service","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/hash-node":"^0.1.0-preview.6","@aws-sdk/json-parser":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/json-builder":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.7","@aws-sdk/protocol-rest":"^0.1.0-preview.7","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/region-provider":"^0.1.0-preview.5","@aws-sdk/url-parser-node":"^0.1.0-preview.6","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.7","@aws-sdk/util-user-agent-node":"^0.1.0-preview.7","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/stream-collector-node":"^0.1.0-preview.6","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/credential-provider-node":"^0.1.0-preview.7","@aws-sdk/middleware-content-length":"^0.1.0-preview.5","@aws-sdk/middleware-header-default":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-lex-model-building-service-node_0.1.0-preview.3_1568909288326_0.7702536242755496","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-lex-model-building-service-node","version":"0.1.0-preview.4","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-lex-model-building-service-node@0.1.0-preview.4","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"1a15a073ec6034d2cad593f1c9b221a28bdac67f","tarball":"https://registry.npmjs.org/@aws-sdk/client-lex-model-building-service-node/-/client-lex-model-building-service-node-0.1.0-preview.4.tgz","fileCount":1007,"integrity":"sha512-OToOCCG57mbNA0KmFRA8pe9wpdaOQJf+ih3g4ZK8EJHgBnYghRNJPwVxZv1jowdiNVgmfCFXOJzcsNN4VfK0hA==","signatures":[{"sig":"MEUCIQCMWcYASVpqCXT2ZUMMjjpFbYtk555eR3dJYoXMRUsQ7AIgKEgpxHrdRftHgI5jQ3/LZTp/PBo3n5JkeX32dNFKNcs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":671059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNFLCRA9TVsSAnZWagAApcEP/jXYSrDDtgW/XCCA4Nx3\nxI/cSZJvoReAxXUhESYs/z9AkEVf2ugyPd3AaabwXZyg7v7sytd8cymaLCxJ\nHsivyURGEi87ljs4LJIhp3hsZ7I2Vrrb8oYTRE3Fu1vi2JLgaEtosYY9QtaB\ne3VExNJR5CkYUUHHq75icAT6OsFl+OU6OQ4+do9745n4K0P99rtYITO8oxMP\nn+ScIAFlGFnjV0lnQ/TLV3KEegxi7qg2IsH/1tuJW9y0ztj2gVs3RWYNvJw9\nEjhP3Rvc71snuYwbpBHPEj4IELDgAdEvjKPaaFq0ISBiXr4cLaxEo0nHJrc0\n1L1lB/vwVXsbMOPhuVKoGvvmS7K2yNUuwASR7heLGgWuvA9pYFFbMNiVEQzA\naI6SuLoGK0w6a30EShDl4lj7Hx3anoNUL074yUbd3t3+qzCUdINsd3CF9hIW\nvlB8aTtBp2nECwCaP1lm0574vzsupXiT99r66kBbhitfqGB7eYZdsTQHn96b\ncs0oFTEFWmfk0Nwvpub2MGzVp/MTSYVYYDXRK4qXyiafOyMyWpiC6h76k/Ll\nEU2dSy999kljddTGutckY7RSZqfpbpbmvrVnLK0Evmxbg0SSdzkCq8/WVYBx\njOGkCmUAfgqlHxuemLfUw2dlURsWVaeNJ2g9TCT3aWSmQYra1kAKPpFa/jBF\ncAlC\r\n=eCBh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-lex-model-building-service-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-lex-model-building-service-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-lex-model-building-service-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-lex-model-building-service-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-lex-model-building-service-node)\n\n## Description\n\n<fullname>Amazon Lex Build-Time Actions</fullname> <p> Amazon Lex is an AWS service for building conversational voice and text interfaces. Use these actions to create, update, and delete conversational bots for new and existing client applications. </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-lex-model-building-service-node\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`LexModelBuildingServiceClient`) and the commands you need, for example `CreateBotVersionCommand`:\n\n```javascript\n//JavaScript\nconst {\n  LexModelBuildingServiceClient,\n  CreateBotVersionCommand\n} = require(\"@aws-sdk/client-lex-model-building-service-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  LexModelBuildingServiceClient,\n  CreateBotVersionCommand\n} from \"@aws-sdk/client-lex-model-building-service-node\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst lexModelBuildingService = new LexModelBuildingServiceClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  name: /**a string value*/,\n};\nconst createBotVersionCommand = new CreateBotVersionCommand(params);\nlexModelBuildingService.send(createBotVersionCommand).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 lexModelBuildingService.send(createBotVersionCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nlexModelBuildingService.send(createBotVersionCommand, (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-lex-model-building-service-node\";\nconst lexModelBuildingService = new AWS.LexModelBuildingService({\n  region: \"region\"\n});\nlexModelBuildingService.createBotVersion(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 lexModelBuildingService.send(createBotVersionCommand);\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-lex-model-building-service-node' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-lex-model-building-service-node has been renamed to @aws-sdk/client-lex-model-building-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Amazon Lex Model Building Service","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.6","@aws-sdk/hash-node":"^0.1.0-preview.7","@aws-sdk/json-parser":"^0.1.0-preview.6","@aws-sdk/core-handler":"^0.1.0-preview.6","@aws-sdk/json-builder":"^0.1.0-preview.6","@aws-sdk/signature-v4":"^0.1.0-preview.8","@aws-sdk/protocol-rest":"^0.1.0-preview.8","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.6","@aws-sdk/region-provider":"^0.1.0-preview.6","@aws-sdk/url-parser-node":"^0.1.0-preview.7","@aws-sdk/middleware-stack":"^0.1.0-preview.7","@aws-sdk/retry-middleware":"^0.1.0-preview.6","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.7","@aws-sdk/signing-middleware":"^0.1.0-preview.8","@aws-sdk/util-user-agent-node":"^0.1.0-preview.8","@aws-sdk/middleware-serializer":"^0.1.0-preview.6","@aws-sdk/stream-collector-node":"^0.1.0-preview.7","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.7","@aws-sdk/credential-provider-node":"^0.1.0-preview.8","@aws-sdk/middleware-content-length":"^0.1.0-preview.6","@aws-sdk/middleware-header-default":"^0.1.0-preview.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-lex-model-building-service-node_0.1.0-preview.4_1572393290940_0.9893211831791318","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-lex-model-building-service-node","version":"0.1.0-preview.5","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-lex-model-building-service-node@0.1.0-preview.5","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"9df9bd7e5482863ab78469645525c4d49033804b","tarball":"https://registry.npmjs.org/@aws-sdk/client-lex-model-building-service-node/-/client-lex-model-building-service-node-0.1.0-preview.5.tgz","fileCount":1007,"integrity":"sha512-SfyDB2j+JpK42u/a4MyUzZDN6/J1IZp7zVlhW4wHS30x+gS+v1ifgL/HGe0Pdjezv7AXmfBt/rr20pS9hiZ6Sw==","signatures":[{"sig":"MEQCIBdHSFFRD/m1e+r9UuTLmK4BjNhCqxIxpfV1T7ibwlV2AiB6nG+GKL78ir5tp4B6L+Czn4rWfnwf6NzIFw/5kPaOig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":671303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueStCRA9TVsSAnZWagAAWZsP/3aIX4VKvWcvsZooKlSk\nUB9Avg74vhKOiy4cl+Jwy4I8bYQkeq4vaihFxU9N1mUMtAs12alQjsofpKtz\n6cmt2JV8UVXR6q6WnJFg1YBJ1gU0UWH4ZHIAouIZmfZWELrnhMvdVdoX5H8o\nM5kfGPETx1zkXoN2xYuT+nkql5jHLtY/lCCHKJ4LnLU6ZxvpltYcCnYYHhPU\nAdXWn5Z1YMD8c+OoHhS4z47JR0xdkaKUonms9Cynr030CvdQbU2IwkUVBc/L\nFh4vpm8FIMgHY/0pQ6jwF/lRJSGFQLTdAZc6Cv5sJtZvpC9OfXLAygkzxWYL\nNS+NpEfoGs5L/TkHFwAbg3oNB5ww+qJK/Pu2dWBGmzBw66KQwx0OIDW8dp3S\nGhmjuCV+04PO2JbU7atPruqsOTuv9KuDm0afwau6y5wCo4zq9gzNexnG6VtC\n64kXzuSEo7k5kBDNiEPPP0B3i/nXVH8RwIoyWeISjWupgGh9w2nrMAZ/BAQH\nlz9J2Xr3YSnK8ZqjoOcnV3v+Dtjh2qv8VWk9QCvc2Cgu4ZQd+QBRFC+/WtC4\nn+xNCTtYzsJ9/8jNNLsE8DDTbVNfwUytn40gPicOCSFuI0IyLXc4he9gR1aG\natHLmKbx0jtze7yKQGHGyKlgymV2KgL/dMnJwVvESwp3pByzDIPtsgDhEV1M\nndbK\r\n=9JlG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-lex-model-building-service-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-lex-model-building-service-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-lex-model-building-service-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-lex-model-building-service-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-lex-model-building-service-node)\n\n## Description\n\n<fullname>Amazon Lex Build-Time Actions</fullname> <p> Amazon Lex is an AWS service for building conversational voice and text interfaces. Use these actions to create, update, and delete conversational bots for new and existing client applications. </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-lex-model-building-service-node\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`LexModelBuildingServiceClient`) and the commands you need, for example `CreateBotVersionCommand`:\n\n```javascript\n//JavaScript\nconst {\n  LexModelBuildingServiceClient,\n  CreateBotVersionCommand\n} = require(\"@aws-sdk/client-lex-model-building-service-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  LexModelBuildingServiceClient,\n  CreateBotVersionCommand\n} from \"@aws-sdk/client-lex-model-building-service-node\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst lexModelBuildingService = new LexModelBuildingServiceClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  name: /**a string value*/,\n};\nconst createBotVersionCommand = new CreateBotVersionCommand(params);\nlexModelBuildingService.send(createBotVersionCommand).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 lexModelBuildingService.send(createBotVersionCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nlexModelBuildingService.send(createBotVersionCommand, (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-lex-model-building-service-node\";\nconst lexModelBuildingService = new AWS.LexModelBuildingService({\n  region: \"region\"\n});\nlexModelBuildingService.createBotVersion(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 lexModelBuildingService.send(createBotVersionCommand);\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-lex-model-building-service-node' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-lex-model-building-service-node has been renamed to @aws-sdk/client-lex-model-building-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Amazon Lex Model Building Service","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/hash-node":"^0.1.0-preview.8","@aws-sdk/json-parser":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/json-builder":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.9","@aws-sdk/protocol-rest":"^0.1.0-preview.9","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/region-provider":"^0.1.0-preview.7","@aws-sdk/url-parser-node":"^0.1.0-preview.8","@aws-sdk/middleware-stack":"^0.1.0-preview.8","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.9","@aws-sdk/util-user-agent-node":"^0.1.0-preview.9","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/stream-collector-node":"^0.1.0-preview.8","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/credential-provider-node":"^0.1.0-preview.9","@aws-sdk/middleware-content-length":"^0.1.0-preview.7","@aws-sdk/middleware-header-default":"^0.1.0-preview.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-lex-model-building-service-node_0.1.0-preview.5_1572463789276_0.8102364218059364","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-lex-model-building-service-node","version":"0.1.0-preview.6","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-lex-model-building-service-node@0.1.0-preview.6","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"879288ee543e85c83dfd2a31e6ac00294bae8daa","tarball":"https://registry.npmjs.org/@aws-sdk/client-lex-model-building-service-node/-/client-lex-model-building-service-node-0.1.0-preview.6.tgz","fileCount":1007,"integrity":"sha512-Sf91blJbNyvbwRikv+mARtkNnw7Q/PmT+8sFNFNkJWRj5/7jO5bZvgHy/EmtY0njo1+l7FnWwpPS4naCfD8/vQ==","signatures":[{"sig":"MEUCIQCyoacT8PWn9oG7LJxJmgO10UVu8K6ddeSZ9STg1Ows0QIgGXOZNq8KKZBcxKJWwL6S890eDYSiJ0jgcvUYlzFcz3w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":671576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FSDCRA9TVsSAnZWagAAvAsP+wdcNQHsqQgZsCWnuz/p\nTSFWvbuiNZkldh3DhCSZyUpK/DZnFTOzb+tTJzz789UsV4GlYpcdGgj+bnwW\n1gX8ZEYGfQL9OUyldNaDTtXNaBDRyVf5ze25o5ff+L0Zmt9lIj+Wf2MHQhOC\nAtumbNM1+o0EmdGjLRqS/fZsslUpUc8l+wvecngdhsvlnboza2qqbF//lSAj\ngYlAjWCSzHnfU6bkJzabWmVjQmytJKlO1ghQHYn0UxAlnRxVK4rTEiitWe+H\nnRfPRfDiyRd7ifuV7tgrdQ+LG52481h2g/AcqORYmvcAkLpzgtFBzNq65oRI\n8jp8e/UlD2IqTHNuS/7y6OwzgF/H6aPe1P3ANi19+PpggNxvM/k6uBjeuKVr\nLwwaUDt1htJwbjNTdOzjnVE74zr2qtfWhBAaShFwClWwAdBdd68b0S81YUgg\n54vyo3XIIXEDQrNVGIMRoBJjsTMMpT+MV6q47+hRACL2UgvYi/ebTfWTKRfO\nOGBQ1RrfTJDFpkYCxppGerBydZ5SxZ33Wqe5q08kU43QRykzleTvX0guTTTN\noPbQtdnjxkbOh//I1jes5d8AuGHlYLnEHdE51TIr0YrPYrSO2r/412VDC1/d\nC881MGAwJIgOh1McCzo82ZLb9kSTdb3XgVcMV3qIa8MNSsnj1gbeLi/Oe1Ff\ncAOo\r\n=a2Hh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-lex-model-building-service-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-lex-model-building-service-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-lex-model-building-service-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-lex-model-building-service-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-lex-model-building-service-node)\n\n## Description\n\n<fullname>Amazon Lex Build-Time Actions</fullname> <p> Amazon Lex is an AWS service for building conversational voice and text interfaces. Use these actions to create, update, and delete conversational bots for new and existing client applications. </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-lex-model-building-service-node\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`LexModelBuildingServiceClient`) and the commands you need, for example `CreateBotVersionCommand`:\n\n```javascript\n//JavaScript\nconst {\n  LexModelBuildingServiceClient,\n  CreateBotVersionCommand\n} = require(\"@aws-sdk/client-lex-model-building-service-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  LexModelBuildingServiceClient,\n  CreateBotVersionCommand\n} from \"@aws-sdk/client-lex-model-building-service-node\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst lexModelBuildingService = new LexModelBuildingServiceClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  name: /**a string value*/,\n};\nconst createBotVersionCommand = new CreateBotVersionCommand(params);\nlexModelBuildingService.send(createBotVersionCommand).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 lexModelBuildingService.send(createBotVersionCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nlexModelBuildingService.send(createBotVersionCommand, (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-lex-model-building-service-node\";\nconst lexModelBuildingService = new AWS.LexModelBuildingService({\n  region: \"region\"\n});\nlexModelBuildingService.createBotVersion(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 lexModelBuildingService.send(createBotVersionCommand);\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-lex-model-building-service-node' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-lex-model-building-service-node has been renamed to @aws-sdk/client-lex-model-building-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for Amazon Lex Model Building Service","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/hash-node":"^0.1.0-preview.8","@aws-sdk/json-parser":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/json-builder":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.10","@aws-sdk/protocol-rest":"^0.1.0-preview.10","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/region-provider":"^0.1.0-preview.7","@aws-sdk/url-parser-node":"^0.1.0-preview.8","@aws-sdk/middleware-stack":"^0.1.0-preview.9","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.10","@aws-sdk/util-user-agent-node":"^0.1.0-preview.10","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/stream-collector-node":"^0.1.0-preview.9","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/credential-provider-node":"^0.1.0-preview.10","@aws-sdk/middleware-content-length":"^0.1.0-preview.7","@aws-sdk/middleware-header-default":"^0.1.0-preview.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-lex-model-building-service-node_0.1.0-preview.6_1574196355295_0.2705517341785877","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T17:54:02.233Z","modified":"2025-03-27T18:40:01.487Z","0.1.0-preview.2":"2019-09-09T17:54:03.229Z","0.1.0-preview.3":"2019-09-19T16:08:08.494Z","0.1.0-preview.4":"2019-10-29T23:54:51.116Z","0.1.0-preview.5":"2019-10-30T19:29:49.446Z","0.1.0-preview.6":"2019-11-19T20:45:55.483Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Node SDK for Amazon Lex Model Building Service","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}