Smaws_Client_OpenSearchServerless.CreateCollectionGroupCreates a collection group within OpenSearch Serverless. Collection groups let you manage OpenSearch Compute Units (OCUs) at a group level, with multiple collections sharing the group's capacity limits.
For more information, see Managing collection groups.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServerException of Types.internal_server_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_collection_group_request ->
(Types.create_collection_group_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServerException of Types.internal_server_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_collection_group_request ->
(Types.create_collection_group_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServerException of Types.internal_server_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result