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



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

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