{"_id":"@aws-sdk/client-ses-browser","_rev":"19-dc2c8eadc80e61a520dacc709a6e93d4","name":"@aws-sdk/client-ses-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-ses-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-ses-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":"ec132cf64fc6c896d36d0c036d3cee6cc30a33fa","tarball":"https://registry.npmjs.org/@aws-sdk/client-ses-browser/-/client-ses-browser-0.1.0-preview.2.tgz","fileCount":2055,"integrity":"sha512-V6rb8p66bY5H5ysQpGHPOsvClY99oP0inZ/4R08ClkGVuomt1p8DN5LbnUI+VKgpBQdXwviNGLs7tweluqcbLw==","signatures":[{"sig":"MEQCIExW8D/ivhrpnC4ICvrCQGnI4jfXEQWjKrleElDt8ON0AiBiRePa6z5mK/7jfoAhCsE9/HQtcmpIGbeN+zhXk0/iAg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1173972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpRkCRA9TVsSAnZWagAAcdAQAJ5Ui4qj2Xc86dC1JZRj\nxZWAu4g69w0YShC1+xXRG5Ecf+UEMIZOWYmQvnLJ5YI6DCvapJXaAVEXbBIy\nqntCBG2w54NHgHQAP/fxjpMG6xhF9qT5rEvZgqOOa7uPEG4VbNUZpeTKkf0x\nIWij4M/j8cwyp7ryNx0XPUDlJUopGFsA8TGks+KdENWEV3vDF1I2Uzm5lKzt\nRCTxGTKmWCGxIG053OLVNRhD4VnEJTEQSd+1aYooi7W2TpFNNwVWZDUlFalQ\nM0MNfY+g/qBfSGSvKCwlaDBYYEQ4sCjdWaaiKJLg+IT0lbGFjJ1i94fRm2h/\nOg1fEZkB0+A2Wt8UrZx/q/XwU2jylg1J92ikaIkmNZOenVqJ9AGJb1b/v8Ua\n2Mk01jcmeCrVM02Kte0PctddlEj1TjgG8cCUKSAsyVq+lpjWL55x1GQkabKw\nrxg9Usau6h+lv0wkN5niRjuRCFkjWXvKH1YZiM3Y5RPo+t8s6SkwWmIubep3\nn/zCBB/icjFXdo9aN6laxt+/7MLW1D4D+P1UDEyciD1BGMqyyJfLlKfMdTmx\nNcoHwFj0ue7f2fus2e+YIjQRmGoReQlxeeH1qb+vGy4zXrq7TibOEY2EI3S5\nyMulY31fxMoVUdyJUhecdpMhFkI3VVCkLlmR8mjR7YdlXyqypnnWp0JusJKE\npK1v\r\n=IB4O\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-ses-browser has been renamed to @aws-sdk/client-ses. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Simple Email Service","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.6","@aws-sdk/query-builder":"^0.1.0-preview.5","@aws-sdk/protocol-query":"^0.1.0-preview.6","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/xml-body-parser":"^0.1.0-preview.6","@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/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/util-user-agent-browser":"^0.1.0-preview.6","@aws-sdk/query-error-unmarshaller":"^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-ses-browser_0.1.0-preview.2_1568052324049_0.3308789927631348","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-ses-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-ses-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":"e5a9421b9597185927c3beaff399b91a82d13ce7","tarball":"https://registry.npmjs.org/@aws-sdk/client-ses-browser/-/client-ses-browser-0.1.0-preview.3.tgz","fileCount":2055,"integrity":"sha512-RsvWjIw+9t683b2v/l2sJJ26PU92Es0mbEa0w9D2F9M+xbHwDNogvhS26sjNPUPPdiR+HzeC41du8XFeXoWmsA==","signatures":[{"sig":"MEYCIQD0VVfF486AFFppl1ylbu01Om00uq3Y5uWjUauEzdzo6QIhAM65mFsfoNCQX4FqYjyJexXqERZlh/35jZxR9iyEkB43","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1174192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6WCCRA9TVsSAnZWagAAsSUP/28av4NDro3l+9KV0SaI\nylrVAZG8WLh+QzjA03urtAYPh1T5RBdxYU8IBn8XVmlAW9m/5uucH09xBTNC\ntTE4gyg5wPi6P05VxKh/YrEYQ7lyY+aZulvQN6ZVlQfN7Q06OIPgglqWQus1\nh6dp8MyS/0I/Q5jJl0uAFPeF9OlR6aPKn1u7ldzeJjT0P0mVO05IpNRhGU67\nzVc9t/wsKVOe/PnjWt7ghJoxdk9Dwq7KyKbfNnVesqjQVRX05HhSh8YNgK8h\nJ6beiRJPD0nkRkfL71f1pwX8PFAvBYO2XQHMiLkVcj4zfZrU6Pe8EihguAzL\nac/NdcXEDULHHz4nj/Gl3/MGC0nQEGsJ7qCQU0kGUIOukVc9OQZ6VwY1C8sv\nctABqdZapTArxwWMvGkZX2pR2ASRqALQHaEHaQP/zkd4gawU5Q3IkKPi5u9P\nHimzYB34aZ0vW+lUJUcDtZfiN8EblEYI+NTwJ76npW8+C8YfTnj5y5VlhSFF\nyh+7HIuWdSIKfR85zJrXOfVvwGZP7B+fh4yQX3rx6+HDcAl+sbbWvyU3tWMM\nJcZPNxTRJfZaH6u7qYqQ87jAHgWOayzCPMCNDWbLl3dvyPAYjqiCrsf59JxA\n4+VShC88aeepvqyAYUSVuLh9qBAGKCUp6QQ8l2yEtsPHGFCF5y4WsQFgsivA\nnHOG\r\n=lDng\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-ses-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-ses-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-ses-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-ses-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-ses-browser)\n\n## Description\n\n<fullname>Amazon Simple Email Service</fullname> <p> This document contains reference information for the <a href=\"https://aws.amazon.com/ses/\">Amazon Simple Email Service</a> (Amazon SES) API, version 2010-12-01. This document is best used in conjunction with the <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html\">Amazon SES Developer Guide</a>. </p> <note> <p> For a list of Amazon SES endpoints to use in service requests, see <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html\">Regions and Amazon SES</a> in the <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html\">Amazon SES Developer Guide</a>.</p> </note>\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-ses-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(`SESClient`) and the commands you need, for example `CloneReceiptRuleSetCommand`:\n\n```javascript\n//JavaScript\nconst { SESClient } = require(\"@aws-sdk/client-ses-browser/SESClient\");\nconst {\n  CloneReceiptRuleSetCommand\n} = require(\"@aws-sdk/client-ses-browser/commands/CloneReceiptRuleSetCommand\");\n```\n\n```javascript\n//TypeScript\nimport { SESClient } from \"@aws-sdk/client-ses-browser/SESClient\";\nimport { CloneReceiptRuleSetCommand } from \"@aws-sdk/client-ses-browser/commands/CloneReceiptRuleSetCommand\";\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 sES = new SESClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  RuleSetName: /**a string value*/,\n  OriginalRuleSetName: /**a string value*/,\n};\nconst cloneReceiptRuleSetCommand = new CloneReceiptRuleSetCommand(params);\nsES.send(cloneReceiptRuleSetCommand).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 sES.send(cloneReceiptRuleSetCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nsES.send(cloneReceiptRuleSetCommand, (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-ses-browser/SES\";\nconst sES = new AWS.SES({ region: \"region\" });\nsES.cloneReceiptRuleSet(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 sES.send(cloneReceiptRuleSetCommand);\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-ses-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-ses-browser has been renamed to @aws-sdk/client-ses. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Simple Email Service","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/core-handler":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.7","@aws-sdk/query-builder":"^0.1.0-preview.5","@aws-sdk/protocol-query":"^0.1.0-preview.6","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/xml-body-parser":"^0.1.0-preview.6","@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/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/util-user-agent-browser":"^0.1.0-preview.6","@aws-sdk/query-error-unmarshaller":"^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-ses-browser_0.1.0-preview.3_1568908673607_0.11629577626743215","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-ses-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-ses-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":"b7a4dd2dd99ff21b876e3aa29f3caa31560aa700","tarball":"https://registry.npmjs.org/@aws-sdk/client-ses-browser/-/client-ses-browser-0.1.0-preview.4.tgz","fileCount":2055,"integrity":"sha512-4XQIYbh3G+GE5u6RlRKQFL6I4iTPshxIZmaW+ohuRBCSJ/ieAhbzXYKKCfFV1GpfTtaDGZ3Eqfhnn3RDU9TiLQ==","signatures":[{"sig":"MEUCIQDZCVuTRaM/n+9ursFvea2tkT3EzNxKXjN0pxh3LFlANAIgGC+qsG44Ei7TXwrEYwPMiucZ542RnIL4Vt0i6BQ0Svk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1174240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNOTCRA9TVsSAnZWagAAzCAP/3VPKRmFT4Hg01aDV1X/\nqH0ZgJh5G11q67P0IMZjVvCMk8GmHo4b2uG6Ahc1Om69urqxfoJzZXozA5np\nzUEVmRlPJ9UnBOhamQY4xvDh3kDPG/W4wvJGNIchqztxB65T6fDkJOKUrF3z\n555jic/3UTOG+piDhrvtEv4JW1An+vJCaOEtWizeeuYyLpNC2tVS+dAjSLWx\nRIlGnXFFjuO6XvoutcEtJHAhuPbUjSDbfReuFtLelxHHyPsicC+AqRHvs+6E\ndWmCwJN5CXHQICJ80lbefcefsoNKqiuKdHbxauR3zbE1TYdQWoLh6rfB7ZVL\nUFv8iBx5FgORLXFZWUA8XUDVSSi31yQ4xDmDaBYleFq18TnGwYEHvqOV1h85\nqFwGan98h+PBNV5VB/Uz2d+AyKAD9mAdR21/l/VU3oEq5pwYF3pVFYZiycz7\nXyFQFliUhfOeYUWypqI/alP0l0zn9wA67GqKFTs6JfRHsA+KOGbaYAnhPeYh\nAsY6uQHf4XySEMB9YyjFl+GswLLjt92ct3/+mZ8wFKJfc/3oV5en2U7WV4gY\ngDdMwaWNsyMq6MHJ2il5fQDz72c7QU1tFjMOHGYAch1m7vGGCr0wQEDKijj1\noiZadKeltVqDObcY/lV83DeTslACxj553K+vFqgqUIBRoAJ41zZLtQ7eSASF\nINNt\r\n=fQ9e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-ses-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-ses-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-ses-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-ses-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-ses-browser)\n\n## Description\n\n<fullname>Amazon Simple Email Service</fullname> <p> This document contains reference information for the <a href=\"https://aws.amazon.com/ses/\">Amazon Simple Email Service</a> (Amazon SES) API, version 2010-12-01. This document is best used in conjunction with the <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html\">Amazon SES Developer Guide</a>. </p> <note> <p> For a list of Amazon SES endpoints to use in service requests, see <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html\">Regions and Amazon SES</a> in the <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html\">Amazon SES Developer Guide</a>.</p> </note>\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-ses-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(`SESClient`) and the commands you need, for example `CloneReceiptRuleSetCommand`:\n\n```javascript\n//JavaScript\nconst {\n  SESClient,\n  CloneReceiptRuleSetCommand\n} = require(\"@aws-sdk/client-ses-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  SESClient,\n  CloneReceiptRuleSetCommand\n} from \"@aws-sdk/client-ses-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 sES = new SESClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  RuleSetName: /**a string value*/,\n  OriginalRuleSetName: /**a string value*/,\n};\nconst cloneReceiptRuleSetCommand = new CloneReceiptRuleSetCommand(params);\nsES.send(cloneReceiptRuleSetCommand).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 sES.send(cloneReceiptRuleSetCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nsES.send(cloneReceiptRuleSetCommand, (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-ses-browser\";\nconst sES = new AWS.SES({ region: \"region\" });\nsES.cloneReceiptRuleSet(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 sES.send(cloneReceiptRuleSetCommand);\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-ses-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-ses-browser has been renamed to @aws-sdk/client-ses. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Simple Email Service","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.6","@aws-sdk/core-handler":"^0.1.0-preview.6","@aws-sdk/signature-v4":"^0.1.0-preview.8","@aws-sdk/query-builder":"^0.1.0-preview.6","@aws-sdk/protocol-query":"^0.1.0-preview.7","@aws-sdk/config-resolver":"^0.1.0-preview.6","@aws-sdk/xml-body-parser":"^0.1.0-preview.7","@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/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/util-user-agent-browser":"^0.1.0-preview.7","@aws-sdk/query-error-unmarshaller":"^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-ses-browser_0.1.0-preview.4_1572393874828_0.3248000244477829","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-ses-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-ses-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":"df0a25148f190b28f5fd8c20b916dd65f913cc69","tarball":"https://registry.npmjs.org/@aws-sdk/client-ses-browser/-/client-ses-browser-0.1.0-preview.5.tgz","fileCount":2055,"integrity":"sha512-mTCOHnXt8YlgySmLYRTkS+gsAmZTdvbEUM6+tpSMuhWMUTPYZ2mASULlMH/rb0mmTmoX8YwWmKiW51mWO9w8ug==","signatures":[{"sig":"MEUCIQCo+yEGiKQ3y6QdpbIH7Byk1qymRMIZuneROfRbYnDfCAIgDIO+vm1GMNUk8pM0c2xX1jPxaSqJCuf/iXWRpWIfcAs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1174484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduecuCRA9TVsSAnZWagAAzVMQAJx0As1LPOBGwhH0qKMD\nzbzz6IsL8GGa5C4wR+HoziD/H6aEAO6K2Z1EKMb6hL8URm1cEqy6qvpQZDvq\nBZruQVxvegVWf0cTYSWl2VstaVFMYxp8/0LIiy2tTQt+iaY8Z3oc6D8M5mSa\nktWMnIovrhmoVLyP4BurF/oC57f+OPc5pqCA5O6uIJHogkiVatkcdVZcrfTi\n0eLfHGx7oSZ+9/QpWp/p14vZ3Mar/n3OtSdZ0ZFAUj+VDHvLS9IziuI7VppG\n1C2qnjfdZl201BXU+vHEH7utDNuJEWRHKVb7S0spxQcYtEBzYvg+Pd8SfJaE\nfg+dT4KR68Brtrz6p9LdcRf5SRCMROjaU7PrFaruJ2H7zeJbeypB+yhpOFDj\neSAFUVQW9aiYWqHu5lTPDilGtI4OjjD66gQpcJWQd112CCzxOFpHviGK8yIU\nUz1Q8Qmsub7cg8y15XAdQzNqZgV50TbhM2rslWyRhXN513cek7N25ju+o7Ew\nT1aeHQ4TJi8zT5YRISTC38mz7HKL4J9MYZxSZP0ScwmysX4xUX1nMcqVf1Sp\n9VmFlNIFRHTLS5G0Qk9VXgK7p06L6sTWFMiT8CcZY50Nrt/vf3KTpKKc5EQS\n3vQsUMsOXQyd74qTZrMS5npRFuSzs1pwcdRkN2WtpzZP1W5kAXd6ZoiBXWlg\nbe88\r\n=6Nu/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-ses-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-ses-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-ses-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-ses-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-ses-browser)\n\n## Description\n\n<fullname>Amazon Simple Email Service</fullname> <p> This document contains reference information for the <a href=\"https://aws.amazon.com/ses/\">Amazon Simple Email Service</a> (Amazon SES) API, version 2010-12-01. This document is best used in conjunction with the <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html\">Amazon SES Developer Guide</a>. </p> <note> <p> For a list of Amazon SES endpoints to use in service requests, see <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html\">Regions and Amazon SES</a> in the <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html\">Amazon SES Developer Guide</a>.</p> </note>\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-ses-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(`SESClient`) and the commands you need, for example `CloneReceiptRuleSetCommand`:\n\n```javascript\n//JavaScript\nconst {\n  SESClient,\n  CloneReceiptRuleSetCommand\n} = require(\"@aws-sdk/client-ses-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  SESClient,\n  CloneReceiptRuleSetCommand\n} from \"@aws-sdk/client-ses-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 sES = new SESClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  RuleSetName: /**a string value*/,\n  OriginalRuleSetName: /**a string value*/,\n};\nconst cloneReceiptRuleSetCommand = new CloneReceiptRuleSetCommand(params);\nsES.send(cloneReceiptRuleSetCommand).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 sES.send(cloneReceiptRuleSetCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nsES.send(cloneReceiptRuleSetCommand, (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-ses-browser\";\nconst sES = new AWS.SES({ region: \"region\" });\nsES.cloneReceiptRuleSet(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 sES.send(cloneReceiptRuleSetCommand);\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-ses-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-ses-browser has been renamed to @aws-sdk/client-ses. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Simple Email Service","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.9","@aws-sdk/query-builder":"^0.1.0-preview.7","@aws-sdk/protocol-query":"^0.1.0-preview.8","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/xml-body-parser":"^0.1.0-preview.8","@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/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/util-user-agent-browser":"^0.1.0-preview.8","@aws-sdk/query-error-unmarshaller":"^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-ses-browser_0.1.0-preview.5_1572464429718_0.43441709768651715","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-ses-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-ses-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":"7685e261dcd492afeaa851a88623e208d7424ee2","tarball":"https://registry.npmjs.org/@aws-sdk/client-ses-browser/-/client-ses-browser-0.1.0-preview.6.tgz","fileCount":2055,"integrity":"sha512-YL7EaqnaE2JcbdrhZsUXDx15ZGtOb0wb4u2Kd2mjj/ZQdMKxOTo4YwqdmvFCsSr8g5B6305uWOCBCfu4o1uLhg==","signatures":[{"sig":"MEQCIEClzK1A0z/tK6TsiZlhpDIw8WXlwoiREuUHOHFDcEf/AiAmB2BTR8Dqo9SfgdSNGuoF4d2bFzDzveSRXHeVPzrhEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1174755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FWRCRA9TVsSAnZWagAAnqwQAJQHwb1RCNhw03aG2vA3\nKITnUJSTJ1VNWzngLlKUBB0AxizvGTWO42U0B1wnp1U+YfBW/HGqLwfrYKVg\n2D0pppU1Z6dy0u+BSfAjNpfSQbGajvi8AZuIGBekZDtWcmQgXlrUHckF+7Tc\n/tz1/vnoLBOaLY/AcBMv/aWMJyZ6lsDgfwT3o7TH8D8bSBh2GOQ8T7PzCp43\nnGDiOxcIG1ejC5CX6gOJJtnHIgHUvCmeIcSChd9NjFLdGlg19nE29K++wsSE\nLzEB7ygCTtqjzTf2gWhfmhXjgwQw+dkEsWh5I4dakXgY47jWBvqYo0tEV9D3\nheoOENxq3QJTy2hbyTEDi6ts+2yqUFLMtP9QERjWftaeMj+X3ns3GM5jOtJe\nXhEb1mlVc/doFo4tmJreYcYVAG2f6BuAgDKG/K41TuWXnro71m5hJ9A+SW/v\nAfppvh+xc+Vm9Y2V9r2b9AESDP3Ft1tfAB04sbnxJwBu0psUH2FOyJk6Fgfz\nvbvYwUmkOJ/JHJrRFNfxi/29YcBfdtoGy0dgqqy+h4p1zwoCVTTK3VYzZgma\nGi3fFjpDKMju+0Ycq2hfMboEhpqowIYRft2QlCDncd0wTE7tSHtYnzTuUgRY\nD2EpqSnvDxvTZfkJXqOkX05w8fLrzlexzbSGAQz37j7eHiNBB5KFStjHIHjg\n0Zw5\r\n=Bd38\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-ses-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-ses-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-ses-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-ses-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-ses-browser)\n\n## Description\n\n<fullname>Amazon Simple Email Service</fullname> <p> This document contains reference information for the <a href=\"https://aws.amazon.com/ses/\">Amazon Simple Email Service</a> (Amazon SES) API, version 2010-12-01. This document is best used in conjunction with the <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html\">Amazon SES Developer Guide</a>. </p> <note> <p> For a list of Amazon SES endpoints to use in service requests, see <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html\">Regions and Amazon SES</a> in the <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html\">Amazon SES Developer Guide</a>.</p> </note>\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-ses-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(`SESClient`) and the commands you need, for example `CloneReceiptRuleSetCommand`:\n\n```javascript\n//JavaScript\nconst {\n  SESClient,\n  CloneReceiptRuleSetCommand\n} = require(\"@aws-sdk/client-ses-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  SESClient,\n  CloneReceiptRuleSetCommand\n} from \"@aws-sdk/client-ses-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 sES = new SESClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  RuleSetName: /**a string value*/,\n  OriginalRuleSetName: /**a string value*/,\n};\nconst cloneReceiptRuleSetCommand = new CloneReceiptRuleSetCommand(params);\nsES.send(cloneReceiptRuleSetCommand).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 sES.send(cloneReceiptRuleSetCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nsES.send(cloneReceiptRuleSetCommand, (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-ses-browser\";\nconst sES = new AWS.SES({ region: \"region\" });\nsES.cloneReceiptRuleSet(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 sES.send(cloneReceiptRuleSetCommand);\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-ses-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-ses-browser has been renamed to @aws-sdk/client-ses. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon Simple Email Service","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/core-handler":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.10","@aws-sdk/query-builder":"^0.1.0-preview.7","@aws-sdk/protocol-query":"^0.1.0-preview.9","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/xml-body-parser":"^0.1.0-preview.9","@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/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/util-user-agent-browser":"^0.1.0-preview.9","@aws-sdk/query-error-unmarshaller":"^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.10","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-ses-browser_0.1.0-preview.6_1574196625373_0.6214670999514953","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T18:05:23.839Z","modified":"2025-03-27T18:46:38.500Z","0.1.0-preview.2":"2019-09-09T18:05:24.273Z","0.1.0-preview.3":"2019-09-19T15:57:53.818Z","0.1.0-preview.4":"2019-10-30T00:04:35.076Z","0.1.0-preview.5":"2019-10-30T19:40:30.193Z","0.1.0-preview.6":"2019-11-19T20:50:25.648Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for Amazon Simple Email Service","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}