| Copyright | (c) 2013-2016 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 |
Network.AWS.KMS.DisableKey
Description
Sets the state of a customer master key (CMK) to disabled, thereby preventing its use for cryptographic operations. For more information about how key state affects the use of a CMK, see How Key State Affects the Use of a Customer Master Key in the AWS Key Management Service Developer Guide .
Creating a Request
Arguments
| :: Text | |
| -> DisableKey |
Creates a value of DisableKey with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dkKeyId- A unique identifier for the CMK. Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example: * Unique ID: 1234abcd-12ab-34cd-56ef-1234567890ab * ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
data DisableKey Source #
See: disableKey smart constructor.
Instances
Request Lenses
dkKeyId :: Lens' DisableKey Text Source #
A unique identifier for the CMK. Use the CMK's unique identifier or its Amazon Resource Name (ARN). For example: * Unique ID: 1234abcd-12ab-34cd-56ef-1234567890ab * ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Destructuring the Response
disableKeyResponse :: DisableKeyResponse Source #
Creates a value of DisableKeyResponse with the minimum fields required to make a request.
data DisableKeyResponse Source #
See: disableKeyResponse smart constructor.