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
geemus-fog-0.0.0 lib/fog/aws/requests/simpledb/select.rb
geemus-fog-0.0.1 lib/fog/aws/requests/simpledb/select.rb
geemus-fog-0.0.3 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.29 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.28 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.27 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.26 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.25 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.24 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.23 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.22 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.21 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.20 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.19 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.18 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.17 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.16 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.15 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.14 lib/fog/aws/requests/simpledb/select.rb
fog-0.0.13 lib/fog/aws/requests/simpledb/select.rb