There are more AWS SDK examples available in the AWS Doc SDK Examples
Create a lending library REST API
The following code example shows how to create a lending library where patrons can borrow and return books by using a REST API backed by an Amazon Aurora database.