nakadi-client-0.2.0.1: Client library for the Nakadi Event Broker

Copyright(c) Moritz Schulte 2017
LicenseBSD3
Maintainermtesseract@silverratio.net
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Network.Nakadi.EventTypes.EventType

Description

This module implements the /event-types/EVENT-TYPE API.

Synopsis

Documentation

eventTypeGet Source #

Arguments

:: MonadNakadi m 
=> Config

Configuration

-> EventTypeName

Name of Event Type

-> m EventType

Event Type information

Retrieves an EventType by its EventTypeName. GET to /event-types/EVENT-TYPE.

eventTypeGetR Source #

Arguments

:: MonadNakadiEnv r m 
=> EventTypeName

Name of Event Type

-> m EventType

Event Type information

Retrieves an EventType by its EventTypeName, using the configuration found in the environment. GET to /event-types/EVENT-TYPE.

eventTypeUpdate Source #

Arguments

:: MonadNakadi m 
=> Config

Configuration

-> EventTypeName

Name of Event Type

-> EventType

Event Type Settings

-> m () 

Updates an event type given its EventTypeName and its new EventType description. PUT to /event-types/EVENT-TYPE.

eventTypeUpdateR Source #

Arguments

:: MonadNakadiEnv r m 
=> EventTypeName

Name of Event Type

-> EventType

Event Type Settings

-> m () 

Updates an event type given its EventTypeName and its new EventType description, using the configuration found in the environment. PUT to /event-types/EVENT-TYPE.

eventTypeDelete Source #

Arguments

:: MonadNakadi m 
=> Config

Configuration

-> EventTypeName

Name of Event Type

-> m () 

Deletes an event type given its EventTypeName. DELETE to /event-types/EVENT-TYPE.

eventTypeDeleteR Source #

Arguments

:: MonadNakadiEnv r m 
=> EventTypeName

Name of Event Type

-> m () 

Deletes an event type given its EventTypeName, using the configuration found in the environment. DELETE to /event-types/EVENT-TYPE.