class Aws::S3::Plugins::BucketDns::Handler
def move_dns_compat_bucket_to_subdomain(context)
def move_dns_compat_bucket_to_subdomain(context) bucket_name = context.params[:bucket] endpoint = context.http_request.endpoint if bucket_name && BucketDns.dns_compatible?(bucket_name, https?(endpoint)) && context.operation_name.to_s != 'get_bucket_location' then move_bucket_to_subdomain(bucket_name, endpoint) end end