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

Class: Aws::Plugins::EndpointPattern::Handler

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

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Handler

#handler

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Handler

#initialize, #inspect

Constructor Details

This class inherits a constructor from Seahorse::Client::Handler

Instance Method Details

#call(context) ⇒ Object



22
23
24
25
26
27
28
# File 'aws-sdk-core/lib/aws-sdk-core/plugins/endpoint_pattern.rb', line 22

def call(context)
  endpoint_trait = context.operation.endpoint_pattern
  if endpoint_trait && !endpoint_trait.empty?
    _apply_endpoint_trait(context, endpoint_trait)
  end
  @handler.call(context)
end