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

Contents

Description

Disables automatic rotation of the key material for the specified customer master key (CMK). You cannot perform this operation on a CMK in a different AWS account.

Synopsis

Creating a Request

disableKeyRotation Source #

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

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

  • dkrKeyId - A unique identifier for the customer master key (CMK). Specify the key ID or the Amazon Resource Name (ARN) of the CMK. For example: * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey .

data DisableKeyRotation Source #

See: disableKeyRotation smart constructor.

Instances

Eq DisableKeyRotation Source # 
Data DisableKeyRotation Source # 

Methods

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

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

toConstr :: DisableKeyRotation -> Constr #

dataTypeOf :: DisableKeyRotation -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DisableKeyRotation -> () #

AWSRequest DisableKeyRotation Source # 
ToQuery DisableKeyRotation Source # 
ToPath DisableKeyRotation Source # 
ToHeaders DisableKeyRotation Source # 
type Rep DisableKeyRotation Source # 
type Rep DisableKeyRotation = D1 (MetaData "DisableKeyRotation" "Network.AWS.KMS.DisableKeyRotation" "amazonka-kms-1.5.0-1ul8bs34gET2EfYsh0ppOn" True) (C1 (MetaCons "DisableKeyRotation'" PrefixI True) (S1 (MetaSel (Just Symbol "_dkrKeyId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DisableKeyRotation Source # 

Request Lenses

dkrKeyId :: Lens' DisableKeyRotation Text Source #

A unique identifier for the customer master key (CMK). Specify the key ID or the Amazon Resource Name (ARN) of the CMK. For example: * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab * Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey .

Destructuring the Response

disableKeyRotationResponse :: DisableKeyRotationResponse Source #

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

data DisableKeyRotationResponse Source #

See: disableKeyRotationResponse smart constructor.

Instances

Eq DisableKeyRotationResponse Source # 
Data DisableKeyRotationResponse Source # 

Methods

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

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

toConstr :: DisableKeyRotationResponse -> Constr #

dataTypeOf :: DisableKeyRotationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisableKeyRotationResponse Source # 
Show DisableKeyRotationResponse Source # 
Generic DisableKeyRotationResponse Source # 
NFData DisableKeyRotationResponse Source # 
type Rep DisableKeyRotationResponse Source # 
type Rep DisableKeyRotationResponse = D1 (MetaData "DisableKeyRotationResponse" "Network.AWS.KMS.DisableKeyRotation" "amazonka-kms-1.5.0-1ul8bs34gET2EfYsh0ppOn" False) (C1 (MetaCons "DisableKeyRotationResponse'" PrefixI False) U1)