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 an empty receipt rule set.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide .
You can execute this operation no more than once per second.
Creating a Request
Creates a value of CreateReceiptRuleSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crrsRuleSetName
- 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.
data CreateReceiptRuleSet Source #
Represents a request to create an empty receipt rule set. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide .
See: createReceiptRuleSet
smart constructor.
Request Lenses
crrsRuleSetName :: Lens' CreateReceiptRuleSet 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.
Destructuring the Response
createReceiptRuleSetResponse Source #
Creates a value of CreateReceiptRuleSetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crrsrsResponseStatus
- -- | The response status code.
data CreateReceiptRuleSetResponse Source #
An empty element returned on a successful request.
See: createReceiptRuleSetResponse
smart constructor.
Response Lenses
crrsrsResponseStatus :: Lens' CreateReceiptRuleSetResponse Int Source #
- - | The response status code.