Open the AWS Lambda functions management console
Click delete-user
function.
Open the Test
tab.
In the Test event
section,
Event name: Fill in delete-user-event
Event JSON: Replace the placeholder event with
{
"id": "18d35ef6-a7ae-415b-a97d-34dc069a840d"
}
Replace the user id with yours, you can get it in the DynamoDB Explorer items
or in the response after invoking list-users
.
Click Save
Click the Test
button.
Verify that the user is updated.
Explore items
page of the DynamoDB management console.Nguyen Van Anh
is no longer existed.