{"_id":"@aws-sdk/client-mediatailor-node","_rev":"18-d8090f6ef26376b6958acd59c57a6eb0","name":"@aws-sdk/client-mediatailor-node","dist-tags":{"latest":"0.1.0-preview.2","preview":"0.1.0-preview.6"},"versions":{"0.1.0-preview.2":{"name":"@aws-sdk/client-mediatailor-node","version":"0.1.0-preview.2","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-mediatailor-node@0.1.0-preview.2","maintainers":[{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"dist":{"shasum":"3fe72a7762d376fdb77d108293f1f25ad1e034ba","tarball":"https://registry.npmjs.org/@aws-sdk/client-mediatailor-node/-/client-mediatailor-node-0.1.0-preview.2.tgz","fileCount":218,"integrity":"sha512-zrXW+A7eYy0s0hs7iIC3s1cSZphrBXGuBwx0ZQGJoG/TIKk/AexyJOBF21fz4F/sFIf4mKxZ6eNF/k1MWM7A5A==","signatures":[{"sig":"MEQCIBKyeYG4nM7zDG9Kv7VLk23L98QiSSL3Vk0EMnKhdb42AiA2byA9/rUV0zNVHHN1twKGtRlXuZTEMuEjjztnnuMIfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":154652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpH0CRA9TVsSAnZWagAASTgQAItpYkAWbq4NvPiUGAVK\nRJd2qomM3PZMnA6ARu4h8trveQNkaNOA/qzDXBP49bfjVbwNFYQA6grfeMLQ\nyand7jY2oAwwkMdRcJzqxXiRBDuXXSPlcm1Sadoe6l0NjSXZez5kWjzFtor9\nNRejTVJ3iwQTloOTEWKp+FI4h+8OcI6k8h5zOfXd+PLusCstkjVsIH3BDzDh\nH46t/mBxQqF2o3DeD9QXeMEY303WmA50wx6Xa5sJKOT6eZmBZzVwaYo2uVrt\nsKlTb+rC+A+u18SSzUw0JBV2gUBDRvwtrSfK7dcZ8/KoWkFV2URRsC7zAr89\n+WHtG707/FB/6/pOzkGqXgKuwnzxYYuXRxESqm8+MfYmOvaS5NOB9mrVsm26\ngHhnafJXBIp+xe/VFTz57yjaa9dp/jw11JDpmDmvM/f6kW/HnCncYTgro8fN\nNiUB0MBCmC022AsVsmbbRGpaAT/U3LBv8MOAVPZ4ZJNyCHnO19bRXOYxjC1q\nrk3/73P1ulAw2q/juiQPigaXu3D9mqbkt+Xl9IN4F3JcYYEL2YDwutnBkW1A\nmo4hIGvkkEdv0QnUbKlvbK60DThfwcpUhfjpIsjsc0iLpc5DO6biVLFVPlQE\n1GxG9Ns8cMOIPMM0p8pCMOLoP4NCqXqZB+/HPXoDzt61sMfP+cephlFfsLkn\n5fMU\r\n=ec5L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-mediatailor-node has been renamed to @aws-sdk/client-mediatailor. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWS MediaTailor","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/hash-node":"^0.1.0-preview.5","@aws-sdk/json-parser":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/json-builder":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.6","@aws-sdk/protocol-rest":"^0.1.0-preview.7","@aws-sdk/util-utf8-node":"^0.1.0-preview.3","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/region-provider":"^0.1.0-preview.5","@aws-sdk/url-parser-node":"^0.1.0-preview.5","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-sdk/util-base64-node":"^0.1.0-preview.3","@aws-sdk/node-http-handler":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.6","@aws-sdk/util-user-agent-node":"^0.1.0-preview.6","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/stream-collector-node":"^0.1.0-preview.5","@aws-sdk/util-body-length-node":"^0.1.0-preview.4","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/credential-provider-node":"^0.1.0-preview.6","@aws-sdk/middleware-content-length":"^0.1.0-preview.5","@aws-sdk/middleware-header-default":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-mediatailor-node_0.1.0-preview.2_1568051699410_0.5951807846079507","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-mediatailor-node","version":"0.1.0-preview.3","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-mediatailor-node@0.1.0-preview.3","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"499eebb68c0c7e84c17dadcf0f3b88ded0681700","tarball":"https://registry.npmjs.org/@aws-sdk/client-mediatailor-node/-/client-mediatailor-node-0.1.0-preview.3.tgz","fileCount":218,"integrity":"sha512-2gfy/iS94qg8U3U7xGDmplRV15sWvToA4Fh+A94zIBlzrgkYaKUDpHVHouOUGt7W1lCgJkdBoEcKfeuCJYnCtw==","signatures":[{"sig":"MEYCIQD/8gmt1HnpoOcwEXD+0pMoOHf7RukzRwmq5LRRz1+LuAIhAPU/ooG19cJjeZ9alyhvuyDfgIvQpBVh9ujKfpxIAHhk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":152562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6gkCRA9TVsSAnZWagAAWicP/0QIPiZOESUgv4VONk91\ngQSIjYXlj35zcChBYK07i7EtRH3C0MZy3j9gPwop9Z0eAYB0W4ltw32lc6FX\nUGwg8MzGC1Crp8fq+xcLCnm376L+yTFvEgVX/DJDPR8tIqRcnzJ/Nofq4ml2\nQop96pEhFfJywjAlHiWN1SpkGji7hPiHFgkGMUOod+wD0QoNfHQkQ3IcjZDS\nYQNwrSDzpPb2+Za6VCCjlEwXRGReDoQ9u8eWYlrhK00fetFKFYZZLQsQG1wI\ny3fqsEmat+8p9VqnUsZz8AZkySE4I5VcLuiSwWyIOaMbu6gz5Av7xukNjY6R\n/MMVSWhuyJoxyya/BUpw1t3Jl5ah+rcnWKYKXdFNiaaDKYi8yD9sRryrqeya\n6LD1GcK2gZsuZ7I39J+ST6a0HPprl16lBSuvyh+SUD3JeVg12zFhc9cuI6Ae\nHCuaWLBaywbxmY/Rjb7GkQOr55gFgQTgYsmos9BzrRk5e9Dsjg8b8ZnDZwVB\nlLA0nju1Qvh81rWu2fFPzcn52PACVUFE65qUE0TCESUpQL/iAu12frAx/xE6\nQ2y7w+X+ZFYYKxRWohuaEP/EkwWta3v7uVhHjASard8YQn2WEmGgkpc+fCGN\naT7ZW40v5zUM2976lSWDqyz1UuTyOhgCWcRgc2fMvVhrtI3SeAOXUo1V/ktC\nNyqB\r\n=Qc1h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-mediatailor-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-mediatailor-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-mediatailor-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-mediatailor-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-mediatailor-node)\n\n## Description\n\n<p>Use the AWS Elemental MediaTailor SDK to configure scalable ad insertion for your live and VOD content. With AWS Elemental MediaTailor, you can serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.<p>Through the SDK, you manage AWS Elemental MediaTailor configurations the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</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-mediatailor-node\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`MediaTailorClient`) and the commands you need, for example `DeletePlaybackConfigurationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  MediaTailorClient\n} = require(\"@aws-sdk/client-mediatailor-node/MediaTailorClient\");\nconst {\n  DeletePlaybackConfigurationCommand\n} = require(\"@aws-sdk/client-mediatailor-node/commands/DeletePlaybackConfigurationCommand\");\n```\n\n```javascript\n//TypeScript\nimport { MediaTailorClient } from \"@aws-sdk/client-mediatailor-node/MediaTailorClient\";\nimport { DeletePlaybackConfigurationCommand } from \"@aws-sdk/client-mediatailor-node/commands/DeletePlaybackConfigurationCommand\";\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 mediaTailor = new MediaTailorClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst deletePlaybackConfigurationCommand = new DeletePlaybackConfigurationCommand(params);\nmediaTailor.send(deletePlaybackConfigurationCommand).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 mediaTailor.send(deletePlaybackConfigurationCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nmediaTailor.send(deletePlaybackConfigurationCommand, (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-mediatailor-node/MediaTailor\";\nconst mediaTailor = new AWS.MediaTailor({ region: \"region\" });\nmediaTailor.deletePlaybackConfiguration(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 mediaTailor.send(deletePlaybackConfigurationCommand);\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-mediatailor-node' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-mediatailor-node has been renamed to @aws-sdk/client-mediatailor. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWS MediaTailor","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/hash-node":"^0.1.0-preview.6","@aws-sdk/json-parser":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/json-builder":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.7","@aws-sdk/protocol-rest":"^0.1.0-preview.7","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/region-provider":"^0.1.0-preview.5","@aws-sdk/url-parser-node":"^0.1.0-preview.6","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.7","@aws-sdk/util-user-agent-node":"^0.1.0-preview.7","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/stream-collector-node":"^0.1.0-preview.6","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/credential-provider-node":"^0.1.0-preview.7","@aws-sdk/middleware-content-length":"^0.1.0-preview.5","@aws-sdk/middleware-header-default":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-mediatailor-node_0.1.0-preview.3_1568909347711_0.7119062162751344","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-mediatailor-node","version":"0.1.0-preview.4","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-mediatailor-node@0.1.0-preview.4","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"a77f7d619492e8a785258670a1fdcbe2d84f41be","tarball":"https://registry.npmjs.org/@aws-sdk/client-mediatailor-node/-/client-mediatailor-node-0.1.0-preview.4.tgz","fileCount":218,"integrity":"sha512-wx9fp8STVuzF7L0dw/SWhIngaWdy+b893a6apPzqtMNE/gmpXVsimXlt5ZusGCQITbvkiNdwnFTaT7saXxlFMA==","signatures":[{"sig":"MEYCIQDRT1M0GQSuiTjEVOE719HrqafOhebIhq57UWewxJEiKgIhAMghXGrMqO/XaIhnUfk1vAwZKnI9ATQW9rar1gOSHnLk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":152558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNGACRA9TVsSAnZWagAABfoP/AgeR0jfIuZo/8C1eNwv\nP1nrMErcHlprhTfuL9TllhxtCh4mk3Gne5syZYuau9ycGDHg/M1jRxy2hT1D\n2GbrvHN18xkIqxEY2i4yUEbwJGjsNdIqbeyrMVBVSynu1r4SMymG1iWYGosN\nJeGw/AwByqJ/8lbj/3x3O4Zbrs7LnsrGpfrJtYkWiNUBZCDe7ux3V/5D83Gc\nrXTX0xXdZ1xJ5KOCS30+s6DAQgrj2Mt+Ul3+oSvXh9dEo5nalGVADgCYupuQ\nwsjJexeaMr3mjKirOETogmWAy5HzXSKbthr79y1WXpt2p7ItmUztrXdlYeeQ\ntFBQrtbHff5x2QJ1SZmrBPqIIKSk9mwdbGqB+E6OO1I3hfFsoHHpPZhyc+gm\nxOw5mh6x45RRNMf9Gmj1ErG30JeNnWe9Hq9ac7Hph0Th9CTOoY063x+GNiNW\nboZwDG4U8/0BxXlZKNSzvjgG1jIejjCSjEf89AAUfJPWg7FAbngcXHrrb/Df\nuOe4vlBEpArpehxs4Pk+1IwUM5vZZwQumQK89tmldcu8RevcbFyLp/mp/j7B\nCW9q6J4qdumlNvtX2GTpJNRVr7afhGgRQdX0CiV+H2Rhpf6hk+yUeoe1I1wx\nmvyWWV/h/+Z/D/AStXtSV8anK+/ESbA7pF1IpskNCoLmFrUTKdy0QzzODIA1\nEaia\r\n=DYbj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-mediatailor-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-mediatailor-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-mediatailor-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-mediatailor-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-mediatailor-node)\n\n## Description\n\n<p>Use the AWS Elemental MediaTailor SDK to configure scalable ad insertion for your live and VOD content. With AWS Elemental MediaTailor, you can serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.<p>Through the SDK, you manage AWS Elemental MediaTailor configurations the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</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-mediatailor-node\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`MediaTailorClient`) and the commands you need, for example `DeletePlaybackConfigurationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  MediaTailorClient,\n  DeletePlaybackConfigurationCommand\n} = require(\"@aws-sdk/client-mediatailor-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  MediaTailorClient,\n  DeletePlaybackConfigurationCommand\n} from \"@aws-sdk/client-mediatailor-node\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst mediaTailor = new MediaTailorClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst deletePlaybackConfigurationCommand = new DeletePlaybackConfigurationCommand(params);\nmediaTailor.send(deletePlaybackConfigurationCommand).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 mediaTailor.send(deletePlaybackConfigurationCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nmediaTailor.send(deletePlaybackConfigurationCommand, (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-mediatailor-node\";\nconst mediaTailor = new AWS.MediaTailor({ region: \"region\" });\nmediaTailor.deletePlaybackConfiguration(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 mediaTailor.send(deletePlaybackConfigurationCommand);\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-mediatailor-node' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-mediatailor-node has been renamed to @aws-sdk/client-mediatailor. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWS MediaTailor","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.6","@aws-sdk/hash-node":"^0.1.0-preview.7","@aws-sdk/json-parser":"^0.1.0-preview.6","@aws-sdk/core-handler":"^0.1.0-preview.6","@aws-sdk/json-builder":"^0.1.0-preview.6","@aws-sdk/signature-v4":"^0.1.0-preview.8","@aws-sdk/protocol-rest":"^0.1.0-preview.8","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.6","@aws-sdk/region-provider":"^0.1.0-preview.6","@aws-sdk/url-parser-node":"^0.1.0-preview.7","@aws-sdk/middleware-stack":"^0.1.0-preview.7","@aws-sdk/retry-middleware":"^0.1.0-preview.6","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.7","@aws-sdk/signing-middleware":"^0.1.0-preview.8","@aws-sdk/util-user-agent-node":"^0.1.0-preview.8","@aws-sdk/middleware-serializer":"^0.1.0-preview.6","@aws-sdk/stream-collector-node":"^0.1.0-preview.7","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.7","@aws-sdk/credential-provider-node":"^0.1.0-preview.8","@aws-sdk/middleware-content-length":"^0.1.0-preview.6","@aws-sdk/middleware-header-default":"^0.1.0-preview.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-mediatailor-node_0.1.0-preview.4_1572393343625_0.9835484282271834","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-mediatailor-node","version":"0.1.0-preview.5","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-mediatailor-node@0.1.0-preview.5","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"534f8aa0c45c578e929948f093209e53965aef44","tarball":"https://registry.npmjs.org/@aws-sdk/client-mediatailor-node/-/client-mediatailor-node-0.1.0-preview.5.tgz","fileCount":218,"integrity":"sha512-3PpuMpmb9n7P+YSEKTXhamIEuBUNXWGgwhxr0drHbQTMZPIgET4jPaUTN1AsfVprtw9+gj71vHw4J53VM5m5tg==","signatures":[{"sig":"MEYCIQDxDbAS/9XCAsMyKJbXAV/q5QfSlKxQx116eJRqKcCB2QIhAMAGPnc19fqN7tK+6pktZNG12D3QMpBR2aztSVMFWODv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":152802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueTsCRA9TVsSAnZWagAAtPwP/1lBdskJN+tneEWjXtuh\nQ9y7IQWmOgkOOVFoova8xk2Od2VRV7nEKeON+/dDxKQExt9Dvah5Lk+8o039\nzy17E2kOWvNpDi3Qz/FxsrFVcxp2JXvCImNog4qFW58tzCSRqC3Ea5tUoF8/\nWfTsPM3KyhhNaOMlBLDJ0jehLseD0Hu81P7Y31g+LDMAwiT250SG74oHOK5H\nljgx9jDK9xtaXCEk7LW9sMkeWHSDLU7T80AuEtZ/bpflBC5x9uJSmey+YO6J\nI0TKNCIEMkb3DiB5qkeWtjZn6m32sGAPRdKp7DuaUaIheoinGCOvkPIBNWMO\nwBfwM34yBswNGDZcRx42bdzz5Apdfrkfwtk1ynOGSM0fKcaQcNmFgiAgzVAM\nzRhncySlJok/svkdFs7q9N+pNonn1xVh8dfL+saEmu4vMs+XS7ccrVHspWLL\nkwoCtvQPMQrV+uHtverrXKHKvmRQic9sdfc12ggC4PKAmz1w4oRv2FBel2aT\nhbf7REfBUPExwY3yPhlmzGcxyJgX5wBsgbN5liKnxc6ncQLGuEF3amHRFBOJ\nAPvz6jVhYj+ryXEh5l4GwlfBeOLKFBPZrvnkM8i7wzw0vzpLLGKmZmTZbNyv\nwoTC1yLpkkFw4bZ2CB52vdD1+D8vDeGEkQSb7i8I1aYluLAdbuY+kDtM+WGb\nDtfO\r\n=D9CK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-mediatailor-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-mediatailor-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-mediatailor-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-mediatailor-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-mediatailor-node)\n\n## Description\n\n<p>Use the AWS Elemental MediaTailor SDK to configure scalable ad insertion for your live and VOD content. With AWS Elemental MediaTailor, you can serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.<p>Through the SDK, you manage AWS Elemental MediaTailor configurations the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</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-mediatailor-node\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`MediaTailorClient`) and the commands you need, for example `DeletePlaybackConfigurationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  MediaTailorClient,\n  DeletePlaybackConfigurationCommand\n} = require(\"@aws-sdk/client-mediatailor-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  MediaTailorClient,\n  DeletePlaybackConfigurationCommand\n} from \"@aws-sdk/client-mediatailor-node\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst mediaTailor = new MediaTailorClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst deletePlaybackConfigurationCommand = new DeletePlaybackConfigurationCommand(params);\nmediaTailor.send(deletePlaybackConfigurationCommand).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 mediaTailor.send(deletePlaybackConfigurationCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nmediaTailor.send(deletePlaybackConfigurationCommand, (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-mediatailor-node\";\nconst mediaTailor = new AWS.MediaTailor({ region: \"region\" });\nmediaTailor.deletePlaybackConfiguration(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 mediaTailor.send(deletePlaybackConfigurationCommand);\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-mediatailor-node' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-mediatailor-node has been renamed to @aws-sdk/client-mediatailor. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWS MediaTailor","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/hash-node":"^0.1.0-preview.8","@aws-sdk/json-parser":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/json-builder":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.9","@aws-sdk/protocol-rest":"^0.1.0-preview.9","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/region-provider":"^0.1.0-preview.7","@aws-sdk/url-parser-node":"^0.1.0-preview.8","@aws-sdk/middleware-stack":"^0.1.0-preview.8","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.9","@aws-sdk/util-user-agent-node":"^0.1.0-preview.9","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/stream-collector-node":"^0.1.0-preview.8","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/credential-provider-node":"^0.1.0-preview.9","@aws-sdk/middleware-content-length":"^0.1.0-preview.7","@aws-sdk/middleware-header-default":"^0.1.0-preview.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-mediatailor-node_0.1.0-preview.5_1572463850271_0.5784416421482867","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-mediatailor-node","version":"0.1.0-preview.6","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/client-mediatailor-node@0.1.0-preview.6","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zheallan@amazon.com"}],"dist":{"shasum":"43ea283da24e9256ddc356685d7069311035d46e","tarball":"https://registry.npmjs.org/@aws-sdk/client-mediatailor-node/-/client-mediatailor-node-0.1.0-preview.6.tgz","fileCount":218,"integrity":"sha512-cIWTliPUQKsJf13PCU5EiEIbGtR/M0jdGJyF2SR74IqNaEUEy0YAE+WxZT8232tCS2bHmpqB0eh/LSCoo6xytA==","signatures":[{"sig":"MEQCIHrYONukc3329TExP+H94mlY9lZplOy543HZtjUoHYWJAiB9/fZ6HxG0Kn/EaiIwijKmay3z3Hg3SXoRUGpfRVIFew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":153075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FSgCRA9TVsSAnZWagAAiZsP/15fWBvwmPgVMiF0Xf2H\nrYzh3NI/ND8AkH0shytLq5M8EmUHdYSoba+2GitkH9q7Gjgj0WSIElWlFRMi\nRasrv/zjYF0zYqa2Xgsmpxu4wxGx7cBp5Fp/NICyvsFojM1P0ON0YnBMePnz\nj6jPrWGu12YSgNhFfnnpN2PoSkKUs2IeVhPMblZ/OYtIQro2eVbqPsGP6L3q\nuwnIpjMUdk9f6R331BPddzVOTS8uYreWTLvdbRw3ykoPz/WWxWtcZywrluMW\ncWeG7LyMLKUVjg2LQYezAm47xqL2IGm0v2E8RBBIitALsaRoThmpBenTG6yb\nUTkjGDE7UJrpZJt5P3SPfgaf2xkrAFq9eMRYzHuXBrefUvZM+goSW0vmeuUp\nbigXgYIx3babU0MNsHaYpHPVFk8ET2IkSHvMgZbCZUblKjwDVTHI6O3FBT+X\nqnv7g8pTpK6bx7R7CPjdWKFNcMf8qcKkz2G16e0S+OyMIDR8gyQoteRhLkxU\nPcc+Q2tCeFsnipSNmsfmK4pwnnsQYDCdq1m+2s/j5qi4cW4kiukDhvgpkpIN\nMR+QegnQUvSEYC2AAocR7VuiIzdaHOR3lpJjAYbQ1eE2fDAKMmaft3/RMiDe\nzF0GV1UFveyy1lPEa5zfnZdFwFY6QtdXemZjEcP5vwmUkC1E68CVqtogBkKe\nuhQG\r\n=PrWT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-mediatailor-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-mediatailor-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-mediatailor-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-mediatailor-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-mediatailor-node)\n\n## Description\n\n<p>Use the AWS Elemental MediaTailor SDK to configure scalable ad insertion for your live and VOD content. With AWS Elemental MediaTailor, you can serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.<p>Through the SDK, you manage AWS Elemental MediaTailor configurations the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</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-mediatailor-node\n```\n\n## Getting Started\n\n### Import\n\nThe AWS SDK is modulized by clients and commands in CommonJS modules. To send a request, you only need to import the client(`MediaTailorClient`) and the commands you need, for example `DeletePlaybackConfigurationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  MediaTailorClient,\n  DeletePlaybackConfigurationCommand\n} = require(\"@aws-sdk/client-mediatailor-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  MediaTailorClient,\n  DeletePlaybackConfigurationCommand\n} from \"@aws-sdk/client-mediatailor-node\";\n```\n\n### Usage\n\nTo send a request, you:\n\n- Initiate client with configuration (e.g. credentials, region). For more information you can refer to the [API reference][].\n- Initiate command with input parameters.\n- Call `send` operation on client with command object as input.\n- If you are using a custom http handler, you may call `destroy()` to close open connections.\n\n```javascript\nconst mediaTailor = new MediaTailorClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n};\nconst deletePlaybackConfigurationCommand = new DeletePlaybackConfigurationCommand(params);\nmediaTailor.send(deletePlaybackConfigurationCommand).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 mediaTailor.send(deletePlaybackConfigurationCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nmediaTailor.send(deletePlaybackConfigurationCommand, (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-mediatailor-node\";\nconst mediaTailor = new AWS.MediaTailor({ region: \"region\" });\nmediaTailor.deletePlaybackConfiguration(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 mediaTailor.send(deletePlaybackConfigurationCommand);\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-mediatailor-node' package is updated. To contribute to SDK you can checkout our [code generator package][].\n\n## License\n\nThis SDK is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE for more information.\n\n[code generator package]: https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-types-generator\n[api reference]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/\n","scripts":{"test":"exit 0","clean":"npm run remove-definitions && npm run remove-maps && npm run remove-js","pretest":"tsc","remove-js":"rimraf *.js && rimraf ./commands/*.js && rimraf ./model/*.js && rimraf ./types/*.js","smoke-test":"npm run pretest && node ./test/smoke/index.spec.js","remove-maps":"rimraf *.js.map && rimraf ./commands/*.js.map && rimraf ./model/*.js.map && rimraf ./types/*.js.map","prepublishOnly":"tsc","remove-definitions":"rimraf *.d.ts && rimraf ./commands/*.d.ts && rimraf ./model/*.d.ts rimraf ./types/*.d.ts","build-documentation":"npm run clean && typedoc ./","remove-documentation":"rimraf ./docs"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/client-mediatailor-node has been renamed to @aws-sdk/client-mediatailor. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWS MediaTailor","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/hash-node":"^0.1.0-preview.8","@aws-sdk/json-parser":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/json-builder":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.10","@aws-sdk/protocol-rest":"^0.1.0-preview.10","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/region-provider":"^0.1.0-preview.7","@aws-sdk/url-parser-node":"^0.1.0-preview.8","@aws-sdk/middleware-stack":"^0.1.0-preview.9","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.10","@aws-sdk/util-user-agent-node":"^0.1.0-preview.10","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/stream-collector-node":"^0.1.0-preview.9","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/credential-provider-node":"^0.1.0-preview.10","@aws-sdk/middleware-content-length":"^0.1.0-preview.7","@aws-sdk/middleware-header-default":"^0.1.0-preview.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-mediatailor-node_0.1.0-preview.6_1574196383925_0.102032716287491","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T17:54:59.195Z","modified":"2025-03-27T18:44:50.220Z","0.1.0-preview.2":"2019-09-09T17:54:59.545Z","0.1.0-preview.3":"2019-09-19T16:09:07.824Z","0.1.0-preview.4":"2019-10-29T23:55:43.742Z","0.1.0-preview.5":"2019-10-30T19:30:50.524Z","0.1.0-preview.6":"2019-11-19T20:46:24.062Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Node SDK for AWS MediaTailor","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}