Module Values_1.CreatePolicyVersionRequestSource

The input for the CreatePolicyVersion operation.

Sourcetype nonrec t = {
  1. policyName : Values_0.PolicyName.t;
    (*

    The policy name.

    *)
  2. policyDocument : Values_0.PolicyDocument.t;
    (*

    The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.

    *)
  3. setAsDefault : Values_0.SetAsDefault.t option;
    (*

    Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).

    *)
}
Sourceval context_ : string
Sourceval make : ?setAsDefault:??? -> policyName:Values_0.PolicyName.t -> policyDocument:Values_0.PolicyDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.SetAsDefault.t | `String of Values_0.PolicyName.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