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

Amazonka.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 -> AWSResponse a -> Maybe a Source #

class AWSTruncated a where Source #

Generalise IsTruncated and other optional/required response pagination fields.

Methods

truncated :: a -> Bool Source #

Instances

Instances details
AWSTruncated Bool Source # 
Instance details

Defined in Amazonka.Pager

Methods

truncated :: Bool -> Bool Source #

AWSTruncated [a] Source # 
Instance details

Defined in Amazonka.Pager

Methods

truncated :: [a] -> Bool Source #

AWSTruncated (Maybe Bool) Source # 
Instance details

Defined in Amazonka.Pager

AWSTruncated (Maybe a) Source # 
Instance details

Defined in Amazonka.Pager

Methods

truncated :: Maybe a -> Bool Source #

AWSTruncated (HashMap k v) Source # 
Instance details

Defined in Amazonka.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 #