Copyright | (c) 2013-2016 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 of targets assigned to the rule.
- listTargetsByRule :: Text -> ListTargetsByRule
- data ListTargetsByRule
- ltbrNextToken :: Lens' ListTargetsByRule (Maybe Text)
- ltbrLimit :: Lens' ListTargetsByRule (Maybe Natural)
- ltbrRule :: Lens' ListTargetsByRule Text
- listTargetsByRuleResponse :: Int -> ListTargetsByRuleResponse
- data ListTargetsByRuleResponse
- ltbrrsNextToken :: Lens' ListTargetsByRuleResponse (Maybe Text)
- ltbrrsTargets :: Lens' ListTargetsByRuleResponse [Target]
- ltbrrsResponseStatus :: Lens' ListTargetsByRuleResponse Int
Creating a Request
Creates a value of ListTargetsByRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListTargetsByRule Source
Container for the parameters to the ListTargetsByRule operation.
See: listTargetsByRule
smart constructor.
Request Lenses
ltbrNextToken :: Lens' ListTargetsByRule (Maybe Text) Source
The token returned by a previous call to indicate that there is more data available.
ltbrRule :: Lens' ListTargetsByRule Text Source
The name of the rule whose targets you want to list.
Destructuring the Response
listTargetsByRuleResponse Source
Creates a value of ListTargetsByRuleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListTargetsByRuleResponse Source
The result of the ListTargetsByRule operation.
See: listTargetsByRuleResponse
smart constructor.
Response Lenses
ltbrrsNextToken :: Lens' ListTargetsByRuleResponse (Maybe Text) Source
Indicates that there are additional results to retrieve.
ltbrrsTargets :: Lens' ListTargetsByRuleResponse [Target] Source
Lists the targets assigned to the rule.
ltbrrsResponseStatus :: Lens' ListTargetsByRuleResponse Int Source
The response status code.