Sha256: 5a9bef70b315d3c538043f39cfcc320dfa323875fd714028c690ee7b7b7782d2

Contents?: true

Size: 1.23 KB

Versions: 24

Compression:

Stored size: 1.23 KB

Contents

module Fog
  module AWS
    class Elasticache
      class Real

        require 'fog/aws/parsers/elasticache/describe_cache_clusters'

        # Returns a list of Cache Cluster descriptions
        #
        # === Parameters (optional)
        # * id - The ID of an existing cache cluster
        # * options <~Hash> (optional):
        # *  :marker <~String> - marker provided in the previous request
        # *  :max_records <~Integer> - the maximum number of records to include
        # *  :show_node_info <~Boolean> - whether to show node info
        # === Returns
        # * response <~Excon::Response>:
        #   * body <~Hash>
        def describe_cache_clusters(id = nil, options = {})
          request({
            'Action'            => 'DescribeCacheClusters',
            'CacheClusterId'    => id,
            'Marker'            => options[:marker],
            'MaxRecords'        => options[:max_records],
            'ShowCacheNodeInfo' => options[:show_node_info],
            :parser => Fog::Parsers::AWS::Elasticache::DescribeCacheClusters.new
          })
        end

      end

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

Version data entries

24 entries across 24 versions & 7 rubygems

Version Path
fog-1.4.0 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
michiels-fog-1.3.1 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
fog-1.3.1 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
fog-1.3.0 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
fog-1.2.0 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
ktheory-fog-1.1.2 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
fog-1.1.2 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
fog_tractical-1.1.4 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
fog_tractical-1.1.3 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb
fog-1.1.1 lib/fog/aws/requests/elasticache/describe_cache_clusters.rb