Module Values_2.PutResourcePolicyResponseSource

Sets the Data Catalog resource policy for access control.

Sourcetype nonrec t = {
  1. policyHash : Values_0.HashString.t option;
    (*

    A hash of the policy that has just been set. This must be included in a subsequent call that overwrites or updates this policy.

    *)
}
Sourcetype nonrec error = [
  1. | `ConditionCheckFailureException of Values_1.ConditionCheckFailureException.t
  2. | `EntityNotFoundException of Values_0.EntityNotFoundException.t
  3. | `InternalServiceException of Values_0.InternalServiceException.t
  4. | `InvalidInputException of Values_0.InvalidInputException.t
  5. | `OperationTimeoutException of Values_0.OperationTimeoutException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?policyHash:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConditionCheckFailureException of Values_1.ConditionCheckFailureException.t | `EntityNotFoundException of Values_0.EntityNotFoundException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidInputException of Values_0.InvalidInputException.t | `OperationTimeoutException of Values_0.OperationTimeoutException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConditionCheckFailureException of Values_1.ConditionCheckFailureException.t | `EntityNotFoundException of Values_0.EntityNotFoundException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidInputException of Values_0.InvalidInputException.t | `OperationTimeoutException of Values_0.OperationTimeoutException.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 Values_0.HashString.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