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 |
Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.
For information about setting up rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Synopsis
- data CloneReceiptRuleSet = CloneReceiptRuleSet' {}
- newCloneReceiptRuleSet :: Text -> Text -> CloneReceiptRuleSet
- cloneReceiptRuleSet_ruleSetName :: Lens' CloneReceiptRuleSet Text
- cloneReceiptRuleSet_originalRuleSetName :: Lens' CloneReceiptRuleSet Text
- data CloneReceiptRuleSetResponse = CloneReceiptRuleSetResponse' {
- httpStatus :: Int
- newCloneReceiptRuleSetResponse :: Int -> CloneReceiptRuleSetResponse
- cloneReceiptRuleSetResponse_httpStatus :: Lens' CloneReceiptRuleSetResponse Int
Creating a Request
data CloneReceiptRuleSet Source #
Represents a request to create a receipt rule set by cloning an existing one. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.
See: newCloneReceiptRuleSet
smart constructor.
CloneReceiptRuleSet' | |
|
Instances
newCloneReceiptRuleSet Source #
:: Text | |
-> Text | |
-> CloneReceiptRuleSet |
Create a value of CloneReceiptRuleSet
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:CloneReceiptRuleSet'
, cloneReceiptRuleSet_ruleSetName
- The name of the rule set to create. The name must:
- This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
$sel:originalRuleSetName:CloneReceiptRuleSet'
, cloneReceiptRuleSet_originalRuleSetName
- The name of the rule set to clone.
Request Lenses
cloneReceiptRuleSet_ruleSetName :: Lens' CloneReceiptRuleSet Text Source #
The name of the rule set to create. The name must:
- This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
cloneReceiptRuleSet_originalRuleSetName :: Lens' CloneReceiptRuleSet Text Source #
The name of the rule set to clone.
Destructuring the Response
data CloneReceiptRuleSetResponse Source #
An empty element returned on a successful request.
See: newCloneReceiptRuleSetResponse
smart constructor.
CloneReceiptRuleSetResponse' | |
|
Instances
newCloneReceiptRuleSetResponse Source #
Create a value of CloneReceiptRuleSetResponse
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:CloneReceiptRuleSetResponse'
, cloneReceiptRuleSetResponse_httpStatus
- The response's http status code.
Response Lenses
cloneReceiptRuleSetResponse_httpStatus :: Lens' CloneReceiptRuleSetResponse Int Source #
The response's http status code.