IoTTwinMaker.Entity
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iottwinmaker-entity.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-relationship.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-propertygroup.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-error.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-relationshipvalue.html
and data_value = {
double_value : float option;
expression : string option;
boolean_value : bool option;
integer_value : int option;
list_value : data_value list option;
long_value : float option;
map_value : data_value Stdlib__Map.Make(Stdlib.String).t option;
relationship_value : relationship_value option;
string_value : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datavalue.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-status.html
and data_type = {
type_ : string option;
allowed_values : data_value list option;
unit_of_measure : string option;
relationship : relationship option;
nested_type : data_type option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-datatype.html
and definition = {
default_value : data_value option;
is_imported : bool option;
is_inherited : bool option;
configuration : string Stdlib__Map.Make(Stdlib.String).t option;
is_external_id : bool option;
is_stored_externally : bool option;
is_time_series : bool option;
is_required_in_entity : bool option;
data_type : data_type option;
is_final : bool option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-definition.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-entity-property.html
and composite_component = {
status : status option;
component_path : string option;
description : string option;
property_groups : property_group Stdlib__Map.Make(Stdlib.String).t option;
component_type_id : string option;
component_name : string option;
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 = {
status : status option;
description : string option;
defined_in : string option;
property_groups : property_group Stdlib__Map.Make(Stdlib.String).t option;
component_type_id : string option;
component_name : string option;
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 = {
entity_id : string option;
components : component Stdlib__Map.Make(Stdlib.String).t option;
parent_entity_id : string option;
composite_components : composite_component Stdlib__Map.Make(Stdlib.String).t
option;
description : string option;
entity_name : string;
workspace_id : string;
}
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_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 ]
val create_attributes : string -> attributes