Class: Aws::S3::Plugins::ARN::UrlHandler Private
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::S3::Plugins::ARN::UrlHandler
- Defined in:
- lib/aws-sdk-s3/plugins/arn.rb
Overview
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.
After extracting out any ARN input, resolve a new URL with it.
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.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/aws-sdk-s3/plugins/arn.rb', line 35 def call(context) if context.[:s3_arn] ARN.resolve_url!( context.http_request.endpoint, context.[:s3_arn][:arn], context.[:s3_arn][:resolved_region], context.[:s3_arn][:dualstack], # if regional_endpoint is false, a custom endpoint was provided # in this case, we want to prefix the endpoint using the ARN !context.config.regional_endpoint ) end @handler.call(context) end |