deleteSourceLocation method

Future<void> deleteSourceLocation({
  1. required String sourceLocationName,
})

Deletes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.

Parameter sourceLocationName : The name of the source location.

Implementation

Future<void> deleteSourceLocation({
  required String sourceLocationName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/sourceLocation/${Uri.encodeComponent(sourceLocationName)}',
    exceptionFnMap: _exceptionFns,
  );
}