Values.EntitiesDefinitionSourceContains the list of entities to be considered during an authorization request. This includes all principals, resources, and actions required to successfully evaluate the request. This data type is used as a field in the response parameter for the IsAuthorized and IsAuthorizedWithToken operations.
type nonrec t = {entityList : EntityList.t option;An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities. If you include multiple entities with the same identifier, only the last one is processed in the request.
*)cedarJson : CedarJson.t option;A Cedar JSON string representation of the entities needed to successfully evaluate an authorization request. Example: {"cedarJson": "[{\"uid\":{\"type\":\"Photo\",\"id\":\"VacationPhoto94.jpg\"},\"attrs\":{\"accessLevel\":\"public\"},\"parents\":[]}]"}
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of EntityType.t ]) list ]
list
| `Map of
([> `String of String_.t ] * Awso.Botodata.value) list
| `Structure of
(string * [> `String of EntityType.t ]) list ])
list ]
list
| `String of CedarJson.t ])
list ]