Sha256: 30eeef8f2dc3e204af83d326793eb1de23e77754ef522a8bd598ca443ebb5c4d

Contents?: true

Size: 1.24 KB

Versions: 26

Compression:

Stored size: 1.24 KB

Contents

module Fog
  module AWS
    class RDS
      class Real

        require 'fog/aws/parsers/rds/describe_db_security_groups'

        # Describe all or specified db snapshots
        # http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?API_DescribeDBSecurityGroups.html
        # ==== Parameters
        # * DBSecurityGroupName <~String> - The name of the DB Security Group to return details for.
        # * Marker               <~String> - An optional marker provided in the previous DescribeDBInstances request
        # * MaxRecords           <~Integer> - Max number of records to return (between 20 and 100)
        # Only one of DBInstanceIdentifier or DBSnapshotIdentifier can be specified
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        def describe_db_security_groups(opts={})
          opts = {'DBSecurityGroupName' => opts} if opts.is_a?(String)

          request({
            'Action'  => 'DescribeDBSecurityGroups',
            :parser   => Fog::Parsers::AWS::RDS::DescribeDBSecurityGroups.new
          }.merge(opts))
        end

      end

      class Mock

        def describe_db_security_group(opts={})
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

26 entries across 26 versions & 5 rubygems

Version Path
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog-1.1.2 lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog_tractical-1.1.4 lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog_tractical-1.1.3 lib/fog/aws/requests/rds/describe_db_security_groups.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog-1.1.1 lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog-1.1.0 lib/fog/aws/requests/rds/describe_db_security_groups.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb
tag-fog-1.0.1 lib/fog/aws/requests/rds/describe_db_security_groups.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog-1.0.0 lib/fog/aws/requests/rds/describe_db_security_groups.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog-0.11.0 lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog-0.10.0 lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog4encbs-0.9.0.1 lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog4encbs-0.9.0 lib/fog/aws/requests/rds/describe_db_security_groups.rb
fog-0.9.0 lib/fog/aws/requests/rds/describe_db_security_groups.rb