Module Smaws_Client_OpenSearchServerless.ListCollections

Lists all OpenSearch Serverless collections. For more information, see Creating and managing Amazon OpenSearch Serverless collections.

Make sure to include an empty request body {} if you don't include any collection filters in the request.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.list_collections_request -> (Types.list_collections_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerException of Types.internal_server_exception | `ValidationException of Types.validation_exception ]) Stdlib.result