m2x/v2/devices.py
def update_stream(self, name, **params):
        """ Method for `Create/Update Data Stream <https://m2x.att.com/developer/documentation/v2/device#Create-Update-Data-Stream>`_ endpoint.

        :param name: Name of the stream to be updated
        :param params: Query parameters passed as keyword arguments. View M2X API Docs for listing of available parameters.

        :return: The Stream being updated
        :rtype: Stream

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return Stream.item_update(self.api, self, name, **params)
def update_stream(self, name, **params):
        """ Method for `Create/Update Data Stream <https://m2x.att.com/developer/documentation/v2/device#Create-Update-Data-Stream>`_ endpoint.

        :param name: Name of the stream to be updated
        :param params: Query parameters passed as keyword arguments. View M2X API Docs for listing of available parameters.

        :return: The Stream being updated
        :rtype: Stream

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return Stream.item_update(self.api, self, name, **params)
Method for `Create/Update Data Stream <https://m2x.att.com/developer/documentation/v2/device#Create-Update-Data-Stream>`_ endpoint.

        :param name: Name of the stream to be updated
        :param params: Query parameters passed as keyword arguments. View M2X API Docs for listing of available parameters.

        :return: The Stream being updated
        :rtype: Stream

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request