Sha256: 287b0ef83e053c0bcf3cb31f74cb66d2358135ddc80f0a68454c60b11f5cb30b

Contents?: true

Size: 499 Bytes

Versions: 163

Compression:

Stored size: 499 Bytes

Contents

module Aws
  module Plugins
    # @api private
    class ResponsePaging < Seahorse::Client::Plugin

      class Handler < Seahorse::Client::Handler

        def call(context)
          context[:original_params] = context.params
          resp = @handler.call(context)
          resp.extend(PageableResponse)
          resp.pager = context.operation[:pager] || Aws::Pager::NullPager.new
          resp
        end

      end

      handle(Handler, step: :initialize, priority: 90)

    end
  end
end

Version data entries

163 entries across 163 versions & 1 rubygems

Version Path
aws-sdk-core-3.100.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.99.2 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.99.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.99.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.98.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.97.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.97.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.96.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.96.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.95.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.94.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.94.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.93.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.92.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.91.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.91.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.90.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.90.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.89.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.89.0 lib/aws-sdk-core/plugins/response_paging.rb