Skip to main content

propertygraph_statistics

Creates, updates, deletes, gets or lists a propertygraph_statistics resource.

Overview

Namepropertygraph_statistics
TypeResource
Idaws.neptunedata.propertygraph_statistics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
payloadobjectStatistics for property-graph data.
statusstringThe HTTP return code of the request. If the request succeeded, the code is 200. See Common error codes for DFE statistics request for a list of common errors.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_propertygraph_statisticsselectregionGets property graph statistics (Gremlin and openCypher). 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:GetStatisticsStatus IAM action in that cluster.
delete_propertygraph_statisticsdeleteregionDeletes 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.
manage_propertygraph_statisticsexecregionManages the generation and use of property graph 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:ManageStatistics IAM action in that cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets property graph statistics (Gremlin and openCypher). 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:GetStatisticsStatus IAM action in that cluster.

SELECT
payload,
status
FROM aws.neptunedata.propertygraph_statistics
WHERE region = '{{ region }}' -- required
;

DELETE examples

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.

DELETE FROM aws.neptunedata.propertygraph_statistics
WHERE region = '{{ region }}' --required
;

Lifecycle Methods

Manages the generation and use of property graph 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:ManageStatistics IAM action in that cluster.

EXEC aws.neptunedata.propertygraph_statistics.manage_propertygraph_statistics
@region='{{ region }}' --required
@@json=
'{
"mode": "{{ mode }}"
}'
;