amazonka-cloudwatch-events-1.6.0: 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.ListRuleNamesByTarget

Contents

Description

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.

Synopsis

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.

Instances

Eq ListRuleNamesByTarget Source # 
Data ListRuleNamesByTarget Source # 

Methods

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

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

toConstr :: ListRuleNamesByTarget -> Constr #

dataTypeOf :: ListRuleNamesByTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListRuleNamesByTarget -> () #

AWSRequest ListRuleNamesByTarget Source # 
ToHeaders ListRuleNamesByTarget Source # 
ToPath ListRuleNamesByTarget Source # 
ToQuery ListRuleNamesByTarget Source # 
type Rep ListRuleNamesByTarget Source # 
type Rep ListRuleNamesByTarget = D1 * (MetaData "ListRuleNamesByTarget" "Network.AWS.CloudWatchEvents.ListRuleNamesByTarget" "amazonka-cloudwatch-events-1.6.0-HAo9KGse8vQGR6NGUEJNu3" False) (C1 * (MetaCons "ListRuleNamesByTarget'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrnbtNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrnbtLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_lrnbtTargetARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListRuleNamesByTarget Source # 

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:

data ListRuleNamesByTargetResponse Source #

See: listRuleNamesByTargetResponse smart constructor.

Instances

Eq ListRuleNamesByTargetResponse Source # 
Data ListRuleNamesByTargetResponse Source # 

Methods

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

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

toConstr :: ListRuleNamesByTargetResponse -> Constr #

dataTypeOf :: ListRuleNamesByTargetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListRuleNamesByTargetResponse Source # 
Show ListRuleNamesByTargetResponse Source # 
Generic ListRuleNamesByTargetResponse Source # 
NFData ListRuleNamesByTargetResponse Source # 
type Rep ListRuleNamesByTargetResponse Source # 
type Rep ListRuleNamesByTargetResponse = D1 * (MetaData "ListRuleNamesByTargetResponse" "Network.AWS.CloudWatchEvents.ListRuleNamesByTarget" "amazonka-cloudwatch-events-1.6.0-HAo9KGse8vQGR6NGUEJNu3" False) (C1 * (MetaCons "ListRuleNamesByTargetResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrnbtrsRuleNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrnbtrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lrnbtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

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.