Sha256: 9e8a595d1532885415140b8eb57b416a5a0b04a792291e1c36353bb499b68930
Contents?: true
Size: 529 Bytes
Versions: 50
Compression:
Stored size: 529 Bytes
Contents
module Aws module Plugins class ResponsePaging < Seahorse::Client::Plugin # @api private class Handler < Seahorse::Client::Handler def call(context) context[:original_params] = context.params PageableResponse.new(@handler.call(context), pager(context)) end private def pager(context) context.client.class.paginators.pager(context.operation.name) end end handler(Handler, step: :initialize, priority: 90) end end end
Version data entries
50 entries across 50 versions & 1 rubygems