{"_id":"@aws-sdk/client-application-insights-browser","_rev":"19-55c9d9109b046130a09d127cb1f42e8f","name":"@aws-sdk/client-application-insights-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-insights-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-insights-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":"8ab4dd2c5e33f375f00560729ca0f81238122331","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-insights-browser/-/client-application-insights-browser-0.1.0-preview.2.tgz","fileCount":440,"integrity":"sha512-jZ4kJRydzXW8+N0drkWeScKYZGJCXyjPYiSakfPp5k7KG4BoRxDXkfAl2LHdqCamjVzGNjJLQ68V53X6Cc44bA==","signatures":[{"sig":"MEUCIQD/3dmFAB/omesNYJuCt8GWdCMm+jHDSM6Cy+dNyf/jOQIgC5cS0K4Hqjyp+IMGiIYUG7iK8Nzo2aY2X0yJC0nyIXo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddo4bCRA9TVsSAnZWagAACzAP/3uqJxPoW0+I327pd2tI\n5KIHCLuFCSrfTjUYc5pPZtALs0sFkxOm5fmQJytQm70XHtSQBt1ZiufNuP15\nl7mweUA9IpZ3cqddNGFnF30Pq6nSCbvKOaWSV9m9kd8LsfwZeLYFuY5cz5dj\nsbXpQ68iimtKX4OBBeb0qDc15ihEAiyJvaUelbHECLi6hzRoB8KBtTa5Slk8\n9BNyAbobqflFy18f8Tj5PQTdwQ2fy1aBNr7uw4dm+PgHeDnhKomlP1tO+Vkt\n91g9MpKlsTpC905EQE52zzpw/vUWSnxky4+003wY6J2/LFsOU9w+0e/S6xqe\nOkoR8/y0kkakyvSRAG2UFHhW2BdMXmt4uq/e0OWS3rBtHqSQ7V6LhgXJ8+DV\nUYRXcVM2ZMh3PjJ1L38HYeaFIuSS5UmWpWdkAWXQqXrn2w2XSdBX69ZeuQKu\n/WNp7zwKqwuM7580+F3DHmf7LjugMfpVuyWKQYUhnqZ6xk7l3VdsxZtqc/nY\nf7t0NwphoCOsDPMkEa/5bcjSuMfC8S8taehsl+TyEEKzoaphtTDB9/VCJUde\nSxLu2Hp+D6ApemSHZkZZmFd+2/4+ts+BDzO0l2UB2FwBKNinMwwMOHFnQesg\nIk3gb1sxS71a4gaxfCDyiSpriuHDr4cBaz8zVyXVxtIQDdom6PXgMRsc4Bgm\nPfkW\r\n=Hhpm\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-insights-browser has been renamed to @aws-sdk/client-application-insights. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon CloudWatch Application Insights","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-application-insights-browser_0.1.0-preview.2_1568050714696_0.19760354850652462","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-application-insights-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-insights-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":"cf0ff4c89a7918068ad52eff736fead88639f383","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-insights-browser/-/client-application-insights-browser-0.1.0-preview.3.tgz","fileCount":440,"integrity":"sha512-7sP+ncUTtHu+NfnLquWqKy3z8f097NocuZTmrOwQDTtgFMwww1oOXG1jNwEqrxwbMOElktq4M1NmauYWrDj4Ng==","signatures":[{"sig":"MEUCIQCHjDejORajc/PBuASXzdj/jGMeBItUpNSo9LE5aAI2egIgKO1Rf01oG7+jBeBKCrUl46VEvi2BitypNI2l3ejTUOY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6LNCRA9TVsSAnZWagAA3J0P/03gL/VmRUgVRIUP/iTo\nbCOV+Z1sRjn1++9nmZb+hIlNz+Y5J63UzgZTnU/+1k3XgVsivhFTykfMNRXR\nK+6IQJTqi00nZRph0/OxHUEAkSlo/fLRJoJZRyGd8js3ZxGiUo4FiyxggtCf\n5g6pTEl2mu4y29oqxeN64x/EfQALWGtKFARfcavlTBtsn4XvlixzoAmLrsPL\nDmQGbUfPcXk5NKqK/U1sw9L8r61R8PHWKMTLKwvsQAkV5bABCpabU4+jAY77\nC6y7ZZgS8oDAaGZq4EoulX/lc7MRSD1ItcahPLb5jeEBYd3XGTXrPYmi5TUp\nxV0sOUKTmd2G4ln8GzdZKJOSeHTOe1gCSODk5C+6kn/IiEL8YOSQk4Nwi7pm\n5+sToJHyL7GxEssDwN1gQw3FYrxupFOHYJAxd1DUO8znLE+cJx/TnSd7V9FE\ndBG1qK0/i6Qfhc8FzXgBRQM8imNSq5q/jTJ0kP3jOtAvrSYTchw631mo0P5o\nvvc87lnfuYflPYWs8pBzUuCIpl/LJ0LoXT89EtGvgVy+r48V076gmhAA33dO\n+iWam8i1qScvWvUAHMo4jUvyLGf5c8DYmLGtqA4V4z7KX1NZjIctUp16iAoU\nh1il3mblzQOZjNFah+t7TBS9KpjFfKi86uzJKbfw9Bz2IrLWn3WBst6eGKTu\nl2MD\r\n=SnMi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-application-insights-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-application-insights-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-insights-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-application-insights-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-insights-browser)\n\n## Description\n\n<fullname>Amazon CloudWatch Application Insights for .NET and SQL Server</fullname> <p> Amazon CloudWatch Application Insights for .NET and SQL Server is a service that helps you detect common problems with your .NET and SQL Server-based applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into detected problems.</p> <p>After you onboard your application, CloudWatch Application Insights for .NET and SQL Server identifies, recommends, and sets up metrics and logs. It continuously analyzes and correlates your metrics and logs for unusual behavior to surface actionable problems with your application. For example, if your application is slow and unresponsive and leading to HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you that a memory pressure problem with your SQL Server database is occurring. It bases this analysis on impactful metrics and log errors. </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-insights-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(`ApplicationInsightsClient`) and the commands you need, for example `CreateApplicationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ApplicationInsightsClient\n} = require(\"@aws-sdk/client-application-insights-browser/ApplicationInsightsClient\");\nconst {\n  CreateApplicationCommand\n} = require(\"@aws-sdk/client-application-insights-browser/commands/CreateApplicationCommand\");\n```\n\n```javascript\n//TypeScript\nimport { ApplicationInsightsClient } from \"@aws-sdk/client-application-insights-browser/ApplicationInsightsClient\";\nimport { CreateApplicationCommand } from \"@aws-sdk/client-application-insights-browser/commands/CreateApplicationCommand\";\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 applicationInsights = new ApplicationInsightsClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  ResourceGroupName: /**a string value*/,\n};\nconst createApplicationCommand = new CreateApplicationCommand(params);\napplicationInsights.send(createApplicationCommand).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 applicationInsights.send(createApplicationCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\napplicationInsights.send(createApplicationCommand, (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-insights-browser/ApplicationInsights\";\nconst applicationInsights = new AWS.ApplicationInsights({ region: \"region\" });\napplicationInsights.createApplication(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 applicationInsights.send(createApplicationCommand);\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-insights-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-insights-browser has been renamed to @aws-sdk/client-application-insights. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon CloudWatch Application Insights","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-application-insights-browser_0.1.0-preview.3_1568907980385_0.6426607783712486","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-application-insights-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-insights-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":"4ffe793c85b1bd26888d581fd5879f7ff0bd6970","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-insights-browser/-/client-application-insights-browser-0.1.0-preview.4.tgz","fileCount":440,"integrity":"sha512-gXDRQfCva7GvpfbzRr5CPmOn5Rk8YEUmlVLt2lB/lBme+jFS3225uYFQpAOY00q67o9vO1KzhG4MSN/+bY4Q0Q==","signatures":[{"sig":"MEQCIHbJdM0a6qOA0OqVRzIeDUMorGZnNuZ+FtP5aRimTyNsAiBJq+HYShI4RAELQWGaFkvUFkiWEh5yhrP2yn0Eb91LUg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduM5VCRA9TVsSAnZWagAAV4UP/jUHDqd9OtpjrUSS+CFx\nyo3tYsT5/Yi8+ehouH7dD0Lvu3SrTwnEzsB02YeO+zyv1xTtgUsZeMeLwmxA\nwviiep15v+yLrQDnz8WbpVrxhVuDdT7Qj0SDpBbxnnshhRL8+c0v77DUf2GG\nDVhHaKmZRbE2xkkr1+oDrbVanXIVj2i2c6ymWPCV1tWJDp+dZQh0HGas9TGO\no5lV/jBCsj1J4Jwi0eyFU5q1YfDZSd6MSoF2MVwNgergFojPyDS1dM5AifIT\n7z9VO90QqoYmPfFZaMAqLoIRlJAW/u+9n0xynlCYB33Q3uL7zoiwHaBvyShX\nZfdqxmqdEPA4gcy20NXPTB4baVD186b47nsii4REiwpAZVH0ZyL/jsj/+iYM\noaG4bvrLG5aYtLrnd0P+8rvSqdE7+RwrgFvbNCWszIFrnbo7HoaEVz4JhAXU\n1oa4BvzS74xMPbHQdb9TKTqgeymGVRq4fv6sGASAPlZkf2hn8bCXoZJjQpT/\n9SyKZBRM/p9AYQ9t6v7/8nOqNsEZFZjL7CiQX7tIBwz6dqJHfU2xOQ5jdzLe\nlifk9U2MYLg9OrjdJH0v7pCf6bNp0yZytM5ZKAcZlfWxcBicZXlOx6GsHxj9\nOoY2gQJWJAUJ0Rrvuzjsqhtkc7wOUxl1XmQHp7RNodtexjtYuQ+MDVy86yHH\nne90\r\n=Tw94\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-application-insights-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-application-insights-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-insights-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-application-insights-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-insights-browser)\n\n## Description\n\n<fullname>Amazon CloudWatch Application Insights for .NET and SQL Server</fullname> <p> Amazon CloudWatch Application Insights for .NET and SQL Server is a service that helps you detect common problems with your .NET and SQL Server-based applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into detected problems.</p> <p>After you onboard your application, CloudWatch Application Insights for .NET and SQL Server identifies, recommends, and sets up metrics and logs. It continuously analyzes and correlates your metrics and logs for unusual behavior to surface actionable problems with your application. For example, if your application is slow and unresponsive and leading to HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you that a memory pressure problem with your SQL Server database is occurring. It bases this analysis on impactful metrics and log errors. </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-insights-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(`ApplicationInsightsClient`) and the commands you need, for example `CreateApplicationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ApplicationInsightsClient,\n  CreateApplicationCommand\n} = require(\"@aws-sdk/client-application-insights-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ApplicationInsightsClient,\n  CreateApplicationCommand\n} from \"@aws-sdk/client-application-insights-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 applicationInsights = new ApplicationInsightsClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  ResourceGroupName: /**a string value*/,\n};\nconst createApplicationCommand = new CreateApplicationCommand(params);\napplicationInsights.send(createApplicationCommand).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 applicationInsights.send(createApplicationCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\napplicationInsights.send(createApplicationCommand, (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-insights-browser\";\nconst applicationInsights = new AWS.ApplicationInsights({ region: \"region\" });\napplicationInsights.createApplication(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 applicationInsights.send(createApplicationCommand);\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-insights-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-insights-browser has been renamed to @aws-sdk/client-application-insights. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon CloudWatch Application Insights","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-application-insights-browser_0.1.0-preview.4_1572392532996_0.2093979859058792","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-application-insights-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-insights-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":"1c9d63d7dfa8671759f01a7b46711ddc1f5faf9a","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-insights-browser/-/client-application-insights-browser-0.1.0-preview.5.tgz","fileCount":440,"integrity":"sha512-Y58hBsCgzQYYlFvLOaVl4e0QW5XqnFskmY0+63jKf1xaHKuypep51MX87DF1JjTHp4IAlQb/tuzdXcnrWqDLiA==","signatures":[{"sig":"MEYCIQDW1jEYT/9gCT2CTiGSzQtbTWh7hdhGZ0XI5Jo/qbwG0gIhAJDV6Y9c7DLrtttr2tRd93QE4046KCL1qVQFUxf6nCQY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueE3CRA9TVsSAnZWagAAqc8P/2pH+hdtrdGmgWqpA2YJ\ncvIPpiUQdV+JRliDV97Q6ZKYttctHXDkdvbwL2sF/qDgFlPoXB8PkkyweJMG\n4rKy32Lpge7ILEMyZRsQh1W1wfrHLVenrHMFv/WC+4ytzWhJUgSK+GE4a0g0\nMdsv9uL4uZj0pF097OwQqVCtNv1fNb26WzKP424zuxiVrHhHwjfCcbDf1dNn\nhl7TT7CH/SUllu3CGBKfbTmfx4unJEJo5mfXeElwwn62iQWPevrpvf4nSsWC\nTtg03HaITr/yfFPZueAI3zrURRv3Jtx4uKivCvX+GiH96pW6mg5qxCi1gt/d\nv1qiTaKoh3LX5FXB3cvfF3HbSdrMAoyalPx0tYTV2HpcQ0ssRlRzFWAENect\na/FC4UItQSzpu615rfJGwbRPgc5PXznA1cLcSAgPav38Hux4wI0rzpO9fPIX\nzIGaNT6UDfA3ujCKH4Ox4dZsLHbP/ejtBPR0OhneKa/FuUFjGYRuTUpOBxQB\nXVTzTO08gLl9wwJhr23OmZfNmIQsRjZKtGxIVt64hUFs43frfjwAZ5cUdqso\nLnBt8zxUyC4INPZBRNpi33TbJbgGAgWd0xIMqVQH6Rxb5MGaq4pUh6OcgQaG\nWty9AYAWmzJRRxPrsrX+rVBl6pQ/bJ6jJJ/txXBOeExQxGk3saNBJMUPgX0l\npTj3\r\n=K2je\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-application-insights-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-application-insights-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-insights-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-application-insights-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-insights-browser)\n\n## Description\n\n<fullname>Amazon CloudWatch Application Insights for .NET and SQL Server</fullname> <p> Amazon CloudWatch Application Insights for .NET and SQL Server is a service that helps you detect common problems with your .NET and SQL Server-based applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into detected problems.</p> <p>After you onboard your application, CloudWatch Application Insights for .NET and SQL Server identifies, recommends, and sets up metrics and logs. It continuously analyzes and correlates your metrics and logs for unusual behavior to surface actionable problems with your application. For example, if your application is slow and unresponsive and leading to HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you that a memory pressure problem with your SQL Server database is occurring. It bases this analysis on impactful metrics and log errors. </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-insights-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(`ApplicationInsightsClient`) and the commands you need, for example `CreateApplicationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ApplicationInsightsClient,\n  CreateApplicationCommand\n} = require(\"@aws-sdk/client-application-insights-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ApplicationInsightsClient,\n  CreateApplicationCommand\n} from \"@aws-sdk/client-application-insights-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 applicationInsights = new ApplicationInsightsClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  ResourceGroupName: /**a string value*/,\n};\nconst createApplicationCommand = new CreateApplicationCommand(params);\napplicationInsights.send(createApplicationCommand).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 applicationInsights.send(createApplicationCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\napplicationInsights.send(createApplicationCommand, (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-insights-browser\";\nconst applicationInsights = new AWS.ApplicationInsights({ region: \"region\" });\napplicationInsights.createApplication(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 applicationInsights.send(createApplicationCommand);\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-insights-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-insights-browser has been renamed to @aws-sdk/client-application-insights. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon CloudWatch Application Insights","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-application-insights-browser_0.1.0-preview.5_1572462902514_0.9975814516910306","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-application-insights-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-insights-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":"655ad0df3cdff857b8136e15990065d039a7fd00","tarball":"https://registry.npmjs.org/@aws-sdk/client-application-insights-browser/-/client-application-insights-browser-0.1.0-preview.6.tgz","fileCount":440,"integrity":"sha512-lK9DU5zyos651BipexSxGtpf9sOjuzPUb7nD4gHJ9CV6fRYv8uNHvI7MZAFmfUcfju06h/srp3frp3gSsztxTA==","signatures":[{"sig":"MEUCIA0DpDP9Y1Mt9FGHoOCeetZdtaVXZKgtp6ZcAswyJHH7AiEA6U/Zgsc3x7ROGIYMykHrsq0VBRMFI1telHC/TrmYNwk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":265846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FMACRA9TVsSAnZWagAAPWIQAIrjbtZUE9Dt1kZy1ptx\nrgHIA6mKcXh6HOuos928UshQaW1I4bTA1Uz5w7ZDyBugeegP5QcqrTLDoVJT\nB6MOhH2S6nqYZzKbiZwnM6Z4kGQ6WylKLk4wGhl59TiXyu0wJjlJg1ivJdzG\ns2/90FmqzfVuJ6n7ppKrTxbXzALvQSLb23MEDmrDdVv7imtQ5q+gCy690Qzb\nbXf9oMpR/RHCcF/bXiwaJa8nuc+BJ3Xiw0dKc2aree3m/3WEstJZ/GYNVD23\ntBlGvqSCHqGb4G7PgrslOqT8sK+T4bUyzwrcxeJlO0OAbKiYg0TImRv0uycE\nSDX/qwakeiHTen3EN+GnUJhS3I8bWFH+GhnUB+n0eUCx2O7qEz20CITMCZmu\nFwk4GKLfl9Q8joK7VNvqpqIVcUeaIa1H0R6SHhvtCBaLjSV/UzocQaojJUCI\nmT+YK4LCGNImIXsOsHTZwJHMiOKN+HgxWzc8PKHfpc/xsWod+awotAWUm3ML\nC9Qn2fbNuJWq5a5QoRUTMWOCEHwUUHT8EiA3/8ik6YbgX27NETPnSOQQz0Zf\nTjWg8BpXgY6K/Xh/g4X5+k6uGvn3btS7Y4cz+BpTV0Oc2A4v8sq36IXf6vv+\nWhz+V+/5jCUxVtVeVfw+CVUlcex3AaKQiKqIH48e/tDBrq4m6TzGT3wLcshi\nhtJS\r\n=ASKL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-application-insights-browser\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-application-insights-browser/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-insights-browser)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-application-insights-browser.svg)](https://www.npmjs.com/package/@aws-sdk/client-application-insights-browser)\n\n## Description\n\n<fullname>Amazon CloudWatch Application Insights for .NET and SQL Server</fullname> <p> Amazon CloudWatch Application Insights for .NET and SQL Server is a service that helps you detect common problems with your .NET and SQL Server-based applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL Server), by providing key insights into detected problems.</p> <p>After you onboard your application, CloudWatch Application Insights for .NET and SQL Server identifies, recommends, and sets up metrics and logs. It continuously analyzes and correlates your metrics and logs for unusual behavior to surface actionable problems with your application. For example, if your application is slow and unresponsive and leading to HTTP 500 errors in your Application Load Balancer (ALB), Application Insights informs you that a memory pressure problem with your SQL Server database is occurring. It bases this analysis on impactful metrics and log errors. </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-insights-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(`ApplicationInsightsClient`) and the commands you need, for example `CreateApplicationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ApplicationInsightsClient,\n  CreateApplicationCommand\n} = require(\"@aws-sdk/client-application-insights-browser\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ApplicationInsightsClient,\n  CreateApplicationCommand\n} from \"@aws-sdk/client-application-insights-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 applicationInsights = new ApplicationInsightsClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  ResourceGroupName: /**a string value*/,\n};\nconst createApplicationCommand = new CreateApplicationCommand(params);\napplicationInsights.send(createApplicationCommand).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 applicationInsights.send(createApplicationCommand);\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\napplicationInsights.send(createApplicationCommand, (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-insights-browser\";\nconst applicationInsights = new AWS.ApplicationInsights({ region: \"region\" });\napplicationInsights.createApplication(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 applicationInsights.send(createApplicationCommand);\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-insights-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-insights-browser has been renamed to @aws-sdk/client-application-insights. Please install the renamed package.","_npmVersion":"6.9.0","description":"Browser SDK for Amazon CloudWatch Application Insights","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":{"rimraf":"^2.6.2","typedoc":"^0.14.2","typescript":"~3.4.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-application-insights-browser_0.1.0-preview.6_1574195967643_0.08139725767161998","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T17:38:34.534Z","modified":"2025-03-27T18:40:12.829Z","0.1.0-preview.2":"2019-09-09T17:38:34.795Z","0.1.0-preview.3":"2019-09-19T15:46:20.592Z","0.1.0-preview.4":"2019-10-29T23:42:13.245Z","0.1.0-preview.5":"2019-10-30T19:15:02.723Z","0.1.0-preview.6":"2019-11-19T20:39:27.822Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Browser SDK for Amazon CloudWatch Application Insights","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}