Skip to content

/AWS1/CL_NEG=>RESTOREGRAPHFROMSNAPSHOT()

About RestoreGraphFromSnapshot

Restores a graph from a snapshot.

Method Signature

IMPORTING

Required arguments:

IV_SNAPSHOTIDENTIFIER TYPE /AWS1/NEGSNAPSHOTIDENTIFIER /AWS1/NEGSNAPSHOTIDENTIFIER

The ID of the snapshot in question.

IV_GRAPHNAME TYPE /AWS1/NEGGRAPHNAME /AWS1/NEGGRAPHNAME

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

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.

Optional arguments:

IV_PROVISIONEDMEMORY TYPE /AWS1/NEGPROVISIONEDMEMORY /AWS1/NEGPROVISIONEDMEMORY

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

Min = 128

IV_DELETIONPROTECTION TYPE /AWS1/NEGBOOLEAN /AWS1/NEGBOOLEAN

A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.

IT_TAGS TYPE /AWS1/CL_NEGTAGMAP_W=>TT_TAGMAP TT_TAGMAP

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

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_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).

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_NEGRESTOREGRAPHFRMS01 /AWS1/CL_NEGRESTOREGRAPHFRMS01