amazonka-cloudwatch-logs-1.5.0: Amazon CloudWatch Logs SDK.

Copyright(c) 2013-2017 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.CloudWatchLogs.DisassociateKMSKey

Contents

Description

Disassociates the associated AWS Key Management Service (AWS KMS) customer master key (CMK) from the specified log group.

After the AWS KMS CMK is disassociated from the log group, AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.

Note that it can take up to 5 minutes for this operation to take effect.

Synopsis

Creating a Request

disassociateKMSKey Source #

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

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

data DisassociateKMSKey Source #

See: disassociateKMSKey smart constructor.

Instances

Eq DisassociateKMSKey Source # 
Data DisassociateKMSKey Source # 

Methods

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

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

toConstr :: DisassociateKMSKey -> Constr #

dataTypeOf :: DisassociateKMSKey -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DisassociateKMSKey -> () #

AWSRequest DisassociateKMSKey Source # 
ToQuery DisassociateKMSKey Source # 
ToPath DisassociateKMSKey Source # 
ToHeaders DisassociateKMSKey Source # 
type Rep DisassociateKMSKey Source # 
type Rep DisassociateKMSKey = D1 (MetaData "DisassociateKMSKey" "Network.AWS.CloudWatchLogs.DisassociateKMSKey" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" True) (C1 (MetaCons "DisassociateKMSKey'" PrefixI True) (S1 (MetaSel (Just Symbol "_dkkLogGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DisassociateKMSKey Source # 

Request Lenses

dkkLogGroupName :: Lens' DisassociateKMSKey Text Source #

The name of the log group.

Destructuring the Response

disassociateKMSKeyResponse :: DisassociateKMSKeyResponse Source #

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

data DisassociateKMSKeyResponse Source #

See: disassociateKMSKeyResponse smart constructor.

Instances

Eq DisassociateKMSKeyResponse Source # 
Data DisassociateKMSKeyResponse Source # 

Methods

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

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

toConstr :: DisassociateKMSKeyResponse -> Constr #

dataTypeOf :: DisassociateKMSKeyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisassociateKMSKeyResponse Source # 
Show DisassociateKMSKeyResponse Source # 
Generic DisassociateKMSKeyResponse Source # 
NFData DisassociateKMSKeyResponse Source # 
type Rep DisassociateKMSKeyResponse Source # 
type Rep DisassociateKMSKeyResponse = D1 (MetaData "DisassociateKMSKeyResponse" "Network.AWS.CloudWatchLogs.DisassociateKMSKey" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" False) (C1 (MetaCons "DisassociateKMSKeyResponse'" PrefixI False) U1)