describeOrganization

abstract suspend fun describeOrganization(input: DescribeOrganizationRequest = DescribeOrganizationRequest { }): DescribeOrganizationResponse

Retrieves information about the organization that the user's account belongs to.

This operation can be called from any account in the organization.

Even if a policy type is shown as available in the organization, you can disable it separately at the root level with DisablePolicyType. Use ListRoots to see the status of policy types for a specified root.

Samples


fun main() { 
   //sampleStart 
   // The following example shows how to request information about the current user s organization n n
val resp = organizationsClient.describeOrganization() 
   //sampleEnd
}