amazonka-kms-1.4.3: 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.EnableKey

Contents

Description

Marks a key as enabled, thereby permitting its use.

Synopsis

Creating a Request

enableKey Source #

Arguments

:: Text

ekKeyId

-> EnableKey 

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

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

data EnableKey Source #

See: enableKey smart constructor.

Instances

Eq EnableKey Source # 
Data EnableKey Source # 

Methods

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

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

toConstr :: EnableKey -> Constr #

dataTypeOf :: EnableKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableKey Source # 
Show EnableKey Source # 
Generic EnableKey Source # 

Associated Types

type Rep EnableKey :: * -> * #

ToJSON EnableKey Source # 
Hashable EnableKey Source # 
NFData EnableKey Source # 

Methods

rnf :: EnableKey -> () #

AWSRequest EnableKey Source # 
ToPath EnableKey Source # 
ToHeaders EnableKey Source # 

Methods

toHeaders :: EnableKey -> [Header] #

ToQuery EnableKey Source # 
type Rep EnableKey Source # 
type Rep EnableKey = D1 (MetaData "EnableKey" "Network.AWS.KMS.EnableKey" "amazonka-kms-1.4.3-71oGAJhe0mRBKSBLtKegjw" True) (C1 (MetaCons "EnableKey'" PrefixI True) (S1 (MetaSel (Just Symbol "_ekKeyId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs EnableKey Source # 

Request Lenses

ekKeyId :: Lens' EnableKey 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

Destructuring the Response

enableKeyResponse :: EnableKeyResponse Source #

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

data EnableKeyResponse Source #

See: enableKeyResponse smart constructor.

Instances

Eq EnableKeyResponse Source # 
Data EnableKeyResponse Source # 

Methods

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

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

toConstr :: EnableKeyResponse -> Constr #

dataTypeOf :: EnableKeyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableKeyResponse Source # 
Show EnableKeyResponse Source # 
Generic EnableKeyResponse Source # 
NFData EnableKeyResponse Source # 

Methods

rnf :: EnableKeyResponse -> () #

type Rep EnableKeyResponse Source # 
type Rep EnableKeyResponse = D1 (MetaData "EnableKeyResponse" "Network.AWS.KMS.EnableKey" "amazonka-kms-1.4.3-71oGAJhe0mRBKSBLtKegjw" False) (C1 (MetaCons "EnableKeyResponse'" PrefixI False) U1)