def create(self, friendly_name, type, permission):
data = values.of({<EOL>'<STR_LIT>': friendly_name,<EOL>'<STR_LIT>': type,<EOL>'<STR_LIT>': serialize.map(permission, lambda e: e),<EOL>})<EOL>payload = self._version.create(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return RoleInstance(self._version, payload, service_sid=self._solution['<STR_LIT>'], )<EOL>
Create a new RoleInstance

:param unicode friendly_name: The human-readable name of this role.
:param RoleInstance.RoleType type: What kind of role this is.
:param unicode permission: A permission this role should have.

:returns: Newly created RoleInstance
:rtype: twilio.rest.chat.v1.service.role.RoleInstance