Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 1422

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**To list the parent OUs or roots for an account or child OU**

The following example you how to list the root or parent OU that contains that account 444444444444: ::

	aws organizations list-parents --child-id 444444444444

  
The output shows that the specified account is in the OU with specified ID: ::

	{
	  "Parents": [
		{
		  "Id": "ou-examplerootid111-exampleouid111",
		  "Type": "ORGANIZATIONAL_UNIT"
		}
	  ]
	}