:doc:`SES <../../ses>` / Client / create_receipt_rule_set

***********************
create_receipt_rule_set
***********************



.. py:method:: SES.Client.create_receipt_rule_set(**kwargs)

  

  Creates an empty receipt rule set.

   

  For information about setting up receipt rule sets, see the `Amazon SES Developer Guide <https://docs.aws.amazon.com/ses/latest/dg/receiving-email-concepts.html#receiving-email-concepts-rules>`__.

   

  You can execute this operation no more than once per second.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet>`_  


  **Request Syntax**
  ::

    response = client.create_receipt_rule_set(
        RuleSetName='string'
    )
    
  :type RuleSetName: string
  :param RuleSetName: **[REQUIRED]** 

    The name of the rule set to create. The name must meet the following requirements:

     

    
    * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
     
    * Start and end with a letter or number.
     
    * Contain 64 characters or fewer.
    

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      An empty element returned on a successful request.

      
  
  **Exceptions**
  
  *   :py:class:`SES.Client.exceptions.AlreadyExistsException`

  
  *   :py:class:`SES.Client.exceptions.LimitExceededException`

  

  **Examples**

  The following example creates an empty receipt rule set:
  ::

    response = client.create_receipt_rule_set(
        RuleSetName='MyRuleSet',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  