buildSuggesters method
Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide.
May throw BaseException.
May throw InternalException.
May throw ResourceNotFoundException.
May throw ValidationException.
Implementation
Future<BuildSuggestersResponse> buildSuggesters({
required String domainName,
}) async {
final $request = <String, String>{
'DomainName': domainName,
};
final $result = await _protocol.send(
$request,
action: 'BuildSuggesters',
version: '2013-01-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
resultWrapper: 'BuildSuggestersResult',
);
return BuildSuggestersResponse.fromXml($result);
}