Class: Aws::Plugins::CfnRequestSigner::Handler

Inherits:
Seahorse::Client::Handler
  • Object
show all
Defined in:
lib/aws-sdk-core/plugins/cfn_request_signer.rb

Instance Method Summary collapse

Instance Method Details

#call(context) ⇒ Object



10
11
12
13
14
15
# File 'lib/aws-sdk-core/plugins/cfn_request_signer.rb', line 10

def call(context)
  if cfn_request?(context) and using_instance_identity?(context)
    context.config.signature_version = 'cfn_v1'
  end
  @handler.call(context)
end