amazonka-kms-0.3.5: Amazon Key Management Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.KMS.GetKeyRotationStatus

Contents

Description

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

http://docs.aws.amazon.com/kms/latest/APIReference/API_GetKeyRotationStatus.html

Synopsis

Request

Request constructor

getKeyRotationStatus Source

GetKeyRotationStatus constructor.

The fields accessible through corresponding lenses are:

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

Response

Response constructor

Response lenses

gkrsrKeyRotationEnabled :: Lens' GetKeyRotationStatusResponse (Maybe Bool) Source

A Boolean value that specifies whether key rotation is enabled.