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. Please use ListAttachedPolicies instead.Requires permission to access the ListPrincipalPolicies action.