class Aws::DynamoDB::Resource

def tables(options = {})

Returns:
  • (Table::Collection) -

Parameters:
  • options (Hash) -- ({})

Other tags:
    Example: Request syntax with placeholder values -
def tables(options = {})
  batches = Enumerator.new do |y|
    resp = @client.list_tables(options)
    resp.each_page do |page|
      batch = []
      page.data.table_names.each do |t|
        batch << Table.new(
          name: t,
          client: @client
        )
      end
      y.yield(batch)
    end
  end
  Table::Collection.new(batches)
end