enableOrganizationAdminAccount
abstract suspend fun enableOrganizationAdminAccount(input: EnableOrganizationAdminAccountRequest): EnableOrganizationAdminAccountResponse
Designates the Security Hub administrator account for an organization. Can only be called by the organization management account.
Samples
fun main() {
//sampleStart
// The following example designates the specified account as the Security Hub administrator account.
// The requesting account must be the organization management account.
securityHubClient.enableOrganizationAdminAccount {
adminAccountId = "123456789012"
}
//sampleEnd
}