Pinpoint.Segment
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-behavior-recency.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups-sourcesegments.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location-gpspoint-coordinates.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-attributedimension.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-behavior.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location-gpspoint.html
and demographic = {
app_version : set_dimension option;
device_type : set_dimension option;
platform : set_dimension option;
channel : set_dimension option;
model : set_dimension option;
make : set_dimension option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-demographic.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location.html
and segment_dimensions = {
demographic : demographic option;
metrics : Yojson.Safe.t option;
attributes_ : Yojson.Safe.t option;
behavior : behavior option;
user_attributes : Yojson.Safe.t option;
location : location option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html
and groups = {
type_ : string option;
source_type : string option;
dimensions : segment_dimensions list option;
source_segments : source_segments list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html
type properties = {
segment_groups : segment_groups option;
dimensions : segment_dimensions option;
application_id : string;
name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html;
val make_properties :
?segment_groups:segment_groups ->
?dimensions:segment_dimensions ->
application_id:string ->
?tags:Yojson.Safe.t ->
name:string ->
unit ->
properties
val make_recency : duration:string -> recency_type:string -> unit -> recency
val make_source_segments : ?version:int -> id:string -> unit -> source_segments
val make_coordinates : latitude:float -> longitude:float -> unit -> coordinates
val make_attribute_dimension :
?attribute_type:string ->
?values:string list ->
unit ->
attribute_dimension
val make_set_dimension :
?dimension_type:string ->
?values:string list ->
unit ->
set_dimension
val make_gps_point :
range_in_kilometers:float ->
coordinates:coordinates ->
unit ->
gps_point
val make_demographic :
?app_version:set_dimension ->
?device_type:set_dimension ->
?platform:set_dimension ->
?channel:set_dimension ->
?model:set_dimension ->
?make:set_dimension ->
unit ->
demographic
val make_location :
?gps_point:gps_point ->
?country:set_dimension ->
unit ->
location
val make_segment_dimensions :
?demographic:demographic ->
?metrics:Yojson.Safe.t ->
?attributes_:Yojson.Safe.t ->
?behavior:behavior ->
?user_attributes:Yojson.Safe.t ->
?location:location ->
unit ->
segment_dimensions
val make_groups :
?type_:string ->
?source_type:string ->
?dimensions:segment_dimensions list ->
?source_segments:source_segments list ->
unit ->
groups
val make_segment_groups :
?groups:groups list ->
?include_:string ->
unit ->
segment_groups
val yojson_of_recency : recency -> Yojson.Safe.t
val yojson_of_source_segments : source_segments -> Yojson.Safe.t
val yojson_of_coordinates : coordinates -> Yojson.Safe.t
val yojson_of_attribute_dimension :
attribute_dimension ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_set_dimension : set_dimension -> Yojson.Safe.t
val yojson_of_behavior : behavior -> Yojson.Safe.t
val yojson_of_gps_point : gps_point -> Yojson.Safe.t
val yojson_of_demographic : demographic -> Yojson.Safe.t
val yojson_of_location : location -> Yojson.Safe.t
val yojson_of_segment_dimensions : segment_dimensions -> Yojson.Safe.t
val yojson_of_groups : groups -> Yojson.Safe.t
val yojson_of_segment_groups :
segment_groups ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes