2009-07-13 22:14:59 -04:00
|
|
|
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>:
|
2009-07-31 02:13:48 -04:00
|
|
|
# * 'BoxUsage'
|
|
|
|
# * 'RequestId'
|
2009-07-13 22:14:59 -04:00
|
|
|
def create_domain(domain_name)
|
|
|
|
request({
|
|
|
|
'Action' => 'CreateDomain',
|
|
|
|
'DomainName' => domain_name
|
|
|
|
}, Fog::Parsers::AWS::SimpleDB::Basic.new(@nil_string))
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|