You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Plugins::S3LocationConstraint::Handler
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::Plugins::S3LocationConstraint::Handler
- Defined in:
- aws-sdk-core/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 'aws-sdk-core/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 |