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

Contents

Description

Lists your policies.

This operation returns paginated results.

Synopsis

Creating a Request

listPolicies :: ListPolicies #

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

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

  • lpMarker - The marker for the next set of results.
  • lpAscendingOrder - Specifies the order for results. If true, the results are returned in ascending creation order.
  • lpPageSize - The result page size.

data ListPolicies #

The input for the ListPolicies operation.

See: listPolicies smart constructor.

Instances
Eq ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Data ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Methods

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

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

toConstr :: ListPolicies -> Constr #

dataTypeOf :: ListPolicies -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Show ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Generic ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Associated Types

type Rep ListPolicies :: * -> * #

Hashable ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

AWSPager ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

AWSRequest ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Associated Types

type Rs ListPolicies :: * #

ToHeaders ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

ToPath ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

ToQuery ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

NFData ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Methods

rnf :: ListPolicies -> () #

type Rep ListPolicies # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

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

Defined in Network.AWS.IoT.ListPolicies

Request Lenses

lpMarker :: Lens' ListPolicies (Maybe Text) #

The marker for the next set of results.

lpAscendingOrder :: Lens' ListPolicies (Maybe Bool) #

Specifies the order for results. If true, the results are returned in ascending creation order.

lpPageSize :: Lens' ListPolicies (Maybe Natural) #

The result page size.

Destructuring the Response

listPoliciesResponse #

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

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

data ListPoliciesResponse #

The output from the ListPolicies operation.

See: listPoliciesResponse smart constructor.

Instances
Eq ListPoliciesResponse # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Data ListPoliciesResponse # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Methods

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

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

toConstr :: ListPoliciesResponse -> Constr #

dataTypeOf :: ListPoliciesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPoliciesResponse # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Show ListPoliciesResponse # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Generic ListPoliciesResponse # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Associated Types

type Rep ListPoliciesResponse :: * -> * #

NFData ListPoliciesResponse # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

Methods

rnf :: ListPoliciesResponse -> () #

type Rep ListPoliciesResponse # 
Instance details

Defined in Network.AWS.IoT.ListPolicies

type Rep ListPoliciesResponse = D1 (MetaData "ListPoliciesResponse" "Network.AWS.IoT.ListPolicies" "amazonka-iot-1.6.0-7Vy7dErS7zJKuWc6mk800q" False) (C1 (MetaCons "ListPoliciesResponse'" PrefixI True) (S1 (MetaSel (Just "_lprsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lprsPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Policy])) :*: S1 (MetaSel (Just "_lprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lprsNextMarker :: Lens' ListPoliciesResponse (Maybe Text) #

The marker for the next set of results, or null if there are no additional results.

lprsPolicies :: Lens' ListPoliciesResponse [Policy] #

The descriptions of the policies.

lprsResponseStatus :: Lens' ListPoliciesResponse Int #

  • - | The response status code.