

# SetActiveReceiptRuleSet
<a name="API_SetActiveReceiptRuleSet"></a>

Sets the specified receipt rule set as the active receipt rule set.

**Note**  
To disable your email-receiving through Amazon SES completely, you can call this operation with `RuleSetName` set to null.

For information about managing receipt rule sets, see the [Amazon SES Developer Guide](https://docs.aws.amazon.com/ses/latest/dg/receiving-email-receipt-rules-console-walkthrough.html).

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

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

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

 ** RuleSetName **   
The name of the receipt rule set to make active. Setting this value to null disables all email receiving.  
Type: String  
Required: No

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

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

 ** 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_SetActiveReceiptRuleSet_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/SetActiveReceiptRuleSet) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/email-2010-12-01/SetActiveReceiptRuleSet) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/email-2010-12-01/SetActiveReceiptRuleSet) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/email-2010-12-01/SetActiveReceiptRuleSet) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/email-2010-12-01/SetActiveReceiptRuleSet) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/email-2010-12-01/SetActiveReceiptRuleSet) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/email-2010-12-01/SetActiveReceiptRuleSet) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/email-2010-12-01/SetActiveReceiptRuleSet) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/email-2010-12-01/SetActiveReceiptRuleSet) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/email-2010-12-01/SetActiveReceiptRuleSet) 