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 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.
Synopsis
- data CreateReceiptRuleSet = CreateReceiptRuleSet' {
- ruleSetName :: Text
- newCreateReceiptRuleSet :: Text -> CreateReceiptRuleSet
- createReceiptRuleSet_ruleSetName :: Lens' CreateReceiptRuleSet Text
- data CreateReceiptRuleSetResponse = CreateReceiptRuleSetResponse' {
- httpStatus :: Int
- newCreateReceiptRuleSetResponse :: Int -> CreateReceiptRuleSetResponse
- createReceiptRuleSetResponse_httpStatus :: Lens' CreateReceiptRuleSetResponse Int
Creating a Request
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: newCreateReceiptRuleSet
smart constructor.
CreateReceiptRuleSet' | |
|
Instances
newCreateReceiptRuleSet Source #
Create a value of CreateReceiptRuleSet
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:CreateReceiptRuleSet'
, createReceiptRuleSet_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.
Request Lenses
createReceiptRuleSet_ruleSetName :: 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
data CreateReceiptRuleSetResponse Source #
An empty element returned on a successful request.
See: newCreateReceiptRuleSetResponse
smart constructor.
CreateReceiptRuleSetResponse' | |
|
Instances
newCreateReceiptRuleSetResponse Source #
Create a value of CreateReceiptRuleSetResponse
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:CreateReceiptRuleSetResponse'
, createReceiptRuleSetResponse_httpStatus
- The response's http status code.
Response Lenses
createReceiptRuleSetResponse_httpStatus :: Lens' CreateReceiptRuleSetResponse Int Source #
The response's http status code.