Amazon Athena query history report

0

Is there a way to export out Amazon Athena Query History?

profile pictureAWS
EXPERTO
Anjan
preguntada hace 4 años1242 visualizaciones
1 Respuesta
0
Respuesta aceptada

To retrieve and save query history programmatically:

  1. Use Athena ListQueryExecutions API action or the list-query-executions CLI command to retrieve the query IDs.
  2. Use the Athena GetQueryExecution API action or the get-query-execution CLI command to retrieve information about each query based on its ID.
  3. Use the Amazon S3 PutObject API action or the put-object CLI command to save the information in Amazon S3.

Please check Working with Query Results, Output Files, and Query History for more details.

respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas