NeptuneData / Client / delete_propertygraph_statistics

delete_propertygraph_statistics#

NeptuneData.Client.delete_propertygraph_statistics()#

Deletes statistics for Gremlin and openCypher (property graph) data.

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_propertygraph_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

  • 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