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 set.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Synopsis
- data DescribeReceiptRuleSet = DescribeReceiptRuleSet' {
- ruleSetName :: Text
- newDescribeReceiptRuleSet :: Text -> DescribeReceiptRuleSet
- describeReceiptRuleSet_ruleSetName :: Lens' DescribeReceiptRuleSet Text
- data DescribeReceiptRuleSetResponse = DescribeReceiptRuleSetResponse' {}
- newDescribeReceiptRuleSetResponse :: Int -> DescribeReceiptRuleSetResponse
- describeReceiptRuleSetResponse_rules :: Lens' DescribeReceiptRuleSetResponse (Maybe [ReceiptRule])
- describeReceiptRuleSetResponse_metadata :: Lens' DescribeReceiptRuleSetResponse (Maybe ReceiptRuleSetMetadata)
- describeReceiptRuleSetResponse_httpStatus :: Lens' DescribeReceiptRuleSetResponse Int
Creating a Request
data DescribeReceiptRuleSet Source #
Represents a request to return the details of a receipt rule set. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.
See: newDescribeReceiptRuleSet
smart constructor.
DescribeReceiptRuleSet' | |
|
Instances
newDescribeReceiptRuleSet Source #
Create a value of DescribeReceiptRuleSet
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:DescribeReceiptRuleSet'
, describeReceiptRuleSet_ruleSetName
- The name of the receipt rule set to describe.
Request Lenses
describeReceiptRuleSet_ruleSetName :: Lens' DescribeReceiptRuleSet Text Source #
The name of the receipt rule set to describe.
Destructuring the Response
data DescribeReceiptRuleSetResponse Source #
Represents the details of the specified receipt rule set.
See: newDescribeReceiptRuleSetResponse
smart constructor.
DescribeReceiptRuleSetResponse' | |
|
Instances
newDescribeReceiptRuleSetResponse Source #
Create a value of DescribeReceiptRuleSetResponse
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:DescribeReceiptRuleSetResponse'
, describeReceiptRuleSetResponse_rules
- A list of the receipt rules that belong to the specified receipt rule
set.
$sel:metadata:DescribeReceiptRuleSetResponse'
, describeReceiptRuleSetResponse_metadata
- The metadata for the receipt rule set, which consists of the rule set
name and the timestamp of when the rule set was created.
$sel:httpStatus:DescribeReceiptRuleSetResponse'
, describeReceiptRuleSetResponse_httpStatus
- The response's http status code.
Response Lenses
describeReceiptRuleSetResponse_rules :: Lens' DescribeReceiptRuleSetResponse (Maybe [ReceiptRule]) Source #
A list of the receipt rules that belong to the specified receipt rule set.
describeReceiptRuleSetResponse_metadata :: Lens' DescribeReceiptRuleSetResponse (Maybe ReceiptRuleSetMetadata) Source #
The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.
describeReceiptRuleSetResponse_httpStatus :: Lens' DescribeReceiptRuleSetResponse Int Source #
The response's http status code.