deleteLineageEvent method

Future<DeleteLineageEventOutput> deleteLineageEvent({
  1. required String domainIdentifier,
  2. required String identifier,
})

Deletes the specified lineage event.

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

Parameter domainIdentifier : The ID of the domain.

Parameter identifier : The ID of the lineage event.

Implementation

Future<DeleteLineageEventOutput> deleteLineageEvent({
  required String domainIdentifier,
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v2/domains/${Uri.encodeComponent(domainIdentifier)}/lineage/events/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteLineageEventOutput.fromJson(response);
}