Module Values.PutPolicyInputSource

Updates the resource-based policy.

Sourcetype nonrec t = {
  1. arn : VeniceGlobalArn.t;
    (*

    The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.

    *)
  2. token : PolicyToken.t option;
    (*

    A unique identifier for the current revision of the policy.

    *)
  3. policy : PolicyDocument.t;
    (*

    The resource-based policy. If you set the value of the effect parameter in the policy to Deny for the PutPolicy operation, you must also set the value of the effect parameter to Deny for the AddPolicyStatement operation.

    *)
}
Sourceval context_ : string
Sourceval make : ?token:??? -> arn:VeniceGlobalArn.t -> policy:PolicyDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of VeniceGlobalArn.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