Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.KMS.UpdateKeyDescription
Description
Updates the description of a customer master key (CMK). To see the decription of a CMK, use DescribeKey
.
You cannot perform this operation on a CMK in a different AWS account.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> UpdateKeyDescription |
Creates a value of UpdateKeyDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ukdKeyId
- A unique identifier for the customer master key (CMK). Specify the key ID or the Amazon Resource Name (ARN) of the CMK. For example: * Key ID:1234abcd-12ab-34cd-56ef-1234567890ab
* Key ARN:arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a CMK, useListKeys
orDescribeKey
.ukdDescription
- New description for the CMK.
data UpdateKeyDescription Source #
See: updateKeyDescription
smart constructor.
Instances
Request Lenses
ukdKeyId :: Lens' UpdateKeyDescription Text Source #
A unique identifier for the customer master key (CMK). Specify the key ID or the Amazon Resource Name (ARN) of the CMK. For example: * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
* Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a CMK, use ListKeys
or DescribeKey
.
ukdDescription :: Lens' UpdateKeyDescription Text Source #
New description for the CMK.
Destructuring the Response
updateKeyDescriptionResponse :: UpdateKeyDescriptionResponse Source #
Creates a value of UpdateKeyDescriptionResponse
with the minimum fields required to make a request.
data UpdateKeyDescriptionResponse Source #
See: updateKeyDescriptionResponse
smart constructor.