Values.CreateAccessPolicyRequestSourceCreates 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.
type nonrec t = {type_ : AccessPolicyType.t;The type of policy.
*)name : PolicyName.t;The name of the policy.
*)description : PolicyDescription.t option;A description of the policy. Typically used to store information about the permissions defined in the policy.
*)policy : PolicyDocument.t;The JSON policy document to use as the content for the policy.
*)clientToken : ClientToken.t option;Unique, case-sensitive identifier to ensure idempotency of the request.
*)}val make :
?description:??? ->
?clientToken:??? ->
type_:AccessPolicyType.t ->
name:PolicyName.t ->
policy:PolicyDocument.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Enum of string | `String of PolicyName.t ]) list ]