Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Lists the receipt rule sets that exist under your AWS account in the
current AWS Region. 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.
This operation returns paginated results.
Synopsis
- data ListReceiptRuleSets = ListReceiptRuleSets' {}
- newListReceiptRuleSets :: ListReceiptRuleSets
- listReceiptRuleSets_nextToken :: Lens' ListReceiptRuleSets (Maybe Text)
- data ListReceiptRuleSetsResponse = ListReceiptRuleSetsResponse' {}
- newListReceiptRuleSetsResponse :: Int -> ListReceiptRuleSetsResponse
- listReceiptRuleSetsResponse_nextToken :: Lens' ListReceiptRuleSetsResponse (Maybe Text)
- listReceiptRuleSetsResponse_ruleSets :: Lens' ListReceiptRuleSetsResponse (Maybe [ReceiptRuleSetMetadata])
- listReceiptRuleSetsResponse_httpStatus :: Lens' ListReceiptRuleSetsResponse Int
Creating a Request
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: newListReceiptRuleSets
smart constructor.
Instances
newListReceiptRuleSets :: ListReceiptRuleSets Source #
Create a value of ListReceiptRuleSets
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:
ListReceiptRuleSets
, listReceiptRuleSets_nextToken
- A token returned from a previous call to ListReceiptRuleSets
to
indicate the position in the receipt rule set list.
Request Lenses
listReceiptRuleSets_nextToken :: 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
data ListReceiptRuleSetsResponse Source #
A list of receipt rule sets that exist under your AWS account.
See: newListReceiptRuleSetsResponse
smart constructor.
ListReceiptRuleSetsResponse' | |
|
Instances
newListReceiptRuleSetsResponse Source #
Create a value of ListReceiptRuleSetsResponse
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:
ListReceiptRuleSets
, listReceiptRuleSetsResponse_nextToken
- 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.
$sel:ruleSets:ListReceiptRuleSetsResponse'
, listReceiptRuleSetsResponse_ruleSets
- 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.
$sel:httpStatus:ListReceiptRuleSetsResponse'
, listReceiptRuleSetsResponse_httpStatus
- The response's http status code.
Response Lenses
listReceiptRuleSetsResponse_nextToken :: 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.
listReceiptRuleSetsResponse_ruleSets :: Lens' ListReceiptRuleSetsResponse (Maybe [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.
listReceiptRuleSetsResponse_httpStatus :: Lens' ListReceiptRuleSetsResponse Int Source #
The response's http status code.