elastic_enterprise_search/_async/client/app_search.py [1544:1562]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if name is None:
            raise ValueError("Empty value passed for parameter 'name'")
        if type is None:
            raise ValueError("Empty value passed for parameter 'type'")
        __body: t.Dict[str, t.Any] = {}
        if name is not None:
            __body["name"] = name
        if type is not None:
            __body["type"] = type
        if access_all_engines is not None:
            __body["access_all_engines"] = access_all_engines
        if engines is not None:
            __body["engines"] = engines
        if read is not None:
            __body["read"] = read
        if write is not None:
            __body["write"] = write
        __headers = {"accept": "application/json", "content-type": "application/json"}
        return await self.perform_request(  # type: ignore[return-value]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



elastic_enterprise_search/_async/client/app_search.py [1615:1633]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if name is None:
            raise ValueError("Empty value passed for parameter 'name'")
        if type is None:
            raise ValueError("Empty value passed for parameter 'type'")
        __body: t.Dict[str, t.Any] = {}
        if name is not None:
            __body["name"] = name
        if type is not None:
            __body["type"] = type
        if access_all_engines is not None:
            __body["access_all_engines"] = access_all_engines
        if engines is not None:
            __body["engines"] = engines
        if read is not None:
            __body["read"] = read
        if write is not None:
            __body["write"] = write
        __headers = {"accept": "application/json", "content-type": "application/json"}
        return await self.perform_request(  # type: ignore[return-value]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



