Module Values.GetAccessPolicyRequestSource

Returns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.

Sourcetype nonrec t = {
  1. type_ : AccessPolicyType.t;
    (*

    Tye type of policy. Currently, the only supported value is data.

    *)
  2. name : PolicyName.t;
    (*

    The name of the access policy.

    *)
}
Sourceval context_ : string
Sourceval make : type_:AccessPolicyType.t -> name:PolicyName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of PolicyName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t