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 #

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 #

See: listTargetsForPolicy smart constructor.

Instances
Eq ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Data ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

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

Defined in Network.AWS.IoT.ListTargetsForPolicy

Show ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Generic ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Associated Types

type Rep ListTargetsForPolicy :: * -> * #

Hashable ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

ToJSON ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

AWSRequest ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Associated Types

type Rs ListTargetsForPolicy :: * #

ToHeaders ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

ToPath ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

ToQuery ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

NFData ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Methods

rnf :: ListTargetsForPolicy -> () #

type Rep ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

type Rep ListTargetsForPolicy = D1 (MetaData "ListTargetsForPolicy" "Network.AWS.IoT.ListTargetsForPolicy" "amazonka-iot-1.6.0-7Vy7dErS7zJKuWc6mk800q" False) (C1 (MetaCons "ListTargetsForPolicy'" PrefixI True) (S1 (MetaSel (Just "_ltfpMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltfpPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ltfpPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListTargetsForPolicy # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Request Lenses

ltfpMarker :: Lens' ListTargetsForPolicy (Maybe Text) #

A marker used to get the next set of results.

ltfpPageSize :: Lens' ListTargetsForPolicy (Maybe Natural) #

The maximum number of results to return at one time.

Destructuring the Response

listTargetsForPolicyResponse #

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 #

See: listTargetsForPolicyResponse smart constructor.

Instances
Eq ListTargetsForPolicyResponse # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Data ListTargetsForPolicyResponse # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

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

Defined in Network.AWS.IoT.ListTargetsForPolicy

Show ListTargetsForPolicyResponse # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Generic ListTargetsForPolicyResponse # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Associated Types

type Rep ListTargetsForPolicyResponse :: * -> * #

NFData ListTargetsForPolicyResponse # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

type Rep ListTargetsForPolicyResponse # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

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

Response Lenses

ltfprsNextMarker :: Lens' ListTargetsForPolicyResponse (Maybe Text) #

A marker used to get the next set of results.