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

Contents

Description

Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy . To find out which version of a policy is marked as the default version, use ListPolicyVersions.

Synopsis

Creating a Request

deletePolicyVersion Source #

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

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

data DeletePolicyVersion Source #

The input for the DeletePolicyVersion operation.

See: deletePolicyVersion smart constructor.

Instances
Eq DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Data DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Methods

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

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

toConstr :: DeletePolicyVersion -> Constr #

dataTypeOf :: DeletePolicyVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Show DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Generic DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Associated Types

type Rep DeletePolicyVersion :: Type -> Type #

Hashable DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

AWSRequest DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Associated Types

type Rs DeletePolicyVersion :: Type #

ToHeaders DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

ToPath DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

ToQuery DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

NFData DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Methods

rnf :: DeletePolicyVersion -> () #

type Rep DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

type Rep DeletePolicyVersion = D1 (MetaData "DeletePolicyVersion" "Network.AWS.IoT.DeletePolicyVersion" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "DeletePolicyVersion'" PrefixI True) (S1 (MetaSel (Just "_dpvPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dpvPolicyVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeletePolicyVersion Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Request Lenses

Destructuring the Response

deletePolicyVersionResponse :: DeletePolicyVersionResponse Source #

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

data DeletePolicyVersionResponse Source #

See: deletePolicyVersionResponse smart constructor.

Instances
Eq DeletePolicyVersionResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Data DeletePolicyVersionResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Methods

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

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

toConstr :: DeletePolicyVersionResponse -> Constr #

dataTypeOf :: DeletePolicyVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePolicyVersionResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Show DeletePolicyVersionResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Generic DeletePolicyVersionResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

Associated Types

type Rep DeletePolicyVersionResponse :: Type -> Type #

NFData DeletePolicyVersionResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

type Rep DeletePolicyVersionResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeletePolicyVersion

type Rep DeletePolicyVersionResponse = D1 (MetaData "DeletePolicyVersionResponse" "Network.AWS.IoT.DeletePolicyVersion" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "DeletePolicyVersionResponse'" PrefixI False) (U1 :: Type -> Type))