Values.ExecuteGremlinQueryOutputSourceThis commands executes a Gremlin query. Amazon Neptune is compatible with Apache TinkerPop3 and Gremlin, so you can use the Gremlin traversal language to query the graph, as described under The Graph in the Apache TinkerPop3 documentation. More details can also be found in Accessing a Neptune graph with Gremlin. 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 enables one of the following IAM actions in that cluster, depending on the query: neptune-db:ReadDataViaQuery neptune-db:WriteDataViaQuery neptune-db:DeleteDataViaQuery 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).
type nonrec t = {requestId : String_.t option;The unique identifier of the Gremlin query.
*)status : GremlinQueryStatusAttributes.t option;The status of the Gremlin query.
*)result : Document.t option;The Gremlin query output from the server.
*)meta : Document.t option;Metadata about the Gremlin query.
*)}type nonrec error = [ | `BadRequestException of BadRequestException.t| `CancelledByUserException of CancelledByUserException.t| `ClientTimeoutException of ClientTimeoutException.t| `ConcurrentModificationException of ConcurrentModificationException.t| `ConstraintViolationException of ConstraintViolationException.t| `FailureByQueryException of FailureByQueryException.t| `IllegalArgumentException of IllegalArgumentException.t| `InvalidArgumentException of InvalidArgumentException.t| `InvalidParameterException of InvalidParameterException.t| `MalformedQueryException of MalformedQueryException.t| `MemoryLimitExceededException of MemoryLimitExceededException.t| `MissingParameterException of MissingParameterException.t| `ParsingException of ParsingException.t| `PreconditionsFailedException of PreconditionsFailedException.t| `QueryLimitExceededException of QueryLimitExceededException.t| `QueryLimitException of QueryLimitException.t| `QueryTooLargeException of QueryTooLargeException.t| `TimeLimitExceededException of TimeLimitExceededException.t| `TooManyRequestsException of TooManyRequestsException.t| `UnsupportedOperationException of UnsupportedOperationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BadRequestException of BadRequestException.t
| `CancelledByUserException of CancelledByUserException.t
| `ClientTimeoutException of ClientTimeoutException.t
| `ConcurrentModificationException of ConcurrentModificationException.t
| `ConstraintViolationException of ConstraintViolationException.t
| `FailureByQueryException of FailureByQueryException.t
| `IllegalArgumentException of IllegalArgumentException.t
| `InvalidArgumentException of InvalidArgumentException.t
| `InvalidParameterException of InvalidParameterException.t
| `MalformedQueryException of MalformedQueryException.t
| `MemoryLimitExceededException of MemoryLimitExceededException.t
| `MissingParameterException of MissingParameterException.t
| `ParsingException of ParsingException.t
| `PreconditionsFailedException of PreconditionsFailedException.t
| `QueryLimitExceededException of QueryLimitExceededException.t
| `QueryLimitException of QueryLimitException.t
| `QueryTooLargeException of QueryTooLargeException.t
| `TimeLimitExceededException of TimeLimitExceededException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of UnsupportedOperationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BadRequestException of BadRequestException.t
| `CancelledByUserException of CancelledByUserException.t
| `ClientTimeoutException of ClientTimeoutException.t
| `ConcurrentModificationException of ConcurrentModificationException.t
| `ConstraintViolationException of ConstraintViolationException.t
| `FailureByQueryException of FailureByQueryException.t
| `IllegalArgumentException of IllegalArgumentException.t
| `InvalidArgumentException of InvalidArgumentException.t
| `InvalidParameterException of InvalidParameterException.t
| `MalformedQueryException of MalformedQueryException.t
| `MemoryLimitExceededException of MemoryLimitExceededException.t
| `MissingParameterException of MissingParameterException.t
| `ParsingException of ParsingException.t
| `PreconditionsFailedException of PreconditionsFailedException.t
| `QueryLimitExceededException of QueryLimitExceededException.t
| `QueryLimitException of QueryLimitException.t
| `QueryTooLargeException of QueryTooLargeException.t
| `TimeLimitExceededException of TimeLimitExceededException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option
| `UnsupportedOperationException of UnsupportedOperationException.t ]