@log_calls<EOL><INDENT>def lookup(self, s3url):<DEDENT>
try:<EOL><INDENT>return self.s3.head_object(Bucket=s3url.bucket, Key=s3url.path)<EOL><DEDENT>except BotoClient.ClientError as e:<EOL><INDENT>if e.response['<STR_LIT>']['<STR_LIT>'] == <NUM_LIT>:<EOL><INDENT>return None<EOL><DEDENT>else:<EOL><INDENT>raise e<EOL><DEDENT><DEDENT>
Get the s3 object with the S3 URL. Return None if not exist.