List Gremlin Queries
neptunedata_list_gremlin_queries | R Documentation |
Lists active Gremlin queries¶
Description¶
Lists active Gremlin queries. See Gremlin query status API for details about the output.
When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster.
Note that the neptune-db:QueryLanguage:Gremlin IAM condition key can be used in the policy document to restrict the use of Gremlin queries (see Condition keys available in Neptune IAM data-access policy statements).
Usage¶
Arguments¶
includeWaiting
If set to
TRUE
, the list returned includes waiting queries. The default isFALSE
;
Value¶
A list with the following syntax:
list(
acceptedQueryCount = 123,
runningQueryCount = 123,
queries = list(
list(
queryId = "string",
queryString = "string",
queryEvalStats = list(
waited = 123,
elapsed = 123,
cancelled = TRUE|FALSE,
subqueries = list()
)
)
)
)