Evidently.Experiment
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html
type metric_goal_object = {
entity_id_key : string;
desired_change : string;
metric_name : string;
event_pattern : string option;
value_key : string;
unit_label : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-metricgoalobject.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmenttoweight.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmentobject.html
and running_status_object = {
status : string;
desired_state : string option;
analysis_complete_time : string option;
reason : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-runningstatusobject.html
and online_ab_config_object = {
treatment_weights : treatment_to_weight list option;
control_treatment_name : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-onlineabconfigobject.html
type properties = {
project : string;
running_status : running_status_object option;
description : string option;
metric_goals : metric_goal_object list;
online_ab_config : online_ab_config_object;
remove_segment : bool option;
randomization_salt : string option;
treatments : treatment_object list;
sampling_rate : int option;
segment : string option;
name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html;
val make_properties :
project:string ->
?running_status:running_status_object ->
?description:string ->
metric_goals:metric_goal_object list ->
online_ab_config:online_ab_config_object ->
?remove_segment:bool ->
?randomization_salt:string ->
treatments:treatment_object list ->
?sampling_rate:int ->
?segment:string ->
?tags:tag list ->
name:string ->
unit ->
properties
val make_metric_goal_object :
entity_id_key:string ->
desired_change:string ->
metric_name:string ->
?event_pattern:string ->
value_key:string ->
?unit_label:string ->
unit ->
metric_goal_object
val make_tag : value:string -> key:string -> unit -> tag
val make_treatment_to_weight :
treatment:string ->
split_weight:int ->
unit ->
treatment_to_weight
val make_treatment_object :
?description:string ->
variation:string ->
feature:string ->
treatment_name:string ->
unit ->
treatment_object
val make_running_status_object :
status:string ->
?desired_state:string ->
?analysis_complete_time:string ->
?reason:string ->
unit ->
running_status_object
val make_online_ab_config_object :
?treatment_weights:treatment_to_weight list ->
?control_treatment_name:string ->
unit ->
online_ab_config_object
val yojson_of_metric_goal_object :
metric_goal_object ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_treatment_to_weight : treatment_to_weight -> Yojson.Safe.t
val yojson_of_treatment_object :
treatment_object ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_running_status_object :
running_status_object ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_online_ab_config_object :
online_ab_config_object ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes