Skip to content

Commit

Permalink
Update src/pages/[platform]/build-a-backend/data/customize-authz/gran…
Browse files Browse the repository at this point in the history
…t-lambda-function-access-to-api/index.mdx

Co-authored-by: josef <[email protected]>
  • Loading branch information
stocaaro and josefaidt authored Nov 19, 2024
1 parent f5f6616 commit 6a7ce14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ In the handler file for your function, configure the Amplify data client

```ts title="amplify/functions/data-access/handler.ts"
import type { Handler } from 'aws-lambda';
import { type Schema } from '../../data/resource';
import type { Schema } from '../../data/resource';
import { Amplify } from 'aws-amplify';
import { generateClient } from 'aws-amplify/data';
import { getAmplifyDataClientConfig } from '@aws-amplify/backend/function/runtime';
Expand Down

0 comments on commit 6a7ce14

Please sign in to comment.