def get_endpoint_resources(self, device_id, **kwargs):  # noqa: E501
        """List the resources on an endpoint  # noqa: E501

        The list of resources is cached by Device Management Connect, so this call does not create a message to the device.  **Example usage:**      curl -X GET https://api.us-east-1.mbedcloud.com/v2/endpoints/{device-id} -H 'authorization: Bearer {api-key}'   # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass asynchronous=True
        >>> thread = api.get_endpoint_resources(device_id, asynchronous=True)
        >>> result = thread.get()

        :param asynchronous bool
        :param str device_id: A unique device ID for an endpoint. Note that the ID needs to be an exact match. You cannot use wildcards here.  (required)
        :return: list[Resource]
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('asynchronous'):
            return self.get_endpoint_resources_with_http_info(device_id, **kwargs)  # noqa: E501
        else:
            (data) = self.get_endpoint_resources_with_http_info(device_id, **kwargs)  # noqa: E501
            return data
List the resources on an endpoint  # noqa: E501

        The list of resources is cached by Device Management Connect, so this call does not create a message to the device.  **Example usage:**      curl -X GET https://api.us-east-1.mbedcloud.com/v2/endpoints/{device-id} -H 'authorization: Bearer {api-key}'   # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass asynchronous=True
        >>> thread = api.get_endpoint_resources(device_id, asynchronous=True)
        >>> result = thread.get()

        :param asynchronous bool
        :param str device_id: A unique device ID for an endpoint. Note that the ID needs to be an exact match. You cannot use wildcards here.  (required)
        :return: list[Resource]
                 If the method is called asynchronously,
                 returns the request thread.