Module Values.TrafficPolicySource

A complex type that contains settings for a traffic policy.

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

    The ID that Amazon Route 53 assigned to a traffic policy when you created it.

    *)
  2. version : TrafficPolicyVersion.t option;
    (*

    The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1.

    *)
  3. name : TrafficPolicyName.t option;
    (*

    The name that you specified when you created the traffic policy.

    *)
  4. type_ : RRType.t option;
    (*

    The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.

    *)
  5. document : TrafficPolicyDocument.t option;
    (*

    The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see Traffic Policy Document Format.

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

    The comment that you specify in the CreateTrafficPolicy request, if any.

    *)
}
Sourceval make : ?id:??? -> ?version:??? -> ?name:??? -> ?type_:??? -> ?document:??? -> ?comment:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of TrafficPolicyVersion.t | `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