stopChannel method

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

Stops 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> stopChannel({
  required String channelName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'PUT',
    requestUri: '/channel/${Uri.encodeComponent(channelName)}/stop',
    exceptionFnMap: _exceptionFns,
  );
}