Module Smaws_Client_OpenSearchServerless.CreateAccessPolicy

val request : Smaws_Lib.Context.t -> create_access_policy_request -> (create_access_policy_response, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of conflict_exception | `InternalServerException of internal_server_exception | `ServiceQuotaExceededException of service_quota_exceeded_exception | `ValidationException of validation_exception ]) Stdlib.result

Creates a data access policy for OpenSearch Serverless. Access policies limit access to collections and the resources within them, and allow a user to access that data irrespective of the access mechanism or network source. For more information, see Data access control for Amazon OpenSearch Serverless.