Module Values.DescribeResourcePolicyResponseSource

Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.

Sourcetype nonrec t = {
  1. resourcePolicy : Policy.t option;
    (*

    The JSON body of the resource-based policy.

    *)
  2. creationTime : Timestamp.t option;
    (*

    The time at which the policy was created.

    *)
  3. lastModifiedTime : Timestamp.t option;
    (*

    The time at which the policy was last modified.

    *)
  4. 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.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?resourcePolicy:??? -> ?creationTime:??? -> ?lastModifiedTime:??? -> ?policyRevisionId:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Policy.t | `Timestamp of Timestamp.t ]) 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