{"_id":"@aws-sdk/client-application-auto-scaling-browser","_rev":"19-88959fb4a4823c4e1f55743fc86a3d05","name":"@aws-sdk/client-application-auto-scaling-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-application-auto-scaling-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-application-auto-scaling-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":"4ad1868b93ae26b03737b5ecc4a636d0a4aacfaf","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-auto-scaling-browser/-/client-application-auto-scaling-browser-0.1.0-preview.2.tgz","fileCount":378,"integrity":"sha512-kcRgTHAgEnFmeoVUjYj23HF8V7A307XLlYKXGxM1W3kDI4JaokBz4yYBuMld/FVy6Dj3qM+NSn8uOPuztyOOpg==","signatures":[{"sig":"MEUCIQCebUZB/AsAo6FdmsRkaQVChVvMlagP+TWyREC4LkK9PwIgDmISt/wmBIRt3gyBqVJbeni90z0xWf3yx4tJkN7fsZ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":327020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpMbCRA9TVsSAnZWagAAMEkP/ReToopOEho/n5surELC\nUen3SdkPl4y7RONSTWiOnb8fRljiGdw6tSUSi97co3krT4TwIFrhEDoAhO0W\nhzj/SrAaqD/oh1VisD0JXiEzoznvwmKE5Yv07KzIZ0aJDnkMh3kz91+4NdRp\ngTL4J8+CMMLUWmbaJTXeFJXp41Vd4IaDCRR33btA+29jLIYoCCK2INGHH10Y\nWgmzXpoEjaVOkcEOUiiCga5YPKRXbBh+kisKH5FRFzthZR+DlJOcShO1Wto4\nv+0GVeLACrhdyjKhcpeezPsQZp+fC1bvDIY8sITb4c1Nwg4mkvZwoS9TNHu/\n77AquF2TsxtUBd+771Aahf/w4VcD1hdtPNbHrW7iv5fy/RqkSSie6rNGc2Pl\npv5v/SWgrmaHXEBdK6RFAvxoMbKNoRdZeECBpcaZsT6NuEUgPtSCFoh1/Kma\nV3lG6q4kvLE6U+BcKjGwSkR9Wtp2sxMYaZHa+xrIbZ6Bdlc6XM5WG+Hy5Tw1\nVVq5zGhu+iuS8YQ8+2HhMB4veBgam4YZHmY/klM+Qyb+f6jSVo8EWrGmHC9o\nnH4X46E8dFbZq1VOsFhbljpAIm3IWKP2nxKowDitbtCV31CODQVo2gSUhFrB\n6Hk46R7NfTcbOuR94l8U1wV7rAtEKCyqF+IEodT25XS7SpmKiHpLtwlV4u+F\nScMp\r\n=IaAC\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-application-auto-scaling-browser has been renamed to @aws-sdk/client-application-auto-scaling. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Application Auto Scaling","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-application-auto-scaling-browser_0.1.0-preview.2_1568051994621_0.140518726922936","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-application-auto-scaling-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-application-auto-scaling-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":"180a9463ab9ee88b63ee0c566c20c9ea5492f7d8","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-auto-scaling-browser/-/client-application-auto-scaling-browser-0.1.0-preview.3.tgz","fileCount":378,"integrity":"sha512-iKkQfhb5GxhdfKpPgarfsMMMz1WGjd+xWPYoxM0h64V/n0eP2aGjSQtzZx93UXNcRYjGhre8Zp6U984xDjuRTg==","signatures":[{"sig":"MEUCIGmW00rDqSfEh3CThLxohlo6sXYJK5ZWAnHbfifpVC3bAiEAhekFeNw86M3zDN8ogCxjwa1vL9QjbK7DHJS9/OLk/qU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":327240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6LLCRA9TVsSAnZWagAA+q8P/25znbqmQ9VlRKwV9XG9\n/Wn/2tCOzDQJPkF3zrVoj2mdFf19ODWiAMDxRzOvOfE13+9NDEIPGj2mvj6t\nUTRM885ppIUCqhX+ns7O8oNA8dMh6/4qu7KBo+PELAaSWsQqGmvT14caIvns\nbqpuMBOvy7eSD7RwgFOICwLI7Ek3WoXKVMjL56MZZT5XySv0GWwC81OUIFew\nNId4yzCV6Ja9xI3O8Fj9LmY4puV6fzpwlqv7X88PN3fhCszLpEiAaf3SR9s4\n+aEowzgFrBxeFrg0tL7fVU5iuUL9xzopPwD0oeKYmzkdEwkrosPl6YS024N4\n+w/AJ0CJcTQ0hOfnK0NALLX5wKGpKfzKBKW1UeS6sHh0HonhfigAeF1xFK6W\njDpstDsHKMlzgQA+fM5XfLfptaW3xyCU317dipcPdYjAPfe96hmi7FehmmWu\nHYqDaBlZ3B+qzz/kyw5e0SFXe7ReyutRYM8mmlgTfPhB0k6eZODwpzB8Uylq\n2qJ2qOX0WJUjht9jA5maECY5tLgF/jQlRJnlapp0ZAiKPFrtgX4OSnirsyUx\nTR8bHJOAc1AQvczVOPb/rA5YVWpUscCiHY1N6YbaPr7Q/JO0IXp0Be2VEA4Y\ntFuKF/TgK6Nv9XwTxaRzqAggt6eu4CZuuzCrDUGNFbqyO0/9R5MMtU/52G08\nj6TK\r\n=Y/IS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-application-auto-scaling-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-application-auto-scaling-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-auto-scaling-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-application-auto-scaling-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-auto-scaling-browser)\n\n## Description\n\n<p>With Application Auto Scaling, you can configure automatic scaling for your scalable resources. You can use Application Auto Scaling to accomplish the following tasks:</p> <ul> <li> <p>Define scaling policies to automatically scale your AWS or custom resources</p> </li> <li> <p>Scale your resources in response to CloudWatch alarms</p> </li> <li> <p>Schedule one-time or recurring scaling actions</p> </li> <li> <p>View the history of your scaling events</p> </li> </ul> <p>Application Auto Scaling can scale the following resources:</p> <ul> <li> <p>Amazon ECS services. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html\">Service Auto Scaling</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> </li> <li> <p>Amazon EC2 Spot fleets. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-auto-scaling.html\">Automatic Scaling for Spot Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p> </li> <li> <p>Amazon EMR clusters. For more information, see <a href=\"https://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-automatic-scaling.html\">Using Automatic Scaling in Amazon EMR</a> in the <i>Amazon EMR Management Guide</i>.</p> </li> <li> <p>AppStream 2.0 fleets. For more information, see <a href=\"https://docs.aws.amazon.com/appstream2/latest/developerguide/autoscaling.html\">Fleet Auto Scaling for Amazon AppStream 2.0</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p> </li> <li> <p>Provisioned read and write capacity for Amazon DynamoDB tables and global secondary indexes. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html\">Managing Throughput Capacity Automatically with DynamoDB Auto Scaling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> </li> <li> <p>Amazon Aurora Replicas. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Integrating.AutoScaling.html\">Using Amazon Aurora Auto Scaling with Aurora Replicas</a>.</p> </li> <li> <p>Amazon SageMaker endpoint variants. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling.html\">Automatically Scaling Amazon SageMaker Models</a>.</p> </li> <li> <p>Custom resources provided by your own applications or services. More information is available in our <a href=\"https://github.com/aws/aws-auto-scaling-custom-resource\">GitHub repository</a>. </p> </li> </ul> <p>To learn more about Application Auto Scaling, including information about granting IAM users required permissions for Application Auto Scaling actions, see the <a href=\"https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html\">Application Auto Scaling User 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-application-auto-scaling-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(`ApplicationAutoScalingClient`) and the commands you need, for example `DeleteScalingPolicyCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ApplicationAutoScalingClient\n} = require(\"@aws-sdk/client-application-auto-scaling-browser/ApplicationAutoScalingClient\");\nconst {\n  DeleteScalingPolicyCommand\n} = require(\"@aws-sdk/client-application-auto-scaling-browser/commands/DeleteScalingPolicyCommand\");\n```\n\n```javascript\n//TypeScript\nimport { ApplicationAutoScalingClient } from \"@aws-sdk/client-application-auto-scaling-browser/ApplicationAutoScalingClient\";\nimport { DeleteScalingPolicyCommand } from \"@aws-sdk/client-application-auto-scaling-browser/commands/DeleteScalingPolicyCommand\";\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 applicationAutoScaling = new ApplicationAutoScalingClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  PolicyName: /**a string value*/,\n  ServiceNamespace: /**a string value*/,\n  ResourceId: /**a string value*/,\n  ScalableDimension: /**a string value*/,\n};\nconst deleteScalingPolicyCommand = new DeleteScalingPolicyCommand(params);\napplicationAutoScaling.send(deleteScalingPolicyCommand).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 applicationAutoScaling.send(deleteScalingPolicyCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\napplicationAutoScaling.send(deleteScalingPolicyCommand, (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-application-auto-scaling-browser/ApplicationAutoScaling\";\nconst applicationAutoScaling = new AWS.ApplicationAutoScaling({\n  region: \"region\"\n});\napplicationAutoScaling.deleteScalingPolicy(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 applicationAutoScaling.send(deleteScalingPolicyCommand);\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-application-auto-scaling-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-application-auto-scaling-browser has been renamed to @aws-sdk/client-application-auto-scaling. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Application Auto Scaling","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-application-auto-scaling-browser_0.1.0-preview.3_1568907978842_0.8318552000020794","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-application-auto-scaling-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-application-auto-scaling-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":"aacd2be1278e33e571c3eb7ae7e0512cce3ada41","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-auto-scaling-browser/-/client-application-auto-scaling-browser-0.1.0-preview.4.tgz","fileCount":378,"integrity":"sha512-dC3R0vfqNtNAMKa23QUm8WcTN9Wagi+CD4oD/qd8qP3s92mhGIVq+AsDDFM+rYirbenj2aDdOujmvEOXVGjy1Q==","signatures":[{"sig":"MEUCIGQpLY84bP/E86aLOU5Nru0TTdQdmWG0vVhjyrnF6zteAiEApcFdVTVavacvxVp5AVPtFvd5BT1q4y001VggN7tSBYw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":327187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNJ9CRA9TVsSAnZWagAA1JIQAILq0UCL9bnFXH+q9cxq\npjhiezgzCjH7Ykv7zxVBMDHioYalc7iepnhJwAuBEhl2DnU0ItpNkj59MTTf\nLNHJ8wgbPE7PG3wKrABaLAw1cIR827vslsHZVrP9nA1Qz27iduZcqxvCJnRa\nY/3cIMBaJ2tgOjLj3rNx0xa9Dc9DSg8JhCfjBACZTAm6uH2hpiBMmsetkTs6\nwW6euKBanFHGYRC+aE2DPTv648Hd+S/uIUMKjXeDiK5hks2hzD1+Ijexa0ri\nUo7H4JTfwOiMTPAxjujW3uEt7MY7xsy7WtV0i8AxT7F40QNbLRJSDCxXrq5W\nvLsoPuZoLDD+C89WLLz1QEYRAuAJXVXTkNeAGc/dm5NlqO9evw2hVlNlIJz/\nr7lZKwSMYVXAXIjfcRoPZnvH/VVzSRdeZJD8hR/fgMO3keaE7n7njWE7Dtyz\nrhFAfwUIBAXF1f4n1XCJ8hQadzkBOYK7kx+zVDmE/+zCrPNbmcDmwZpXy20E\nkMpIkZlBxNciGl5N1VrlXW36MGBzH3mcLaDowGXuIswmZuvq4wZp1DZ18CxD\nDKeDotLqCcGk8s2Awwwgmbv2TngVlDwrxk9MllHv5SpsauzXqGt69vI/LVns\nZlz/WgCcj+hsQK+LZleggj9yIpv7ZMNiK7PTYwNRMxHz+rNWy5hXQSVRGdOp\netWS\r\n=ZR6s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-application-auto-scaling-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-application-auto-scaling-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-auto-scaling-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-application-auto-scaling-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-auto-scaling-browser)\n\n## Description\n\n<p>With Application Auto Scaling, you can configure automatic scaling for your scalable resources. You can use Application Auto Scaling to accomplish the following tasks:</p> <ul> <li> <p>Define scaling policies to automatically scale your AWS or custom resources</p> </li> <li> <p>Scale your resources in response to CloudWatch alarms</p> </li> <li> <p>Schedule one-time or recurring scaling actions</p> </li> <li> <p>View the history of your scaling events</p> </li> </ul> <p>Application Auto Scaling can scale the following resources:</p> <ul> <li> <p>Amazon ECS services. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html\">Service Auto Scaling</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> </li> <li> <p>Amazon EC2 Spot fleets. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-auto-scaling.html\">Automatic Scaling for Spot Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p> </li> <li> <p>Amazon EMR clusters. For more information, see <a href=\"https://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-automatic-scaling.html\">Using Automatic Scaling in Amazon EMR</a> in the <i>Amazon EMR Management Guide</i>.</p> </li> <li> <p>AppStream 2.0 fleets. For more information, see <a href=\"https://docs.aws.amazon.com/appstream2/latest/developerguide/autoscaling.html\">Fleet Auto Scaling for Amazon AppStream 2.0</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p> </li> <li> <p>Provisioned read and write capacity for Amazon DynamoDB tables and global secondary indexes. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html\">Managing Throughput Capacity Automatically with DynamoDB Auto Scaling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> </li> <li> <p>Amazon Aurora Replicas. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Integrating.AutoScaling.html\">Using Amazon Aurora Auto Scaling with Aurora Replicas</a>.</p> </li> <li> <p>Amazon SageMaker endpoint variants. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling.html\">Automatically Scaling Amazon SageMaker Models</a>.</p> </li> <li> <p>Custom resources provided by your own applications or services. More information is available in our <a href=\"https://github.com/aws/aws-auto-scaling-custom-resource\">GitHub repository</a>. </p> </li> </ul> <p>To learn more about Application Auto Scaling, including information about granting IAM users required permissions for Application Auto Scaling actions, see the <a href=\"https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html\">Application Auto Scaling User 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-application-auto-scaling-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(`ApplicationAutoScalingClient`) and the commands you need, for example `DeleteScalingPolicyCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ApplicationAutoScalingClient,\n  DeleteScalingPolicyCommand\n} = require(\"@aws-sdk/client-application-auto-scaling-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ApplicationAutoScalingClient,\n  DeleteScalingPolicyCommand\n} from \"@aws-sdk/client-application-auto-scaling-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 applicationAutoScaling = new ApplicationAutoScalingClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  PolicyName: /**a string value*/,\n  ServiceNamespace: /**a string value*/,\n  ResourceId: /**a string value*/,\n  ScalableDimension: /**a string value*/,\n};\nconst deleteScalingPolicyCommand = new DeleteScalingPolicyCommand(params);\napplicationAutoScaling.send(deleteScalingPolicyCommand).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 applicationAutoScaling.send(deleteScalingPolicyCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\napplicationAutoScaling.send(deleteScalingPolicyCommand, (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-application-auto-scaling-browser\";\nconst applicationAutoScaling = new AWS.ApplicationAutoScaling({\n  region: \"region\"\n});\napplicationAutoScaling.deleteScalingPolicy(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 applicationAutoScaling.send(deleteScalingPolicyCommand);\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-application-auto-scaling-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-application-auto-scaling-browser has been renamed to @aws-sdk/client-application-auto-scaling. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Application Auto Scaling","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-application-auto-scaling-browser_0.1.0-preview.4_1572393597515_0.5967300312565644","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-application-auto-scaling-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-application-auto-scaling-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":"6caf8d89073a6e0336668be7e65424a3a0e53ad2","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-auto-scaling-browser/-/client-application-auto-scaling-browser-0.1.0-preview.5.tgz","fileCount":378,"integrity":"sha512-JQKBYcLxWsT1ycDx5mwmT9eLvc9XRa3/SJhrr+k6QeKsXHkx+UTWs5lqkduRcUSxgh6Dpsan99es6Pu4CP6BxA==","signatures":[{"sig":"MEUCICLnhzv4MgsOfrmDxjuNFJOSDSb0kiRpPQ3xlMke1rrGAiEAoc8AS9khPn6+GuFL1wFsCl0fnfx+A4T/41htSpPBjD8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":327431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueYJCRA9TVsSAnZWagAAWxsP/0fNqzqsNTAmlSNXX4YH\nu8u9ZGl271vxpwjAHgLLyRhSaZ45fzxZIRjXkNtyXC0ueraS3YCOh+V1gGry\npTS+Uj55WW91Gv7SbmRBzXbHJ3+KdZ+S17QQWFdD4MBKXmDu6svI+ynE6PqI\nDjwpMp8h6E7JUM+VuxOUR97tNcgcI8HlqVXedPIm+bVi6Pl1B6CUh9fKzZGh\nDFbIhrSSka9uAxNDCScTdK2xqf9A96kBRp1l9lML+4AwD1RgZ7Z99Fzonfbq\n0IlxYx59Ahvzb6vuWRwYHrgV6T9nEcFJfpCNdsFll/ZA+WnccCBvF4Mhx+ca\n2rC1iffq5uzqRJjXoPNTtUUGJr+6QXXJpd43LLp/PbR24Agtm4txXKRYcWA0\nHp6Mw51dc40BkwyBO2uhGIJHKTZM3tP4MCIZeSyZHFDk3/WieWiRijh8L/AE\ngARCDbtMLIRUi16VfTWGZcPxy+0kHDfZjdBEfEtCNopQbbcBcGZS5dgo8WwB\n9wHVVWbx4BqVw3jFJG900Vjk1nMlpESUj+zYcMBd0sPugTB1HbzbOsthM1ZV\nMgng89IHFS2Vg5H/IN6e2I6pueJRUEAoZEz6YyUAY2zeizU0vx0xzochj+14\nqwhc6k0gVYCgW3D/G+fWgm580BeHdN3SlA0X/wkMeoyA+X2R16Xk0uuXRz9f\ncVO0\r\n=i2pV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-application-auto-scaling-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-application-auto-scaling-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-auto-scaling-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-application-auto-scaling-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-auto-scaling-browser)\n\n## Description\n\n<p>With Application Auto Scaling, you can configure automatic scaling for your scalable resources. You can use Application Auto Scaling to accomplish the following tasks:</p> <ul> <li> <p>Define scaling policies to automatically scale your AWS or custom resources</p> </li> <li> <p>Scale your resources in response to CloudWatch alarms</p> </li> <li> <p>Schedule one-time or recurring scaling actions</p> </li> <li> <p>View the history of your scaling events</p> </li> </ul> <p>Application Auto Scaling can scale the following resources:</p> <ul> <li> <p>Amazon ECS services. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html\">Service Auto Scaling</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> </li> <li> <p>Amazon EC2 Spot fleets. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-auto-scaling.html\">Automatic Scaling for Spot Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p> </li> <li> <p>Amazon EMR clusters. For more information, see <a href=\"https://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-automatic-scaling.html\">Using Automatic Scaling in Amazon EMR</a> in the <i>Amazon EMR Management Guide</i>.</p> </li> <li> <p>AppStream 2.0 fleets. For more information, see <a href=\"https://docs.aws.amazon.com/appstream2/latest/developerguide/autoscaling.html\">Fleet Auto Scaling for Amazon AppStream 2.0</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p> </li> <li> <p>Provisioned read and write capacity for Amazon DynamoDB tables and global secondary indexes. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html\">Managing Throughput Capacity Automatically with DynamoDB Auto Scaling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> </li> <li> <p>Amazon Aurora Replicas. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Integrating.AutoScaling.html\">Using Amazon Aurora Auto Scaling with Aurora Replicas</a>.</p> </li> <li> <p>Amazon SageMaker endpoint variants. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling.html\">Automatically Scaling Amazon SageMaker Models</a>.</p> </li> <li> <p>Custom resources provided by your own applications or services. More information is available in our <a href=\"https://github.com/aws/aws-auto-scaling-custom-resource\">GitHub repository</a>. </p> </li> </ul> <p>To learn more about Application Auto Scaling, including information about granting IAM users required permissions for Application Auto Scaling actions, see the <a href=\"https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html\">Application Auto Scaling User 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-application-auto-scaling-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(`ApplicationAutoScalingClient`) and the commands you need, for example `DeleteScalingPolicyCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ApplicationAutoScalingClient,\n  DeleteScalingPolicyCommand\n} = require(\"@aws-sdk/client-application-auto-scaling-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ApplicationAutoScalingClient,\n  DeleteScalingPolicyCommand\n} from \"@aws-sdk/client-application-auto-scaling-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 applicationAutoScaling = new ApplicationAutoScalingClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  PolicyName: /**a string value*/,\n  ServiceNamespace: /**a string value*/,\n  ResourceId: /**a string value*/,\n  ScalableDimension: /**a string value*/,\n};\nconst deleteScalingPolicyCommand = new DeleteScalingPolicyCommand(params);\napplicationAutoScaling.send(deleteScalingPolicyCommand).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 applicationAutoScaling.send(deleteScalingPolicyCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\napplicationAutoScaling.send(deleteScalingPolicyCommand, (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-application-auto-scaling-browser\";\nconst applicationAutoScaling = new AWS.ApplicationAutoScaling({\n  region: \"region\"\n});\napplicationAutoScaling.deleteScalingPolicy(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 applicationAutoScaling.send(deleteScalingPolicyCommand);\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-application-auto-scaling-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-application-auto-scaling-browser has been renamed to @aws-sdk/client-application-auto-scaling. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Application Auto Scaling","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-application-auto-scaling-browser_0.1.0-preview.5_1572464137216_0.854006130855204","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-application-auto-scaling-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-application-auto-scaling-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":"5413f153776b5e6c1a4c8d73922fe91f3f0b378f","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-auto-scaling-browser/-/client-application-auto-scaling-browser-0.1.0-preview.6.tgz","fileCount":378,"integrity":"sha512-NC8r/ZTSe/Qp73IBMV6LISvj7fyd5go36xbI+E/a76NUI+CTF1JGFFJ4ssU0SEMLpRJCu/WofXo++L8IGJo6oA==","signatures":[{"sig":"MEUCIQDY0w8A/agBfkEuD8FSu0b1HI0xR5NhhJLTTBW+ccgWUQIga/56XHvhAtcAyyDg+Uo7MVjBRbux96o+VbORlbQvvdQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":327702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FUWCRA9TVsSAnZWagAArhYP/0oV3aBNkzQxu+64BX0F\n4TFFj14VOHuuJVH9YIm5CQOeIfbUqalMbA+7cSXFc2A/YZPGAq7/6M1pH8A5\nXnDdjIcMsgP49d/Ik2fcyRg/hp3e8Wz/SGk6qbb/DJzL4fJcTtAN+ao8ifMT\nxVqllaHZOPzd3AyjpE5UOo0U1WMR61fMnA+Dm+wUOtHRsJ0xJMypsaCTfyZr\nUSm3Oc8YVwviaWRFn3Bx67+cqTxl708gJq+YxtsIpxVuAGF0f833YIIqJ8aA\nirliCG43tBKZ9DjF3YOS51wSZ9XHudcf0j5n+wjH7G8M+Q1Rk9gU+8cvYdxC\nhUHS0VBKTGxV0NBb1L618SwzsuenC00oPDmnNFwV87TEFbiBtePwkLtpPa51\nStGPGHcUsjkVSFeKjREBhtq5uJc2+5KHM8MKKwigeSVUEpquN+TTsqah07i2\nIwFEnynw0O4cN4iqrTB03/Rr+1aVoNTae49mEjvorpZbrz88dKzwDRiyO75w\nMp0tbzpkWxUx/urDDLZiMxnXu4cL5RztGEOoxW0COoJwj0LBOruegOTOvVG9\nwm8Cc3m7FyGkNtph5UhXP4oe46fYQwmiAdyo26nwR7AFHthSOoSfv3faiL4x\nySOpvIrAIEYkBA995L4RBFZ/9zEHbxyj/6PEowC/eN+xCaxZP//Q7nwlqiUc\nOblc\r\n=mCfp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-application-auto-scaling-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-application-auto-scaling-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-auto-scaling-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-application-auto-scaling-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-auto-scaling-browser)\n\n## Description\n\n<p>With Application Auto Scaling, you can configure automatic scaling for your scalable resources. You can use Application Auto Scaling to accomplish the following tasks:</p> <ul> <li> <p>Define scaling policies to automatically scale your AWS or custom resources</p> </li> <li> <p>Scale your resources in response to CloudWatch alarms</p> </li> <li> <p>Schedule one-time or recurring scaling actions</p> </li> <li> <p>View the history of your scaling events</p> </li> </ul> <p>Application Auto Scaling can scale the following resources:</p> <ul> <li> <p>Amazon ECS services. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html\">Service Auto Scaling</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> </li> <li> <p>Amazon EC2 Spot fleets. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-auto-scaling.html\">Automatic Scaling for Spot Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p> </li> <li> <p>Amazon EMR clusters. For more information, see <a href=\"https://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-automatic-scaling.html\">Using Automatic Scaling in Amazon EMR</a> in the <i>Amazon EMR Management Guide</i>.</p> </li> <li> <p>AppStream 2.0 fleets. For more information, see <a href=\"https://docs.aws.amazon.com/appstream2/latest/developerguide/autoscaling.html\">Fleet Auto Scaling for Amazon AppStream 2.0</a> in the <i>Amazon AppStream 2.0 Developer Guide</i>.</p> </li> <li> <p>Provisioned read and write capacity for Amazon DynamoDB tables and global secondary indexes. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html\">Managing Throughput Capacity Automatically with DynamoDB Auto Scaling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> </li> <li> <p>Amazon Aurora Replicas. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Integrating.AutoScaling.html\">Using Amazon Aurora Auto Scaling with Aurora Replicas</a>.</p> </li> <li> <p>Amazon SageMaker endpoint variants. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling.html\">Automatically Scaling Amazon SageMaker Models</a>.</p> </li> <li> <p>Custom resources provided by your own applications or services. More information is available in our <a href=\"https://github.com/aws/aws-auto-scaling-custom-resource\">GitHub repository</a>. </p> </li> </ul> <p>To learn more about Application Auto Scaling, including information about granting IAM users required permissions for Application Auto Scaling actions, see the <a href=\"https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html\">Application Auto Scaling User 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-application-auto-scaling-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(`ApplicationAutoScalingClient`) and the commands you need, for example `DeleteScalingPolicyCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ApplicationAutoScalingClient,\n  DeleteScalingPolicyCommand\n} = require(\"@aws-sdk/client-application-auto-scaling-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ApplicationAutoScalingClient,\n  DeleteScalingPolicyCommand\n} from \"@aws-sdk/client-application-auto-scaling-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 applicationAutoScaling = new ApplicationAutoScalingClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  PolicyName: /**a string value*/,\n  ServiceNamespace: /**a string value*/,\n  ResourceId: /**a string value*/,\n  ScalableDimension: /**a string value*/,\n};\nconst deleteScalingPolicyCommand = new DeleteScalingPolicyCommand(params);\napplicationAutoScaling.send(deleteScalingPolicyCommand).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 applicationAutoScaling.send(deleteScalingPolicyCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\napplicationAutoScaling.send(deleteScalingPolicyCommand, (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-application-auto-scaling-browser\";\nconst applicationAutoScaling = new AWS.ApplicationAutoScaling({\n  region: \"region\"\n});\napplicationAutoScaling.deleteScalingPolicy(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 applicationAutoScaling.send(deleteScalingPolicyCommand);\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-application-auto-scaling-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-application-auto-scaling-browser has been renamed to @aws-sdk/client-application-auto-scaling. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Application Auto Scaling","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-application-auto-scaling-browser_0.1.0-preview.6_1574196502078_0.2256973010695409","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T17:59:54.379Z","modified":"2025-03-27T18:40:06.168Z","0.1.0-preview.2":"2019-09-09T17:59:54.782Z","0.1.0-preview.3":"2019-09-19T15:46:19.027Z","0.1.0-preview.4":"2019-10-29T23:59:57.599Z","0.1.0-preview.5":"2019-10-30T19:35:37.468Z","0.1.0-preview.6":"2019-11-19T20:48:22.259Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for Application Auto Scaling","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}