Copyright | (c) 2013-2016 Brendan Hay |
---|---|

License | Mozilla Public License, v. 2.0. |

Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |

Stability | provisional |

Portability | non-portable (GHC extensions) |

Safe Haskell | None |

Language | Haskell2010 |

- class AWSRequest a => AWSPager a where
- class AWSTruncated a where
- stop :: AWSTruncated a => a -> Bool
- choice :: (Alternative f, ToText a, ToText b) => (s -> f a) -> (s -> f b) -> Getter s (f Text)

# 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.

class AWSTruncated a where Source #

Generalise IsTruncated and other optional/required response pagination fields.

AWSTruncated Bool Source # | |

AWSTruncated [a] Source # | |

AWSTruncated (Maybe Bool) Source # | |

AWSTruncated (Maybe Int) Source # | |

AWSTruncated (Maybe Text) Source # | |

AWSTruncated (HashMap k v) Source # | |

stop :: AWSTruncated a => a -> Bool Source #