def METHOD_NAME(self, transform_id, body, params=None):
    """
    `<https://www.elastic.co/guide/en/elasticsearch/reference/current/put-data-frame-transform.html>`_
    :arg transform_id: The id of the new transform.
    :arg body: The data frame transform definition
    """
    for param in (transform_id, body):
        if param in SKIP_IN_PATH:
            raise ValueError("Empty value passed for a required argument.")
    return self.transport.perform_request(
        "PUT",
        _make_path("_data_frame", "transforms", transform_id),
        params=params,
        body=body,
    )