

# CloneReceiptRuleSet
<a name="API_CloneReceiptRuleSet"></a>

Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.

For information about setting up 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.

## Request Parameters
<a name="API_CloneReceiptRuleSet_RequestParameters"></a>

 For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

 ** OriginalRuleSetName **   
The name of the rule set to clone.  
Type: String  
Required: Yes

 ** RuleSetName **   
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 (\$1), or dashes (-).
+ Start and end with a letter or number.
+ Contain 64 characters or fewer.
Type: String  
Required: Yes

## Errors
<a name="API_CloneReceiptRuleSet_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AlreadyExists **   
Indicates that a resource could not be created because of a naming conflict.    
 ** Name **   
Indicates that a resource could not be created because the resource name already exists.
HTTP Status Code: 400

 ** LimitExceeded **   
Indicates that a resource could not be created because of service limits. For a list of Amazon SES limits, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).  
HTTP Status Code: 400

 ** RuleSetDoesNotExist **   
Indicates that the provided receipt rule set does not exist.    
 ** Name **   
Indicates that the named receipt rule set does not exist.
HTTP Status Code: 400

## See Also
<a name="API_CloneReceiptRuleSet_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/email-2010-12-01/CloneReceiptRuleSet) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/email-2010-12-01/CloneReceiptRuleSet) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/email-2010-12-01/CloneReceiptRuleSet) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/email-2010-12-01/CloneReceiptRuleSet) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/email-2010-12-01/CloneReceiptRuleSet) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/email-2010-12-01/CloneReceiptRuleSet) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/email-2010-12-01/CloneReceiptRuleSet) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/email-2010-12-01/CloneReceiptRuleSet) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/email-2010-12-01/CloneReceiptRuleSet) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/email-2010-12-01/CloneReceiptRuleSet) 