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 |
Returns the details of the specified receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Synopsis
- data DescribeReceiptRule = DescribeReceiptRule' {
- ruleSetName :: Text
- ruleName :: Text
- newDescribeReceiptRule :: Text -> Text -> DescribeReceiptRule
- describeReceiptRule_ruleSetName :: Lens' DescribeReceiptRule Text
- describeReceiptRule_ruleName :: Lens' DescribeReceiptRule Text
- data DescribeReceiptRuleResponse = DescribeReceiptRuleResponse' {
- rule :: Maybe ReceiptRule
- httpStatus :: Int
- newDescribeReceiptRuleResponse :: Int -> DescribeReceiptRuleResponse
- describeReceiptRuleResponse_rule :: Lens' DescribeReceiptRuleResponse (Maybe ReceiptRule)
- describeReceiptRuleResponse_httpStatus :: Lens' DescribeReceiptRuleResponse Int
Creating a Request
data DescribeReceiptRule Source #
Represents a request to return the details of a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.
See: newDescribeReceiptRule
smart constructor.
DescribeReceiptRule' | |
|
Instances
newDescribeReceiptRule Source #
:: Text | |
-> Text | |
-> DescribeReceiptRule |
Create a value of DescribeReceiptRule
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:DescribeReceiptRule'
, describeReceiptRule_ruleSetName
- The name of the receipt rule set that the receipt rule belongs to.
$sel:ruleName:DescribeReceiptRule'
, describeReceiptRule_ruleName
- The name of the receipt rule.
Request Lenses
describeReceiptRule_ruleSetName :: Lens' DescribeReceiptRule Text Source #
The name of the receipt rule set that the receipt rule belongs to.
describeReceiptRule_ruleName :: Lens' DescribeReceiptRule Text Source #
The name of the receipt rule.
Destructuring the Response
data DescribeReceiptRuleResponse Source #
Represents the details of a receipt rule.
See: newDescribeReceiptRuleResponse
smart constructor.
DescribeReceiptRuleResponse' | |
|
Instances
newDescribeReceiptRuleResponse Source #
Create a value of DescribeReceiptRuleResponse
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:rule:DescribeReceiptRuleResponse'
, describeReceiptRuleResponse_rule
- A data structure that contains the specified receipt rule's name,
actions, recipients, domains, enabled status, scan status, and Transport
Layer Security (TLS) policy.
$sel:httpStatus:DescribeReceiptRuleResponse'
, describeReceiptRuleResponse_httpStatus
- The response's http status code.
Response Lenses
describeReceiptRuleResponse_rule :: Lens' DescribeReceiptRuleResponse (Maybe ReceiptRule) Source #
A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy.
describeReceiptRuleResponse_httpStatus :: Lens' DescribeReceiptRuleResponse Int Source #
The response's http status code.