Skip to content

/AWS1/CL_IOT=>LISTTHINGPRINCIPALS()

About ListThingPrincipals

Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

Requires permission to access the ListThingPrincipals action.

Method Signature

IMPORTING

Required arguments:

IV_THINGNAME TYPE /AWS1/IOTTHINGNAME /AWS1/IOTTHINGNAME

The name of the thing.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/IOTNEXTTOKEN /AWS1/IOTNEXTTOKEN

To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

IV_MAXRESULTS TYPE /AWS1/IOTREGISTRYMAXRESULTS /AWS1/IOTREGISTRYMAXRESULTS

The maximum number of results to return in this operation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTLISTTHINGPRINCSRSP /AWS1/CL_IOTLISTTHINGPRINCSRSP