code: def parse_s3_url(url):
      
      parsed_url = urlparse(url)
      if parsed_url.scheme != "s3":
          raise ValueError("Expecting 's3' scheme, got: {} in {}".format(parsed_url.scheme, url))
      return parsed_url.netloc, parsed_url.path.lstrip('/')
docs: Returns an (s3 bucket, key name/prefix) tuple from a url with an s3 scheme
  
      Args:
          url (str):
  
      Returns:
          tuple: A tuple containing:
              str: S3 bucket name
              str: S3 key