This function returns am_status_t with one of the following values:
If the call was successful.
If any error occurs, the type of error indicated by the status value.