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