| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SES.UpdateReceiptRule
Description
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.
Synopsis
- data UpdateReceiptRule = UpdateReceiptRule' {
- ruleSetName :: Text
- rule :: ReceiptRule
- newUpdateReceiptRule :: Text -> ReceiptRule -> UpdateReceiptRule
- updateReceiptRule_ruleSetName :: Lens' UpdateReceiptRule Text
- updateReceiptRule_rule :: Lens' UpdateReceiptRule ReceiptRule
- data UpdateReceiptRuleResponse = UpdateReceiptRuleResponse' {
- httpStatus :: Int
- newUpdateReceiptRuleResponse :: Int -> UpdateReceiptRuleResponse
- updateReceiptRuleResponse_httpStatus :: Lens' UpdateReceiptRuleResponse Int
Creating a Request
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: newUpdateReceiptRule smart constructor.
Constructors
| UpdateReceiptRule' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ReceiptRule | |
| -> UpdateReceiptRule |
Create a value of UpdateReceiptRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ruleSetName:UpdateReceiptRule', updateReceiptRule_ruleSetName - The name of the receipt rule set that the receipt rule belongs to.
$sel:rule:UpdateReceiptRule', updateReceiptRule_rule - A data structure that contains the updated receipt rule information.
Request Lenses
updateReceiptRule_ruleSetName :: Lens' UpdateReceiptRule Text Source #
The name of the receipt rule set that the receipt rule belongs to.
updateReceiptRule_rule :: Lens' UpdateReceiptRule ReceiptRule Source #
A data structure that contains the updated receipt rule information.
Destructuring the Response
data UpdateReceiptRuleResponse Source #
An empty element returned on a successful request.
See: newUpdateReceiptRuleResponse smart constructor.
Constructors
| UpdateReceiptRuleResponse' | |
Fields
| |
Instances
newUpdateReceiptRuleResponse Source #
Create a value of UpdateReceiptRuleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateReceiptRuleResponse', updateReceiptRuleResponse_httpStatus - The response's http status code.
Response Lenses
updateReceiptRuleResponse_httpStatus :: Lens' UpdateReceiptRuleResponse Int Source #
The response's http status code.