Sha256: 4560980aad0c5b7aaa6aa9f70100051eea6a9dbc325ebe970250941c5314fa66

Contents?: true

Size: 973 Bytes

Versions: 30

Compression:

Stored size: 973 Bytes

Contents

module Fog
  module AWS
    class SimpleDB

      # Select item data from SimpleDB
      #
      # ==== Parameters
      # * select_expression<~String> - Expression to query domain with.
      # * next_token<~String> - Offset token to start list, defaults to nil.
      #
      # ==== Returns
      # * response<~Fog::AWS::Response>:
      #   * body<~Hash>:
      #     * 'BoxUsage'<~Float>
      #     * 'RequestId'<~String>
      #     * 'Items'<~Hash> - list of attribute name/values for the items formatted as 
      #       { 'item_name' => { 'attribute_name' => ['attribute_value'] }}
      #     * 'NextToken'<~String> - offset to start with if there are are more domains to list
      def select(select_expression, next_token = nil)
        request({
          'Action' => 'Select',
          'NextToken' => next_token,
          'SelectExpression' => select_expression
        }, Fog::Parsers::AWS::SimpleDB::Select.new(@nil_string))
      end

    end
  end
end

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
fog-0.0.12 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.11 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.10 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.9 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.8 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.7 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.6 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.5 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.4 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.3 lib/fog/aws/requests/simpledb/select.rb