Sha256: a899883026e2e5ba6c350d990618c44cf0debccbd40be0d461ec9ae1ffd06ead

Contents?: true

Size: 1.27 KB

Versions: 38

Compression:

Stored size: 1.27 KB

Contents

module Fog
  module AWS
    class RDS
      class Real
        require 'fog/aws/parsers/rds/describe_db_parameters'

        # Describe  parameters from a parameter group
        # http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_DescribeDBParameters.html
        # ==== Parameters
        # * DBParameterGroupName <~String> - name of parameter group to retrieve parameters for
        # * Source <~String> - The parameter types to return. user | system | engine-default
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        def describe_db_parameters(name, opts={})
          params={}
          if opts[:marker]
            params['Marker'] = opts[:marker]
          end
          if opts[:source]
            params['Source'] = opts[:source]
          end
          if opts[:max_records]
            params['MaxRecords'] = opts[:max_records]
          end

          request({
            'Action'  => 'DescribeDBParameters',
            'DBParameterGroupName' => name,
            :parser   => Fog::Parsers::AWS::RDS::DescribeDBParameters.new
          }.merge(params))
        end
      end

      class Mock
        def describe_db_parameters(name, opts={})
          Fog::Mock.not_implemented
        end
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 5 rubygems

Version Path
fog-aws-0.8.1 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.8.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-aws-0.7.5/lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.7.6 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.7.5 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.7.4 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.7.3 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.7.2 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.6.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.5.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.4.1 lib/fog/aws/requests/rds/describe_db_parameters.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.4.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.3.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.2.2 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.2.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.1.2 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.1.1 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.1.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.0.8 lib/fog/aws/requests/rds/describe_db_parameters.rb