You can use the CloudWatch Events console, CloudWatch CLI, or AWS SDK to consume Athena query state change events.

For more information about Athena’s query state change events and for usage examples, please visit our documentation.

For information about CloudWatch Events, please visit What Is Amazon CloudWatch Events?

For information about how to get started with CloudWatch Events and set up rules, please visit Getting Started with CloudWatch Events.