amazonka-cloudwatch-events-1.4.0: Amazon CloudWatch Events SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudWatchEvents.ListTargetsByRule

Contents

Description

Lists of targets assigned to the rule.

Synopsis

Creating a Request

listTargetsByRule Source

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:

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:

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.