Module Values.BatchIsAuthorizedOutputItemSource

The decision, based on policy evaluation, from an individual authorization request in a BatchIsAuthorized API request.

Sourcetype nonrec t = {
  1. request : BatchIsAuthorizedInputItem.t option;
    (*

    The authorization request that initiated the decision.

    *)
  2. decision : Decision.t option;
    (*

    An authorization decision that indicates if the authorization request should be allowed or denied.

    *)
  3. determiningPolicies : DeterminingPolicyList.t option;
    (*

    The list of determining policies used to make the authorization decision. For example, if there are two matching policies, where one is a forbid and the other is a permit, then the forbid policy will be the determining policy. In the case of multiple matching permit policies then there would be multiple determining policies. In the case that no policies match, and hence the response is DENY, there would be no determining policies.

    *)
  4. errors : EvaluationErrorList.t option;
    (*

    Errors that occurred while making an authorization decision. For example, a policy might reference an entity or attribute that doesn't exist in the request.

    *)
}
Sourceval make : ?request:??? -> ?decision:??? -> ?determiningPolicies:??? -> ?errors:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of PolicyId.t ]) list ] list | `Structure of (string * [> `Structure of (string * [> `Map of ([> `String of String_.t ] * Awso.Botodata.value) list | `String of EntityType.t ]) list ]) 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