Module Values_1.CreateThingGroupRequestSource

Create a thing group. This is a control plane operation. See Authorization for information about authorizing control plane actions. If the ThingGroup that you create has the exact same attributes as an existing ThingGroup, you will get a 200 success response. Requires permission to access the CreateThingGroup action.

Sourcetype nonrec t = {
  1. thingGroupName : Values_0.ThingGroupName.t;
    (*

    The thing group name to create.

    *)
  2. parentGroupName : Values_0.ThingGroupName.t option;
    (*

    The name of the parent thing group.

    *)
  3. thingGroupProperties : Values_0.ThingGroupProperties.t option;
    (*

    The thing group properties.

    *)
  4. tags : Values_0.TagList.t option;
    (*

    Metadata which can be used to manage the thing group.

    *)
}
Sourceval context_ : string
Sourceval make : ?parentGroupName:??? -> ?thingGroupProperties:??? -> ?tags:??? -> thingGroupName:Values_0.ThingGroupName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.ThingGroupName.t | `Structure of (string * [> `String of string | `Structure of (string * [> `Boolean of bool | `Map of ([> `String of string ] * [> `String of string ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t