Sha256: be2d2b6b849abe9f4ff32a11a3a5a6512df1b31c744d06eda1363b30852f3ae1

Contents?: true

Size: 1.11 KB

Versions: 61

Compression:

Stored size: 1.11 KB

Contents

module Fog
  module AWS
    class Elasticache
      class Real

        require 'fog/aws/parsers/elasticache/describe_security_groups'

        # Returns a list of CacheSecurityGroup descriptions
        #
        # === Parameters (optional)
        # * name <~String> - The name of an existing cache security group
        # * options <~Hash> (optional):
        # *  :marker <~String> - marker provided in the previous request
        # *  :max_records <~Integer> - the maximum number of records to include
        def describe_cache_security_groups(name = nil, options = {})
          request({
            'Action'                  => 'DescribeCacheSecurityGroups',
            'CacheSecurityGroupName'  => name,
            'Marker'                  => options[:marker],
            'MaxRecords'              => options[:max_records],
            :parser => Fog::Parsers::AWS::Elasticache::DescribeSecurityGroups.new
          }.merge(options))
        end

      end

      class Mock
        def describe_cache_security_groups(name = nil, options = {})
          Fog::Mock.not_implemented
        end
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 17 rubygems

Version Path
gapinc-fog-1.12.1.2.1 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-1.15.0 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
gapinc-fog-1.14.0 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-1.14.0 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-1.13.0 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
gapinc-fog-1.12.1.2 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
gapinc-fog-1.12.1.1 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
gapinc-fog-1.12.1a lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
gapinc-fog-1.12.1 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-1.12.1 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-1.12.0 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
hpfog-0.0.20 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-nirvanix-1.8.2 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-1.11.1 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-1.11.0 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb
fog-nirvanix-1.8.1 lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb