Sha256: 45286b63a3c9ea27140a26494ed72476707a48887c6a798596b8063e4113fdd5

Contents?: true

Size: 1.88 KB

Versions: 38

Compression:

Stored size: 1.88 KB

Contents

module Fog
  module AWS
    class Redshift
      class Real
        require 'fog/aws/parsers/redshift/describe_reserved_node_offerings'

        # ==== Parameters
        # 
        # @param [Hash] options
        # * :reserved_node_offering_id - (String) 
        #    The unique identifier for the offering.
        # * :max_records - (Integer) 
        #    The maximum number of records to include in the response. If more than the
        #    MaxRecords value is available, a marker is included in the response so that the 
        #    following results can be retrieved. Constrained between [20,100]. Default is 100.
        # * :marker - (String) 
        #    The marker returned from a previous request. If this parameter is specified, the 
        #    response includes records beyond the marker only, up to MaxRecords.
        #
        # ==== See Also
        # http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeReservedNodeOfferings.html             
        def describe_reserved_node_offerings(options = {})
          reserved_node_offering_id = options[:reserved_node_offering_id]
          marker                    = options[:marker]
          max_records               = options[:max_records]

          path = "/"
          params = {
            :idempotent => true,
            :headers    => {},
            :path       => path,
            :method     => :get,
            :query      => {},
            :parser     => Fog::Parsers::Redshift::AWS::DescribeReservedNodeOfferings.new
          }

          params[:query]['Action']         = 'DescribeReservedNodeOfferings'
          params[:query]['ReservedNodeOfferingId'] = reserved_node_offering_id if reserved_node_offering_id
          params[:query]['Marker']         = marker if marker
          params[:query]['MaxRecords']     = max_records if max_records

          request(params)
        end
      end

    end
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
fog-maestrodev-1.18.0.20131205181604 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131127194823 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131126183714 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131126122111 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131125111730 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131125083406 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131123105121 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131122203507 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131121075022 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131118164830 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131115184302 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131114200144 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131112185232 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.18.0.20131111203459 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-1.18.0 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-1.17.0 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-1.16.0 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb
fog-maestrodev-1.15.0.20130927082724 lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb