amazonka-kms-1.4.4: 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 Source #

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:

data UpdateKeyDescription Source #

See: updateKeyDescription smart constructor.

Instances

Eq UpdateKeyDescription Source # 
Data UpdateKeyDescription Source # 

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 Source # 
Show UpdateKeyDescription Source # 
Generic UpdateKeyDescription Source # 
Hashable UpdateKeyDescription Source # 
NFData UpdateKeyDescription Source # 

Methods

rnf :: UpdateKeyDescription -> () #

AWSRequest UpdateKeyDescription Source # 
ToPath UpdateKeyDescription Source # 
ToHeaders UpdateKeyDescription Source # 
ToQuery UpdateKeyDescription Source # 
ToJSON UpdateKeyDescription Source # 
type Rep UpdateKeyDescription Source # 
type Rep UpdateKeyDescription = D1 (MetaData "UpdateKeyDescription" "Network.AWS.KMS.UpdateKeyDescription" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" 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 Source # 

Request Lenses

ukdKeyId :: Lens' UpdateKeyDescription Text Source #

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 Source #

New description for the key.

Destructuring the Response

updateKeyDescriptionResponse :: UpdateKeyDescriptionResponse Source #

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

data UpdateKeyDescriptionResponse Source #

See: updateKeyDescriptionResponse smart constructor.

Instances

Eq UpdateKeyDescriptionResponse Source # 
Data UpdateKeyDescriptionResponse Source # 

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 Source # 
Show UpdateKeyDescriptionResponse Source # 
Generic UpdateKeyDescriptionResponse Source # 
NFData UpdateKeyDescriptionResponse Source # 
type Rep UpdateKeyDescriptionResponse Source # 
type Rep UpdateKeyDescriptionResponse = D1 (MetaData "UpdateKeyDescriptionResponse" "Network.AWS.KMS.UpdateKeyDescription" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "UpdateKeyDescriptionResponse'" PrefixI False) U1)