amazonka-kms-1.4.5: 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.UpdateKeyDescription

Contents

Description

Updates the description of a key.

Synopsis

Creating a Request

updateKeyDescription #

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

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

  • ukdKeyId - A unique identifier for the customer master key. 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
  • ukdDescription - New description for the key.

data UpdateKeyDescription #

See: updateKeyDescription smart constructor.

Instances

Eq UpdateKeyDescription # 
Data UpdateKeyDescription # 

Methods

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

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

toConstr :: UpdateKeyDescription -> Constr #

dataTypeOf :: UpdateKeyDescription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateKeyDescription # 
Show UpdateKeyDescription # 
Generic UpdateKeyDescription # 
Hashable UpdateKeyDescription # 
ToJSON UpdateKeyDescription # 
NFData UpdateKeyDescription # 

Methods

rnf :: UpdateKeyDescription -> () #

AWSRequest UpdateKeyDescription # 
ToQuery UpdateKeyDescription # 
ToPath UpdateKeyDescription # 
ToHeaders UpdateKeyDescription # 
type Rep UpdateKeyDescription # 
type Rep UpdateKeyDescription = D1 (MetaData "UpdateKeyDescription" "Network.AWS.KMS.UpdateKeyDescription" "amazonka-kms-1.4.5-5KQpvh5Ruw27D0B5DkiMna" False) (C1 (MetaCons "UpdateKeyDescription'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ukdKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ukdDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateKeyDescription # 

Request Lenses

ukdKeyId :: Lens' UpdateKeyDescription Text #

A unique identifier for the customer master key. 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

ukdDescription :: Lens' UpdateKeyDescription Text #

New description for the key.

Destructuring the Response

updateKeyDescriptionResponse :: UpdateKeyDescriptionResponse #

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

data UpdateKeyDescriptionResponse #

See: updateKeyDescriptionResponse smart constructor.

Instances

Eq UpdateKeyDescriptionResponse # 
Data UpdateKeyDescriptionResponse # 

Methods

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

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

toConstr :: UpdateKeyDescriptionResponse -> Constr #

dataTypeOf :: UpdateKeyDescriptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateKeyDescriptionResponse # 
Show UpdateKeyDescriptionResponse # 
Generic UpdateKeyDescriptionResponse # 
NFData UpdateKeyDescriptionResponse # 
type Rep UpdateKeyDescriptionResponse # 
type Rep UpdateKeyDescriptionResponse = D1 (MetaData "UpdateKeyDescriptionResponse" "Network.AWS.KMS.UpdateKeyDescription" "amazonka-kms-1.4.5-5KQpvh5Ruw27D0B5DkiMna" False) (C1 (MetaCons "UpdateKeyDescriptionResponse'" PrefixI False) U1)