amazonka-iot-1.6.1: 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 # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Data ListTargetsForPolicy Source # 
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 Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Show ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Generic ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Associated Types

type Rep ListTargetsForPolicy :: Type -> Type #

Hashable ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

ToJSON ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

AWSRequest ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Associated Types

type Rs ListTargetsForPolicy :: Type #

ToHeaders ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

ToPath ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

ToQuery ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

NFData ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Methods

rnf :: ListTargetsForPolicy -> () #

type Rep ListTargetsForPolicy Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

type Rep ListTargetsForPolicy = D1 (MetaData "ListTargetsForPolicy" "Network.AWS.IoT.ListTargetsForPolicy" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" 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 Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

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

Defined in Network.AWS.IoT.ListTargetsForPolicy

Data ListTargetsForPolicyResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Show ListTargetsForPolicyResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Generic ListTargetsForPolicyResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

Associated Types

type Rep ListTargetsForPolicyResponse :: Type -> Type #

NFData ListTargetsForPolicyResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

type Rep ListTargetsForPolicyResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListTargetsForPolicy

type Rep ListTargetsForPolicyResponse = D1 (MetaData "ListTargetsForPolicyResponse" "Network.AWS.IoT.ListTargetsForPolicy" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" 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) Source #

A marker used to get the next set of results.