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:
ltbrNextToken
- The token returned by a previous call to indicate that there is more data available.ltbrLimit
- The maximum number of results to return.ltbrRule
- The name of the rule whose targets you want to list.
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.
ltbrLimit :: Lens' ListTargetsByRule (Maybe Natural) Source #
The maximum number of results to return.
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:
ltbrrsNextToken
- Indicates that there are additional results to retrieve.ltbrrsTargets
- Lists the targets assigned to the rule.ltbrrsResponseStatus
- -- | The response status code.
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.