Values.SimulatePolicyResponseSourceContains the response to a successful SimulatePrincipalPolicy or SimulateCustomPolicy request.
type simulateCustomPolicyResult = {evaluationResults : EvaluationResultsListType.t option;The results of the simulation.
*)isTruncated : BooleanType.t option;A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
*)marker : ResponseMarkerType.t option;When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
*)}and t = {simulateCustomPolicyResult : simulateCustomPolicyResult;responseMetaData : responseMetaData;}type error = [ | `InvalidInputException of InvalidInputException.t| `PolicyEvaluationException of PolicyEvaluationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidInputException of InvalidInputException.t
| `PolicyEvaluationException of PolicyEvaluationException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidInputException of InvalidInputException.t
| `PolicyEvaluationException of PolicyEvaluationException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of BooleanType.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of ContextKeyNameType.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of ContextKeyNameType.t
| `Structure of
(string
* [> `Enum of string
| `String of PolicyIdentifierType.t
| `Structure of
(string
* [> `Integer of LineNumber.t ])
list ])
list ]
list
| `Map of
([> `String of EvalDecisionSourceType.t ]
* [> `Enum of string ])
list
| `String of PolicyIdentifierType.t
| `Structure of
(string
* [> `Boolean of BooleanType.t
| `Integer of LineNumber.t ])
list ])
list ]
list
| `Map of
([> `String of EvalDecisionSourceType.t ]
* [> `Enum of string ])
list
| `String of ActionNameType.t
| `Structure of
(string * [> `Boolean of BooleanType.t ]) list ])
list ]
list
| `String of ResponseMarkerType.t ])
list ])
list ]