lib/ec2/right_ec2_vpc2.rb
# Changes the route table associated with a given subnet in a VPC. After you execute this action, the subnet 
# uses the routes in the new route table it's associated with. 
# You can also use this action to change which table is the main route table in the VPC. You just specify 
# the main route table's association ID and the route table that you want to be the new main route table.
#
#  ec2.replace_route_table_association("rtb-be3006d7", "rtbassoc-a02610c9") #=> true
#
# P.S. http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ReplaceRouteTableAssociation.html
#
Changes the route table associated with a given subnet in a VPC. After you execute this action, the subnet
uses the routes in the new route table it's associated with.
You can also use this action to change which table is the main route table in the VPC. You just specify
the main route table's association ID and the route table that you want to be the new main route table.




Changes the route table associated with a given subnet in a VPC . After you execute this action the subnet uses the routes in the new route table it ' s associated with . You can also use this action to change which table is the main route table in the VPC . You just specify the main route table ' s association ID and the route table that you want to be the new main route table .
def replace_route_table_association(route_table_id, route_table_association_id)
      request_hash = { 'RouteTableId'  => route_table_id,
                       'AssociationId' => route_table_association_id }
      link = generate_request("ReplaceRouteTableAssociation", request_hash)
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end
def replace_route_table_association ( route_table_id , route_table_association_id ) request_hash = { 'RouteTableId' => route_table_id , 'AssociationId' => route_table_association_id } link = generate_request ( "ReplaceRouteTableAssociation" , request_hash ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) rescue Exception on_exception end
Changes the route table associated with a given subnet in a VPC.
Changes the route table associated with a given subnet in a VPC .
route_table_id
<not_specific>
route_table_association_id
<not_specific>