Sha256: 82b13cc24761439e3952d47d6efa2da6b263ab5a6233e58f112064ec6bbb1939

Contents?: true

Size: 1.43 KB

Versions: 30

Compression:

Stored size: 1.43 KB

Contents

module Fog
  module AWS
    class RDS
      class Real

        require 'fog/aws/parsers/rds/describe_db_parameter_groups'

        # This API returns a list of DBParameterGroup descriptions. If a DBParameterGroupName is specified, the list will contain only the descriptions of the specified DBParameterGroup
        # http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_DescribeDBParameterGroups.html
        # ==== Parameters
        # * DBParameterGroupName <~String> - The name of a specific database parameter group to return details for.
        # * Source <~String> - The parameter types to return. user | system | engine-default
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        def describe_db_parameter_groups(name=nil, opts={})
          params={}
          if opts[:marker]
            params['Marker'] = opts[:marker]
          end
          if name
            params['DBParameterGroupName'] = name
          end
          if opts[:max_records]
            params['MaxRecords'] = opts[:max_records]
          end
          
          request({
            'Action'  => 'DescribeDBParameterGroups',
            :parser   => Fog::Parsers::AWS::RDS::DescribeDBParameterGroups.new
          }.merge(params))
        end

      end

      class Mock

        def describe_db_parameter_groups(name=nil, opts={})
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

30 entries across 30 versions & 6 rubygems

Version Path
fog-0.10.0 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog4encbs-0.9.0.1 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog4encbs-0.9.0 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-0.9.0 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-0.8.2 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-0.8.1 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-0.8.0 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-0.7.2 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-0.7.1 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-0.7.0 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb