def add_share(self, group_id, resource_id, **kwargs):
properties = {}<EOL>for attr, value in kwargs.items():<EOL><INDENT>properties[self._underscore_to_camelcase(attr)] = value<EOL><DEDENT>data = {<EOL>"<STR_LIT>": properties<EOL>}<EOL>response = self._perform_request(<EOL>url='<STR_LIT>' % (group_id, resource_id),<EOL>method='<STR_LIT:POST>',<EOL>data=json.dumps(data))<EOL>return response<EOL>
Shares a resource through a group.

:param      group_id: The unique ID of the group.
:type       group_id: ``str``

:param      resource_id: The unique ID of the resource.
:type       resource_id: ``str``