Skip to main content

open_cypher_query_status

Creates, updates, deletes, gets or lists an open_cypher_query_status resource.

Overview

Nameopen_cypher_query_status
TypeResource
Idaws.neptunedata.open_cypher_query_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
query_eval_statsobjectThe openCypher query evaluation status.
query_idstringThe unique ID of the query for which status is being returned.
query_stringstringThe openCypher query string.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_open_cypher_query_statusselectquery_id, regionRetrieves the status of a specified openCypher query. 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:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
query_idstringThe unique ID of the openCypher query for which to retrieve the query status.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the status of a specified openCypher query. 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:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).

SELECT
query_eval_stats,
query_id,
query_string
FROM aws.neptunedata.open_cypher_query_status
WHERE query_id = '{{ query_id }}' -- required
AND region = '{{ region }}' -- required
;