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.0.7 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.0.6 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-aws-0.0.5 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-1.26.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-1.25.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
nsidc-fog-1.24.1 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-1.24.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
ns-fog-1.22.11 lib/fog/aws/requests/rds/describe_db_parameters.rb
ns-fog-1.22.10 lib/fog/aws/requests/rds/describe_db_parameters.rb
ns-fog-1.22.9 lib/fog/aws/requests/rds/describe_db_parameters.rb
ns-fog-1.22.8 lib/fog/aws/requests/rds/describe_db_parameters.rb
ns-fog-1.22.7 lib/fog/aws/requests/rds/describe_db_parameters.rb
ns-fog-1.22.6 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-1.23.0 lib/fog/aws/requests/rds/describe_db_parameters.rb
ns-fog-1.22.4 lib/fog/aws/requests/rds/describe_db_parameters.rb
ns-fog-1.22.3 lib/fog/aws/requests/rds/describe_db_parameters.rb
ns-fog-1.22.2 lib/fog/aws/requests/rds/describe_db_parameters.rb
fog-1.22.1 lib/fog/aws/requests/rds/describe_db_parameters.rb