Copyright | (c) 2013-2018 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 |
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
- 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:
cRuleSetName
- 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.cOriginalRuleSetName
- The name of the rule set to clone.
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: cloneReceiptRuleSet
smart constructor.
Instances
Request Lenses
cRuleSetName :: 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.
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:
crsResponseStatus
- -- | The response status code.
data CloneReceiptRuleSetResponse Source #
An empty element returned on a successful request.
See: cloneReceiptRuleSetResponse
smart constructor.
Instances
Response Lenses
crsResponseStatus :: Lens' CloneReceiptRuleSetResponse Int Source #
- - | The response status code.