module AWS::IAM::Collection
def _each_item marker, max_items, options = {}, &block
def _each_item marker, max_items, options = {}, &block options[:marker] = marker if marker options[:max_items] = max_items if max_items response = client.send(request_method, options) each_item(response, &block) response.data[:marker] end
def request_method
def request_method name = Core::Inflection.ruby_name(self.class.name).sub(/_collection$/, '') "list_#{name}s" end