Module IoT.FleetMetric

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html

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

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

and aggregation_type = {
  1. values : string list;
  2. name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-fleetmetric-aggregationtype.html

type properties = {
  1. index_name : string option;
  2. metric_name : string;
  3. description : string option;
  4. query_string : string option;
  5. period : int option;
  6. query_version : string option;
  7. unit : string option;
  8. aggregation_type : aggregation_type option;
  9. aggregation_field : string option;
  10. tags : tag list 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 ]
type attributes = {
  1. ref_ : string;
  2. metric_arn : string;
  3. creation_date : string;
  4. last_modified_date : string;
  5. version : float;
}
val create_attributes : string -> attributes
val cloudformation_type : string