Module Values.GetEngineStatusOutputSource

Retrieves the status of the graph database on the host. 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:GetEngineStatus IAM action in that cluster.

Sourcetype nonrec t = {
  1. status : String_.t option;
    (*

    Set to healthy if the instance is not experiencing problems. If the instance is recovering from a crash or from being rebooted and there are active transactions running from the latest server shutdown, status is set to recovery.

    *)
  2. startTime : String_.t option;
    (*

    Set to the UTC time at which the current server process started.

    *)
  3. dbEngineVersion : String_.t option;
    (*

    Set to the Neptune engine version running on your DB cluster. If this engine version has been manually patched since it was released, the version number is prefixed by Patch-.

    *)
  4. role : String_.t option;
    (*

    Set to reader if the instance is a read-replica, or to writer if the instance is the primary instance.

    *)
  5. dfeQueryEngine : String_.t option;
    (*

    Set to enabled if the DFE engine is fully enabled, or to viaQueryHint (the default) if the DFE engine is only used with queries that have the useDFE query hint set to true.

    *)
  6. gremlin : QueryLanguageVersion.t option;
    (*

    Contains information about the Gremlin query language available on your cluster. Specifically, it contains a version field that specifies the current TinkerPop version being used by the engine.

    *)
  7. sparql : QueryLanguageVersion.t option;
    (*

    Contains information about the SPARQL query language available on your cluster. Specifically, it contains a version field that specifies the current SPARQL version being used by the engine.

    *)
  8. opencypher : QueryLanguageVersion.t option;
    (*

    Contains information about the openCypher query language available on your cluster. Specifically, it contains a version field that specifies the current operCypher version being used by the engine.

    *)
  9. labMode : StringValuedMap.t option;
    (*

    Contains Lab Mode settings being used by the engine.

    *)
  10. rollingBackTrxCount : Integer.t option;
    (*

    If there are transactions being rolled back, this field is set to the number of such transactions. If there are none, the field doesn't appear at all.

    *)
  11. rollingBackTrxEarliestStartTime : String_.t option;
    (*

    Set to the start time of the earliest transaction being rolled back. If no transactions are being rolled back, the field doesn't appear at all.

    *)
  12. features : DocumentValuedMap.t option;
    (*

    Contains status information about the features enabled on your DB cluster.

    *)
  13. settings : StringValuedMap.t option;
    (*

    Contains information about the current settings on your DB cluster. For example, contains the current cluster query timeout setting (clusterQueryTimeoutInMs).

    *)
}
Sourcetype nonrec error = [
  1. | `ClientTimeoutException of ClientTimeoutException.t
  2. | `ConstraintViolationException of ConstraintViolationException.t
  3. | `IllegalArgumentException of IllegalArgumentException.t
  4. | `InternalFailureException of InternalFailureException.t
  5. | `InvalidArgumentException of InvalidArgumentException.t
  6. | `PreconditionsFailedException of PreconditionsFailedException.t
  7. | `TooManyRequestsException of TooManyRequestsException.t
  8. | `UnsupportedOperationException of UnsupportedOperationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?status:??? -> ?startTime:??? -> ?dbEngineVersion:??? -> ?role:??? -> ?dfeQueryEngine:??? -> ?gremlin:??? -> ?sparql:??? -> ?opencypher:??? -> ?labMode:??? -> ?rollingBackTrxCount:??? -> ?rollingBackTrxEarliestStartTime:??? -> ?features:??? -> ?settings:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClientTimeoutException of ClientTimeoutException.t | `ConstraintViolationException of ConstraintViolationException.t | `IllegalArgumentException of IllegalArgumentException.t | `InternalFailureException of InternalFailureException.t | `InvalidArgumentException of InvalidArgumentException.t | `PreconditionsFailedException of PreconditionsFailedException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option | `UnsupportedOperationException of UnsupportedOperationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClientTimeoutException of ClientTimeoutException.t | `ConstraintViolationException of ConstraintViolationException.t | `IllegalArgumentException of IllegalArgumentException.t | `InternalFailureException of InternalFailureException.t | `InvalidArgumentException of InvalidArgumentException.t | `PreconditionsFailedException of PreconditionsFailedException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option | `UnsupportedOperationException of UnsupportedOperationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `Map of ([> `String of String_.t ] * [> `String of String_.t | `Structure of 'a list ]) list | `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t