describeChannel method

Future<DescribeChannelResponse> describeChannel({
  1. required String channelName,
})

Describes 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<DescribeChannelResponse> describeChannel({
  required String channelName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/channel/${Uri.encodeComponent(channelName)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeChannelResponse.fromJson(response);
}