[{"data":1,"prerenderedAt":61},["ShallowReactive",2],{"pattern-lambda-athena":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":28,"level":29,"meta":30,"patternArch":31,"resources":45,"s3URL":6,"services":6,"stem":56,"testing":57,"videoId":6,"__hash__":60},"patterns\u002Fpatterns\u002Flambda-athena.json","AWS Lambda to Amazon Athena",null,{"text":8},[9],"Delete the stack: \u003Ccode>same delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fsaborni-bhattacharya.json",{"text":13},[14],"sam deploy","Create a Lambda function that queries a prefilled Athena table using boto3 library","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-athena-sam","serverless-patterns\u002Flambda-athena-sam","lambda-athena-sam","template.yaml",{"headline":25,"text":26},"How it works",[27],"This sample project demonstrates how to a Lambda function to invoke a query execution to an Athena database table and fetch them from the same.","Python","200",{},{"icon1":32,"icon2":37,"line1":41},{"x":33,"y":34,"service":35,"label":36},20,50,"lambda","AWS Lambda",{"x":38,"y":34,"service":39,"label":40},80,"athena","Amazon Athena",{"from":42,"to":43,"label":44},"icon1","icon2","",{"bullets":46},[47,50,53],{"text":48,"link":49},"How can I schedule an Amazon Athena query?","https:\u002F\u002Faws.amazon.com\u002Fpremiumsupport\u002Fknowledge-center\u002Fschedule-query-athena\u002F",{"text":51,"link":52},"Boto3 client for Athena","https:\u002F\u002Fboto3.amazonaws.com\u002Fv1\u002Fdocumentation\u002Fapi\u002Flatest\u002Freference\u002Fservices\u002Fathena.html#client",{"text":54,"link":55},"Creating tables in Athena - Creating tables using AWS Glue or the Athena console","https:\u002F\u002Fdocs.aws.amazon.com\u002Fathena\u002Flatest\u002Fug\u002Fcreating-tables.html#creating-tables-how-to","patterns\u002Flambda-athena",{"text":58},[59],"See the GitHub repo for detailed testing instructions.","WeyxaTsBTewwflfBz_JkQ_f6-wZl8wOXewFiRD1Djkc",1779273336869]