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
ktheory-fog-1.1.2 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-1.1.2 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog_tractical-1.1.4 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog_tractical-1.1.3 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-1.1.1 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-1.1.0 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
tag-fog-1.0.1 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-1.0.0 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb
fog-0.11.0 lib/fog/aws/requests/rds/describe_db_parameter_groups.rb