describeChannel method

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

Gets details about a Channel.

May throw UnprocessableEntityException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceUnavailableException. May throw TooManyRequestsException.

Parameter id : The ID of a Channel.

Implementation

Future<DescribeChannelResponse> describeChannel({
  required String id,
}) async {
  ArgumentError.checkNotNull(id, 'id');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/channels/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeChannelResponse.fromJson(response);
}