Sha256: f43821347a4541979d8e1d918657aa9dea1081e1c1e15a5282336014f2507da8

Contents?: true

Size: 529 Bytes

Versions: 146

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

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)
          PageableResponse.apply(resp)
          resp.pager = context.operation[:pager] || Aws::Pager::NullPager.new
          resp
        end

      end

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

    end
  end
end

Version data entries

146 entries across 146 versions & 1 rubygems

Version Path
aws-sdk-core-3.220.2 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.220.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.220.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.219.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.218.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.218.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.217.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.217.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.216.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.216.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.215.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.215.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.214.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.214.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.213.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.212.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.211.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.210.0 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.209.1 lib/aws-sdk-core/plugins/response_paging.rb
aws-sdk-core-3.209.0 lib/aws-sdk-core/plugins/response_paging.rb