describeOrganizationalUnit
abstract suspend fun describeOrganizationalUnit(input: DescribeOrganizationalUnitRequest): DescribeOrganizationalUnitResponse
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.
Samples
fun main() {
//sampleStart
// The following example shows how to request details about an OU n n
val resp = organizationsClient.describeOrganizationalUnit {
organizationalUnitId = "ou-examplerootid111-exampleouid111"
}
//sampleEnd
}