{"_id":"@aws-sdk/client-serverlessapplicationrepository-node","_rev":"18-44dca12931d1f3de0dbee53d190a337b","name":"@aws-sdk/client-serverlessapplicationrepository-node","dist-tags":{"latest":"0.1.0-preview.2","preview":"0.1.0-preview.6"},"versions":{"0.1.0-preview.2":{"name":"@aws-sdk/client-serverlessapplicationrepository-node","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-serverlessapplicationrepository-node@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":"c465b16a199f9e3cd8b35930dba741e1bc293c8c","tarball":"https://registry.npmjs.org/@aws-sdk/client-serverlessapplicationrepository-node/-/client-serverlessapplicationrepository-node-0.1.0-preview.2.tgz","fileCount":425,"integrity":"sha512-S4GtKVy2rBaLhDJYdsmax5b6W0ytep8t1nxD0n8nD+2Ssm8e0kcJuJb8lZM/T4Ipsa48y9SFSH51yqrH7GS5hA==","signatures":[{"sig":"MEUCIHAnje0EO3GEvHUtJyTbHvfzMh1HCVPSRDlY9IgeieQ6AiEA870PGaC/SeIalzBSki37jS9wY21CqOuGfc4Ad0Q5Rjs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":321082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddpKJCRA9TVsSAnZWagAACHEP/RJaT6F4K9uVGZDLHhqX\nKD9p7YabA29z3y+W+drTdDCZdeJAEKhFYre/zdTs5SD02d+L5tDfFJZurTHN\nmbj603VEMKZ9GordE1Jz3n84lxO7LJ6T62r/UHkSpBn0DQxU0qVXkQdmcqgo\nVuDDpAHKeQk3OxscUftT4F2cvBSZkIHEDl8BFlsnKwN2XZAbnKeWU7t+Uctn\nhme0lS67s9fCqi7yHXwCMLU9ZcRZ1RWMSMvMNxBI8ZBe5OXJpgIG6bm/Yv+D\nsy9JyQaeCxcI+J6IeDXG3x/3VmR/6Of62ol9X6XWoUp2nuEG26WvTOdZQ8lB\nRayFc26/9NUt3+Ewlda6YBxkmd8KROGHWMlYoGIcMz+gaExiPDEqep7LRdHW\nJDun0DZfqNJJ+8f6rD9Js7AuVFqyd2v/3iNrBRmqxPuztoH4B5ludnkjJx87\nFMX0MSRBNKflFe7M3sVIEki/yVm2iwQU41SinSBK7+YmBkP4X8NmObggOLFC\nx30EabNGvfMm7QBBODtgqZq4w9gbSP34GR1wdH3lhXZx4v9MSUcPEGATLE4N\nwvG6LCgxowoW0u6Iv2RXW57VUjfISscSm0EY7BR+Es8lb4KjO6rFAmsOXCQB\nsHakkseAUggl+5jABxm90UjAKt+YVB7NsULz/bgJ1wV97R76Al6oWtUvzHYA\nUr9c\r\n=Iv26\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":"npm run pretest && node ./test/smoke/index.spec.js","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-serverlessapplicationrepository-node has been renamed to @aws-sdk/client-serverlessapplicationrepository. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWSServerlessApplicationRepository","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/hash-node":"^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/protocol-rest":"^0.1.0-preview.7","@aws-sdk/util-utf8-node":"^0.1.0-preview.3","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/region-provider":"^0.1.0-preview.5","@aws-sdk/url-parser-node":"^0.1.0-preview.5","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-sdk/util-base64-node":"^0.1.0-preview.3","@aws-sdk/node-http-handler":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.6","@aws-sdk/util-user-agent-node":"^0.1.0-preview.6","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/stream-collector-node":"^0.1.0-preview.5","@aws-sdk/util-body-length-node":"^0.1.0-preview.4","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/credential-provider-node":"^0.1.0-preview.6","@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","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-serverlessapplicationrepository-node_0.1.0-preview.2_1568051848658_0.38910161716359815","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/client-serverlessapplicationrepository-node","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-serverlessapplicationrepository-node@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":"f40634825ab7d0cc4a1c9dfb79e5d6e684d3c562","tarball":"https://registry.npmjs.org/@aws-sdk/client-serverlessapplicationrepository-node/-/client-serverlessapplicationrepository-node-0.1.0-preview.3.tgz","fileCount":425,"integrity":"sha512-JDvQib6CnJMxP+jHuqhzeKnfqeIK0asOKaoZDTqx4fbvPr2ykAx7xsbRnWPH2aGpHY9VwlaPJUCfLI+sKNLhSg==","signatures":[{"sig":"MEUCIH3FRLB2qXiwiGK3fA31JCwxCsVkhRUCgK+rPcuAqYbNAiEAzs+Kf6RLqkyPYHgAstqCvGKoWRmsTz7zeNr78W/zQdQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":317658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6jKCRA9TVsSAnZWagAAIhsP/3Ms9BHVi8GoLbT2RZgj\nzzVH28ezLFoip4pOraMG9nGNt/9pxKIRLyFXAcLsFCIFZUrywzWKSSuDVfCu\ng08fHyT4oHt4d3M/2S9b77DpH55n81CXZiMM3WA2afJ5l6EX6W5thz1nVaEy\n5MPHhciAZsnBbgr1ikL2slSWWyfF4Zg7L8rI2C2oceu9oBG2mez1tiJdAJFv\nVj9gWoJH5K9WSOx3EjjfysyDcow21q9bGpheqiECVB9sKA8dJ90WMU8X79EG\nAumoa/yxuvgaJZVBBKIHRqKQA12wsAIO3Ptamt03bMXNIq79OcGUsc/nToa8\naWk/ct7kask4QZqIFSKE/n2n7SA8i8Spjp1rD2c0gDRTRsM80DN51q8IPwf8\nFbDyD3diZ7Ac1hVsMWZe53HHqwF8JRhSv4hpq2NAvP+pR+2NOpXlLUqT6TF8\nKbNDY4VdN6PZPLyWfoLVHZo759EnQdx9fcIS2gY9ZVr6gct5NQrJYHgZQ8WY\n+FpBMlvjwu/hZ7MQYEw4PyEQJHqo6ewnyMmTnXS9oYe97sft4lVzmXka9EdG\nSwmLgK3N6wZ1EueOTX2gPx5jvoG5jDjVP6NapOlMMz/49tCifsVodMgSu11D\nUwSftOqe84fficjff2EoVlZXhq9IzmBYH89v3bzMgRCwnmums6seNd6lmq3D\nFZy0\r\n=UIsc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-serverlessapplicationrepository-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-serverlessapplicationrepository-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-serverlessapplicationrepository-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-serverlessapplicationrepository-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-serverlessapplicationrepository-node)\n\n## Description\n\n<p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find\n and deploy serverless applications in the AWS Cloud. For more information about serverless applications,\n see Serverless Computing and Applications on the AWS website.</p><p>The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of \n all levels can get started with serverless computing without needing to learn anything new. You can use category \n keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots. \n You can also search for applications by name, publisher, or event source. To use an application, you simply choose it, \n configure any required fields, and deploy it with a few clicks. </p><p>You can also easily publish applications, sharing them publicly with the community at large, or privately\n within your team or across your organization. To publish a serverless application (or app), you can use the\n AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the\n code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template.\n For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs\n GitHub repository.</p><p>The AWS Serverless Application Repository Developer Guide contains more information about the two developer\n experiences available:</p><ul>\n <li>\n <p>Consuming Applications – Browse for applications and view information about them, including\n source code and readme files. Also install, configure, and deploy applications of your choosing. </p>\n <p>Publishing Applications – Configure and upload applications to make them available to other\n developers, and publish new versions of applications. </p>\n </li>\n </ul>\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-serverlessapplicationrepository-node\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(`ServerlessApplicationRepositoryClient`) and the commands you need, for example `CreateApplicationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ServerlessApplicationRepositoryClient\n} = require(\"@aws-sdk/client-serverlessapplicationrepository-node/ServerlessApplicationRepositoryClient\");\nconst {\n  CreateApplicationCommand\n} = require(\"@aws-sdk/client-serverlessapplicationrepository-node/commands/CreateApplicationCommand\");\n```\n\n```javascript\n//TypeScript\nimport { ServerlessApplicationRepositoryClient } from \"@aws-sdk/client-serverlessapplicationrepository-node/ServerlessApplicationRepositoryClient\";\nimport { CreateApplicationCommand } from \"@aws-sdk/client-serverlessapplicationrepository-node/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 serverlessApplicationRepository = new ServerlessApplicationRepositoryClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Author: /**a string value*/,\n  Description: /**a string value*/,\n  Name: /**a string value*/,\n};\nconst createApplicationCommand = new CreateApplicationCommand(params);\nserverlessApplicationRepository.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 serverlessApplicationRepository.send(\n    createApplicationCommand\n  );\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nserverlessApplicationRepository.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-serverlessapplicationrepository-node/ServerlessApplicationRepository\";\nconst serverlessApplicationRepository = new AWS.ServerlessApplicationRepository(\n  { region: \"region\" }\n);\nserverlessApplicationRepository.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 serverlessApplicationRepository.send(\n    createApplicationCommand\n  );\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-serverlessapplicationrepository-node' 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":"npm run pretest && node ./test/smoke/index.spec.js","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-serverlessapplicationrepository-node has been renamed to @aws-sdk/client-serverlessapplicationrepository. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWSServerlessApplicationRepository","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.5","@aws-sdk/hash-node":"^0.1.0-preview.6","@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/protocol-rest":"^0.1.0-preview.7","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.5","@aws-sdk/region-provider":"^0.1.0-preview.5","@aws-sdk/url-parser-node":"^0.1.0-preview.6","@aws-sdk/middleware-stack":"^0.1.0-preview.6","@aws-sdk/retry-middleware":"^0.1.0-preview.5","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.6","@aws-sdk/signing-middleware":"^0.1.0-preview.7","@aws-sdk/util-user-agent-node":"^0.1.0-preview.7","@aws-sdk/middleware-serializer":"^0.1.0-preview.5","@aws-sdk/stream-collector-node":"^0.1.0-preview.6","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.6","@aws-sdk/credential-provider-node":"^0.1.0-preview.7","@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","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-serverlessapplicationrepository-node_0.1.0-preview.3_1568909513892_0.9722636708615866","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/client-serverlessapplicationrepository-node","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-serverlessapplicationrepository-node@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":"21941dbe5548cb6586cd3e26d078ab2664d5de3d","tarball":"https://registry.npmjs.org/@aws-sdk/client-serverlessapplicationrepository-node/-/client-serverlessapplicationrepository-node-0.1.0-preview.4.tgz","fileCount":425,"integrity":"sha512-YkwrMiTzWUXgMznfFywcADjW+VqCGBsZnidD5ngVooevkiVRW6F37gvj9+fS7kBWiZkie0mXZbQrcU4EeRBMmg==","signatures":[{"sig":"MEYCIQCEUjOj61l9rzZlK0cwgLQTi0pJMPWSlibr6ii3LyuncAIhANMHzAvvPdgIqkc9108rx65Vf5vo/nJ/0K3o51WGSit1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":317574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNICCRA9TVsSAnZWagAAzWsP/0G2fLuktRxjLE35ByXQ\nLkVSEDOnpFlC2aqQJbZ3MSmy+YY6Ycke5t+jv+RFK4ZNBL4Jm182PnV1YyYa\nJVXTVTW+KSuFYMAx4vEEx4AMuUAhp9cyKF8HQon9tr0/GBwfOmJCbOzrrW6d\n21EhMudIVuTKNLCYHZs56weHXv87GVDTOteo8VCkKN4kmDDa4X+bLwBt8u7p\nR2wHZiD/aUzALy18ZMftrqj7UqMVFBpiW2EJoY+mvPpNsS8QY6UrrMZ8Xkkp\nXdtRaycQYugZXA4BjuvQc7KzLeCd+O37GdBFKiLPmeGeJCORDHTObcHwEgLz\nWioCQX6v5VW9g9obnqW8apNXiogOampC40uFtaW6BKWLZc568Z+yh/MoNZvM\nLQ5u2Qd1We7opce0d9fEvo2Q4E5Us/vFkpe0MMCv6i+TxKB0LM8g73XZ++W3\n+LLRSZrCnAZk2/AtnlWF9Qf5m+lCcGaNlU3IEMVS8dVq8tgAVxpgBrj6wJsx\n/NqLOkF+QovaOPfNhHAJhLCV92k8JH0OcrzRdsLWiUXGcewAXE+PvJIHZy0M\n9/taTYdx09+4wCVQ3lpZZKZbRG2xcDWSFtDty2/b/pj2rKfo3jNXPH6u9qzD\nFJ3zc0/6+jrPa2pSgmhWmw04DljL3wmXj/ZfBW+CYsSfnoRudZhS+CwM1llu\nhSv7\r\n=YNTW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-serverlessapplicationrepository-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-serverlessapplicationrepository-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-serverlessapplicationrepository-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-serverlessapplicationrepository-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-serverlessapplicationrepository-node)\n\n## Description\n\n<p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find\n and deploy serverless applications in the AWS Cloud. For more information about serverless applications,\n see Serverless Computing and Applications on the AWS website.</p><p>The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of \n all levels can get started with serverless computing without needing to learn anything new. You can use category \n keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots. \n You can also search for applications by name, publisher, or event source. To use an application, you simply choose it, \n configure any required fields, and deploy it with a few clicks. </p><p>You can also easily publish applications, sharing them publicly with the community at large, or privately\n within your team or across your organization. To publish a serverless application (or app), you can use the\n AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the\n code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template.\n For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs\n GitHub repository.</p><p>The AWS Serverless Application Repository Developer Guide contains more information about the two developer\n experiences available:</p><ul>\n <li>\n <p>Consuming Applications – Browse for applications and view information about them, including\n source code and readme files. Also install, configure, and deploy applications of your choosing. </p>\n <p>Publishing Applications – Configure and upload applications to make them available to other\n developers, and publish new versions of applications. </p>\n </li>\n </ul>\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-serverlessapplicationrepository-node\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(`ServerlessApplicationRepositoryClient`) and the commands you need, for example `CreateApplicationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ServerlessApplicationRepositoryClient,\n  CreateApplicationCommand\n} = require(\"@aws-sdk/client-serverlessapplicationrepository-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ServerlessApplicationRepositoryClient,\n  CreateApplicationCommand\n} from \"@aws-sdk/client-serverlessapplicationrepository-node\";\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 serverlessApplicationRepository = new ServerlessApplicationRepositoryClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Author: /**a string value*/,\n  Description: /**a string value*/,\n  Name: /**a string value*/,\n};\nconst createApplicationCommand = new CreateApplicationCommand(params);\nserverlessApplicationRepository.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 serverlessApplicationRepository.send(\n    createApplicationCommand\n  );\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nserverlessApplicationRepository.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-serverlessapplicationrepository-node\";\nconst serverlessApplicationRepository = new AWS.ServerlessApplicationRepository(\n  { region: \"region\" }\n);\nserverlessApplicationRepository.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 serverlessApplicationRepository.send(\n    createApplicationCommand\n  );\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-serverlessapplicationrepository-node' 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":"npm run pretest && node ./test/smoke/index.spec.js","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-serverlessapplicationrepository-node has been renamed to @aws-sdk/client-serverlessapplicationrepository. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWSServerlessApplicationRepository","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.6","@aws-sdk/hash-node":"^0.1.0-preview.7","@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/protocol-rest":"^0.1.0-preview.8","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.6","@aws-sdk/region-provider":"^0.1.0-preview.6","@aws-sdk/url-parser-node":"^0.1.0-preview.7","@aws-sdk/middleware-stack":"^0.1.0-preview.7","@aws-sdk/retry-middleware":"^0.1.0-preview.6","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.7","@aws-sdk/signing-middleware":"^0.1.0-preview.8","@aws-sdk/util-user-agent-node":"^0.1.0-preview.8","@aws-sdk/middleware-serializer":"^0.1.0-preview.6","@aws-sdk/stream-collector-node":"^0.1.0-preview.7","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.7","@aws-sdk/credential-provider-node":"^0.1.0-preview.8","@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","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-serverlessapplicationrepository-node_0.1.0-preview.4_1572393473815_0.8049923779669108","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/client-serverlessapplicationrepository-node","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-serverlessapplicationrepository-node@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":"d6d03fcf7306d6c61d18173243b181362920a021","tarball":"https://registry.npmjs.org/@aws-sdk/client-serverlessapplicationrepository-node/-/client-serverlessapplicationrepository-node-0.1.0-preview.5.tgz","fileCount":425,"integrity":"sha512-9oyfUzQVpkFmSztNbpYk7ntPiUogYdrkLjoJs1q8PrAweP7/RaTk4n5ctQUDg/yIpDZFiTZVt4FAnCothvPh9Q==","signatures":[{"sig":"MEUCIHiIRc7nNVRmnMe3pAm7E7m9T97WAEZU4snRKKEJPYnsAiEA+TSTsslQQrgYpyynrAi7Toci1IyVzeSwT5xCqsOHW/E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":317818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueV7CRA9TVsSAnZWagAARjQP/0KrrhYEOGB2n5Jw9JnT\nC/ImBwFsGr/BxCqmj4d1LdiMSmMND8UNPPwSWyI64GC7QApMGhnsFQVBSo0D\nvBz4JeXcOOTgmWIDgz30jOlQdeZLp+9YY3B/d3ZqOmSTd1wYtKyTKr0r9/Di\nyVMB4igX+RynZ12Vb+VIii83Cb1E8Sl1twDC1zuCpJv31gUFh9DBgbkBqKnd\n5wJY4mAtPh9Qjv3so442A3hR66zrUcxF92QCPeJBEwotlYanYxW7nt1t2xTb\nbvqkUcU/8OU3cn9pjYl1mViSAQeZ4fZWXRYRHstWMRfs7RWpGSScxmccN6ii\n56UfwZsvZmBsAxJcZbKOJ+mmqCFYoizmDIFfLp5cZoBucr2WYfPALEK8AnOX\nJKamvn6TSkTxyljhj3JiPEkfOdzv4Vix26Ma7vWtwlBgblc8+eH6Ci1RHKZk\nDNdY/q0M3QRti2VLX0bRFGI/gwxms1AWQHn4RehY50+339lm0lTpSFE4WLSZ\n6GcqElQasMot7g9qilsVeZZrAuLM5BhAV4/6uJ8YnE8jyi8BaH7K8+eLxQdo\nfnnpU3tsw8wd/KezdwwR9WBtHQk7MbOHw+z4/wf7j30E294lGrHc/5rUZqrE\ncQJUdBC7XqfVI8gbCWUyIbPcRs3rAxfdj4ozWlY2ARpnDUIZDBmuZjQY8PlG\nCTa7\r\n=A6sh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-serverlessapplicationrepository-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-serverlessapplicationrepository-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-serverlessapplicationrepository-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-serverlessapplicationrepository-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-serverlessapplicationrepository-node)\n\n## Description\n\n<p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find\n and deploy serverless applications in the AWS Cloud. For more information about serverless applications,\n see Serverless Computing and Applications on the AWS website.</p><p>The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of \n all levels can get started with serverless computing without needing to learn anything new. You can use category \n keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots. \n You can also search for applications by name, publisher, or event source. To use an application, you simply choose it, \n configure any required fields, and deploy it with a few clicks. </p><p>You can also easily publish applications, sharing them publicly with the community at large, or privately\n within your team or across your organization. To publish a serverless application (or app), you can use the\n AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the\n code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template.\n For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs\n GitHub repository.</p><p>The AWS Serverless Application Repository Developer Guide contains more information about the two developer\n experiences available:</p><ul>\n <li>\n <p>Consuming Applications – Browse for applications and view information about them, including\n source code and readme files. Also install, configure, and deploy applications of your choosing. </p>\n <p>Publishing Applications – Configure and upload applications to make them available to other\n developers, and publish new versions of applications. </p>\n </li>\n </ul>\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-serverlessapplicationrepository-node\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(`ServerlessApplicationRepositoryClient`) and the commands you need, for example `CreateApplicationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ServerlessApplicationRepositoryClient,\n  CreateApplicationCommand\n} = require(\"@aws-sdk/client-serverlessapplicationrepository-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ServerlessApplicationRepositoryClient,\n  CreateApplicationCommand\n} from \"@aws-sdk/client-serverlessapplicationrepository-node\";\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 serverlessApplicationRepository = new ServerlessApplicationRepositoryClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Author: /**a string value*/,\n  Description: /**a string value*/,\n  Name: /**a string value*/,\n};\nconst createApplicationCommand = new CreateApplicationCommand(params);\nserverlessApplicationRepository.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 serverlessApplicationRepository.send(\n    createApplicationCommand\n  );\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nserverlessApplicationRepository.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-serverlessapplicationrepository-node\";\nconst serverlessApplicationRepository = new AWS.ServerlessApplicationRepository(\n  { region: \"region\" }\n);\nserverlessApplicationRepository.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 serverlessApplicationRepository.send(\n    createApplicationCommand\n  );\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-serverlessapplicationrepository-node' 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":"npm run pretest && node ./test/smoke/index.spec.js","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-serverlessapplicationrepository-node has been renamed to @aws-sdk/client-serverlessapplicationrepository. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWSServerlessApplicationRepository","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/hash-node":"^0.1.0-preview.8","@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/protocol-rest":"^0.1.0-preview.9","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/region-provider":"^0.1.0-preview.7","@aws-sdk/url-parser-node":"^0.1.0-preview.8","@aws-sdk/middleware-stack":"^0.1.0-preview.8","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.9","@aws-sdk/util-user-agent-node":"^0.1.0-preview.9","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/stream-collector-node":"^0.1.0-preview.8","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/credential-provider-node":"^0.1.0-preview.9","@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","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-serverlessapplicationrepository-node_0.1.0-preview.5_1572463995224_0.826626104200956","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/client-serverlessapplicationrepository-node","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-serverlessapplicationrepository-node@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":"8737be1495ba7d7fff24a155516922691d5abd77","tarball":"https://registry.npmjs.org/@aws-sdk/client-serverlessapplicationrepository-node/-/client-serverlessapplicationrepository-node-0.1.0-preview.6.tgz","fileCount":425,"integrity":"sha512-TKaGW1q/8ct3ew3fmNZRVLpobg3wlKNHBpUnXmQpzgyAEBpR5II7ZDdv40fP9BVNyw0vXJKCKoFV8Hr2kmrTLQ==","signatures":[{"sig":"MEUCIQC94GSD/q6mtH/3d79LbISuTcxB7zIgCtQuv2O6qqYInQIgAM19RHJgG7TynMmrnTbEnVz05qOCPd3u7j4fdrUZfTw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":318091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FTaCRA9TVsSAnZWagAAHcEP/2xRSDIHAzEbm54041K4\n2Q3QZyqD3PYLCJARLNzbucYq1JuLiz+Zhn4aKaVT/dLl/Ma1vGjf15hgK5UG\naSZisCpN9XmbGK/Jws2xrNgYdeiTd9RyYF+mFocWle0vT4W4MWn8C5lrGkXj\nNeKd1x8rmCcFN3unsI7n3uR9Z4k+a5ZeolgEyKwrpX5tavZQ2TS0/Mt2HlNc\nsQb8lsUeoAuOS/jG4XgL/7ZMEQRNAGuKwUYrGAgVn/VEnEVqQITbndbNzbee\nuYAFtaK4D9J5YCn1nMRqIGTBL9qozAY8K9j6EXYNx9i6Uokxl5abpPYE/814\npv+17hDBz9dKithe1n0S1kA4TZjCk8t2FQNNC6z3rhsCb8Dw6IJtWE3nmxiO\n306o3G3TAErGg6R0O7VHe94dZ5E7KGNVXYo3ARB7fFjo1mrc1NdWd84eZlAk\n+QsbvdAVXuvICrW9n3Guxe79kFeVvQBoXd4IagXOLJbbXi1YzuwQuZ7S5/Ad\nTEC0LbD6Nf3BW+Gb2yv8HWNSRdOsTYsSGmcsbT1Stj9n/7CkkGUNMCoKxbgl\nlt1d2ewHL5yJmBV5UZVd4SOXtqhMmcnalzONN0xE+fK0HQVfy9xsyv5g2UCc\neyar++xg3vr1xedRFOYcQvxQsvnJbSeEXiNjTfHAM0KXjsSkRqAElRrphLRI\nYAdX\r\n=idxF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./index.js","types":"./index.d.ts","readme":"# @aws-sdk/client-serverlessapplicationrepository-node\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-serverlessapplicationrepository-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/client-serverlessapplicationrepository-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-serverlessapplicationrepository-node.svg)](https://www.npmjs.com/package/@aws-sdk/client-serverlessapplicationrepository-node)\n\n## Description\n\n<p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find\n and deploy serverless applications in the AWS Cloud. For more information about serverless applications,\n see Serverless Computing and Applications on the AWS website.</p><p>The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of \n all levels can get started with serverless computing without needing to learn anything new. You can use category \n keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots. \n You can also search for applications by name, publisher, or event source. To use an application, you simply choose it, \n configure any required fields, and deploy it with a few clicks. </p><p>You can also easily publish applications, sharing them publicly with the community at large, or privately\n within your team or across your organization. To publish a serverless application (or app), you can use the\n AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the\n code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template.\n For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs\n GitHub repository.</p><p>The AWS Serverless Application Repository Developer Guide contains more information about the two developer\n experiences available:</p><ul>\n <li>\n <p>Consuming Applications – Browse for applications and view information about them, including\n source code and readme files. Also install, configure, and deploy applications of your choosing. </p>\n <p>Publishing Applications – Configure and upload applications to make them available to other\n developers, and publish new versions of applications. </p>\n </li>\n </ul>\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-serverlessapplicationrepository-node\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(`ServerlessApplicationRepositoryClient`) and the commands you need, for example `CreateApplicationCommand`:\n\n```javascript\n//JavaScript\nconst {\n  ServerlessApplicationRepositoryClient,\n  CreateApplicationCommand\n} = require(\"@aws-sdk/client-serverlessapplicationrepository-node\");\n```\n\n```javascript\n//TypeScript\nimport {\n  ServerlessApplicationRepositoryClient,\n  CreateApplicationCommand\n} from \"@aws-sdk/client-serverlessapplicationrepository-node\";\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 serverlessApplicationRepository = new ServerlessApplicationRepositoryClient({region: 'region'});\n//clients can be shared by different commands\nconst params = {\n  Author: /**a string value*/,\n  Description: /**a string value*/,\n  Name: /**a string value*/,\n};\nconst createApplicationCommand = new CreateApplicationCommand(params);\nserverlessApplicationRepository.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 serverlessApplicationRepository.send(\n    createApplicationCommand\n  );\n  // do something\n} catch (error) {\n  // error handling\n}\n```\n\n```javascript\n// callback\nserverlessApplicationRepository.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-serverlessapplicationrepository-node\";\nconst serverlessApplicationRepository = new AWS.ServerlessApplicationRepository(\n  { region: \"region\" }\n);\nserverlessApplicationRepository.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 serverlessApplicationRepository.send(\n    createApplicationCommand\n  );\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-serverlessapplicationrepository-node' 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":"npm run pretest && node ./test/smoke/index.spec.js","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-serverlessapplicationrepository-node has been renamed to @aws-sdk/client-serverlessapplicationrepository. Please install the renamed package.","_npmVersion":"6.9.0","description":"Node SDK for AWSServerlessApplicationRepository","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/types":"^0.1.0-preview.7","@aws-sdk/hash-node":"^0.1.0-preview.8","@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/protocol-rest":"^0.1.0-preview.10","@aws-sdk/util-utf8-node":"^0.1.0-preview.4","@aws-sdk/config-resolver":"^0.1.0-preview.7","@aws-sdk/region-provider":"^0.1.0-preview.7","@aws-sdk/url-parser-node":"^0.1.0-preview.8","@aws-sdk/middleware-stack":"^0.1.0-preview.9","@aws-sdk/retry-middleware":"^0.1.0-preview.7","@aws-sdk/util-base64-node":"^0.1.0-preview.4","@aws-sdk/node-http-handler":"^0.1.0-preview.8","@aws-sdk/signing-middleware":"^0.1.0-preview.10","@aws-sdk/util-user-agent-node":"^0.1.0-preview.10","@aws-sdk/middleware-serializer":"^0.1.0-preview.7","@aws-sdk/stream-collector-node":"^0.1.0-preview.9","@aws-sdk/util-body-length-node":"^0.1.0-preview.5","@aws-sdk/json-error-unmarshaller":"^0.1.0-preview.8","@aws-sdk/credential-provider-node":"^0.1.0-preview.10","@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","@types/node":"^10.0.0","@aws-sdk/client-documentation-generator":"^0.1.0-preview.3"},"_npmOperationalInternal":{"tmp":"tmp/client-serverlessapplicationrepository-node_0.1.0-preview.6_1574196442083_0.08090467558521897","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-09T17:57:28.028Z","modified":"2025-03-27T18:46:34.999Z","0.1.0-preview.2":"2019-09-09T17:57:28.857Z","0.1.0-preview.3":"2019-09-19T16:11:54.034Z","0.1.0-preview.4":"2019-10-29T23:57:54.035Z","0.1.0-preview.5":"2019-10-30T19:33:15.470Z","0.1.0-preview.6":"2019-11-19T20:47:22.215Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","description":"Node SDK for AWSServerlessApplicationRepository","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}