Module Values.StatementSource

Contains a reference to a Statement element in a policy document that determines the result of the simulation. This data type is used by the MatchedStatements member of the EvaluationResult type.

Sourcetype nonrec t = {
  1. sourcePolicyId : PolicyIdentifierType.t option;
    (*

    The identifier of the policy that was provided as an input.

    *)
  2. sourcePolicyType : PolicySourceType.t option;
    (*

    The type of the policy.

    *)
  3. startPosition : Position.t option;
    (*

    The row and column of the beginning of the Statement in an IAM policy.

    *)
  4. endPosition : Position.t option;
    (*

    The row and column of the end of a Statement in an IAM policy.

    *)
}
Sourceval make : ?sourcePolicyId:??? -> ?sourcePolicyType:??? -> ?startPosition:??? -> ?endPosition:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of PolicyIdentifierType.t | `Structure of (string * [> `Integer of LineNumber.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