We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19e99c4 commit 073215bCopy full SHA for 073215b
src/pages/[platform]/build-a-backend/functions/scheduling-functions/index.mdx
@@ -51,7 +51,7 @@ Their handlers can be typed using the `EventBridgeHandler` type:
51
```ts title="amplify/jobs/weekly-digest/handler.ts"
52
import type { EventBridgeHandler } from "aws-lambda";
53
54
-export const handler: EventBridgeHandler = async (event) => {
+export const handler: EventBridgeHandler<"Scheduled Event", null, void> = async (event) => {
55
console.log("event", JSON.stringify(event, null, 2))
56
}
57
```
0 commit comments