The exercise URL - https://aws-dojo.com/excercises/excer...
Amazon Redshift can be accessed using the built-in Data API. Applications can use Redshift Data API to enable data access, ingest, and egress. The Data API takes care of managing database connections and returning data. The Data API stores the query results for 24 hours and is asynchronous so one can retrieve the results later.
In this exercise, a SageMaker Notebook based environment is used to talk to the Redshift Cluster using the Data API and Python as the programming language.