CmdID / aws / aws organizations
aws organizations list-children
Lists all of the organizational units (OUs) or accounts that are contained in the specified parent OU or root. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--child-typeFilters the output to include only the specified child type.--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.--parent-idThe unique identifier (ID) for the parent root or OU whose children you want to list.