Module Values.EntityReferenceSource

Contains information about a principal or resource that can be referenced in a Cedar policy. This data type is used as part of the PolicyFilter structure that is used as a request parameter for the ListPolicies operation..

Sourcetype nonrec t = {
  1. unspecified : Boolean.t option;
    (*

    Used to indicate that a principal or resource is not specified. This can be used to search for policies that are not associated with a specific principal or resource.

    *)
  2. identifier : EntityIdentifier.t option;
    (*

    The identifier of the entity. It can consist of either an EntityType and EntityId, a principal, or a resource.

    *)
}
Sourceval make : ?unspecified:??? -> ?identifier:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `String of EntityType.t ]) list ]) 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