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.GetKeyRotationStatus

Contents

Description

Retrieves a Boolean value that indicates whether key rotation is enabled for the specified key.

Synopsis

Creating a Request

getKeyRotationStatus Source #

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

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

data GetKeyRotationStatus Source #

See: getKeyRotationStatus smart constructor.

Instances

Eq GetKeyRotationStatus Source # 
Data GetKeyRotationStatus Source # 

Methods

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

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

toConstr :: GetKeyRotationStatus -> Constr #

dataTypeOf :: GetKeyRotationStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetKeyRotationStatus Source # 
Show GetKeyRotationStatus Source # 
Generic GetKeyRotationStatus Source # 
Hashable GetKeyRotationStatus Source # 
NFData GetKeyRotationStatus Source # 

Methods

rnf :: GetKeyRotationStatus -> () #

AWSRequest GetKeyRotationStatus Source # 
ToPath GetKeyRotationStatus Source # 
ToHeaders GetKeyRotationStatus Source # 
ToQuery GetKeyRotationStatus Source # 
ToJSON GetKeyRotationStatus Source # 
type Rep GetKeyRotationStatus Source # 
type Rep GetKeyRotationStatus = D1 (MetaData "GetKeyRotationStatus" "Network.AWS.KMS.GetKeyRotationStatus" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" True) (C1 (MetaCons "GetKeyRotationStatus'" PrefixI True) (S1 (MetaSel (Just Symbol "_gkrsKeyId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetKeyRotationStatus Source # 

Request Lenses

gkrsKeyId :: Lens' GetKeyRotationStatus 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

getKeyRotationStatusResponse Source #

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

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

data GetKeyRotationStatusResponse Source #

See: getKeyRotationStatusResponse smart constructor.

Instances

Eq GetKeyRotationStatusResponse Source # 
Data GetKeyRotationStatusResponse Source # 

Methods

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

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

toConstr :: GetKeyRotationStatusResponse -> Constr #

dataTypeOf :: GetKeyRotationStatusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetKeyRotationStatusResponse Source # 
Show GetKeyRotationStatusResponse Source # 
Generic GetKeyRotationStatusResponse Source # 
NFData GetKeyRotationStatusResponse Source # 
type Rep GetKeyRotationStatusResponse Source # 
type Rep GetKeyRotationStatusResponse = D1 (MetaData "GetKeyRotationStatusResponse" "Network.AWS.KMS.GetKeyRotationStatus" "amazonka-kms-1.4.4-CcxNJiRfZEW9YOdWrceDWF" False) (C1 (MetaCons "GetKeyRotationStatusResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gkrsrsKeyRotationEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_gkrsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

gkrsrsKeyRotationEnabled :: Lens' GetKeyRotationStatusResponse (Maybe Bool) Source #

A Boolean value that specifies whether key rotation is enabled.