response: { pageId: string, recordMap: object }
- Get recordMap from Notion docs.
- recordMap is data for react-notion-x NotionRenderer.
$ npm start
: Local server start
$ zip -r ../aws-lambda-fastify-notion-client.zip *
- To upload a .zip file on the Lambda console
- Open the Functions page on the Lambda console.
- Select a function.
- In the Code Source pane, choose Upload from and then .zip file.
- Choose Upload to select your local .zip file.
- Choose Save.
- Setting runtime Setting on Lambda console
- Click edit button on Lambda console
- Input
lambda.handler
on Handler input.