deleteGraphSnapshot method

Future<DeleteGraphSnapshotOutput> deleteGraphSnapshot({
  1. required String snapshotIdentifier,
})

Deletes the specified graph snapshot.

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

Parameter snapshotIdentifier : ID of the graph snapshot to be deleted.

Implementation

Future<DeleteGraphSnapshotOutput> deleteGraphSnapshot({
  required String snapshotIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/snapshots/${Uri.encodeComponent(snapshotIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteGraphSnapshotOutput.fromJson(response);
}