Copyright | Copyright © 2013-2015 PivotCloud, Inc. |
---|---|
License | Apache-2.0 |
Maintainer | Jon Sterling <jsterling@alephcloud.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
- data KinesisKit = KinesisKit {}
- kkConfiguration :: Lens' KinesisKit Configuration
- kkKinesisConfiguration :: Lens' KinesisKit (KinesisConfiguration NormalQuery)
- kkManager :: Lens' KinesisKit Manager
- runKinesis :: (ServiceConfiguration req ~ KinesisConfiguration, Transaction req resp) => KinesisKit -> req -> IO resp
- streamShardSource :: MonadIO m => KinesisKit -> StreamName -> Source m Shard
- streamOpenShardSource :: MonadIO m => KinesisKit -> StreamName -> Source m Shard
- shardIsOpen :: Shard -> Bool
Documentation
data KinesisKit Source
The KinesisKit
contains what is necessary to make a request to Kinesis.
kkConfiguration :: Lens' KinesisKit Configuration Source
A lens for _kkConfiguration
.
kkKinesisConfiguration :: Lens' KinesisKit (KinesisConfiguration NormalQuery) Source
A lens for _kkKinesisConfiguration
.
kkManager :: Lens' KinesisKit Manager Source
A lens for _kkManager
.
runKinesis :: (ServiceConfiguration req ~ KinesisConfiguration, Transaction req resp) => KinesisKit -> req -> IO resp Source
Run a Kinesis request.
Fetching Shards
streamShardSource :: MonadIO m => KinesisKit -> StreamName -> Source m Shard Source
A Source
of shards for a stream.
streamOpenShardSource :: MonadIO m => KinesisKit -> StreamName -> Source m Shard Source
A Source
of open shards for a stream.
shardIsOpen :: Shard -> Bool Source