amazonka-core-1.6.1: Core data types and functionality for Amazonka libraries.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Pager

Description

 
Synopsis

Documentation

class AWSRequest a => AWSPager a where Source #

Specify how an AWSRequest and it's associated Rs response can generate a subsequent request, if available.

Methods

page :: a -> Rs a -> Maybe a Source #

class AWSTruncated a where Source #

Generalise IsTruncated and other optional/required response pagination fields.

Methods

truncated :: a -> Bool Source #

Instances
AWSTruncated Bool Source # 
Instance details

Defined in Network.AWS.Pager

Methods

truncated :: Bool -> Bool Source #

AWSTruncated [a] Source # 
Instance details

Defined in Network.AWS.Pager

Methods

truncated :: [a] -> Bool Source #

AWSTruncated (Maybe Bool) Source # 
Instance details

Defined in Network.AWS.Pager

AWSTruncated (Maybe a) Source # 
Instance details

Defined in Network.AWS.Pager

Methods

truncated :: Maybe a -> Bool Source #

AWSTruncated (HashMap k v) Source # 
Instance details

Defined in Network.AWS.Pager

Methods

truncated :: HashMap k v -> Bool Source #

choice :: (Alternative f, ToText a, ToText b) => (s -> f a) -> (s -> f b) -> Getter s (f Text) Source #