:doc:`SimpleDB <../../sdb>` / Client / create_domain

*************
create_domain
*************



.. py:method:: 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/ <http://aws.amazon.com/contact-us/simpledb-limit-request/>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sdb-2009-04-15/CreateDomain>`_  


  **Request Syntax**
  ::

    response = client.create_domain(
        DomainName='string'
    )
    
  :type DomainName: string
  :param DomainName: **[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**
  
  *   :py:class:`SimpleDB.Client.exceptions.InvalidParameterValue`

  
  *   :py:class:`SimpleDB.Client.exceptions.MissingParameter`

  
  *   :py:class:`SimpleDB.Client.exceptions.NumberDomainsExceeded`

  