Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / organizations / list-parents.rst
Size: Mime:
**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"
		}
	  ]
	}