ä»äºã§WEB APIãä½æããå¿ è¦ãåºã¦ããã®ã§ãå人çã¡ã¢ã¨ãã¦è¨è¼ã ããã°ã©ã è¨èªã¯ãèªç±ã«é¸ã¹ãã®ã§ãGoãé¸æã Lambdaç¨ã®é¢æ°ãä½æãã 以ä¸ã®ãããªé¢æ°ãä½æã jsonã§ãå¤ã2ã¤åãåãã¨å ç®ãã¦è¿ãé¢æ°ã package main import ( "fmt" "github.com/aws/aws-lambda-go/lambda" ) type GetData struct { Value1 int `json:"Value1"` Value2 int `json:"Value2"` } type ReturnData struct { Answer string `json:"Answer"` } func HandleLambdaEvent(event GetData) (ReturnData, error) { return ReturnData{Ans
{{#tags}}- {{label}}
{{/tags}}