def execute()

in filter_aws.py [0:0]


  def execute(self, listing, response):
    """Apply filter.

    Args:
      listing: data returned from aws api.
      response: relevant data returned to caller.
    """
    for bad_thing in (
        'hasMoreResults', 'IsTruncated', 'Truncated', 'HasMoreApplications',
        'HasMoreDeliveryStreams', 'HasMoreStreams', 'NextToken', 'NextMarker',
        'nextMarker', 'Marker'
    ):
      if bad_thing in response:
        if response[bad_thing]:
          self.complete = False
        del response[bad_thing]