Class: Aws::Plugins::S3LocationConstraint::Handler
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::Plugins::S3LocationConstraint::Handler
- Defined in:
- lib/aws-sdk-core/plugins/s3_location_constraint.rb
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Handler
Instance Method Summary collapse
Methods inherited from Seahorse::Client::Handler
Constructor Details
This class inherits a constructor from Seahorse::Client::Handler
Instance Method Details
#call(context) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/aws-sdk-core/plugins/s3_location_constraint.rb', line 11 def call(context) unless context.config.region == 'us-east-1' populate_location_constraint(context.params, context.config.region) end @handler.call(context) end |