MCPcopy Index your code
hub / github.com/aws/aws-lambda-go / ExampleSimpleEmailEvent

Function ExampleSimpleEmailEvent

events/example_ses_test.go:11–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9)
10
11func ExampleSimpleEmailEvent() {
12 lambda.Start(func(ctx context.Context, sesEvent *events.SimpleEmailEvent) error {
13 for _, record := range sesEvent.Records {
14 ses := record.SES
15 fmt.Printf("[%s - %s] Mail = %+v, Receipt = %+v \n", record.EventVersion, record.EventSource, ses.Mail, ses.Receipt)
16 }
17
18 return nil
19 })
20}

Callers

nothing calls this directly

Calls 1

StartFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…