Module Values.PolicyDefinitionDetailSource

A structure that describes a policy definition. It must always have either an static or a templateLinked element. This data type is used as a response parameter for the GetPolicy operation.

Sourcetype nonrec t = {
  1. static : StaticPolicyDefinitionDetail.t option;
    (*

    Information about a static policy that wasn't created with a policy template.

    *)
  2. templateLinked : TemplateLinkedPolicyDefinitionDetail.t option;
    (*

    Information about a template-linked policy that was created by instantiating a policy template.

    *)
}
Sourceval make : ?static:??? -> ?templateLinked:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of StaticPolicyDescription.t | `Structure of (string * [> `String of EntityType.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