create_domain

SimpleDB.Client.create_domain(**kwargs)

The CreateDomain operation creates a new domain. The domain name should be unique among the domains associated with the Access Key ID provided in the request. The CreateDomain operation may take 10 or more seconds to complete.

The client can create up to 100 domains per account.

If the client requires additional domains, go to http://aws.amazon.com/contact-us/simpledb-limit-request/.

See also: AWS API Documentation

Request Syntax

response = client.create_domain(
    DomainName='string'
)
Parameters
DomainName (string) -- [REQUIRED] The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.
Returns
None

Exceptions

  • SimpleDB.Client.exceptions.InvalidParameterValue
  • SimpleDB.Client.exceptions.MissingParameter
  • SimpleDB.Client.exceptions.NumberDomainsExceeded