You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Plugins::ApiKey

Inherits:
Seahorse::Client::Plugin show all
Defined in:
gems/aws-sdk-core/lib/aws-sdk-core/plugins/api_key.rb

Overview

Provide support for api_key parameter for api-gateway protocol specific api-gateway protocol gems' user-agent

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Plugin

#add_options, #after_initialize, after_initialize, #before_initialize, before_initialize, option

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response

Instance Method Details

#add_handlers(handlers, config) ⇒ Object



15
16
17
18
# File 'gems/aws-sdk-core/lib/aws-sdk-core/plugins/api_key.rb', line 15

def add_handlers(handlers, config)
  handlers.add(OptionHandler, step: :initialize)
  handlers.add(ApiKeyHandler, step: :build, priority: 0)
end