Module Smaws_Client_OpenSearchServerless.ListCollections

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

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.