Module Smaws_Client_OpenSearchServerless.CreateSecurityPolicy

val request : Smaws_Lib.Context.t -> create_security_policy_request -> (create_security_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 security policy to be used by one or more OpenSearch Serverless collections. Security policies provide access to a collection and its OpenSearch Dashboards endpoint from public networks or specific VPC endpoints. They also allow you to secure a collection with a KMS encryption key. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.