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

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

Network.AWS.CloudWatchEvents.ListTargetsByRule

Contents

Description

Lists the targets assigned to the specified 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 retrieve the next set of results.
  • ltbrLimit - The maximum number of results to return.
  • ltbrRule - The name of the rule.

data ListTargetsByRule Source #

See: listTargetsByRule smart constructor.

Instances
Eq ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Data ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Show ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Generic ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Associated Types

type Rep ListTargetsByRule :: Type -> Type #

Hashable ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

ToJSON ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

AWSRequest ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Associated Types

type Rs ListTargetsByRule :: Type #

ToHeaders ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

ToPath ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

ToQuery ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

NFData ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Methods

rnf :: ListTargetsByRule -> () #

type Rep ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

type Rep ListTargetsByRule = D1 (MetaData "ListTargetsByRule" "Network.AWS.CloudWatchEvents.ListTargetsByRule" "amazonka-cloudwatch-events-1.6.1-Gr8NdACzlKB7o8reClGMUI" False) (C1 (MetaCons "ListTargetsByRule'" PrefixI True) (S1 (MetaSel (Just "_ltbrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltbrLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ltbrRule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListTargetsByRule Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Request Lenses

ltbrNextToken :: Lens' ListTargetsByRule (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

ltbrLimit :: Lens' ListTargetsByRule (Maybe Natural) Source #

The maximum number of results to return.

ltbrRule :: Lens' ListTargetsByRule Text Source #

The name of the rule.

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 #

See: listTargetsByRuleResponse smart constructor.

Instances
Eq ListTargetsByRuleResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Data ListTargetsByRuleResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Show ListTargetsByRuleResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Generic ListTargetsByRuleResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

Associated Types

type Rep ListTargetsByRuleResponse :: Type -> Type #

NFData ListTargetsByRuleResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

type Rep ListTargetsByRuleResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchEvents.ListTargetsByRule

type Rep ListTargetsByRuleResponse = D1 (MetaData "ListTargetsByRuleResponse" "Network.AWS.CloudWatchEvents.ListTargetsByRule" "amazonka-cloudwatch-events-1.6.1-Gr8NdACzlKB7o8reClGMUI" False) (C1 (MetaCons "ListTargetsByRuleResponse'" PrefixI True) (S1 (MetaSel (Just "_ltbrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltbrrsTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Target))) :*: S1 (MetaSel (Just "_ltbrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ltbrrsNextToken :: Lens' ListTargetsByRuleResponse (Maybe Text) Source #

Indicates whether there are additional results to retrieve. If there are no more results, the value is null.

ltbrrsTargets :: Lens' ListTargetsByRuleResponse (Maybe (NonEmpty Target)) Source #

The targets assigned to the rule.