def _sar_service_call(self, service_call_lambda, logical_id, *args):
try:<EOL><INDENT>response = service_call_lambda(*args)<EOL>logging.info(response)<EOL>return response<EOL><DEDENT>except ClientError as e:<EOL><INDENT>error_code = e.response['<STR_LIT>']['<STR_LIT>']<EOL>if error_code in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>raise InvalidResourceException(logical_id, e.response['<STR_LIT>']['<STR_LIT>'])<EOL><DEDENT>logging.exception(e)<EOL>raise e<EOL><DEDENT>
Handles service calls and exception management for service calls
to the Serverless Application Repository.

:param lambda service_call_lambda: lambda function that contains the service call
:param string logical_id: Logical ID of the resource being processed
:param list *args: arguments for the service call lambda