Starting Lambda
#2041
Replies: 1 comment
-
You will want to try this: invokeOutput, err := wrapper.LambdaClient.Invoke(context.TODO(), &lambda.InvokeInput{
FunctionName: aws.String(functionName),
LogType: logType,
Payload: payload,
}) You can find other gov2 examples here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Previously I imported
and used this from main() as
This will be compiled and used as a golang lambda function.
How would I use sdk2 (github.com/aws/aws-sdk-go-v2/service/lambda) to achieve the same?
Beta Was this translation helpful? Give feedback.
All reactions