Values_1.AttachThingPrincipalRequestSourceThe input for the AttachThingPrincipal operation.
type nonrec t = {thingName : Values_0.ThingName.t;The name of the thing.
*)principal : Values_0.Principal.t;The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
*)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.
*)}val make :
?thingPrincipalType:??? ->
thingName:Values_0.ThingName.t ->
principal:Values_0.Principal.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Enum of string | `String of Values_0.ThingName.t ]) list ]