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

Contents

Description

Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.

Synopsis

Creating a Request

setDefaultPolicyVersion Source #

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

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

data SetDefaultPolicyVersion Source #

The input for the SetDefaultPolicyVersion operation.

See: setDefaultPolicyVersion smart constructor.

Instances

Eq SetDefaultPolicyVersion Source # 
Data SetDefaultPolicyVersion Source # 

Methods

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

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

toConstr :: SetDefaultPolicyVersion -> Constr #

dataTypeOf :: SetDefaultPolicyVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetDefaultPolicyVersion Source # 
Show SetDefaultPolicyVersion Source # 
Generic SetDefaultPolicyVersion Source # 
Hashable SetDefaultPolicyVersion Source # 
ToJSON SetDefaultPolicyVersion Source # 
NFData SetDefaultPolicyVersion Source # 

Methods

rnf :: SetDefaultPolicyVersion -> () #

AWSRequest SetDefaultPolicyVersion Source # 
ToHeaders SetDefaultPolicyVersion Source # 
ToPath SetDefaultPolicyVersion Source # 
ToQuery SetDefaultPolicyVersion Source # 
type Rep SetDefaultPolicyVersion Source # 
type Rep SetDefaultPolicyVersion = D1 * (MetaData "SetDefaultPolicyVersion" "Network.AWS.IoT.SetDefaultPolicyVersion" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "SetDefaultPolicyVersion'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_sdpvPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_sdpvPolicyVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs SetDefaultPolicyVersion Source # 

Request Lenses

Destructuring the Response

setDefaultPolicyVersionResponse :: SetDefaultPolicyVersionResponse Source #

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

data SetDefaultPolicyVersionResponse Source #

See: setDefaultPolicyVersionResponse smart constructor.

Instances

Eq SetDefaultPolicyVersionResponse Source # 
Data SetDefaultPolicyVersionResponse Source # 

Methods

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

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

toConstr :: SetDefaultPolicyVersionResponse -> Constr #

dataTypeOf :: SetDefaultPolicyVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetDefaultPolicyVersionResponse Source # 
Show SetDefaultPolicyVersionResponse Source # 
Generic SetDefaultPolicyVersionResponse Source # 
NFData SetDefaultPolicyVersionResponse Source # 
type Rep SetDefaultPolicyVersionResponse Source # 
type Rep SetDefaultPolicyVersionResponse = D1 * (MetaData "SetDefaultPolicyVersionResponse" "Network.AWS.IoT.SetDefaultPolicyVersion" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "SetDefaultPolicyVersionResponse'" PrefixI False) (U1 *))