webex-teams-pipes-0.2.0.0: Pipes wrapper of Webex Teams List API

Copyright(c) Naoto Shimazaki 2018
LicenseMIT (see the file LICENSE)
Maintainerhttps://github.com/nshimaza
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Network.WebexTeams.Pipes

Contents

Description

This module provides Pipes wrapper for Cisco Webex Teams list APIs.

Synopsis

Functions

streamListWithFilter Source #

Arguments

:: (MonadIO m, WebexTeamsFilter filter, WebexTeamsListItem (ToResponse filter)) 
=> Authorization

Authorization string against Webex Teams API.

-> WebexTeamsRequest

Predefined part of Request commonly used for Webex Teams API.

-> filter

Filter criteria of the request. Type of filter automatically determines item type in response.

-> Producer' (ToResponse filter) m () 

Get list of entities with query parameter and stream it into Pipes. It automatically performs pagination.

streamTeamList :: MonadIO m => Authorization -> WebexTeamsRequest -> Producer' Team m () Source #

List of Team and stream it into Pipes. It automatically performs pagination.

streamOrganizationList :: MonadIO m => Authorization -> WebexTeamsRequest -> Producer' Organization m () Source #

Filter list of Organization and stream it into Pipes. It automatically performs pagination.

streamRoleList :: MonadIO m => Authorization -> WebexTeamsRequest -> Producer' Role m () Source #

List of Role and stream it into Pipes. It automatically performs pagination.