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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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.

Minimal complete definition

page

Methods

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

class AWSTruncated a where Source #

Generalise IsTruncated and other optional/required response pagination fields.

Minimal complete definition

truncated

Methods

truncated :: a -> Bool Source #

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