docs: def add_resource_subscription(self, device_id, _resource_path, **kwargs):  # noqa: E501
          """Subscribe to a resource path  # noqa: E501
  
          The Device Management Connect eventing model consists of observable resources.  This means that endpoints can deliver updated resource content, periodically or with a more sophisticated solution-dependent logic. The OMA LwM2M resource model including objects, object instances, resources and resource instances is also supported.  Applications can subscribe to objects, object instances or individual resources to make the device to provide value change notifications to Device Management Connect service. An application needs to call a `/notification/callback` method to get Device Management Connect to push notifications of the resource changes.  **Notification rules**  A web application can place dynamic observation rules for individual Object Instances and Resources to define when the device sends observations. More information in [Notification rules](/docs/current/connecting/resource-change-webapp.html).  All manual subscriptions are removed during a full device registration and applications need to re-subscribe at that point. To avoid this, you can use `/subscriptions` to set a pre-subscription.  **Example usage:**      curl -X PUT \\       https://api.us-east-1.mbedcloud.com/v2/subscriptions/{device-id}/{resourcePath} \\       -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.add_resource_subscription(device_id, _resource_path, asynchronous=True)
          >>> result = thread.get()
  
          :param asynchronous bool
          :param str device_id: A unique Device Management device ID for the endpoint. Note that the ID must be an exact match. You cannot use wildcards here.  (required)
          :param str _resource_path: The URL of the resource.  (required)
          :return: None
                   If the method is called asynchronously,
                   returns the request thread.
          """
          kwargs['_return_http_data_only'] = True
          if kwargs.get('asynchronous'):
              return self.add_resource_subscription_with_http_info(device_id, _resource_path, **kwargs)  # noqa: E501
          else:
              (data) = self.add_resource_subscription_with_http_info(device_id, _resource_path, **kwargs)  # noqa: E501
              return data