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 |
Lists all the topic rule destinations in your Amazon Web Services account.
Requires permission to access the ListTopicRuleDestinations action.
This operation returns paginated results.
Synopsis
- data ListTopicRuleDestinations = ListTopicRuleDestinations' {}
- newListTopicRuleDestinations :: ListTopicRuleDestinations
- listTopicRuleDestinations_nextToken :: Lens' ListTopicRuleDestinations (Maybe Text)
- listTopicRuleDestinations_maxResults :: Lens' ListTopicRuleDestinations (Maybe Natural)
- data ListTopicRuleDestinationsResponse = ListTopicRuleDestinationsResponse' {}
- newListTopicRuleDestinationsResponse :: Int -> ListTopicRuleDestinationsResponse
- listTopicRuleDestinationsResponse_destinationSummaries :: Lens' ListTopicRuleDestinationsResponse (Maybe [TopicRuleDestinationSummary])
- listTopicRuleDestinationsResponse_nextToken :: Lens' ListTopicRuleDestinationsResponse (Maybe Text)
- listTopicRuleDestinationsResponse_httpStatus :: Lens' ListTopicRuleDestinationsResponse Int
Creating a Request
data ListTopicRuleDestinations Source #
See: newListTopicRuleDestinations
smart constructor.
Instances
newListTopicRuleDestinations :: ListTopicRuleDestinations Source #
Create a value of ListTopicRuleDestinations
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:nextToken:ListTopicRuleDestinations'
, listTopicRuleDestinations_nextToken
- To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
$sel:maxResults:ListTopicRuleDestinations'
, listTopicRuleDestinations_maxResults
- The maximum number of results to return at one time.
Request Lenses
listTopicRuleDestinations_nextToken :: Lens' ListTopicRuleDestinations (Maybe Text) Source #
To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
listTopicRuleDestinations_maxResults :: Lens' ListTopicRuleDestinations (Maybe Natural) Source #
The maximum number of results to return at one time.
Destructuring the Response
data ListTopicRuleDestinationsResponse Source #
See: newListTopicRuleDestinationsResponse
smart constructor.
ListTopicRuleDestinationsResponse' | |
|
Instances
newListTopicRuleDestinationsResponse Source #
Create a value of ListTopicRuleDestinationsResponse
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:destinationSummaries:ListTopicRuleDestinationsResponse'
, listTopicRuleDestinationsResponse_destinationSummaries
- Information about a topic rule destination.
$sel:nextToken:ListTopicRuleDestinations'
, listTopicRuleDestinationsResponse_nextToken
- The token to use to get the next set of results, or null if there
are no additional results.
$sel:httpStatus:ListTopicRuleDestinationsResponse'
, listTopicRuleDestinationsResponse_httpStatus
- The response's http status code.
Response Lenses
listTopicRuleDestinationsResponse_destinationSummaries :: Lens' ListTopicRuleDestinationsResponse (Maybe [TopicRuleDestinationSummary]) Source #
Information about a topic rule destination.
listTopicRuleDestinationsResponse_nextToken :: Lens' ListTopicRuleDestinationsResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listTopicRuleDestinationsResponse_httpStatus :: Lens' ListTopicRuleDestinationsResponse Int Source #
The response's http status code.