1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/aws/requests/rds/delete_db_parameter_group.rb
2011-03-01 07:17:06 +08:00

36 lines
956 B
Ruby

module Fog
module AWS
class RDS
class Real
require 'fog/aws/parsers/rds/delete_db_parameter_group'
# delete a database parameter group
# http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_DeleteDBParameterGroup.html
# ==== Parameters
# * DBParameterGroupName <~String> - name of the parameter group. Must not be associated with any instances
# ==== Returns
# * response<~Excon::Response>:
# * body<~Hash>:
def delete_db_parameter_group(group_name)
request({
'Action' => 'DeleteDBParameterGroup',
'DBParameterGroupName' => group_name,
:parser => Fog::Parsers::AWS::RDS::DeleteDbParameterGroup.new
})
end
end
class Mock
def delete_db_parameter_group(group_name)
Fog::Mock.not_implemented
end
end
end
end
end