amazonka-cloudwatch-logs-1.6.0: Amazon CloudWatch Logs 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.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 #

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 #

See: disassociateKMSKey smart constructor.

Instances

Eq DisassociateKMSKey # 
Data DisassociateKMSKey # 

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 # 
Show DisassociateKMSKey # 
Generic DisassociateKMSKey # 
Hashable DisassociateKMSKey # 
ToJSON DisassociateKMSKey # 
NFData DisassociateKMSKey # 

Methods

rnf :: DisassociateKMSKey -> () #

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

Request Lenses

dkkLogGroupName :: Lens' DisassociateKMSKey Text #

The name of the log group.

Destructuring the Response

disassociateKMSKeyResponse :: DisassociateKMSKeyResponse #

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

data DisassociateKMSKeyResponse #

See: disassociateKMSKeyResponse smart constructor.

Instances

Eq DisassociateKMSKeyResponse # 
Data DisassociateKMSKeyResponse # 

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 # 
Show DisassociateKMSKeyResponse # 
Generic DisassociateKMSKeyResponse # 
NFData DisassociateKMSKeyResponse # 
type Rep DisassociateKMSKeyResponse # 
type Rep DisassociateKMSKeyResponse = D1 * (MetaData "DisassociateKMSKeyResponse" "Network.AWS.CloudWatchLogs.DisassociateKMSKey" "amazonka-cloudwatch-logs-1.6.0-HKcajwmKjdx6seMLJU2od6" False) (C1 * (MetaCons "DisassociateKMSKeyResponse'" PrefixI False) (U1 *))