()
| 15 | var client = lambda.New(session.New()) |
| 16 | |
| 17 | func callLambda() (string, error) { |
| 18 | input := &lambda.GetAccountSettingsInput{} |
| 19 | req, resp := client.GetAccountSettingsRequest(input) |
| 20 | err := req.Send() |
| 21 | output, _ := json.Marshal(resp.AccountUsage) |
| 22 | return string(output), err |
| 23 | } |
| 24 | |
| 25 | func handleRequest(ctx context.Context, event events.SQSEvent) (string, error) { |
| 26 | // event |
no outgoing calls
no test coverage detected