List prepared statements using the Amazon CLI - Amazon Athena
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

List prepared statements using the Amazon CLI

To list the prepared statements for a specific workgroup, you can use the Athena list-prepared-statements Amazon CLI command or the ListPreparedStatements Athena API action. The --work-group parameter is required.

aws athena list-prepared-statements --work-group primary