{"_id":"@aws-sdk/client-kinesis-browser","_rev":"30-0889177a154af8b4c16381f6e011573e","name":"@aws-sdk/client-kinesis-browser","dist-tags":{"latest":"0.1.0-preview.2","preview":"0.1.0-preview.10"},"versions":{"0.1.0-preview.1":{"name":"@aws-sdk/client-kinesis-browser","version":"0.1.0-preview.1","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","_id":"@aws-sdk/client-kinesis-browser@0.1.0-preview.1","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"cjradek","email":"cjradek@gmail.com"},{"name":"jpeddicord","email":"jacob@peddicord.net"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"00f5de82d5875db6f60ad5164d319e91c6175003","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.1.tgz","fileCount":797,"integrity":"sha512-L0wM87BtoK6w45Bx/JI9EkO8rEjyE2xGtSfUrSMfkehJLqVWbtHiJvbJ0JisQKefoT0F2ioSpoOIY4W9ydtrqA==","signatures":[{"sig":"MEUCIQCmDmf49nmGPjeBqb8RG36SNoWvcQHBQhujbQW+itQhmQIgKpttivt95AQd30LqRU4oGDXSYVGBNR9XFsBzvDpstUQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":505567,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb80YpCRA9TVsSAnZWagAAxvAP+gOWjtjqaffdM6Wb8Quv\nQVzrABC0VDNf/dJ3lXPtKwLMwoW9kikuQd9g2C95Ot3vUjBnCHRWWO4Y2NEc\nZZ35VX82LNzlnG1skYd/99n/WQbV4tLzaPmKkFaPB+IueJ79Fs2J72Vi/BIm\nziFp23wdDyZioPn2eI4HZ0jsIa8wGwZUuk15ZBjTHplofyC3RbWrGmKOvJBI\ndDtHpLbkJ6742HfoJHQYO4TzZNcJHQEzId618Kh3v1/1yNEZDR6aIA4is45b\nMvC9tmQ9FWFSAz3S4W631mWBShWDqi+N9jcbS7mM6Owsiu4/eAxxQD6Wd9v9\nNXpzuuZ7YDkI2IfapmxZEjISQz1B6eB4M7TBo0y9ZfhI7wudPBDQZ1JYqXPX\niWHly6ja+p7wcm8M5/XyJSF3mDugKJ0ad2yVTC1lCSIByO4RO6P3abqIkjqU\nldwlpm5YgXwcrZmC8Ok0gUYNV5Rmqh3ra2bT14rVNsjyYd9OOuvFDknZRdoi\nYNkFbklJFMZWwZ6ZxVQYR2PzJO0HHoSrs7i+HOyYQewOgzV9t7mDNOTn/vR4\n56c04Wdu0JYlMt6LXkXoUdvk/XnBS4OpWmC8DelkxNVLnyDwrKX1m/vNeaKj\nV89hN8ZDg4M80UkApbYG0jQjjUC/KCuTQnx+ZJZ01LhflaksiZ5XZ3saPCXi\n38aY\r\n=vLi6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","_from":"file:aws-sdk-client-kinesis-browser-0.1.0-preview.1.tgz","types":"./index.d.ts","gitHead":"960970c0c25938a8d51d1a243d3f21f05acea92e","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"},"_resolved":"","_integrity":"","deprecated":"The package @aws-sdk/client-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"6.4.1","description":"Browser SDK for Amazon Kinesis","directories":{},"_nodeVersion":"8.8.1","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.1","@aws-sdk/json-parser":"^0.1.0-preview.1","@aws-sdk/core-handler":"^0.1.0-preview.1","@aws-sdk/json-builder":"^0.1.0-preview.1","@aws-sdk/signature-v4":"^0.1.0-preview.1","@aws-sdk/config-resolver":"^0.1.0-preview.1","@aws-sdk/middleware-stack":"^0.1.0-preview.1","@aws-sdk/retry-middleware":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.1","@aws-sdk/util-utf8-browser":"^0.1.0-preview.1","@aws-sdk/fetch-http-handler":"^0.1.0-preview.1","@aws-sdk/signing-middleware":"^0.1.0-preview.1","@aws-sdk/url-parser-browser":"^0.1.0-preview.1","@aws-sdk/util-base64-browser":"^0.1.0-preview.1","@aws-sdk/crypto-sha256-browser":"^0.1.0-preview.1","@aws-sdk/middleware-serializer":"^0.1.0-preview.1","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.1","@aws-sdk/stream-collector-browser":"^0.1.0-preview.1","@aws-sdk/util-body-length-browser":"^0.1.0-preview.1","@aws-sdk/middleware-content-length":"^0.1.0-preview.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^20.0.4","karma":"^2.0.0","rimraf":"^2.6.2","typedoc":"^0.10.0","puppeteer":"^1.0.0","typescript":"^3.0.0","@types/jest":"^20.0.2","jasmine-core":"^2.8.0","karma-jasmine":"^1.1.1","karma-coverage":"^1.1.1","karma-typescript":"^3.0.12","karma-chrome-launcher":"^2.2.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.1","@aws-sdk/client-documentation-generator":"^0.1.0-preview.1"},"_npmOperationalInternal":{"tmp":"tmp/client-kinesis-browser_0.1.0-preview.1_1542669865103_0.4208544457750538","host":"s3://npm-registry-packages"}},"0.1.0-preview.2":{"name":"@aws-sdk/client-kinesis-browser","version":"0.1.0-preview.2","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","_id":"@aws-sdk/client-kinesis-browser@0.1.0-preview.2","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"cjradek","email":"cjradek@gmail.com"},{"name":"jpeddicord","email":"jacob@peddicord.net"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"db74944cb15f9a3cc62395efd978a68eef67bdce","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.2.tgz","fileCount":797,"integrity":"sha512-QblGh5s9u+haufkePAsL/O0cN7RGciBYMiSJQdFeK6/Zl8nlT6n4vRLSYUiQVGIGmnjazK7rvFGCloPWXekA2Q==","signatures":[{"sig":"MEYCIQD/xOhyxWRUnyuvXMME12uDMlzJJ1tzk9rkTGrZ0QPkzwIhALQTguzVW8M/Q9zo4LUaVhSwV2wNSHwO3+GX6bVY8NhF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":510970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcS5IvCRA9TVsSAnZWagAAhD0QAJSItNrFFhaCTKs0Zjbz\nkunB5BSQmyxKIJxRrzz3+E+VlJgkkQJz/kwSdd77foEjdgKMRiWzYxL0g9+l\ni6KYP59bVXMvYTKoAnGiNOrhl+BgsHyUjFhc+yhn6eiukgk8DQhhq1Vcls7n\n/VuLDPy3BEV2MpkcoozgYNt+fRTQReytn+4PyDq5HGUDpCbYsj6tITM9eIY1\nABR3BzMQqoN/o5NWHVB9Eo8je66MPXd6c6d44Xff4Csg/VNq+0F/Vm7IeHpb\nFTNNnhGP2xY+NnEbtGb/Na8QyW5Jp5SBdp3aUF4BTREr3VnRAOsa76sYuyQh\nVaSAdoedlRMT3EReiUbXq8MEIHH4xgp7CITI8MuEjRRqmQ/qdbi87cRs5ZMk\nUEiShfArzsbskiqJK+OPdXrGkt5G4Z4qwWMHgOwS/rA3aAmSZjbei8d3pYrp\nd+MaKNDkICkl2coQc6PhG1k3pA4D3u4/rufJAZg+2YxPwAxuMcJCi3C9ASZx\ndgI9qt4rgA+jP+qmGbGwuwHTB/X8qfOwktNv3gzaKA8qEVkUvy63F6RF2ccl\nFj1Yg+8G4QxPAjYwFs94WnzJ/ciBGI21ae9F1htG3RIAWvEzhu1wgzg2HXFG\ntMk45u/qpoM4OZXwWMus7eyzQ6speRZQVR8FcfkFHxHEETW54Wyy8V8SDslx\nU8F/\r\n=a3Pw\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-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"6.4.1","description":"Browser SDK for Amazon Kinesis","directories":{},"_nodeVersion":"8.8.1","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.1","@aws-sdk/json-parser":"^0.1.0-preview.1","@aws-sdk/core-handler":"^0.1.0-preview.1","@aws-sdk/json-builder":"^0.1.0-preview.1","@aws-sdk/signature-v4":"^0.1.0-preview.2","@aws-sdk/config-resolver":"^0.1.0-preview.1","@aws-sdk/middleware-stack":"^0.1.0-preview.2","@aws-sdk/retry-middleware":"^0.1.0-preview.1","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.2","@aws-sdk/util-utf8-browser":"^0.1.0-preview.1","@aws-sdk/fetch-http-handler":"^0.1.0-preview.1","@aws-sdk/signing-middleware":"^0.1.0-preview.2","@aws-sdk/url-parser-browser":"^0.1.0-preview.1","@aws-sdk/util-base64-browser":"^0.1.0-preview.1","@aws-sdk/middleware-serializer":"^0.1.0-preview.1","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.2","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.2","@aws-sdk/stream-collector-browser":"^0.1.0-preview.1","@aws-sdk/util-body-length-browser":"^0.1.0-preview.1","@aws-sdk/middleware-content-length":"^0.1.0-preview.1","@aws-sdk/middleware-header-default":"^0.1.0-preview.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^20.0.4","karma":"^2.0.0","rimraf":"^2.6.2","typedoc":"^0.10.0","puppeteer":"^1.0.0","typescript":"^3.0.0","@types/jest":"^20.0.2","jasmine-core":"^2.8.0","karma-jasmine":"^1.1.1","karma-coverage":"^1.1.1","karma-typescript":"^3.0.12","karma-chrome-launcher":"^2.2.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.2","@aws-sdk/client-documentation-generator":"^0.1.0-preview.1"},"_npmOperationalInternal":{"tmp":"tmp/client-kinesis-browser_0.1.0-preview.2_1548456494382_0.9890813799425282","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-kinesis-browser","version":"0.1.0-preview.3","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","_id":"@aws-sdk/client-kinesis-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":"cjradek","email":"cjradek@gmail.com"},{"name":"jpeddicord","email":"jacob@peddicord.net"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"57a4b53b9f7ceffdf6fdc2927f47b7cbc27b73c1","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.3.tgz","fileCount":780,"integrity":"sha512-yQJf1aDFBHUcDCyOWpHb9aCSjFPVGAoqmqMXMPtlCLN21rP4R76tP3UArmC+0PL+Js+S8t9hCwGM0ag/VmTo0g==","signatures":[{"sig":"MEQCIFeKgbqVzAVy38g/ym+H1E9dNPZYkuBBqS1j0DbopQK3AiBMPRo8WM5xAk+v8NxXnhJTEsWef8QnBpnHBXoQpYS/pw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":509638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm8wMCRA9TVsSAnZWagAAcXMP/jSRaMStJK+nTDUskece\n1WrqTGCGML/AF2vdgusGkACTz6NFikme84YNvayWYHVv1bXI+1bm64OMI2yy\nIPPZhVlq45hncg0LXjKkZ//DCF6ITYsrm9bGHCLenB8/y+CfJDNubPWii2dZ\nK0e2Xg+oyVxRLa0ecxnr9JpDpfFwmp9ZQTVFXoKgswl5O6usQAp4EYv97+we\nGNl36uo6sb62wSUCapkHFzY3Z4CkcZ2j6ksVAzmA9yBZML+y+o7Oj8w+DgAF\nL6TL959rVIQgcKQsEmDB/VYp9ntEvhIQy7UJ0pZ/dr+LTVHADaFw5+A+fCFl\n1xKpd1Qao6IOvcb7ia2ajHCgdtWwBjzt+XoduPP1uwQ3ff2Kbjp1wPFdoUkz\n4mDI0SkWSb9SJVnrTNOG2Hq0eHGHMkqrE1+iZYmECAFrR3E3EPywaDhAXmR+\nxo3GxVXWLMhIszIqf0otaC8nk2DevyiV1z30xwCsdW+sI8pLFq/AZr/5LyHk\ncsZsWZIMYximcbpIDR2k7zuw73MZZWz+vqE2Gb3g76/rAauALx1oJvKzAKeE\nF7wN28+BRqeZArLh275jtEjO9b8+6Y4CjZb5vMMjNyB+49mYX1uPlVnXSf2A\ntyBvgIsa65uYdfVrLL/ust5fOfO1xH/rBDaaD45V9m98daLxX1d18EyKwgg1\nbHry\r\n=OdOU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-kinesis-browser\n\n## Description\n\n<fullname>Amazon Kinesis Data Streams Service API Reference</fullname> <p>Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.</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-kinesis-browser\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commends in CommonJS modules. To send a request, you only need to import the client(`KinesisClient`) and the commands you need, for example `AddTagsToStreamCommand`:\n\n```javascript\n//javascript\nconst { KinesisClient } = require('@aws-sdk/client-kinesis-browser/KinesisClient');\nconst { AddTagsToStreamCommand } = require('@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand');\n```\n\n```javascript\n//typescript\nconst { KinesisClient } = import '@aws-sdk/client-kinesis-browser/KinesisClient';\nconst { AddTagsToStreamCommand } = import '@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand';\n```\n\n### Usage\n\nTo send a request, you:\n\n* Initiate client with configurations.(credentials, region). For more information you can refer to the [API reference][].\n* Initiate command with input parameters.\n* Call `send` operation of 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 kinesis = new KinesisClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n    StreamName: /**a string value*/,\n    Tags: { /**a map with key of string and value of string*/ },\n};\nconst addTagsToStreamCommand = new AddTagsToStreamCommand(params);\nkinesis.send(addTagsToStreamCommand).then(data => {\n    // do something\n}).catch(error => {\n    // error handling\n})\n```\n\nBesides using promise style, there are 2 other ways to send a request:\n\n```javascript\n// async/await\ntry {\n    const data = await kinesis.send(addTagsToStreamCommand);\n    // do something\n} catch(error) {\n    // error handling\n}\n```\n\n```javascript\n// callback\nkinesis.send(addTagsToStreamCommand, (err, data) => {\n    //do something\n})\n```\n \nBesides using `send()`, the SDK can also send requests using the simplified callback style in version 2 of the SDK.\n\n```javascript\nimport * as AWS from '@aws-sdk/@aws-sdk/client-kinesis-browser/Kinesis';\nconst kinesis = new AWS.Kinesis({region: 'region'})\nkinesis.addTagsToStream(params, (err, data) => {\n    //do something\n})\n\n```\n\n### Troubleshooting \n\nWhen the service returns an exception, inpecting the exceptions is always helpful. You can not only access the exception information but also response metadata(i.e request id).\n\n```javascript\ntry {\n    const data = await kinesis.send(addTagsToStreamCommand);\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 like below:\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-kinesis-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\n[API reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","gitHead":"3dd9e610b159cadf8db49740ee8b0732e0c966e2","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-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"lerna/3.13.1/node@v8.8.1+x64 (darwin)","description":"Browser SDK for Amazon Kinesis","directories":{},"_nodeVersion":"8.8.1","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.2","@aws-sdk/json-parser":"^0.1.0-preview.2","@aws-sdk/core-handler":"^0.1.0-preview.2","@aws-sdk/json-builder":"^0.1.0-preview.2","@aws-sdk/signature-v4":"^0.1.0-preview.3","@aws-sdk/config-resolver":"^0.1.0-preview.2","@aws-sdk/middleware-stack":"^0.1.0-preview.3","@aws-sdk/retry-middleware":"^0.1.0-preview.2","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.3","@aws-sdk/util-utf8-browser":"^0.1.0-preview.1","@aws-sdk/fetch-http-handler":"^0.1.0-preview.2","@aws-sdk/signing-middleware":"^0.1.0-preview.3","@aws-sdk/url-parser-browser":"^0.1.0-preview.2","@aws-sdk/util-base64-browser":"^0.1.0-preview.1","@aws-sdk/middleware-serializer":"^0.1.0-preview.2","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.3","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.3","@aws-sdk/stream-collector-browser":"^0.1.0-preview.2","@aws-sdk/util-body-length-browser":"^0.1.0-preview.1","@aws-sdk/middleware-content-length":"^0.1.0-preview.2","@aws-sdk/middleware-header-default":"^0.1.0-preview.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^20.0.4","karma":"^2.0.0","rimraf":"^2.6.2","typedoc":"^0.10.0","puppeteer":"^1.0.0","typescript":"^3.0.0","@types/jest":"^20.0.2","jasmine-core":"^2.8.0","karma-jasmine":"^1.1.1","karma-coverage":"^1.1.1","karma-typescript":"^3.0.12","karma-chrome-launcher":"^2.2.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.3","@aws-sdk/client-documentation-generator":"^0.1.0-preview.1"},"_npmOperationalInternal":{"tmp":"tmp/client-kinesis-browser_0.1.0-preview.3_1553714187638_0.7331254474019859","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-kinesis-browser","version":"0.1.0-preview.4","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","_id":"@aws-sdk/client-kinesis-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":"cjradek","email":"cjradek@gmail.com"},{"name":"jpeddicord","email":"jacob@peddicord.net"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"d93728c018ac5adcbef390fb63286c967d93a452","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.4.tgz","fileCount":780,"integrity":"sha512-viqIq0QOIWm2p5AcjIWfH+UWC3AkwzcsD3XA81xBatq+h/95xDp7W7awVQZ+Wz2u07gwYJSRMjYi+W9t5k9e1g==","signatures":[{"sig":"MEYCIQDC7NXwUVaMURX/t7OZ3FhjCMpcWdWnlUmJ6xavvzSUJQIhAMOt7MQ2M6IgWaIdTxD4faFsv3AUXa/dj83n4kRd5jR4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":509834,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcujYOCRA9TVsSAnZWagAADxoP/1gzQGIoi810BVODCft9\nvuD3uJ08CuRzypOg4EjyWJx7EasybtGolAsbhxJizVWQc1aAyYlY0RwQWAim\nMio10etYS384u8GitUZgHKd4GxxGeoOqrAbg3y8OikVWB9YVkcV2X2cKybk0\newBssYD8JgUwp9AV55dzO4gCxZ+Bh779GPeA2l9mfVbdT35/eMYYvLqvj6tS\nhHZiPyq9iK8VbVX75SShbDQELtaEOQNNjU+adzoZM0U9Mij/xDj7yh3f3Kwr\nBDkcpOG3KMQUnQFfb+22gd8d6wGUQeHhuYrwTWrYjKWy7QvIhL6EIT4kEpQU\nchsswu9hyzSAxw4enixH0cY8lc+3ZfsWm+FkUxiA2uaz8XpwM2IV8NGnOdkB\nPb5DvM+J81Bc8DoIp8Z2NE4rw4hMVGCk64EtdLKPdtd8gtZ49eQsN8qvEmLL\nS5Uk4/ioF1KfUzTbnt6ISVdfPsM769CnO7LSkzf0ZkniKr6gOdhCf0w2nH8/\nR8YfP91Bfb+ftfDquJQ+9X/QPzQlfeeQsylG5dR4To0Mu8dSLmJy+PHMlYQO\nrQSNcotvR+oEmxX9cR2fPmXQNDHrGlEE7BMCkoyOrbZVCK4LpKPsNHsvGnzP\nz6alxaTAqP/NfoUnTa6r1JRaoDU47er+FvS+4t/U59lSV4FMojoHDTWf9Os6\nJR6h\r\n=gW+d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-kinesis-browser\n\n## Description\n\n<fullname>Amazon Kinesis Data Streams Service API Reference</fullname> <p>Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.</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-kinesis-browser\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commends in CommonJS modules. To send a request, you only need to import the client(`KinesisClient`) and the commands you need, for example `AddTagsToStreamCommand`:\n\n```javascript\n//javascript\nconst { KinesisClient } = require('@aws-sdk/client-kinesis-browser/KinesisClient');\nconst { AddTagsToStreamCommand } = require('@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand');\n```\n\n```javascript\n//typescript\nconst { KinesisClient } = import '@aws-sdk/client-kinesis-browser/KinesisClient';\nconst { AddTagsToStreamCommand } = import '@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand';\n```\n\n### Usage\n\nTo send a request, you:\n\n* Initiate client with configurations.(credentials, region). For more information you can refer to the [API reference][].\n* Initiate command with input parameters.\n* Call `send` operation of 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 kinesis = new KinesisClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n    StreamName: /**a string value*/,\n    Tags: { /**a map with key of string and value of string*/ },\n};\nconst addTagsToStreamCommand = new AddTagsToStreamCommand(params);\nkinesis.send(addTagsToStreamCommand).then(data => {\n    // do something\n}).catch(error => {\n    // error handling\n})\n```\n\nBesides using promise style, there are 2 other ways to send a request:\n\n```javascript\n// async/await\ntry {\n    const data = await kinesis.send(addTagsToStreamCommand);\n    // do something\n} catch(error) {\n    // error handling\n}\n```\n\n```javascript\n// callback\nkinesis.send(addTagsToStreamCommand, (err, data) => {\n    //do something\n})\n```\n \nBesides using `send()`, the SDK can also send requests using the simplified callback style in version 2 of the SDK.\n\n```javascript\nimport * as AWS from '@aws-sdk/@aws-sdk/client-kinesis-browser/Kinesis';\nconst kinesis = new AWS.Kinesis({region: 'region'})\nkinesis.addTagsToStream(params, (err, data) => {\n    //do something\n})\n\n```\n\n### Troubleshooting \n\nWhen the service returns an exception, inpecting the exceptions is always helpful. You can not only access the exception information but also response metadata(i.e request id).\n\n```javascript\ntry {\n    const data = await kinesis.send(addTagsToStreamCommand);\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 like below:\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-kinesis-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\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-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"5.6.0","description":"Browser SDK for Amazon Kinesis","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.3","@aws-sdk/json-parser":"^0.1.0-preview.3","@aws-sdk/core-handler":"^0.1.0-preview.3","@aws-sdk/json-builder":"^0.1.0-preview.3","@aws-sdk/signature-v4":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.3","@aws-sdk/middleware-stack":"^0.1.0-preview.4","@aws-sdk/retry-middleware":"^0.1.0-preview.3","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.4","@aws-sdk/util-utf8-browser":"^0.1.0-preview.1","@aws-sdk/fetch-http-handler":"^0.1.0-preview.3","@aws-sdk/signing-middleware":"^0.1.0-preview.4","@aws-sdk/url-parser-browser":"^0.1.0-preview.3","@aws-sdk/util-base64-browser":"^0.1.0-preview.1","@aws-sdk/middleware-serializer":"^0.1.0-preview.3","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.4","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.4","@aws-sdk/stream-collector-browser":"^0.1.0-preview.3","@aws-sdk/util-body-length-browser":"^0.1.0-preview.1","@aws-sdk/middleware-content-length":"^0.1.0-preview.3","@aws-sdk/middleware-header-default":"^0.1.0-preview.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^20.0.4","karma":"^2.0.0","rimraf":"^2.6.2","typedoc":"^0.10.0","puppeteer":"^1.0.0","typescript":"^3.0.0","@types/jest":"^20.0.2","jasmine-core":"^2.8.0","karma-jasmine":"^1.1.1","karma-coverage":"^1.1.1","karma-typescript":"^3.0.12","karma-chrome-launcher":"^2.2.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.4","@aws-sdk/client-documentation-generator":"^0.1.0-preview.1"},"_npmOperationalInternal":{"tmp":"tmp/client-kinesis-browser_0.1.0-preview.4_1555707406145_0.44980856795198454","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-kinesis-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-kinesis-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":"zyp19930608@gmail.com"}],"dist":{"shasum":"1d6f01b3391fc4b31a5d8fd452e2cd29c1b72d9b","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.5.tgz","fileCount":780,"integrity":"sha512-nKihiCs/NdMI/djBLY8D9vZDFvp00ugvjtryfajglvhzJ/J0KhWmJNUy7X0sw60zvEGX7VhVTL8EKAR7cPyn2A==","signatures":[{"sig":"MEQCIG4YhJSoV661hUbGf4x9al3XF7MurFixQOvUNWMLPF+BAiAv2QBqyJ0fl68h9hM6GspMg25ITSICOMMSbBfZLb66nQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":513491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKNnnCRA9TVsSAnZWagAAiyUP/3d4fEg+0ZEYHAV6bSPP\nuU2kfKhUtP5DjX+xWgnlRzEeYblP0GhZk7faDrAva42B3qKpMU2tXDqXZyOc\nQ0YsDWRgwxGMK/kqY20rxNlquW2DOVbIDamfaSifC1yNeli9VvNJEDZBBIqF\nwVGUnkqtoZNr+h7AkYBKHgQZWWj5z71IkGHpDZKffuLBtr8Os9Mip/tcr3hX\nJa8OE7CqzVSqWFAaS/0c7usXO4JBTpqmeCaXFZllVwDti8firz/80dK70oh2\nJoMVAy3FI7B6AQh7fbW1OtKSC8yZ+rlGGGXRyR2ValB37UGEAlEDAvItaqf+\nlB6qVrplPOHgYWIvp6EG8HZHVt3RvvInUkqo/QXwfBnb1ZtVHPqjC2BJyn3t\nQNSDM0SDgFhRdPlGib3N/uFyeUuvtxyiubTF2FfNsq/dbsnLmGtRD+Mj50uW\nm8Udl8o/UMIXzgJX8hWELuClY9FRkxjUB1Zhlt662tiw4XV2C6hr1AAuebRj\nTl4yoH1ztJFf4ZDz56GQuiKAgsV7GDYuNK0Ldhh45IV4BYmEWgAUZSuY54IO\nxpvrpyi0pNnM6a3J/yjy+Kr3GpYDHvwftjp/89Fvi8iRkGO342sZ8he+S4Ux\ntMt/xtvYSIesiN7GHj6PJsSFdhx91/MpsWdsPpAbEbhlGVnpCRxcVKtPtN3j\njinT\r\n=0nzp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-kinesis-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-kinesis-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-kinesis-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n\n## Description\n\n<fullname>Amazon Kinesis Data Streams Service API Reference</fullname> <p>Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.</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-kinesis-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(`KinesisClient`) and the commands you need, for example `AddTagsToStreamCommand`:\n\n```javascript\n//javascript\nconst {\n  KinesisClient\n} = require(\"@aws-sdk/client-kinesis-browser/KinesisClient\");\nconst {\n  AddTagsToStreamCommand\n} = require(\"@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand\");\n```\n\n```javascript\n//typescript\nconst { KinesisClient } = import '@aws-sdk/client-kinesis-browser/KinesisClient';\nconst { AddTagsToStreamCommand } = import '@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand';\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 kinesis = new KinesisClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  StreamName: /**a string value*/,\n  Tags: { /**a map with key of string and value of string*/ },\n};\nconst addTagsToStreamCommand = new AddTagsToStreamCommand(params);\nkinesis.send(addTagsToStreamCommand).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 kinesis.send(addTagsToStreamCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nkinesis.send(addTagsToStreamCommand, (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-kinesis-browser/Kinesis\";\nconst kinesis = new AWS.Kinesis({ region: \"region\" });\nkinesis.addTagsToStream(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 kinesis.send(addTagsToStreamCommand);\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-kinesis-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-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Kinesis","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.4","@aws-sdk/json-parser":"^0.1.0-preview.4","@aws-sdk/core-handler":"^0.1.0-preview.4","@aws-sdk/json-builder":"^0.1.0-preview.4","@aws-sdk/signature-v4":"^0.1.0-preview.5","@aws-sdk/config-resolver":"^0.1.0-preview.4","@aws-sdk/middleware-stack":"^0.1.0-preview.5","@aws-sdk/retry-middleware":"^0.1.0-preview.4","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.5","@aws-sdk/util-utf8-browser":"^0.1.0-preview.2","@aws-sdk/fetch-http-handler":"^0.1.0-preview.4","@aws-sdk/signing-middleware":"^0.1.0-preview.5","@aws-sdk/url-parser-browser":"^0.1.0-preview.4","@aws-sdk/util-base64-browser":"^0.1.0-preview.2","@aws-sdk/middleware-serializer":"^0.1.0-preview.4","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.5","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.5","@aws-sdk/stream-collector-browser":"^0.1.0-preview.4","@aws-sdk/util-body-length-browser":"^0.1.0-preview.2","@aws-sdk/middleware-content-length":"^0.1.0-preview.4","@aws-sdk/middleware-header-default":"^0.1.0-preview.4"},"_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":"^2.2.0","@aws-sdk/karma-credential-loader":"^0.1.0-preview.5","@aws-sdk/client-documentation-generator":"^0.1.0-preview.2"},"_npmOperationalInternal":{"tmp":"tmp/client-kinesis-browser_0.1.0-preview.5_1562958310593_0.5693190046721157","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-kinesis-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-kinesis-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":"zyp19930608@gmail.com"}],"dist":{"shasum":"aa160bb1d899b2df73fec9d34a2bd0734f12cac2","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.6.tgz","fileCount":780,"integrity":"sha512-v/czq78ryDaPfhzPI6S7lkmfFV3GRKlryATGAtbJlEFpzOQQ1lF7H3U3BHcBu4ihQIM5pcpaa8LCpi6Y2TjtHg==","signatures":[{"sig":"MEUCIQCYgc1V/29ZqL6EVb2TCuc6BxPnM9nupm4KKZKQyYnKoAIgWO4nyNFEZuxg3GEg9QjvyRQsAo3WID3M/so9hQ/ErVc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":514268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpQNCRA9TVsSAnZWagAAigoP/jSy316lEZVHwbBWahjD\nqjliZLtyMHHme+gdXlsFojqaAHLeUKOUOhrvwn+3ghxEx8Yxm2nfM8AzD+Wl\nhI4O8bb8WSKpPjE2uMgNazDXvh3eozaT+UpZIBCjVzqdV3hXI6h7AXC88q7I\nXTeGlYOW6eQBRrgNRUIuaSpxqksTO7sh92EFLbq3L+H3ZJkxKPoR60+3PjUv\nHM7kbYqKjA6DFBGGKqzBcnsAd+WSUD2kA70s+q5tVg3IQWzIIo09NT8n5A6S\nXRIXoF1hGogu5U0U8I9EvxHblflZ246UW4K7pSGUOYCzpdF6LXy962lEk/gb\npY+n5lvhuJYg1hASGDXB0TTXJXtz4lmM1qKu+JQUUCeTlRhx2pPklZ2zQp3N\nAyVNsP37UqG5kTX/23aioC597Gc8cmdOMbWdAgJTjIUVZgDJ9U5ye2VRPgJ1\nyBuESifsXg/RdbJgRBYz8SG4cHmn+w3CWsDSIlfymzGeECA2nTAfjTJqwx/2\ngRz9dxg6UFlfk1tTFCpSPCbCYtN/NmCoX71LdIaeTpx7RXo1XhqM2FMUfH1B\nENLX5Ake/x5dTUhKy8fjcYHQFPJjOqvtcqB2HmunmKNHkRqOw9It+NoY3J7a\na4DfJxns+LgcppP7kYtu84p7TchfhRrC3XcNADDFeHebiqkl+cfyo7TWw8bP\nzqfe\r\n=Cf/l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-kinesis-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-kinesis-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-kinesis-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n\n## Description\n\n<fullname>Amazon Kinesis Data Streams Service API Reference</fullname> <p>Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.</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-kinesis-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(`KinesisClient`) and the commands you need, for example `AddTagsToStreamCommand`:\n\n```javascript\n//JavaScript\nconst {\n  KinesisClient\n} = require(\"@aws-sdk/client-kinesis-browser/KinesisClient\");\nconst {\n  AddTagsToStreamCommand\n} = require(\"@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand\");\n```\n\n```javascript\n//TypeScript\nimport { KinesisClient } from \"@aws-sdk/client-kinesis-browser/KinesisClient\";\nimport { AddTagsToStreamCommand } from \"@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand\";\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 kinesis = new KinesisClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  StreamName: /**a string value*/,\n  Tags: { /**a map with key of string and value of string*/ },\n};\nconst addTagsToStreamCommand = new AddTagsToStreamCommand(params);\nkinesis.send(addTagsToStreamCommand).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 kinesis.send(addTagsToStreamCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nkinesis.send(addTagsToStreamCommand, (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-kinesis-browser/Kinesis\";\nconst kinesis = new AWS.Kinesis({ region: \"region\" });\nkinesis.addTagsToStream(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 kinesis.send(addTagsToStreamCommand);\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-kinesis-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-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Kinesis","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,"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.6","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-kinesis-browser_0.1.0-preview.6_1568052236017_0.08912227938782191","host":"s3://npm-registry-packages"}},"0.1.0-preview.7":{"name":"@aws-sdk/client-kinesis-browser","version":"0.1.0-preview.7","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-kinesis-browser@0.1.0-preview.7","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":"zyp19930608@gmail.com"}],"dist":{"shasum":"d78e06a7dbe7f073bef031a3a709b64c72d82423","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.7.tgz","fileCount":780,"integrity":"sha512-/z2QL3aoZhyRF7AjiGNBaqbKI227A9py8JUClUH35Xac/K9Ut342TlB7pQqMFG83rQXJgZ8z+qdb7a/WgS4GbA==","signatures":[{"sig":"MEYCIQCqS7EOQTZyQcRRk/Ng1U3xxNfMfgFHH8dtNPu07IK8iAIhAIR4dIm85Hi4xv1wvpcB6xHCBBPna1BqsBpcss6n6MKl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":514634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6R4CRA9TVsSAnZWagAAh24P/iRPgATT4A5u7dts53k6\nHuzv05gVD4k2GMn5TbgZYHxLyJpFCEhxtouFUxqvA3Kq2xGbY9lqfFuA4In0\ncjlu/5ttL0bbBmIT4AQcN0VwRsjuW8Cra0cGiBMk6wtwyiD+pRcw8AHlqmor\ntQGYYuh38Mx83OIagZPxlfC+YQIFTQNqL9z3Ql6/4GUE/gUE/6Lc9noPL5u4\nTg5NizMMg/x0FZ6fOH2ZeIx9ZlOMPacsU7UinPx48Q2t6Rcp0wyd2F0krHO4\n8tALIl4+G+U/TKiNe4Z+nk2CWAkLwbqJZsVTv0TnA1yGg2EjdL0GCc2ltDnL\niVW1Fg/HDYczU0897HVxiGEEubDGktm88FJBDXBA/MUOPWD0HcPmn/tMANUx\nh9kjKMbzsoTmztLF4FPgWbCZgfvFaW/dbI6XlGz/W3p88VdrkUI4m/V0pkqm\nj2zOWo7jcnZR7MnnWo0+GpoZ7pSzZpcxZacWf97EVj7ZvyO2ZZyNRf6njs6m\nZuCFUHc7Li0HQQUiB3cDdCbkKOxcI/v3io0t0rkYAU0RXnKZPClMk+k1j7Ca\nTEKk9u5tB2JU3FmVg6OSQpX52qVpxjU4p3vEs1TM9yM2Z2AcT73D7ffwo28J\n7txeVWj/t0p34JyNUmzZhNMQZNyooY9Nz5e2hG3WK/lNedEHZ3Zu202PfoZ8\nWJTW\r\n=2iPb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-kinesis-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-kinesis-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-kinesis-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n\n## Description\n\n<fullname>Amazon Kinesis Data Streams Service API Reference</fullname> <p>Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.</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-kinesis-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(`KinesisClient`) and the commands you need, for example `AddTagsToStreamCommand`:\n\n```javascript\n//JavaScript\nconst {\n  KinesisClient\n} = require(\"@aws-sdk/client-kinesis-browser/KinesisClient\");\nconst {\n  AddTagsToStreamCommand\n} = require(\"@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand\");\n```\n\n```javascript\n//TypeScript\nimport { KinesisClient } from \"@aws-sdk/client-kinesis-browser/KinesisClient\";\nimport { AddTagsToStreamCommand } from \"@aws-sdk/client-kinesis-browser/commands/AddTagsToStreamCommand\";\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 kinesis = new KinesisClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  StreamName: /**a string value*/,\n  Tags: { /**a map with key of string and value of string*/ },\n};\nconst addTagsToStreamCommand = new AddTagsToStreamCommand(params);\nkinesis.send(addTagsToStreamCommand).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 kinesis.send(addTagsToStreamCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nkinesis.send(addTagsToStreamCommand, (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-kinesis-browser/Kinesis\";\nconst kinesis = new AWS.Kinesis({ region: \"region\" });\nkinesis.addTagsToStream(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 kinesis.send(addTagsToStreamCommand);\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-kinesis-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-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Kinesis","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-kinesis-browser_0.1.0-preview.7_1568908407984_0.8002377726416869","host":"s3://npm-registry-packages"}},"0.1.0-preview.8":{"name":"@aws-sdk/client-kinesis-browser","version":"0.1.0-preview.8","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-kinesis-browser@0.1.0-preview.8","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":"zyp19930608@gmail.com"}],"dist":{"shasum":"197e43f3df751b92556f3fafcad9400872ab72c9","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.8.tgz","fileCount":780,"integrity":"sha512-CUI/k4i32kbmMGdWdDJiM+fVfbACUzr+BPQX3AE4EssZGoI8EhF+f0ytbalFrGbC9hf/Ps1uqFeIU9f5Vxhacw==","signatures":[{"sig":"MEUCIQCE4iVfH4viyGCzO+QA8zh9bdoye1Uqp1/ImFLwhanuMgIgTzBcPaslST24il3aNUZnWfTFUeek30M1OUteewGHgfA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":514814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNNICRA9TVsSAnZWagAA7CEP/2s4+f5iAsj2y9z8i/Ca\nDOswEJM5Kk2YCKoeHhvtGP5WcqkuaAlEgsxvHqhh3u0+If5AwS1Do/C8P23d\nDnUbUxyvmbAGdaIZAF3XzF8PKDeOJB0zx9bcOu/UvOnyLPIluOFe7PT90iWE\nAEDOQVLgLD8bLsszfh7b47B2C1gA/i5kOPz9OGYN41eTKqYXEfDthcJFLdl/\nNntEdL7+w0aPHrccY5iCnsMQq5Pp08gHDL0iGSwLOvgyqcBI0VjRstQTWoFZ\nYl5xZ/8vA7lu4ovpYZw82piSAd/y8RgydtwdWDEKLB5vMr3EqHwKymiq6AtQ\nr6Txb84phH8uSRVlGsIlXO7X3B2O/Bbad7A0gIp1xfGUZmrt2iZ61V+0f/mv\nUmGg1Bna/FlEBazl/BDvpDHXp3Dg4rhnCUOfCk7MoQxOz8DvJhHKZ5pkZjRH\npJ1AyU0+qV3D3gu2IdBWwdb2ji01focBV8IC55NO3uSzRUpDKsoeEp94Fj/9\n4YX/z9CQ4qtZMRo4ig1e0sQvhtJ2bfVKG7DK3PC6GP4LDmhcLxbOxmJLm1mi\n1uJjzWgQVfCGZ71AXmGLROYPtAjIBthwrGyp1OCdAuR6y7GQq9vcaTorvfA8\nVO1D2DsVEB+Ioc8TvsictGz114MVPtyOSMMeAhzpmYrj9oU8owrDn1rAaJmk\ng++v\r\n=7TiC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-kinesis-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-kinesis-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-kinesis-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n\n## Description\n\n<fullname>Amazon Kinesis Data Streams Service API Reference</fullname> <p>Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.</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-kinesis-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(`KinesisClient`) and the commands you need, for example `AddTagsToStreamCommand`:\n\n```javascript\n//JavaScript\nconst {\n  KinesisClient,\n  AddTagsToStreamCommand\n} = require(\"@aws-sdk/client-kinesis-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  KinesisClient,\n  AddTagsToStreamCommand\n} from \"@aws-sdk/client-kinesis-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 kinesis = new KinesisClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  StreamName: /**a string value*/,\n  Tags: { /**a map with key of string and value of string*/ },\n};\nconst addTagsToStreamCommand = new AddTagsToStreamCommand(params);\nkinesis.send(addTagsToStreamCommand).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 kinesis.send(addTagsToStreamCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nkinesis.send(addTagsToStreamCommand, (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-kinesis-browser\";\nconst kinesis = new AWS.Kinesis({ region: \"region\" });\nkinesis.addTagsToStream(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 kinesis.send(addTagsToStreamCommand);\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-kinesis-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-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Kinesis","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-kinesis-browser_0.1.0-preview.8_1572393800167_0.4169151261052728","host":"s3://npm-registry-packages"}},"0.1.0-preview.9":{"name":"@aws-sdk/client-kinesis-browser","version":"0.1.0-preview.9","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-kinesis-browser@0.1.0-preview.9","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":"zyp19930608@gmail.com"}],"dist":{"shasum":"43560abecb9c3c42b76d84174bd282095d49140f","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.9.tgz","fileCount":780,"integrity":"sha512-4uV4ucPIHbfqe0rv8P4BwhQXpqaQKOux6nGMB8gbbNEfFZ3dygNHg2uU/VLR2LN/UcBHusKZnhkWYZZuKfW4Og==","signatures":[{"sig":"MEQCIHJt+duoR5OyjQlIpY8q0RGIMF7V52GbFWJUzbOVA+lkAiBj/Sau7bF/8eMHxNvMM2bIXWFjZ7PBrlG81RYl6+x/OQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":515204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduebaCRA9TVsSAnZWagAAj0MP/2wh6El+rbXWuSN77xr7\nw6lEkciUf4bublrny48ZGAMZocUCAZ+7qdlpCGBNA9011k0sNcEfnyluv6Iv\nOPy6PqZP0PrskJu5bLsEYTxGO/LZNPKNNGiIFMoMBFhHZWf2RCAzBlrEuMRM\nqlPvNRWqAmi2kviu+1PF1dtcYajkg4NunJB4J91OcLFcNpwkYBQAeM9SagHw\n6oCOaAJ2FWXoXnwEFWyIrK4P0e5OOdM65c9ymjqBUSKUMCDtLtOq2yAmNppP\n1TYEJ5TtWwgagdcYuUm/6OkC26Ts6KsLfAT8Q3MIiA7I9iaX6T4zOfO3v4QF\nQq6p7YiptDO8MtchqCh00H5oKp/Hn+38F5n4809T3fWQfOE1d1f0yImNaPQP\nAGuT97C6PNLDL1LwQIYSMMC/UVG+z4AQTSDyBvuqsXsUS/lYN54IeHWLXGuq\nP39SdKDLWSRx7lzUn5/hSPR7J/mGb/M5IzPg64SFFprTBAQD1Hk6p7zUGVEs\nmK9vKm4v0DWm8xb6c2a6PMwjKCO0iY9fGLA21bf/2CQQLoX9erqd7aTjVY4b\npJ2jVMbigc8iENLHHSIf16m6eDZyGs4cWl0EgffKLcc104k3pYV9IGNR/rLV\nbC5NqFNvNoIXv9QGx/uqeaXyOu7GnV1wUGIbVKh1tK5V1B0huFuafNReyL0K\nLpzc\r\n=ZZZZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-kinesis-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-kinesis-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-kinesis-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n\n## Description\n\n<fullname>Amazon Kinesis Data Streams Service API Reference</fullname> <p>Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.</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-kinesis-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(`KinesisClient`) and the commands you need, for example `AddTagsToStreamCommand`:\n\n```javascript\n//JavaScript\nconst {\n  KinesisClient,\n  AddTagsToStreamCommand\n} = require(\"@aws-sdk/client-kinesis-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  KinesisClient,\n  AddTagsToStreamCommand\n} from \"@aws-sdk/client-kinesis-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 kinesis = new KinesisClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  StreamName: /**a string value*/,\n  Tags: { /**a map with key of string and value of string*/ },\n};\nconst addTagsToStreamCommand = new AddTagsToStreamCommand(params);\nkinesis.send(addTagsToStreamCommand).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 kinesis.send(addTagsToStreamCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nkinesis.send(addTagsToStreamCommand, (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-kinesis-browser\";\nconst kinesis = new AWS.Kinesis({ region: \"region\" });\nkinesis.addTagsToStream(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 kinesis.send(addTagsToStreamCommand);\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-kinesis-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-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Kinesis","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-kinesis-browser_0.1.0-preview.9_1572464345683_0.10583443706772933","host":"s3://npm-registry-packages"}},"0.1.0-preview.10":{"name":"@aws-sdk/client-kinesis-browser","version":"0.1.0-preview.10","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-kinesis-browser@0.1.0-preview.10","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":"zyp19930608@gmail.com"}],"dist":{"shasum":"f2d9c14eafff00cc20834bd88a7d0cd895fd0ad5","tarball":"https://registry.npmjs.org/@aws-sdk/client-kinesis-browser/-/client-kinesis-browser-0.1.0-preview.10.tgz","fileCount":780,"integrity":"sha512-WZb4A90vn1oA1LMC9LT5Vtin3ZwwwzpZUoHVLHGsFE1zG4OsytfLsOms5o2+G8Dlz2uYb/7jnZ8KSKfvPRCgmw==","signatures":[{"sig":"MEUCIGjF321UPBDgJ0LOzQN+A8Wh8eUGOHQivWV81DLwOQJuAiEAvRytbUdI2LsW48ip9vSvlluxJlkZJaTHayPpc43LphM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":515624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FVxCRA9TVsSAnZWagAAQg8P/3HxIajigfitSKm4lviK\n6pe7MyO6u9aPTxIRvR0hiuGP6Jt/aOe4Rbrv+bSWVIIuJ4K27HF2DzVdDqM+\n/XwvZNo5jxGHrOWUmcGVpovFe21e2i5R6g6mSEzByJ120/TfJXD/IsJAy4pq\nZSWvDqdFlxw9tOXIpo9ddwNC8Mf90BApKB3/IPo2+sJhEJfEHHEnXvlmonSm\nBO92db1IA23Ww9WqqV+sTg9B5KKMUmQVwy3yZ9I4YNrqvWAS4qsg/y/K0o6y\nxuaQ4uQa6YGP2EeHMGrUMDPJFa3431MLJIMcXOVVC3a2cqeSFIMGHKBZLwQ/\nSqyj+xGYC6Jk5BbC9jY65MMwJXETOpVK3M3gsH8wnAZvBPOt/O7UcXgw/D+V\nLI/dtMTcnAfE66LTdsbfiI3FJ3zDGdg39/DZKrkG90XY6jBUarWerjptZyiG\nUtBEizGjncabRLNJj8p6dqcwqxS4/alTEBtXvL03ie7k5RZ6YJoNPmW0lfTB\ntX4ADCXKiZul4IoumqewS1N1O29pYqI6T2j3qGN4zN9vm81JQhJNufK7IJ9R\nxjIfZKL4gYWIEZBawt0AkrhNmIQzJiqT0V+7vQmlE6kwpjhZ1G/82Nd2rfdr\n8UX6s4ZN/tCwjp26FsIoyk7GHgn7matx4fQNigx6OfsmhL+HoNr0ggBqia6L\nO6s1\r\n=JuoP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-kinesis-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-kinesis-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-kinesis-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-kinesis-browser)\n\n## Description\n\n<fullname>Amazon Kinesis Data Streams Service API Reference</fullname> <p>Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.</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-kinesis-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(`KinesisClient`) and the commands you need, for example `AddTagsToStreamCommand`:\n\n```javascript\n//JavaScript\nconst {\n  KinesisClient,\n  AddTagsToStreamCommand\n} = require(\"@aws-sdk/client-kinesis-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  KinesisClient,\n  AddTagsToStreamCommand\n} from \"@aws-sdk/client-kinesis-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 kinesis = new KinesisClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  StreamName: /**a string value*/,\n  Tags: { /**a map with key of string and value of string*/ },\n};\nconst addTagsToStreamCommand = new AddTagsToStreamCommand(params);\nkinesis.send(addTagsToStreamCommand).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 kinesis.send(addTagsToStreamCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nkinesis.send(addTagsToStreamCommand, (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-kinesis-browser\";\nconst kinesis = new AWS.Kinesis({ region: \"region\" });\nkinesis.addTagsToStream(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 kinesis.send(addTagsToStreamCommand);\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-kinesis-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-kinesis-browser has been renamed to @aws-sdk/client-kinesis. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Kinesis","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-kinesis-browser_0.1.0-preview.10_1574196592769_0.3169094460142994","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-11-19T23:24:24.947Z","modified":"2025-03-27T18:43:53.438Z","0.1.0-preview.1":"2018-11-19T23:24:25.271Z","0.1.0-preview.2":"2019-01-25T22:48:14.561Z","0.1.0-preview.3":"2019-03-27T19:16:27.795Z","0.1.0-preview.4":"2019-04-19T20:56:46.320Z","0.1.0-preview.5":"2019-07-12T19:05:10.758Z","0.1.0-preview.6":"2019-09-09T18:03:56.183Z","0.1.0-preview.7":"2019-09-19T15:53:28.180Z","0.1.0-preview.8":"2019-10-30T00:03:20.387Z","0.1.0-preview.9":"2019-10-30T19:39:06.050Z","0.1.0-preview.10":"2019-11-19T20:49:52.914Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","description":"Browser SDK for Amazon Kinesis","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}