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 |
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.
This action is throttled at one request per second.
See: AWS API Reference for CloneReceiptRuleSet.
- cloneReceiptRuleSet :: Text -> Text -> CloneReceiptRuleSet
- data CloneReceiptRuleSet
- cRuleSetName :: Lens' CloneReceiptRuleSet Text
- cOriginalRuleSetName :: Lens' CloneReceiptRuleSet Text
- cloneReceiptRuleSetResponse :: Int -> CloneReceiptRuleSetResponse
- data CloneReceiptRuleSetResponse
- crsResponseStatus :: Lens' CloneReceiptRuleSetResponse Int
Creating a Request
Creates a value of CloneReceiptRuleSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CloneReceiptRuleSet Source
See: cloneReceiptRuleSet
smart constructor.
Request Lenses
cRuleSetName :: Lens' CloneReceiptRuleSet Text Source
The name of the rule set to create. The name must:
- Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
- Start and end with a letter or number.
- Contain less than 64 characters.
cOriginalRuleSetName :: Lens' CloneReceiptRuleSet Text Source
The name of the rule set to clone.
Destructuring the Response
cloneReceiptRuleSetResponse Source
Creates a value of CloneReceiptRuleSetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CloneReceiptRuleSetResponse Source
See: cloneReceiptRuleSetResponse
smart constructor.
Response Lenses
crsResponseStatus :: Lens' CloneReceiptRuleSetResponse Int Source
The response status code.