NeptuneData / Client / manage_sparql_statistics

manage_sparql_statistics#

NeptuneData.Client.manage_sparql_statistics(**kwargs)#

Manages the generation and use of RDF graph statistics.

See also: AWS API Documentation

Request Syntax

response = client.manage_sparql_statistics(
    mode='disableAutoCompute'|'enableAutoCompute'|'refresh'
)
Parameters:

mode (string) – The statistics generation mode. One of: DISABLE_AUTOCOMPUTE, ENABLE_AUTOCOMPUTE, or REFRESH, the last of which manually triggers DFE statistics generation.

Return type:

dict

Returns:

Response Syntax

{
    'status': 'string',
    'payload': {
        'statisticsId': 'string'
    }
}

Response Structure

  • (dict) –

    • status (string) –

      The HTTP return code of the request. If the request succeeded, the code is 200.

    • payload (dict) –

      This is only returned for refresh mode.

      • statisticsId (string) –

        The ID of the statistics generation run that is currently occurring.

Exceptions

  • NeptuneData.Client.exceptions.BadRequestException

  • NeptuneData.Client.exceptions.InvalidParameterException

  • NeptuneData.Client.exceptions.StatisticsNotAvailableException

  • NeptuneData.Client.exceptions.ClientTimeoutException

  • NeptuneData.Client.exceptions.AccessDeniedException

  • NeptuneData.Client.exceptions.IllegalArgumentException

  • NeptuneData.Client.exceptions.TooManyRequestsException

  • NeptuneData.Client.exceptions.UnsupportedOperationException

  • NeptuneData.Client.exceptions.PreconditionsFailedException

  • NeptuneData.Client.exceptions.ReadOnlyViolationException

  • NeptuneData.Client.exceptions.ConstraintViolationException

  • NeptuneData.Client.exceptions.InvalidArgumentException

  • NeptuneData.Client.exceptions.MissingParameterException