class Aws::Plugins::ApiKey::ApiKeyHandler
@api private
def apply_api_key(context)
def apply_api_key(context) context.http_request.headers['x-api-key'] = context[:api_key] end
def call(context)
def call(context) if context[:api_key] apply_api_key(context) end @handler.call(context) end