Module Values_1.AttachThingPrincipalRequestSource

The input for the AttachThingPrincipal operation.

Sourcetype nonrec t = {
  1. thingName : Values_0.ThingName.t;
    (*

    The name of the thing.

    *)
  2. principal : Values_0.Principal.t;
    (*

    The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.

    *)
  3. thingPrincipalType : Values_0.ThingPrincipalType.t option;
    (*

    The type of the relation you want to specify when you attach a principal to a thing. EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.

    *)
}
Sourceval context_ : string
Sourceval make : ?thingPrincipalType:??? -> thingName:Values_0.ThingName.t -> principal:Values_0.Principal.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.ThingName.t ]) 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