NeptuneData / Client / execute_open_cypher_explain_query
execute_open_cypher_explain_query#
- NeptuneData.Client.execute_open_cypher_explain_query(**kwargs)#
Executes an openCypher
explainrequest. See The openCypher explain feature for more information.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:ReadDataViaQuery 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).
See also: AWS API Documentation
Request Syntax
response = client.execute_open_cypher_explain_query( openCypherQuery='string', parameters='string', explainMode='static'|'dynamic'|'details' )
- Parameters:
openCypherQuery (string) –
[REQUIRED]
The openCypher query string.
parameters (string) – The openCypher query parameters.
explainMode (string) –
[REQUIRED]
The openCypher
explainmode. Can be one of:static,dynamic, ordetails.
- Return type:
dict
- Returns:
Response Syntax
{ 'results': StreamingBody() }
Response Structure
(dict) –
results (
StreamingBody) –A text blob containing the openCypher
explainresults.
Exceptions
NeptuneData.Client.exceptions.QueryTooLargeExceptionNeptuneData.Client.exceptions.InvalidNumericDataExceptionNeptuneData.Client.exceptions.BadRequestExceptionNeptuneData.Client.exceptions.QueryLimitExceededExceptionNeptuneData.Client.exceptions.InvalidParameterExceptionNeptuneData.Client.exceptions.QueryLimitExceptionNeptuneData.Client.exceptions.ClientTimeoutExceptionNeptuneData.Client.exceptions.CancelledByUserExceptionNeptuneData.Client.exceptions.IllegalArgumentExceptionNeptuneData.Client.exceptions.TooManyRequestsExceptionNeptuneData.Client.exceptions.UnsupportedOperationExceptionNeptuneData.Client.exceptions.FailureByQueryExceptionNeptuneData.Client.exceptions.MemoryLimitExceededExceptionNeptuneData.Client.exceptions.PreconditionsFailedExceptionNeptuneData.Client.exceptions.MalformedQueryExceptionNeptuneData.Client.exceptions.ParsingExceptionNeptuneData.Client.exceptions.ConstraintViolationExceptionNeptuneData.Client.exceptions.TimeLimitExceededExceptionNeptuneData.Client.exceptions.InvalidArgumentExceptionNeptuneData.Client.exceptions.ConcurrentModificationExceptionNeptuneData.Client.exceptions.MissingParameterException