'Get items from the collection, passing keyword arguments along
as parameters to the underlying service operation, which are
typically used to filter the results.
This method returns an iterable generator which yields
individual resource instances. Example use::
# Iterate through items
>>> for queue in sqs.queues.filter(Param=\'foo\'):
...     print(queue.url)
\'https://url1\'
\'https://url2\'
# Convert to list
>>> queues = list(sqs.queues.filter(Param=\'foo\'))
>>> len(queues)
2
:rtype: :py:class:`ResourceCollection`'

def filter(self, **kwargs):

    return self._clone(**kwargs)
