| 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 |
Amazonka.IoT.ListTopicRuleDestinations
Description
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_maxResults :: Lens' ListTopicRuleDestinations (Maybe Natural)
- listTopicRuleDestinations_nextToken :: Lens' ListTopicRuleDestinations (Maybe Text)
- 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.
Constructors
| ListTopicRuleDestinations' | |
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:maxResults:ListTopicRuleDestinations', listTopicRuleDestinations_maxResults - The maximum number of results to return at one time.
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.
Request Lenses
listTopicRuleDestinations_maxResults :: Lens' ListTopicRuleDestinations (Maybe Natural) Source #
The maximum number of results to return at one time.
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.
Destructuring the Response
data ListTopicRuleDestinationsResponse Source #
See: newListTopicRuleDestinationsResponse smart constructor.
Constructors
| ListTopicRuleDestinationsResponse' | |
Fields
| |
Instances
newListTopicRuleDestinationsResponse Source #
Arguments
| :: Int | |
| -> ListTopicRuleDestinationsResponse |
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.
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.