amazonka-kms-1.4.3: Amazon Key Management Service 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.KMS.RevokeGrant

Contents

Description

Revokes a grant. You can revoke a grant to actively deny operations that depend on it.

Synopsis

Creating a Request

revokeGrant Source #

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

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

data RevokeGrant Source #

See: revokeGrant smart constructor.

Instances

Eq RevokeGrant Source # 
Data RevokeGrant Source # 

Methods

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

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

toConstr :: RevokeGrant -> Constr #

dataTypeOf :: RevokeGrant -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RevokeGrant Source # 
Show RevokeGrant Source # 
Generic RevokeGrant Source # 

Associated Types

type Rep RevokeGrant :: * -> * #

ToJSON RevokeGrant Source # 
Hashable RevokeGrant Source # 
NFData RevokeGrant Source # 

Methods

rnf :: RevokeGrant -> () #

AWSRequest RevokeGrant Source # 
ToPath RevokeGrant Source # 
ToHeaders RevokeGrant Source # 

Methods

toHeaders :: RevokeGrant -> [Header] #

ToQuery RevokeGrant Source # 
type Rep RevokeGrant Source # 
type Rep RevokeGrant = D1 (MetaData "RevokeGrant" "Network.AWS.KMS.RevokeGrant" "amazonka-kms-1.4.3-71oGAJhe0mRBKSBLtKegjw" False) (C1 (MetaCons "RevokeGrant'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rGrantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs RevokeGrant Source # 

Request Lenses

rKeyId :: Lens' RevokeGrant Text Source #

A unique identifier for the customer master key associated with the grant. This value can be a globally unique identifier or the fully specified ARN to a key.

  • Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
  • Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012

rGrantId :: Lens' RevokeGrant Text Source #

Identifier of the grant to be revoked.

Destructuring the Response

revokeGrantResponse :: RevokeGrantResponse Source #

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

data RevokeGrantResponse Source #

See: revokeGrantResponse smart constructor.

Instances

Eq RevokeGrantResponse Source # 
Data RevokeGrantResponse Source # 

Methods

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

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

toConstr :: RevokeGrantResponse -> Constr #

dataTypeOf :: RevokeGrantResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RevokeGrantResponse Source # 
Show RevokeGrantResponse Source # 
Generic RevokeGrantResponse Source # 
NFData RevokeGrantResponse Source # 

Methods

rnf :: RevokeGrantResponse -> () #

type Rep RevokeGrantResponse Source # 
type Rep RevokeGrantResponse = D1 (MetaData "RevokeGrantResponse" "Network.AWS.KMS.RevokeGrant" "amazonka-kms-1.4.3-71oGAJhe0mRBKSBLtKegjw" False) (C1 (MetaCons "RevokeGrantResponse'" PrefixI False) U1)