sparql_statistics
Creates, updates, deletes, gets or lists a sparql_statistics resource.
Overview
| Name | sparql_statistics |
| Type | Resource |
| Id | aws.neptunedata.sparql_statistics |
Fields
The following fields are returned by SELECT queries:
- get_sparql_statistics
| Name | Datatype | Description |
|---|---|---|
payload | object | Statistics for RDF data. |
status | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_sparql_statistics | select | region | Gets RDF statistics (SPARQL). | |
delete_sparql_statistics | delete | region | 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. | |
manage_sparql_statistics | exec | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_sparql_statistics
Gets RDF statistics (SPARQL).
SELECT
payload,
status
FROM aws.neptunedata.sparql_statistics
WHERE region = '{{ region }}' -- required
;
DELETE examples
- 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.
DELETE FROM aws.neptunedata.sparql_statistics
WHERE region = '{{ region }}' --required
;
Lifecycle Methods
- manage_sparql_statistics
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 }}"
}'
;