describeAccount
inline suspend fun OrganizationsClient.describeAccount(crossinline block: DescribeAccountRequest.Builder.() -> Unit): DescribeAccountResponse
Retrieves Organizations-related information about the specified account.
You can only call this operation from the management account or a member account that is a delegated administrator.
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
}