NeptuneData / Client / delete_sparql_statistics

delete_sparql_statistics#

NeptuneData.Client.delete_sparql_statistics()#

Deletes SPARQL statistics

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:DeleteStatistics IAM action in that cluster.

See also: AWS API Documentation

Request Syntax

response = client.delete_sparql_statistics()
Return type:

dict

Returns:

Response Syntax

{
    'statusCode': 123,
    'status': 'string',
    'payload': {
        'active': True|False,
        'statisticsId': 'string'
    }
}

Response Structure

  • (dict) –

    • statusCode (integer) –

      The HTTP response code: 200 if the delete was successful, or 204 if there were no statistics to delete.

    • status (string) –

      The cancel status.

    • payload (dict) –

      The deletion payload.

      • active (boolean) –

        The current status of the statistics.

      • statisticsId (string) –

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

Exceptions