module Aws::PageableResponse
def each(&block)
-
(Enumerable, nil)
- Returns a new Enumerable if no block is given.
Other tags:
- Yieldparam: response -
def each(&block) return enum_for(:each_page) unless block_given? response = self yield(response) until response.last_page? response = response.next_page yield(response) end end