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 |
Deletes the specified 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 DeleteReceiptRule = DeleteReceiptRule' {
- ruleSetName :: Text
- ruleName :: Text
- newDeleteReceiptRule :: Text -> Text -> DeleteReceiptRule
- deleteReceiptRule_ruleSetName :: Lens' DeleteReceiptRule Text
- deleteReceiptRule_ruleName :: Lens' DeleteReceiptRule Text
- data DeleteReceiptRuleResponse = DeleteReceiptRuleResponse' {
- httpStatus :: Int
- newDeleteReceiptRuleResponse :: Int -> DeleteReceiptRuleResponse
- deleteReceiptRuleResponse_httpStatus :: Lens' DeleteReceiptRuleResponse Int
Creating a Request
data DeleteReceiptRule Source #
Represents a request to delete a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.
See: newDeleteReceiptRule
smart constructor.
DeleteReceiptRule' | |
|
Instances
:: Text | |
-> Text | |
-> DeleteReceiptRule |
Create a value of DeleteReceiptRule
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:DeleteReceiptRule'
, deleteReceiptRule_ruleSetName
- The name of the receipt rule set that contains the receipt rule to
delete.
$sel:ruleName:DeleteReceiptRule'
, deleteReceiptRule_ruleName
- The name of the receipt rule to delete.
Request Lenses
deleteReceiptRule_ruleSetName :: Lens' DeleteReceiptRule Text Source #
The name of the receipt rule set that contains the receipt rule to delete.
deleteReceiptRule_ruleName :: Lens' DeleteReceiptRule Text Source #
The name of the receipt rule to delete.
Destructuring the Response
data DeleteReceiptRuleResponse Source #
An empty element returned on a successful request.
See: newDeleteReceiptRuleResponse
smart constructor.
DeleteReceiptRuleResponse' | |
|
Instances
newDeleteReceiptRuleResponse Source #
Create a value of DeleteReceiptRuleResponse
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:DeleteReceiptRuleResponse'
, deleteReceiptRuleResponse_httpStatus
- The response's http status code.
Response Lenses
deleteReceiptRuleResponse_httpStatus :: Lens' DeleteReceiptRuleResponse Int Source #
The response's http status code.