Sha256: a675620975601ba88e95f447c10d8ff0225ea99c0f9a3bdd550f3a8dcd578638

Contents?: true

Size: 625 Bytes

Versions: 5

Compression:

Stored size: 625 Bytes

Contents

module Fog
  module AWS
    class SimpleDB

      # Create a SimpleDB domain
      #
      # ==== Parameters
      # * domain_name<~String>:: Name of domain. Must be between 3 and 255 of the
      # following characters: a-z, A-Z, 0-9, '_', '-' and '.'.
      # 
      # ==== Returns
      # * response<~Fog::AWS::Response>:
      #   * body<~Hash>:
      #     * 'BoxUsage'
      #     * 'RequestId'
      def create_domain(domain_name)
        request({
          'Action' => 'CreateDomain',
          'DomainName' => domain_name
        }, Fog::Parsers::AWS::SimpleDB::Basic.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/create_domain.rb
geemus-fog-0.0.1 lib/fog/aws/requests/simpledb/create_domain.rb
geemus-fog-0.0.3 lib/fog/aws/requests/simpledb/create_domain.rb
fog-0.0.4 lib/fog/aws/requests/simpledb/create_domain.rb
fog-0.0.3 lib/fog/aws/requests/simpledb/create_domain.rb