Module IoTTwinMaker.ComponentType

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iottwinmaker-componenttype.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-componenttype-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-componenttype-propertygroup.html

and composite_component_type = {
  1. component_type_id : string option;
}

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

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

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

and lambda_function = {
  1. arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-componenttype-lambdafunction.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-componenttype-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-componenttype-datavalue.html

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

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

and data_connector = {
  1. is_native : bool option;
  2. lambda : lambda_function option;
}

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

and data_type = {
  1. type_ : string;
  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-componenttype-datatype.html

and function_ = {
  1. scope : string option;
  2. required_properties : string list option;
  3. implemented_by : data_connector option;
}

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

and property_definition = {
  1. default_value : data_value option;
  2. is_external_id : bool option;
  3. is_stored_externally : bool option;
  4. is_time_series : bool option;
  5. is_required_in_entity : bool option;
  6. data_type : data_type option;
  7. configurations : string Stdlib__Map.Make(Stdlib.String).t option;
}

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

type properties = {
  1. extends_from : string list option;
  2. description : string option;
  3. is_singleton : bool option;
  4. property_definitions : property_definition Stdlib__Map.Make(Stdlib.String).t option;
  5. property_groups : property_group Stdlib__Map.Make(Stdlib.String).t option;
  6. workspace_id : string;
  7. component_type_id : string;
  8. functions : function_ Stdlib__Map.Make(Stdlib.String).t option;
  9. composite_component_types : composite_component_type Stdlib__Map.Make(Stdlib.String).t option;
  10. tags : string Stdlib__Map.Make(Stdlib.String).t option;
}

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

val make_properties : ?extends_from:string list -> ?description:string -> ?is_singleton:bool -> ?property_definitions:property_definition Stdlib__Map.Make(Stdlib.String).t -> ?property_groups:property_group Stdlib__Map.Make(Stdlib.String).t -> workspace_id:string -> component_type_id:string -> ?functions:function_ Stdlib__Map.Make(Stdlib.String).t -> ?composite_component_types: composite_component_type Stdlib__Map.Make(Stdlib.String).t -> ?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_composite_component_type : ?component_type_id:string -> unit -> composite_component_type
val make_error : ?message:string -> ?code:string -> unit -> error
val make_lambda_function : arn:string -> unit -> lambda_function
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_connector : ?is_native:bool -> ?lambda:lambda_function -> unit -> data_connector
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_function_ : ?scope:string -> ?required_properties:string list -> ?implemented_by:data_connector -> unit -> function_
val make_property_definition : ?default_value:data_value -> ?is_external_id:bool -> ?is_stored_externally:bool -> ?is_time_series:bool -> ?is_required_in_entity:bool -> ?data_type:data_type -> ?configurations:string Stdlib__Map.Make(Stdlib.String).t -> unit -> property_definition
val yojson_of_relationship : relationship -> Yojson.Safe.t
val yojson_of_property_group : property_group -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_composite_component_type : composite_component_type -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_error : error -> Yojson.Safe.t
val yojson_of_lambda_function : lambda_function -> 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 -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_data_connector : data_connector -> Yojson.Safe.t
val yojson_of_data_type : data_type -> Yojson.Safe.t
val yojson_of_function_ : function_ -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_property_definition : property_definition -> [> `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__error__message : string;
  4. status__state : string;
  5. update_date_time : string;
  6. status__error__code : string;
  7. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string