Copyright | (c) 2013-2021 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 |
Reorders the receipt rules within a receipt rule set.
All of the rules in the rule set must be represented in this request. That is, this API will return an error if the reorder request doesn't explicitly position all of the rules.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Synopsis
- data ReorderReceiptRuleSet = ReorderReceiptRuleSet' {
- ruleSetName :: Text
- ruleNames :: [Text]
- newReorderReceiptRuleSet :: Text -> ReorderReceiptRuleSet
- reorderReceiptRuleSet_ruleSetName :: Lens' ReorderReceiptRuleSet Text
- reorderReceiptRuleSet_ruleNames :: Lens' ReorderReceiptRuleSet [Text]
- data ReorderReceiptRuleSetResponse = ReorderReceiptRuleSetResponse' {
- httpStatus :: Int
- newReorderReceiptRuleSetResponse :: Int -> ReorderReceiptRuleSetResponse
- reorderReceiptRuleSetResponse_httpStatus :: Lens' ReorderReceiptRuleSetResponse Int
Creating a Request
data ReorderReceiptRuleSet Source #
Represents a request to reorder the receipt rules within a receipt rule set. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.
See: newReorderReceiptRuleSet
smart constructor.
ReorderReceiptRuleSet' | |
|
Instances
newReorderReceiptRuleSet Source #
Create a value of ReorderReceiptRuleSet
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:ReorderReceiptRuleSet'
, reorderReceiptRuleSet_ruleSetName
- The name of the receipt rule set to reorder.
$sel:ruleNames:ReorderReceiptRuleSet'
, reorderReceiptRuleSet_ruleNames
- A list of the specified receipt rule set's receipt rules in the order
that you want to put them.
Request Lenses
reorderReceiptRuleSet_ruleSetName :: Lens' ReorderReceiptRuleSet Text Source #
The name of the receipt rule set to reorder.
reorderReceiptRuleSet_ruleNames :: Lens' ReorderReceiptRuleSet [Text] Source #
A list of the specified receipt rule set's receipt rules in the order that you want to put them.
Destructuring the Response
data ReorderReceiptRuleSetResponse Source #
An empty element returned on a successful request.
See: newReorderReceiptRuleSetResponse
smart constructor.
ReorderReceiptRuleSetResponse' | |
|
Instances
newReorderReceiptRuleSetResponse Source #
Create a value of ReorderReceiptRuleSetResponse
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:ReorderReceiptRuleSetResponse'
, reorderReceiptRuleSetResponse_httpStatus
- The response's http status code.
Response Lenses
reorderReceiptRuleSetResponse_httpStatus :: Lens' ReorderReceiptRuleSetResponse Int Source #
The response's http status code.