Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data KMS
- data JSONError :: *
- data KeyUsageType = EncryptDecrypt
- data KeyMetadata
- keyMetadata :: Text -> KeyMetadata
- kmAWSAccountId :: Lens' KeyMetadata (Maybe Text)
- kmArn :: Lens' KeyMetadata (Maybe Text)
- kmCreationDate :: Lens' KeyMetadata (Maybe UTCTime)
- kmDescription :: Lens' KeyMetadata (Maybe Text)
- kmEnabled :: Lens' KeyMetadata (Maybe Bool)
- kmKeyId :: Lens' KeyMetadata Text
- kmKeyUsage :: Lens' KeyMetadata (Maybe KeyUsageType)
- data DataKeySpec
- data GrantConstraints
- grantConstraints :: GrantConstraints
- gcEncryptionContextEquals :: Lens' GrantConstraints (HashMap Text Text)
- gcEncryptionContextSubset :: Lens' GrantConstraints (HashMap Text Text)
- data AliasListEntry
- aliasListEntry :: AliasListEntry
- aleAliasArn :: Lens' AliasListEntry (Maybe Text)
- aleAliasName :: Lens' AliasListEntry (Maybe Text)
- aleTargetKeyId :: Lens' AliasListEntry (Maybe Text)
- data GrantListEntry
- grantListEntry :: GrantListEntry
- gleConstraints :: Lens' GrantListEntry (Maybe GrantConstraints)
- gleGrantId :: Lens' GrantListEntry (Maybe Text)
- gleGranteePrincipal :: Lens' GrantListEntry (Maybe Text)
- gleIssuingAccount :: Lens' GrantListEntry (Maybe Text)
- gleOperations :: Lens' GrantListEntry [GrantOperation]
- gleRetiringPrincipal :: Lens' GrantListEntry (Maybe Text)
- data GrantOperation
- data KeyListEntry
- keyListEntry :: KeyListEntry
- kleKeyArn :: Lens' KeyListEntry (Maybe Text)
- kleKeyId :: Lens' KeyListEntry (Maybe Text)
Service
Version 2014-11-01
of the Amazon Key Management Service service.
Error
data JSONError :: *
KeyUsageType
data KeyUsageType Source
EncryptDecrypt | ENCRYPT_DECRYPT |
KeyMetadata
:: Text | |
-> KeyMetadata |
KeyMetadata
constructor.
The fields accessible through corresponding lenses are:
kmAWSAccountId :: Lens' KeyMetadata (Maybe Text) Source
Account ID number.
kmCreationDate :: Lens' KeyMetadata (Maybe UTCTime) Source
Date the key was created.
kmDescription :: Lens' KeyMetadata (Maybe Text) Source
The description of the key.
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
data DataKeySpec Source
GrantConstraints
data GrantConstraints Source
grantConstraints :: GrantConstraints Source
GrantConstraints
constructor.
The fields accessible through corresponding lenses are:
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
data AliasListEntry Source
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
data GrantListEntry Source
grantListEntry :: GrantListEntry Source
GrantListEntry
constructor.
The fields accessible through corresponding lenses are:
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
data GrantOperation Source
GOCreateGrant | CreateGrant |
GODecrypt | Decrypt |
GOEncrypt | Encrypt |
GOGenerateDataKey | GenerateDataKey |
GOGenerateDataKeyWithoutPlaintext | GenerateDataKeyWithoutPlaintext |
GOReEncryptFrom | ReEncryptFrom |
GOReEncryptTo | ReEncryptTo |
GORetireGrant | RetireGrant |
KeyListEntry
data KeyListEntry Source