deleteChannel method

Future<void> deleteChannel({
  1. required String channelName,
})

Deletes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Parameter channelName : The name of the channel.

Implementation

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