Module Values.CreateTrafficPolicyVersionRequestSource

A complex type that contains information about the traffic policy that you want to create a new version for.

Sourcetype nonrec t = {
  1. id : TrafficPolicyId.t;
    (*

    The ID of the traffic policy for which you want to create a new version.

    *)
  2. document : TrafficPolicyDocument.t;
    (*

    The definition of this version of the traffic policy, in JSON format. You specified the JSON in the CreateTrafficPolicyVersion request. For more information about the JSON format, see CreateTrafficPolicy.

    *)
  3. comment : TrafficPolicyComment.t option;
    (*

    The comment that you specified in the CreateTrafficPolicyVersion request, if any.

    *)
}
Sourceval context_ : string
Sourceval make : ?comment:??? -> id:TrafficPolicyId.t -> document:TrafficPolicyDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of TrafficPolicyId.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