2013-04-10 21:44:13 -04:00
|
|
|
module Fog
|
|
|
|
module Compute
|
|
|
|
class AWS
|
|
|
|
class Real
|
|
|
|
|
|
|
|
require 'fog/aws/parsers/compute/basic'
|
|
|
|
|
2013-08-06 13:29:51 -04:00
|
|
|
# Deletes the specified route table.
|
2013-04-10 21:44:13 -04:00
|
|
|
#
|
|
|
|
# ==== Parameters
|
2013-08-06 13:29:51 -04:00
|
|
|
# * RouteTableId<~String> - The ID of the route table.
|
2013-04-10 21:44:13 -04:00
|
|
|
#
|
|
|
|
# ==== Returns
|
|
|
|
# * response<~Excon::Response>:
|
|
|
|
# * body<~Hash>:
|
2013-08-06 13:29:51 -04:00
|
|
|
# * 'requestId'<~String> - The ID of request.
|
|
|
|
# * 'return'<~Boolean> - Returns true if the request succeeds. Otherwise, returns an error.
|
2013-04-10 21:44:13 -04:00
|
|
|
#
|
2013-08-06 13:29:51 -04:00
|
|
|
# {Amazon API Reference}[http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteRouteTable.html]
|
2013-04-10 21:44:13 -04:00
|
|
|
def delete_route_table(route_table_id)
|
|
|
|
request(
|
|
|
|
'Action' => 'DeleteRouteTable',
|
|
|
|
'RouteTableId' => route_table_id,
|
|
|
|
:parser => Fog::Parsers::Compute::AWS::Basic.new
|
|
|
|
)
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
class Mock
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|