Pakistan coach Mickey Arthur was handed an official warning and one demerit point for breaching the ICC Code of Conduct during the third days play of the first Test, which South Africa won by six wickets at Centurion on Friday.
According to an ICC release, Arthur was found to have violated Article 2.8 of the ICC Code of Conduct for Players and Player Support Personnel, which relates to "showing dissent at an umpire's decision during an international match".
"The incident happened in the ninth over of South Africa's second innings when Arthur, after TV umpire Joel Wilson had decided in favour of Dean Elgar, entered the TV umpire's room and showed dissent at Wilson's decision by first questioning him and then storming out of the room," the release said.
"After the match, the Pakistan coach admitted the offence and accepted the sanction proposed by match referee David Boon. As such, there was no need for a formal hearing. The charge was laid by third umpire Joel Wilson," it added.
Earlier, Amla eventually played his way out of his dip in form — stroking 11 fours and batting for four hours — but he was let off on 8 when an edge off Ali went straight to Fakhar Zaman at third slip and dropped out of his hands.
The next over, Elgar survived a contentious umpiring decision that ruled out a low slip catch that appeared to be good. Elgar was on 4 at the time. If both chances had gone Pakistan's way, South Africa would have been 16-3.
The ICC's Level 1 breaches carry a minimum penalty of an official reprimand, a maximum penalty of 50 per cent of a player's match fee, and one or two demerit points.