List prepared statements using the AWS CLI - Amazon Athena

List prepared statements using the AWS CLI

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

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