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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.KMS.Types

Contents

Synopsis

Service

data KMS Source

Version 2014-11-01 of the Amazon Key Management Service service.

Instances

AWSService KMS 
type Er KMS = JSONError 
type Sg KMS = V4 

Error

data JSONError :: *

Instances

Eq JSONError 
Show JSONError 
Generic JSONError 
FromJSON JSONError 
type Rep JSONError = D1 D1JSONError (C1 C1_0JSONError ((:*:) (S1 S1_0_0JSONError (Rec0 (Maybe Text))) (S1 S1_0_1JSONError (Rec0 Text)))) 

KeyUsageType

KeyMetadata

kmArn :: Lens' KeyMetadata (Maybe Text) Source

Key ARN (Amazon Resource Name).

kmCreationDate :: Lens' KeyMetadata (Maybe UTCTime) Source

Date the key was created.

kmDescription :: Lens' KeyMetadata (Maybe Text) Source

The description of the key.

kmEnabled :: Lens' KeyMetadata (Maybe Bool) Source

Value that specifies whether the key is enabled.

kmKeyId :: Lens' KeyMetadata Text Source

Unique identifier for the key.

kmKeyUsage :: Lens' KeyMetadata (Maybe KeyUsageType) Source

A value that specifies what operation(s) the key can perform.

DataKeySpec

GrantConstraints

gcEncryptionContextEquals :: Lens' GrantConstraints (HashMap Text Text) Source

The constraint contains additional key/value pairs that serve to further limit the grant.

gcEncryptionContextSubset :: Lens' GrantConstraints (HashMap Text Text) Source

The constraint equals the full encryption context.

AliasListEntry

aliasListEntry :: AliasListEntry Source

AliasListEntry constructor.

The fields accessible through corresponding lenses are:

aleAliasArn :: Lens' AliasListEntry (Maybe Text) Source

String that contains the key ARN.

aleAliasName :: Lens' AliasListEntry (Maybe Text) Source

String that contains the alias.

aleTargetKeyId :: Lens' AliasListEntry (Maybe Text) Source

String that contains the key identifier pointed to by the alias.

GrantListEntry

gleConstraints :: Lens' GrantListEntry (Maybe GrantConstraints) Source

Specifies the conditions under which the actions specified by the Operations parameter are allowed.

gleGrantId :: Lens' GrantListEntry (Maybe Text) Source

Unique grant identifier.

gleGranteePrincipal :: Lens' GrantListEntry (Maybe Text) Source

The principal that receives the grant permission.

gleIssuingAccount :: Lens' GrantListEntry (Maybe Text) Source

The account under which the grant was issued.

gleOperations :: Lens' GrantListEntry [GrantOperation] Source

List of operations permitted by the grant. This can be any combination of one or more of the following values: Decrypt Encrypt GenerateDataKey GenerateDataKeyWithoutPlaintext ReEncryptFrom ReEncryptTo CreateGrant

gleRetiringPrincipal :: Lens' GrantListEntry (Maybe Text) Source

The principal that can retire the account.

GrantOperation

KeyListEntry

keyListEntry :: KeyListEntry Source

KeyListEntry constructor.

The fields accessible through corresponding lenses are:

kleKeyId :: Lens' KeyListEntry (Maybe Text) Source

Unique identifier of the key.