Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets the specified receipt rule set as the active receipt rule set.
To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- setActiveReceiptRuleSet :: SetActiveReceiptRuleSet
- data SetActiveReceiptRuleSet
- sarrsRuleSetName :: Lens' SetActiveReceiptRuleSet (Maybe Text)
- setActiveReceiptRuleSetResponse :: Int -> SetActiveReceiptRuleSetResponse
- data SetActiveReceiptRuleSetResponse
- sarrsrsResponseStatus :: Lens' SetActiveReceiptRuleSetResponse Int
Creating a Request
setActiveReceiptRuleSet :: SetActiveReceiptRuleSet Source #
Creates a value of SetActiveReceiptRuleSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetActiveReceiptRuleSet Source #
See: setActiveReceiptRuleSet
smart constructor.
Request Lenses
sarrsRuleSetName :: Lens' SetActiveReceiptRuleSet (Maybe Text) Source #
The name of the receipt rule set to make active. Setting this value to null disables all email receiving.
Destructuring the Response
setActiveReceiptRuleSetResponse Source #
Creates a value of SetActiveReceiptRuleSetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetActiveReceiptRuleSetResponse Source #
See: setActiveReceiptRuleSetResponse
smart constructor.
Response Lenses
sarrsrsResponseStatus :: Lens' SetActiveReceiptRuleSetResponse Int Source #
The response status code.