Sha256: 0f43465db68606ed8c05fc1a5f38a9dd4bb89fbab337b6480f0d5d8a32ca3b5a

Contents?: true

Size: 943 Bytes

Versions: 5

Compression:

Stored size: 943 Bytes

Contents

module Fog
  module AWS
    class SimpleDB

      # List SimpleDB domains
      #
      # ==== Parameters
      # * options<~Hash> - options, defaults to {}
      #   * 'MaxNumberOfDomains'<~Integer> - number of domains to return
      #     between 1 and 100, defaults to 100
      #   * 'NextToken'<~String> - Offset token to start listing, defaults to nil
      #
      # ==== Returns
      # * response<~Fog::AWS::Response>:
      #   * body<~Hash>:
      #     * 'BoxUsage'
      #     * 'Domains' - array of domain names.
      #     * 'NextToken' - offset to start with if there are are more domains to list
      #     * 'RequestId'
      def list_domains(options = {})
        request({
          'Action' => 'ListDomains',
          'MaxNumberOfDomains' => options['MaxNumberOfDomains'],
          'NextToken' => options['NextToken']
        }, Fog::Parsers::AWS::SimpleDB::ListDomains.new(@nil_string))
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
geemus-fog-0.0.0 lib/fog/aws/requests/simpledb/list_domains.rb
geemus-fog-0.0.1 lib/fog/aws/requests/simpledb/list_domains.rb
geemus-fog-0.0.3 lib/fog/aws/requests/simpledb/list_domains.rb
fog-0.0.4 lib/fog/aws/requests/simpledb/list_domains.rb
fog-0.0.3 lib/fog/aws/requests/simpledb/list_domains.rb