Class: Aws::S3::Plugins::BucketARN::Handler Private
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::S3::Plugins::BucketARN::Handler
- Defined in:
- lib/aws-sdk-s3/plugins/bucket_arn.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #call(context) ⇒ Object private
Instance Method Details
#call(context) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/aws-sdk-s3/plugins/bucket_arn.rb', line 25 def call(context) bucket_member = _bucket_member(context.operation.input.shape) if bucket_member && (bucket = context.params[bucket_member]) _resolved_bucket, _resolved_region, arn = BucketARN.resolve_arn!( bucket, context.config.region, context.config.s3_use_arn_region ) if arn if arn.resource.start_with?('accesspoint') validate_config!(context.config) end dualstack = extract_dualstack_config!(context) BucketARN.resolve_url!( context.http_request.endpoint, arn, dualstack ) end end @handler.call(context) end |