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 |
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.
Synopsis
- data SetReceiptRulePosition = SetReceiptRulePosition' {}
- newSetReceiptRulePosition :: Text -> Text -> SetReceiptRulePosition
- setReceiptRulePosition_after :: Lens' SetReceiptRulePosition (Maybe Text)
- setReceiptRulePosition_ruleSetName :: Lens' SetReceiptRulePosition Text
- setReceiptRulePosition_ruleName :: Lens' SetReceiptRulePosition Text
- data SetReceiptRulePositionResponse = SetReceiptRulePositionResponse' {
- httpStatus :: Int
- newSetReceiptRulePositionResponse :: Int -> SetReceiptRulePositionResponse
- setReceiptRulePositionResponse_httpStatus :: Lens' SetReceiptRulePositionResponse Int
Creating a Request
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: newSetReceiptRulePosition
smart constructor.
Instances
newSetReceiptRulePosition Source #
:: Text | |
-> Text | |
-> SetReceiptRulePosition |
Create a value of SetReceiptRulePosition
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:after:SetReceiptRulePosition'
, setReceiptRulePosition_after
- The name of the receipt rule after which to place the specified receipt
rule.
$sel:ruleSetName:SetReceiptRulePosition'
, setReceiptRulePosition_ruleSetName
- The name of the receipt rule set that contains the receipt rule to
reposition.
$sel:ruleName:SetReceiptRulePosition'
, setReceiptRulePosition_ruleName
- The name of the receipt rule to reposition.
Request Lenses
setReceiptRulePosition_after :: Lens' SetReceiptRulePosition (Maybe Text) Source #
The name of the receipt rule after which to place the specified receipt rule.
setReceiptRulePosition_ruleSetName :: Lens' SetReceiptRulePosition Text Source #
The name of the receipt rule set that contains the receipt rule to reposition.
setReceiptRulePosition_ruleName :: Lens' SetReceiptRulePosition Text Source #
The name of the receipt rule to reposition.
Destructuring the Response
data SetReceiptRulePositionResponse Source #
An empty element returned on a successful request.
See: newSetReceiptRulePositionResponse
smart constructor.
SetReceiptRulePositionResponse' | |
|
Instances
Generic SetReceiptRulePositionResponse Source # | |
Read SetReceiptRulePositionResponse Source # | |
Show SetReceiptRulePositionResponse Source # | |
Defined in Amazonka.SES.SetReceiptRulePosition | |
NFData SetReceiptRulePositionResponse Source # | |
Defined in Amazonka.SES.SetReceiptRulePosition rnf :: SetReceiptRulePositionResponse -> () # | |
Eq SetReceiptRulePositionResponse Source # | |
type Rep SetReceiptRulePositionResponse Source # | |
Defined in Amazonka.SES.SetReceiptRulePosition type Rep SetReceiptRulePositionResponse = D1 ('MetaData "SetReceiptRulePositionResponse" "Amazonka.SES.SetReceiptRulePosition" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "SetReceiptRulePositionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newSetReceiptRulePositionResponse Source #
Create a value of SetReceiptRulePositionResponse
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:SetReceiptRulePositionResponse'
, setReceiptRulePositionResponse_httpStatus
- The response's http status code.
Response Lenses
setReceiptRulePositionResponse_httpStatus :: Lens' SetReceiptRulePositionResponse Int Source #
The response's http status code.