describeChannel method
Gets details about a channel
May throw BadGatewayException.
May throw BadRequestException.
May throw ForbiddenException.
May throw GatewayTimeoutException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter channelId :
channel ID
Implementation
Future<DescribeChannelResponse> describeChannel({
required String channelId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/prod/channels/${Uri.encodeComponent(channelId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeChannelResponse.fromJson(response);
}