Module Values.DataRetrievalRuleSource

Data retrieval policy rule.

Sourcetype nonrec t = {
  1. strategy : String_.t option;
    (*

    The type of data retrieval policy to set. Valid values: BytesPerHour|FreeTier|None

    *)
  2. bytesPerHour : NullableLong.t option;
    (*

    The maximum number of bytes that can be retrieved in an hour. This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

    *)
}
Sourceval make : ?strategy:??? -> ?bytesPerHour:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of NullableLong.t | `String of String_.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