Module CustomerProfiles.CalculatedAttributeDefinition

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-calculatedattributedefinition.html

type threshold = {
  1. operator : string;
  2. value : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-threshold.html

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

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

and range = {
  1. value : int;
  2. unit : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-range.html

and attribute_item = {
  1. name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-attributeitem.html

and attribute_details = {
  1. expression : string;
  2. attributes_ : attribute_item list;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-attributedetails.html

and conditions = {
  1. range : range option;
  2. object_count : int option;
  3. threshold : threshold option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-conditions.html

type properties = {
  1. description : string option;
  2. attribute_details : attribute_details;
  3. statistic : string;
  4. domain_name : string;
  5. display_name : string option;
  6. calculated_attribute_name : string;
  7. conditions : conditions option;
  8. tags : tag list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-calculatedattributedefinition.html;

val make_properties : ?description:string -> attribute_details:attribute_details -> statistic:string -> domain_name:string -> ?display_name:string -> calculated_attribute_name:string -> ?conditions:conditions -> ?tags:tag list -> unit -> properties
val make_threshold : operator:string -> value:string -> unit -> threshold
val make_tag : value:string -> key:string -> unit -> tag
val make_range : value:int -> unit:string -> unit -> range
val make_attribute_item : name:string -> unit -> attribute_item
val make_attribute_details : expression:string -> attributes_:attribute_item list -> unit -> attribute_details
val make_conditions : ?range:range -> ?object_count:int -> ?threshold:threshold -> unit -> conditions
val yojson_of_threshold : threshold -> Yojson.Safe.t
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_range : range -> Yojson.Safe.t
val yojson_of_attribute_item : attribute_item -> Yojson.Safe.t
val yojson_of_attribute_details : attribute_details -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_conditions : conditions -> [> `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. last_updated_at : string;
  3. created_at : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string