In this step, we will test operation of the APIs using Postman tool.
Similarly create a new tab
{
"id": "5",
"rv_id": 0,
"name": "Amazon Web Services in Action 2nd Edition",
"author": "Andreas Wittig",
"price": "59.99",
"category": "IT",
"description": "Amazon Web Services in Action, Second Edition is a comprehensive introduction to computing, storing, and networking in the AWS cloud. You'll find clear, relevant coverage of all the essential AWS services you to know, emphasizing best practices for security, high availability and scalability.",
"image": "https://book-image-resize-shop.s3.ap-southeast-2.amazonaws.com/aws.jpg"
}
Open Books table in DynamoDB console to check data
Before call the write API
After call the write API
Since the delete Lambda function on execution deletes images uploaded by the user, we manually upload the images to the S3 bucket so the API can run properly.
Open Amazon S3 console
Click book-image-shop bucket
Click Add files
Downdload this image below to upload to S3