{"_id":"@aws-sdk/client-config-service-browser","_rev":"19-3b1f77a1adc8f2a6c0d43bbab7a53dc8","name":"@aws-sdk/client-config-service-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-config-service-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-config-service-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":"d705225db35ca0a52df2958abd859540d93fb98d","tarball":"https://registry.npmjs.org/@aws-sdk/client-config-service-browser/-/client-config-service-browser-0.1.0-preview.2.tgz","fileCount":2127,"integrity":"sha512-EPhGwpvNl2f3PiBcHa5kXPr98o/YSlAICRoD6Bg5n9nYP807DiuU6PZL6soqUv7vPzDk4ujw8LjSUulrw7/koQ==","signatures":[{"sig":"MEYCIQCBQZ3hAkfzEDlQT3HTgu8DUO/hJpPinfdqzf/VO9GUnQIhAJSXsenRcPKfKXyPxwx+MNTIctCQSi3XlwRtFICS8L8g","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1196110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpOBCRA9TVsSAnZWagAAk8kP/2oLW1wgS02C9qiagm5s\nvVwzaD2wYWU4cLiIQNv/dC3MI0XvvpAxpfvVRTVVLAQX1qHRfsfEeR9i02GX\ncBx9xCo4u7j2WWQ1crsz2eqqBhE+BNGSzT47cgXcT/TiZMQLeaDcaesYaYRm\na1zMltOxTekbxq/7wPZymdDOdBU+LwQAT+mltNunjVaxgq5UwF7JA8P5mYaH\nXZcCw3EH5tYywX3hOLrxsCkU4y47pHQRm5GtHGmRxLvrioKaAgZzQn07KU98\n3XkHLKW3JcZsfROFHRNtLMzbb2PXTGdN9s4+nSbNHlHjtuV0aowzoJ/Ld0w3\ncSg5nIOVZGu8veWFN4C1IPImZpU6mglKtXP2BgeQAvIJ1dVJu6Hb0Pzl541n\n4f4Pl95Avs5XuS5Zcn55datSQBue0DYh1zRdrwsoT+bcHJjISSohIUQZYLXO\nTDVCIa9ba0oa9GG7j37veUB5t76TQNjWDV0R6N4wM2sw1a3IGVkdoFcYQ8NS\nEN9jdAdepZpAdzRVhuvSRtb/MNGNxd6EJu6ZDbU18wG4EjiEBnxilyHUk5KB\nASgPbO7u+n2PS9SfR/wBptu9vTb5GBPf3EVkrbvEVBLBPsZhLOX/MS09AzhG\nHb7PtDo9Xnb2UTRKVfTG7OOsSZRHMMxMOV5CXAX2cxzDt9nVGmqv5tgOoqNp\nkyyD\r\n=XQPr\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-config-service-browser has been renamed to @aws-sdk/client-config-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Config","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-config-service-browser_0.1.0-preview.2_1568052096960_0.1182662990716905","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-config-service-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-config-service-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":"6838f95c06a6d3ad357270f49b1167a4115b19cd","tarball":"https://registry.npmjs.org/@aws-sdk/client-config-service-browser/-/client-config-service-browser-0.1.0-preview.3.tgz","fileCount":2127,"integrity":"sha512-ABfhmD38J8Dipiyz983XKzU4eFWQ21HR1uxElShGizaFvXI0mKlM31AV0YPAdNbTQotHAW8Iw8Mwm36SC+Thwg==","signatures":[{"sig":"MEUCIQD9+QFKgMxcB0G4GI0O7x9mLIIrMcKbxI9Z9BJnBW5G7gIgCMtTnEAv1IULA2MXfGcnhBOC+wgwjV10skPjlHqUIZE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1196330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6OGCRA9TVsSAnZWagAAmrwP/0kf6uBeQx0wb8kJ02Zv\nn6yGVeLieolz9Q+oNT6fGN3asFbVIWnvgFZTPqPUwbcwiyKGDlDNYxTrUPmy\nPIn2A0aVnzdbwGNpmdhuzjK35DRNHVjQRpB9cJQmtthE8wFU/678n01gy3Yc\njMmYCPbXMXB7VT9B+AHbIHB4wuiHuG7GBR5diu4bQp6/5lQ5jsFbnLqWBJpL\nF8xNi/zjngVJRCX/bXJkkDDjH3HEajHyt2cvD7HY1IfQHdkQNX8qZzzXXPb5\nSWfS3UZXBUEzYH6O4NMci3tvIL4FfhL7f45am8o6p3K9ULKr5ZiDVYNJQt81\nhrc9a2WmtzlVuaZ6tnVJoEbUjsyt+oBE3Rx6ev7kV5mIQpB4QBztI+o/tABZ\nQbnxViwe1enwFN/LjubXKuDG97w2cF6mZBber3jxYjXRLZ520jKv/edgYkNL\nIHu6pj5Fy6GciQGpqp3Es3DDK5A1sZ9+6+WgnwkJ6/WfoRraBy0lOMKF9u+l\nDKGpcMqQNNMGv7jL3qf4Q+6IMJfE3Y5whyJbOaq++s9M8OpIk4IHDk47ZQRQ\nvDTs+fsQ3b1xhP8AKdhXMiOHvaC1llCngZA20WU+/YBl6p0n9IUl71w16alG\nzLlgmoi4BX16UPpw+P5PHN9r24dU3gCzXjMSQXRPrQA7y7aG8/UqpgxqLZ54\njRA9\r\n=dPJL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-config-service-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-config-service-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-config-service-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-config-service-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-config-service-browser)\n\n## Description\n\n<fullname>AWS Config</fullname> <p>AWS Config provides a way to keep track of the configurations of all the AWS resources associated with your AWS account. You can use AWS Config to get the current and historical configurations of each AWS resource and also to get information about the relationship between the resources. An AWS resource can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an elastic network Interface (ENI), or a security group. For a complete list of resources currently supported by AWS Config, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources\">Supported AWS Resources</a>.</p> <p>You can access and manage AWS Config through the AWS Management Console, the AWS Command Line Interface (AWS CLI), the AWS Config API, or the AWS SDKs for AWS Config. This reference guide contains documentation for the AWS Config API and the AWS CLI commands that you can use to manage AWS Config. The AWS Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 Signing Process</a>. For detailed information about AWS Config features and their associated actions or commands, as well as how to work with AWS Management Console, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html\">What Is AWS Config</a> in the <i>AWS Config Developer Guide</i>.</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-config-service-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(`ConfigServiceClient`) and the commands you need, for example `BatchGetAggregateResourceConfigCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ConfigServiceClient\n} = require(\"@aws-sdk/client-config-service-browser/ConfigServiceClient\");\nconst {\n  BatchGetAggregateResourceConfigCommand\n} = require(\"@aws-sdk/client-config-service-browser/commands/BatchGetAggregateResourceConfigCommand\");\n```\n\n```javascript\n//TypeScript\nimport { ConfigServiceClient } from \"@aws-sdk/client-config-service-browser/ConfigServiceClient\";\nimport { BatchGetAggregateResourceConfigCommand } from \"@aws-sdk/client-config-service-browser/commands/BatchGetAggregateResourceConfigCommand\";\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 configService = new ConfigServiceClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  ConfigurationAggregatorName: /**a string value*/,\n  ResourceIdentifiers: [ /**a list of structure*/ ],\n};\nconst batchGetAggregateResourceConfigCommand = new BatchGetAggregateResourceConfigCommand(params);\nconfigService.send(batchGetAggregateResourceConfigCommand).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 configService.send(batchGetAggregateResourceConfigCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nconfigService.send(batchGetAggregateResourceConfigCommand, (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-config-service-browser/ConfigService\";\nconst configService = new AWS.ConfigService({ region: \"region\" });\nconfigService.batchGetAggregateResourceConfig(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 configService.send(batchGetAggregateResourceConfigCommand);\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-config-service-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-config-service-browser has been renamed to @aws-sdk/client-config-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Config","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-config-service-browser_0.1.0-preview.3_1568908165896_0.5203293261651072","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-config-service-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-config-service-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":"b4e2fe4026774ba809966fb1e82f3b6094a5d79c","tarball":"https://registry.npmjs.org/@aws-sdk/client-config-service-browser/-/client-config-service-browser-0.1.0-preview.4.tgz","fileCount":2127,"integrity":"sha512-19tJvj2bniCp4RUP5ZG+sjyPMAjGH718jIczJ5v1+ri6UOw4CD66h5YdQoAh2g6FGkmQB5xeVljuDdzX6zM8UA==","signatures":[{"sig":"MEQCIHj5hr04/zjfogelN1ZSipRrjtMQulaxC0pOX+5cDSAbAiBP7bfiZ9kpNZDpnvpbDnXyD+ujw9KTV7eN4cHEBQSvFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1196300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNLSCRA9TVsSAnZWagAAXN0P/1O1BgOG5N7iPtcMZOo3\n4mMoqj2wgFNVHZ7adrvq5PEeAU2BwljEwiv5dddrTVatNL9d8hKK4ODHgLsm\nkEWWdJXR4vSEm5Iaer1l2bhNFSd6U/bNhdALgYsH4hPYWMatywQil16wnAum\nJWPV9jFiGHjIbph7c57pEjUnK/IhavydeIKUmT2kAmFEUokpubpA0EflnjQq\nfEmoNsP5N2sRUtY/z+/Gggr5ulzGVrNcc18p9srhf0c9AEZxyP3sa/rDrYB2\nYdZ5XPn/m+BIfOkFYnLZ2DuwU1p5gxUGB6K3m8BQ+6L3bI6kvV3lx7M4UaQf\nPJpVkiIKid2gmp+88xioW5x1LP1KpnAxErf6VUwdvNdLIVNBAzb4x8w9bPVb\n7oEF6j2Np2uX7vjN5fkX0eicDPDGOniawdBsFir6Am2UB7BAQmuJDFq93VRa\nzTbff7JNzT3r1Vc5NMDJrChKNJdhirAY5KflpqKj36KW68L5l889TZTF1tc3\nDqP/u1dXkS10HBMAqLJcD4Yc1CLYkKhXdsUu58gHUiB9OTP4dujcBMJzNnO/\n+1AvIZU0mZ27pdMcEWuDKgbGpkYDrfMtvjpK4/M9jbKwsTPalTf/N8LK44St\nj5uFqbIShAzyXWcEElXAR6GGXVmaqe6QDzWU0LLiyV9AOaVHmcw1E4dTdgSV\nLDDi\r\n=jVpi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-config-service-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-config-service-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-config-service-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-config-service-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-config-service-browser)\n\n## Description\n\n<fullname>AWS Config</fullname> <p>AWS Config provides a way to keep track of the configurations of all the AWS resources associated with your AWS account. You can use AWS Config to get the current and historical configurations of each AWS resource and also to get information about the relationship between the resources. An AWS resource can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an elastic network Interface (ENI), or a security group. For a complete list of resources currently supported by AWS Config, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources\">Supported AWS Resources</a>.</p> <p>You can access and manage AWS Config through the AWS Management Console, the AWS Command Line Interface (AWS CLI), the AWS Config API, or the AWS SDKs for AWS Config. This reference guide contains documentation for the AWS Config API and the AWS CLI commands that you can use to manage AWS Config. The AWS Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 Signing Process</a>. For detailed information about AWS Config features and their associated actions or commands, as well as how to work with AWS Management Console, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html\">What Is AWS Config</a> in the <i>AWS Config Developer Guide</i>.</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-config-service-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(`ConfigServiceClient`) and the commands you need, for example `BatchGetAggregateResourceConfigCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ConfigServiceClient,\n  BatchGetAggregateResourceConfigCommand\n} = require(\"@aws-sdk/client-config-service-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ConfigServiceClient,\n  BatchGetAggregateResourceConfigCommand\n} from \"@aws-sdk/client-config-service-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 configService = new ConfigServiceClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  ConfigurationAggregatorName: /**a string value*/,\n  ResourceIdentifiers: [ /**a list of structure*/ ],\n};\nconst batchGetAggregateResourceConfigCommand = new BatchGetAggregateResourceConfigCommand(params);\nconfigService.send(batchGetAggregateResourceConfigCommand).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 configService.send(batchGetAggregateResourceConfigCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nconfigService.send(batchGetAggregateResourceConfigCommand, (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-config-service-browser\";\nconst configService = new AWS.ConfigService({ region: \"region\" });\nconfigService.batchGetAggregateResourceConfig(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 configService.send(batchGetAggregateResourceConfigCommand);\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-config-service-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-config-service-browser has been renamed to @aws-sdk/client-config-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Config","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-config-service-browser_0.1.0-preview.4_1572393681971_0.9861525385039442","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-config-service-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-config-service-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":"b07499db1f3346b6e63cdde9a7a8be423f2cc7ee","tarball":"https://registry.npmjs.org/@aws-sdk/client-config-service-browser/-/client-config-service-browser-0.1.0-preview.5.tgz","fileCount":2127,"integrity":"sha512-Vz1wV3J6hWzqRifbOcD98+avQ6fqrDfrhiZ++jTjgVAgHgIU67dbNX86XsRwke7Em40pyBNnjaJuVsvlTSC+qA==","signatures":[{"sig":"MEUCIHUvIsHAAaY+NJ7VOWt+qIJbQJYtK497/SQnaE/b9ip/AiEAyMw5wIEiGsSpDZa44QWE6KLyF+z+/3gq5uunf7dPn9A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1196544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueZjCRA9TVsSAnZWagAAR9QQAJzAU0L9XYQUhUVzQN3e\nfRBB3vUsquXeF24FPUckOQRs+uB7Zn94OU5qgxpyJhOM/I6lZ8yEXcI7kClw\nmhrJLXLEGv1PYRx20CPc2TZUc9SzwtH6GLPxVluSlrcygEwkFHTSxUVWrM61\nNCYN+QKEdpL9R9zfhQPmLQ7W65JJvkvBONXUfsY/LYQvcvBCUYGe9BBARvHZ\neBI7pFKTuewSQbfcCzxPaap6+ciWH7d5gvVjHthQZ9CmT29w5V/Tj1ZOhAYT\nwUmTFYnausg/zFD6WQopNxR9DXK9A8pGfzbuOnf73gTxa0V2xfsW7yQGbdmB\nXcow61w6RoFqpoC904+RbfxcYqa5ZOpt13x7WE+iqZaFJr2dmc5iqHce+kEv\nX3FVb2JrWM9So65saJ0NWmRrs0zkoY4Bn0uuuyXbDTvYETQOMySSvz6pOl3F\nJRa7ALRTQd6a2lxRZH2xHq4tfNxWFRP+W9slj3RXVkzU9RpCwOZ/FQK93dBM\niU4hUGKzEQ8cWSNVuhzp8qllLPr8bQmcdmNoZdHwjPUafoUT85UT5n/mpsBJ\nlkrCCRolUF7XWDPkqM1AuqUyOaRw4JhzSqtjGRSju0sDe51Q7DHuOjrMijOW\nUiz/9PK7W4JImMItOyiD8UlPaZEq4Irhv0tQKgle+2VWjGtc0OVskjs1bmYE\nWXmA\r\n=zNzD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-config-service-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-config-service-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-config-service-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-config-service-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-config-service-browser)\n\n## Description\n\n<fullname>AWS Config</fullname> <p>AWS Config provides a way to keep track of the configurations of all the AWS resources associated with your AWS account. You can use AWS Config to get the current and historical configurations of each AWS resource and also to get information about the relationship between the resources. An AWS resource can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an elastic network Interface (ENI), or a security group. For a complete list of resources currently supported by AWS Config, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources\">Supported AWS Resources</a>.</p> <p>You can access and manage AWS Config through the AWS Management Console, the AWS Command Line Interface (AWS CLI), the AWS Config API, or the AWS SDKs for AWS Config. This reference guide contains documentation for the AWS Config API and the AWS CLI commands that you can use to manage AWS Config. The AWS Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 Signing Process</a>. For detailed information about AWS Config features and their associated actions or commands, as well as how to work with AWS Management Console, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html\">What Is AWS Config</a> in the <i>AWS Config Developer Guide</i>.</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-config-service-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(`ConfigServiceClient`) and the commands you need, for example `BatchGetAggregateResourceConfigCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ConfigServiceClient,\n  BatchGetAggregateResourceConfigCommand\n} = require(\"@aws-sdk/client-config-service-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ConfigServiceClient,\n  BatchGetAggregateResourceConfigCommand\n} from \"@aws-sdk/client-config-service-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 configService = new ConfigServiceClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  ConfigurationAggregatorName: /**a string value*/,\n  ResourceIdentifiers: [ /**a list of structure*/ ],\n};\nconst batchGetAggregateResourceConfigCommand = new BatchGetAggregateResourceConfigCommand(params);\nconfigService.send(batchGetAggregateResourceConfigCommand).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 configService.send(batchGetAggregateResourceConfigCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nconfigService.send(batchGetAggregateResourceConfigCommand, (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-config-service-browser\";\nconst configService = new AWS.ConfigService({ region: \"region\" });\nconfigService.batchGetAggregateResourceConfig(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 configService.send(batchGetAggregateResourceConfigCommand);\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-config-service-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-config-service-browser has been renamed to @aws-sdk/client-config-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Config","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-config-service-browser_0.1.0-preview.5_1572464227366_0.9007837156223586","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-config-service-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-config-service-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":"5af53025aa1773954b8b46c81695f8ef25ab6d19","tarball":"https://registry.npmjs.org/@aws-sdk/client-config-service-browser/-/client-config-service-browser-0.1.0-preview.6.tgz","fileCount":2127,"integrity":"sha512-sKJvqaQgZObJ2Hd6KDZw2m/5R62TmiEH5cIhYhRWE6bugSuugbQPexfbsHm+7EkoUwpyBLXd9Sjve/SMYei/lA==","signatures":[{"sig":"MEQCIB7topVOFIinnkc8Z0udaZiv4pLoxl3mHkG/+LlBPHjjAiB10ABY1vcW009TksTx5FBMg8f/6DUt1Pd+67ZHvv2pCQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1196815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FU7CRA9TVsSAnZWagAASuEQAIF9Qs6aYdkxBq3S+JNK\n06Bx4r7Q+5K8mDWda3R7Frb/WkvEcSam6chlSeRAaFUrvaPLwRmeOHt6xaiW\nCREtX7QiPkszOYi9J8EOYlfdK34WFzIXL04IGQD4/c/JAeAlekaYXHnw+7D8\n14Jhlr+DzsgsG/8mhbIQ8vLcP/5r0V7ihjCERNER5V73UEkq/mCThqnXSlar\nNj6SUGw4YZvsCJNHDkyTnhYAnge3CFQz8X1UZ5L+e4WmtgsAXsNJ9PHBSh4i\nImeamGP9gmQGf4TjeIDO1WBHgefVf3+RW1tT9C2iqJc6wTq7qG5yyAgCPAhB\nfyakj+LLXZXsFfisGpYm6bvJ6W+a87E1lZRHU2CRLeaH7ClslI8jHkN3qpBl\nNWO2WZXz+BCJv4yuk8LTFHW2SHgwG6lNckNYa9VaRcwRU3RXjSsJSSrJTgWr\nrbL+DqtG2liJrp+jZy+ALGbm+l5AXK2Ycv7tqEy2ooMiCZl0Mw/gh5QSDzFL\nS8rXWj90seo6GHpmlv6ynG7PFgiT8ra7lFqpwvOh9kixerUecqgcR4UbwazZ\nmayA9bPYHpfFp3ug0hZCDgPalo+0jmB419kDLBIZ5vl/ZNYMM+Y9Vk1tb2ux\nL/Cc00jjq5LgsomQkfgCdEO2gVz9ADrSYvVYe5FER/AkWY8wc5RjjWeL8n/p\nTUUS\r\n=Msva\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-config-service-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-config-service-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-config-service-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-config-service-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-config-service-browser)\n\n## Description\n\n<fullname>AWS Config</fullname> <p>AWS Config provides a way to keep track of the configurations of all the AWS resources associated with your AWS account. You can use AWS Config to get the current and historical configurations of each AWS resource and also to get information about the relationship between the resources. An AWS resource can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an elastic network Interface (ENI), or a security group. For a complete list of resources currently supported by AWS Config, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources\">Supported AWS Resources</a>.</p> <p>You can access and manage AWS Config through the AWS Management Console, the AWS Command Line Interface (AWS CLI), the AWS Config API, or the AWS SDKs for AWS Config. This reference guide contains documentation for the AWS Config API and the AWS CLI commands that you can use to manage AWS Config. The AWS Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 Signing Process</a>. For detailed information about AWS Config features and their associated actions or commands, as well as how to work with AWS Management Console, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html\">What Is AWS Config</a> in the <i>AWS Config Developer Guide</i>.</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-config-service-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(`ConfigServiceClient`) and the commands you need, for example `BatchGetAggregateResourceConfigCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ConfigServiceClient,\n  BatchGetAggregateResourceConfigCommand\n} = require(\"@aws-sdk/client-config-service-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ConfigServiceClient,\n  BatchGetAggregateResourceConfigCommand\n} from \"@aws-sdk/client-config-service-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 configService = new ConfigServiceClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  ConfigurationAggregatorName: /**a string value*/,\n  ResourceIdentifiers: [ /**a list of structure*/ ],\n};\nconst batchGetAggregateResourceConfigCommand = new BatchGetAggregateResourceConfigCommand(params);\nconfigService.send(batchGetAggregateResourceConfigCommand).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 configService.send(batchGetAggregateResourceConfigCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nconfigService.send(batchGetAggregateResourceConfigCommand, (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-config-service-browser\";\nconst configService = new AWS.ConfigService({ region: \"region\" });\nconfigService.batchGetAggregateResourceConfig(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 configService.send(batchGetAggregateResourceConfigCommand);\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-config-service-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-config-service-browser has been renamed to @aws-sdk/client-config-service. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for AWS Config","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-config-service-browser_0.1.0-preview.6_1574196539365_0.44052428908335006","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T18:01:36.776Z","modified":"2025-03-27T18:41:30.174Z","0.1.0-preview.2":"2019-09-09T18:01:37.289Z","0.1.0-preview.3":"2019-09-19T15:49:26.185Z","0.1.0-preview.4":"2019-10-30T00:01:22.285Z","0.1.0-preview.5":"2019-10-30T19:37:07.550Z","0.1.0-preview.6":"2019-11-19T20:48:59.558Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for AWS Config","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}