Closed rohit3d2003 closed 2 months ago
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
I followed the solution described in issue - https://github.com/aws-amplify/amplify-swift/issues/3797 but when the child object is deleted by Admin within Lambda, it gets successfully deleted by iOS data sync does not remove it. Since all this happened within Lambda, I am not sure how to debug it. I am not seeing any failure in iOS logs. Most likely something is wrong with solution and auth rule. Below is the graphql schema
Child object is deleted via Lambda by calling GraphQL API via one of the user which is part of Admin group.
Below is the suggested schema update in Issue 3797
Below is what I have currently as I have given all permissions:
Steps To Reproduce
Expected behavior
iOS app should sync with DynamoDB as the item is deleted by DynamoDB
Amplify Framework Version
2.36
Amplify Categories
DataStore
Dependency manager
Swift PM
Swift version
5.10
CLI version
12.12.4
Xcode version
15.4
Relevant log output