Sha256: 4838f348f8b88d91155883f7ded338bfcc440193c4f22a3f0223003af9d501cd
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
module Fog module Parsers module Redshift module AWS class DescribeClusterParameterGroups < Fog::Parsers::Base # :marker - (String) # :parameter_groups - (Array) # :parameter_group_name - (String) # :parameter_group_family - (String) # :description - (String) def reset @response = { 'ParameterGroups' => [] } end def start_element(name, attrs = []) super case name when 'ParameterGroups' @parameter_group = {} end end def end_element(name) super case name when 'Marker' @response[name] = value when 'ParameterGroupName', 'ParameterGroupFamily', 'Description' @parameter_group[name] = value when 'ClusterParameterGroup' @response['ParameterGroups'] << {name => @parameter_group} @parameter_group = {} end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-1.22.0 | lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb |
fog-1.21.0 | lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb |