Sha256: 1c0a33f9fbe367e8baff137f6daab378a6adc421784290a417291dc1a17bc141

Contents?: true

Size: 1.89 KB

Versions: 38

Compression:

Stored size: 1.89 KB

Contents

module Fog
  module AWS
    class Redshift
      class Real
        require 'fog/aws/parsers/redshift/describe_cluster_parameter_groups'

        # ==== Parameters
        # 
        # @param [Hash] options
        # * :parameter_group_name (String) 
        #    The name of a cluster parameter group for which to return details.
        # * :max_records - (Integer) 
        #    The maximum number of records to include in the response. If more than the
        #    MaxRecords value is available, a marker is included in the response so that the 
        #    following results can be retrieved. Constrained between [20,100]. Default is 100.
        # * :marker - (String) 
        #    The marker returned from a previous request. If this parameter is specified, the 
        #    response includes records beyond the marker only, up to MaxRecords.
        #
        # ==== See Also
        # http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterParameterGroups.html               
        def describe_cluster_parameter_groups(options = {})
          parameter_group_name = options[:parameter_group_name]
          marker               = options[:marker]
          max_records          = options[:max_records]

          path = "/"
          params = {
            :idempotent => true,
            :headers    => {},
            :path       => path,
            :method     => :get,
            :query      => {},
            :parser     => Fog::Parsers::Redshift::AWS::DescribeClusterParameterGroups.new
          }

          params[:query]['Action']             = 'DescribeClusterParameterGroups'
          params[:query]['ParameterGroupName'] = parameter_group_name if parameter_group_name 
          params[:query]['Marker']             = marker if marker
          params[:query]['MaxRecords']         = max_records if max_records

          request(params)
        end
      end

    end
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
fog-maestrodev-1.20.0.20140305101839 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-1.20.0 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-1.19.0 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.18.0.20131209090811 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb