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 metadata and receipt rules for the receipt rule set that is currently active.
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 DescribeActiveReceiptRuleSet = DescribeActiveReceiptRuleSet' {
- newDescribeActiveReceiptRuleSet :: DescribeActiveReceiptRuleSet
- data DescribeActiveReceiptRuleSetResponse = DescribeActiveReceiptRuleSetResponse' {}
- newDescribeActiveReceiptRuleSetResponse :: Int -> DescribeActiveReceiptRuleSetResponse
- describeActiveReceiptRuleSetResponse_rules :: Lens' DescribeActiveReceiptRuleSetResponse (Maybe [ReceiptRule])
- describeActiveReceiptRuleSetResponse_metadata :: Lens' DescribeActiveReceiptRuleSetResponse (Maybe ReceiptRuleSetMetadata)
- describeActiveReceiptRuleSetResponse_httpStatus :: Lens' DescribeActiveReceiptRuleSetResponse Int
Creating a Request
data DescribeActiveReceiptRuleSet Source #
Represents a request to return the metadata and receipt rules for the receipt rule set that is currently active. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.
See: newDescribeActiveReceiptRuleSet
smart constructor.
Instances
newDescribeActiveReceiptRuleSet :: DescribeActiveReceiptRuleSet Source #
Create a value of DescribeActiveReceiptRuleSet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeActiveReceiptRuleSetResponse Source #
Represents the metadata and receipt rules for the receipt rule set that is currently active.
See: newDescribeActiveReceiptRuleSetResponse
smart constructor.
DescribeActiveReceiptRuleSetResponse' | |
|
Instances
newDescribeActiveReceiptRuleSetResponse Source #
Create a value of DescribeActiveReceiptRuleSetResponse
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:rules:DescribeActiveReceiptRuleSetResponse'
, describeActiveReceiptRuleSetResponse_rules
- The receipt rules that belong to the active rule set.
$sel:metadata:DescribeActiveReceiptRuleSetResponse'
, describeActiveReceiptRuleSetResponse_metadata
- The metadata for the currently active receipt rule set. The metadata
consists of the rule set name and a timestamp of when the rule set was
created.
$sel:httpStatus:DescribeActiveReceiptRuleSetResponse'
, describeActiveReceiptRuleSetResponse_httpStatus
- The response's http status code.
Response Lenses
describeActiveReceiptRuleSetResponse_rules :: Lens' DescribeActiveReceiptRuleSetResponse (Maybe [ReceiptRule]) Source #
The receipt rules that belong to the active rule set.
describeActiveReceiptRuleSetResponse_metadata :: Lens' DescribeActiveReceiptRuleSetResponse (Maybe ReceiptRuleSetMetadata) Source #
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and a timestamp of when the rule set was created.
describeActiveReceiptRuleSetResponse_httpStatus :: Lens' DescribeActiveReceiptRuleSetResponse Int Source #
The response's http status code.