amazonka-cloudwatch-events-1.4.5: 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:

  • 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.

Instances

Eq ListTargetsByRule Source # 
Data ListTargetsByRule Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListTargetsByRule -> c ListTargetsByRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListTargetsByRule #

toConstr :: ListTargetsByRule -> Constr #

dataTypeOf :: ListTargetsByRule -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListTargetsByRule) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListTargetsByRule) #

gmapT :: (forall b. Data b => b -> b) -> ListTargetsByRule -> ListTargetsByRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListTargetsByRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListTargetsByRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListTargetsByRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListTargetsByRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListTargetsByRule -> m ListTargetsByRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTargetsByRule -> m ListTargetsByRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTargetsByRule -> m ListTargetsByRule #

Read ListTargetsByRule Source # 
Show ListTargetsByRule Source # 
Generic ListTargetsByRule Source # 
Hashable ListTargetsByRule Source # 
ToJSON ListTargetsByRule Source # 
NFData ListTargetsByRule Source # 

Methods

rnf :: ListTargetsByRule -> () #

AWSRequest ListTargetsByRule Source # 
ToPath ListTargetsByRule Source # 
ToHeaders ListTargetsByRule Source # 
ToQuery ListTargetsByRule Source # 
type Rep ListTargetsByRule Source # 
type Rep ListTargetsByRule = D1 (MetaData "ListTargetsByRule" "Network.AWS.CloudWatchEvents.ListTargetsByRule" "amazonka-cloudwatch-events-1.4.5-C1rNKxAlYdGGYs6EYwCVVS" False) (C1 (MetaCons "ListTargetsByRule'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltbrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ltbrLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_ltbrRule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListTargetsByRule Source # 

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:

data ListTargetsByRuleResponse Source #

The result of the ListTargetsByRule operation.

See: listTargetsByRuleResponse smart constructor.

Instances

Eq ListTargetsByRuleResponse Source # 
Data ListTargetsByRuleResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListTargetsByRuleResponse -> c ListTargetsByRuleResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListTargetsByRuleResponse #

toConstr :: ListTargetsByRuleResponse -> Constr #

dataTypeOf :: ListTargetsByRuleResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListTargetsByRuleResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListTargetsByRuleResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListTargetsByRuleResponse -> ListTargetsByRuleResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListTargetsByRuleResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListTargetsByRuleResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListTargetsByRuleResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListTargetsByRuleResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListTargetsByRuleResponse -> m ListTargetsByRuleResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTargetsByRuleResponse -> m ListTargetsByRuleResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTargetsByRuleResponse -> m ListTargetsByRuleResponse #

Read ListTargetsByRuleResponse Source # 
Show ListTargetsByRuleResponse Source # 
Generic ListTargetsByRuleResponse Source # 
NFData ListTargetsByRuleResponse Source # 
type Rep ListTargetsByRuleResponse Source # 
type Rep ListTargetsByRuleResponse = D1 (MetaData "ListTargetsByRuleResponse" "Network.AWS.CloudWatchEvents.ListTargetsByRule" "amazonka-cloudwatch-events-1.4.5-C1rNKxAlYdGGYs6EYwCVVS" False) (C1 (MetaCons "ListTargetsByRuleResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltbrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ltbrrsTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Target]))) (S1 (MetaSel (Just Symbol "_ltbrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

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.