describeChannelPlacementGroup method

Future<DescribeChannelPlacementGroupResponse> describeChannelPlacementGroup({
  1. required String channelPlacementGroupId,
  2. required String clusterId,
})

Get details about a ChannelPlacementGroup.

May throw BadGatewayException. May throw BadRequestException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter channelPlacementGroupId : The ID of the channel placement group.

Parameter clusterId : The ID of the cluster.

Implementation

Future<DescribeChannelPlacementGroupResponse> describeChannelPlacementGroup({
  required String channelPlacementGroupId,
  required String clusterId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/prod/clusters/${Uri.encodeComponent(clusterId)}/channelplacementgroups/${Uri.encodeComponent(channelPlacementGroupId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeChannelPlacementGroupResponse.fromJson(response);
}