Values.DescribeResourcePolicyResponseSourceGets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.
type nonrec t = {resourcePolicy : Policy.t option;The JSON body of the resource-based policy.
*)creationTime : Timestamp.t option;The time at which the policy was created.
*)lastModifiedTime : Timestamp.t option;The time at which the policy was last modified.
*)policyRevisionId : PolicyRevisionId.t option;The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `InvalidRequestException of InvalidRequestException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string * [> `String of Policy.t | `Timestamp of Timestamp.t ]) list ]