Module XRay.SamplingRule

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html

type tag = {
  1. value : string;
  2. key : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html

and sampling_rule = {
  1. priority : int;
  2. reservoir_size : int;
  3. rule_arn : string option;
  4. url_path : string;
  5. attributes_ : string Stdlib__Map.Make(Stdlib.String).t option;
  6. fixed_rate : float;
  7. host : string;
  8. resource_arn : string;
  9. http_method : string;
  10. service_name : string;
  11. version : int option;
  12. service_type : string;
  13. rule_name : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html

type properties = {
  1. sampling_rule : sampling_rule option;
  2. tags : tag list option;
}

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 ]
type attributes = {
  1. ref_ : string;
  2. rule_arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string