There are more AWS SDK examples available in the AWS Doc SDK Examples
Amazon RDS Data Service examples using SDK for Python (Boto3)
The following code examples show you how to perform actions and implement common scenarios by using the AWS SDK for Python (Boto3) with Amazon RDS Data Service.
Scenarios are code examples that show you how to accomplish specific tasks by calling multiple functions within a service or combined with other AWS services.
Each example includes a link to the complete source code, where you can find instructions on how to set up and run the code in context.
Topics
Scenarios
The following code example shows how to create a web application that tracks work items in an Amazon Aurora Serverless database and uses Amazon Simple Email Service (Amazon SES) to send reports.
- SDK for Python (Boto3)
-
Shows how to use the AWS SDK for Python (Boto3) to create a REST service that tracks work items in an Amazon Aurora Serverless database and emails reports by using Amazon Simple Email Service (Amazon SES). This example uses the Flask web framework to handle HTTP routing and integrates with a React webpage to present a fully functional web application.
Build a Flask REST service that integrates with AWS services.
Read, write, and update work items that are stored in an Aurora Serverless database.
Create an AWS Secrets Manager secret that contains database credentials and use it to authenticate calls to the database.
Use Amazon SES to send email reports of work items.
For complete source code and instructions on how to set up and run, see the full example on GitHub
. Services used in this example
Aurora
Amazon RDS
Amazon RDS Data Service
Amazon SES