Copyright | (c) 2013-2017 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 |
Sets the position of the specified receipt rule in the receipt rule set.
For information about managing receipt rules, see the Amazon SES Developer Guide .
You can execute this operation no more than once per second.
- setReceiptRulePosition :: Text -> Text -> SetReceiptRulePosition
- data SetReceiptRulePosition
- srrpAfter :: Lens' SetReceiptRulePosition (Maybe Text)
- srrpRuleSetName :: Lens' SetReceiptRulePosition Text
- srrpRuleName :: Lens' SetReceiptRulePosition Text
- setReceiptRulePositionResponse :: Int -> SetReceiptRulePositionResponse
- data SetReceiptRulePositionResponse
- srrprsResponseStatus :: Lens' SetReceiptRulePositionResponse Int
Creating a Request
setReceiptRulePosition Source #
Creates a value of SetReceiptRulePosition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srrpAfter
- The name of the receipt rule after which to place the specified receipt rule.srrpRuleSetName
- The name of the receipt rule set that contains the receipt rule to reposition.srrpRuleName
- The name of the receipt rule to reposition.
data SetReceiptRulePosition Source #
Represents a request to set the position of a receipt rule in 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: setReceiptRulePosition
smart constructor.
Request Lenses
srrpAfter :: Lens' SetReceiptRulePosition (Maybe Text) Source #
The name of the receipt rule after which to place the specified receipt rule.
srrpRuleSetName :: Lens' SetReceiptRulePosition Text Source #
The name of the receipt rule set that contains the receipt rule to reposition.
srrpRuleName :: Lens' SetReceiptRulePosition Text Source #
The name of the receipt rule to reposition.
Destructuring the Response
setReceiptRulePositionResponse Source #
Creates a value of SetReceiptRulePositionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srrprsResponseStatus
- -- | The response status code.
data SetReceiptRulePositionResponse Source #
An empty element returned on a successful request.
See: setReceiptRulePositionResponse
smart constructor.
Response Lenses
srrprsResponseStatus :: Lens' SetReceiptRulePositionResponse Int Source #
- - | The response status code.