Module Values.PutConfiguredAudienceModelPolicyRequestSource

Create or update the resource policy for a configured audience model.

Sourcetype nonrec t = {
  1. configuredAudienceModelArn : ConfiguredAudienceModelArn.t;
    (*

    The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.

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

    The IAM resource policy.

    *)
  3. previousPolicyHash : Hash.t option;
    (*

    A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.

    *)
  4. policyExistenceCondition : PolicyExistenceCondition.t option;
    (*

    Use this to prevent unexpected concurrent modification of the policy.

    *)
}
Sourceval context_ : string
Sourceval make : ?previousPolicyHash:??? -> ?policyExistenceCondition:??? -> configuredAudienceModelArn:ConfiguredAudienceModelArn.t -> configuredAudienceModelPolicy:ResourcePolicy.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ConfiguredAudienceModelArn.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