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 |
Updates a receipt rule.
For information about managing receipt rules, see the Amazon SES Developer Guide .
You can execute this operation no more than once per second.
- updateReceiptRule :: Text -> ReceiptRule -> UpdateReceiptRule
- data UpdateReceiptRule
- urrRuleSetName :: Lens' UpdateReceiptRule Text
- urrRule :: Lens' UpdateReceiptRule ReceiptRule
- updateReceiptRuleResponse :: Int -> UpdateReceiptRuleResponse
- data UpdateReceiptRuleResponse
- urrrsResponseStatus :: Lens' UpdateReceiptRuleResponse Int
Creating a Request
Creates a value of UpdateReceiptRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
urrRuleSetName
- The name of the receipt rule set that the receipt rule belongs to.urrRule
- A data structure that contains the updated receipt rule information.
data UpdateReceiptRule Source #
Represents a request to update a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide .
See: updateReceiptRule
smart constructor.
Request Lenses
urrRuleSetName :: Lens' UpdateReceiptRule Text Source #
The name of the receipt rule set that the receipt rule belongs to.
urrRule :: Lens' UpdateReceiptRule ReceiptRule Source #
A data structure that contains the updated receipt rule information.
Destructuring the Response
updateReceiptRuleResponse Source #
Creates a value of UpdateReceiptRuleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
urrrsResponseStatus
- -- | The response status code.
data UpdateReceiptRuleResponse Source #
An empty element returned on a successful request.
See: updateReceiptRuleResponse
smart constructor.
Response Lenses
urrrsResponseStatus :: Lens' UpdateReceiptRuleResponse Int Source #
- - | The response status code.