Skip to main content

sparql_statistics

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

Overview

Namesparql_statistics
TypeResource
Idaws.neptunedata.sparql_statistics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
payloadobjectStatistics for RDF 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. 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.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_sparql_statisticsselectregionGets RDF statistics (SPARQL).
delete_sparql_statisticsdeleteregionDeletes 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.
manage_sparql_statisticsexecregionManages the generation and use of RDF 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 RDF statistics (SPARQL).

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

DELETE examples

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.

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

Lifecycle Methods

Manages the generation and use of RDF 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.sparql_statistics.manage_sparql_statistics
@region='{{ region }}' --required
@@json=
'{
"mode": "{{ mode }}"
}'
;