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/redshift/delete_cluster_security_group.rb

33 lines
980 B
Ruby
Raw Normal View History

2013-08-30 04:21:23 -04:00
module Fog
module AWS
class Redshift
class Real
# ==== Parameters
2014-02-19 12:30:59 +00:00
#
2013-08-30 04:21:23 -04:00
# @param [Hash] options
# * :cluster_security_group_name - required - (String)
2014-02-19 12:30:59 +00:00
# The name of the cluster security group to be deleted.
2013-08-30 04:21:23 -04:00
#
# ==== See Also
2014-02-19 12:30:59 +00:00
# http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteClusterSecurityGroup.html
2013-08-30 04:21:23 -04:00
def delete_cluster_security_group(options = {})
cluster_security_group_name = options[:cluster_security_group_name]
path = "/"
params = {
:headers => {},
:path => path,
:method => :put,
:query => {}
}
params[:query]['Action'] = 'DeleteClusterSecurityGroup'
params[:query]['ClusterSecurityGroupName'] = cluster_security_group_name if cluster_security_group_name
request(params)
end
end
end
end
end