title: How to use AWS Redshift Data API to execute SQL using Java?
body: <p>Can someone help me to get the exact code using Java &amp; Redshift Data API to execute SQL?</p>
  <p>We are going to create API in Spring Boot with Java where it will execute the SQL provided in request body. The backend will be Redshift. In this case, would like to use Redshift Data API to execute SQL instead of JDBCTemplate because of AWS provides good features like Async call, avoid DB connection pool etc.</p>