Copyright | (c) Naoto Shimazaki 2018 |
---|---|
License | MIT (see the file LICENSE) |
Maintainer | https://github.com/nshimaza |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
This module provides Pipes wrapper for Cisco Webex Teams list APIs.
Synopsis
- streamListWithFilter :: (MonadIO m, WebexTeamsFilter filter, WebexTeamsListItem (ToResponse filter)) => Authorization -> WebexTeamsRequest -> filter -> Producer' (ToResponse filter) m ()
- streamTeamList :: MonadIO m => Authorization -> WebexTeamsRequest -> Producer' Team m ()
- streamOrganizationList :: MonadIO m => Authorization -> WebexTeamsRequest -> Producer' Organization m ()
- streamRoleList :: MonadIO m => Authorization -> WebexTeamsRequest -> Producer' Role m ()
Functions
:: (MonadIO m, WebexTeamsFilter filter, WebexTeamsListItem (ToResponse filter)) | |
=> Authorization | Authorization string against Webex Teams API. |
-> WebexTeamsRequest | Predefined part of |
-> 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.