describeDiscoverer method

Future<DescribeDiscovererResponse> describeDiscoverer({
  1. required String discovererId,
})

Describes the discoverer.

May throw BadRequestException. May throw UnauthorizedException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceUnavailableException.

Parameter discovererId : The ID of the discoverer.

Implementation

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