Stability | experimental |
---|---|
Maintainer | Lars Kuhtz <lars@alephcloud.com> |
Safe Haskell | None |
Utils for testing the Haskell bindings for Amazon DynamoDb
- testProtocol :: Protocol
- testRegion :: Region
- defaultTableName :: Text
- dyConfiguration :: DdbConfiguration qt
- simpleDy :: (AsMemoryResponse a, Transaction r a, ServiceConfiguration r ~ DdbConfiguration, MonadIO m) => r -> m (MemoryResponse a)
- simpleDyT :: (AsMemoryResponse a, Transaction r a, ServiceConfiguration r ~ DdbConfiguration, MonadBaseControl IO m, MonadIO m) => r -> EitherT Text m (MemoryResponse a)
- withTable :: Text -> Int -> Int -> (Text -> IO a) -> IO a
- withTable_ :: Bool -> Text -> Int -> Int -> (Text -> IO a) -> IO a
- createTestTable :: Text -> Int -> Int -> IO ()
- readRegion :: Text -> Either String Region
Static Parameters
Static Configuration
DynamoDb Utils
simpleDy :: (AsMemoryResponse a, Transaction r a, ServiceConfiguration r ~ DdbConfiguration, MonadIO m) => r -> m (MemoryResponse a)Source
simpleDyT :: (AsMemoryResponse a, Transaction r a, ServiceConfiguration r ~ DdbConfiguration, MonadBaseControl IO m, MonadIO m) => r -> EitherT Text m (MemoryResponse a)Source