PropertygraphData - Neptune Data API
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

PropertygraphData

A Gremlin or openCypher change record.

Contents

id

The ID of the Gremlin or openCypher element.

Type: String

Required: Yes

key

The property name. For element labels, this is label.

Type: String

Required: Yes

type

The type of this Gremlin or openCypher element. Must be one of:

  • v1   -   Vertex label for Gremlin, or node label for openCypher.

  • vp   -   Vertex properties for Gremlin, or node properties for openCypher.

  • e   -   Edge and edge label for Gremlin, or relationship and relationship type for openCypher.

  • ep   -   Edge properties for Gremlin, or relationship properties for openCypher.

Type: String

Required: Yes

value

This is a JSON object that contains a value field for the value itself, and a datatype field for the JSON data type of that value:

Type: JSON value

Required: Yes

from

If this is an edge (type = e), the ID of the corresponding from vertex or source node.

Type: String

Required: No

to

If this is an edge (type = e), the ID of the corresponding to vertex or target node.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: