This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # https://sentry.io/settings/account/api/auth-tokens/ | |
| SENTRY_AUTH_TOKEN="${SENTRY_AUTH_TOKEN:-"YOUR-TOKEN"}" | |
| # https://docs.sentry.io/api/events/list-an-issues-events/ | |
| ISSUE_ID="12345678" | |
| URL="https://sentry.io/api/0/issues/${ISSUE_ID}/events/?full=false" | |
| curl -H "Authorization: Bearer ${SENTRY_AUTH_TOKEN}" "${URL}" |
A runtime is a program that runs a Lambda function's handler method when the function is invoked. The runtime can be included in your function's deployment package, or in a layer. Learn more about custom Lambda runtimes.
For reference, this function includes a sample Bash runtime in bootstrap.sample and a corresponding handler file hello.sh.sample. As a next step, you should provide your own bootstrap by either adding a layer implementing a custom runtime or including a bootstrap file in this function's deployment package.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # 情報ソース | |
| # https://twitter.com/toricls/status/1435133865857667079 | |
| # | |
| # cURL --aws-sigv4 Option | |
| # https://curl.se/docs/manpage.html#--aws-sigv4 | |
| # | |
| # AWS Lambda - ListFunctions API | |
| # https://docs.aws.amazon.com/ja_jp/lambda/latest/dg/API_ListFunctions.html |
- Install Node.js
- Run
npm install - Copy mbox file on this directory.
-
$ cp /path/to/your/mbox/file ./