Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
This action is throttled at one request per second.
See: AWS API Reference for ReorderReceiptRuleSet.
- reorderReceiptRuleSet :: Text -> ReorderReceiptRuleSet
- data ReorderReceiptRuleSet
- rrrsRuleSetName :: Lens' ReorderReceiptRuleSet Text
- rrrsRuleNames :: Lens' ReorderReceiptRuleSet [Text]
- reorderReceiptRuleSetResponse :: Int -> ReorderReceiptRuleSetResponse
- data ReorderReceiptRuleSetResponse
- rrrsrsResponseStatus :: Lens' ReorderReceiptRuleSetResponse Int
Creating a Request
Creates a value of ReorderReceiptRuleSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReorderReceiptRuleSet Source
See: reorderReceiptRuleSet
smart constructor.
Request Lenses
rrrsRuleSetName :: Lens' ReorderReceiptRuleSet Text Source
The name of the receipt rule set to reorder.
rrrsRuleNames :: 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
reorderReceiptRuleSetResponse Source
Creates a value of ReorderReceiptRuleSetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReorderReceiptRuleSetResponse Source
See: reorderReceiptRuleSetResponse
smart constructor.
Response Lenses
rrrsrsResponseStatus :: Lens' ReorderReceiptRuleSetResponse Int Source
The response status code.