import boto3

batch_client = boto3.client('batch')

def lambda_handler(event, context):
  describe_response = batch_client.describe_jobs(
    jobs=[ event.get('jobId', '')]
  )
  
  return describe_response.get('jobs', [{}])[0].get('status', '')

[((3, 15, 3, 36), 'boto3.client', 'boto3.client', ({(3, 28, 3, 35): '"""batch"""'}, {}), "('batch')", False, 'import boto3\n')]