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

Contents

Description

Enables 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

enableKeyRotation #

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

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

  • ekrKeyId - 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 EnableKeyRotation #

See: enableKeyRotation smart constructor.

Instances
Eq EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Data EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Methods

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

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

toConstr :: EnableKeyRotation -> Constr #

dataTypeOf :: EnableKeyRotation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Show EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Generic EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Associated Types

type Rep EnableKeyRotation :: * -> * #

Hashable EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

ToJSON EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

AWSRequest EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Associated Types

type Rs EnableKeyRotation :: * #

ToHeaders EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

ToPath EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

ToQuery EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

NFData EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Methods

rnf :: EnableKeyRotation -> () #

type Rep EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

type Rep EnableKeyRotation = D1 (MetaData "EnableKeyRotation" "Network.AWS.KMS.EnableKeyRotation" "amazonka-kms-1.6.0-J0DpkKKCQ2By8yYSyE2w7" True) (C1 (MetaCons "EnableKeyRotation'" PrefixI True) (S1 (MetaSel (Just "_ekrKeyId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs EnableKeyRotation # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Request Lenses

ekrKeyId :: Lens' EnableKeyRotation Text #

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

enableKeyRotationResponse :: EnableKeyRotationResponse #

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

data EnableKeyRotationResponse #

See: enableKeyRotationResponse smart constructor.

Instances
Eq EnableKeyRotationResponse # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Data EnableKeyRotationResponse # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Methods

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

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

toConstr :: EnableKeyRotationResponse -> Constr #

dataTypeOf :: EnableKeyRotationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableKeyRotationResponse # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Show EnableKeyRotationResponse # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Generic EnableKeyRotationResponse # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

Associated Types

type Rep EnableKeyRotationResponse :: * -> * #

NFData EnableKeyRotationResponse # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

type Rep EnableKeyRotationResponse # 
Instance details

Defined in Network.AWS.KMS.EnableKeyRotation

type Rep EnableKeyRotationResponse = D1 (MetaData "EnableKeyRotationResponse" "Network.AWS.KMS.EnableKeyRotation" "amazonka-kms-1.6.0-J0DpkKKCQ2By8yYSyE2w7" False) (C1 (MetaCons "EnableKeyRotationResponse'" PrefixI False) (U1 :: * -> *))