Skip to content

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

neptunedata_list_gremlin_queries(includeWaiting)

Arguments

includeWaiting

If set to TRUE, the list returned includes waiting queries. The default is FALSE;

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()
      )
    )
  )
)

Request syntax

svc$list_gremlin_queries(
  includeWaiting = TRUE|FALSE
)