amazonka-iot-1.6.0: Amazon IoT 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.IoT.ListTargetsForPolicy

Contents

Description

List targets for the specified policy.

Synopsis

Creating a Request

listTargetsForPolicy Source #

Creates a value of ListTargetsForPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListTargetsForPolicy Source #

See: listTargetsForPolicy smart constructor.

Instances

Eq ListTargetsForPolicy Source # 
Data ListTargetsForPolicy Source # 

Methods

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

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

toConstr :: ListTargetsForPolicy -> Constr #

dataTypeOf :: ListTargetsForPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListTargetsForPolicy -> () #

AWSRequest ListTargetsForPolicy Source # 
ToHeaders ListTargetsForPolicy Source # 
ToPath ListTargetsForPolicy Source # 
ToQuery ListTargetsForPolicy Source # 
type Rep ListTargetsForPolicy Source # 
type Rep ListTargetsForPolicy = D1 * (MetaData "ListTargetsForPolicy" "Network.AWS.IoT.ListTargetsForPolicy" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListTargetsForPolicy'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfpMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfpPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_ltfpPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListTargetsForPolicy Source # 

Request Lenses

ltfpMarker :: Lens' ListTargetsForPolicy (Maybe Text) Source #

A marker used to get the next set of results.

ltfpPageSize :: Lens' ListTargetsForPolicy (Maybe Natural) Source #

The maximum number of results to return at one time.

Destructuring the Response

listTargetsForPolicyResponse Source #

Creates a value of ListTargetsForPolicyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListTargetsForPolicyResponse Source #

See: listTargetsForPolicyResponse smart constructor.

Instances

Eq ListTargetsForPolicyResponse Source # 
Data ListTargetsForPolicyResponse Source # 

Methods

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

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

toConstr :: ListTargetsForPolicyResponse -> Constr #

dataTypeOf :: ListTargetsForPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTargetsForPolicyResponse Source # 
Show ListTargetsForPolicyResponse Source # 
Generic ListTargetsForPolicyResponse Source # 
NFData ListTargetsForPolicyResponse Source # 
type Rep ListTargetsForPolicyResponse Source # 
type Rep ListTargetsForPolicyResponse = D1 * (MetaData "ListTargetsForPolicyResponse" "Network.AWS.IoT.ListTargetsForPolicy" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListTargetsForPolicyResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfprsTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltfprsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ltfprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ltfprsNextMarker :: Lens' ListTargetsForPolicyResponse (Maybe Text) Source #

A marker used to get the next set of results.