Smaws_Client_CloudSearch.CreateDomainCreates a new search domain. For more information, see Creating a Search Domain 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
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of Types.resource_already_exists_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_domain_request ->
(Types.create_domain_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `BaseException of Types.base_exception
| `InternalException of Types.internal_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_domain_request ->
(Types.create_domain_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `BaseException of Types.base_exception
| `InternalException of Types.internal_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result