Smaws_Client_VerifiedPermissions.IsAuthorizedMakes an authorization decision about a service request described in the parameters. The information in the parameters can also define additional context that Verified Permissions can include in the evaluation. The request is evaluated against all matching policies in the specified policy store. The result of the decision is either Allow or Deny, along with a list of the policies that resulted in the decision.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.is_authorized_input ->
(Types.is_authorized_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.is_authorized_input ->
(Types.is_authorized_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result