class_docstr: An app that collects events from the ActionTrail feature of Aliyun.
  
  Results are paginated, with a NextToken field provided that is used in subsequent queries.
  The result of a successful api call is json whose outermost schema is
  
  {
    "EndTime": <end of the time range of events>,
    "NextToken": <the token to use to request the next page of data>,
    "RequestId": <the ID of the request>,
    "StartTime": <start of the time range of events>,
    "Events": [entries],
  }
  
  If there are no more events in the queried range, the 'NextToken' element is not present.
  
  Resource:
      https://www.alibabacloud.com/help/doc-detail/28849.htm
docstr: Return the number of seconds this polling function should sleep for
  between requests to avoid failed requests. The Aliyun documentation doesn't
  list limits on the requests portion of the actionTrail feature, so the only
  limit is the general limit on Aliyun API requests, which is no more than
  100 per second. We can set this value to 0 safely.
  
  Resource:
      https://www.alibabacloud.com/help/doc-detail/29474.htm
  
  Returns:
      int: Number of seconds the polling function should sleep for
docstr_tok: ["Return","the","number","of","seconds","this","polling","function","should","sleep","for","between","requests","to","avoid","failed","requests",".","The","Aliyun","documentation","doesn't","list","limits","on","the","requests","portion","of","the","actionTrail","feature",",","so","the","only","limit","is","the","general","limit","on","Aliyun","API","requests",",","which","is","no","more","than","100","per","second",".","We","can","set","this","value","to","0","safely",".","Resource",":","https",":","\/\/www.alibabacloud.com\/help\/doc-detail\/29474.htm","Returns",":","int",":","Number","of","seconds","the","polling","function","should","sleep","for"]
code: def _sleep_seconds(cls):
      """Return the number of seconds this polling function should sleep for
      between requests to avoid failed requests. The Aliyun documentation doesn't
      list limits on the requests portion of the actionTrail feature, so the only
      limit is the general limit on Aliyun API requests, which is no more than
      100 per second. We can set this value to 0 safely.
  
      Resource:
          https://www.alibabacloud.com/help/doc-detail/29474.htm
  
      Returns:
          int: Number of seconds the polling function should sleep for
      """
      return 0
  
file_path: streamalert/streamalert/apps/_apps/aliyun.py
imports: from datetime import datetime
  import json
  import re
  from aliyunsdkcore.client import AcsClient
  from aliyunsdkcore.acs_exception.exceptions import ServerException, ClientException
  from aliyunsdkactiontrail.request.v20171204 import LookupEventsRequest
  from .None import AppIntegration, StreamAlertApp, get_logger
label_desc: Use image node_id 7 for calling the AliyunApp obj's underlying member method code with example usage: obj._sleep_seconds(cls) and returns: int