NeptuneData / Client / get_gremlin_query_status

get_gremlin_query_status#

NeptuneData.Client.get_gremlin_query_status(**kwargs)#

Gets the status of a specified Gremlin query.

See also: AWS API Documentation

Request Syntax

response = client.get_gremlin_query_status(
    queryId='string'
)
Parameters:

queryId (string) –

[REQUIRED]

The unique identifier that identifies the Gremlin query.

Return type:

dict

Returns:

Response Syntax

{
    'queryId': 'string',
    'queryString': 'string',
    'queryEvalStats': {
        'waited': 123,
        'elapsed': 123,
        'cancelled': True|False,
        'subqueries': {...}|[...]|123|123.4|'string'|True|None
    }
}

Response Structure

  • (dict) –

    • queryId (string) –

      The ID of the query for which status is being returned.

    • queryString (string) –

      The Gremlin query string.

    • queryEvalStats (dict) –

      The evaluation status of the Gremlin query.

      • waited (integer) –

        Indicates how long the query waited, in milliseconds.

      • elapsed (integer) –

        The number of milliseconds the query has been running so far.

      • cancelled (boolean) –

        Set to TRUE if the query was cancelled, or FALSE otherwise.

      • subqueries (document) –

        The number of subqueries in this query.

Exceptions

  • NeptuneData.Client.exceptions.BadRequestException

  • NeptuneData.Client.exceptions.InvalidParameterException

  • NeptuneData.Client.exceptions.ClientTimeoutException

  • NeptuneData.Client.exceptions.AccessDeniedException

  • NeptuneData.Client.exceptions.IllegalArgumentException

  • NeptuneData.Client.exceptions.TooManyRequestsException

  • NeptuneData.Client.exceptions.UnsupportedOperationException

  • NeptuneData.Client.exceptions.FailureByQueryException

  • NeptuneData.Client.exceptions.PreconditionsFailedException

  • NeptuneData.Client.exceptions.ParsingException

  • NeptuneData.Client.exceptions.ReadOnlyViolationException

  • NeptuneData.Client.exceptions.ConstraintViolationException

  • NeptuneData.Client.exceptions.TimeLimitExceededException

  • NeptuneData.Client.exceptions.InvalidArgumentException

  • NeptuneData.Client.exceptions.ConcurrentModificationException

  • NeptuneData.Client.exceptions.MissingParameterException