updateDiscoverer method
Updates 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.
Parameter description :
The description of the discoverer to update.
Implementation
Future<UpdateDiscovererResponse> updateDiscoverer({
  required String discovererId,
  String? description,
}) async {
  ArgumentError.checkNotNull(discovererId, 'discovererId');
  _s.validateStringLength(
    'description',
    description,
    0,
    256,
  );
  final $payload = <String, dynamic>{
    if (description != null) 'Description': description,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri: '/v1/discoverers/id/${Uri.encodeComponent(discovererId)}',
    exceptionFnMap: _exceptionFns,
  );
  return UpdateDiscovererResponse.fromJson(response);
}