Module Values.PolicyDefinitionItemSource

A structure that describes a PolicyDefinintion. It will always have either an StaticPolicy or a TemplateLinkedPolicy element. This data type is used as a response parameter for the CreatePolicy and ListPolicies operations.

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

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

    *)
  2. templateLinked : TemplateLinkedPolicyDefinitionItem.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