deleteAccountAlias
abstract suspend fun deleteAccountAlias(input: DeleteAccountAliasRequest): DeleteAccountAliasResponse
Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.
Samples
fun main() {
//sampleStart
// The following command removes the alias mycompany from the current AWS account
iamClient.deleteAccountAlias {
accountAlias = "mycompany"
}
//sampleEnd
}