Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the rules for the specific topic.
See: AWS API Reference for ListTopicRules.
- listTopicRules :: ListTopicRules
- data ListTopicRules
- ltrRuleDisabled :: Lens' ListTopicRules (Maybe Bool)
- ltrTopic :: Lens' ListTopicRules (Maybe Text)
- ltrNextToken :: Lens' ListTopicRules (Maybe Text)
- ltrMaxResults :: Lens' ListTopicRules (Maybe Natural)
- listTopicRulesResponse :: Int -> ListTopicRulesResponse
- data ListTopicRulesResponse
- ltrrsRules :: Lens' ListTopicRulesResponse [TopicRuleListItem]
- ltrrsNextToken :: Lens' ListTopicRulesResponse (Maybe Text)
- ltrrsResponseStatus :: Lens' ListTopicRulesResponse Int
Creating a Request
listTopicRules :: ListTopicRules Source
Creates a value of ListTopicRules
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListTopicRules Source
The input for the ListTopicRules operation.
See: listTopicRules
smart constructor.
Request Lenses
ltrRuleDisabled :: Lens' ListTopicRules (Maybe Bool) Source
Specifies whether the rule is disabled.
ltrNextToken :: Lens' ListTopicRules (Maybe Text) Source
A token used to retrieve the next value.
ltrMaxResults :: Lens' ListTopicRules (Maybe Natural) Source
The maximum number of results to return.
Destructuring the Response
Creates a value of ListTopicRulesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListTopicRulesResponse Source
The output from the ListTopicRules operation.
See: listTopicRulesResponse
smart constructor.
Response Lenses
ltrrsRules :: Lens' ListTopicRulesResponse [TopicRuleListItem] Source
The rules.
ltrrsNextToken :: Lens' ListTopicRulesResponse (Maybe Text) Source
A token used to retrieve the next value.
ltrrsResponseStatus :: Lens' ListTopicRulesResponse Int Source
The response status code.