def create_asset_accesspolicy(access_token, name, duration, permission="<STR_LIT:1>"):
path = '<STR_LIT>'<EOL>endpoint = '<STR_LIT>'.join([ams_rest_endpoint, path])<EOL>body = '<STR_LIT>' + str(name) + '<STR_LIT>' + duration + '<STR_LIT>' + permission + '" \return do_ams_post(endpoint, path, body, access_token)<EOL>
Create Media Service Asset Access Policy.

    Args:
        access_token (str): A valid Azure authentication token.
        name (str): A Media Service Asset Access Policy Name.
        duration (str): A Media Service duration.
        permission (str): A Media Service permission.

    Returns:
        HTTP response. JSON body.