<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create(self, resource):
 """Create the given resource. Args: resource (intern.resource.boss.BossResource):
 Create a data model object with attributes matching those of the resource. Returns: (intern.resource.boss.BossResource):
 Returns resource of type requested on success. Raises: requests.HTTPError on failure. """

        return self.service.create(
            resource, self.url_prefix, self.auth, self.session,
            self.session_send_opts)