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 |
Lists the receipt rule sets that exist under your AWS account. If there are additional receipt rule sets to be retrieved, you will receive a NextToken
that you can provide to the next call to ListReceiptRuleSets
to retrieve the additional entries.
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
- listReceiptRuleSets :: ListReceiptRuleSets
- data ListReceiptRuleSets
- lrrsNextToken :: Lens' ListReceiptRuleSets (Maybe Text)
- listReceiptRuleSetsResponse :: Int -> ListReceiptRuleSetsResponse
- data ListReceiptRuleSetsResponse
- lrrsrsRuleSets :: Lens' ListReceiptRuleSetsResponse [ReceiptRuleSetMetadata]
- lrrsrsNextToken :: Lens' ListReceiptRuleSetsResponse (Maybe Text)
- lrrsrsResponseStatus :: Lens' ListReceiptRuleSetsResponse Int
Creating a Request
listReceiptRuleSets :: ListReceiptRuleSets Source #
Creates a value of ListReceiptRuleSets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrrsNextToken
- A token returned from a previous call toListReceiptRuleSets
to indicate the position in the receipt rule set list.
data ListReceiptRuleSets Source #
Represents a request to list the receipt rule sets that exist under your AWS account. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide .
See: listReceiptRuleSets
smart constructor.
Instances
Request Lenses
lrrsNextToken :: Lens' ListReceiptRuleSets (Maybe Text) Source #
A token returned from a previous call to ListReceiptRuleSets
to indicate the position in the receipt rule set list.
Destructuring the Response
listReceiptRuleSetsResponse Source #
Creates a value of ListReceiptRuleSetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrrsrsRuleSets
- The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.lrrsrsNextToken
- A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls ofListReceiptRuleSets
to retrieve up to 100 receipt rule sets at a time.lrrsrsResponseStatus
- -- | The response status code.
data ListReceiptRuleSetsResponse Source #
A list of receipt rule sets that exist under your AWS account.
See: listReceiptRuleSetsResponse
smart constructor.
Instances
Response Lenses
lrrsrsRuleSets :: Lens' ListReceiptRuleSetsResponse [ReceiptRuleSetMetadata] Source #
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
lrrsrsNextToken :: Lens' ListReceiptRuleSetsResponse (Maybe Text) Source #
A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets
to retrieve up to 100 receipt rule sets at a time.
lrrsrsResponseStatus :: Lens' ListReceiptRuleSetsResponse Int Source #
- - | The response status code.