Module Values.EntityIdentifierSource

Contains the identifier of an entity, including its ID and type. This data type is used as a request parameter for IsAuthorized operation, and as a response parameter for the CreatePolicy, GetPolicy, and UpdatePolicy operations. Example: {"entityId":"string","entityType":"string"}

Sourcetype nonrec t = {
  1. entityType : EntityType.t;
    (*

    The type of an entity. Example: "entityType":"typeName"

    *)
  2. entityId : EntityId.t;
    (*

    The identifier of an entity. "entityId":"identifier"

    *)
}
Sourceval context_ : string
Sourceval make : entityType:EntityType.t -> entityId:EntityId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of EntityType.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