Lists the policies attached to the specified thing group.
Requires permission to access the ListAttachedPolicies action.
post/attached-policies/{target}
Path parameters
targetstring required
The group or principal for which the policies will be listed. 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>).
Query parameters
recursiveboolean
When true, recursively list attached policies.
markerstring
The token to retrieve the next set of results.
pageSizeinteger
The maximum number of results to be returned per request.
Response
Success