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

Copyright(c) 2013-2015 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.EnableKey

Contents

Description

Marks a key as enabled, thereby permitting its use. You can have up to 25 enabled keys at one time.

See: AWS API Reference for EnableKey.

Synopsis

Creating a Request

enableKey Source

Arguments

:: Text

ekKeyId

-> EnableKey 

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

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

Request Lenses

ekKeyId :: Lens' EnableKey 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

enableKeyResponse :: EnableKeyResponse Source

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