Amazon Athena query history report

0

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

profile pictureAWS
EXPERT
Anjan
demandé il y a 4 ans1241 vues
1 réponse
0
Réponse acceptée

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.

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions