Amazon Athena query history report

0

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

profile pictureAWS
ESPERTO
Anjan
posta 4 anni fa1242 visualizzazioni
1 Risposta
0
Risposta accettata

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.

con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande