v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.

Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use ListAttachedPolicies instead.

Requires permission to access the ListPrincipalPolicies action.

get/principal-policies#x-amzn-iot-principal

Query parameters

markerstring

The marker for the next set of results.

pageSizeinteger

The result page size.

isAscendingOrderboolean

Specifies the order for results. If true, results are returned in ascending creation order.

Headers

x-amzn-iot-principalstring required

The principal. Valid principals are CertificateArn (arn:aws:iot:<i>region</i>:<i>accountId</i>:cert/<i>certificateId</i>), thingGroupArn (arn:aws:iot:<i>region</i>:<i>accountId</i>:thinggroup/<i>groupName</i>) and CognitoId (<i>region</i>:<i>id</i>).

Response

Success

nextMarkerstring

The marker for the next set of results, or null if there are no additional results.