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 Dec 9, 2024
1 parent 71c6773 commit 7665a12
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ export const handler = async (event) => {
```

<Callout warning>
When configuring Amplify with `getAmplifyDataClientConfig`, your function consumes schema information from an S3 bucket
created during backend deployment with grants for the access your function need to use it. Any changes to this
bucket outside of backend deployment may break your function.
When configuring Amplify with `getAmplifyDataClientConfig`, your function consumes schema information from an S3 bucket created during backend deployment with grants for the access your function need to use it. Any changes to this bucket outside of backend deployment may break your function.
</Callout>

Once you have generated the client code, update the function to access the data. The following code creates a todo and then lists all todos.
Expand Down

0 comments on commit 7665a12

Please sign in to comment.