Smaws_Client_CloudSearch.DefineSuggesterConfigures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `BaseException of Types.base_exception
| `InternalException of Types.internal_exception
| `InvalidTypeException of Types.invalid_type_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.define_suggester_request ->
(Types.define_suggester_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `BaseException of Types.base_exception
| `InternalException of Types.internal_exception
| `InvalidTypeException of Types.invalid_type_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.define_suggester_request ->
(Types.define_suggester_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `BaseException of Types.base_exception
| `InternalException of Types.internal_exception
| `InvalidTypeException of Types.invalid_type_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result