Copyright | (c) Moritz Schulte 2017 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module implements the /event-types/EVENT-TYPE/partitions
API.
- eventTypePartitions :: MonadNakadi m => Config -> EventTypeName -> m [Partition]
- eventTypePartitionsR :: MonadNakadiEnv r m => EventTypeName -> m [Partition]
- eventTypePartition :: MonadNakadi m => Config -> EventTypeName -> PartitionName -> m Partition
- eventTypePartitionR :: MonadNakadiEnv r m => EventTypeName -> PartitionName -> m Partition
Documentation
:: MonadNakadi m | |
=> Config | Configuration |
-> EventTypeName | Name of Event Type |
-> m [Partition] | Partition Information |
GET
to /event-types/EVENT-TYPE/partitions
. Retrieves
information about all partitions.
:: MonadNakadiEnv r m | |
=> EventTypeName | Name of Event Type |
-> m [Partition] | Partition Information |
GET
to /event-types/EVENT-TYPE/partitions
. Retrieves
information about all partitions, using the configuration contained
in the environment.
:: MonadNakadi m | |
=> Config | Configuration |
-> EventTypeName | Name of Event Type |
-> PartitionName | Name of Partition to look up |
-> m Partition | Partition Information |
GET
to /event-types/EVENT-TYPE/partitions/PARTITION
.
Retrieves information about a single partition.
:: MonadNakadiEnv r m | |
=> EventTypeName | Name of Event Type |
-> PartitionName | Name of Partition to look up |
-> m Partition | Partition Information |
GET
to /event-types/EVENT-TYPE/partitions/PARTITION
.
Retrieves information about a single partition, using the
configuration contained in the environment.