aws iam list-policies-granting-service-access
Retrieves a list of policies that the IAM identity (user, group, or role) can use to access each specified service. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--arnThe ARN of the IAM identity (user, group, or role) whose policies you want to list.--markerUse this parameter only when paginating results and only after you receive a response indicating that the results are truncated.--service-namespacesThe service namespace for the Amazon Web Services services whose policies you want to list.