Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a Boolean value that indicates whether key rotation is enabled for the specified key.
See: AWS API Reference for GetKeyRotationStatus.
- getKeyRotationStatus :: Text -> GetKeyRotationStatus
- data GetKeyRotationStatus
- gkrsKeyId :: Lens' GetKeyRotationStatus Text
- getKeyRotationStatusResponse :: Int -> GetKeyRotationStatusResponse
- data GetKeyRotationStatusResponse
- gkrsrsKeyRotationEnabled :: Lens' GetKeyRotationStatusResponse (Maybe Bool)
- gkrsrsResponseStatus :: Lens' GetKeyRotationStatusResponse Int
Creating a Request
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.
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.
Response Lenses
gkrsrsKeyRotationEnabled :: Lens' GetKeyRotationStatusResponse (Maybe Bool) Source
A Boolean value that specifies whether key rotation is enabled.
gkrsrsResponseStatus :: Lens' GetKeyRotationStatusResponse Int Source
The response status code.