# File lib/fog/aws/requests/compute/enable_vpc_classic_link.rb, line 30 def enable_vpc_classic_link(vpc_id, dry_run=false) response = Excon::Response.new if vpc = self.data[:vpcs].find{ |v| v['vpcId'] == vpc_id } response.status = 200 response.body = { 'requestId' => Fog::AWS::Mock.request_id, 'return' => true } vpc['classicLinkEnabled'] = true unless dry_run response else raise Fog::Compute::AWS::NotFound.new("The VPC '#{vpc_id}' does not exist") end end