FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

athenadriver/examples/lambda/Go at master · uber/athenadriver · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Query Athena with athenadriver in AWS Lambda

Example

First, install aws-lambda-go:

go get github.com/aws/aws-lambda-go/lambda

Build and package locally:

go mod init lambda-test
go build main.go && zip function.zip main

Then upload function.zip to AWS by command line or web console, whichever you like. The handler name is main in this case.

Create a test and run a test in AWS Lambda web console, then you can see:


Back | FazBrowse Home | New Git URL