amazonka-iot-1.4.5: Amazon IoT SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IoT.ListPolicyVersions

Contents

Description

Lists the versions of the specified policy and identifies the default version.

Synopsis

Creating a Request

listPolicyVersions Source #

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

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

data ListPolicyVersions Source #

The input for the ListPolicyVersions operation.

See: listPolicyVersions smart constructor.

Instances

Eq ListPolicyVersions Source # 
Data ListPolicyVersions Source # 

Methods

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

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

toConstr :: ListPolicyVersions -> Constr #

dataTypeOf :: ListPolicyVersions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPolicyVersions Source # 
Show ListPolicyVersions Source # 
Generic ListPolicyVersions Source # 
Hashable ListPolicyVersions Source # 
NFData ListPolicyVersions Source # 

Methods

rnf :: ListPolicyVersions -> () #

AWSRequest ListPolicyVersions Source # 
ToPath ListPolicyVersions Source # 
ToHeaders ListPolicyVersions Source # 
ToQuery ListPolicyVersions Source # 
type Rep ListPolicyVersions Source # 
type Rep ListPolicyVersions = D1 (MetaData "ListPolicyVersions" "Network.AWS.IoT.ListPolicyVersions" "amazonka-iot-1.4.5-LdiOpNMei3PDsbsABUTj6X" True) (C1 (MetaCons "ListPolicyVersions'" PrefixI True) (S1 (MetaSel (Just Symbol "_lpvPolicyName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs ListPolicyVersions Source # 

Request Lenses

Destructuring the Response

listPolicyVersionsResponse Source #

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

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

data ListPolicyVersionsResponse Source #

The output from the ListPolicyVersions operation.

See: listPolicyVersionsResponse smart constructor.

Instances

Eq ListPolicyVersionsResponse Source # 
Data ListPolicyVersionsResponse Source # 

Methods

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

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

toConstr :: ListPolicyVersionsResponse -> Constr #

dataTypeOf :: ListPolicyVersionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPolicyVersionsResponse Source # 
Show ListPolicyVersionsResponse Source # 
Generic ListPolicyVersionsResponse Source # 
NFData ListPolicyVersionsResponse Source # 
type Rep ListPolicyVersionsResponse Source # 
type Rep ListPolicyVersionsResponse = D1 (MetaData "ListPolicyVersionsResponse" "Network.AWS.IoT.ListPolicyVersions" "amazonka-iot-1.4.5-LdiOpNMei3PDsbsABUTj6X" False) (C1 (MetaCons "ListPolicyVersionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lpvrsPolicyVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PolicyVersion]))) (S1 (MetaSel (Just Symbol "_lpvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses