credentials-0.0.1.1: Secure Credentials Storage and Distribution

Copyright(c) 2013-2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Credentials.DynamoDB.Item

Description

This module contains the schema that is used by Credentials.DynamoDB to serialise encryption parameters to DynamoDB items.

Synopsis

Documentation

newtype Version Source #

The DynamoDB field used for optimistic locking.

Serialisation of Version handles left-padding to support consistent lexicographic ordering when used as a range in DynamoDB.

Constructors

Version Integer 

fromItem :: (MonadThrow m, Item a) => HashMap Text AttributeValue -> m a Source #

Decode an item by throwing a CredentialError exception when an error is encountered.