Module Values.PutResourcePolicyRequestSource

Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks.

Sourcetype nonrec t = {
  1. resourceArn : ResourceArn.t;
    (*

    The ID or ARN of the service network or service for which the policy is created.

    *)
  2. policy : PolicyString.t;
    (*

    An IAM policy. The policy string in JSON must not contain newlines or blank lines.

    *)
}
Sourceval context_ : string
Sourceval make : resourceArn:ResourceArn.t -> policy:PolicyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceArn.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