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.ListAttachedPolicies

Contents

Description

Lists the policies attached to the specified thing group.

Synopsis

Creating a Request

listAttachedPolicies Source #

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

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

  • lapMarker - The token to retrieve the next set of results.
  • lapRecursive - When true, recursively list attached policies.
  • lapPageSize - The maximum number of results to be returned per request.
  • lapTarget - The group for which the policies will be listed.

data ListAttachedPolicies Source #

See: listAttachedPolicies smart constructor.

Instances
Eq ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Data ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Methods

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

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

toConstr :: ListAttachedPolicies -> Constr #

dataTypeOf :: ListAttachedPolicies -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Show ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Generic ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Associated Types

type Rep ListAttachedPolicies :: Type -> Type #

Hashable ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

ToJSON ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

AWSRequest ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Associated Types

type Rs ListAttachedPolicies :: Type #

ToHeaders ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

ToPath ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

ToQuery ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

NFData ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Methods

rnf :: ListAttachedPolicies -> () #

type Rep ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

type Rep ListAttachedPolicies = D1 (MetaData "ListAttachedPolicies" "Network.AWS.IoT.ListAttachedPolicies" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListAttachedPolicies'" PrefixI True) ((S1 (MetaSel (Just "_lapMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lapRecursive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_lapPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_lapTarget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListAttachedPolicies Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Request Lenses

lapMarker :: Lens' ListAttachedPolicies (Maybe Text) Source #

The token to retrieve the next set of results.

lapRecursive :: Lens' ListAttachedPolicies (Maybe Bool) Source #

When true, recursively list attached policies.

lapPageSize :: Lens' ListAttachedPolicies (Maybe Natural) Source #

The maximum number of results to be returned per request.

lapTarget :: Lens' ListAttachedPolicies Text Source #

The group for which the policies will be listed.

Destructuring the Response

listAttachedPoliciesResponse Source #

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

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

data ListAttachedPoliciesResponse Source #

See: listAttachedPoliciesResponse smart constructor.

Instances
Eq ListAttachedPoliciesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Data ListAttachedPoliciesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Methods

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

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

toConstr :: ListAttachedPoliciesResponse -> Constr #

dataTypeOf :: ListAttachedPoliciesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAttachedPoliciesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Show ListAttachedPoliciesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Generic ListAttachedPoliciesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

Associated Types

type Rep ListAttachedPoliciesResponse :: Type -> Type #

NFData ListAttachedPoliciesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

type Rep ListAttachedPoliciesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListAttachedPolicies

type Rep ListAttachedPoliciesResponse = D1 (MetaData "ListAttachedPoliciesResponse" "Network.AWS.IoT.ListAttachedPolicies" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListAttachedPoliciesResponse'" PrefixI True) (S1 (MetaSel (Just "_laprsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_laprsPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Policy])) :*: S1 (MetaSel (Just "_laprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

laprsNextMarker :: Lens' ListAttachedPoliciesResponse (Maybe Text) Source #

The token to retrieve the next set of results, or `null` if there are no more results.