lib/ec2/right_ec2_vpc2.rb
# Deletes a route from a route table in a VPC.
#
#  ec2.delete_route("rtb-be3006d7",  "0.0.0.1/32") #=> true
#
# P.S. http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteRoute.html
#
Deletes a route from a route table in a VPC.


Deletes a route from a route table in a VPC .
def delete_route(route_table_id, destination_cidr_block)
      link = generate_request("DeleteRoute", 'RouteTableId'         => route_table_id,
                                             'DestinationCidrBlock' => destination_cidr_block )
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end
def delete_route ( route_table_id , destination_cidr_block ) link = generate_request ( "DeleteRoute" , 'RouteTableId' => route_table_id , 'DestinationCidrBlock' => destination_cidr_block ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) rescue Exception on_exception end
Deletes a route from a route table in a VPC.
Deletes a route from a route table in a VPC .
route_table_id
<not_specific>
destination_cidr_block
<not_specific>