This function returns am_status_t with one of the following values:
If no error was detected.
If unable to allocate memory for the entry iterator object.
If the entry_iter_ptr argument is NULL.
If the specified map contains no keys.