Module Values.PutResourcePolicyResultSource

Updates the resource policy for a specified resource.

Sourcetype putResourcePolicyResult = {
  1. resourcePolicy : ResourcePolicy.t option;
    (*

    The content of the updated resource policy.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. putResourcePolicyResult : putResourcePolicyResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ConflictPolicyUpdateFault of ConflictPolicyUpdateFault.t
  2. | `InvalidPolicyFault of InvalidPolicyFault.t
  3. | `ResourceNotFoundFault of ResourceNotFoundFault.t
  4. | `UnsupportedOperationFault of UnsupportedOperationFault.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?resourcePolicy:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictPolicyUpdateFault of unit | `InvalidPolicyFault of unit | `ResourceNotFoundFault of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictPolicyUpdateFault of unit | `InvalidPolicyFault of unit | `ResourceNotFoundFault of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationFault of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `String of String_.t ]) list ]) list ]) 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