Module Values.PutResourcePolicyRequestSource

Attaches a resource-based policy to an OpenSearch Ingestion resource. Resource-based policies grant permissions to principals to perform actions on the resource.

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

    The Amazon Resource Name (ARN) of the resource to attach the policy to.

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

    The resource-based policy document in JSON format.

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