Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists the rules for the specified target. You can see which of the rules in Amazon CloudWatch Events can invoke a specific target in your account.
- listRuleNamesByTarget :: Text -> ListRuleNamesByTarget
- data ListRuleNamesByTarget
- lrnbtNextToken :: Lens' ListRuleNamesByTarget (Maybe Text)
- lrnbtLimit :: Lens' ListRuleNamesByTarget (Maybe Natural)
- lrnbtTargetARN :: Lens' ListRuleNamesByTarget Text
- listRuleNamesByTargetResponse :: Int -> ListRuleNamesByTargetResponse
- data ListRuleNamesByTargetResponse
- lrnbtrsRuleNames :: Lens' ListRuleNamesByTargetResponse [Text]
- lrnbtrsNextToken :: Lens' ListRuleNamesByTargetResponse (Maybe Text)
- lrnbtrsResponseStatus :: Lens' ListRuleNamesByTargetResponse Int
Creating a Request
listRuleNamesByTarget Source #
Creates a value of ListRuleNamesByTarget
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrnbtNextToken
- The token returned by a previous call to retrieve the next set of results.lrnbtLimit
- The maximum number of results to return.lrnbtTargetARN
- The Amazon Resource Name (ARN) of the target resource.
data ListRuleNamesByTarget Source #
See: listRuleNamesByTarget
smart constructor.
Request Lenses
lrnbtNextToken :: Lens' ListRuleNamesByTarget (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
lrnbtLimit :: Lens' ListRuleNamesByTarget (Maybe Natural) Source #
The maximum number of results to return.
lrnbtTargetARN :: Lens' ListRuleNamesByTarget Text Source #
The Amazon Resource Name (ARN) of the target resource.
Destructuring the Response
listRuleNamesByTargetResponse Source #
Creates a value of ListRuleNamesByTargetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrnbtrsRuleNames
- The names of the rules that can invoke the given target.lrnbtrsNextToken
- Indicates whether there are additional results to retrieve. If there are no more results, the value is null.lrnbtrsResponseStatus
- -- | The response status code.
data ListRuleNamesByTargetResponse Source #
See: listRuleNamesByTargetResponse
smart constructor.
Response Lenses
lrnbtrsRuleNames :: Lens' ListRuleNamesByTargetResponse [Text] Source #
The names of the rules that can invoke the given target.
lrnbtrsNextToken :: Lens' ListRuleNamesByTargetResponse (Maybe Text) Source #
Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
lrnbtrsResponseStatus :: Lens' ListRuleNamesByTargetResponse Int Source #
- - | The response status code.