elastic_enterprise_search/_async/client/app_search.py [1328:1356]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self,
        *,
        engine_name: str,
        domain_id: str,
        sitemap_id: str,
        url: str,
    ) -> ObjectApiResponse[t.Any]:
        """
        Updates sitemap configuration

        `<https://www.elastic.co/guide/en/app-search/current/web-crawler-api-reference.html#web-crawler-apis-put-sitemap>`_

        :param engine_name: Name of the engine
        :param domain_id: Crawler Domain ID
        :param sitemap_id: Sitemap ID
        :param url:
        """
        if engine_name in SKIP_IN_PATH:
            raise ValueError("Empty value passed for parameter 'engine_name'")
        if domain_id in SKIP_IN_PATH:
            raise ValueError("Empty value passed for parameter 'domain_id'")
        if sitemap_id in SKIP_IN_PATH:
            raise ValueError("Empty value passed for parameter 'sitemap_id'")
        if url is None:
            raise ValueError("Empty value passed for parameter 'url'")
        __body: t.Dict[str, t.Any] = {}
        if url is not None:
            __body["url"] = url
        __headers = {"accept": "application/json", "content-type": "application/json"}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



elastic_enterprise_search/_sync/client/app_search.py [1328:1356]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self,
        *,
        engine_name: str,
        domain_id: str,
        sitemap_id: str,
        url: str,
    ) -> ObjectApiResponse[t.Any]:
        """
        Updates sitemap configuration

        `<https://www.elastic.co/guide/en/app-search/current/web-crawler-api-reference.html#web-crawler-apis-put-sitemap>`_

        :param engine_name: Name of the engine
        :param domain_id: Crawler Domain ID
        :param sitemap_id: Sitemap ID
        :param url:
        """
        if engine_name in SKIP_IN_PATH:
            raise ValueError("Empty value passed for parameter 'engine_name'")
        if domain_id in SKIP_IN_PATH:
            raise ValueError("Empty value passed for parameter 'domain_id'")
        if sitemap_id in SKIP_IN_PATH:
            raise ValueError("Empty value passed for parameter 'sitemap_id'")
        if url is None:
            raise ValueError("Empty value passed for parameter 'url'")
        __body: t.Dict[str, t.Any] = {}
        if url is not None:
            __body["url"] = url
        __headers = {"accept": "application/json", "content-type": "application/json"}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



