stopGraph method

Future<StopGraphOutput> stopGraph({
  1. required String graphIdentifier,
})

Stops the specific graph.

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

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

Implementation

Future<StopGraphOutput> stopGraph({
  required String graphIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/graphs/${Uri.encodeComponent(graphIdentifier)}/stop',
    exceptionFnMap: _exceptionFns,
  );
  return StopGraphOutput.fromJson(response);
}