Skip to content

/AWS1/CL_NEG=>CREATEGRAPH()

About CreateGraph

Creates a new Neptune Analytics graph.

Method Signature

IMPORTING

Required arguments:

IV_GRAPHNAME TYPE /AWS1/NEGGRAPHNAME /AWS1/NEGGRAPHNAME

A name for the new Neptune Analytics graph to be created.

The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens.

IV_PROVISIONEDMEMORY TYPE /AWS1/NEGPROVISIONEDMEMORY /AWS1/NEGPROVISIONEDMEMORY

The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128

Optional arguments:

IT_TAGS TYPE /AWS1/CL_NEGTAGMAP_W=>TT_TAGMAP TT_TAGMAP

Adds metadata tags to the new graph. These tags can also be used with cost allocation reporting, or used in a Condition statement in an IAM policy.

IV_PUBLICCONNECTIVITY TYPE /AWS1/NEGBOOLEAN /AWS1/NEGBOOLEAN

Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated. (true to enable, or false to disable.

IV_KMSKEYIDENTIFIER TYPE /AWS1/NEGKMSKEYARN /AWS1/NEGKMSKEYARN

Specifies a KMS key to use to encrypt data in the new graph.

IO_VECTORSEARCHCONFIGURATION TYPE REF TO /AWS1/CL_NEGVECTORSEARCHCONF /AWS1/CL_NEGVECTORSEARCHCONF

Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified as dimension=value. Max = 65,535

IV_REPLICACOUNT TYPE /AWS1/NEGREPLICACOUNT /AWS1/NEGREPLICACOUNT

The number of replicas in other AZs. Min =0, Max = 2, Default = 1.

Additional charges equivalent to the m-NCUs selected for the graph apply for each replica.

IV_DELETIONPROTECTION TYPE /AWS1/NEGBOOLEAN /AWS1/NEGBOOLEAN

Indicates whether or not to enable deletion protection on the graph. The graph can’t be deleted when deletion protection is enabled. (true or false).

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_NEGCREATEGRAPHOUTPUT /AWS1/CL_NEGCREATEGRAPHOUTPUT