2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
No, I'm not looking for the Execution Id. That would be the id for a query run. I'm looking for a way to find the NamedQueryId for a Named Query from console.
beantwortet vor 2 Jahren
0
Hi ,
based on the documentation link you shared I think that the id you are looking for is the **Execution Id**
. If want to check click on the failed query and look at the Query Id you will see it should match the execution id.
hope this helps,
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
Thank you for the clarification, could you also let me know how you want to use the Named query ID?
As mentioned the NamedQueryId is different from the QueryId (in the Recent Queries tab for Failed execution query id = execution id).
in the Saved Queries tab, you can see all the Named query in the workspace you are using, that tab shows the Actual Name of the query , the SQL and the description.
the only thing missing is the database and the Named query Id itself, https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_named_query