This function returns am_status_t with one of the following values:
If the function call is successful.
If an error occurs.