Module Values.ActionIdentifierSource

Contains information about an action for a request for which an authorization decision is made. This data type is used as a request parameter to the IsAuthorized, BatchIsAuthorized, and IsAuthorizedWithToken operations. Example: { "actionId": "<action name>", "actionType": "Action" }

Sourcetype nonrec t = {
  1. actionType : ActionType.t;
    (*

    The type of an action.

    *)
  2. actionId : ActionId.t;
    (*

    The ID of an action.

    *)
}
Sourceval context_ : string
Sourceval make : actionType:ActionType.t -> actionId:ActionId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ActionType.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