Values.CheckNoNewAccessResponseSourceChecks whether new access is allowed for an updated policy when compared to the existing policy. You can find examples for reference policies and learn how to set up and run a custom policy check for new access in the IAM Access Analyzer custom policy checks samples repository on GitHub. The reference policies in this repository are meant to be passed to the existingPolicyDocument request parameter.
type nonrec t = {result : CheckNoNewAccessResult.t option;The result of the check for new access. If the result is PASS, no new access is allowed by the updated policy. If the result is FAIL, the updated policy might allow new access.
*)message : String_.t option;The message indicating whether the updated policy allows new access.
*)reasons : ReasonSummaryList.t option;A description of the reasoning of the result.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `InvalidParameterException of InvalidParameterException.t| `ThrottlingException of ThrottlingException.t| `UnprocessableEntityException of UnprocessableEntityException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `InvalidParameterException of InvalidParameterException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `UnprocessableEntityException of UnprocessableEntityException.t
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `InvalidParameterException of InvalidParameterException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `UnprocessableEntityException of UnprocessableEntityException.t
| `ValidationException of ValidationException.t ]