startDiscoverer method
Starts 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<StartDiscovererResponse> startDiscoverer({
required String discovererId,
}) async {
ArgumentError.checkNotNull(discovererId, 'discovererId');
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/v1/discoverers/id/${Uri.encodeComponent(discovererId)}/start',
exceptionFnMap: _exceptionFns,
);
return StartDiscovererResponse.fromJson(response);
}