describeChannel method
Returns the current configuration and state of a channel.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
May throw UnauthorizedException.
Parameter channelArn :
The Amazon Resource Name (ARN) that uniquely identifies the channel.
Parameter clusterArn :
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Implementation
Future<DescribeChannelResponse> describeChannel({
required String channelArn,
required String clusterArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v1/clusters/${Uri.encodeComponent(clusterArn)}/channels/${Uri.encodeComponent(channelArn)}',
exceptionFnMap: _exceptionFns,
);
return DescribeChannelResponse.fromJson(response);
}