IoT.FleetMetric
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.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-iot-fleetmetric-aggregationtype.html
type properties = {
index_name : string option;
metric_name : string;
description : string option;
query_string : string option;
period : int option;
query_version : string option;
unit : string option;
aggregation_type : aggregation_type option;
aggregation_field : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html;
val make_properties :
?index_name:string ->
metric_name:string ->
?description:string ->
?query_string:string ->
?period:int ->
?query_version:string ->
?unit:string ->
?aggregation_type:aggregation_type ->
?aggregation_field:string ->
?tags:tag list ->
unit ->
properties
val make_tag : value:string -> key:string -> unit -> tag
val make_aggregation_type :
values:string list ->
name:string ->
unit ->
aggregation_type
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_aggregation_type :
aggregation_type ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes