describeAccount

Retrieves Organizations-related information about the specified account.

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 a user in the master account (111111111111) asking for details about
// account 555555555555
val resp = organizationsClient.describeAccount {
    accountId = "555555555555"
} 
   //sampleEnd
}