Sha256: 45d03e125e3b35cbb6ff263f0529203abc0554a59cf89af5856b27cb867c5499

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

module Fog
  module AWS
    class Elasticache
      class Real

        require 'rackspace-fog/aws/parsers/elasticache/describe_cache_parameters'

        # Returns a list of CacheParameterGroup descriptions
        #
        # === Parameters (optional)
        # * name <~String> - The name of an existing cache parameter group
        # * options <~Hash> (optional):
        # *  :marker <~String> - marker provided in the previous request
        # *  :max_records <~Integer> - the maximum number of records to include
        # *  :source <~String> - the parameter types to return.
        def describe_cache_parameters(name = nil, options = {})
          request({
            'Action'                  => 'DescribeCacheParameters',
            'CacheParameterGroupName' => name,
            'Marker'                  => options[:marker],
            'MaxRecords'              => options[:max_records],
            'Source'                  => options[:source],
            :parser => Fog::Parsers::AWS::Elasticache::DescribeCacheParameters.new
          })
        end

      end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace-fog-1.4.2 lib/rackspace-fog/aws/requests/elasticache/describe_cache_parameters.rb