| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SES.SetActiveReceiptRuleSet
Description
Sets the specified receipt rule set as the active receipt rule set.
For information about managing receipt rule sets, see the Amazon SES Developer Guide .
You can execute this operation no more than once 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:
sarrsRuleSetName- The name of the receipt rule set to make active. Setting this value to null disables all email receiving.
data SetActiveReceiptRuleSet Source #
Represents a request to set a receipt rule set as the active receipt rule set. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide .
See: setActiveReceiptRuleSet smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> SetActiveReceiptRuleSetResponse |
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:
sarrsrsResponseStatus- -- | The response status code.
data SetActiveReceiptRuleSetResponse Source #
An empty element returned on a successful request.
See: setActiveReceiptRuleSetResponse smart constructor.
Instances
Response Lenses
sarrsrsResponseStatus :: Lens' SetActiveReceiptRuleSetResponse Int Source #
- - | The response status code.