Amazon Athena query history report

0

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

profile pictureAWS
ESPECIALISTA
Anjan
feita há 4 anos1242 visualizações
1 Resposta
0
Resposta aceita

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 há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas