{"_id":"@aws-sdk/client-waf-browser","_rev":"19-89a20755df893846def79fb2d4260b15","name":"@aws-sdk/client-waf-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-waf-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-waf-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":"8f65034c3ccdd866b1db5c4efffe3122b6d1f35e","tarball":"https://registry.npmjs.org/@aws-sdk/client-waf-browser/-/client-waf-browser-0.1.0-preview.2.tgz","fileCount":2190,"integrity":"sha512-/deuKDwmSADQKZB+dUzgYidgnYasNiO/qNRP1aoCjhhE22/H8XdtTflmCS6cUELCJhk6tTDLjxuva0dv6hXoCA==","signatures":[{"sig":"MEUCICfiihWpScz3eB0WvOPCVXm8GAeHMSBhO+qxEK9+u42pAiEA/ZsIkuP0ZlrYPDa5SMSSC9Affmbuejw+oohsDWj/1iQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1435616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpSWCRA9TVsSAnZWagAAUtUP/09tDsd9Vfe5Pjmxwn9e\nKHnFp8ltdMP60hBO5WQhBRZ0Oz5zUYQQZxbbshD+x9aMohus6bsiyYFLPogP\n4/eOn1/F0EyTZRk+Sct/dg/SWFOyWSPbApXZ65ibXrENuV+qW2v6ECB07P+B\nhsIV6bn9uIBTHgKmQ4hlR/EaxqOK5DBFf1q4OxA8AZZem7vQYHiOLheOd7fD\n38ScJwZ9zKS8o8Ax8/niH7GxE+dvmNFlq4JunCz9D6nE3HGHUiLMZpcasksH\noIdMeOaSM15758uWb+8g7V/3g+SoItKJWs6yirl6xUB5MmfBMkUIBPRz+773\nbwdh9QGO2XZuQVcYxfgBDh5/TdnYEQv2VrUYESzJoaiuKZT3YMDzeFlMo4Ly\ni/cQpUCjktPd45JNbYefj6L9xiEKFx54c0VRHsf1yqG4op11CHe+F4cwpi5R\nyxAIB3SxlRxXFeQRcCO8xWNo2v6vJLk01FIHpiJDU+25Iy8mGjWvvKe+9xZg\nSoYVMFHdTU36GffkTyNMvOXa0MdW9PTiBe2EMZmIO40K/7nc7RQ9mgwo74cw\nT0vHv5Tju+mqLzFlsK5lOVspuWJ9IOEkM7NhTjmEQY+NIH8uAVu9MEvO8+4Z\ndYLzEAQKR97GtZGhNTfWu+/YRTWtFszeVuiloebIlHJa4qfzF0mQhAbl3qSd\nvSdc\r\n=4Q3l\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-waf-browser has been renamed to @aws-sdk/client-waf. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS WAF","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":{"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-waf-browser_0.1.0-preview.2_1568052374036_0.7423048961657066","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-waf-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-waf-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":"0ddba4bc079129477a77ce54547f5fad98e1e8b0","tarball":"https://registry.npmjs.org/@aws-sdk/client-waf-browser/-/client-waf-browser-0.1.0-preview.3.tgz","fileCount":2190,"integrity":"sha512-O8m8R9dIdkHCzJfMnZGpIVOyRToY0gXHe0GSO3wiGjrksutTTVi9VCInTYdjcVyXtYyrF3KpYMdodaW0gWAskA==","signatures":[{"sig":"MEQCIGwWbe1ysBUFzYWGYN5i425/1a0cIfk7EYFPJH4Bj5skAiB+e1pZijO0cUJk6d2bIbV6Wvdiz0sgBQ/hbMyl7wDwrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1435836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6XMCRA9TVsSAnZWagAA+UYP/2GMV3N63JiUspMVRdFn\nfKIi1hwY/S1XC87/XcEh/rg6MQjIVgiI2g2UiBOGTwMWBB8AEaZcI/jjYdt/\nds1s+Uzu+jSDxuaHnxIRyjZhMz33J4hp1VRWz+r3kMB9AaXW3rsk0t7jyV5M\n8lFIz3Zg2U44MZngvvAkNIztUnLElFAYqnejL2Uhg8p/VO9LY5+YqfSo/r1T\n61vysThUmuDnXCmX35juvikXJMIzEe2xre5iLttng6gf+y56K06Ve54ks4co\n4aP8O1+l084gF3/7N10MGPvaXhvW/PyTUuBKY5UcVxObZTj5osuHNmqwI09P\nOf7EdNjEjVc/TRBGo6t09H101rEAGe/Ct3UvENiaxY03WXzbiFaPCslEMnO+\nlFK9jni+lxVsZ8pqDKGeecC9gTdPAC7vURe8tzDeQdotpFsbVgxJL1Kx6nvU\nEAxLL415aFk7okpbLl/MQMBBnWitenBZYAk1b2Ud+ehOfN+CJ3YbRGvawllj\nvQHO9GFywpKS+Ewd+1bOGX4+rPn2GksPslRFKZi0iyFwZ4q5tO1OCHaOP2M3\nE5reZwn8xcqJWK0fWBXV3mbBBEu+6yPBHdmOTvHx9RdKI5WO2bvx+pfJYyd+\nydvkDsmAfmnp5XOak08X2evQeXE4P/N0ryOUPq0v5rhhwJN+9BDGChKCf9vx\najIT\r\n=O6x0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-waf-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-waf-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-waf-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-waf-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-waf-browser)\n\n## Description\n\n<p>This is the <i>AWS WAF API Reference</i> for using AWS WAF with Amazon CloudFront. The AWS WAF actions and data types listed in the reference are available for protecting Amazon CloudFront distributions. You can use these actions and data types via the endpoint <i>waf.amazonaws.com</i>. This guide is for developers who need detailed information about the AWS WAF API actions, data types, and errors. For detailed information about AWS WAF features and an overview of how to use the AWS WAF API, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</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-waf-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(`WAFClient`) and the commands you need, for example `CreateByteMatchSetCommand`:\n\n```javascript\n//JavaScript\nconst { WAFClient } = require(\"@aws-sdk/client-waf-browser/WAFClient\");\nconst {\n  CreateByteMatchSetCommand\n} = require(\"@aws-sdk/client-waf-browser/commands/CreateByteMatchSetCommand\");\n```\n\n```javascript\n//TypeScript\nimport { WAFClient } from \"@aws-sdk/client-waf-browser/WAFClient\";\nimport { CreateByteMatchSetCommand } from \"@aws-sdk/client-waf-browser/commands/CreateByteMatchSetCommand\";\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 wAF = new WAFClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n  ChangeToken: /**a string value*/,\n};\nconst createByteMatchSetCommand = new CreateByteMatchSetCommand(params);\nwAF.send(createByteMatchSetCommand).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 wAF.send(createByteMatchSetCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nwAF.send(createByteMatchSetCommand, (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-waf-browser/WAF\";\nconst wAF = new AWS.WAF({ region: \"region\" });\nwAF.createByteMatchSet(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 wAF.send(createByteMatchSetCommand);\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-waf-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-waf-browser has been renamed to @aws-sdk/client-waf. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS WAF","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-waf-browser_0.1.0-preview.3_1568908747581_0.9379445427682989","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-waf-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-waf-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":"860790efacc6614dd99f810d825f9528bccfec0b","tarball":"https://registry.npmjs.org/@aws-sdk/client-waf-browser/-/client-waf-browser-0.1.0-preview.4.tgz","fileCount":2190,"integrity":"sha512-84QY6HCa2HWgzbaFXPEcEm8/yPfVDKX5WXR0U+1Q9hLDe+wdfqFdRmlsMhs/EoO/cBGF0FvZltJgRUknA5pWPg==","signatures":[{"sig":"MEUCIHNykgq1vxc2KhcxfODfgBBoO3xirqF89UotVI6k6OLpAiEAsbauHISKLXGlC/fE3LGwEB0ecAH7KCzGajXtfwvL86k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1435886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNO6CRA9TVsSAnZWagAA0VEP/jWqB+nmTTJMmKA9BdAb\nCs2wG04vCVUYoX2/btEs72FuGR/L+nH1PSkvjUrrUzVomBtXGKUrC+w3A0Ti\nZryy9p9di8KjS4cAfsFl5EHKGrrPUppP09wQDnOQAvR22LKHIzlT07UZ9O07\nlx43SXhAT3SmgmXy+7A1Lu3LEBFe0SdvNisvGBWyA2+GH66Vi9slPJPiLr8/\nr1pgNFQVSaqhB2wrXsHE/CJkbMvVKl4+VifuPa6SkUyuEdg9gUG7BWQI/psF\nSOckOBjwCQySB+py4gtIemraDWxE2nrLaOMQzmTNK9boPIvX+mZRaMvJxl0t\nRkNEa6WaQ4/XmsVHrQQBFb0R9ATx/TvqkLKx8SJYN6vkR2HA9LBl8gg3m2BE\nUviLvBsVMXuYm/NM2Whm8ryuG7jcEwxcKFFO71tSinMv9tYFWnBbORG/DMnZ\nm86nbEHirsyNpXehrKOg5uD4HJLItS0ksjAn2wBUWF/gaYdZyu6b/Eg7BkfD\nny1P7Vj6c5k6URQB1DrAh6LTYR95ok7ibOlqKOQAUvfIp1tM22r0eNS73qjx\nPuEbPl5lscgMvhLgF+Fr5V/2rttMPz8ueibyk2Mtm/TK/H/8jvNiqOK4O0BF\nXJoEIhTn6WL5Pj336Lndgx1XX8fzmP3+hgLfOYmMJ125c3Fg4R9F3KTP6NOJ\nOKuC\r\n=ajWX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-waf-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-waf-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-waf-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-waf-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-waf-browser)\n\n## Description\n\n<p>This is the <i>AWS WAF API Reference</i> for using AWS WAF with Amazon CloudFront. The AWS WAF actions and data types listed in the reference are available for protecting Amazon CloudFront distributions. You can use these actions and data types via the endpoint <i>waf.amazonaws.com</i>. This guide is for developers who need detailed information about the AWS WAF API actions, data types, and errors. For detailed information about AWS WAF features and an overview of how to use the AWS WAF API, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</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-waf-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(`WAFClient`) and the commands you need, for example `CreateByteMatchSetCommand`:\n\n```javascript\n//JavaScript\nconst {\n  WAFClient,\n  CreateByteMatchSetCommand\n} = require(\"@aws-sdk/client-waf-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  WAFClient,\n  CreateByteMatchSetCommand\n} from \"@aws-sdk/client-waf-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 wAF = new WAFClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n  ChangeToken: /**a string value*/,\n};\nconst createByteMatchSetCommand = new CreateByteMatchSetCommand(params);\nwAF.send(createByteMatchSetCommand).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 wAF.send(createByteMatchSetCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nwAF.send(createByteMatchSetCommand, (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-waf-browser\";\nconst wAF = new AWS.WAF({ region: \"region\" });\nwAF.createByteMatchSet(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 wAF.send(createByteMatchSetCommand);\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-waf-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-waf-browser has been renamed to @aws-sdk/client-waf. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS WAF","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-waf-browser_0.1.0-preview.4_1572393914270_0.28911361309403505","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-waf-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-waf-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":"f7c1c730188463c2e57472f4d30e726007f3727e","tarball":"https://registry.npmjs.org/@aws-sdk/client-waf-browser/-/client-waf-browser-0.1.0-preview.5.tgz","fileCount":2190,"integrity":"sha512-+ab4KYPkECRPkNhjeOER3m668LtNsjcromxHuUTj/M5Tw6Sc16r3Np56gK64SeBVl3JbbSSX2o99sROuO131dA==","signatures":[{"sig":"MEQCIEBnS4Cq/saTndB5T1LDPAT7xZUsn1Sh33mQpbx0fr+FAiAo4hWKv1zlB3Ko50gjQlszTCLqruaSKW4k8BNHy5EFoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1436130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduedZCRA9TVsSAnZWagAAjg8P/0gbRKHbPziX22ipTrfn\nvKZ+ar4nple4T2KNqmdSpxJjcYHjXPKZYCICh0+LNRXiqRbGj4SfFFjq+6aC\nF5AK7LpIGCp2aDmVPX6UbSMMRTXl5hHAlScPzzgtdXt1sqnou9WY6CkRVghA\n6BJg1LYAOXkGwxvvQCADeqehp+nHTSsc7fRUZnbKK7KqLGfI24c7vMOb0O4Z\nrr3/KqTH/rTdP9y1YYblbnIDtbflDrFihEkDGpoXsdGZ8/zYrvrQUofPrwNM\naSTsUImDePLbRSzDKNUU3vRT2qVeZ7YkSwMofqFEw5oAGDdJmfUSfUxdqqQI\n/D9+ESncu7gk28Ryvogv0nQeBOMocIGvWdSlfPUOHIXJBYgPKcpfJ4YxXZET\ntHaYPK1Oldl0XmVJPbGfqb4fpTWxtpzs2KUWLTA4d4i0JkJ0OHevuAYikopv\nIQkg0Dhl9NkD0VjUEq8IF0mDEv0MAMOSFV1/li35RJNcjp3ssOPzLJGCzMQr\nVNeQ07wnkmvfeHImJGtTd2RyS3NlObN6O+nF5s8Ud0dcmc0ulYkrWD82ccQT\nk1PLiP+ShBlVeDJTGeobv6X+skSga6XXMzgXicmyzqIPn1K/uckXTVKOWyZC\n5nfvMHBvZ8kcqZaIJXzgnEh/TNcS5tqHFIyfOV/eqyBcNsAWWIDhI1bURX1N\na8Zz\r\n=SHcF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-waf-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-waf-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-waf-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-waf-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-waf-browser)\n\n## Description\n\n<p>This is the <i>AWS WAF API Reference</i> for using AWS WAF with Amazon CloudFront. The AWS WAF actions and data types listed in the reference are available for protecting Amazon CloudFront distributions. You can use these actions and data types via the endpoint <i>waf.amazonaws.com</i>. This guide is for developers who need detailed information about the AWS WAF API actions, data types, and errors. For detailed information about AWS WAF features and an overview of how to use the AWS WAF API, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</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-waf-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(`WAFClient`) and the commands you need, for example `CreateByteMatchSetCommand`:\n\n```javascript\n//JavaScript\nconst {\n  WAFClient,\n  CreateByteMatchSetCommand\n} = require(\"@aws-sdk/client-waf-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  WAFClient,\n  CreateByteMatchSetCommand\n} from \"@aws-sdk/client-waf-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 wAF = new WAFClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n  ChangeToken: /**a string value*/,\n};\nconst createByteMatchSetCommand = new CreateByteMatchSetCommand(params);\nwAF.send(createByteMatchSetCommand).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 wAF.send(createByteMatchSetCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nwAF.send(createByteMatchSetCommand, (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-waf-browser\";\nconst wAF = new AWS.WAF({ region: \"region\" });\nwAF.createByteMatchSet(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 wAF.send(createByteMatchSetCommand);\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-waf-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-waf-browser has been renamed to @aws-sdk/client-waf. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS WAF","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-waf-browser_0.1.0-preview.5_1572464473508_0.3498375159940581","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-waf-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-waf-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":"58950ca4d885e5bf1ca96fbb750127fbd42bd85e","tarball":"https://registry.npmjs.org/@aws-sdk/client-waf-browser/-/client-waf-browser-0.1.0-preview.6.tgz","fileCount":2190,"integrity":"sha512-LwELVoubOtGzfIjFgJyIh5zTzyM064iva8akN7nkFAb6ylEI6iNQQyqWzcOp0D1Bmdi81cFKKe7/kkqx9acr9g==","signatures":[{"sig":"MEUCID//RVa+LZp6ic5p2/H7cNPaUy8dUSG5dH9j7YnQJZFMAiEA8fvIWl4WnkJgpr6H/hRJdvkKq0goxuMVRRT3eAaKXNc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1436401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FWlCRA9TVsSAnZWagAAhokP/iims3dhd54BRwdJ6oaX\nPQUUaJ1IPArru/VDDWL8iK0tuHehOloUBlUOSHKqFmbxd3DYATt4GQHbLQkL\nMcU3Pvgq9VX5XtrND+dPbZEFTlMFaevyxOk+2QmQVfj4vqp02FqeWGFNZWFo\nzZXkqN+otqTeXCv26NhnnqNLGc0dhCwXyXdwjcM5hef5jKXp2H3i3RZlfaA8\n6qLYrMjgQOnzu2pgkh2E6vzgOJ4vC+xjO/L/G09INMfgZLr3i0AVn+tAWepw\nD35OcY5nnMRv3mWloB0tIIHz6gZGcMp/v73UEAOgh3gEHhUBkMJOOlNNEHrL\nyXL/23sZdPo7Zkub0x3fSeOuDWzqY0/eWq/gPmt+ftPmbpxct+ub+Q+5jvnt\nPoDc0HKPfo3GjbEFYMrkwkEK3UNECK+bPtyMIiWUZKWkzldMC5Op3Wxwjel3\nGHwvb5Vwi9XCNFIz/cJt+C07JOi5C2gMFsLPSrgBFTXNi+1LsnqyVd2zKArc\nFv14WtyYmtYGwF19bH5cgIHYbU131ogW4cvFKk6YvUkDnvr5GXklDLL1mlBT\nL4OJG6zSNE/5Vb50QWB1tRD1gqj4XFPDIRhGYbFmlQIXVE1w1QW7QuDClDPO\n7DMILHnkDjpQLUbhCoqU6NPlHw5CEPTuLxEDiV43gH4Bkh7GVqygOatv91hR\nvchd\r\n=1fF0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-waf-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-waf-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-waf-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-waf-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-waf-browser)\n\n## Description\n\n<p>This is the <i>AWS WAF API Reference</i> for using AWS WAF with Amazon CloudFront. The AWS WAF actions and data types listed in the reference are available for protecting Amazon CloudFront distributions. You can use these actions and data types via the endpoint <i>waf.amazonaws.com</i>. This guide is for developers who need detailed information about the AWS WAF API actions, data types, and errors. For detailed information about AWS WAF features and an overview of how to use the AWS WAF API, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF Developer Guide</a>.</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-waf-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(`WAFClient`) and the commands you need, for example `CreateByteMatchSetCommand`:\n\n```javascript\n//JavaScript\nconst {\n  WAFClient,\n  CreateByteMatchSetCommand\n} = require(\"@aws-sdk/client-waf-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  WAFClient,\n  CreateByteMatchSetCommand\n} from \"@aws-sdk/client-waf-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 wAF = new WAFClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Name: /**a string value*/,\n  ChangeToken: /**a string value*/,\n};\nconst createByteMatchSetCommand = new CreateByteMatchSetCommand(params);\nwAF.send(createByteMatchSetCommand).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 wAF.send(createByteMatchSetCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nwAF.send(createByteMatchSetCommand, (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-waf-browser\";\nconst wAF = new AWS.WAF({ region: \"region\" });\nwAF.createByteMatchSet(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 wAF.send(createByteMatchSetCommand);\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-waf-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-waf-browser has been renamed to @aws-sdk/client-waf. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS WAF","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-waf-browser_0.1.0-preview.6_1574196644674_0.2034560205108673","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T18:06:13.827Z","modified":"2025-03-27T18:43:25.772Z","0.1.0-preview.2":"2019-09-09T18:06:14.222Z","0.1.0-preview.3":"2019-09-19T15:59:07.858Z","0.1.0-preview.4":"2019-10-30T00:05:14.497Z","0.1.0-preview.5":"2019-10-30T19:41:13.745Z","0.1.0-preview.6":"2019-11-19T20:50:44.959Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for AWS WAF","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}