Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/28.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services SES:';禁用活动规则集';使用aws cli_Amazon Web Services_Aws Cli_Amazon Ses - Fatal编程技术网

Amazon web services SES:';禁用活动规则集';使用aws cli

Amazon web services SES:';禁用活动规则集';使用aws cli,amazon-web-services,aws-cli,amazon-ses,Amazon Web Services,Aws Cli,Amazon Ses,在SES“规则集”控制台中,使用活动“规则集”,我们可以单击“禁用活动规则集”按钮禁用活动规则集 我们如何使用aws cli实现这一点 在$aws ses set active RECEINTING rule set help中,有一个注释,其中说明: To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null. 我试过两种

在SES“规则集”控制台中,使用活动“规则集”,我们可以单击“禁用活动规则集”按钮禁用活动规则集

我们如何使用aws cli实现这一点

$aws ses set active RECEINTING rule set help
中,有一个
注释
,其中说明:

To  disable  your email-receiving through Amazon SES completely, you
can call this API with RuleSetName set to null.
我试过两种方法:

aws ses设置活动接收规则集--cli输入yaml'RuleSetName:null'
aws ses集活动接收规则集--规则集名称=

无效。

只需运行该命令,根本不指定该选项

$ aws ses set-active-receipt-rule-set

这将停用激活的规则集,因此没有激活的规则集。

只需运行该命令,而不指定该选项

$ aws ses set-active-receipt-rule-set
这将停用活动规则集,以便没有活动规则集