getGraph method

Future<GetGraphOutput> getGraph({
  1. required String graphIdentifier,
})

Gets information about a specified graph.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter graphIdentifier : The unique identifier of the Neptune Analytics graph.

Implementation

Future<GetGraphOutput> getGraph({
  required String graphIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/graphs/${Uri.encodeComponent(graphIdentifier)}',
    endpoint: _resolveEndpoint(
      apiType: 'ControlPlane',
    ),
    exceptionFnMap: _exceptionFns,
  );
  return GetGraphOutput.fromJson(response);
}