code: def snapshot(cls, cluster_id_label, s3_location, backup_type):
          
          conn = Qubole.agent(version=Cluster.api_version)
          parameters = {}
          parameters['s3_location'] = s3_location
          if backup_type:
              parameters['backup_type'] = backup_type
          return conn.post(cls.element_path(cluster_id_label) + "/snapshots", data=parameters)
docs: Create hbase snapshot full/incremental