def create_media_assetfile(access_token, parent_asset_id, name, is_primary="<STR_LIT:false>",is_encrypted="<STR_LIT:false>", encryption_scheme="<STR_LIT:None>", encryptionkey_id="<STR_LIT:None>"):
path = '<STR_LIT>'<EOL>endpoint = '<STR_LIT>'.join([ams_rest_endpoint, path])<EOL>if encryption_scheme == "<STR_LIT>":<EOL><INDENT>body = '<STR_LIT>' + is_encrypted + '<STR_LIT>' + encryption_scheme + '<STR_LIT>' + "<STR_LIT:1.0>" + '<STR_LIT>' + encryptionkey_id + '<STR_LIT>' + is_primary + '<STR_LIT>' + name + '<STR_LIT>' + parent_asset_id + '" \<DEDENT>else:<EOL><INDENT>body = '<STR_LIT>' + is_primary + '<STR_LIT>' + name + '<STR_LIT>' + parent_asset_id + '" \<DEDENT>return do_ams_post(endpoint, path, body, access_token)<EOL>
Create Media Service Asset File.

    Args:
        access_token (str): A valid Azure authentication token.
        parent_asset_id (str): Media Service Parent Asset ID.
        name (str): Media Service Asset Name.
        is_primary (str): Media Service Primary Flag.
        is_encrypted (str): Media Service Encryption Flag.
        encryption_scheme (str): Media Service Encryption Scheme.
        encryptionkey_id (str): Media Service Encryption Key ID.

    Returns:
        HTTP response. JSON body.