/AWS1/CL_IOT=>ATTACHTHINGPRINCIPAL()
¶
About AttachThingPrincipal¶
Attaches the specified principal to the specified thing. A principal can be X.509 certificates, Amazon Cognito identities or federated identities.
Requires permission to access the AttachThingPrincipal action.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_THINGNAME
TYPE /AWS1/IOTTHINGNAME
/AWS1/IOTTHINGNAME
¶
The name of the thing.
IV_PRINCIPAL
TYPE /AWS1/IOTPRINCIPAL
/AWS1/IOTPRINCIPAL
¶
The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.