aws.organizations.describe_organizational_unit
Example SQL Queries
SELECT * FROMaws.organizations.describe_organizational_unitWHERE"organizational_unit_id" = 'VALUE';Description
Retrieves information about an organizational unit (OU).
This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.
Table Definition
| Column Name | Column Data Type |
|---|---|
| organizational_unit_id Required Input Column The unique identifier (ID) of the organizational unit that you want details about. You can get the ID from the ListOrganizationalUnitsForParent operation. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| organizational_unit A structure that contains details about the specified OU. | STRUCT( |
Show child fields
| |