Module IoTTwinMaker.Entity

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iottwinmaker-entity.html

type relationship = {
  1. relationship_type : string option;
  2. target_component_type_id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-relationship.html

and property_group = {
  1. group_type : string option;
  2. property_names : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-propertygroup.html

and error = {
  1. message : string option;
  2. code : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-error.html

and relationship_value = {
  1. target_component_name : string option;
  2. target_entity_id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-relationshipvalue.html

and data_value = {
  1. double_value : float option;
  2. expression : string option;
  3. boolean_value : bool option;
  4. integer_value : int option;
  5. list_value : data_value list option;
  6. long_value : float option;
  7. map_value : data_value Stdlib__Map.Make(Stdlib.String).t option;
  8. relationship_value : relationship_value option;
  9. string_value : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html

and status = {
  1. state : string option;
  2. error : error option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-status.html

and data_type = {
  1. type_ : string option;
  2. allowed_values : data_value list option;
  3. unit_of_measure : string option;
  4. relationship : relationship option;
  5. nested_type : data_type option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datatype.html

and definition = {
  1. default_value : data_value option;
  2. is_imported : bool option;
  3. is_inherited : bool option;
  4. configuration : string Stdlib__Map.Make(Stdlib.String).t option;
  5. is_external_id : bool option;
  6. is_stored_externally : bool option;
  7. is_time_series : bool option;
  8. is_required_in_entity : bool option;
  9. data_type : data_type option;
  10. is_final : bool option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-definition.html

and property = {
  1. definition : definition option;
  2. value : data_value option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-property.html

and composite_component = {
  1. status : status option;
  2. component_path : string option;
  3. description : string option;
  4. property_groups : property_group Stdlib__Map.Make(Stdlib.String).t option;
  5. component_type_id : string option;
  6. component_name : string option;
  7. properties_ : property Stdlib__Map.Make(Stdlib.String).t option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-compositecomponent.html

and component = {
  1. status : status option;
  2. description : string option;
  3. defined_in : string option;
  4. property_groups : property_group Stdlib__Map.Make(Stdlib.String).t option;
  5. component_type_id : string option;
  6. component_name : string option;
  7. properties_ : property Stdlib__Map.Make(Stdlib.String).t option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-component.html

type properties = {
  1. entity_id : string option;
  2. components : component Stdlib__Map.Make(Stdlib.String).t option;
  3. parent_entity_id : string option;
  4. composite_components : composite_component Stdlib__Map.Make(Stdlib.String).t option;
  5. description : string option;
  6. entity_name : string;
  7. workspace_id : string;
  8. tags : string Stdlib__Map.Make(Stdlib.String).t option;
}

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

val make_properties : ?entity_id:string -> ?components:component Stdlib__Map.Make(Stdlib.String).t -> ?parent_entity_id:string -> ?composite_components:composite_component Stdlib__Map.Make(Stdlib.String).t -> ?description:string -> entity_name:string -> workspace_id:string -> ?tags:string Stdlib__Map.Make(Stdlib.String).t -> unit -> properties
val make_relationship : ?relationship_type:string -> ?target_component_type_id:string -> unit -> relationship
val make_property_group : ?group_type:string -> ?property_names:string list -> unit -> property_group
val make_error : ?message:string -> ?code:string -> unit -> error
val make_relationship_value : ?target_component_name:string -> ?target_entity_id:string -> unit -> relationship_value
val make_data_value : ?double_value:float -> ?expression:string -> ?boolean_value:bool -> ?integer_value:int -> ?list_value:data_value list -> ?long_value:float -> ?map_value:data_value Stdlib__Map.Make(Stdlib.String).t -> ?relationship_value:relationship_value -> ?string_value:string -> unit -> data_value
val make_status : ?state:string -> ?error:error -> unit -> status
val make_data_type : ?type_:string -> ?allowed_values:data_value list -> ?unit_of_measure:string -> ?relationship:relationship -> ?nested_type:data_type -> unit -> data_type
val make_definition : ?default_value:data_value -> ?is_imported:bool -> ?is_inherited:bool -> ?configuration:string Stdlib__Map.Make(Stdlib.String).t -> ?is_external_id:bool -> ?is_stored_externally:bool -> ?is_time_series:bool -> ?is_required_in_entity:bool -> ?data_type:data_type -> ?is_final:bool -> unit -> definition
val make_property : ?definition:definition -> ?value:data_value -> unit -> property
val make_composite_component : ?status:status -> ?component_path:string -> ?description:string -> ?property_groups:property_group Stdlib__Map.Make(Stdlib.String).t -> ?component_type_id:string -> ?component_name:string -> ?properties_:property Stdlib__Map.Make(Stdlib.String).t -> unit -> composite_component
val make_component : ?status:status -> ?description:string -> ?defined_in:string -> ?property_groups:property_group Stdlib__Map.Make(Stdlib.String).t -> ?component_type_id:string -> ?component_name:string -> ?properties_:property Stdlib__Map.Make(Stdlib.String).t -> unit -> component
val yojson_of_relationship : relationship -> Yojson.Safe.t
val yojson_of_property_group : property_group -> Yojson.Safe.t
val yojson_of_error : error -> Yojson.Safe.t
val yojson_of_relationship_value : relationship_value -> Yojson.Safe.t
val yojson_of_data_value : data_value -> Yojson.Safe.t
val yojson_of_status : status -> Yojson.Safe.t
val yojson_of_data_type : data_type -> Yojson.Safe.t
val yojson_of_definition : definition -> Yojson.Safe.t
val yojson_of_property : property -> Yojson.Safe.t
val yojson_of_composite_component : composite_component -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_component : component -> [> `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. creation_date_time : string;
  3. status__state : string;
  4. update_date_time : string;
  5. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string