XRay.SamplingRule
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
and sampling_rule = {
priority : int;
reservoir_size : int;
rule_arn : string option;
url_path : string;
attributes_ : string Stdlib__Map.Make(Stdlib.String).t option;
fixed_rate : float;
host : string;
resource_arn : string;
http_method : string;
service_name : string;
version : int option;
service_type : string;
rule_name : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html;
val make_properties :
?sampling_rule:sampling_rule ->
?tags:tag list ->
unit ->
properties
val make_tag : value:string -> key:string -> unit -> tag
val make_sampling_rule :
priority:int ->
reservoir_size:int ->
?rule_arn:string ->
url_path:string ->
?attributes_:string Stdlib__Map.Make(Stdlib.String).t ->
fixed_rate:float ->
host:string ->
resource_arn:string ->
http_method:string ->
service_name:string ->
?version:int ->
service_type:string ->
?rule_name:string ->
unit ->
sampling_rule
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_sampling_rule :
sampling_rule ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes