Module Smaws_Client_OpenSearchServerless.CreateCollection

Creates a new OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `InternalServerException of Types.internal_server_exception | `OcuLimitExceededException of Types.ocu_limit_exceeded_exception | `ServiceQuotaExceededException of Types.service_quota_exceeded_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_collection_request -> (Types.create_collection_response, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `InternalServerException of Types.internal_server_exception | `OcuLimitExceededException of Types.ocu_limit_exceeded_exception | `ServiceQuotaExceededException of Types.service_quota_exceeded_exception | `ValidationException of Types.validation_exception ]) Stdlib.result