{"_id":"@aws-sdk/client-data-pipeline-browser","_rev":"19-1d250479ea43898e132f72456aeb4d4a","name":"@aws-sdk/client-data-pipeline-browser","dist-tags":{"latest":"0.1.0-preview.2","preview":"0.1.0-preview.6"},"versions":{"0.1.0-preview.2":{"name":"@aws-sdk/client-data-pipeline-browser","version":"0.1.0-preview.2","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-data-pipeline-browser@0.1.0-preview.2","maintainers":[{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"dist":{"shasum":"dbf39cc4abf5fc98625039d36162923a73aea548","tarball":"https://registry.npmjs.org/@aws-sdk/client-data-pipeline-browser/-/client-data-pipeline-browser-0.1.0-preview.2.tgz","fileCount":590,"integrity":"sha512-85D6a73yNDbtNRpEg+qz8XwSKTxA6zoNfHhe0vSa011udDTqoPAhNLK4w2Vdr+YlNO084h8lorEuk+68lBnE6g==","signatures":[{"sig":"MEYCIQDliS56/1Aml37dmLqLNWpPA7S99Jbg8+7xtU2eWXPusQIhALd1m6jMxvW5hA6jnEnjcLNXSQJlXHXlkb1BW0P9bcC1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":339981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddo5xCRA9TVsSAnZWagAAgP4QAJDjBZIbp2Lzu4kQdYU0\nCE8hzPgpbzkLREZH/uSIFA5iq9yIEBNt6bVdMyyQFsTV38sODL5vnJMlzwmu\nhrb99mlgikFk65qx/C2RpsYRnC80a3oEmkWrRx0r4A7HnNm6g92v7rs7CSNP\n5jzOi6oaJJAFrSgVtdnJfSoWcXvpc2trLsMMACe8qhgJRlDTcAHcT0ipDiSi\nteeelt0TAEOoRCAXC30s/cC6Bh4nt2HY3RB2cpwVNsWgJ1C1TmrpjAwOxbSy\ndW8uh+wad7Kvcu5h/W+1DasyOGYyMEI997uxPv9QkhGWAqADExz0d0u/hv5M\nKCj//xMJpqHE/g2UollvybU5nFrdQp0mktu27zinaG1KnA+2Q+SZmUXrn1sg\nhlyIyAJV8/kuyKdTVroj9rhOwkrn9W+4gaJnpPrWwv9m6Spf/Wm65VdJ2elV\n1yu1s/fcGrC59CcdGoKYXJIp9dWtvVHGeWf5lCYpmPZrfzmeoDk+BHrjhTKE\nk6clO8kHgZ7luvQZahxh4U7AIx3bnj/BeDRgnyhXLCgNKHJ1TGU+QBiblN67\nAyMM+kPQMlPvs1Psj81OyXSrgbHdEchOluBMmaTKbirViv81OqdJXzsFdYqk\n7L1f4hwQ5XRkpzsVa4KjQjwNS8rY1kicdx2j7H5Bo2CEUiObvIMz7QAkEXZG\nnasF\r\n=BxXx\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-data-pipeline-browser has been renamed to @aws-sdk/client-data-pipeline. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Data Pipeline","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/json-parser":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/json-builder":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.6","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.6","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.5","@aws-sdk/signing-middleware":"^0.1.0-preview.6","@aws-sdk/url-parser-browser":"^0.1.0-preview.5","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.6","@aws-sdk/stream-collector-browser":"^0.1.0-preview.5","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.5","@aws-sdk/middleware-header-default":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-data-pipeline-browser_0.1.0-preview.2_1568050800913_0.7332255354055779","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-data-pipeline-browser","version":"0.1.0-preview.3","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-data-pipeline-browser@0.1.0-preview.3","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"710f8f05dd51ab40e71fb2f3a5f7573c316c4f83","tarball":"https://registry.npmjs.org/@aws-sdk/client-data-pipeline-browser/-/client-data-pipeline-browser-0.1.0-preview.3.tgz","fileCount":590,"integrity":"sha512-9hhIseKCZt+MEaEsrgXv4VPSaoNHntHT2aJP+SRLxJRuJJlpMuO80nZmbSckpQJN2jwo7QSvxOgjWy0rDgo2Vg==","signatures":[{"sig":"MEQCIBuH/G6J3+cZ4SH31L8BvTRJOiVJVEJyKxp1V0xFpiKZAiAjAzku4SfQrW0ahfpo/8pgogvlbIcpqUGp5vyFjXJFgQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6ODCRA9TVsSAnZWagAAUEYQAIufKEl3ISpU9PhGSpZs\nNPnXTxAfrmNJpI6xVQk5l9659Jy2PBFa9OSTPu7BrkvkhAJ3VmNs9ZYAJe1r\nqeBZrz5lCsxtjc8O9Jkt8VgQ4NsuqnJQd0nIDqS5gGcC3iiTESu17znaDeH0\nmFpWJP6YeijPnNITyaStWCKGgtcfLrxkXwYfSCaOG7lwnlYduygBGm9awKWi\n9ek4eViDp+AqihfnIP3+ql7oW/2I5xKd7fqp+ZaBGi38Se9KP29HHtN3pV52\nSNqCRoOyXHJkEYX/v/Vuns7dzAs4bonQvkrq+l6VAFKsuaycgv/dbKbPcRi+\nynnDr4KoOm1vFSTpnXW56u50Yac3s714pBJVZa2pGvQYflkfYwAe9am9kEIR\nuzNmczGCuYvTNXpMHBDDoM58DBFnzmLmUDq1KPYHJPQdaQJoPEHfJSqyt68r\n3TV5MeEUkPv6ELcptbrLXay47uCC5HPh93giS6G8UPuChRZe5T22FAt8SbhR\ntpZzmZBVJbwGD/d8Aa3vukPRJhrLIvPAG2+jBQKx+Y5nnSBv3TO86tF6eiTH\nDvosDPSVDZYzFL770bwO/F70TLMLSvHkcSqFeXjHLExBJWeXwgfLxgF0wJaI\nIAQ7QlBaQFBMTKLa0KvfomzBsDwIqfVSay2X2aMpIJC5su4NB1/XJPHMKEvH\nlOSb\r\n=TxeM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-data-pipeline-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-data-pipeline-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-data-pipeline-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-data-pipeline-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-data-pipeline-browser)\n\n## Description\n\n<p>AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline handles the details of scheduling and ensuring that data dependencies are met so that your application can focus on processing the data.</p> <p>AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner. AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide custom data management.</p> <p>AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline and define data sources, schedules, dependencies, and the transforms to be performed on the data. Use the second set in your task runner application to receive the next task ready for processing. The logic for performing the task, such as querying the data, running data analysis, or converting the data from one format to another, is contained within the task runner. The task runner performs the task assigned to it by the web service, reporting progress to the web service as it does so. When the task is done, the task runner reports the final success or failure of the task to the web service.</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-data-pipeline-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(`DataPipelineClient`) and the commands you need, for example `ActivatePipelineCommand`:\n\n```javascript\n//JavaScript\nconst {\n  DataPipelineClient\n} = require(\"@aws-sdk/client-data-pipeline-browser/DataPipelineClient\");\nconst {\n  ActivatePipelineCommand\n} = require(\"@aws-sdk/client-data-pipeline-browser/commands/ActivatePipelineCommand\");\n```\n\n```javascript\n//TypeScript\nimport { DataPipelineClient } from \"@aws-sdk/client-data-pipeline-browser/DataPipelineClient\";\nimport { ActivatePipelineCommand } from \"@aws-sdk/client-data-pipeline-browser/commands/ActivatePipelineCommand\";\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 dataPipeline = new DataPipelineClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  pipelineId: /**a string value*/,\n};\nconst activatePipelineCommand = new ActivatePipelineCommand(params);\ndataPipeline.send(activatePipelineCommand).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 dataPipeline.send(activatePipelineCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\ndataPipeline.send(activatePipelineCommand, (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-data-pipeline-browser/DataPipeline\";\nconst dataPipeline = new AWS.DataPipeline({ region: \"region\" });\ndataPipeline.activatePipeline(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 dataPipeline.send(activatePipelineCommand);\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-data-pipeline-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-data-pipeline-browser has been renamed to @aws-sdk/client-data-pipeline. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Data Pipeline","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/json-parser":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/json-builder":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.7","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.6","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.5","@aws-sdk/signing-middleware":"^0.1.0-preview.7","@aws-sdk/url-parser-browser":"^0.1.0-preview.5","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.6","@aws-sdk/stream-collector-browser":"^0.1.0-preview.5","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.5","@aws-sdk/middleware-header-default":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-data-pipeline-browser_0.1.0-preview.3_1568908162753_0.468299766732732","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-data-pipeline-browser","version":"0.1.0-preview.4","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-data-pipeline-browser@0.1.0-preview.4","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"24929faac5e3dc4c45af65fc67bc6e15041d3390","tarball":"https://registry.npmjs.org/@aws-sdk/client-data-pipeline-browser/-/client-data-pipeline-browser-0.1.0-preview.4.tgz","fileCount":590,"integrity":"sha512-kQu2WgEesNnpSIHp59B8SSMHeaIRKM6cCRfq0z6B9BbvrIfVDJmjse9LM1ro46EBNebe2N/6Xa91Dm0UMRWEmw==","signatures":[{"sig":"MEUCIHVDpo4rcwMhZKfSQ9N94PGZ/g3G0fZyXTWLlOwpbWoDAiEAs+ikYMnmDxEdUtWtknG0v5uQvBmSu0zrY4Ek3TCKeV4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduM6KCRA9TVsSAnZWagAAi1AP/RF96T38BfE23pJ4Nwea\nfUl2FocP7HVnhR/9IQneLJqRZBDCHv5qHJ7vUtjIVtEwNQ1xm9OU+cFdsMxC\nne5rdvcmXh3Ria2cr5P6Cx8tX+pCcz0+AMFal4zSXc4hIg4PLczTWLILV6t5\nYjkZ3sOpuICnvoq4q3uFybqGgNCn9DMGulO6Qw+pbqJkRt5Fm/UjJrypaPO8\n8kpHBlcYaPuHBxVBushCu3TMVENay/dVyq2knhY+FY30SuQp1x0k4dCXjJ2J\neAF+pWZUjzbJVNpEstP+01XBsuJyFUJAsu7fqrQ2NU0HAiKHAIlpBwl+vRKF\n9fpIrmqv9KYF5AZfGehVkwwmeMLm5lqbh1aeAtHFuchuSARXag3o+DBg4RZX\nl+OtfXftyb2Ln5VLc7GgBVpZeW0asMFlC8PHTn9z7Nvc+6s2DYpNj5M8VGCW\nSlMF0DToGHUXEPswhMIz04LN+9WbFBZkkrzQST7cjV4Ej3VVmw+dkniSWmAw\niefXcATz4wAgDQ9qhJmK+Jl4ne1lyUeOSa9o3KK6cCBi967TYRX5A2jRKg25\npl4+fIIWZTri9JapvCzH23VvSjvcmxRx3R4POsx3kTLV1rdVyplEmwDzqJ+1\ne67zeu2qloRR45PPyKZbC8G3tch33gp4J4i60RNosTEgwiWYlrQ4pbCaCqQ/\nKckF\r\n=+jfS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-data-pipeline-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-data-pipeline-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-data-pipeline-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-data-pipeline-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-data-pipeline-browser)\n\n## Description\n\n<p>AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline handles the details of scheduling and ensuring that data dependencies are met so that your application can focus on processing the data.</p> <p>AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner. AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide custom data management.</p> <p>AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline and define data sources, schedules, dependencies, and the transforms to be performed on the data. Use the second set in your task runner application to receive the next task ready for processing. The logic for performing the task, such as querying the data, running data analysis, or converting the data from one format to another, is contained within the task runner. The task runner performs the task assigned to it by the web service, reporting progress to the web service as it does so. When the task is done, the task runner reports the final success or failure of the task to the web service.</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-data-pipeline-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(`DataPipelineClient`) and the commands you need, for example `ActivatePipelineCommand`:\n\n```javascript\n//JavaScript\nconst {\n  DataPipelineClient,\n  ActivatePipelineCommand\n} = require(\"@aws-sdk/client-data-pipeline-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  DataPipelineClient,\n  ActivatePipelineCommand\n} from \"@aws-sdk/client-data-pipeline-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 dataPipeline = new DataPipelineClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  pipelineId: /**a string value*/,\n};\nconst activatePipelineCommand = new ActivatePipelineCommand(params);\ndataPipeline.send(activatePipelineCommand).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 dataPipeline.send(activatePipelineCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\ndataPipeline.send(activatePipelineCommand, (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-data-pipeline-browser\";\nconst dataPipeline = new AWS.DataPipeline({ region: \"region\" });\ndataPipeline.activatePipeline(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 dataPipeline.send(activatePipelineCommand);\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-data-pipeline-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-data-pipeline-browser has been renamed to @aws-sdk/client-data-pipeline. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Data Pipeline","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.6","@aws-sdk/json-parser":"^0.1.0-preview.6","@aws-sdk/core-handler":"^0.1.0-preview.6","@aws-sdk/json-builder":"^0.1.0-preview.6","@aws-sdk/signature-v4":"^0.1.0-preview.8","@aws-sdk/config-resolver":"^0.1.0-preview.6","@aws-sdk/middleware-stack":"^0.1.0-preview.7","@aws-sdk/retry-middleware":"^0.1.0-preview.6","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.7","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.8","@aws-sdk/url-parser-browser":"^0.1.0-preview.6","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.6","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.7","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.7","@aws-sdk/stream-collector-browser":"^0.1.0-preview.6","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.6","@aws-sdk/middleware-header-default":"^0.1.0-preview.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-data-pipeline-browser_0.1.0-preview.4_1572392586069_0.13844291959327792","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-data-pipeline-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-data-pipeline-browser@0.1.0-preview.5","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"c958bc8633c3d40afb3a347f8f1a86ad375eea01","tarball":"https://registry.npmjs.org/@aws-sdk/client-data-pipeline-browser/-/client-data-pipeline-browser-0.1.0-preview.5.tgz","fileCount":590,"integrity":"sha512-AUJTYUlVieawQDolI/47KeRs9fPnfQ2W3tplbH4ZeblJwCJJ8syHs5PX795XroQX6VMjHEloMLCON9J2pKqbRA==","signatures":[{"sig":"MEYCIQCLvtDAb2mmoKItENqQlsa2mLxKiwidbgRbBSNK38QuLgIhANSBNUu2iuU49YNdf1LDICczwqviM1+R3QJyF2Xh5Kck","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueFyCRA9TVsSAnZWagAAtywQAJproEHzJpeHZxxuwtyz\nsAYR62eeSmt8Pq/7GuNbZyAK4gbrqbsojoiE1MO86vtYWlpYVkOOCbXQAyDV\nZGPmVlpDYuXZhIeUfRgh6dv7jx2y+NKlkY5HO0eeFjnnMU65MmL2EzKxkVZo\nje2xhTVZXDpYzr5t2n0xa7dy8cNK/b6xgcXVuohJSGVOtKPRiNp4Gmwn0uSP\nZ3sowdo5ynwNhlcJowUz96hsu5Feffsakjxtg6MlX1idZMJ4IPLqG3SuYhof\nYDF4pwDk+G1IZ9McWl6Mr7uFvTLqScD84cKrcmzRjOa05o5AzDnDKenfmT3Q\nOBWA5EDov9nb+vQaxwVsViVIE+tT8895issTZ/G8TFzET2ayEnusMWVukKLQ\nR2SKbNNqtm+CC+4brzdwaEC/C5O2m/HqCF686m+WhMiMjMX2DJvO6yaLb7Ar\noIKjRngN1IPdvlbkO8zFp1gMJqSM0zDxJRb77S+qYn/qDFlnkMzW0eDdUgvw\nwRs2NSvVMGfhejViCLimT65nVnunGmNPvU/S/DL5lXXmn9UDN/5fyHhhYY9C\nJfOCI5CcqS8PEWtCIDO1pwOmktVI0y3tbGK5ijvCBnqdIMUlden5SaQqntQY\nEXYAjhzPayT9BSkfh2uSLoVuFf246kyaSSp9j2aB0JIKl195aCcFWm6vlmfe\n3KbT\r\n=Y3gz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-data-pipeline-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-data-pipeline-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-data-pipeline-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-data-pipeline-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-data-pipeline-browser)\n\n## Description\n\n<p>AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline handles the details of scheduling and ensuring that data dependencies are met so that your application can focus on processing the data.</p> <p>AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner. AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide custom data management.</p> <p>AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline and define data sources, schedules, dependencies, and the transforms to be performed on the data. Use the second set in your task runner application to receive the next task ready for processing. The logic for performing the task, such as querying the data, running data analysis, or converting the data from one format to another, is contained within the task runner. The task runner performs the task assigned to it by the web service, reporting progress to the web service as it does so. When the task is done, the task runner reports the final success or failure of the task to the web service.</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-data-pipeline-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(`DataPipelineClient`) and the commands you need, for example `ActivatePipelineCommand`:\n\n```javascript\n//JavaScript\nconst {\n  DataPipelineClient,\n  ActivatePipelineCommand\n} = require(\"@aws-sdk/client-data-pipeline-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  DataPipelineClient,\n  ActivatePipelineCommand\n} from \"@aws-sdk/client-data-pipeline-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 dataPipeline = new DataPipelineClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  pipelineId: /**a string value*/,\n};\nconst activatePipelineCommand = new ActivatePipelineCommand(params);\ndataPipeline.send(activatePipelineCommand).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 dataPipeline.send(activatePipelineCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\ndataPipeline.send(activatePipelineCommand, (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-data-pipeline-browser\";\nconst dataPipeline = new AWS.DataPipeline({ region: \"region\" });\ndataPipeline.activatePipeline(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 dataPipeline.send(activatePipelineCommand);\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-data-pipeline-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-data-pipeline-browser has been renamed to @aws-sdk/client-data-pipeline. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Data Pipeline","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/json-parser":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/json-builder":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.9","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/middleware-stack":"^0.1.0-preview.8","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.8","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.7","@aws-sdk/signing-middleware":"^0.1.0-preview.9","@aws-sdk/url-parser-browser":"^0.1.0-preview.7","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.8","@aws-sdk/stream-collector-browser":"^0.1.0-preview.7","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.7","@aws-sdk/middleware-header-default":"^0.1.0-preview.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-data-pipeline-browser_0.1.0-preview.5_1572462961710_0.749802830504656","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-data-pipeline-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-data-pipeline-browser@0.1.0-preview.6","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"5324bb8666b4c92a9d602174a8d958629b5a6766","tarball":"https://registry.npmjs.org/@aws-sdk/client-data-pipeline-browser/-/client-data-pipeline-browser-0.1.0-preview.6.tgz","fileCount":590,"integrity":"sha512-GokfshpW1t6bdJB4B6T+l2rrDtlHxe+kCM2wCTmmDYI2NMMl84bjyL0EDA6xumdgST7jzVGsDtnSxxg/5dKdpg==","signatures":[{"sig":"MEYCIQC0Yowa0psZ5TA6f7psE1/e7zxeX2bKDqNpNEMQe/fADQIhAJRsD1hOca4YKnnBK0KH+WTLbDmJQTYMmvn6LLB2K714","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FMvCRA9TVsSAnZWagAAzXcP/RjfFj+qf6FQvogOalHQ\nZlcmyZi5I7L0mmJ3w+s1KZUgrUcsQ/7mfqSz+lS0v6wMg1vbfoCoAVkIH3Bw\neEak6sqT9QWkYJc3N2h2bL4o2RgzLP3RppzbS5/vMfF/pqm1ps4Kz9wI4FV+\nhv6AF97F/FROAO2xCT4QmMHDXkHtQICi/cKcG4r5Q+BQe1fYsj2LqlQHZ7T/\n3tc+QpjV4QxXzBz3kPZFSSAPnfQ/nrVJ+XOIqvdL08QeorIUa0yA0pExeURQ\nTpz8ZX9mQ6Zm4+77eRQAdZ59jLP9iUyYqaSTKu5pAgoVFv1hpQqxjG5RKitW\nP2ftud1wW+Dk3oj+oDgArl0BL+muE4WJJq7dGTEk+ZGW8M1tLYmG33b7Zz1G\n4Gf0zBhGNkWc+tbbx62dAw0D027TH9l29RSSJ5HYet1sQ4td0I51yKWAE+9O\nMm4rPRUJ8DzUmKqiPODlUyXYr8FWryPPwAq4uKLYPiM9rKf4ceg5MX8Fp2mt\n+ijb6iRODnCxLf4hN1At+ElEjJLdp0ZPezAxSYmcGAQ0zXoB9L+vNwmBNDwr\nSA1EyIO9k14Ggk+lNtJ02xy2JfiGOFNrYQexVyafMMm9SsWLBtY8CS2EMRNg\n5J3Uwz51BKwGztcnx7ZcBuHhoq6IoMpIj8t4+Oe3OC4Yj0i/cjMJX7/IuE15\nBt1N\r\n=uemm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-data-pipeline-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-data-pipeline-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-data-pipeline-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-data-pipeline-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-data-pipeline-browser)\n\n## Description\n\n<p>AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline handles the details of scheduling and ensuring that data dependencies are met so that your application can focus on processing the data.</p> <p>AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner. AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide custom data management.</p> <p>AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline and define data sources, schedules, dependencies, and the transforms to be performed on the data. Use the second set in your task runner application to receive the next task ready for processing. The logic for performing the task, such as querying the data, running data analysis, or converting the data from one format to another, is contained within the task runner. The task runner performs the task assigned to it by the web service, reporting progress to the web service as it does so. When the task is done, the task runner reports the final success or failure of the task to the web service.</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-data-pipeline-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(`DataPipelineClient`) and the commands you need, for example `ActivatePipelineCommand`:\n\n```javascript\n//JavaScript\nconst {\n  DataPipelineClient,\n  ActivatePipelineCommand\n} = require(\"@aws-sdk/client-data-pipeline-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  DataPipelineClient,\n  ActivatePipelineCommand\n} from \"@aws-sdk/client-data-pipeline-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 dataPipeline = new DataPipelineClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  pipelineId: /**a string value*/,\n};\nconst activatePipelineCommand = new ActivatePipelineCommand(params);\ndataPipeline.send(activatePipelineCommand).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 dataPipeline.send(activatePipelineCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\ndataPipeline.send(activatePipelineCommand, (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-data-pipeline-browser\";\nconst dataPipeline = new AWS.DataPipeline({ region: \"region\" });\ndataPipeline.activatePipeline(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 dataPipeline.send(activatePipelineCommand);\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-data-pipeline-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-data-pipeline-browser has been renamed to @aws-sdk/client-data-pipeline. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Data Pipeline","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/json-parser":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/json-builder":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.10","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/middleware-stack":"^0.1.0-preview.9","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-crypto/sha256-browser":"^0.1.0-preview.1","@aws-sdk/protocol-json-rpc":"^0.1.0-preview.8","@aws-sdk/util-utf8-browser":"^0.1.0-preview.3","@aws-sdk/fetch-http-handler":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.10","@aws-sdk/url-parser-browser":"^0.1.0-preview.7","@aws-sdk/util-base64-browser":"^0.1.0-preview.3","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/util-user-agent-browser":"^0.1.0-preview.9","@aws-sdk/stream-collector-browser":"^0.1.0-preview.7","@aws-sdk/util-body-length-browser":"^0.1.0-preview.3","@aws-sdk/middleware-content-length":"^0.1.0-preview.7","@aws-sdk/middleware-header-default":"^0.1.0-preview.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-data-pipeline-browser_0.1.0-preview.6_1574196015414_0.6071692326143239","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T17:40:00.731Z","modified":"2025-03-27T18:37:42.510Z","0.1.0-preview.2":"2019-09-09T17:40:01.153Z","0.1.0-preview.3":"2019-09-19T15:49:22.905Z","0.1.0-preview.4":"2019-10-29T23:43:06.178Z","0.1.0-preview.5":"2019-10-30T19:16:01.919Z","0.1.0-preview.6":"2019-11-19T20:40:15.613Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for AWS Data Pipeline","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}