Sha256: a8b4441d1a108eb721e68347627f2bb0d43753b3bf70de14f44f5a673bd097e0

Contents?: true

Size: 440 Bytes

Versions: 42

Compression:

Stored size: 440 Bytes

Contents

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

        class Handler < Seahorse::Client::Handler

          def call(context)
            version = context.config.api.version
            context.http_request.headers['x-amz-glacier-version'] = version
            @handler.call(context)
          end

        end

        handler(Handler)

      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
aws-sdk-glacier-1.30.1 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.29.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.28.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.27.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.26.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.25.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.24.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.23.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.22.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.21.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.20.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.19.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.18.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.17.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.16.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.15.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.14.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.13.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.12.0 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.11.0 lib/aws-sdk-glacier/plugins/api_version.rb