CmdID / aws / aws organizations
aws organizations list-policies-for-target
Lists the policies that are directly attached to the specified target root, organizational unit (OU), or account. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--filterThe type of policy that you want to include in the returned list.--max-resultsThe maximum number of items to return in the response.--next-tokenThe parameter for receiving additional results if you receive a NextToken response in a previous request.--target-idID for the root, organizational unit, or account whose policies you want to list.