This function returns am_status_t with one of the following values:
If the entry was successfully erased from the map.
If either the map or key argument is NULL.
If the specified key is not currently in the map.